]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Fix open_memstream namespace (bug 18498).
[thirdparty/glibc.git] / ChangeLog
1 2015-06-05 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #18498]
4 * libio/memstream.c (open_memstream): Rename to __open_memstream
5 and define as weak alias of __open_memstream.
6 * include/stdio.h (__open_memstream): Declare. Use
7 libc_hidden_proto.
8 (open_memstream): Don't use libc_hidden_proto.
9 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
10 open_memstream.
11 * posix/getopt.c (_getopt_internal_r): Likewise.
12 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
13 variable.
14 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
15 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
16 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
17
18 [BZ #18496]
19 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
20 instead of wcrtomb.
21
22 [BZ #18483]
23 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
24 [__USE_XOPEN2K8]. Remove redundant #endif.
25 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
26 Remove redundant #if.
27 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
28 Remove variable.
29 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
30 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
31
32 [BZ #18495]
33 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
34 (__iswlower): Likewise.
35 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
36 (__iswlower): Likewise.
37 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
38 instead of towlower.
39 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
40 instead of iswlower. Call __towupper instead of towupper.
41 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
42 instead of iswalnum.
43
44 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45
46 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
47 errors to stderr.
48
49 2015-06-05 Florian Weimer <fweimer@redhat.com>
50
51 [BZ #15661]
52 [BZ #17322]
53 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
54 Check for overflow properly. Check for O_APPEND. Ignore large
55 file system block sizes. Add comments about problems.
56 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
57 * manual/filesys.texi (Storage Allocation): New node.
58
59 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
60
61 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
62 cancellable syscalls.
63 (SYS_ify): Add guard to no redefine it.
64 (INLINE_SYSCALL): Likewise.
65 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
66 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
67 SYSCALL_CANCEL instead.
68 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
69 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
70 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
71 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
72 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
73 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
74 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
75 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
76 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
77 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
78 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
79 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
80 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
81 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
82 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
83 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
84 Likewise.
85 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
86 (__libc_pread64): Likewise.
87 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
88 (__libc_preadv): Likewise.
89 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
90 (__libc_readv64): Likewise.
91 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
92 (__libc_pwrite): Likewise.
93 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
94 (__libc_pwrite64): Likewise.
95 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
96 (__libc_pwritev): Likewise.
97 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
98 (__libc_pwritev64): Likewise.
99 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
100 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
101 (sync_file_range): Likewise.
102 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
103 Likewise.
104 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
105 Likewise.
106 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
107 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
108 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
109 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
110 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
111 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
112 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
113 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
115 Likewise.
116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
117 (__libc_read64): Likewise.
118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
119 Likewise.
120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
121 Likewise.
122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
123 Likewise.
124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
125 Likewise.
126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
127 (__libc_pread64): Likewise.
128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
129 Likewise.
130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
131 (__libc_pwrite64): Likewise.
132 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
133 (sync_file_range): Likewise.
134 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
135 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
136 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
137 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
138 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
139 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
140 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
141 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
142 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
143 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
144 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
145 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
146 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
147 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
148 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
149 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
150 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
151 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
152 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
153 Likewise.
154 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
155 Likewise.
156 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
157 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
158 Likewise.
159 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
160 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
161 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
162 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
163 Likewise.
164 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
165 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
166 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
167 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
168 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
169
170 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
171
172 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
173 Include dl-vdso.
174 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
175 Use VDSO routines for gettimeofday, clock_gettime if
176 available.
177 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
178 Declare VDSO symbols.
179 * sysdeps/unix/sysv/linux/arm/sysdep.h:
180 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
181 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
182 * sysdeps/unix/sysv/linux/arm/Versions: Add
183 __vdso_clock_gettime.
184
185 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
186
187 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
188 be an inline implementation regardless of library is built within.
189 (open_not_cancel_2): Likewise.
190 (__read_nocancel): Likewise.
191 (__write_nocancel): Likewise.
192 (openat_not_cancel): Likewise.
193 (openat_not_cancel_3): Likewise.
194 (openat64_not_cancel): Likewise.
195 (openat64_not_cancel_3): Likewise.
196 (__close_nocancel): Likewise.
197 (pause_not_cancel): Likewise.
198 (nanosleep_not_cancel): Likewise.
199 (sigsuspend_not_cancel): Likewise.
200
201 2015-06-04 Torvald Riegel <triegel@redhat.com>
202
203 [BZ #14958]
204 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
205 wake-up.
206 (__pthread_rwlock_rdlock_slow): Likewise.
207 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
208 Likewise.
209 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
210 Likewise.
211 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
212 * nptl/tst-rwlock16.c: New file.
213 * nptl/Makefile (tests): Add new test.
214
215 2015-06-04 Torvald Riegel <triegel@redhat.com>
216
217 [BZ #18324]
218 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
219 missing wake-up of readers.
220 * nptl/tst-rwlock15.c: New file.
221 * nptl/Makefile (tests): Add new test.
222
223 2015-06-03 Roland McGrath <roland@hack.frob.com>
224
225 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
226 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
227 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
228 and __nacl_supply_interface_rtld.
229 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
230 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
231 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
232 Add __nacl_supply_interface_rtld.
233 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
234
235 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
236
237 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
238 isfinite.
239 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
240 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
241
242 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
243
244 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
245 __signbit* with standard C99 macros.
246 * math/e_exp10l.c: Likewise.
247 * math/e_exp2l.c: Likewise.
248 * math/e_scalb.c: Likewise.
249 * math/e_scalbf.c: Likewise.
250 * math/e_scalbl.c: Likewise.
251 * math/s_ldexp.c: Likewise.
252 * math/s_ldexpf.c: Likewise.
253 * math/s_ldexpl.c: Likewise.
254 * math/w_atan2.c: Likewise.
255 * math/w_atan2f.c: Likewise.
256 * math/w_atan2l.c: Likewise.
257 * math/w_cosh.c: Likewise.
258 * math/w_coshf.c: Likewise.
259 * math/w_coshl.c: Likewise.
260 * math/w_exp10.c: Likewise.
261 * math/w_exp10f.c: Likewise.
262 * math/w_exp10l.c: Likewise.
263 * math/w_exp2.c: Likewise.
264 * math/w_exp2f.c: Likewise.
265 * math/w_exp2l.c: Likewise.
266 * math/w_fmod.c: Likewise.
267 * math/w_fmodf.c: Likewise.
268 * math/w_fmodl.c: Likewise.
269 * math/w_hypot.c: Likewise.
270 * math/w_hypotf.c: Likewise.
271 * math/w_hypotl.c: Likewise.
272 * math/w_jnl.c: Likewise.
273 * math/w_lgamma.c: Likewise.
274 * math/w_lgamma_r.c: Likewise.
275 * math/w_lgammaf.c: Likewise.
276 * math/w_lgammaf_r.c: Likewise.
277 * math/w_lgammal.c: Likewise.
278 * math/w_lgammal_r.c: Likewise.
279 * math/w_pow.c: Likewise.
280 * math/w_powf.c: Likewise.
281 * math/w_powl.c: Likewise.
282 * math/w_remainder.c: Likewise.
283 * math/w_remainderf.c: Likewise.
284 * math/w_remainderl.c: Likewise.
285 * math/w_scalb.c: Likewise.
286 * math/w_scalbf.c: Likewise.
287 * math/w_scalbl.c: Likewise.
288 * math/w_scalbln.c: Likewise.
289 * math/w_scalblnf.c: Likewise.
290 * math/w_scalblnl.c: Likewise.
291 * math/w_sinh.c: Likewise.
292 * math/w_sinhf.c: Likewise.
293 * math/w_sinhl.c: Likewise.
294 * math/w_tgamma.c: Likewise.
295 * math/w_tgammaf.c: Likewise.
296 * math/w_tgammal.c: Likewise.
297 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
298 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
299 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
300 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
301 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
302 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
303 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
304 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
305 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
306 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
307 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
308 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
309 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
310 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
311 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
312 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
313 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
314 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
315 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
316 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
317 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
318 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
319 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
320 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
321 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
322 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
323 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
324 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
325 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
326 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
327 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
328 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
329 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
330 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
331 * stdio-common/printf_fp.c: Likewise.
332 * stdio-common/printf_fphex.c: Likewise.
333 * stdio-common/printf_size.c: Likewise.
334
335 2015-06-03 Joseph Myers <joseph@codesourcery.com>
336
337 [BZ #18470]
338 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
339 strnlen.
340 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
341 Remove variable.
342 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
343 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
344 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
345 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
346 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
347 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
348 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
349 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
350 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
351 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
352
353 [BZ #18468]
354 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
355 weak alias of __wmemchr. Use libc_hidden_weak.
356 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
357 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
358 instead of wmemchr.
359
360 2015-06-02 Roland McGrath <roland@hack.frob.com>
361
362 [BZ #18383]
363 * elf/tst-tlsalign-extern.c: New file.
364 * elf/tst-tlsalign-extern-static.c: New file.
365 * elf/tst-tlsalign-vars.c: New file.
366 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
367 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
368 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
369 ($(objpfx)tst-tlsalign-extern-static): Likewise.
370 (test-xfail-tst-tlsalign-extern-static): New variable.
371
372 2015-06-02 Joseph Myers <joseph@codesourcery.com>
373
374 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
375 Use variable name _sc_err instead of err.
376 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
377 instead of ret.
378 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
379 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
380 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
381 (INLINE_SYSCALL): Likewise.
382
383 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
384 * include/string.h (__strnlen): Use libc_hidden_proto.
385 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
386 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
387 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
388 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
389 (libc_hidden_def): Undefine and redefine.
390 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
391 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
392 __GI_strnlen.
393 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
394 libc_hidden_def.
395 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
396
397 [BZ #18469]
398 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
399 weak alias of __towlower. Use libc_hidden_weak.
400 (towupper): Rename to __towupper and define as weak alias of
401 __towupper. Use libc_hidden_weak.
402 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
403 (__towupper): Likewise.
404 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
405 __towlower instead of towlower.
406
407 2015-06-02 Roland McGrath <roland@hack.frob.com>
408
409 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
410 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
411
412 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
413
414 * sysdeps/aarch64/libm-test-ulps: Update.
415
416 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
417
418 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
419 Define.
420 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
421 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
422 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
423 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
424 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
425 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
426 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
427
428 2015-06-01 Martin Sebor <msebor@redhat.com>
429
430 [BZ #18116]
431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
432 (__setcontext): Use extended four-operand version of mtsf whenever
433 possible.
434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
435 (__novec_swapcontext): Likewise.
436
437 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
438
439 * benchtests/scripts/compare_bench.py: New file.
440 * benchtests/scripts/import_bench.py (mean): New function.
441 (split_list): Likewise.
442 (do_for_all_timings): Likewise.
443 (compress_timings): Likewise.
444
445 * benchtests/scripts/import_bench.py: New file.
446 * benchtests/scripts/validate_benchout.py: Import import_bench
447 instead of jsonschema.
448 (validate_bench): Remove function.
449 (main): Use import_bench.
450
451 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
452
453 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
454 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
455
456 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
457
458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
459
460 2015-05-28 Roland McGrath <roland@hack.frob.com>
461
462 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
463 set THREAD_SELF->tid to a magic value and futex-wake it.
464 Pass its address to the thread_exit system call.
465 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
466 bit is clear.
467 * sysdeps/nacl/lowlevellock.h: New file.
468 * sysdeps/nacl/lll_timedwait_tid.c: New file.
469
470 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
471 Add TIMEOUT to current time, don't subtract it.
472
473 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
474
475 [BZ #18422]
476 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
477 ($(objpfx)tst-audit2.out): Also depend on
478 $(objpfx)tst-auditmod9b.so.
479 * elf/tst-audit2.c: Include <dlfcn.h>.
480 (calloc_called): New.
481 (calloc): Allow to be called more than once.
482 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
483
484 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
485
486 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
487 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
488
489 2015-05-27 Marko Myllynen <myllynen@redhat.com>
490
491 * stdlib/monetary.h: Fix comment.
492
493 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
494
495 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
496 Avoid using variables in #defines that might cause shadowing.
497 (INTERNAL_VSYSCALL_CALL): Likewise.
498
499 2015-05-26 Roland McGrath <roland@hack.frob.com>
500
501 * sysdeps/nacl/lll_timedlock_wait.c: New file.
502
503 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
504 * nptl/lll_timedlock_wait.c: ... to this new file.
505 * nptl/Makefile (libpthread-routines): Add it.
506 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
507 * nptl/lll_timedwait_tid.c: ... to this new file.
508 * nptl/Makefile (libpthread-routines): Add it.
509 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
510 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
511 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
512 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
513 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
514 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
515 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
516 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
517 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
518 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
519
520 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
521
522 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
523 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
524 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
525 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
526 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
527 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
528 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
529 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
530 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
531 * sysdeps/unix/sysv/linux/tile/sysdep.h
532 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
533 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
534 using vDSO syscall macro.
535
536 2015-05-26 Andriy Rysin <arysin@gmail.com>
537
538 [BZ #17293]
539 * uk_UA: Fix sorting order for Ukrainian locale
540
541 2015-05-26 Marko Myllynen <myllynen@redhat.com>
542
543 * stdlib/monetary.h: Fix comment.
544
545 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
546
547 [BZ #18234]
548 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
549 st_mtim and st_ctim members.
550 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
551 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
552 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
553 (struct stat64): Likewise.
554 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
555 (struct stat64): Likewise.
556 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
557 (struct stat64): Likewise.
558
559 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
560
561 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
562 Define and include sysdep-vdso.h.
563 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
564 Likewise.
565 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
566 Likewise.
567 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
568 Define with VDSO_SYMBOL and use PTR_MANGLE.
569 (__vdso_clock_gettime): Likewise.
570 (__vdso_clock_getres): Likewise.
571 (_libc_vdso_platform_setup): Likewise.
572 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
573 Likewise.
574 (_libc_vdso_platform_setup): Likewise.
575 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
576 Likewise.
577 (__vdso_clock_gettime): Likewise.
578 (__vdso_clock_getres): Likewise.
579 (__vdso_get_tbfreq): Likewise.
580 (__vdso_getcpu): Likewise.
581 (__vdso_time): Likewise.
582 (__vdso_sigtramp_rt64): Likewise.
583 (__vdso_signtramp32): Likewise.
584 (__vdso_sigtramp_rt32): Likewise.
585 (_libc_vdso_platform_setup): Likewise.
586 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
587 Likewise.
588 (__vdso_clock_gettime): Likewise.
589 (__vdso_clock_getres): Likewise.
590 (_libc_vdso_platform_setup): Likewise.
591 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
592 Likewise.
593 (__vdso_clock_gettime): Likewise.
594 (_libc_vdso_platform_setup): Likewise.
595 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
596 Likewise.
597 (__vdso_getcpu): Likewise.
598 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
599 Use VDSO_SYMBOL macro to define.
600 (__vdso_clock_gettime): Likewise.
601 (__vdso_clock_getres): Likewise.
602 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
603 Likewise.
604 (__vdso_clock_gettime): Likewise.
605 (__vdso_clock_getres): Likewise.
606 (__vdso_get_tbfreq): Likewise.
607 (__vdso_getcpu): Likewise.
608 (__vdso_time): Likewise.
609 (__vdso_sigtramp_rt64): Likewise.
610 (__vdso_signtramp32): Likewise.
611 (__vdso_sigtramp_rt32): Likewise.
612 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
613 Likewise.
614 (__vdso_clock_gettime): Likewise.
615 (__vdso_clock_getres): Likewise.
616 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
617 Likewise.
618 (__vdso_clock_gettime): Likewise.
619 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
620 Likewise.
621 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
622 macro.
623 (INTERNAL_VSYSCALL): Likewise.
624 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
625 Remove macro.
626 (INTERNAL_VSYSCALL): Likewise.
627 (INTERNAL_VSYSCALL_NCS): Likewise.
628 (INTERNAL_VSYSCALL_CALL): New macro.
629 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
630 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
631 Likewise.
632 (INTERNAL_VSYSCALL): Likewise.
633 (INTERNAL_VSYSCALL_NCS): Likewise.
634 (INTERNAL_VSYSCALL_CALL): New macro.
635 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
637 (INLINE_VSYSCALL): Remove macro.
638 (INTERNAL_VSYSCALL): Remove macro.
639 (INTERNAL_VSYSCALL_NCS): Remove macro.
640 (INTERNAL_VSYSCALL_CALL): New macro.
641 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
642 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
643 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
644 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
645 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
647 (INLINE_VSYSCALL): Remove macro.
648 (INTERNAL_VSYSCALL): Likewise.
649 (INTERNAL_VSYSCALL_NCS): Likewise.
650 (INTERNAL_VSYSCALL_CALL): New macro.
651 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
652 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
653 PTR_DEMANGLE on vDSO pointer.
654 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
655 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
656 macro.
657 (INTERNAL_SYSCALL): Likewise.
658 (INTERNAL_VSYSCALL_NCS): Remove macro.
659 (INTERNAL_VSYSCALL_CALL): New macro.
660 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
661 Remove macro.
662 (INTERNAL_VSYSCALL): Likewise.
663 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
664 sysdep-vdso.h instead of libc-vdso.h.
665 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
666 definition.
667 (INLINE_VSYSCALL): Likewise.
668 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
669 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
670 definition.
671 (INLINE_VSYSCALL): Likewise.
672 (INTERNAL_VSYSCALL): Likewise.
673 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
674 * sysdeps/unix/sysv/linux/timespec_get.c
675 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
676 (timespec_get): Use ANSI prototype.
677 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
678 and definition for Linux.
679
680 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
681
682 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
683 * include/libc-symbols.h: libmvec_hidden_* macro series added.
684
685 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
686
687 [BZ #18410]
688 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
689 for missing DT_PLTRELSZ.
690
691 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
692
693 Remove obsolete aliases that broke 'locale -a'
694 [BZ #18412]
695 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
696 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
697 breaking some applications that use 'locale -a' output.
698 Change the encoding of this file from Latin-1 to ASCII to avoid
699 other potential problems with people grepping this file.
700
701 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
702
703 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
704 -fasynchronous-unwind-tables.
705 (CFLAGS-sendto.c): Likewise.
706 (CFLAGS-sendmsg.c): Likewise.
707 (CFLAGS-connect.c): Likewise.
708 (CFLAGS-recvmsg.c): Likewise.
709 (CFLAGS-recvfrom.c): Likewise.
710 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
711 (SOCKETCALL): New macro: non-cancellable socketcall.
712 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
713 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
714 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
715 * sysdeps/unix/sysv/linux/accept.c: New file.
716 * sysdeps/unix/sysv/linux/bind.c: Likewise.
717 * sysdeps/unix/sysv/linux/connect.c: Likewise.
718 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
719 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
720 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
721 * sysdeps/unix/sysv/linux/listen.c: Likewise.
722 * sysdeps/unix/sysv/linux/recv.c: Likewise.
723 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
724 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
725 * sysdeps/unix/sysv/linux/send.c: Likewise.
726 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
727 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
728 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
729 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
730 * sysdeps/unix/sysv/linux/socket.c: Likewise.
731 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
732 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
733 prototype.
734 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
735 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
736 instead of __internal_xxx function.
737 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
738 prototype.
739 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
740 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
741 instead of __internal_xxx function.
742 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
743 prototype.
744 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
745 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
746 instead of __internal_xxx function.
747 * sysdeps/unix/sysv/linux/accept.S: Remove file.
748 * sysdeps/unix/sysv/linux/bind.S: Likewise.
749 * sysdeps/unix/sysv/linux/connect.S: Likewise.
750 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
751 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
752 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
753 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
754 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
755 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
756 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
757 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
758 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
759 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
760 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
761 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
762 * sysdeps/unix/sysv/linux/listen.S: Likewise.
763 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
764 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
765 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
766 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
769 * sysdeps/unix/sysv/linux/recv.S: Likewise.
770 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
771 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
772 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
773 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
774 * sysdeps/unix/sysv/linux/send.S: Likewise.
775 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
776 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
777 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
778 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
779 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
780 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
781 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
782 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
783 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
784 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
785 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
786 socketcall is implemented in GLIBC.
787
788 2015-05-22 Joseph Myers <joseph@codesourcery.com>
789
790 * soft-fp/fmadf4.c: Include <libc-internal.h>.
791 (__fma): Ignore uninitialized warnings around packing.
792 * soft-fp/fmasf4.c: Include <libc-internal.h>.
793 (__fmaf): Ignore uninitialized warnings around packing.
794 * soft-fp/fmatf4.c: Include <libc-internal.h>.
795 (__fmal): Ignore uninitialized warnings around packing.
796
797 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
798 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
799 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
800 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
801
802 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
803 switch statement into default case.
804 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
805
806 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
807 a conditional in forcing "inexact".
808 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
809 Likewise.
810
811 2015-05-22 Roland McGrath <roland@hack.frob.com>
812
813 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
814 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
815 for each INTERNAL_SYSCALL use.
816
817 2015-05-22 Joseph Myers <joseph@codesourcery.com>
818
819 [BZ #438]
820 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
821 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
822 variable.
823
824 [BZ #18444]
825 * string/basename.c (basename): Rename to __basename and define as
826 weak alias of __basename. Use libc_hidden_weak.
827 * include/string.h (__basename): Declare. Use libc_hidden_proto.
828 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
829 __basename instead of basename.
830 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
831 Remove variable.
832 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
833
834 2015-05-18 Florian Weimer <fweimer@redhat.com>
835
836 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
837 (_IO_JUMPS_FILE_plus): New.
838 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
839 _IO_CAST_FIELD_ACCESS.
840 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
841 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
842 * libio/freopen.c (freopen): Likewise.
843 * libio/freopen64.c (freopen64): Likewise.
844 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
845 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
846 * libio/iofwide.c (_IO_fwide): Likewise.
847 * libio/memstream.c (open_memstream): Likewise.
848 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
849 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
850 * libio/oldiopopen.c (_IO_old_popen): Likewise.
851
852 2015-05-21 Joseph Myers <joseph@codesourcery.com>
853
854 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
855 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
856 NADJ.
857 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
858 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
859 NADJ.
860 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
861 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
862 NADJ.
863
864 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
865 (p == 4) case.
866
867 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
868 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
869 Remove variable.
870 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
871 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
872 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
873
874 2015-05-21 Florian Weimer <fweimer@redhat.com>
875
876 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
877 Adjust jump table label generation macros.
878
879 2015-05-21 Florian Weimer <fweimer@redhat.com>
880
881 * stdio-common/vfprintf.c (vfprintf): Move local variables
882 args_malloced, specs, specs_malloced, and the code after
883 do_positional to the printf_positional function.
884 (printf_positional): New function.
885
886 2015-05-21 Florian Weimer <fweimer@redhat.com>
887
888 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
889 function.
890 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
891 STEP4_TABLE, process_arg): Move macro definitions
892 out of the vfprintf function. (Cosmetic change only.)
893
894 2015-05-21 Carlos O'Donell <carlos@redhat.com>
895
896 * benchtests/Makefile (stdio-common-bench): Define.
897 (benchset): Add stdio-common-bench.
898 * sprintf-inputs: New file.
899 * sprintf-source.c: New file.
900
901 2015-05-21 Andreas Schwab <schwab@suse.de>
902
903 [BZ #13028]
904 [BZ #17053]
905 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
906 of struct __res_state.
907 * resolv/res_send.c (__libc_res_nsend): Likewise.
908 (get_nsaddr): New function.
909 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
910 statp directly.
911
912 2015-05-20 Joseph Myers <joseph@codesourcery.com>
913
914 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
915 -D_POSIX_C_SOURCE=199506L.
916
917 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
918
919 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
920 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
921 Do not mention otherwise.
922 [POSIX] (_XOPEN_VERSION): Do not expect.
923 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
924 [POSIX] (_POSIX2_C_BIND): Likewise.
925 [POSIX] (_POSIX2_VERSION): Likewise.
926 [POSIX] (_XOPEN_XPG2): Likewise.
927 [POSIX] (_XOPEN_XPG3): Likewise.
928 [POSIX] (_XOPEN_XPG4): Likewise.
929 [POSIX] (_XOPEN_UNIX): Likewise.
930 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
931 [POSIX] (_POSIX_BARRIERS): Likewise.
932 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
933 [POSIX] (_POSIX_CPUTIME): Likewise.
934 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
935 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
936 [POSIX] (_POSIX_SHELL): Likewise.
937 [POSIX] (_POSIX_SPAWN): Likewise.
938 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
939 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
940 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
941 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
942 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
943 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
944 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
945 [POSIX] (_XBS5_LP64_OFF64): Likewise.
946 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
947 [POSIX] (_POSIX_TIMEOUTS): Likewise.
948 [POSIX] (_POSIX2_PBS): Likewise.
949 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
950 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
951 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
952 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
953 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
954 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
955 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
956 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
957 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
958 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
959 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
960 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
961 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
962 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
963 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
964 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
965 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
966 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
967 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
968 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
969 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
970 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
971 [POSIX] (_SC_2_C_BIND): Likewise.
972 [POSIX] (_SC_2_C_VERSION): Likewise.
973 [POSIX] (_SC_2_PBS): Likewise.
974 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
975 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
976 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
977 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
978 [POSIX] (_SC_2_PBS_TRACK): Likewise.
979 [POSIX] (_SC_ATEXIT_MAX): Likewise.
980 [POSIX] (_SC_BARRIERS): Likewise.
981 [POSIX] (_SC_BASE): Likewise.
982 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
983 [POSIX] (_SC_DEVICE_IO): Likewise.
984 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
985 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
986 [POSIX] (_SC_FD_MGMT): Likewise.
987 [POSIX] (_SC_FIFO): Likewise.
988 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
989 [POSIX] (_SC_FILE_LOCKING): Likewise.
990 [POSIX] (_SC_FILE_SYSTEM): Likewise.
991 [POSIX] (_SC_IOV_MAX): Likewise.
992 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
993 [POSIX] (_SC_NETWORKING): Likewise.
994 [POSIX] (_SC_PAGE_SIZE): Likewise.
995 [POSIX] (_SC_PASS_MAX): Likewise.
996 [POSIX] (_SC_PIPE): Likewise.
997 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
998 [POSIX] (_SC_REGEXP): Likewise.
999 [POSIX] (_SC_SHELL): Likewise.
1000 [POSIX] (_SC_SIGNALS): Likewise.
1001 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
1002 [POSIX] (_SC_SPIN_LOCKS): Likewise.
1003 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
1004 [POSIX] (_SC_USER_GROUPS): Likewise.
1005 [POSIX] (_SC_USER_GROUPS_R): Likewise.
1006 [POSIX] (_SC_STREAMS): Likewise.
1007 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
1008 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
1009 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
1010 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
1011 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
1012 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
1013 [POSIX] (_PC_FILESIZEBITS): Likewise.
1014 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
1015 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
1016 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
1017 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
1018 [POSIX] (uid_t): Likewise.
1019 [POSIX] (gid_t): Likewise.
1020 [POSIX] (off_t): Likewise.
1021 [POSIX] (pid_t): Likewise.
1022 [POSIX] (cuserid): Allow.
1023 (_SC_2_CHAR_TERM): Require constant.
1024 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
1025 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
1026 variable.
1027
1028 2015-05-20 Roland McGrath <roland@hack.frob.com>
1029
1030 * sysdeps/nacl/pthread-pids.h: New file.
1031 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
1032 (create_thread): Use __nacl_get_tid to initialize PD->tid.
1033
1034 * nptl/pthread-pids.h: New file.
1035 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
1036 * nptl/nptl-init.c: Include <pthread-pids.h>.
1037 (__pthread_initialize_minimal_internal):
1038 Call __pthread_initialize_pids instead of set_tid_address syscall.
1039
1040 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
1041 * sysdeps/posix/usleep.c: ... here.
1042
1043 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1044
1045 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
1046 call_pselect6 object.
1047 [$(subdir) = io]: Remove call_sync_file_range object.
1048 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
1049 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
1050 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
1051 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
1052
1053 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
1054
1055 * math/s_cproj.c: Add include "math_private.h".
1056 * math/s_cprojf.c: Likewise.
1057 * math/s_cprojl.c: Likewise.
1058
1059 2015-05-19 Joseph Myers <joseph@codesourcery.com>
1060
1061 [BZ #18244]
1062 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
1063 high mantissa bit when testing whether P is a NaN.
1064 * math/libm-test.inc (remainder_test_data): Add more tests.
1065 (remquo_test_data): Likewise.
1066
1067 [BZ #18049]
1068 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
1069 below -32, return the argument, with underflow if subnormal.
1070 * math/auto-libm-test-in: Add more tests of atanh.
1071 * math/auto-libm-test-out: Regenerated.
1072
1073 2015-05-19 Roland McGrath <roland@hack.frob.com>
1074
1075 [BZ #18434]
1076 * nptl/tst-sem15.c: New file.
1077 * nptl/Makefile (tests): Add it.
1078 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
1079 s/<</>>/ to fix typo in EOVERFLOW check.
1080 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
1081
1082 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1083
1084 * manual/strings.texi (envz_remove): Fix typo in safety
1085 annotations.
1086
1087 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
1088 Steve Ellcey <sellcey@imgtec.com>
1089
1090 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
1091 in order to avoid strict alias warnings.
1092 (iruserok_af): Ditto for ra.
1093
1094 2015-05-19 James Lemke <jwlemke@codesourcery.com>
1095
1096 [BZ #17581]
1097 * malloc/hooks.c
1098 (magicbyte): Convert to a function and avoid returning 0x01.
1099 (mem2mem_check): Avoid using a length byte equal to the magic byte.
1100 (mem2chunk_check): Fix unsigned comparisons to zero.
1101 Hoist defs of sz and magic.
1102
1103 2015-05-19 Richard Henderson <rth@redhat.com>
1104
1105 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
1106
1107 * sysdeps/alpha/fpu/libm-test-ulps: Update.
1108
1109 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1110
1111 [BZ #16159]
1112 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
1113 * malloc/arena.c (arena_lock): Check if arena is corrupt.
1114 (reused_arena): Find a non-corrupt arena.
1115 (heap_trim): Pass arena to unlink.
1116 * malloc/hooks.c (malloc_check_get_size): Pass arena to
1117 malloc_printerr.
1118 (top_check): Likewise.
1119 (free_check): Likewise.
1120 (realloc_check): Likewise.
1121 * malloc/malloc.c (malloc_printerr): Add arena argument.
1122 (unlink): Likewise.
1123 (munmap_chunk): Adjust.
1124 (ARENA_CORRUPTION_BIT): New macro.
1125 (arena_is_corrupt): Likewise.
1126 (set_arena_corrupt): Likewise.
1127 (sysmalloc): Use mmap if there are no usable arenas.
1128 (_int_malloc): Likewise.
1129 (__libc_malloc): Don't fail if arena_get returns NULL.
1130 (_mid_memalign): Likewise.
1131 (__libc_calloc): Likewise.
1132 (__libc_realloc): Adjust for additional argument to
1133 malloc_printerr.
1134 (_int_free): Likewise.
1135 (malloc_consolidate): Likewise.
1136 (_int_realloc): Likewise.
1137 (_int_memalign): Don't touch corrupt arenas.
1138 * malloc/tst-malloc-backtrace.c: New test case.
1139
1140 * Makefile (summarize-tests): Fix return value on success.
1141
1142 * manual/string.texi (Envz Functions): Add envz_remove.
1143
1144 2015-05-18 Roland McGrath <roland@hack.frob.com>
1145
1146 * sysdeps/posix/opendir.c: Include <stdbool.h>.
1147 (invalid_name): New function, broken out of ...
1148 (__opendirat): ... here. Call it.
1149 (need_isdir_precheck): New function, broken out of ...
1150 (__opendirat): ... here. Call it.
1151 Use __fxstatat64, not __xstatat64.
1152 (opendir_oflags): New function, broken out of ...
1153 (__opendirat): ... here. Call it.
1154 (opendir_tail): New function, broken out of ...
1155 (__opendirat): ... here. Call it.
1156 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
1157 opendir_tail, rather than punting to __opendirat.
1158 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
1159
1160 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1161
1162 * .gitignore: Ignore generated *.pyc.
1163
1164 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
1165
1166 * include/stdio.h: Define __need_wint_t.
1167 * test-skeleton.c: Avoid `for' loop initial declaration.
1168 * nptl/tst-initializers1.c: Use test-skeleton.c.
1169
1170 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1171
1172 [BZ #18418]
1173 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
1174
1175 2015-05-15 Joseph Myers <joseph@codesourcery.com>
1176
1177 [BZ #16352]
1178 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
1179 (__ieee754_atanh): Force underflow exception for results with
1180 small absolute value.
1181 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
1182 (__ieee754_atanhf): Force underflow exception for results with
1183 small absolute value.
1184 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
1185 (__ieee754_atanh): Force underflow exception for results with
1186 small absolute value.
1187 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
1188 (__ieee754_atanhf): Force underflow exception for results with
1189 small absolute value.
1190 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
1191 (__ieee754_atanhl): Force underflow exception for results with
1192 small absolute value.
1193 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
1194 (__ieee754_atanhl): Force underflow exception for results with
1195 small absolute value.
1196 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
1197 (__ieee754_atanhl): Force underflow exception for results with
1198 small absolute value.
1199 * math/auto-libm-test-in: Do not allow missing underflow
1200 exceptions from atanh.
1201 * math/auto-libm-test-out: Regenerated.
1202
1203 [BZ #18221]
1204 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
1205 2**-28 as threshold for returning x or +/- 1/x.
1206 * math/auto-libm-test-in: Add more tests of tan.
1207 * math/auto-libm-test-out: Regenerated.
1208
1209 [BZ #18220]
1210 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
1211 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
1212 * math/auto-libm-test-in: Add another test of lgamma.
1213 * math/auto-libm-test-out: Regenerated.
1214
1215 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
1216
1217 * stdio-common/printf_fp.c (___printf_fp): Use abs.
1218 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
1219 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
1220 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
1221 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
1222 (ADD2A): Use fabs. (SUB2A): Use fabs.
1223 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
1224 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
1225 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
1226 (log1): Use fabs. (my_log2): Use fabs.
1227 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
1228 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
1229 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
1230 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
1231 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
1232 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
1233 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
1234 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
1235 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
1236 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
1237 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
1238
1239 2015-05-15 Joseph Myers <joseph@codesourcery.com>
1240
1241 [BZ #18217]
1242 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
1243 as threshold for returning 1 - x.
1244 * math/auto-libm-test-in: Add more tests of erfc.
1245 * math/auto-libm-test-out: Regenerated.
1246
1247 2015-05-14 Joseph Myers <joseph@codesourcery.com>
1248
1249 [BZ #18196]
1250 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
1251 threshold for large arguments.
1252 * math/auto-libm-test-in: Add another test of atan.
1253 * math/auto-libm-test-out: Regenerated.
1254
1255 [BZ #16339]
1256 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
1257 (__log1p): Force underflow exception for results with small
1258 absolute value.
1259 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
1260 (__log1pf): Force underflow exception for results with small
1261 absolute value.
1262 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
1263 (__log1p): Force underflow exception for results with small
1264 absolute value.
1265 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
1266 (__log1pf): Force underflow exception for results with small
1267 absolute value.
1268 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
1269 (__log1pl): Force underflow exception for results with small
1270 absolute value.
1271 * math/auto-libm-test-in: Do not allow missing underflow
1272 exceptions from log1p.
1273 * math/auto-libm-test-out: Regenerated.
1274
1275 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
1276 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1277
1278 [BZ #16704]
1279 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
1280
1281 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
1282
1283 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
1284 (libmvec): New variable.
1285 * configure.ac: Added option for mathvec build.
1286 * configure: Regenerated.
1287 * mathvec/Depend: New file.
1288 * mathvec/Makefile: New file.
1289 * shlib-versions: Added libmvec.
1290 * math/Makefile: Added rule for libm.so installation.
1291
1292 * bits/math-vector.h: New file.
1293 * bits/libm-simd-decl-stubs.h: New header.
1294 * math/Makefile (headers): Added new header
1295 libm-simd-decl-stubs.h.
1296 * math/math.h (__MATHCALL_VEC): New macro.
1297
1298 * math/gen-libm-have-vector-test.sh: Script generates series of macros
1299 for conditions in testing functions.
1300 * math/Makefile: Added call of libm-have-vector-test.sh.
1301 * math/libm-test.inc (HAVE_VECTOR): New macros.
1302
1303 * math/libm-test.inc: START refactored.
1304 * math/test-double.c (TEST_MATHVEC): Add define.
1305 * math/test-float.c: Likewise.
1306 * math/test-idouble.c: Likewise.
1307 * math/test-ifloat.c: Likewise.
1308 * math/test-ildoubl.c: Likewise.
1309 * math/test-ldouble.c: Likewise.
1310 * sysdeps/generic/math-tests-arch.h
1311 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
1312 architecture check.
1313
1314 * math/test-double.c (FUNC_TEST): New macro.
1315 * math/test-float.c: Likewise.
1316 * math/test-idouble.c: Likewise.
1317 * math/test-ifloat.c: Likewise.
1318 * math/test-ildoubl.c: Likewise.
1319 * math/test-ldouble.c: Likewise.
1320 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
1321
1322 2015-05-13 Roland McGrath <roland@hack.frob.com>
1323
1324 * sysdeps/nacl/fdopendir.c: New file.
1325
1326 * dirent/scandir-tail.c: New file.
1327 * dirent/scandir64-tail.c: New file.
1328 * dirent/Makefile (routines): Add them.
1329 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
1330 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
1331 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
1332 [!SCANDIR] (SCANDIR_TAIL): New macro.
1333 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
1334 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
1335 (SCANDIRAT): Macro removed.
1336 (SCANDIR_TAIL): New macro.
1337 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
1338 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
1339 (SCANDIRAT): Just call __opendirat and __scandir_tail.
1340 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
1341 (READDIR): Macro removed.
1342 (SCANDIR_TAIL): New macro.
1343 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
1344 (SCANDIR_TAIL): New macro.
1345
1346 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
1347 * dirent/scandir-cancel.c: ... to this new file.
1348 * dirent/Makefile (routines): Add it.
1349 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
1350 * sysdeps/unix/sysv/linux/i386/scandir64.c
1351 (SKIP_SCANDIR_CANCEL): Macro removed.
1352 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
1353
1354 * dirent/tst-scandir.c: New file.
1355 * dirent/tst-scandir64.c: New file.
1356 * dirent/Makefile (tests): Add them.
1357
1358 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
1359
1360 [BZ #18409]
1361 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
1362
1363 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
1364
1365 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
1366 list.
1367
1368 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
1369
1370 * benchtests/bench-strcoll.c: New benchmark.
1371 * benchtests/Makefile: Generate locales and run benchmark.
1372 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
1373 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
1374 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
1375 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
1376 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
1377 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
1378 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
1379 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
1380 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
1381 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
1382 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
1383 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
1384 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
1385 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
1386 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
1387 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
1388 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
1389 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
1390 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
1391 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
1392 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
1393 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
1394 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
1395 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
1396
1397 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
1398
1399 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
1400 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1401
1402 2015-05-12 Roland McGrath <roland@hack.frob.com>
1403
1404 * posix/uname-values.h: New file.
1405 * posix/uname.c: Include that instead of <config-name.h>.
1406 * sysdeps/nacl/uname-values.h: New file.
1407 * sysdeps/arm/nacl/uname-values.h: New file.
1408
1409 2015-05-12 Joseph Myers <joseph@codesourcery.com>
1410
1411 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
1412 splitting into fields.
1413
1414 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
1415
1416 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
1417 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
1418 * locale/localeinfo.h: Add enum collation_encoding_type.
1419 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
1420 * programs/ld-collate.c (collate_output): Add encoding type info.
1421 * string/strcoll_l.c (STRDIFF): New function.
1422 * (STRCOLL): Use STRDIFF to skip over equal prefix.
1423 * wcsmbs/wcscoll_l.c: Define STRDIFF.
1424
1425 2015-05-11 Joseph Myers <joseph@codesourcery.com>
1426
1427 [BZ #18397]
1428 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
1429 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
1430 <fpu_control.h> instead of <math/fpu_control.c>.
1431 * sysdeps/mips/mips32/fpu/Makefile: New file.
1432
1433 2015-05-11 Andreas Schwab <schwab@suse.de>
1434
1435 [BZ #18007]
1436 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
1437 nss_endgrent.
1438 (_nss_compat_endgrent): Call nss_endgrent.
1439 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
1440 nss_endpwent.
1441 (_nss_compat_endpwent): Call nss_endpwent.
1442 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
1443 needent, call nss_setspent only if non-zero.
1444 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
1445 (internal_endspent): Don't call nss_endspent.
1446 (_nss_compat_endspent): Call nss_endspent.
1447 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
1448 Remove. All uses removed.
1449 (internal_setent): Remove parameter stayopen, add parameter
1450 stream. Use it instead of global variable.
1451 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
1452 (internal_endent, internal_getent): Add parameter stream. Use it
1453 instead of global variable.
1454 (CONCAT(_nss_files_end,ENTNAME))
1455 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
1456 (_nss_files_get##name##_r): Pass local stream. Remove locking.
1457 * nss/nss_files/files-alias.c (position, last_use): Remove. All
1458 uses removed.
1459 (internal_setent, internal_endent): Add parameter stream. Use it
1460 instead of global variable.
1461 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
1462 stream.
1463 (get_next_alias): Add parameter stream.
1464 (_nss_files_getaliasent_r): Pass global stream.
1465 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
1466 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
1467 (_nss_files_gethostbyname4_r): Pass local stream to
1468 internal_setent, internal_getent and internal_endent. Remove
1469 locking.
1470
1471 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1472
1473 * tst-strfmon1.c (tests): Update expected currency symbol.
1474
1475 2015-05-08 Roland McGrath <roland@hack.frob.com>
1476
1477 * sysdeps/nacl/gethostname.c: New file.
1478
1479 2015-05-08 Joseph Myers <joseph@codesourcery.com>
1480
1481 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
1482 and sinh.
1483 * math/auto-libm-test-out: Regenerated.
1484 * sysdeps/i386/fpu/libm-test-ulps: Update.
1485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1486
1487 2015-05-08 Carlos O'Donell <carlos@redhat.com>
1488
1489 [BZ #18125]
1490 * stdlib/tst-setcontext3.c: New file.
1491 * stdlib/tst-setcontext3.sh: New file.
1492 * stdlib/Makefile (tests): Add tst-setcontext3.
1493 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
1494 to verify test program created output file.
1495 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
1496 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
1497 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
1498 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
1499
1500 2015-05-06 Roland McGrath <roland@hack.frob.com>
1501
1502 [BZ #18383]
1503 * elf/tst-tlsalign.c: New file.
1504 * elf/tst-tlsalign-static.c: New file.
1505 * elf/tst-tlsalign-lib.c: New file.
1506 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
1507 (tests-static): Add tst-tlsalign-static.
1508 (modules-names): Add tst-tlsalign-lib.
1509 (test-xfail-tst-tlsalign): New variable.
1510 (test-xfail-tst-tlsalign-static): New variable.
1511
1512 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
1513 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
1514
1515 2015-05-06 Joseph Myers <joseph@codesourcery.com>
1516
1517 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
1518 csqrt, erfc, sin and sincos.
1519 * math/auto-libm-test-out: Regenerated.
1520 * sysdeps/i386/fpu/libm-test-ulps: Update.
1521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1522
1523 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
1524
1525 * sysdeps/aarch64/libm-test-ulps: Update.
1526
1527 2015-05-05 Joseph Myers <joseph@codesourcery.com>
1528
1529 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
1530 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
1531 * math/auto-libm-test-out: Regenerated.
1532 * sysdeps/i386/fpu/libm-test-ulps: Update.
1533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1534
1535 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
1536
1537 [BZ #18265]
1538 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
1539 (wcsncpy): Likewise.
1540
1541 2015-05-05 Florian Weimer <fweimer@redhat.com>
1542
1543 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1544 Assume __ASSUME_FALLOCATE is always true.
1545 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1546 (__posix_fallocate64_l64): Likweise.
1547 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
1548 (posix_fallocate): Likewise.
1549 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
1550 (__posix_fallocate64_l64): Likewise.
1551 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1552 [!__ASSUME_FALLOCATE]: Add comment.
1553
1554 2015-05-05 Florian Weimer <fweimer@redhat.com>
1555
1556 * sysdeps/unix/sysv/linux/i386/Makefile
1557 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
1558 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
1559 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
1560 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
1561 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
1562 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
1563 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
1564
1565 2015-05-02 Joseph Myers <joseph@codesourcery.com>
1566
1567 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
1568 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
1569 tgamma.
1570 * math/auto-libm-test-out: Regenerated.
1571 * sysdeps/i386/fpu/libm-test-ulps: Update.
1572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1573
1574 2015-05-01 Joseph Myers <joseph@codesourcery.com>
1575
1576 * math/auto-libm-test-in: Add more tests of tgamma.
1577 * math/auto-libm-test-out: Regenerated.
1578 * sysdeps/i386/fpu/libm-test-ulps: Update.
1579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1580
1581 * math/auto-libm-test-in: Add more tests of tanh.
1582 * math/auto-libm-test-out: Regenerated.
1583 * sysdeps/i386/fpu/libm-test-ulps: Update.
1584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1585
1586 * math/auto-libm-test-in: Add more tests of tan.
1587 * math/auto-libm-test-out: Regenerated.
1588 * sysdeps/i386/fpu/libm-test-ulps: Update.
1589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1590
1591 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
1592 * math/auto-libm-test-out: Regenerated.
1593 * sysdeps/i386/fpu/libm-test-ulps: Update.
1594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1595
1596 * math/auto-libm-test-in: Add another test of pow.
1597 * math/auto-libm-test-out: Regenerated.
1598 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1599
1600 * math/auto-libm-test-in: Add more tests of lgamma.
1601 * math/auto-libm-test-out: Regenerated.
1602 * sysdeps/i386/fpu/libm-test-ulps: Update.
1603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1604
1605 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
1606 log1p.
1607 * math/auto-libm-test-out: Regenerated.
1608 * sysdeps/i386/fpu/libm-test-ulps: Update.
1609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1610
1611 2015-05-01 Mark Wielaard <mjw@redhat.com>
1612
1613 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
1614 Elf64_Chdr structs and ELFCOMPRESS constants.
1615
1616 2015-05-01 Joseph Myers <joseph@codesourcery.com>
1617
1618 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
1619 expm1.
1620 * math/auto-libm-test-out: Regenerated.
1621 * sysdeps/i386/fpu/libm-test-ulps: Update.
1622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1623
1624 * math/auto-libm-test-in: Add more tests of erf and erfc.
1625 * math/auto-libm-test-out: Regenerated.
1626 * sysdeps/i386/fpu/libm-test-ulps: Update.
1627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1628
1629 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
1630
1631 * config.h.in (HAVE_AARCH64_BE): Add.
1632
1633 2015-04-30 Joseph Myers <joseph@codesourcery.com>
1634
1635 * math/auto-libm-test-in: Add more tests of csqrt.
1636 * math/auto-libm-test-out: Regenerated.
1637 * sysdeps/i386/fpu/libm-test-ulps: Update.
1638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1639
1640 * math/auto-libm-test-in: Add more tests of cosh and sinh.
1641 * math/auto-libm-test-out: Regenerated.
1642 * sysdeps/i386/fpu/libm-test-ulps: Update.
1643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1644
1645 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
1646
1647 2015-04-29 Roland McGrath <roland@hack.frob.com>
1648
1649 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
1650 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
1651
1652 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
1653 (euidaccess, eaccess): Define as weak aliases.
1654
1655 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
1656 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
1657 but __suseconds_t is often 'long int' so some sources assume that
1658 type is being used (e.g. they use %ld to print tv_usec).
1659
1660 2015-04-29 Florian Weimer <fweimer@redhat.com>
1661
1662 [BZ #18007]
1663 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
1664 (CVE-2014-8121)
1665 * nss/tst-nss-getpwent.c: New file.
1666 * nss/Makefile (tests): Add new test.
1667
1668 2015-04-28 Joseph Myers <joseph@codesourcery.com>
1669
1670 [BZ #18346]
1671 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
1672 exponents less than 48 as cases where high part of mantissa needs
1673 examining to determine whether argument is integral.
1674 * math/libm-test.inc (round_test_data): Add more tests.
1675
1676 2015-04-28 Mark Wielaard <mjw@redhat.com>
1677
1678 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
1679
1680 2015-04-27 David S. Miller <davem@davemloft.net>
1681
1682 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
1683 __tls_get_addr.
1684 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1685
1686 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
1687
1688 [BZ#18333]
1689 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
1690
1691 2015-04-27 Florian Weimer <fweimer@redhat.com>
1692
1693 [BZ#18333]
1694 * time/tzset.c (parse_tzname): Return error on memory allocation
1695 failure.
1696 * test-skeleton.c (struct temp_name_list): Change type of name
1697 member to non-const.
1698 (add_temp_file): Create a copy of the file name.
1699 (delete_temp_files): Deallocate memory.
1700 (create_temp_file): Add comment.
1701
1702 2015-04-24 Florian Weimer <fweimer@redhat.com>
1703
1704 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
1705 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
1706
1707 2015-04-24 Roland McGrath <roland@hack.frob.com>
1708
1709 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
1710 * sysdeps/arm/configure: Regenerated.
1711
1712 2015-04-24 Florian Weimer <fweimer@redhat.com>
1713
1714 [BZ #17715]
1715 * time/tzfile.c (__tzfile_read): Check for large values of
1716 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
1717 * time/tzset.c (__tzstring_len): New function, based on the old
1718 __tzstring function.
1719 (__tzstring): Call __tzstring_len.
1720 (parse_tzname): New helper function extracted from
1721 __tzset_parse_tz. Call __tzstring_len, without making a copy of
1722 the input string.
1723 (parse_offset): New helper function extracted from
1724 __tzset_parse_tz. Replace switch with fallthrough with
1725 initialization before sscanf.
1726 (parse_rule): Likewise.
1727 (__tzset_parse_tz): Rewrite using the new helper functions. Use
1728 new-style function definition.
1729 * timezone/Makefile (tests): Add tst-tzset.
1730 (tst-tzset.out): Dependencies on time zone files.
1731 (tst-tzset-ENV): Set TZDIR.
1732 (testdata/XT%): Copy crafted time zone files.
1733 * timezone/README: Mention crafted time zone files.
1734 * timezone/testdata/XT1, timezone/testdata/XT2,
1735 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
1736 files.
1737 * timezone/tst-tzset.c: New test.
1738
1739 2015-04-24 Florian Weimer <fweimer@redhat.com>
1740
1741 * Makeconfig (+gccwarn): Remove -Winline.
1742
1743 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1744
1745 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
1746
1747 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
1748
1749 * NEWS: Mention sysconf() cache information support for s390.
1750 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
1751
1752 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
1753
1754 * math/k_casinh.c (__kernel_casinh): Use __copysign.
1755 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
1756 (__nearbyint): Likewise.
1757 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
1758 (copysignl): Likewise.
1759
1760 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
1761
1762 [BZ #18287]
1763 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
1764 based on padding. (CVE-2015-1781)
1765
1766 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1767
1768 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
1769 libc-vdso.h.
1770 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
1771 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
1772 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
1773 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
1774 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
1775 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
1776 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
1777 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
1778 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
1779 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
1780 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1781 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
1782 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1783 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
1784 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
1785 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
1786 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
1787 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
1788 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
1789 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
1790 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
1791 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
1792 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
1793
1794 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
1795
1796 * stdlib/setenv.c (__add_to_environ):
1797 Dump core quickly if setenv (..., NULL, ...) is called.
1798 This time, do it the right way, and pacify GCC with a pragma.
1799
1800 2015-04-17 Roland McGrath <roland@hack.frob.com>
1801
1802 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
1803 IMAP->l_prev cannot be null, and #if out the code for the contrary
1804 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
1805 believe that NS (&_dl_ns[NSID]) could point outside the array.
1806
1807 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
1808 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
1809 before using NSID as an index.
1810
1811 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
1812
1813 [BZ #17825]
1814 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
1815 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
1816 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1817
1818 2015-04-17 Roland McGrath <roland@hack.frob.com>
1819
1820 Add preliminary port to Google Native Client on ARM.
1821 * abi-tags (.*-.*-nacl.*): New entry.
1822 * sysdeps/arm/nacl: New directory.
1823 * sysdeps/nacl: New directory.
1824
1825 2015-04-16 David S. Miller <davem@davemloft.net>
1826
1827 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
1828 lowlevellock-futex.h
1829
1830 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
1831
1832 * sysdeps/tile/configure.ac: New file.
1833 * sysdeps/tile/configure: Regenerated.
1834
1835 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1836
1837 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
1838 conditionals for weak_alias and libc_hidden_weak.
1839 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
1840 libc_hidden_weak and weak_alias.
1841 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
1842 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
1843 and weak_alias for static one.
1844
1845 2015-04-15 David S. Miller <davem@davemloft.net>
1846
1847 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
1848
1849 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1850
1851 [BZ #18206]
1852 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
1853 Use signed comparision instead of substraction to avoid
1854 overflow bug.
1855 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
1856 Take the sign of ret.
1857 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
1858 Do not expect precise return values. Only the sign matters.
1859 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
1860 * wcsmbs/test-wcsncmp.c: New File.
1861 * string/test-strncmp.c: Add wcsncmp support.
1862
1863 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
1864
1865 [BZ #6792]
1866 * math/w_log1p.c: New file.
1867 * math/w_log1pf.c: Likewise.
1868 * math/w_log1pl.c: Likewise.
1869 * math/Makefile (libm-calls): Add w_log1p.
1870 * math/s_log1pl.c (log1pl): Remove weak_alias.
1871 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
1872 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
1873 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
1874 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
1875 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
1876 [NO_LONG_DOUBLE] (log1pl): Likewise.
1877 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
1878 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
1879 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
1880 (log1p): Remove long_double_symbol.
1881 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
1882 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
1883 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
1884 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
1885 remove weak_alias for corresponding log1p function.
1886 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
1887 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
1888 * sysdeps/ia64/fpu/w_log1p.c: New file.
1889 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
1890 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
1891 * math/libm-test.inc (log1p_test_data): Add errno expectations.
1892
1893 2015-04-10 Joseph Myers <joseph@codesourcery.com>
1894
1895 [BZ #18247]
1896 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
1897 decimal exponent by 1.
1898 * stdlib/tst-strtod-round-data: Add more tests.
1899 * stdlib/tst-strtod-round.c (tests): Regenerated.
1900
1901 2015-04-09 Joseph Myers <joseph@codesourcery.com>
1902
1903 * math/auto-libm-test-in: Add more tests of clog and clog10.
1904 * math/auto-libm-test-out: Regenerated.
1905 * sysdeps/i386/fpu/libm-test-ulps: Update.
1906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1907
1908 2015-04-09 Roland McGrath <roland@hack.frob.com>
1909
1910 * Makeconfig (module-cppflags): Exclude all .v.i files.
1911 (skip-module-cppflags): Variable removed.
1912
1913 * configure.ac (libc_config_ok): Initialize before reading
1914 preconfigure scripts, not after.
1915 * configure: Regenerated.
1916
1917 * test-skeleton.c (TIMEOUT): Move #define to top level.
1918 (main): Grok environment variable TEST_DIRECT. If set, print
1919 test expectation details into that file and then behave as if
1920 given --direct.
1921
1922 2015-04-09 Florian Weimer <fweimer@redhat.com>
1923
1924 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
1925 warning on 32-bit.
1926
1927 2015-04-08 David S. Miller <davem@davemloft.net>
1928
1929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1930
1931 2015-04-08 Joseph Myers <joseph@codesourcery.com>
1932
1933 * math/auto-libm-test-in: Add more tests of atanh.
1934 * math/auto-libm-test-out: Regenerated.
1935 * sysdeps/i386/fpu/libm-test-ulps: Update.
1936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1937
1938 * math/auto-libm-test-in: Add more tests of atan.
1939 * math/auto-libm-test-out: Regenerated.
1940 * sysdeps/i386/fpu/libm-test-ulps: Update.
1941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1942
1943 2015-04-08 Florian Weimer <fweimer@redhat.com>
1944
1945 * elf/pldd.c (main): Rewrite to use struct
1946 scratch_buffer instead of extend_alloca.
1947 * elf/pldd-xx.c (find_maps): Likewise.
1948 * grp/initgroups.c: Include <scratch_buffer.h> instead of
1949 <alloca.h>.
1950 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
1951 scratch_buffer instead of extend_alloca.
1952 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
1953 grp/compat-initgroups.c.
1954 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
1955 Rewrite to use struct scratch_buffer instead of extend_alloca.
1956 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
1957 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1958
1959 2015-04-08 Joseph Myers <joseph@codesourcery.com>
1960
1961 * math/auto-libm-test-in: Add more tests of cbrt.
1962 * math/auto-libm-test-out: Regenerated.
1963 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1964
1965 * math/auto-libm-test-in: Add more tests of cabs.
1966 * math/auto-libm-test-out: Regenerated.
1967 * sysdeps/i386/fpu/libm-test-ulps: Update.
1968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1969
1970 [BZ #18210]
1971 [BZ #18211]
1972 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
1973 (__ieee754_atan2): Set FE_TONEAREST mode for internal
1974 computations.
1975 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
1976 clog10.
1977 * math/auto-libm-test-out: Regenerated.
1978 * sysdeps/i386/fpu/libm-test-ulps: Update.
1979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1980
1981 [BZ #18197]
1982 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
1983 (atan): Set FE_TONEAREST mode for internal computations.
1984 * math/auto-libm-test-in: Add more tests of atan.
1985 * math/auto-libm-test-out: Regenerated.
1986
1987 2015-04-07 James Cowgill <james410@cowgill.org.uk>
1988
1989 [BZ #17930]
1990 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
1991
1992 2015-04-07 Florian Weimer <fweimer@redhat.com>
1993
1994 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
1995
1996 2015-04-07 Florian Weimer <fweimer@redhat.com>
1997
1998 * include/scratch_buffer.h: New file.
1999 * malloc/scratch_buffer_grow.c: Likewise.
2000 * malloc/scratch_buffer_grow_preserve.c: Likewise.
2001 * malloc/scratch_buffer_set_array_size.c: Likewise.
2002 * malloc/tst-scratch_buffer.c: Likewise.
2003 * malloc/Makefile (routines): Add scratch_buffer_grow.
2004 (tests): Add test case.
2005 * malloc/Versions (GLIBC_PRIVATE): Export
2006 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
2007 __libc_scratch_buffer_set_array_size.
2008
2009 2015-04-06 Richard Henderson <rth@redhat.com>
2010
2011 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
2012 * sysdeps/alpha/fpu/libm-test-ulps: Update.
2013
2014 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
2015 unsigned int before printing.
2016
2017 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2018
2019 [BZ #17596]
2020 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
2021 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2022
2023 2015-04-02 Florian Weimer <fweimer@redhat.com>
2024
2025 * include/libc-internal.h (libc_max_align_t): Define.
2026
2027 2015-04-02 Andreas Schwab <schwab@suse.de>
2028
2029 [BZ #16850]
2030 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
2031
2032 2015-04-02 Mel Gorman <mgorman@suse.de>
2033
2034 [BZ #17195]
2035 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
2036 as well as the main arena.
2037
2038 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2039
2040 [BZ #18185]
2041 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
2042 sharing L2 cache to 2 for Silvermont/Knights Landing.
2043
2044 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2045
2046 [BZ #17711]
2047 * config.make.in (have-protected-data): New.
2048 * configure.ac: Check linker support for protected data symbol.
2049 * configure: Regenerated.
2050 * elf/Makefile (modules-names): Add tst-protected1moda and
2051 tst-protected1modb if $(have-protected-data) is yes.
2052 (tests): Add tst-protected1a and tst-protected1b if
2053 $(have-protected-data) is yes.
2054 ($(objpfx)tst-protected1a): New.
2055 ($(objpfx)tst-protected1b): Likewise.
2056 (tst-protected1modb.so-no-z-defs): Likewise.
2057 * elf/tst-protected1a.c: New file.
2058 * elf/tst-protected1b.c: Likewise.
2059 * elf/tst-protected1mod.h: Likewise.
2060 * elf/tst-protected1moda.c: Likewise.
2061 * elf/tst-protected1modb.c: Likewise.
2062
2063 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
2064
2065 [BZ #17711]
2066 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
2067 indicates it is called from do_lookup_x on relocation against
2068 protected data, skip the data definion in the executable from
2069 copy reloc.
2070 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
2071 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
2072 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
2073 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
2074 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
2075 otherwise to 0.
2076 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2077 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
2078 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
2079 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2080 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
2081 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
2082
2083 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
2084
2085 * sysdeps/nptl/pthread.h: Remove duplicate definition of
2086 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
2087
2088 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
2089
2090 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
2091 THREAD_SETMEM_NC.
2092 * sysdeps/x86_64/nptl/tls.h: Ditto.
2093
2094 2015-03-27 Roland McGrath <roland@hack.frob.com>
2095
2096 * dlfcn/tststatic.c (main): Converted to ...
2097 (do_test): ... this.
2098 (TEST_FUNCTION): New macro.
2099 Include test-skeleton.c.
2100
2101 2015-03-26 Alan Modra <amodra@gmail.com>
2102
2103 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
2104 Don't segfault if ifunc resolver returns a NULL. Do set plt to
2105 zero for undefined weak.
2106 (elf_machine_plt_conflict): Similarly.
2107
2108 2015-03-25 Joseph Myers <joseph@codesourcery.com>
2109
2110 * math/auto-libm-test-in: Add more tests of acosh, asinh and
2111 atanh.
2112 * math/auto-libm-test-out: Regenerated.
2113 * sysdeps/i386/fpu/libm-test-ulps: Update.
2114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2115
2116 * math/auto-libm-test-in: Add another test of asin.
2117 * math/auto-libm-test-out: Regenerated.
2118 * sysdeps/i386/fpu/libm-test-ulps: Update.
2119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2120
2121 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
2122 Remove macro.
2123 (LLL_EBX_REG): Likewise.
2124 (LLL_ENTER_KERNEL): Likewise.
2125
2126 * math/auto-libm-test-in: Add more tests of asin.
2127 * math/auto-libm-test-out: Regenerated.
2128 * sysdeps/i386/fpu/libm-test-ulps: Update.
2129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2130
2131 [BZ #18138]
2132 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
2133 libc_do_syscall_args): New structure.
2134 (INTERNAL_SYSCALL_MAIN_0): New macro.
2135 (INTERNAL_SYSCALL_MAIN_1): Likewise.
2136 (INTERNAL_SYSCALL_MAIN_2): Likewise.
2137 (INTERNAL_SYSCALL_MAIN_3): Likewise.
2138 (INTERNAL_SYSCALL_MAIN_4): Likewise.
2139 (INTERNAL_SYSCALL_MAIN_5): Likewise.
2140 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
2141 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
2142 Replace conditional definitions by conditional definitions of ....
2143 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
2144 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
2145 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
2146 (libpthread-sysdep_routines): Add libc-do-syscall.
2147 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
2148 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
2149 to __NR_futex not 240.
2150
2151 2015-03-25 Alan Modra <amodra@gmail.com>
2152
2153 * NEWS: Advertise TLS optimization.
2154 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
2155 (DT_PPC_NUM): Increment.
2156 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
2157 (CHECK_STATIC_TLS): Use here.
2158 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
2159 TLS descriptors.
2160 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2161 * sysdeps/powerpc/dl-tls.c: New file.
2162 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
2163 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
2164 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
2165 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
2166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
2167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2169
2170 2015-03-25 Alan Modra <amodra@gmail.com>
2171
2172 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
2173 for overlapping .opd entries" to "support...".
2174 * sysdeps/powerpc/powerpc64/configure: Regenerate
2175
2176 2015-03-25 Joseph Myers <joseph@codesourcery.com>
2177
2178 * math/auto-libm-test-in: Add more tests of acos.
2179 * math/auto-libm-test-out: Regenerated.
2180 * sysdeps/i386/fpu/libm-test-ulps: Update.
2181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2182
2183 * math/auto-libm-test-in: Add more tests of expm1.
2184 * math/auto-libm-test-out: Regenerated.
2185 * sysdeps/i386/fpu/libm-test-ulps: Update.
2186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2187
2188 2015-03-24 Joseph Myers <joseph@codesourcery.com>
2189
2190 * math/auto-libm-test-in: Add more tests of cosh and sinh.
2191 * math/auto-libm-test-out: Regenerated.
2192 * sysdeps/i386/fpu/libm-test-ulps: Update.
2193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2194
2195 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2197
2198 * math/auto-libm-test-in: Add more tests of log2.
2199 * math/auto-libm-test-out: Regenerated.
2200 * sysdeps/i386/fpu/libm-test-ulps: Update.
2201 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2202
2203 2015-03-23 Roland McGrath <roland@hack.frob.com>
2204
2205 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
2206 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
2207 _IO_IS_APPENDING bit in READ_WRITE instead.
2208
2209 2015-03-23 Florian Weimer <fweimer@redhat.com>
2210
2211 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
2212 (__determine_cpumask_size): Replace extend_alloca with a
2213 variable-length array. Do not treat res == 0 as an error.
2214
2215 2015-03-23 Florian Weimer <fweimer@redhat.com>
2216
2217 [BZ #18100]
2218 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
2219 and integer overflow.
2220 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
2221 (main): Add integer overflow tests.
2222 * manual/pattern.texi (Calling Wordexp): Document additional use
2223 for WRDE_SYNTAX.
2224
2225 2015-03-23 Alan Modra <amodra@gmail.com>
2226
2227 * config.h.in: Remove HAVE_ASM_PPC_REL16.
2228 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
2229 and false branch of conditional.
2230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2231 Likewise.
2232
2233 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
2234
2235 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
2236 libc-modules.h
2237 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
2238 unused declaration of _hurd_intr_rpc_msg_in_trap.
2239 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
2240 defined instead of whether it is non-zero.
2241 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
2242 input constraint instead of both input and output constraint. Use ecx
2243 clobber instead of %ecx.
2244 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
2245 mutex_unlock): Use a statement expression instead of an expression list.
2246 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
2247 type to vm_size_t instead of vm_address_t.
2248 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
2249 defined instead of whether it is non-zero.
2250 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
2251 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
2252 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
2253 comparisons with mapaddr.
2254 * nscd/nscd-client.h: Include <time.h>.
2255 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
2256 9th parameter to __vm_region instead of int.
2257 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
2258 * scripts/check-local-headers.sh (exclude): Add device/,
2259 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
2260 cthreads.h.
2261
2262 2015-03-19 Roland McGrath <roland@hack.frob.com>
2263
2264 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
2265 to account for alignment padding.
2266 * sysdeps/arm/memmove.S: Likewise.
2267
2268 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
2269
2270 * sysdeps/unix/sysv/linux/generic/README: New file.
2271
2272 2015-03-18 Joseph Myers <joseph@codesourcery.com>
2273
2274 [BZ #18138]
2275 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
2276 (futex_abstimed_wait)
2277 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
2278 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
2279 of lll_futex_timed_wait.
2280
2281 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
2282
2283 [BZ #17542]
2284 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
2285
2286 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
2287
2288 [BZ #17090]
2289 [BZ #17620]
2290 [BZ #17621]
2291 [BZ #17628]
2292 * NEWS: Update.
2293 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
2294 entries with Static TLS too. Skip entries past the end of the
2295 allocated DTV, from Alan Modra.
2296 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
2297 Static TLS DTV entry set up from...
2298 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
2299 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
2300 * nptl/allocatestack.c (init_one_static_tls): ... and here...
2301 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
2302 for Static TLS.
2303 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
2304 that the slot we find is associated with the given map before
2305 using its generation count.
2306 * nptl_db/db_info.c: Include ldsodefs.h.
2307 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
2308 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
2309 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
2310 (link_map::l_tls_offset): New struct field.
2311 (dtv_t::counter): Likewise.
2312 (rtld_global): New struct.
2313 (_rtld_global): New rtld variable.
2314 (dl_tls_dtv_slotinfo_list): New rtld global field.
2315 (dtv_slotinfo_list): New struct.
2316 (dtv_slotinfo): Likewise.
2317 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
2318 (td_lookup): Rename to...
2319 (td_mod_lookup): ... this. Use new mod parameter instead of
2320 LIBPTHREAD_SO.
2321 * nptl_db/td_thr_tlsbase.c: Include link.h.
2322 (dtv_slotinfo_list, dtv_slotinfo): New functions.
2323 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
2324 addresses even if the DTV is out of date or missing them.
2325 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
2326 index zero-length arrays.
2327 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
2328 (td_lookup): Make it a macro implemented in terms of...
2329 (td_mod_lookup): ... this declaration.
2330 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
2331 (DB_MAIN_VARIABLE): Likewise.
2332
2333 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
2334
2335 [BZ #18134]
2336 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
2337
2338 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
2339
2340 * stdlib/setenv.c (__add_to_environ): Revert previous change.
2341
2342 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
2343
2344 [BZ #18128]
2345 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
2346 (atomic_add, atomic_increment_and_test)
2347 (atomic_decrement_and_test): Fix 64-bit arithmetic.
2348
2349 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
2350
2351 * stdlib/setenv.c (__add_to_environ):
2352 Dump core quickly if setenv (..., NULL, ...) is called.
2353
2354 2015-03-13 Roland McGrath <roland@hack.frob.com>
2355
2356 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
2357 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
2358 all the necessary asm magic in one place.
2359 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
2360 using those.
2361
2362 2015-03-13 Carlos O'Donell <carlos@redhat.com>
2363
2364 [BZ #14906]
2365 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
2366 traced file mtime. Use consistent log message.
2367 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
2368 (register_traced_file): Call install_watches. Always set mtime.
2369 (invalidate_cache): Iterate over all trace files. Call install_watches.
2370 (inotify_check_files): Don't inline. Handle watching parent
2371 directories and configuration file movement in and out.
2372 (handle_inotify_events): New function.
2373 (main_loop_poll): Call handle_inotify_events.
2374 (main_loop_epoll): Likewise.
2375 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
2376 (struct traced_file): Use array of inotify fds. Add parent directory,
2377 and basename.
2378 (struct database_dyn): Remove unused file_mtime.
2379 (init_traced_file): New inline function.
2380 (define_traced_file): New macro.
2381 * nss/nss_db/db-init.c: Use define_traced_file.
2382 (_nss_db_init): Use init_traced_file.
2383 * nss/nss_files/files-init.c: Use define_traced_file.
2384 (_nss_files_init): Use init_traced_file.
2385
2386 2015-03-12 Joseph Myers <joseph@codesourcery.com>
2387
2388 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
2389 [_LIBC]: Do not include <stdlib.h>.
2390 [!_LIBC] (abort): Remove declaration.
2391 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
2392 _FP_STATIC_ASSERT instead of conditionally calling abort.
2393 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
2394 (_FP_EXTEND_CNAN): Likewise.
2395 (FP_TRUNC): Likewise.
2396 (__FP_CLZ): Likewise.
2397 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
2398
2399 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
2400
2401 * manual/string.texi (XPG basename): Fix prototype.
2402
2403 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2404
2405 [BZ #18080]
2406 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
2407 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2408 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
2409 (__setcontext): Likewise.
2410 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
2411 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
2412 Call rt_sigprocmask syscall one time to set new signal mask
2413 and retrieve the current signal mask instead of two calls.
2414 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
2415 (__swapcontext): Likewise.
2416 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
2417 * stdlib/tst-setcontext2.c: New file.
2418
2419 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2420
2421 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2422
2423 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
2424
2425 [BZ #18093]
2426 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
2427 the wrong size.
2428
2429 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
2430
2431 [BZ #18043]
2432 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
2433
2434 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2435
2436 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
2437 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
2438 Remove define.
2439 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
2440 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
2441 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
2442 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
2443 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
2444 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
2445 define.
2446 * nptl_db/td_symbol_list.c (td_lookup): Remove
2447 HAVE_ASM_GLOBAL_DOT_NAME code.
2448 * sysdeps/powerpc/powerpc64/configure.ac: Remove
2449 HAVE_ASM_GLOBAL_DOT_NAME check.
2450 * sysdeps/powerpc/powerpc64/configure: Regenerate.
2451 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
2452 (DOT_LABEL): Remove define.
2453 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
2454 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
2455 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
2456 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
2457 (__TLS_GET_ADDR): Likewise.
2458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
2459 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
2460
2461 2015-03-11 Carlos O'Donell <carlos@redhat.com>
2462
2463 [BZ #18111]
2464 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
2465 (_FPU_SETCW): Initialize cw from fpsr before storing.
2466 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
2467 (fesetexceptflag): Rewrite using fpu_control.h.
2468 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
2469
2470 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
2471
2472 [BZ #18110]
2473 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
2474 asms.
2475 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2476
2477 2015-03-11 Joseph Myers <joseph@codesourcery.com>
2478
2479 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
2480 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
2481 abort.
2482 (_FP_FMA): Likewise.
2483 (_FP_DIV): Likewise.
2484
2485 2015-03-10 Roland McGrath <roland@hack.frob.com>
2486
2487 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
2488 with 0 in that case.
2489 * Makefile (summarize-tests): New canned sequence, factored out of
2490 commands for targets tests and xtests. Display summary lines that
2491 don't start with PASS: or XFAIL: rather than ones that do start with
2492 ERROR: or FAIL:. Make the commands fail if any summary lines fail
2493 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
2494 do start with ERROR: or FAIL:.
2495 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
2496 (except for [$(build-shared) = yes]).
2497 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
2498 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
2499 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
2500 * nptl/Makefile: Revert 2015-03-04 changes.
2501 [$(CXX) empty] (tests-unsupported): New variable.
2502 * debug/Makefile: Likewise.
2503
2504 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
2505 gnulib file. Replace __attribute with __attribute__ throughout.
2506
2507 2015-03-10 Carlos O'Donell <carlos@redhat.com>
2508
2509 * sysdeps/hppa/fpu/libm-test-ulps: Update.
2510
2511 2015-03-10 Joseph Myers <joseph@codesourcery.com>
2512
2513 [BZ #18104]
2514 * math/auto-libm-test-in: Add another test of pow.
2515 * math/auto-libm-test-out: Regenerated.
2516
2517 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2518
2519 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
2520 $(config-cflags-nofma).
2521
2522 2015-03-10 Joseph Myers <joseph@codesourcery.com>
2523
2524 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
2525 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
2526 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
2527 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
2528 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
2529 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
2530 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
2531 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
2532 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
2533 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
2534 Add comment on closing #endif.
2535
2536 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2537
2538 * posix/wordexp.c (CHAR_IN_SET): New macro.
2539 (parse_param): Use it.
2540
2541 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2542
2543 * sysdeps/powerpc/fpu/libm-test-ulps: update.
2544
2545 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2546
2547 [BZ #18043]
2548 * posix/wordexp.c (parse_param): Fix buffer overflow.
2549 * posix/wordexp-test.c (test_case): Add test case.
2550
2551 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2552
2553 [BZ #18042]
2554 * posix/wordexp.c (parse_backtick): Fix off-by-one.
2555 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
2556
2557 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
2558
2559 [BZ #18043]
2560 * posix/wordexp-test.c (test_case): Add test for BZ #18043
2561 (do_bz18043): Delete.
2562 (at_page_end): New.
2563 (testit): Refactor to have words at the edge of unreadable page.
2564
2565 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
2566
2567 [BZ #16734]
2568 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
2569 Cleanup read-only streams as well.
2570 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
2571
2572 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2573
2574 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
2575 <bits/libc-lockP.h>
2576
2577 2015-03-07 Joseph Myers <joseph@codesourcery.com>
2578
2579 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
2580 on [__KERNEL__].
2581 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
2582 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
2583 * soft-fp/op-common.h (_FP_DECL): Likewise.
2584
2585 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
2586
2587 * elf/ifuncdep2.c (global): Replace
2588 __attribute__((visibility("protected"))) with
2589 asm (".protected global").
2590 * elf/ifuncmod1.c (global): Likewise.
2591 * elf/ifuncmod5.c (global): Likewise.
2592
2593 2015-03-06 Joseph Myers <joseph@codesourcery.com>
2594
2595 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
2596 <asm/sfp-machine.h> instead of <sfp-machine.h>.
2597
2598 2015-03-06 Roland McGrath <roland@hack.frob.com>
2599
2600 * manual/install.texi (Configuring and compiling):
2601 Document test-wrapper-env-only.
2602 * INSTALL: Regenerated.
2603
2604 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2605
2606 [BZ #18043]
2607 * posix/wordexp.c (parse_param): Fix buffer overflow.
2608 * posix/wordexp-test.c (do_bz18043): Add test case.
2609
2610 2015-03-06 Vincent Bernat <vincent@bernat.im>
2611
2612 * time/tst-strptime2.c (do_test): Ensure failing tests are
2613 reported correctly.
2614 * time/tst-strptime3.c (do_test): Likewise.
2615
2616 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
2617
2618 Fix aio_error thread-safety.
2619 * sysdeps/pthread/aio_error.c: New file
2620 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
2621 synchronization.
2622
2623 2015-03-06 Florian Weimer <fweimer@redhat.com>
2624
2625 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
2626 (group_number, vfprintf): Use it.
2627 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
2628 (JUMP, REF): Use it.
2629 (WORK_BUFFER_SIZE): New enum constant.
2630 (process_arg, vfprintf): Use it.
2631
2632 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
2633
2634 * manual/errno.texi (Error Messages): Complete example function
2635 by adding missing #define.
2636 (program_invocation_name): Add statement indicating GNU
2637 extension and reference which header file declares the variable.
2638 (program_invocation_short_name): Likewise.
2639
2640 2015-03-06 Mike Frysinger <vapier@gentoo.org>
2641
2642 * manual/errno.texi (Error Messages): Delete strerror ISO C89
2643 compatibility note.
2644
2645 2015-03-05 Roland McGrath <roland@hack.frob.com>
2646
2647 * Makeconfig (test-wrapper-env-only): New variable.
2648 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
2649 then use that with $(test-wrapper-env-only) rather than using
2650 $(test-wrapper-env) $(run-program-env) $($*-ENV).
2651
2652 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
2653
2654 [BZ #18082]
2655 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
2656 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
2657 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
2658 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
2659 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
2660 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
2661 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
2662 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2663 Likewise.
2664 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
2665 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
2666 Likewise.
2667 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
2668 Likewise.
2669 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
2670 Likewise.
2671 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
2672 Likewise.
2673 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
2674 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
2675 Likewise.
2676 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
2677 Likewise.
2678 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
2679 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
2680
2681 2015-03-04 Roland McGrath <roland@hack.frob.com>
2682
2683 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
2684 (ETH_ALEN): New macro.
2685 (struct ether_addr): Use it for length of ether_addr_octet.
2686
2687 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
2688 (setdb): Don't call __nss_configure_lookup for "rpc".
2689 (do_test): Don't call test_rpc.
2690 (output_rpcent, test_rpc): Functions moved ...
2691 * sunrpc/test-rpcent.c: ... to this new file.
2692 * sunrpc/Makefile (tests): Add it.
2693
2694 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
2695 __xpg_sigpause.
2696 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
2697 * nptl/tst-signal6.c: Likewise.
2698 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
2699 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
2700
2701 * configure.ac (libc_cv_cxx_link_ok): New check.
2702 Reset CXX to empty if it fails to link.
2703 * configure: Regenerated.
2704 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
2705 bug-atexit3-lib only if $(CXX) is nonempty.
2706 * nptl/Makefile (tests): Likewise for tst-cancel24.
2707 (tests, tests-static): Likewise for tst-cancel24-static.
2708 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
2709 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
2710 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
2711 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
2712
2713 2015-03-04 Andreas Schwab <schwab@suse.de>
2714
2715 [BZ #17631]
2716 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
2717 for non-GCC compilers.
2718 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2719 Likewise.
2720
2721 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2722
2723 [BZ #17776]
2724 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
2725 integer before bitwise and assembly operations.
2726 (feclearexcept): Likewise.
2727 * math/test-fenvinline.c: New file.
2728 * math/Makefile: Add test-fenvinline test.
2729
2730 2015-03-03 Alan Modra <amodra@gmail.com>
2731
2732 [BZ #16512]
2733 * scripts/localplt.awk: Strip off symbol version.
2734 * NEWS: Mention bug fix.
2735
2736 2015-03-02 Roland McGrath <roland@hack.frob.com>
2737
2738 * sysdeps/pthread/timer_routines.c
2739 (timer_free_list, thread_free_list, thread_active_list): Make static.
2740
2741 2015-03-02 Joseph Myers <joseph@codesourcery.com>
2742
2743 [BZ #17779]
2744 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2745 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2746 Undefine.
2747 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2748 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2749 Likewise.
2750 * sysdeps/unix/sysv/linux/sh/kernel-features.h
2751 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
2752 Likewise.
2753
2754 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
2755
2756 [BZ #18036]
2757 * posix/fnmatch_loop.c (END): Detect invalid pattern.
2758 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
2759
2760 2015-03-02 Andreas Schwab <schwab@suse.de>
2761
2762 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
2763 variable name.
2764
2765 2015-03-02 Florian Weimer <fweimer@redhat.com>
2766
2767 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
2768 Return error status.
2769
2770 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
2771
2772 [BZ #15969]
2773 * locale/findlocale.c (_nl_find_locale): Introduce const
2774 version of loc_name and drop unsafe type casts.
2775
2776 2015-02-27 Roland McGrath <roland@hack.frob.com>
2777
2778 * dlfcn/tststatic2.c (main): Converted to ...
2779 (do_test): ... this.
2780 (TEST_FUNCTION): New macro.
2781 Include test-skeleton.c.
2782
2783 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
2784
2785 [BZ #17711]
2786 * elf/Makefile (tests): Add vismain only if PIE is enabled.
2787 (tests-pie): Add vismain.
2788 (CFLAGS-vismain.c): New.
2789 * elf/vismain.c: Add comments for PIE requirement.
2790
2791 2015-02-27 Joseph Myers <joseph@codesourcery.com>
2792
2793 [BZ #18046]
2794 [BZ #18047]
2795 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
2796 0x1p-56L as threshold for just returning the argument.
2797 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
2798 0x1p-32L as threshold for just returning the argument.
2799 * math/auto-libm-test-in: Add more tests of atanh.
2800 * math/auto-libm-test-out: Regenerated.
2801 * sysdeps/i386/fpu/libm-test-ulps: Update.
2802 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
2803
2804 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
2805
2806 * string/bcopy.c (bcopy): Call memmove for performance.
2807
2808 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
2809
2810 * string/bzero.c (__bzero): Call memset for performance.
2811
2812 2015-02-27 John David Anglin <dave.anglin@bell.net>
2813
2814 [BZ #18068]
2815 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
2816 to 00100000.
2817
2818 2015-02-27 Joseph Myers <joseph@codesourcery.com>
2819
2820 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
2821
2822 2015-02-26 Joseph Myers <joseph@codesourcery.com>
2823
2824 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
2825 (__kernel_standard): Use CSTR macro when setting exc.name.
2826 * sysdeps/ieee754/Makefile [$(subdir) = math]
2827 (CFLAGS-k_standard.c): Remove variable.
2828
2829 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
2830 setting p and q from "else if" to "else".
2831 (qzero): Likewise.
2832 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
2833 (qone): Likewise.
2834 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
2835 (qzerof): Likewise.
2836 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
2837 (qonef): Likewise.
2838 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
2839 (qzero): Likewise.
2840 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
2841 (qone): Likewise.
2842
2843 [BZ #18038]
2844 [BZ #18039]
2845 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
2846 return pi/2 for arguments below 0x1p-113L.
2847 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
2848 return pi/2 for arguments below 0x1p-106L.
2849 * math/auto-libm-test-in: Add more tests of acos.
2850 * math/auto-libm-test-out: Regenerated.
2851
2852 [BZ #16351]
2853 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
2854 (MO): New macro.
2855 (__ieee754_asin): Force underflow exception for results with small
2856 absolute value.
2857 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
2858 (MO): New macro.
2859 (__ieee754_asinf): Force underflow exception for results with
2860 small absolute value.
2861 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
2862 (__ieee754_asin): Force underflow exception for results with small
2863 absolute value.
2864 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
2865 (__ieee754_asinf): Force underflow exception for results with
2866 small absolute value.
2867 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
2868 (__ieee754_asinl): Force underflow exception for results with
2869 small absolute value.
2870 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
2871 (__ieee754_asinl): Force underflow exception for results with
2872 small absolute value.
2873 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
2874 (__ieee754_asinl): Force underflow exception for results with
2875 small absolute value.
2876 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
2877 Include <math.h>.
2878 * math/auto-libm-test-in: Do not mark underflow exceptions as
2879 possibly missing for bug 16351.
2880 * math/auto-libm-test-out: Regenerated.
2881
2882 [BZ #18030]
2883 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
2884 of power of 2 down when low part has opposite sign.
2885 * math/libm-test.inc (logb_test_data): Add more tests.
2886
2887 2015-02-26 Andreas Schwab <schwab@suse.de>
2888
2889 [BZ #18032]
2890 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
2891 over collating symbol inside a bracket expression. Minor cleanup.
2892 * posix/tst-fnmatch3.c (do_test): Add test case.
2893
2894 2015-02-26 Joseph Myers <joseph@codesourcery.com>
2895
2896 [BZ #18029]
2897 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
2898 Adjust exponent of power of 2 down when low part has opposite
2899 sign.
2900 * math/libm-test.inc (ilogb_test_data): Add more tests.
2901
2902 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
2903
2904 [BZ #15969]
2905 * locale/findlocale.c (_nl_find_locale): Fix constness error in
2906 the previous change.
2907
2908 [BZ #15969]
2909 * locale/findlocale.c (_nl_find_locale): Retry archive search
2910 after alias expansion.
2911
2912 2015-02-25 Roland McGrath <roland@hack.frob.com>
2913
2914 * iconv/tst-iconv3.c (main): Converted to ...
2915 (do_test): ... this.
2916 (TEST_FUNCTION): New macro.
2917 Include test-skeleton.c.
2918
2919 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
2920 (convert): Make function static.
2921 (test_unalign): Likewise. Add const to argument pointee types.
2922 (main): Replace with static function do_test.
2923 Print "Succeeded." only if RET is zero.
2924 (TEST_FUNCTION): New macro.
2925 Include test-skeleton.c.
2926
2927 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
2928 returns a null pointer.
2929
2930 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2931
2932 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
2933 to __memcpy_ppc only for static builds.
2934
2935 2015-02-25 Joseph Myers <joseph@codesourcery.com>
2936
2937 [BZ #18020]
2938 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
2939 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
2940 * math/auto-libm-test-in: Add more tests of asinh.
2941 * math/auto-libm-test-out: Regenerated.
2942 * sysdeps/i386/fpu/libm-test-ulps: Update.
2943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2944
2945 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
2946
2947 [BZ #15850]
2948 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
2949 and ip6_mtuinfo definitions here.
2950 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
2951 in this define too. Update comment.
2952
2953 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
2954
2955 * elf/sprof.c (load_shobj): Tweak error message to match others.
2956
2957 2015-02-24 Kevin Easton <kevin@guarana.org>
2958
2959 [BZ #16145] (partial fix)
2960 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
2961 to reduce lock contention.
2962
2963 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
2964
2965 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
2966 (struct timex): Update time comment.
2967 (ADJ_SETOFFSET): Define.
2968
2969 2015-02-24 Joseph Myers <joseph@codesourcery.com>
2970
2971 [BZ #18019]
2972 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
2973 2**56 not 2**28 as threshold for log (2x) formula.
2974 * math/auto-libm-test-in: Add more tests of acosh.
2975 * math/auto-libm-test-out: Regenerated.
2976 * sysdeps/i386/fpu/libm-test-ulps: Update.
2977 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2978
2979 2015-02-24 Mike Frysinger <vapier@gentoo.org>
2980
2981 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
2982 parenthesis around the buf assignment.
2983 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
2984
2985 2015-02-24 Joseph Myers <joseph@codesourcery.com>
2986
2987 [BZ #16783]
2988 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
2989 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
2990 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
2991 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2992 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2993 * math/libm-test.inc (scalb_test_data): Add more tests.
2994
2995 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
2996
2997 [BZ #17916]
2998 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
2999 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
3000
3001 2015-02-24 Eric Rannaud <e@nanocritical.com>
3002
3003 [BZ #17523]
3004 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
3005 * io/bits/fcntl2.h (open): Use it.
3006 (openat): Likewise.
3007 * io/open.c (__libc_open): Likewise.
3008 * io/open64.c (__libc_open64): Likewise.
3009 * io/open64_2.c (__open64_2): Likewise.
3010 * io/open_2.c (__open_2): Likewise.
3011 * io/openat.c (__openat): Likewise.
3012 * io/openat64.c (__openat64): Likewise.
3013 * io/openat64_2.c (__openat64_2): Likewise.
3014 * io/openat_2.c (__openat_2): Likewise.
3015 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
3016 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3017 * sysdeps/posix/open64.c (__libc_open64): Likewise.
3018 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3019 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3020 (__open_nocancel): Likewise.
3021 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3022 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3023 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
3024
3025 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3026
3027 [BZ #14841]
3028 * resolv/gethnamaddr.c (getanswer): Skip logging if
3029 RES_USE_DNSSEC is set.
3030 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3031
3032 2015-02-24 Mike Frysinger <vapier@gentoo.org>
3033
3034 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
3035
3036 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
3037
3038 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3039 201304L, for Unicode 7.
3040
3041 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
3042
3043 [BZ #17836]
3044 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
3045 shared library. Add gmon-start.os otherwise.
3046 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
3047 $(objpfx)gmon-start.os if builing shared library.
3048 ($(objpfx)g$(static-start-installed-name)): Likewise.
3049
3050 2015-02-23 Andreas Schwab <schwab@suse.de>
3051
3052 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
3053
3054 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
3055
3056 [BZ #17269]
3057 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
3058 (enlarge_userbuf): Likewise.
3059
3060 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
3061
3062 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
3063 * math/atest-exp.c (TIMEOUT): Adjust to 200.
3064 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
3065 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
3066
3067 2015-02-20 Joseph Myers <joseph@codesourcery.com>
3068
3069 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
3070 expression inside statement expression.
3071
3072 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
3073
3074 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
3075 <sysdeps/nptl/lowlevellock.h> and remove macros and
3076 functions that are now defined there.
3077 (SYS_futex): Remove.
3078 (lll_compare_and_swap): Remove.
3079 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
3080
3081 2015-02-19 Joseph Myers <joseph@codesourcery.com>
3082
3083 [BZ #17999]
3084 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
3085 instead of scandirat.
3086 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
3087 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
3088 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
3089 __scandirat.
3090 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
3091 (__scandirat): Declare. Use libc_hidden_proto.
3092 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
3093 Remove variable.
3094 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3095
3096 2015-02-18 Joseph Myers <joseph@codesourcery.com>
3097
3098 [BZ #15319]
3099 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
3100 (MO): New macro.
3101 (__ieee754_atan2): For results with small absolute value, force
3102 underflow exception and remove excess range and precision from
3103 return value.
3104 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
3105 (MO): New macro.
3106 (__ieee754_atan2f): For results with small absolute value, force
3107 underflow exception and remove excess range and precision from
3108 return value.
3109 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
3110 (MO): New macro.
3111 (__atan): For results with small absolute value, force underflow
3112 exception and remove excess range and precision from return value.
3113 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
3114 (MO): New macro.
3115 (__atanf): For results with small absolute value, force underflow
3116 exception and remove excess range and precision from return value.
3117 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
3118 <math.h>.
3119 (__ieee754_atan2): Force underflow exception for results with
3120 small absolute value.
3121 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
3122 <math_private.h>.
3123 (atan): Force underflow exception for results with small absolute
3124 value.
3125 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
3126 (__atanf): Force underflow exception for results with small
3127 absolute value.
3128 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
3129 <math.h>.
3130 (__atanl): Force underflow exception for results with small
3131 absolute value.
3132 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
3133 (__atanl): Force underflow exception for results with small
3134 absolute value.
3135 * sysdeps/x86/fpu/bits/mathinline.h
3136 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
3137 (__ieee754_atan2): Only define inline for long double.
3138 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3139 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
3140 * math/auto-libm-test-in: Do not mark underflow exceptions as
3141 possibly missing for bug 15319. Add more tests of atan2.
3142 * math/auto-libm-test-out: Regenerated.
3143 * math/libm-test.inc (casin_test_data): Do not mark underflow
3144 exceptions as possibly missing for bug 15319.
3145 (casinh_test_data): Likewise.
3146 * sysdeps/i386/fpu/libm-test-ulps: Update.
3147
3148 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
3149
3150 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
3151 * sysdeps/mips/bits/endian.h: Fix comments.
3152
3153 2015-02-18 Joseph Myers <joseph@codesourcery.com>
3154
3155 [BZ #17996]
3156 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
3157 (hdestroy_r): Likewise.
3158 (hsearch_r): Likewise.
3159 (__hcreate_r): Declare and use libc_hidden_proto.
3160 (__hdestroy_r): Likewise.
3161 (__hsearch_r): Likewise.
3162 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
3163 (hcreate): Call __hcreate_r instead of hcreate_r.
3164 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
3165 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
3166 as weak alias of __hcreate_r.
3167 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
3168 __hdestroy_r.
3169 (hsearch_r): Rename to __hsearch_r and define as weak alias of
3170 __hsearch_r.
3171 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
3172 Remove variable.
3173 (test-xfail-XPG4/search.h/linknamespace): Likewise.
3174 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3175 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3176 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3177
3178 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3179
3180 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
3181 arena_lock into a single arena_get.
3182
3183 2015-02-17 Carlos O'Donell <carlos@redhat.com>
3184
3185 * dl-reloc.c: Inlucde libc-internal.h.
3186 (_dl_try_allocate_static_tls): Call ALIGN_UP.
3187 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
3188 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
3189 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
3190 (grow_heap): Likewise.
3191 * malloc/malloc.c: Include libc-internal.h.
3192 (do_check_malloc): Call powerof2.
3193 (sysmalloc): Use pagesize. Call ALIGN_UP.
3194 (systrim): Use pagesize.
3195 (mremap_chunk): Use pagesize. Call ALIGN_UP.
3196 (__libc_valloc): Use pagesize.
3197 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
3198
3199 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3200
3201 [BZ #17991]
3202 * include/sys/resource.h (__getrlimit64): Declare. Use
3203 libc_hidden_proto.
3204 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
3205 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
3206 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
3207 getrlimit64.
3208 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
3209 __getrlimit64.
3210 [!getrlimit64] (getrlimit64): Define as weak alias of
3211 __getrlimit64. Use libc_hidden_weak.
3212 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
3213 using __getrlimit64 not __new_getrlimit64.
3214 (__GI_getrlimit64): Likewise.
3215 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
3216 Likewise.
3217 (__GI_getrlimit64): Likewise.
3218 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
3219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
3220 (getrlimit): Add __getrlimit64 alias.
3221 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
3222 Likewise.
3223 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
3224 Remove variable.
3225 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
3226 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
3227
3228 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
3229
3230 * libio/fileops.c: Add missing sys/mman.h
3231 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
3232
3233 2015-02-17 Joseph Myers <joseph@codesourcery.com>
3234
3235 * manual/math.texi (Errors in Math Functions): Clarify goals
3236 regarding inexact and underflow exceptions.
3237
3238 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
3239
3240 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
3241 * sysdeps/mips/memset.S: Ditto.
3242
3243 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
3244
3245 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
3246
3247 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
3248
3249 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
3250 (__v1longjmp): Remove versioned symbol.
3251 (__v1siglongjmp): Remove alias and versioned symbol.
3252 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
3253 (__v2siglongjmp): Likewise.
3254
3255 2015-02-16 Torvald Riegel <triegel@redhat.com>
3256
3257 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
3258
3259 2015-02-16 Mike Frysinger <vapier@gentoo.org>
3260
3261 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
3262
3263 2015-02-16 Joseph Myers <joseph@codesourcery.com>
3264
3265 [BZ #17987]
3266 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
3267 zero result does not depend on the sign resulting from
3268 subtraction.
3269 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3270 Likewise.
3271 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3272 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3273 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3274 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3275 * math/libm-test.inc (remquo_test_data): Add more tests.
3276
3277 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
3278
3279 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
3280 Problem reported by J William Piggott.
3281
3282 2015-02-16 Joseph Myers <joseph@codesourcery.com>
3283
3284 [BZ #17978]
3285 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
3286 products 4 * y and 2 * y where those would overflow.
3287 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3288 Likewise.
3289 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
3290 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
3291 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3292 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
3293 * math/libm-test.inc (remquo_test_data): Add more tests.
3294
3295 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
3296
3297 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
3298 [defined _COMPILING_NEWLIB].
3299 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
3300 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
3301
3302 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
3303 [!defined __mips_isa_rev || __mips_isa_rev < 6].
3304
3305 2015-02-16 Torvald Riegel <triegel@redhat.com>
3306
3307 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
3308 acquired.
3309
3310 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
3311
3312 [BZ #17792]
3313 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
3314 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
3315 HOST_STACK_END_ADDR): Likewise.
3316
3317 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
3318
3319 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
3320 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
3321 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
3322
3323 2015-02-13 Roland McGrath <roland@hack.frob.com>
3324
3325 * sysdeps/generic/c++-types.data: New file.
3326 * sysdeps/generic/ld.abilist: New file.
3327 * sysdeps/generic/libBrokenLocale.abilist: New file.
3328 * sysdeps/generic/libanl.abilist: New file.
3329 * sysdeps/generic/libc.abilist: New file.
3330 * sysdeps/generic/libcrypt.abilist: New file.
3331 * sysdeps/generic/libdl.abilist: New file.
3332 * sysdeps/generic/libm.abilist: New file.
3333 * sysdeps/generic/libpthread.abilist: New file.
3334 * sysdeps/generic/libresolv.abilist: New file.
3335 * sysdeps/generic/librt.abilist: New file.
3336
3337 2015-02-13 Joseph Myers <joseph@codesourcery.com>
3338
3339 [BZ #17569]
3340 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
3341 Compute absolute value of x as modified by fmod, not original
3342 value of x.
3343 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
3344 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
3345 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
3346 RUN_TEST_ffI_f1_mod8.
3347 (remquo_test_data): Add more tests.
3348
3349 2015-02-13 Roland McGrath <roland@hack.frob.com>
3350
3351 * sysdeps/init_array/pt-crti.S: New file.
3352
3353 2015-02-13 Joseph Myers <joseph@codesourcery.com>
3354
3355 [BZ #17967]
3356 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
3357 __builtin_fmaf instead of relying on contraction of a * b + c.
3358
3359 2015-02-12 J William Piggott <elseifthen@gmx.com>
3360
3361 [BZ #17969]
3362 * manual/time.texi: correct the zoneinfo path in the TZ Variable
3363 node.
3364
3365 2015-02-12 Joseph Myers <joseph@codesourcery.com>
3366
3367 [BZ #17964]
3368 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
3369 __builtin_fma instead of relying on contraction of a * b + c.
3370
3371 2015-02-12 Roland McGrath <roland@hack.frob.com>
3372
3373 * Makeconfig (ASFLAGS): Add -Werror=undef.
3374 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
3375 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
3376 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
3377
3378 * Makeconfig (after-link): New variable.
3379 (+link-pie, +link-pie-tests): Use it.
3380 (+link-static, +link-static-tests): Likewise.
3381 (+link, +link-tests): Likewise.
3382 * Makerules (build-module, build-module-asneeded): Likewise.
3383 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
3384 Likewise.
3385 * elf/Makefile ($(objpfx)ld.so): Likewise.
3386
3387 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
3388
3389 [BZ #17965]
3390 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
3391 both struct timeval and struct timespec.
3392
3393 2015-02-12 Joseph Myers <joseph@codesourcery.com>
3394
3395 [BZ #16560]
3396 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3397 and redefine.
3398 (__ieee754_exp2l): Do not multiply small fractional parts by
3399 M_LN2l.
3400 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
3401 small argument.
3402 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
3403 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
3404 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
3405 * math/auto-libm-test-in: Add more tests of exp2.
3406 * math/auto-libm-test-out: Regenerated.
3407
3408 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3409
3410 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
3411 unaligned path.
3412
3413 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3414
3415 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
3416 little endian.
3417
3418 2015-02-12 Andreas Schwab <schwab@suse.de>
3419
3420 [BZ #15790]
3421 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
3422 Filter out elision flags from value returned in kind.
3423 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
3424 * nptl/tst-pthread-mutexattr.c: New file.
3425
3426 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
3427
3428 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
3429 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
3430 into gnu-gnu, and update comment to refer to abi-tags.
3431
3432 2015-02-11 Joseph Myers <joseph@codesourcery.com>
3433
3434 [BZ #15467]
3435 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
3436 (__sincos): Set errno to EDOM for infinite argument.
3437 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
3438 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
3439 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
3440 (__sincosl): Set errno to EDOM for infinite argument.
3441 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
3442 (__sincosl): Set errno to EDOM for infinite argument.
3443 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
3444 (__sincosl): Set errno to EDOM for infinite argument.
3445 * math/libm-test.inc (sincos_test_data): Test errno setting.
3446
3447 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
3448
3449 * string/strxfrm_l.c: Remove #define STRCMP.
3450 * string/strcoll_l.c: Remove #define STRLEN.
3451 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
3452 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
3453
3454 2015-02-10 Joseph Myers <joseph@codesourcery.com>
3455
3456 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
3457 * sysdeps/mips/mips32/sfp-machine.h: ... here.
3458 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
3459 * sysdeps/mips/mips64/Makefile: ... here.
3460 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
3461 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
3462 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
3463 * sysdeps/mips/mips64/sfp-machine.h: ... here.
3464 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
3465 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
3466 * sysdeps/mips/mips64/n64/Implies: Likewise.
3467
3468 2015-02-10 Roland McGrath <roland@hack.frob.com>
3469
3470 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
3471 <sys/time.h>, <string.h>, and <errno.h>.
3472 (dest_offset, dest_address, value, zero): Remove unused variables.
3473 (ldouble): Remove typedef.
3474 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
3475 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
3476 1). Fix code style.
3477 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
3478 (check): Function removed.
3479 (CHECK): New macro.
3480 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
3481 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
3482 Don't call set_sigaction_FP and remove_sigaction_FP here.
3483 (ldouble_test): Just use 'long double' as macro argument, no need for
3484 the 'ldouble' typedef.
3485 (do_test): Set up SIGFPE handler at start, using plain signal rather
3486 than sigaction. Fix code style.
3487
3488 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
3489
3490 [BZ #17949]
3491 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
3492 jump label.
3493
3494 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3495
3496 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
3497 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3498
3499 * sysdeps/powerpc/configure.ac: Remove file.
3500 * sysdeps/powerpc/configure: Likewise.
3501
3502 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3503 [sysdep_routines]: Remove wordcopy-power6 object.
3504 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
3505 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
3506 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
3507 (__memmove_ppc32): Likewise.
3508 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
3509 file.
3510 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
3511 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
3512 Remove preprocessor.
3513
3514 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
3515 [sysdep_routines]: Remove wide chars objects.
3516 [wcsmbs]: New rule for wide char objects.
3517
3518 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3519 Remove wordcopy-power6 obejct.
3520 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
3521 Use local call for wordcopy and memcpy symbols.
3522 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
3523 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
3524 implementation for loader.
3525 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
3526
3527 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3528 Remove wordcopy-power7 object.
3529 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
3530 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
3531 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
3532 (_wordcopy_fwd_dest_aligned): Likewise.
3533 (_wordcopy_bwd_aligned): Likewise.
3534 (_wordcopy_bwd_dest_aligned): Likewise.
3535
3536 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
3537 Rewrite to call __memmove_ppc instead of include default
3538 implementation.
3539
3540 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3541 Remove wide chars objects.
3542 [wcsmbs]: New rule for wide char objects.
3543
3544 2015-02-09 Andreas Schwab <schwab@suse.de>
3545
3546 [BZ #17912]
3547 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3548 in terms of __O_DIRECTORY.
3549
3550 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
3551
3552 * time/getdate.c: Include <stdbool.h>.
3553 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
3554 call PTR_MANGLE.
3555 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
3556 PTR_DEMANGLE.
3557
3558 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
3559
3560 Add ersatz _Static_assert on older C hosts
3561 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
3562 pre-C11 C platform that is not known to support _Static_assert.
3563
3564 2015-02-07 Richard Braun <rbraun@sceen.net>
3565
3566 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
3567 sigstate.
3568 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
3569
3570 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
3571
3572 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
3573 priority against unexistent AIO_PRIO_DELTA_MAX.
3574 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
3575 instead of int.
3576 * misc/fchflags.c (fchflags): Likewise.
3577 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
3578 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
3579 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
3580 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
3581 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
3582 Declare macros.
3583 [__USE_MISC] (chflags, fchflags): Declare functions.
3584 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
3585 EINVAL when nfds is greater than FD_SETSIZE.
3586 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
3587 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
3588 45.
3589 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
3590 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
3591 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
3592 MACH_RCV_TIMED_OUT.
3593 * hurd/hurd/signal.h (_hurd_self_sigstate,
3594 _hurd_critical_section_lock, _hurd_critical_section_unlock):
3595 Explicit casts from void *.
3596 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
3597 * abi-tags: Rename gnu-gnu os into gnu.
3598
3599 [BZ #4719]
3600 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
3601 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
3602 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
3603 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
3604 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
3605 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
3606
3607 [BZ #17944]
3608 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
3609 duplicates ADDR->sun_path with sockaddr LEN limitation.
3610 * sysdeps/mach/hurd/connect.c: Include <string.h>
3611 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
3612 * sysdeps/mach/hurd/sendmsg.c: Likewise.
3613 * sysdeps/mach/hurd/sendto.c: Likewise.
3614 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
3615 implementing it by hand.
3616
3617 2015-02-06 Roland McGrath <roland@hack.frob.com>
3618
3619 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
3620 Use sfi_breg on ldr.
3621 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
3622 Likewise.
3623
3624 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
3625 it's defined.
3626 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
3627 Test SIGSETXID only if it's defined.
3628
3629 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
3630
3631 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
3632 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
3633
3634 * nptl/tst-align2.c: Moved ...
3635 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
3636 * nptl/Makefile (tests): Remove tst-align2.
3637 * sysdeps/unix/sysv/linux/Makefile
3638 [$(subdir) = nptl] (tests): Add tst-align-clone.
3639 * nptl/tst-getpid1.c: Moved ...
3640 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
3641 * nptl/tst-getpid2.c: Moved ...
3642 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
3643 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
3644 * sysdeps/unix/sysv/linux/Makefile
3645 [$(subdir) = nptl] (tests): ... here.
3646 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
3647 * sysdeps/unix/sysv/linux/Makefile
3648 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
3649
3650 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
3651 Drop trailing \n from perror argument. Use return rather than exit.
3652
3653 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
3654 on [SA_SIGINFO].
3655 * nptl/tst-cancel21.c (do_test): Likewise.
3656 * debug/tst-backtrace6.c: Include <signal.h> first thing.
3657 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
3658 [!SA_SIGINFO]: Make it a stub test.
3659
3660 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
3661 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
3662
3663 * posix/tst-getlogin.c: Move to ...
3664 * login/tst-getlogin.c: ... here.
3665 * posix/Makefile (tests): Move tst-getlogin to ...
3666 * login/Makefile (tests): ... here.
3667
3668 * libio/tst-atime.c (do_test): Move local variables SV and E
3669 inside [ST_NOATIME] conditional.
3670
3671 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
3672
3673 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
3674
3675 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
3676 (wait_code): New function replaces macro.
3677 Call nanosleep rather than syscall.
3678
3679 * nptl/pt-system.c: Rewritten. Put everything under
3680 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3681 Use IFUNC to redirect when possible.
3682
3683 * nptl/pt-longjmp.c: Rewritten. Put everything under
3684 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3685 Use IFUNC to redirect when possible.
3686
3687 * nptl/pt-fork.c: Rewritten. Put everything under
3688 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
3689 Use IFUNC to redirect when possible.
3690 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
3691
3692 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
3693 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
3694 unconditionally nowadays. This included the only reference to
3695 __vdso_clock_gettime that appears outside libc proper.
3696 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
3697 Remove version set (containing only __vdso_clock_gettime).
3698 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
3699 Add attribute_hidden.
3700 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
3701 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
3702 libc_hidden_data_def.
3703 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
3704 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
3705
3706 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
3707 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
3708 setrpcent, and getrpcport to ...
3709 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
3710 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
3711 getrpcbynumber_r, and getrpcent_r to ...
3712 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
3713 * inet/getrpcbyname.c: Moved ...
3714 * sunrpc/getrpcbyname.c: ... here.
3715 * inet/getrpcbyname_r.c: Moved ...
3716 * sunrpc/getrpcbyname_r.c: ... here.
3717 * inet/getrpcbynumber.c: Moved ...
3718 * sunrpc/getrpcbynumber.c: ... here.
3719 * inet/getrpcbynumber_r.c: Moved ...
3720 * sunrpc/getrpcbynumber_r.c: ... here.
3721 * inet/getrpcent.c: Moved ...
3722 * sunrpc/getrpcent.c: ... here.
3723 * inet/getrpcent_r.c: Moved ...
3724 * sunrpc/getrpcent_r.c: ... here.
3725 * inet/Makefile (routines): Move those to ...
3726 * sunrpc/Makefile (routines): ... here.
3727 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
3728 the $(subdirs) list.
3729 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
3730 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
3731 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
3732 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
3733
3734 * elf/Makefile (routines): Include $(all-dl-routines), not just
3735 $(dl-routines).
3736 (rtld-routines): Likewise. Use = rather than :=.
3737 * sysdeps/aarch64/Makefile [$(subdir) = elf]
3738 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
3739 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
3740 * sysdeps/arm/Makefile: Likewise.
3741 * sysdeps/i386/Makefile: Likewise.
3742 * sysdeps/x86_64/Makefile: Likewise.
3743 * sysdeps/hppa/Makefile [$(subdir) = elf]
3744 (sysdep_routines, sysdep-rtld-routines): Don't add
3745 $(sysdep-dl-routines) to these.
3746 * sysdeps/ia64/Makefile: Likewise.
3747 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
3748 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
3749 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
3750 Don't add dl-static to these; sysdep-dl-routines alone is enough.
3751 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
3752 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
3753 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
3754 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
3755 * sysdeps/powerpc/Makefile [$(subdir) = elf]
3756 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
3757 these; sysdep-dl-routines alone is enough.
3758
3759 2015-02-06 Joseph Myers <joseph@codesourcery.com>
3760
3761 [BZ #17932]
3762 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
3763 where multiplication results in zero and third argument is finite
3764 and nonzero.
3765 * math/auto-libm-test-in: Add more tests of fma.
3766 * math/auto-libm-test-out: Regenerated.
3767
3768 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
3769 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
3770 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
3771 (_FP_CMP_EQ): Likewise.
3772 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
3773
3774 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
3775 extra argument CHECK_NAN. Redefine as wrapper around
3776 _FP_EXTEND_CNAN.
3777
3778 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
3779
3780 * version.h (RELEASE): Set to "stable".
3781 (VERSION): Set to "2.21"
3782 * include/features.h (__GLIBC_MINOR__): Set to 21.
3783
3784 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
3785
3786 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3787 Paul Eggert <eggert@cs.ucla.edu>
3788
3789 [BZ #16618]
3790 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
3791 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
3792 size in bytes. Store needed elements in wpmax. Use needed size
3793 in bytes for extend_alloca.
3794
3795 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
3796
3797 * manual/install.texi: Latest tested versions are GCC 4.9.2,
3798 binutls 2.25, and texinfo 5.2.
3799 * INSTALL: Regenerate.
3800 * sysdeps/nios2/configure: Regenerate.
3801 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
3802 * manual/contrib.texi: Update.
3803 * po/be.po: Update.
3804 * po/bg.po: Update.
3805 * po/ca.po: Update.
3806 * po/cs.po: Update.
3807 * po/da.po: Update.
3808 * po/de.po: Update.
3809 * po/el.po: Update.
3810 * po/eo.po: Update.
3811 * po/es.po: Update.
3812 * po/fi.po: Update.
3813 * po/fr.po: Update.
3814 * po/gl.po: Update.
3815 * po/hr.po: Update.
3816 * po/hu.po: Update.
3817 * po/ia.po: Update.
3818 * po/id.po: Update.
3819 * po/it.po: Update.
3820 * po/ja.po: Update.
3821 * po/ko.po: Update.
3822 * po/lt.po: Update.
3823 * po/nb.po: Update.
3824 * po/nl.po: Update.
3825 * po/pl.po: Update.
3826 * po/pt_BR.po: Update.
3827 * po/ru.po: Update.
3828 * po/rw.po: Update.
3829 * po/sk.po: Update.
3830 * po/sl.po: Update.
3831 * po/sv.po: Update.
3832 * po/tr.po: Update.
3833 * po/uk.po: Update.
3834 * po/vi.po: Update.
3835 * po/zh_CN.po: Update.
3836 * po/zh_TW.po: Update.
3837
3838 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
3839 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
3840 * sysdeps/hppa/dl-irel.h: Remove #warning.
3841 * sysdeps/hppa/entry.h: Provide prototype for
3842 __canonicalize_funcptr_for_compare and cast argument.
3843 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
3844 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
3845 * sysdeps/hppa/sotruss-lib.c: New file.
3846 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
3847 (atomic_compare_and_exchange_val_acq): Use __typeof__.
3848 (atomic_compare_and_exchange_bool_acq): Likewise.
3849 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
3850 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
3851
3852 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
3853 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
3854 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
3855
3856 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
3857
3858 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
3859 called function in non-PIC case.
3860
3861 2015-01-31 David S. Miller <davem@davemloft.net>
3862
3863 * sysdeps/sparc/sparc32/bits/atomic.h
3864 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
3865 unlock not after it.
3866 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
3867 volatile register usage warnings from the compiler.
3868
3869 * sysdeps/sparc/nptl/sem_init.c: Delete.
3870 * sysdeps/sparc/nptl/sem_post.c: Delete.
3871 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
3872 * sysdeps/sparc/nptl/sem_wait.c: Delete.
3873 * sysdeps/sparc/sparc32/sem_init.c: New file.
3874 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
3875 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
3876 padding explicitly initialized.
3877 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
3878 padding for in-semaphore spinlock.
3879 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
3880 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
3881 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
3882 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
3883 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
3884 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
3885 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
3886 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
3887 version.
3888 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
3889 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
3890
3891 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
3892
3893 [BZ #17801]
3894 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3895 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
3896 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
3897 New.
3898 (index_AVX_Fast_Unaligned_Load): Likewise.
3899 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
3900 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
3901 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
3902 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
3903 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
3904 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
3905 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
3906 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
3907 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
3908
3909 2015-01-29 Andreas Schwab <schwab@suse.de>
3910
3911 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
3912
3913 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3914
3915 [BZ #17892]
3916 * nscd/nscd_stat.c (send_stats): Initialize DATA.
3917
3918 2015-01-28 Martin Sebor <msebor@redhat.com>
3919
3920 * math/README.libm-test: Clarify. Add "How to read the test output."
3921
3922 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
3923
3924 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
3925 Define to 0.
3926
3927 2015-01-28 Joseph Myers <joseph@codesourcery.com>
3928
3929 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
3930 (__HAVE_64B_ATOMICS): Define to 0.
3931
3932 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3933
3934 [BZ #17885]
3935 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
3936 value to set as new flag.
3937
3938 [BZ #16576]
3939 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
3940 and use _ARCH_PPCSQ instead.
3941 (__ieee754_sqrt): Likewise.
3942 (__ieee754_sqrtf): Likewise.
3943 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
3944 _ARCH_PPCSQ is defined.
3945 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
3946 fsqrt instruction.
3947 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
3948 _ARCH_PPCSQ is defined.
3949 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
3950 fsqrts instruction.
3951 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
3952
3953 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
3954
3955 * iconv/loop.c: Suppress array out of bound warning caused by GCC
3956 bug (GCC BZ #64739).
3957
3958 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
3959
3960 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
3961 Mark _retval as used.
3962 (lll_futex_wake_unlock): Likewise.
3963 (lll_futex_timed_wait_requeue_pi): Likewise.
3964
3965 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3966 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
3967 register variables.
3968
3969 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
3970 libm_hidden_def.
3971
3972 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
3973 (__bswap_64): Mark as __always_inline.
3974
3975 2015-01-25 Bram <bug_rh@spam.wizbit.be>
3976
3977 [BZ #15378]
3978 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
3979 when none of the search directories exist.
3980
3981 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
3982
3983 [BZ #17869]
3984 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
3985 power8 in .machine directive.
3986
3987 [BZ #17868]
3988 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
3989 set dependency from opd value.
3990
3991 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
3992
3993 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3994 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
3995 architecture.
3996
3997 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
3998
3999 [BZ #17870]
4000 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
4001 with uint64_t.
4002 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
4003 (uint64_t) 1.
4004 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
4005 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
4006 Replace 1UL with (uint64_t) 1.
4007 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
4008 int with uint64_t.
4009
4010 2015-01-23 Roland McGrath <roland@hack.frob.com>
4011
4012 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
4013 (if_freenameindex): Likewise.
4014
4015 * resource/getrlimit64.c: Add missing libc_hidden_def.
4016
4017 2015-01-22 Joseph Myers <joseph@codesourcery.com>
4018
4019 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
4020 __label__.
4021 (_FP_FMA): Likewise.
4022 (_FP_TO_INT_ROUND): Likewise.
4023 (_FP_FROM_INT): Likewise.
4024
4025 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4026
4027 [BZ #16418]
4028 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4029 Make code racy and cancel safe.
4030
4031 2015-01-21 Carlos O'Donell <carlos@redhat.com>
4032
4033 * sysdeps/arm/unwind-resume.h: Fix copyright year.
4034 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
4035 attribution.
4036
4037 * pwd/tst-getpw.c: Rewrite.
4038
4039 [BZ #17702]
4040 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
4041 (modules-names): Add moddummy1 and moddummy2.
4042 ($(objpfx)tst-rec-dlopen): Define.
4043 * dlfcn/moddummy1.c: New file.
4044 * dlfcn/moddummy2.c: New file.
4045 * dlfcn/tst-rec-dlopen.c: New file.
4046 * elf/dl-cache.c (_dl_load_cache_lookup):
4047 Return char*. Copy result with alloca/strcpy/strdup.
4048 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
4049 returns char*. Free cached. If not saving realname
4050 free cached.
4051 * elf/dl-open.c (dl_open_worker): Do not assert that
4052 _r_debug->r_state is RT_CONSISTENT.
4053 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
4054 returns char*.
4055
4056 2015-01-21 Torvald Riegel <triegel@redhat.com>
4057 Carlos O'Donell <carlos@redhat.com>
4058
4059 [BZ #12674]
4060 * nptl/sem_waitcommon.c: New file.
4061 * nptl/sem_wait.c: Include sem_waitcommon.c.
4062 (__sem_wait_cleanup, do_futex_wait): Remove.
4063 (__new_sem_wait): Adapt.
4064 (__new_sem_trywait): New function.
4065 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
4066 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
4067 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
4068 (sem_timedwait): Adapt.
4069 * nptl/sem_post.c (__new_sem_post): Adapt.
4070 (futex_wake): New function.
4071 (__old_sem_post): Add release MO fence.
4072 * nptl/sem_open.c (sem_open): Adapt.
4073 * nptl/sem_init.c (__new_sem_init): Adapt.
4074 (futex_private_if_supported): New function.
4075 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
4076 (__old_sem_getvalue): Add using previous code.
4077 * sysdeps/nptl/internaltypes.h: Adapt.
4078 * nptl/tst-sem13.c (do_test): Adapt.
4079 * nptl/tst-sem11.c (main): Adapt.
4080 * nptl/sem_trywait.c: Remove.
4081 * nptl/DESIGN-sem.txt: Remove.
4082 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
4083 (gen-as-const-headers): Remove structsem.sym.
4084 * nptl/structsem.sym: Remove.
4085 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
4086 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
4087 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
4088 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
4089 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
4090 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
4091 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
4092 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
4093 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
4094 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
4095 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
4096 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
4097 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
4098 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
4099 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
4100 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
4101 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
4102 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
4103 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
4104 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
4105 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
4106 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
4107
4108 2015-01-20 Carlos O'Donell <carlos@redhat.com>
4109
4110 * INSTALL: Regenerated.
4111
4112 * po/libc.pot: Regenerated.
4113
4114 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
4115 Sandra Loosemore <sandra@codesourcery.com>
4116 Andrew Jenner <andrew@codesourcery.com>
4117 Joseph Myers <joseph@codesourcery.com>
4118 Nathan Sidwell <nathan@codesourcery.com>
4119
4120 * NEWS: Mention new Nios II port.
4121 * sysdeps/nios2/Implies: New file.
4122 * sysdeps/nios2/Makefile: New file.
4123 * sysdeps/nios2/Subdirs: New file.
4124 * sysdeps/nios2/Versions: New file.
4125 * sysdeps/nios2/__longjmp.S: New file.
4126 * sysdeps/nios2/abort-instr.h: New file.
4127 * sysdeps/nios2/backtrace.c: New file.
4128 * sysdeps/nios2/bits/endian.h: New file.
4129 * sysdeps/nios2/bits/fenv.h: New file.
4130 * sysdeps/nios2/bits/link.h: New file.
4131 * sysdeps/nios2/bits/setjmp.h: New file.
4132 * sysdeps/nios2/bsd-_setjmp.S: New file.
4133 * sysdeps/nios2/bsd-setjmp.S: New file.
4134 * sysdeps/nios2/configure: New generated file.
4135 * sysdeps/nios2/configure.ac: New file.
4136 * sysdeps/nios2/crti.S: New file.
4137 * sysdeps/nios2/crtn.S: New file.
4138 * sysdeps/nios2/dl-init.c: New file.
4139 * sysdeps/nios2/dl-machine.h: New file.
4140 * sysdeps/nios2/dl-sysdep.h: New file.
4141 * sysdeps/nios2/dl-tls.h: New file.
4142 * sysdeps/nios2/dl-trampoline.S: New file.
4143 * sysdeps/nios2/gccframe.h: New file.
4144 * sysdeps/nios2/gmp-mparam.h: New file.
4145 * sysdeps/nios2/jmpbuf-offsets.h: New file.
4146 * sysdeps/nios2/jmpbuf-unwind.h: New file.
4147 * sysdeps/nios2/ldsodefs.h: New file.
4148 * sysdeps/nios2/libc-tls.c: New file.
4149 * sysdeps/nios2/libm-test-ulps: New file.
4150 * sysdeps/nios2/machine-gmon.h: New file.
4151 * sysdeps/nios2/math-tests.h: New file.
4152 * sysdeps/nios2/math_private.h: New file.
4153 * sysdeps/nios2/memusage.h: New file.
4154 * sysdeps/nios2/nptl/Makefile: New file.
4155 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
4156 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
4157 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
4158 * sysdeps/nios2/nptl/pthreaddef.h: New file.
4159 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
4160 * sysdeps/nios2/nptl/tls.h: New file.
4161 * sysdeps/nios2/preconfigure: New file.
4162 * sysdeps/nios2/s_fma.c: New file.
4163 * sysdeps/nios2/s_fmaf.c: New file.
4164 * sysdeps/nios2/setjmp.S: New file.
4165 * sysdeps/nios2/sfp-machine.h: New file.
4166 * sysdeps/nios2/sotruss-lib.c: New file.
4167 * sysdeps/nios2/stackguard-macros.h: New file.
4168 * sysdeps/nios2/stackinfo.h: New file.
4169 * sysdeps/nios2/start.S: New file.
4170 * sysdeps/nios2/sysdep.h: New file.
4171 * sysdeps/nios2/tls-macros.h: New file.
4172 * sysdeps/nios2/tst-audit.h: New file.
4173 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
4174 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
4175 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
4176 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
4177 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
4178 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
4179 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
4180 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
4181 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
4182 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
4183 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
4184 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
4185 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
4186 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
4187 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
4188 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
4189 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
4190 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
4191 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
4192 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
4193 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
4194 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
4195 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
4196 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
4197 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
4198 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
4199 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
4200 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
4201 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
4202 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
4203 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
4204 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
4205 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
4206 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
4207 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
4208 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
4209 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
4210 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
4211 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
4212 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
4213 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
4214 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
4215 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
4216 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
4217
4218 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4219
4220 [BZ #17844]
4221 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
4222 (getutent): Use weak_alias in non SHARED case
4223 and default_symbol_version in SHARED case.
4224 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
4225 (getutent_r, pututline): Likewise.
4226 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
4227 (getutid): Likewise.
4228 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
4229 (getutid_r): Likewise.
4230 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
4231 (getutline): Likewise.
4232 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
4233 (getutline_r): Likewise.
4234 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
4235 (updwtmp): Likewise.
4236
4237 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
4238
4239 [BZ #17848]
4240 * sysdeps/s390/s390-32/memcmp.S
4241 (memcmp_g5): Rename to __memcmp_g5.
4242 * sysdeps/s390/s390-32/memcpy.S
4243 (memcpy_g5): Rename to __memcpy_g5.
4244 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4245 (memcpy_mvcle) Rename to __memcpy_mvcle.
4246 * sysdeps/s390/s390-32/memset.S
4247 (memset_g5): Rename to __memset_g5.
4248 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
4249 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4250 and use prefixed functions.
4251 * sysdeps/s390/s390-32/multiarch/memcmp.S
4252 (memcmp_z196): Rename to __memcmp_z196.
4253 (memcmp_z10): Rename to __memcmp_z10.
4254 (memcmp): Set alias to __memcmp_g5.
4255 (bcmp): Set alias to __memcmp_g5.
4256 * sysdeps/s390/s390-32/multiarch/memcpy.S
4257 (memcpy_z196): Rename to __memcpy_z196.
4258 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4259 (memcpy_z10): Rename to __memcpy_z10.
4260 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4261 (memcpy): Set alias to __memcpy_g5.
4262 * sysdeps/s390/s390-32/multiarch/memset.S
4263 (memset_z196): Rename to __memset_z196.
4264 Jump to __memset_mvcle instead of memset_mvcle.
4265 (memset_z10): Rename to __memset_z10.
4266 Jump to __memset_mvcle instead of memset_mvcle.
4267 (memset_mvcle) Rename to __memset_mvcle.
4268 (memset): Set alias to __memset_g5.
4269 * sysdeps/s390/s390-64/memcmp.S
4270 (memcmp_z900): Rename to __memcmp_z900.
4271 * sysdeps/s390/s390-64/memcpy.S
4272 (memcpy_z900): Rename to __memcpy_z900.
4273 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4274 (memcpy_mvcle) Rename to __memcpy_mvcle.
4275 * sysdeps/s390/s390-64/memset.S
4276 (memset_z900): Rename to __memset_z900.
4277 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
4278 (IFUNC_RESOLVE): Prefix ifunc-resolve function
4279 and use prefixed functions.
4280 * sysdeps/s390/s390-64/multiarch/memcmp.S
4281 (memcmp_z196): Rename to __memcmp_z196.
4282 (memcmp_z10): Rename to __memcmp_z10.
4283 (memcmp): Set alias to __memcmp_z900.
4284 (bcmp): Set alias to __memcmp_z900.
4285 * sysdeps/s390/s390-64/multiarch/memcpy.S
4286 (memcpy_z196): Rename to __memcpy_z196.
4287 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4288 (memcpy_z10): Rename to __memcpy_z10.
4289 Jump to __memcpy_mvcle instead of memcpy_mvcle.
4290 (memcpy): Set alias to __memcpy_z900.
4291 * sysdeps/s390/s390-64/multiarch/memset.S
4292 (memset_z196): Rename to __memset_z196.
4293 Jump to __memset_mvcle instead of memset_mvcle.
4294 (memset_z10): Rename to __memset_z10.
4295 Jump to __memset_mvcle instead of memset_mvcle.
4296 (memset_mvcle) Rename to __memset_mvcle.
4297 (memset): Set alias to __memset_z900.
4298
4299 2015-01-14 Joseph Myers <joseph@codesourcery.com>
4300
4301 [BZ #17748]
4302 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
4303 __fesetenv instead of fesetenv.
4304
4305 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4306
4307 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
4308 macro.
4309
4310 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4311
4312 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
4313 regression on LE.
4314
4315 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
4316 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
4317 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4318 strncmp-power8 object.
4319 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4320 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
4321 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
4322 * NEWS: Update.
4323
4324 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4325 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4326
4327 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
4328 trailing byte check.
4329
4330 2015-01-13 David S. Miller <davem@davemloft.net>
4331
4332 * include/signal.h (__sigreturn): Guard with __USE_MISC.
4333
4334 2015-01-13 Roland McGrath <roland@hack.frob.com>
4335
4336 * login/logout.c (logout): Use memset rather than bzero.
4337 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
4338 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
4339 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
4340 (_gethtbyaddr): Likewise.
4341 * locale/programs/simple-hash.c (bcopy): Macro removed.
4342
4343 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4344
4345 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4346 Add strcmp-power8 object.
4347 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4348 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
4349 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
4350 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
4351 __strcmp_power8 implementation.
4352 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
4353 * NEWS: Update.
4354
4355 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4356 Add strncpy-power8 and stpncpy-power8 objects.
4357 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4358 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
4359 implementations.
4360 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
4361 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
4362 __stpncpy_power8 implementation.
4363 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
4364 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
4365 __strncpy_power8 implementation.
4366 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
4367 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
4368 * NEWS: Update.
4369
4370 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
4371 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
4372 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
4373
4374 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4375 strncat-power8 object.
4376 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
4377 __strcat_power8 implementation.
4378 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4379 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
4380 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
4381 optimized strcat for power8.
4382
4383 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
4384 strcpy-power8 and stpcpy-power8 objects.
4385 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4386 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
4387 implementations.
4388 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
4389 multiarch stpcpy implementation for POWER8.
4390 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
4391 multiarch strcpy implementation for POWER8.
4392 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
4393 __strcpy_power8 function.
4394 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
4395 stpcpy for POWER8.
4396 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
4397 strcpy for POWER8.
4398 * NEWS: Update.
4399
4400 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
4401
4402 [BZ #16009]
4403 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
4404 weights and rules. Use do_xfrm_cached if data fits in cache,
4405 do_xfrm otherwise. Moved former main loop to...
4406 * (do_xfrm_cached): New function.
4407 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
4408 find_idx, find_position and stack_push.
4409 * (find_idx): New function.
4410 * (find_position): Likewise.
4411 * localedata/sort-test.sh: Added test run for do_xfrm.
4412 * localedata/xfrm-test.c (main): Added command line option
4413 -nocache to run the test with strings that are too large for
4414 the STRXFRM cache.
4415
4416 2015-01-13 Torvald Riegel <triegel@redhat.com>
4417
4418 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
4419 variable to lll_futex_wake call, not the value itself.
4420
4421 2015-01-12 Joseph Myers <joseph@codesourcery.com>
4422
4423 [BZ #17803]
4424 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
4425 twom64. Adjust value to 0x1p-64L.
4426 (__scalblnl): Only return standard underflowing result for K <=
4427 -64 not K <= -63; adjust exponent for underflowing result by 64
4428 not 63.
4429 * math/libm-test.inc (scalbn_test_data): Add more tests.
4430 (scalbln_test_data): Likewise.
4431
4432 [BZ #17834]
4433 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
4434 0x1p63L.
4435 (__scalblnl): Get new exponent of adjusted subnormal value from ES
4436 not HX.
4437 * math/libm-test.inc (scalbn_test_data): Add more tests.
4438 (scalbln_test_data): Likewise.
4439
4440 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4441 Stefani Seibold <stefani@seibold.net>
4442
4443 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
4444 (sysdep_routines): Add dl-vdso here, ...
4445 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
4446 (sysdep_routines): ... not here.
4447 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
4448 fallback when vDSO is not presented.
4449 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
4450 Define with libc_hidden_proto/libc_hidden_data_def definitions.
4451 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
4452 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
4453 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
4454 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
4455 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
4456 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
4457 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
4458 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
4459 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
4460 fallback configurable symbol when vDSO is not available.
4461 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
4462 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
4463 be able to redefine fallback symbol when vDSO is not available.
4464 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
4465 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
4466
4467 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4468
4469 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
4470 (TLS_INIT_TP): Add tm_capable initialization.
4471 (TLS_DEFINE_INIT_TP): Likewise.
4472 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
4473 TCB.
4474 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
4475 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
4476 calculation.
4477 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
4478 transactoion is lock elision is built and TCB tm_capable is set.
4479 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
4480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
4481 (INTERNAL_SYSCALL_NCS): Likewise.
4482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
4483 (INTERNAL_SYSCALL_NCS): Likewise.
4484 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
4485
4486 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
4487 for powerpc.
4488 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4489 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
4490 and remove it for 32 bits case.
4491 [pthread_rwlock_t] (__rwelision): New field for lock elision.
4492 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
4493 initialization.
4494 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
4495 Disable lock elision with rdlocks if elision is not available.
4496
4497 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
4498 (sysdep_routines): Add lock elision objects.
4499 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4500 [pthread_mutex_t] (__spins): Rework to add lock elision field.
4501 [pthread_mutex_t] (__elision): Add field.
4502 [__PTHREAD_SPINS]: Adjust to init lock elision field.
4503 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
4504 elision definitions for powerpc.
4505 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
4506 implementation of lock elision for powerpc.
4507 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
4508 implementation of timed lock elision for powerpc.
4509 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
4510 implementation of trylock with lock elision for powerpc.
4511 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
4512 implementaion of unlock for lock elision for powerpc.
4513 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
4514 automatic enable lock elision for mutexes.
4515 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
4516 transaction execution definitions for powerpc.
4517 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
4518 definitions.
4519 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
4520 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
4521 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
4522 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
4523 * NEWS: Update.
4524
4525 2015-01-09 Roland McGrath <roland@hack.frob.com>
4526
4527 * sysdeps/posix/shm-directory.c: Use <> rather than ""
4528 for #include of <shm-directory.h>.
4529
4530 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
4531
4532 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
4533 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
4534
4535 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
4536
4537 [BZ #17791]
4538 * NEWS: Mention bug fix.
4539 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
4540 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
4541 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
4542
4543 2015-01-09 Torvald Riegel <triegel@redhat.com>
4544
4545 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
4546
4547 2015-01-09 Torvald Riegel <triegel@redhat.com>
4548
4549 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
4550
4551 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4552
4553 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
4554 pointer and cast to uintptr_t.
4555
4556 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4557
4558 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
4559 removed.
4560 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
4561
4562 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
4563
4564 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
4565 of 0.
4566
4567 2015-01-08 Roland McGrath <roland@hack.frob.com>
4568
4569 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
4570 <nptl/pthreadP.h> instead.
4571 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
4572
4573 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
4574 already defined.
4575 [__SIGRTMIN] (init): Function removed.
4576 [__SIGRTMIN] (initialized): Variable removed.
4577 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
4578 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
4579 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
4580 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
4581 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
4582 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
4583 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
4584 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
4585 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
4586 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
4587 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
4588 * sysdeps/nptl/allocrtsig.c: New file.
4589 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
4590 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
4591 * sysdeps/generic/testrtsig.h: File removed.
4592
4593 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
4594 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
4595
4596 * nptl/nptl-init.c (pthread_functions): Conditionalize
4597 .ptr__nptl_setxid initialization on [SIGSETXID].
4598
4599 * sysdeps/nptl/sys/procfs.h: New file.
4600 * nptl_db/Makefile (headers): Add it.
4601 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
4602
4603 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
4604 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
4605 * nptl/pthread_attr_setaffinity.c: Include it.
4606 * nptl/pthread_setattr_default_np.c: Likewise.
4607 * nptl/check-cpuset.h: New file.
4608
4609 2015-01-08 Richard Henderson <rth@redhat.com>
4610
4611 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
4612 (CFLAGS-tst-execstack-prog.c): Likewise.
4613 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
4614
4615 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
4616 Sandra Loosemore <sandra@codesourcery.com>
4617 Andrew Jenner <andrew@codesourcery.com>
4618 Joseph Myers <joseph@codesourcery.com>
4619 Nathan Sidwell <nathan@codesourcery.com>
4620
4621 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
4622 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
4623 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
4624 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
4625 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
4626 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
4627 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
4628 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
4629 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
4630 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
4631 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
4632 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
4633 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
4634 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
4635 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
4636 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
4637 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
4638
4639 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4640
4641 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
4642 timespec struct member in syscall macro.
4643 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
4644 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
4645 first timeval struct member in syscall macro.
4646 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
4647
4648 2015-01-07 Joseph Myers <joseph@codesourcery.com>
4649
4650 [BZ #17748]
4651 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
4652 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
4653 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
4654 __feupdateenv and define as weak alias of __feupdateenv. Use
4655 libm_hidden_weak.
4656 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
4657 libm_hidden_def.
4658 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
4659 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
4660 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4661 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
4662 libm_hidden_def.
4663 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
4664 __feupdateenv and define as weak alias of __feupdateenv. Use
4665 libm_hidden_weak.
4666 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
4667 libm_hidden_def.
4668 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
4669 __feupdateenv and define as weak alias of __feupdateenv. Use
4670 libm_hidden_weak.
4671 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
4672 libm_hidden_def.
4673 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4674 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4675 (__feupdateenv): Likewise.
4676 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
4677 __feupdateenv and define as weak alias of __feupdateenv. Use
4678 libm_hidden_weak.
4679 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4680 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
4681 libm_hidden_def.
4682 * sysdeps/tile/math_private.h (__feupdateenv): New inline
4683 function.
4684 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
4685 libm_hidden_def.
4686 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
4687 __feupdateenv instead of feupdateenv.
4688 (default_libc_feupdateenv_test): Likewise.
4689 (libc_feresetround_ctx): Likewise.
4690
4691 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4692
4693 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
4694 prototype.
4695
4696 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
4697
4698 * posix/regcomp.c (parse_bracket_exp): Initialize type to
4699 COLL_SYM in a couple of places to avoid uninitialized variable
4700 wanings on tilegx gcc 4.8.2.
4701
4702 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
4703
4704 * sysdeps/aarch64/strcpy.S: New file.
4705 * sysdeps/aarch64/stpcpy.S: New file.
4706 * NEWS: Updated.
4707
4708 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
4709
4710 * sysdeps/aarch64/strrchr.S: New file.
4711 * NEWS: Updated.
4712
4713 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
4714
4715 [BZ #17658]
4716 * stdlib/setenv.c: Fix memory leak when setting large,
4717 duplicate string.
4718
4719 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
4720
4721 [BZ #17273]
4722 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
4723 and tabs from buffer before parsing fstab entry.
4724 * misc/tst-mntent.c (main): Add test for mount entry with
4725 trailing spaces and tabs.
4726
4727 2015-01-06 Joseph Myers <joseph@codesourcery.com>
4728
4729 [BZ #17748]
4730 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
4731 * math/fesetround.c (fesetround): Rename to __fesetround and
4732 define as weak alias of __fesetround. Use libm_hidden_weak.
4733 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
4734 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
4735 * sysdeps/arm/fesetround.c (fesetround): Likewise.
4736 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
4737 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
4738 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
4739 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
4740 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
4741 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
4742 __fesetround_inline.
4743 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
4744 __fesetround_inline instead of __fesetround.
4745 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
4746 __fesetround and define as weak alias of __fesetround. Use
4747 libm_hidden_weak. Call __fesetround_inline instead of
4748 __fesetround.
4749 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
4750 __fesetround and define as weak alias of __fesetround. Use
4751 libm_hidden_weak.
4752 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
4753 Likewise.
4754 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
4755 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
4756 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
4757 * sysdeps/tile/math_private.h (__fesetround): New inline function.
4758 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
4759 __fesetround and define as weak alias of __fesetround. Use
4760 libm_hidden_weak.
4761 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
4762 __fesetround instead of fesetround.
4763 (default_libc_feholdexcept_setround): Likewise.
4764 (libc_feholdsetround_ctx): Likewise.
4765 (libc_feholdsetround_noex_ctx): Likewise.
4766
4767 [BZ #17748]
4768 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
4769 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
4770 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4771 and define as weak alias of __fesetenv. Use libm_hidden_weak.
4772 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4773 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
4774 define as weak alias of __fesetenv. Use libm_hidden_weak.
4775 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
4776 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4777 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4778 define as weak alias of __fesetenv. Use libm_hidden_weak.
4779 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4780 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4781 define as weak alias of __fesetenv. Use libm_hidden_weak.
4782 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
4783 libm_hidden_def.
4784 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
4785 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
4786 Likewise.
4787 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
4788 define as weak alias of __fesetenv. Use libm_hidden_weak.
4789 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
4790 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
4791 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
4792 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
4793 and define as weak alias of __fesetenv. Use libm_hidden_weak.
4794 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
4795 __fesetenv instead of fesetenv.
4796 (libc_feresetround_noex_ctx): Likewise.
4797 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
4798 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
4799 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
4800 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
4801 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
4802 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
4803 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
4804 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
4805 (__feupdateenv): Likewise.
4806 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
4807 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
4808 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
4809 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
4810
4811 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
4812
4813 [BZ #17806]
4814 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
4815 addresses have been freed.
4816
4817 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
4818
4819 * resolv/res_init.c (__res_vinit): Improve comments about nserv
4820 and nservall.
4821
4822 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
4823
4824 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
4825 Clean up check_pf allocation pattern. addresses
4826
4827 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4828
4829 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
4830 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
4831 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
4832 * nptl/pthread_exit.c (__pthread_exit): Likewise.
4833 * nptl/pthread_join.c (pthread_join): Likewise.
4834 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
4835 * sysdeps/posix/waitid.c (__waitid): Likewise.
4836 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
4837 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
4838 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
4839 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
4840 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
4841 Likewise.
4842 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
4843 (__libc_pread64): Likewise.
4844 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
4845 (__libc_pwrite): Likewise.
4846 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
4847 (__libc_pwrite64): Likewsie.
4848 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
4849 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
4850 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
4851 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
4852 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
4853 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
4854 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
4856 Likewise.
4857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
4858 (__libc_pread64): Likewise.
4859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
4860 Likewise.
4861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
4862 (__libc_pwrite64): Likewise.
4863 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
4864 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
4865 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
4866 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
4867 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4868 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4869 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
4870 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
4871 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
4872 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
4873 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
4874 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
4875 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
4876 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
4877 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
4878 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
4879 Likewise.
4880
4881 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4882
4883 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
4884 (CFLAGS-test-double.c): Likewise.
4885 (CFLAGS-test-ldouble.c): Likewise.
4886 (CPPFLAGS-test-ifloat.c): Likewise.
4887 (CPPFLAGS-test-idouble.c): Likewise.
4888 (CPPFLAGS-test-ildoubl.c): Likewise.
4889 (CFLAGS-test-test-fenv.c): Remove variable.
4890 (CFLAGS-test-misc.c): Likewise.
4891
4892 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
4893
4894 [BZ #17797]
4895 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
4896 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
4897 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
4898 CLOCKS_PER_SEC == 1000000.
4899 * time/clocktest.c (main): Replace %ld with %jd and cast to
4900 intmax_t.
4901
4902 2015-01-05 Roland McGrath <roland@hack.frob.com>
4903
4904 * sysdeps/generic/unwind-resume.h: New file.
4905 * sysdeps/gnu/unwind-resume.c: Include it.
4906 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
4907 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
4908 argument list.
4909 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
4910 global rather than static.
4911 (_Unwind_Resume): Update user.
4912 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
4913 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
4914 rather than static. Add __attribute__ ((cold)).
4915 (_Unwind_Resume, __gcc_personality_v0): Update callers.
4916 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
4917 * sysdeps/arm/arm-unwind-resume.S: New file.
4918 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
4919 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
4920 * sysdeps/arm/Makefile [$(subdir) = csu]
4921 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
4922 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4923 Add rt-arm-unwind-resume.
4924 [$(subdir) = nptl]
4925 (libpthread-sysdep_routines, libpthread-shared-only-routines):
4926 Add pt-arm-unwind-resume.
4927 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
4928 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
4929
4930 2015-01-05 Joseph Myers <joseph@codesourcery.com>
4931
4932 [BZ #17748]
4933 * include/fenv.h (__feholdexcept): Declare. Use
4934 libm_hidden_proto.
4935 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
4936 define as weak alias of __feholdexcept. Use libm_hidden_weak.
4937 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4938 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
4939 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
4940 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
4941 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
4942 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4943 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
4944 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
4945 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4946 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
4947 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
4948 (feholdexcept): Likewise.
4949 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
4950 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
4951 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4952 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
4953 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
4954 __feholdexcept instead of feholdexcept.
4955 (default_libc_feholdexcept_setround): Likewise.
4956
4957 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
4958
4959 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
4960 to avoid using stl/str to align destination.
4961
4962 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
4963
4964 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
4965
4966 2015-01-05 Joseph Myers <joseph@codesourcery.com>
4967
4968 [BZ #17796]
4969 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
4970 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
4971 Define as weak alias not strong alias.
4972
4973 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
4974
4975 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
4976 bltzal with addiupc.
4977 (RTLD_START): Ditto.
4978
4979 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
4980
4981 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
4982 for __vdso_* functions in declarations.
4983 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
4984 definitions.
4985 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
4986 INTERNAL_VSYSCALL): Use struct return types to check for error.
4987
4988 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
4989 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
4990 function with cast from llround().
4991 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
4992 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
4993 Define.
4994
4995 2015-01-05 Joseph Myers <joseph@codesourcery.com>
4996
4997 [BZ #17793]
4998 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
4999 Define as weak alias not strong alias.
5000
5001 [BZ #17635]
5002 * ctype/ctype-c99.c: New file. isblank implementation moved from
5003 ...
5004 * ctype/ctype-extn.c: ... here.
5005 (__isblank_l): Move to ...
5006 * ctype/ctype-c99_l.c: ... here. New file.
5007 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
5008 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
5009 Remove variable.
5010 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5011 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5012 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5013 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5014 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5015
5016 [BZ #17777]
5017 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
5018 (posix_fadvise64): Define as weak alias not strong alias.
5019 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5020 (posix_fallocate64): Likewise.
5021 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
5022 Remove variable.
5023 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5024 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5025 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5026 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5027 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5028
5029 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
5030
5031 [BZ #16191]
5032 * NEWS: Mention bug fix.
5033 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
5034 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
5035 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
5036 (HOST_STACK_END_ADDR): Likewise.
5037
5038 2015-01-02 Joseph Myers <joseph@codesourcery.com>
5039
5040 [BZ #17748]
5041 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
5042 * math/fegetround.c (fegetround): Rename to __fegetround and
5043 define as weak alias of __fegetround. Use libm_hidden_weak.
5044 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
5045 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
5046 * sysdeps/arm/fegetround.c (fegetround): Likewise.
5047 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
5048 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5049 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
5050 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
5051 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
5052 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5053 Undefine after rather than before function definition; use
5054 parentheses around function name in definition.
5055 (__fegetround): Also undefine macro after function definition.
5056 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
5057 __fegetround and define as weak alias of __fegetround. Use
5058 libm_hidden_weak. Do not undefine as macro.
5059 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5060 Likewise.
5061 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
5062 __fegetround and define as weak alias of __fegetround. Use
5063 libm_hidden_weak.
5064 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5065 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5066 * sysdeps/tile/math_private.h (__fegetround): New inline function.
5067 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
5068 __fegetround and define as weak alias of __fegetround. Use
5069 libm_hidden_weak.
5070 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
5071 __fegetround instead of fegetround.
5072
5073 [BZ #17782]
5074 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
5075 Condition macro definition on [__USE_MISC].
5076
5077 [BZ #17781]
5078 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
5079 (struct sigaction): Change type of sa_flags field to int.
5080
5081 [BZ #17780]
5082 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
5083 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
5084 __glibc_reserved0.
5085
5086 * nptl/version.c (banner): Use single year in copyright notice.
5087
5088 * NEWS: Update copyright dates.
5089 * catgets/gencat.c (print_version): Likewise.
5090 * csu/version.c (banner): Likewise.
5091 * debug/catchsegv.sh: Likewise.
5092 * debug/pcprofiledump.c (print_version): Likewise.
5093 * debug/xtrace.sh (do_version): Likewise.
5094 * elf/ldconfig.c (print_version): Likewise.
5095 * elf/ldd.bash.in: Likewise.
5096 * elf/pldd.c (print_version): Likewise.
5097 * elf/sotruss.sh: Likewise.
5098 * elf/sprof.c (print_version): Likewise.
5099 * iconv/iconv_prog.c (print_version): Likewise.
5100 * iconv/iconvconfig.c (print_version): Likewise.
5101 * locale/programs/locale.c (print_version): Likewise.
5102 * locale/programs/localedef.c (print_version): Likewise.
5103 * login/programs/pt_chown.c (print_version): Likewise.
5104 * malloc/memusage.sh (do_version): Likewise.
5105 * malloc/memusagestat.c (print_version): Likewise.
5106 * malloc/mtrace.pl: Likewise.
5107 * manual/libc.texinfo: Likewise.
5108 * nptl/version.c (banner): Likewise.
5109 * nscd/nscd.c (print_version): Likewise.
5110 * nss/getent.c (print_version): Likewise.
5111 * nss/makedb.c (print_version): Likewise.
5112 * posix/getconf.c (main): Likewise.
5113 * scripts/test-installation.pl: Likewise.
5114 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5115
5116 2015-01-02 Will Newton <will.newton@linaro.org>
5117
5118 * sysdeps/arm/armv7/configure: Removed.
5119 * sysdeps/arm/armv7/configure.ac: Likewise.
5120
5121 2015-01-02 Joseph Myers <joseph@codesourcery.com>
5122
5123 * All files with FSF copyright notices: Update copyright dates
5124 using scripts/update-copyrights.
5125 * intl/plural.c: Regenerated.
5126 * locale/programs/charmap-kw.h: Likewise.
5127 * locale/programs/locfile-kw.h: Likewise.
5128
5129 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5130
5131 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
5132
5133 2014-12-31 Joseph Myers <joseph@codesourcery.com>
5134
5135 [BZ #17748]
5136 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
5137 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
5138 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5139 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5140 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5141 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
5142 define as weak alias of __fegetenv. Use libm_hidden_weak.
5143 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
5144 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5145 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5146 define as weak alias of __fegetenv. Use libm_hidden_weak.
5147 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5148 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5149 define as weak alias of __fegetenv. Use libm_hidden_weak.
5150 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
5151 libm_hidden_def.
5152 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
5153 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
5154 Likewise.
5155 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5156 define as weak alias of __fegetenv. Use libm_hidden_weak.
5157 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5158 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5159 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
5160 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5161 and define as weak alias of __fegetenv. Use libm_hidden_weak.
5162 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
5163 __fegetenv instead of fegetenv.
5164 (libc_feholdsetround_noex_ctx): Likewise.
5165
5166 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
5167
5168 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
5169 (Elf_MIPS_ABIFlags_v0): New structure.
5170 (EF_MIPS_FP64): Define.
5171 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
5172 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
5173 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
5174 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
5175 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
5176 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
5177 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
5178 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
5179 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
5180 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
5181 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
5182 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
5183 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
5184 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
5185 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
5186 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
5187 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
5188 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
5189 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
5190 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
5191 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
5192 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
5193 field.
5194 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
5195 EF_MIPS_FP64.
5196 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
5197 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
5198 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
5199 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
5200 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
5201 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
5202 * sysdeps/mips/tst-abi-interlink.c: Likewise.
5203 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
5204 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
5205 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
5206 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
5207 record the current FP ABI extension.
5208 (mips-mode-switch): Define to show if kernel headers support mode
5209 switching.
5210 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
5211 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
5212 supported SYSV ABI version to 3.
5213 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
5214 feature.
5215
5216 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5217 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5218
5219 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
5220 path.
5221 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
5222
5223 2014-12-31 Joseph Myers <joseph@codesourcery.com>
5224
5225 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
5226 __fegetround and redefine to call __fegetround. Remove condition
5227 on [!__NO_MATH_INLINES].
5228 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
5229 function.
5230 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
5231 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5232 Remove macro.
5233 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
5234 instead of <fenv_libc.h>.
5235 (__llrintl): Call fegetround instead of __fegetround.
5236 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
5237 instead of <fenv_libc.h>.
5238 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
5239 (__lrintl): Call fegetround instead of __fegetround.
5240 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
5241 instead of <fenv_libc.h>.
5242 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
5243 (__rintl): Call fegetround instead of __fegetround.
5244
5245 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5246
5247 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
5248 arrays.
5249
5250 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5251
5252 [BZ #17775]
5253 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
5254 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
5255 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
5256
5257 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5258
5259 * sysdeps/i386/tls-macros.h: Include <features.h>.
5260 (TLS_LE): Use non-PIC version for GCC >= 5.0.
5261 (TLS_IE): Likewise.
5262 (TLS_LD): Likewise.
5263 (TLS_GD): Likewise.
5264 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
5265 define for GCC >= 5.0.
5266
5267 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
5268
5269 * math/test-fenv.c (test_single_exception, set_single_exc,
5270 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
5271 feexcp_mask_test, feenable_test, fe_single_test): Add
5272 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
5273 case where they are not used.
5274 * math/libm-test.inc: Likewise.
5275 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
5276 unused in the absence of FP rounding/exception support.
5277 * stdio-common/tst-printf-round.c: Likewise.
5278 * stdlib/tst-strtod-round.c: Likewise.
5279 * stdlib/tst-strtod-underflow.c: Likewise.
5280
5281 2014-12-30 Joseph Myers <joseph@codesourcery.com>
5282
5283 [BZ #17723]
5284 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
5285 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
5286 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5287 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5288 libm_hidden_weak.
5289 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
5290 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5291 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
5292 libm_hidden_def.
5293 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5294 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5295 libm_hidden_weak.
5296 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
5297 Likewise.
5298 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
5299 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5300 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5301 libm_hidden_weak.
5302 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5303 libm_hidden_def.
5304 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5305 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
5306 (__feraiseexcept): Likewise.
5307 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
5308 __feraiseexcept and define as weak alias of __feraiseexcept. Use
5309 libm_hidden_weak.
5310 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
5311 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
5312 libm_hidden_def.
5313 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
5314 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
5315 Use libm_hidden_def.
5316 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
5317 libm_hidden_def.
5318 (feraiseexcept): Define as weak not strong alias. Use
5319 libm_hidden_weak.
5320 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
5321 New inline function. Factored out of ...
5322 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
5323 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
5324 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
5325 feraiseexcept.
5326 * math/w_acos.c (__acos): Likewise.
5327 * math/w_asin.c (__asin): Likewise.
5328 * math/w_ilogb.c (__ilogb): Likewise.
5329 * math/w_j0.c (y0): Likewise.
5330 * math/w_j1.c (y1): Likewise.
5331 * math/w_jn.c (yn): Likewise.
5332 * math/w_log.c (__log): Likewise.
5333 * math/w_log10.c (__log10): Likewise.
5334 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
5335 * sysdeps/aarch64/fpu/math_private.h
5336 (libc_feupdateenv_test_aarch64): Likewise.
5337 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5338 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
5339 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
5340 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5341 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5342 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5343 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
5344 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5345 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5346 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5347
5348 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
5349
5350 [BZ #17732]
5351 * io/test-utime.c (main): Replace %ld with %jd and cast to
5352 intmax_t.
5353 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
5354 * nptl/tst-mutex5.c: Include <stdint.h>.
5355 (do_test): Replace %ld with %jd and cast to intmax_t.
5356 * posix/tst-regex.c (run_test): Likewise.
5357 (run_test_backwards): Likewise.
5358 * rt/tst-clock.c: Include <stdint.h>.
5359 (clock_test): Replace %ld with %jd and cast to intmax_t.
5360 * rt/tst-cpuclock1.c: Include <stdint.h>.
5361 (do_test): Replace %lu with %ju and cast to uintmax_t.
5362 * rt/tst-cpuclock2.c: Include <stdint.h>.
5363 (do_test): Replace %lu with %ju and cast to uintmax_t.
5364 * rt/tst-mqueue1.c: Include <stdint.h>.
5365 (check_attrs): Replace %ld with %jd and cast to intmax_t.
5366 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
5367 intmax_t.
5368 * rt/tst-mqueue4.c (do_test): Likewise.
5369 * rt/tst-timer4.c: Include <stdint.h>.
5370 (check_ts): Replace %ld with %jd and cast to intmax_t.
5371 (do_test): Likewise.
5372 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
5373 and cast to intmax_t.
5374 * sysdeps/pthread/tst-timer.c (main): Likewise.
5375 * time/clocktest.c (main): Likewise.
5376 * time/tst-posixtz.c (do_test): Likewise.
5377 * timezone/tst-timezone.c (main): Likewise.
5378
5379 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
5380 H.J. Lu <hongjiu.lu@intel.com>
5381
5382 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
5383 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
5384 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
5385 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
5386 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
5387 version if bit_Fast_Unaligned_Load is set.
5388 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5389 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5390 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5391 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5392 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5393 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5394 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5395 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
5396 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
5397 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
5398 to 4.
5399 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
5400 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
5401 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
5402 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
5403
5404 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
5405
5406 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
5407 instead of #if to avoid a Wundef warning.
5408 * stdlib/tst-limits.c (do_test): Likewise.
5409
5410 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
5411 parallel other exception macros.
5412 (fegetenv): Convert from macro to extern inline so that it applies
5413 retroactively to inline functions already seen by the compiler.
5414 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
5415
5416 * posix/Makefile (before-compile): Use $(objpfx) for
5417 posix-conf-vars-def.h.
5418
5419 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5420
5421 * posix/getconf.c (main): Use size_t for type of I.
5422 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
5423 NSPEC.
5424
5425 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
5426 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
5427 * posix/posix-envs.def: Likewise.
5428 * sysdeps/posix/sysconf.c: Likewise.
5429 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
5430 (specs): Remove array.
5431 * scripts/gen-posix-conf-vars.awk: Support generation of specs
5432 array.
5433
5434 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
5435 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
5436 (__sysconf): Use CONF_IS_* macros.
5437
5438 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
5439 ($(objpfx)posix-conf-vars-def.h): New target.
5440 * posix/posix-conf-vars.list: New file.
5441 * posix/posix-conf-vars.h: New file.
5442 * posix/confstr.c: Include posix-conf-vars.h.
5443 (confstr): Use CONF_IS_* macros.
5444 * posix/posix-envs.def: Include posix-conf-vars.h. Use
5445 CONF_IS_* macros.
5446 * scripts/gen-posix-conf-vars.awk: New file.
5447
5448 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
5449
5450 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
5451 fegetround): Add no-op macros to avoid linknamespace issues.
5452
5453 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
5454 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
5455
5456 * sysdeps/unix/sysv/linux/tile/sysdep.h
5457 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
5458 assembly-specific section to avoid a redefinition warning.
5459
5460 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
5461 long before casting to pointer to avoid a cast warning.
5462
5463 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
5464
5465 * sysdeps/tile/tilegx/Implies: New file.
5466
5467 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
5468
5469 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
5470
5471 2014-12-23 Florian Weimer <fweimer@redhat.com>
5472
5473 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
5474
5475 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5476
5477 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
5478 not define.
5479 * sysdeps/unix/sysv/linux/utimes.c: Do not include
5480 <kernel-features.h>.
5481 (__utimes) [__NR_utimes]: Make code unconditional.
5482 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
5483 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5484 (__ASSUME_UTIMES): Do not undefine.
5485 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5486 (__ASSUME_UTIMES): Likewise.
5487 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5488 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
5489 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
5490 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
5491
5492 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
5493
5494 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
5495
5496 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
5497
5498 [BZ #17747]
5499 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
5500 alias to weak alias for j0l, y0l.
5501 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
5502 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
5503
5504 [BZ #17746]
5505 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
5506 conversion.
5507
5508 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
5509
5510 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
5511 to zero if not already defined.
5512
5513 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5514
5515 [BZ #17724]
5516 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
5517 (__kernel_standard_f): Remove. Moved to k_standardf.c.
5518 (__kernel_standard_l): Remove. Moved to k_standardl.c with
5519 (char *) casts added.
5520 * sysdeps/ieee754/k_standardf.c: New file.
5521 * sysdeps/ieee754/k_standardl.c: Likewise.
5522 * math/Makefile (libm-support): Remove k_standard.
5523 (libm-calls): Add k_standard.
5524
5525 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5526
5527 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5528 Optimize to avoid an unnecessary FPCR read.
5529
5530 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5531
5532 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
5533 Optimize to reduce FPCR/FPSR accesses.
5534
5535 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5536
5537 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
5538 Call libc_fetestexcept_aarch64.
5539
5540 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
5541
5542 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
5543 Call libc_fesetround_aarch64.
5544
5545 2014-12-22 Joseph Myers <joseph@codesourcery.com>
5546
5547 [BZ #17733]
5548 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
5549 (__bind): Do not define as weak alias.
5550 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
5551 define.
5552 (__getsockname): Do not define as weak alias.
5553
5554 2014-12-22 Will Newton <will.newton@linaro.org>
5555
5556 * manual/install.texi: Document that we require bison 2.7
5557 or above.
5558 * INSTALL: Regenerate.
5559 * configure.ac: Use AC_CHECK_PROG_VER instead of
5560 AC_PATH_PROG when checking for bison and check for
5561 version 2.7 or above.
5562 * configure: Regenerate.
5563
5564 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
5565
5566 [BZ #17745]
5567 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
5568 * sysdeps/tile/ffsll.c (ffsll): To here.
5569
5570 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
5571
5572 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5573
5574 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
5575 if not defined.
5576 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
5577 definition.
5578 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5579 hidden ___tls_get_addr.
5580 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
5581 hidden __tls_get_addr.
5582 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
5583 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
5584 Likewise.
5585
5586 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
5587
5588 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
5589 _dl_init call.
5590
5591 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
5592
5593 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
5594 from "call _dl_init@PLT".
5595 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
5596
5597 2014-12-21 Anders Kaseorg <andersk@mit.edu>
5598
5599 * manual/search.texi: (Array Sort Function): Clarify stable sorting
5600 guarantees.
5601
5602 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
5603
5604 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
5605
5606 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5607
5608 [BZ #17744]
5609 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
5610 strnlen.
5611
5612 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
5613
5614 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
5615 of multu on MIPSr6.
5616 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
5617 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
5618 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
5619 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
5620 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
5621
5622 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
5623
5624 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
5625 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
5626 (PTR_SUBU): Use subu for mips32r6/mips64r6.
5627 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
5628 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
5629 mips32r6/mips64r6.
5630 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
5631
5632 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
5633
5634 * string/strncat.c (STRNCAT): Simplify implementation.
5635
5636 2014-12-19 David S. Miller <davem@davemloft.net>
5637
5638 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
5639 access the quad as both a long double and as a series of 4 words.
5640
5641 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
5642 link_map->l_info array access.
5643
5644 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
5645
5646 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
5647
5648 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
5649 * math/atest-exp2.c (TIMEOUT): Likewise.
5650 * math/atest-sincos.c (TIMEOUT): Likewise.
5651
5652 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5653
5654 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
5655 -Wno-error with -fno-builtin-lround.
5656
5657 2014-12-19 Torvald Riegel <triegel@redhat.com>
5658
5659 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
5660 Contains futex constants and functions moved over from ...
5661 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
5662 <lowlevellock-futex.h>.
5663 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5664 (lll_timedwait_tid): Add comments and parentheses around macro
5665 arguments.
5666
5667 2014-12-19 Torvald Riegel <triegel@redhat.com>
5668
5669 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
5670 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
5671 (__lll_private_flag): Remove.
5672 (lll_futex_wait): Likewise.
5673 (lll_futex_timed_wait): Likewise.
5674 (lll_futex_wake): Likewise.
5675 (lll_futex_requeue): Likewise.
5676 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
5677 (__lll_timedwait_tid): Spell out argument names.
5678 (lll_timedwait_tid): Add comments and parentheses around macro
5679 arguments.
5680 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
5681 LLL_SHARED and LLL_PRIVATE usable from assembly code.
5682
5683 2014-12-19 Torvald Riegel <triegel@redhat.com>
5684
5685 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
5686 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5687 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5688 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
5689 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
5690 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
5691 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
5692 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
5693 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
5694 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
5695 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
5696 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
5697 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
5698 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
5699 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
5700 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
5701 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
5702 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
5703 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
5704
5705 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5706
5707 * sysdeps/x86_64/x32/Makefile: New file.
5708
5709 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
5710
5711 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
5712 1L with (mp_limb_t) 1.
5713
5714 2014-12-17 Roland McGrath <roland@hack.frob.com>
5715
5716 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
5717 * nptl/libc_pthread_init.c: ... here.
5718 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
5719 * nptl/register-atfork.c: ... here.
5720
5721 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
5722 Use pthread_sigmask rather than INTERNAL_SYSCALL.
5723 Use assert_perror to check its return value.
5724 (__gai_create_helper_thread): Likewise.
5725
5726 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
5727
5728 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
5729
5730 2014-12-17 Joseph Myers <joseph@codesourcery.com>
5731
5732 [BZ #17725]
5733 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
5734 __profil_counter.
5735 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
5736 Likewise.
5737 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
5738 Likewise.
5739 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
5740 Likewise.
5741 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
5742 (profil_counter): Likewise.
5743 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
5744 (profil_counter): Likewise.
5745 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
5746 Likewise.
5747 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
5748 Likewise.
5749 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
5750 (profil_counter): Likewise.
5751 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
5752 Likewise.
5753 [!__profil_counter] (profil_counter): Define as weak alias of
5754 __profil_counter.
5755 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
5756 (profil_counter): Rename to __profil_counter.
5757 [!__profil_counter] (profil_counter): Define as weak alias of
5758 __profil_counter.
5759 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
5760 (profil_counter): Rename to __profil_counter.
5761 [!__profil_counter] (profil_counter): Define as weak alias of
5762 __profil_counter.
5763 * sysdeps/posix/profil.c: Update comment referring to
5764 profil_counter.
5765 (__profil): Use __profil_counter instead of profil_counter.
5766 * sysdeps/posix/sprofil.c (profil_counter): Rename to
5767 __profil_counter. Use __profil_counter_ushort and
5768 __profil_counter_uint in definitions.
5769 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
5770 instead of profil_counter_uint and profil_counter_ushort.
5771
5772 [BZ #17722]
5773 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
5774 define as weak alias of __inet_makeaddr.
5775 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
5776 as weak alias of __inet_addr.
5777 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
5778 as weak alias of __inet_pton. Use libc_hidden_weak.
5779 * include/arpa/inet.h (__inet_pton): Declare. Use
5780 libc_hidden_proto.
5781 (inet_makeaddr): Don't use libc_hidden_proto.
5782 (__inet_makeaddr): Declare. Use libc_hidden_proto.
5783 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
5784 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
5785 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
5786 Remove variable.
5787 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5788 (test-xfail-POSIX/time.h/linknamespace): Likewise.
5789
5790 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
5791
5792 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
5793
5794 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5795
5796 * stdio-common/bug-vfprintf-nargs.c (do_test):
5797 Cast value to intptr_t to avoid format warning
5798 for usage with PRIdPTR printing macro.
5799
5800 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5801
5802 * libio/tst-widetext.c (do_test):
5803 Use format type %td instead of %Zd for ptrdiff_t
5804 in order to avoid format warning.
5805
5806 2014-12-17 Andreas Schwab <schwab@suse.de>
5807
5808 * nscd/mem.c (gc): Add size_t cast to match printf format.
5809
5810 2014-12-16 Roland McGrath <roland@hack.frob.com>
5811
5812 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
5813 (init): Apply PTR_MANGLE to pointers before storing them.
5814 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
5815 before using them.
5816
5817 2014-12-16 Joseph Myers <joseph@codesourcery.com>
5818
5819 [BZ #17719]
5820 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
5821 define as weak alias of __memrchr.
5822 (__memrchr): Do not define as strong alias of memrchr.
5823 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
5824 Remove variable.
5825 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5826 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5827 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5828
5829 [BZ #17717]
5830 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
5831 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
5832 (if_indextoname): Rename to __if_indextoname and define as weak
5833 alias of __if_indextoname. Use libc_hidden_weak.
5834 (if_freenameindex): Rename to __if_freenameindex and define as
5835 weak alias of __if_freenameindex.
5836 (if_nameindex): Rename to __if_nameindex and define as weak alias
5837 of __if_nameindex.
5838 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
5839 __if_nametoindex and define as weak alias of __if_nametoindex.
5840 Use libc_hidden_weak.
5841 (if_freenameindex): Rename to __if_freenameindex and define as
5842 weak alias of __if_freenameindex.
5843 (if_nameindex): Rename to __if_nameindex and define as weak alias
5844 of __if_nameindex.
5845 (if_indextoname): Rename to __if_indextoname and define as weak
5846 alias of __if_indextoname. Use libc_hidden_weak.
5847 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
5848 __if_nametoindex and define as weak alias of __if_nametoindex.
5849 Use libc_hidden_weak.
5850 (if_freenameindex): Rename to __if_freenameindex and define as
5851 weak alias of __if_freenameindex. Use libc_hidden_weak.
5852 (if_nameindex_netlink): Use __if_freenameindex instead of
5853 if_freenameindex.
5854 (if_nameindex): Rename to __if_nameindex and define as weak alias
5855 of __if_nameindex. Use libc_hidden_weak.
5856 (if_indextoname): Rename to __if_indextoname and define as weak
5857 alias of __if_indextoname. Use libc_hidden_weak.
5858 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
5859 libc_hidden_proto.
5860 [!_ISOMAC] (__if_freenameindex): Likewise.
5861 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
5862 if_nametoindex.
5863 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
5864 variable.
5865 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5866 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5867 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5868 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5869 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5870 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5871 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5872
5873 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
5874 Remove variable.
5875 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5876 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5877
5878 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5879
5880 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
5881 subscript above bounds'
5882
5883 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
5884 bounds.
5885
5886 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
5887
5888 * libio/tst-fopenloc.c: Use test-skeleton.c.
5889
5890 * stdlib/tst-bsearch.c: Use test-skeleton.c.
5891 (entry): Rename to ITEM.
5892 (do_test, comp): Adjust.
5893
5894 * stdio-common/tst-fseek.c: Use test-skeleton.c.
5895
5896 2014-12-16 Torvald Riegel <triegel@redhat.com>
5897
5898 * string/tester.c: Include <libc-internal.h>.
5899 (test_memset): Ignore -Wmemset-transposed-args.
5900
5901 2014-12-16 Torvald Riegel <triegel@redhat.com>
5902
5903 * misc/tst-mntent2.c (do_test): Fix warning.
5904
5905 2014-12-16 Torvald Riegel <triegel@redhat.com>
5906
5907 * elf/tst-unique4lib.cc(a): Mark as used.
5908
5909 2014-12-16 Florian Weimer <fweimer@redhat.com>
5910
5911 [BZ #17630]
5912 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
5913 names.
5914
5915 2014-12-16 Allan McRae <allan@archlinux.org>
5916
5917 * stdio-common/Makefile (tests): Re-add bug26.
5918
5919 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
5920
5921 [BZ #17657]
5922 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
5923 static array.
5924
5925 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
5926
5927 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
5928 (__lll_lock_wait): Likewise.
5929 (__lll_timedlock_wait): Likewise.
5930 (__lll_timedwait_tid): Likewise.
5931 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
5932 (__lll_robust_timedlock_wait): Likewise.
5933 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
5934 (lll_cond_trylock): Likewise.
5935 (__lll_lock): Likewise.
5936 (__lll_robust_lock): Likewise.
5937 (__lll_cond_lock): Likewise.
5938 (lll_robust_cond_lock): Likewise.
5939 (__lll_timedlock): Likewise.
5940 (__lll_robust_timedlock): Likewise.
5941 (__lll_unlock): Likewise.
5942 (__lll_robust_unlock): Likewise.
5943 (lll_wait_tid): Likewise.
5944 (lll_timedwait_tid): Likewise.
5945
5946 2014-12-15 Torvald Riegel <triegel@redhat.com>
5947
5948 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
5949
5950 2014-12-15 Torvald Riegel <triegel@redhat.com>
5951
5952 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
5953
5954 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
5955
5956 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
5957 * stdio-common/tst-sprintf.c: Likewise.
5958
5959 2014-12-15 Torvald Riegel <triegel@redhat.com>
5960
5961 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
5962
5963 2014-12-15 Jeff Law <law@redhat.com>
5964
5965 [BZ #16617]
5966 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
5967 on the heap. (CVE-2012-3406)
5968 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
5969 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
5970 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
5971
5972 2014-12-15 Will Newton <will.newton@linaro.org>
5973
5974 * manual/install.texi: Bump required version of texinfo
5975 to 4.7 from 4.5.
5976 * INSTALL: Regenerated.
5977 * configure.ac: Check for makeinfo version 4.7 and above.
5978 * configure: Regenerated.
5979
5980 2014-12-12 Roland McGrath <roland@hack.frob.com>
5981
5982 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
5983 PREFIX, string constant to insert between directory and name.
5984 * sysdeps/posix/shm_open.c: Update caller.
5985 * sysdeps/posix/shm_unlink.c: Likewise.
5986 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
5987 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
5988 (SEM_SHM_PREFIX): New macro.
5989 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
5990 [$(have-thread-library) = no].
5991 * nptl/Makefile (libpthread-routines): Add shm-directory.
5992 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
5993 * sysdeps/nptl/shm-directory.h: New file.
5994 * sysdeps/posix/shm-directory.c
5995 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
5996 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
5997 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
5998 INTERNAL_SYSCALL.
5999 (__where_is_shmfs): Function removed.
6000 (mountpoint, defaultmount, defaultdir, __namedsem_once):
6001 Variables removed.
6002 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
6003 Use SHM_GET_NAME.
6004 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
6005
6006 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
6007 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
6008 unconditional for use inside libpthread.
6009 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
6010
6011 2014-12-12 Roland McGrath <roland@hack.frob.com>
6012
6013 * nptl/pthread_getaffinity.c: New file.
6014 * nptl/pthread_setaffinity.c: New file.
6015 * nptl/pthread_getname.c: New file.
6016 * nptl/pthread_setname.c: New file.
6017
6018 * nptl/pthread_create.c (START_THREAD_DEFN)
6019 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
6020
6021 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6022 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6023
6024 * resolv/res_send.c (send_vc): Disable warning resplen may
6025 be used uninitialized.
6026
6027 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
6028
6029 * nptl/tst-mutex6.c
6030 (ATTR_NULL): New define checks ATTR against NULL.
6031 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
6032 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
6033
6034 2014-12-11 James Lemke <jwlemke@codesourcery.com>
6035
6036 [BZ #17581]
6037 * malloc/hooks.c
6038 (mem2mem_check): Revert my previous change.
6039 (malloc_check_get_size): Revert my previous change.
6040 (mem2chunk_check): Revert my previous change.
6041
6042 2014-12-11 Roland McGrath <roland@hack.frob.com>
6043
6044 * sysdeps/posix/shm-directory.c: New file.
6045 * sysdeps/posix/shm-directory.h: New file.
6046 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
6047 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
6048 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
6049 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
6050 Transmute EPERM to EACCES.
6051 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
6052 from ...
6053 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
6054 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
6055
6056 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6057
6058 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
6059 pointer and cast to uintptr_t.
6060 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
6061 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
6062 Add cast to avoid warning.
6063 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
6064
6065 2014-12-11 Joseph Myers <joseph@codesourcery.com>
6066
6067 * nptl/semaphore.h: Move to ...
6068 * sysdeps/pthread/semaphore.h: ... here.
6069 * Makefile (installed-headers): Change nptl/semaphore.h to
6070 sysdeps/pthread/semaphore.h.
6071
6072 2014-12-11 Roland McGrath <roland@hack.frob.com>
6073
6074 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
6075 generated error format strings.
6076
6077 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
6078 -Wformat-extra-args warnings for scanf formats.
6079 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
6080 test of zero-length format (duh).
6081 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
6082 corner-case scanf format test.
6083 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
6084 generated fprintf format string.
6085 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
6086 corner-case sprintf format tests.
6087 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
6088 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
6089 -Wformat-extra-args warnings throughout.
6090 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
6091 (CFLAGS-scanf4.c): Likewise.
6092 (CFLAGS-scanf7.c): Likewise.
6093 (CFLAGS-tst-sprintf.c): Likewise.
6094 (CFLAGS-tst-printf.c): Likewise.
6095 (CFLAGS-tst-printfsz.c): Likewise.
6096
6097 2014-12-11 Joseph Myers <joseph@codesourcery.com>
6098
6099 * include/cpio.h: New file.
6100 * include/fmtmsg.h: Likewise.
6101
6102 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
6103 corresponding format argument to size_t.
6104 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
6105 arguments.
6106 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
6107 corresponding format argument to size_t.
6108 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
6109 arguments.
6110 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
6111 corresponding format argument to size_t.
6112 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
6113 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
6114 (CFLAGS-tst-mbswcs2.c): Likewise.
6115 (CFLAGS-tst-mbswcs3.c): Likewise.
6116 (CFLAGS-tst-mbswcs4.c): Likewise.
6117 (CFLAGS-tst-mbswcs5.c): Likewise.
6118 (CFLAGS-tst-trans.c): Likewise
6119
6120 2014-12-11 Roland McGrath <roland@hack.frob.com>
6121
6122 * posix/regexbug1.c (main): Use "%s" format with regerror results,
6123 rather than assuming they won't contain any '%'s.
6124
6125 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
6126
6127 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
6128 inhibit_loop_to_libcall to avoid recursive calls.
6129 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
6130 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
6131
6132 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
6133
6134 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
6135 prototype.
6136
6137 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
6138
6139 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
6140 integer value instead of boolean.
6141
6142 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
6143
6144 * malloc/malloc.c: Fix powerof2 check.
6145
6146 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6147
6148 * locale/programs/locfile.h (maybe_swap_uint32):
6149 Remove inline and add unused attribute.
6150
6151 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
6152
6153 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6154 Truncating assembler expression to a .long expression.
6155
6156 2014-12-11 Andreas Schwab <schwab@suse.de>
6157
6158 * elf/rtld.c (struct map_args): Constify str member.
6159 (do_preload): Constify fname argument.
6160
6161 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6162
6163 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
6164 constants definition.
6165
6166 2014-12-11 Andreas Schwab <schwab@suse.de>
6167
6168 [BZ #16657]
6169 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
6170 FORCE_ELISION instead of DO_ELISION.
6171 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
6172 Remove.
6173 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
6174 Likewise.
6175
6176 * iconvdata/gconv-modules: Remove duplicate entry.
6177
6178 2014-12-11 Will Newton <will.newton@linaro.org>
6179
6180 Merge gettext 0.19.3 into intl/.
6181
6182 This involves a number of cosmetic changes to comments
6183 and ANSI function definitions and prototypes throughout
6184 all the files. The gettext copyright header is used but
6185 with the date ranges taken from the glibc copy.
6186
6187 * NEWS: Add gettext merge to 2.21.
6188 * intl/bindtextdom.c: Switch to gettext copyright.
6189 Use ANSI definitions and prototypes.
6190 Use gl_* locking primitives rather than __libc_* ones.
6191 Use __builtin_expect rather than __glibc_likely/unlikely.
6192 * intl/dcgettext.c: Switch to gettext copyright.
6193 Use ANSI definitions and prototypes.
6194 * intl/dcigettext.c: Switch to gettext copyright.
6195 Use ANSI definitions and prototypes.
6196 (INTDIV0_RAISES_SIGFPE): New define.
6197 Use gl_* locking primitives rather than __libc_* ones.
6198 Include eval-plural.h instead of plural-eval.c.
6199 Use __builtin_expect rather than __glibc_likely/unlikely.
6200 * intl/dcngettext.c: Switch to gettext copyright.
6201 Use ANSI definitions and prototypes.
6202 * intl/dgettext.c: Likewise.
6203 * intl/dngettext.c: Likewise.
6204 * intl/plural-eval.c: Renamed to...
6205 * intl/eval-plural.h: ...this.
6206 * intl/explodename.c: Switch to gettext copyright.
6207 Use ANSI definitions and prototypes.
6208 (_nl_explode_name): Use strchr instead of __rawmemchr.
6209 * intl/finddomain.c: Switch to gettext copyright.
6210 Use ANSI definitions and prototypes.
6211 Use gl_* locking primitives rather than __libc_* ones.
6212 (_nl_find_domain): Use malloc rather than alloca for
6213 allocation of temporary locale name.
6214 * intl/gettext.c: Switch to gettext copyright.
6215 Use ANSI definitions and prototypes.
6216 * intl/gettextP.h: Switch to gettext copyright.
6217 Use ANSI definitions and prototypes.
6218 Use gl_* locking primitives rather than __libc_* ones.
6219 * intl/gmo.h: Switch to gettext copyright.
6220 (struct sysdep_string): Move struct segment_pair outside of
6221 struct definition.
6222 * intl/hash-string.c: Use ANSI definitions and prototypes.
6223 * intl/hash-string.h: Switch to gettext copyright.
6224 Use ANSI definitions and prototypes.
6225 * intl/l10nflist.c: Switch to gettext copyright.
6226 Use ANSI definitions and prototypes.
6227 (_nl_normalize_codeset): Avoid integer overflow.
6228 * intl/loadinfo.h: Switch to gettext copyright.
6229 Use ANSI definitions and prototypes.
6230 (LIBINTL_DLL_EXPORTED): New define.
6231 (PATH_SEPARATOR): New define.
6232 * intl/loadmsgcat.c: Switch to gettext copyright.
6233 * intl/localealias.c: Switch to gettext copyright.
6234 Use ANSI definitions and prototypes.
6235 (_nl_expand_alias): Use PATH_SEPARATOR.
6236 * intl/ngettext.c: Switch to gettext copyright.
6237 Use ANSI definitions and prototypes.
6238 * intl/plural-exp.c: Likewise.
6239 * intl/plural-exp.h: Switch to gettext copyright.
6240 Use ANSI definitions and prototypes.
6241 (struct expression): Move definition of enum operator outside
6242 of struct definition.
6243 * intl/plural.c: Regenerate.
6244 * intl/plural.y: Switch to gettext copyright.
6245 Use ANSI definitions and prototypes.
6246 Port to bison 3.0.
6247 * intl/textdomain.c: Switch to gettext copyright.
6248 Use ANSI definitions and prototypes.
6249 Use gl_* locking primitives rather than __libc_* ones.
6250
6251 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
6252
6253 * debug/warning-nop.c: Add used atrribute.
6254
6255 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6256
6257 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
6258
6259 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
6260 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
6261 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
6262
6263 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6264 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6265
6266 [BZ #17634]
6267 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
6268 Undefine after defining function. Define as weak alias of
6269 __wcschr. Use libc_hidden_weak.
6270 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
6271 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
6272 (libc_hidden_def): Also define __GI___wcschr alias.
6273 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
6274 __wcschr and define as weak alias of __wcschr.
6275 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
6276 __wcschr.
6277 [!WCSCHR] (DEFAULT_WCSCHR): Define.
6278 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
6279 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
6280 libc_hidden_weak. Do not use libc_hidden_def.
6281 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
6282 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
6283 __GI___wcschr alias.
6284 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
6285 [IS_IN (libc)] (wcschr): Define as macro expanding to
6286 __redirect_wcschr.
6287 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
6288 [IS_IN (libc)] (__wcschr_power6): Likewise.
6289 [IS_IN (libc)] (__wcschr_power7): Likewise.
6290 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
6291 instead of wcschr.
6292 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
6293 __libc_wcschr.
6294 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
6295 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
6296 __wcschr and define as weak alias of __wcschr. Use
6297 libc_hidden_builtin_def.
6298 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
6299 as weak alias of __wcschr. Use libc_hidden_weak.
6300 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
6301 wcschr.
6302 * time/era.c (_nl_init_era_entries): Likewise.
6303 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
6304 variable.
6305 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6306 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6307
6308 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6309
6310 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
6311 format for long int variable.
6312
6313 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
6314
6315 [BZ #10672]
6316 * manual/search.texi: (Array Sort Function): Remove claim how to make
6317 qsort stable.
6318
6319 2014-12-10 Andreas Schwab <schwab@suse.de>
6320
6321 [BZ #12847]
6322 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
6323 user-controlled locks.
6324
6325 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
6326
6327 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
6328 register.
6329
6330 2014-12-10 Joseph Myers <joseph@codesourcery.com>
6331
6332 * configure.ac (--disable-werror): New configure option.
6333 (enable_werror): New AC_SUBST.
6334 * configure: Regenerated.
6335 * config.make.in (enable-werror): New variable.
6336 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
6337 -Wno-error=undef.
6338 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
6339 * manual/install.texi (Configuring and compiling): Document
6340 --disable-werror.
6341 * INSTALL: Regenerated.
6342 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
6343 (CFLAGS-tst-chk2.c): Likewise.
6344 (CFLAGS-tst-chk3.c): Likewise.
6345 (CFLAGS-tst-chk4.cc): Likewise.
6346 (CFLAGS-tst-chk5.cc): Likewise.
6347 (CFLAGS-tst-chk6.cc): Likewise.
6348 (CFLAGS-tst-lfschk1.c): Likewise.
6349 (CFLAGS-tst-lfschk2.c): Likewise.
6350 (CFLAGS-tst-lfschk3.c): Likewise.
6351 (CFLAGS-tst-lfschk4.cc): Likewise.
6352 (CFLAGS-tst-lfschk5.cc): Likewise.
6353 (CFLAGS-tst-lfschk6.cc): Likewise.
6354
6355 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
6356 (main): Disable -Wdeprecated-declarations around calls to
6357 register_printf_function.
6358
6359 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
6360 (do_test): Disable -Wdiv-by-zero around some calls to
6361 fwrite_unlocked and fread_unlocked.
6362
6363 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
6364 (DIAG_POP_NEEDS_COMMENT): Likewise.
6365 (_DIAG_STR1): Likewise.
6366 (_DIAG_STR): Likewise.
6367 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
6368 * stdio-common/bug21.c: Include <libc-internal.h>.
6369 (do_test): Disable -Wformat around call to sscanf.
6370 * stdio-common/scanf14.c: Include <libc-internal.h>.
6371 (main): Disable -Wformat around some calls to scanf functions.
6372
6373 2014-12-09 Torvald Riegel <triegel@redhat.com>
6374
6375 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
6376
6377 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6378
6379 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
6380 stack variable alignment.
6381
6382 2014-12-06 Joseph Myers <joseph@codesourcery.com>
6383
6384 [BZ #17682]
6385 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
6386 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
6387 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
6388 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
6389 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
6390 __getrlimit instead of getrlimit.
6391 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
6392 __gettimeofday instead of gettimeofday.
6393 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
6394 Likewise.
6395 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
6396 Likewise.
6397 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
6398 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
6399 Remove variable.
6400 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6401 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6402
6403 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6404
6405 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
6406 for wide-character tests.
6407
6408 2014-12-04 Roland McGrath <roland@hack.frob.com>
6409
6410 * io/openat64.c: #include <libc-internal.h>
6411 (__openat64): Prototypify. Use ignore_value on MODE.
6412 * io/openat.c: Likewise.
6413 * misc/reboot.c: #include <libc-internal.h>
6414 (reboot): Prototypify. Use ignore_value on HOWTO.
6415 * misc/ptrace.c: #include <libc-internal.h>
6416 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
6417
6418 2014-12-04 Joseph Myers <joseph@codesourcery.com>
6419
6420 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
6421 XPG4, UNIX98 and XOPEN2K.
6422 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
6423 Remove variable.
6424 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6425
6426 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6427
6428 * libio/fileops.c: Use ISO C style for function definitions.
6429 * libio/iofopen.c: Likewise.
6430 * libio/wfileops.c: Likewise.
6431
6432 [BZ #17653]
6433 * libio/fileops.c (_IO_new_file_underflow): Unset cached
6434 offset on EOF.
6435 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
6436 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
6437 (fgets_func): Function pointer to fgets and fgetws.
6438 (do_ftell_test): Add test to verify ftell value after read
6439 EOF.
6440 (do_test): Set fgets_func.
6441
6442 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
6443 O_TRUNC flag for w and w+ modes.
6444 (do_rewind_test): Likewise.
6445 (do_ftell_test): Likewise.
6446 (do_write_test): Likewise.
6447
6448 [BZ #17647]
6449 * libio/fileops.c (do_ftell): Seek only when there are
6450 unflushed writes.
6451 * libio/wfileops.c (do_ftell_wide): Likewise.
6452 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
6453 test case.
6454 (do_one_test): Call it.
6455
6456 2014-12-03 Joseph Myers <joseph@codesourcery.com>
6457
6458 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
6459 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
6460 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
6461 Remove variable.
6462 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6463 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6464 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6465
6466 2014-12-02 Joseph Myers <joseph@codesourcery.com>
6467
6468 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
6469 Remove variable.
6470 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6471
6472 [BZ #17668]
6473 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
6474 as weak alias of __getifaddrs. Use libc_hidden_weak.
6475 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6476 __freeifaddrs. Use libc_hidden_weak.
6477 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
6478 define as weak alias of __getifaddrs. Use libc_hidden_weak.
6479 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6480 __freeifaddrs. Use libc_hidden_weak.
6481 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
6482 __getifaddrs and define as weak alias of __getifaddrs. Use
6483 libc_hidden_weak.
6484 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
6485 __freeifaddrs. Use libc_hidden_weak.
6486 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
6487 Remove variable.
6488 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6489 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6490
6491 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
6492
6493 [BZ #17601]
6494 * sysdeps/mips/start.S (__start): Use indirect jump to call
6495 __libc_start_main.
6496
6497 2014-12-02 Joseph Myers <joseph@codesourcery.com>
6498
6499 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
6500
6501 * nptl/tst-mutex1.c: Include <stdbool.h>.
6502 [!ATTR] (ATTR_NULL): New macro.
6503 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
6504 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
6505 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
6506
6507 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
6508 to char *.
6509
6510 [BZ #17665]
6511 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
6512 Change conditional to [__USE_MISC].
6513
6514 [BZ #17664]
6515 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
6516 fgets_unlocked.
6517 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
6518 __fgets_unlocked.
6519 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
6520 fgets_unlocked.
6521 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
6522 Remove variable.
6523 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6524 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6525 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6526 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6527 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6528 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6529 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6530 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6531 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6532
6533 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
6534
6535 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6536
6537 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6538 Remove strpbrk objects.
6539 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6540 (__libc_ifunc_impl_list): Remove strpbrk implementation.
6541 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
6542 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
6543 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
6544 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
6545
6546 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6547 Remove strcspn objects.
6548 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6549 (__libc_ifunc_impl_list): Remove strcspn implementation.
6550 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
6551 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
6552 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
6553 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
6554
6555 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6556 Remove strspn objetcs.
6557 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6558 (__libc_ifunc_impl_list): Remove strspn implementation.
6559 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
6560 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
6561 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
6562 * sysdeps/powerpc/powerpc64/strspn.S: New file.
6563
6564 2014-12-01 James Lemke <jwlemke@codesourcery.com>
6565
6566 [BZ #17581]
6567 * malloc/hooks.c
6568 (mem2mem_check): Add a terminator to the chain of checking blocks.
6569 (malloc_check_get_size): Use it here.
6570 (mem2chunk_check): Ditto.
6571
6572 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6573
6574 * sysdeps/powerpc/powerpc64/strtok.S: New file.
6575 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
6576
6577 2014-11-29 Carlos O'Donell <carlos@redhat.com>
6578
6579 * bits/ioctl-types.h: Indent preprocessor directives correctly.
6580
6581 * nptl/nptl-init.c: Include libc-internal.h.
6582 (__pthread_initialize_minimal_internal): Use ROUND_UP.
6583
6584 * elf/ldconfig.c (search_dir): Expand comment.
6585
6586 2014-11-29 Joseph Myers <joseph@codesourcery.com>
6587
6588 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
6589 variable.
6590 (linknamespace-symlist-stdlibs-tests): Likewise.
6591 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
6592 instead of $(objpfx)symlist-stdlibs.
6593 (linknamespace-libs-isoc): New variable.
6594 (linknamespace-libs): Use $(linknamespace-libs-isoc).
6595 (linknamespace-libs-ISO): New variable.
6596 (linknamespace-libs-ISO99): Likewise.
6597 (linknamespace-libs-ISO11): Likewise.
6598 (linknamespace-libs-XPG3): Likewise.
6599 (linknamespace-libs-XPG4): Likewise.
6600 (linknamespace-libs-POSIX): Likewise.
6601 (linknamespace-libs-UNIX98): Likewise.
6602 (linknamespace-libs-XOPEN2K): Likewise.
6603 (linknamespace-libs-POSIX2008): Likewise.
6604 (linknamespace-libs-XOPEN2K8): Likewise.
6605 ($(objpfx)symlist-stdlibs): Replace by
6606 $(linknamespace-symlist-stdlibs-tests). Use
6607 $(linknamespace-libs-$*) as set of libraries.
6608 ($(linknamespace-header-tests)): Update dependencies. Use
6609 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
6610 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
6611 * conform/linknamespace.pl: Remove comment about considering
6612 definitions of symbols from irrelevant libraries.
6613
6614 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
6615
6616 [BZ #13862]
6617 * elf/dl-tls.c: Include <atomic.h>.
6618 (oom): Remove #ifdef SHARED/#endif.
6619 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
6620 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
6621 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
6622 big enough.
6623 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
6624 * nptl/Makefile (tests): Add tst-stack4.
6625 (modules-names): Add tst-stack4mod.
6626 ($(objpfx)tst-stack4): New.
6627 (tst-stack4mod.sos): Likewise.
6628 ($(objpfx)tst-stack4.out): Likewise.
6629 ($(tst-stack4mod.sos)): Likewise.
6630 (clean): Likewise.
6631 * nptl/tst-stack4.c: New file.
6632 * nptl/tst-stack4mod.c: Likewise.
6633
6634 2014-11-27 J. Brown <jb999@gmx.de>
6635
6636 * sysdeps/x86/bits/string.h: Add recent CPUs.
6637
6638 2014-11-27 Joseph Myers <joseph@codesourcery.com>
6639
6640 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
6641 sigblock.
6642
6643 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
6644 feof.
6645
6646 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
6647 variable.
6648
6649 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
6650
6651 * nscd/connections.c: Include libc-internal.h because of macro
6652 usage ignore_value.
6653
6654 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
6655
6656 * string/bits/string3.h (__warn_memset_zero_len): Don't
6657 declare for gcc newer than 5.0.
6658 (memset): Don't test for zero-length __LEN for gcc newer than
6659 5.0.
6660
6661 2014-11-27 Joseph Myers <joseph@codesourcery.com>
6662
6663 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
6664 size_t for %zu format.
6665
6666 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
6667 difference, not %ju.
6668
6669 2014-11-26 Joseph Myers <joseph@codesourcery.com>
6670
6671 * include/libc-internal.h (ignore_value): New macro.
6672 * nscd/connections.c (restart): Wrap calls to setuid and setgid
6673 with ignore_value.
6674
6675 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
6676 definition.
6677
6678 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
6679 pthread_cleanup_push to void *.
6680
6681 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
6682 Undefine.
6683
6684 [BZ #16619]
6685 [BZ #16740]
6686 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
6687 instead of 1L << 52.
6688
6689 * libio/bug-rewind.c (do_test): Check fwscanf return values.
6690 * libio/bug-rewind2.c (do_test): Likewise.
6691
6692 * debug/test-stpcpy_chk-ifunc.c: Remove file.
6693 * debug/test-strcpy_chk-ifunc.c: Likewise.
6694 * wcsmbs/test-wcschr-ifunc.c: Likewise.
6695 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
6696 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
6697 * wcsmbs/test-wcslen-ifunc.c: Likewise.
6698 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
6699 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
6700 * Rules [$(multi-arch) = no] (tests): Do not filter out
6701 $(tests-ifunc).
6702 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
6703 * debug/Makefile (tests-ifunc): Remove variable.
6704 (tests): Do not add $(tests-ifunc).
6705 * wcsmbs/Makefile (tests-ifunc): Remove variable.
6706 (tests): Do not add $(tests-ifunc).
6707 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
6708 [TEST_IFUNC]: Remove conditionals.
6709 * string/test-string.h (TEST_IFUNC): Remove macro.
6710 [TEST_IFUNC]: Remove conditionals.
6711
6712 * string/test-strchr.c [!WIDE] (L): New macro.
6713 [WIDE] (L): Likewise.
6714 (check1): Use CHAR instead of char. Use L on string and character
6715 constants.
6716
6717 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
6718
6719 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
6720 tests.
6721 * sysdeps/powerpc/bits/atomic.h
6722 (__arch_atomic_exchange_and_add_32_acq): Add definition.
6723 (__arch_atomic_exchange_and_add_32_rel): Likewise.
6724 (atomic_exchange_and_add_acq): Likewise.
6725 (atomic_exchange_and_add_rel): Likewise.
6726 * sysdeps/powerpc/powerpc32/bits/atomic.h
6727 (__arch_atomic_exchange_and_add_64_acq): Add definition.
6728 (__arch_atomic_exchange_and_add_64_rel): Likewise.
6729 * sysdeps/powerpc/powerpc64/bits/atomic.h
6730 (__arch_atomic_exchange_and_add_64_acq): Add definition.
6731 (__arch_atomic_exchange_and_add_64_rel): Likewise.
6732
6733 2014-11-26 Torvald Riegel <triegel@redhat.com>
6734
6735 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
6736 Change synchronization of __sched_fifo_min_prio and
6737 __sched_fifo_max_prio.
6738 * nptl/pthread_mutexattr_getprioceiling.c
6739 (pthread_mutexattr_getprioceiling): Likewise.
6740 * nptl/pthread_mutexattr_setprioceiling.c
6741 (pthread_mutexattr_setprioceiling): Likewise.
6742 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
6743 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
6744 Likewise.
6745
6746 2014-11-26 Joseph Myers <joseph@codesourcery.com>
6747
6748 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
6749 void.
6750
6751 2014-11-25 Joseph Myers <joseph@codesourcery.com>
6752
6753 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
6754 third argument const.
6755
6756 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
6757
6758 fnmatch: work around GCC compiler warning bug with uninit var
6759 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
6760 This works around a bug with x86-64 GCC 4.9.2 and earlier
6761 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
6762 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
6763 used uninitialized in this function [-Wmaybe-uninitialized]".
6764
6765 2014-11-25 Joseph Myers <joseph@codesourcery.com>
6766
6767 * posix/bug-regex31.c (main): Return RES not 0.
6768
6769 2014-11-25 Anton Blanchard <anton@samba.org>
6770
6771 * sysdeps/powerpc/bits/atomic.h
6772 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
6773
6774 2014-11-24 Sterling Augustine <saugustine@google.com>
6775
6776 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
6777
6778 2014-11-24 Ryan Cumming <etaoins@gmail.com>
6779
6780 [BZ #17608]
6781 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
6782
6783 2014-11-24 Joseph Myers <joseph@codesourcery.com>
6784
6785 [BZ #17633]
6786 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
6787 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
6788 variable.
6789 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6790 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6791
6792 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
6793
6794 * string/strncpy.c (strncpy): Improve performance by using memset.
6795
6796 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
6797
6798 * string/strcpy.c (strcpy):
6799 Improve performance by using strlen and memcpy.
6800
6801 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
6802
6803 * string/strcoll_l.c (get_next_seq): __always_inline.
6804 * string/strcoll_l.c (do_compare): __always_inline.
6805
6806 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6807
6808 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
6809 defined.
6810 * include/mqueue.h: Likewise.
6811 * include/stdlib.h: Likewise.
6812
6813 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
6814 (get_null_defines): Adjust.
6815 * sunrpc/Makefile: Adjust comment.
6816 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
6817 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
6818 (CFLAGS-interp.c): Likewise.
6819 (CFLAGS-ldconfig.c): Likewise.
6820 (CPPFLAGS-.os): Likewise.
6821 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
6822 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
6823 * extra-modules.mk (extra-modules.mk): Likewise.
6824 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
6825 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
6826 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
6827 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
6828 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
6829 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
6830 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
6831 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
6832 * iconvdata/Makefile (CPPFLAGS): Likewise.
6833 (cpp-srcs-left): Add libof for all iconvdata routines.
6834 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
6835 * include/assert.h: Likewise.
6836 * include/ctype.h: Likewise.
6837 * include/errno.h: Likewise.
6838 * include/libc-symbols.h: Likewise.
6839 * include/math.h: Likewise.
6840 * include/netdb.h: Likewise.
6841 * include/resolv.h: Likewise.
6842 * include/stdio.h: Likewise.
6843 * include/stdlib.h: Likewise.
6844 * include/string.h: Likewise.
6845 * include/sys/stat.h: Likewise.
6846 * include/wctype.h: Likewise.
6847 * intl/l10nflist.c: Likewise.
6848 * libidn/idn-stub.c: Likewise.
6849 * libio/libioP.h: Likewise.
6850 * nptl/libc_multiple_threads.c: Likewise.
6851 * nptl/pthreadP.h: Likewise.
6852 * posix/regex_internal.h: Likewise.
6853 * resolv/res_hconf.c: Likewise.
6854 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
6855 * sysdeps/arm/memmove.S: Likewise.
6856 * sysdeps/arm/sysdep.h: Likewise.
6857 * sysdeps/generic/_itoa.h: Likewise.
6858 * sysdeps/generic/symbol-hacks.h: Likewise.
6859 * sysdeps/gnu/errlist.awk: Likewise.
6860 * sysdeps/gnu/errlist.c: Likewise.
6861 * sysdeps/i386/i586/memcpy.S: Likewise.
6862 * sysdeps/i386/i586/memset.S: Likewise.
6863 * sysdeps/i386/i686/memcpy.S: Likewise.
6864 * sysdeps/i386/i686/memmove.S: Likewise.
6865 * sysdeps/i386/i686/mempcpy.S: Likewise.
6866 * sysdeps/i386/i686/memset.S: Likewise.
6867 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6868 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6869 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
6870 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
6871 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6872 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6873 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
6874 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6875 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6876 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6877 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6878 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6879 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6880 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6881 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6882 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6883 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
6884 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
6885 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
6886 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6887 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6888 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6889 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6890 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6891 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6892 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6893 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
6894 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6895 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
6896 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
6897 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6898 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6899 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6900 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6901 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6902 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
6903 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6904 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6905 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
6906 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
6907 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6908 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6909 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
6910 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
6911 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6912 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6913 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
6914 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
6915 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6916 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
6917 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6918 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
6919 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
6920 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6921 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
6922 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
6923 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6924 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
6925 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
6926 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6927 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
6928 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6929 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
6930 * sysdeps/nptl/bits/libc-lock.h: Likewise.
6931 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
6932 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
6933 * sysdeps/posix/closedir.c: Likewise.
6934 * sysdeps/posix/opendir.c: Likewise.
6935 * sysdeps/posix/readdir.c: Likewise.
6936 * sysdeps/posix/rewinddir.c: Likewise.
6937 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
6938 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
6939 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6940 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6941 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6942 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
6943 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
6944 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
6945 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
6946 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
6947 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
6948 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
6949 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
6950 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
6951 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
6952 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
6953 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
6954 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
6955 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
6956 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
6957 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
6958 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
6959 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
6960 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
6961 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
6962 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
6963 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
6964 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
6965 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
6966 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
6967 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
6968 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
6969 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
6970 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
6971 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
6972 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
6973 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6974 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6975 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
6976 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
6977 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
6978 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
6979 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
6980 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6981 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
6982 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
6983 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
6984 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
6985 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
6986 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6987 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
6988 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
6989 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
6990 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
6991 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
6992 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
6993 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
6994 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
6995 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
6996 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
6997 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6998 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
6999 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7000 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7001 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
7002 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
7003 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
7004 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
7005 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
7006 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
7007 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
7008 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7009 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
7010 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7011 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7012 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
7013 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
7014 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7015 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7016 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
7017 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7018 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7019 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
7020 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
7021 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7022 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
7023 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
7024 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7025 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7026 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7027 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
7028 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
7029 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
7030 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7031 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7032 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
7033 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7034 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7035 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
7036 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
7037 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7038 * sysdeps/unix/alpha/sysdep.S: Likewise.
7039 * sysdeps/unix/alpha/sysdep.h: Likewise.
7040 * sysdeps/unix/make-syscalls.sh: Likewise.
7041 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7042 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7043 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7044 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7045 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7046 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7047 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
7048 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7049 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7050 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
7051 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7052 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7053 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7054 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7055 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7056 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7057 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7058 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7059 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7060 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7061 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7062 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7063 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7064 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7065 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7066 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7067 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7070 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
7071 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7072 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7073 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7074 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7075 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7076 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7077 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7078 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7079 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7080 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7081 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7082 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7083 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7084 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7085 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7086 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7087 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7088 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7089 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7090 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7091 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7092 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7093 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7094 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7095 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
7096 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7097 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7098 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7099 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
7100 * sysdeps/x86_64/memcpy.S: Likewise.
7101 * sysdeps/x86_64/memmove.c: Likewise.
7102 * sysdeps/x86_64/memset.S: Likewise.
7103 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
7104 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7105 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7106 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
7107 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7108 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7109 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7110 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7111 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7112 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7113 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7114 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7115 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
7116 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7117 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7118 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
7119 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7120 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7121 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7122 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7123 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
7124 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7125 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7126 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7127 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7128 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7129 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7130 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
7131 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7132 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7133 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
7134 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7135 * sysdeps/x86_64/strcmp.S: Likewise.
7136
7137 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
7138
7139 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
7140 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
7141 * elf/rtld-Rules: Likewise.
7142 * elf/setup-vdso.h: Likewise.
7143 * include/assert.h: Likewise.
7144 * include/bits/stdlib-float.h: Likewise.
7145 * include/errno.h: Likewise.
7146 * include/sys/stat.h: Likewise.
7147 * include/unistd.h: Likewise.
7148 * sysdeps/aarch64/setjmp.S: Likewise.
7149 * sysdeps/alpha/setjmp.S: Likewise.
7150 * sysdeps/arm/__longjmp.S: Likewise.
7151 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
7152 * sysdeps/arm/setjmp.S: Likewise.
7153 * sysdeps/arm/sysdep.h: Likewise.
7154 * sysdeps/generic/_itoa.h: Likewise.
7155 * sysdeps/generic/dl-sysdep.h: Likewise.
7156 * sysdeps/generic/ldsodefs.h: Likewise.
7157 * sysdeps/i386/dl-tls.h: Likewise.
7158 * sysdeps/i386/setjmp.S: Likewise.
7159 * sysdeps/m68k/setjmp.c: Likewise.
7160 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
7161 * sysdeps/mach/hurd/opendir.c: Likewise.
7162 * sysdeps/posix/getcwd.c: Likewise.
7163 * sysdeps/posix/opendir.c: Likewise.
7164 * sysdeps/posix/profil.c: Likewise.
7165 * sysdeps/powerpc/dl-procinfo.h: Likewise.
7166 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7167 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7168 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7169 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7170 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
7171 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7172 * sysdeps/s390/dl-tls.h: Likewise.
7173 * sysdeps/s390/s390-32/setjmp.S: Likewise.
7174 * sysdeps/s390/s390-64/setjmp.S: Likewise.
7175 * sysdeps/sh/sh3/setjmp.S: Likewise.
7176 * sysdeps/sh/sh4/setjmp.S: Likewise.
7177 * sysdeps/unix/alpha/sysdep.h: Likewise.
7178 * sysdeps/unix/arm/sysdep.S: Likewise.
7179 * sysdeps/unix/i386/sysdep.S: Likewise.
7180 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7181 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7182 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7183 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7184 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7185 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7186 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7187 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7188 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7189 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7190 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7191 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7192 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7195 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7196 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7197 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7198 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7199 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7200 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7201 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7202 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7203 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7204 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7205 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7206 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7207 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7208 * sysdeps/x86_64/setjmp.S: Likewise.
7209
7210 * include/math.h: Use IS_IN instead of IS_IN_libm.
7211 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
7212 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7213 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7214 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7215 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7216 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7217 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7218 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7219 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7220 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7221 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
7222 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
7223 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
7224 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
7225 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
7226 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
7227 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
7228 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
7229 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
7230 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
7231 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
7232 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
7233 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
7234 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
7235 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
7236 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
7237 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
7238 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
7239 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
7240 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
7241 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
7242 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
7243 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
7244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
7245 Likewise.
7246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
7247 Likewise.
7248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
7249 Likewise.
7250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
7251 Likewise.
7252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
7253 Likewise.
7254 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
7255 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
7256 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
7257 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7258 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7259 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
7261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
7262 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
7263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
7264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
7265 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
7266 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
7267 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
7268 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
7269 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
7270 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
7271 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
7272 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
7273 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
7274 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
7275 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
7276 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
7277 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
7278 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
7279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
7280 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
7281
7282 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
7283 * nptl/pthreadP.h: Likewise.
7284 * nptl_db/structs.def: Likewise.
7285 * sysdeps/arm/sysdep.h: Likewise.
7286 * sysdeps/nptl/bits/libc-lock.h: Likewise.
7287 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7288 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
7289 * sysdeps/unix/alpha/sysdep.h: Likewise.
7290 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7291 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7292 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7293 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7294 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7295 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7296 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7297 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7298 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7299 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7300 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7301 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7302 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7303 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7306 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7307 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7308 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7309 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7310 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7311 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7312 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7313 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7314 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
7315 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7316
7317 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
7318 * nptl/pthreadP.h: Likewise.
7319 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7320 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7321 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7322 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7323 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7324 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7325 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7326 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7327 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7328 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7329 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7330 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
7332 Likewise.
7333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
7334 Likewise.
7335 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7336 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7337 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7338 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7339 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7340 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7341 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7342 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7343
7344 * dlfcn/dladdr.c: Use IS_IN.
7345 * dlfcn/dladdr1.c: Likewise.
7346 * dlfcn/dlclose.c: Likewise.
7347 * dlfcn/dlerror.c: Likewise.
7348 * dlfcn/dlinfo.c: Likewise.
7349 * dlfcn/dlmopen.c: Likewise.
7350 * dlfcn/dlopen.c: Likewise.
7351 * dlfcn/dlsym.c: Likewise.
7352 * dlfcn/dlvsym.c: Likewise.
7353
7354 * include/ifaddrs.h: Use IS_IN.
7355 * inet/check_pf.c: Likewise.
7356 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7357 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
7358
7359 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
7360 IS_IN_ldconfig.
7361 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
7362 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
7363
7364 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
7365 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
7366 IS_IN (libc).
7367
7368 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
7369
7370 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
7371 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7372 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7373 * include/libc-symbols.h (IS_IN_LIB): New macro.
7374 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
7375 * include/netdb.h: Likewise.
7376 * include/stap-probe.h: Remove all uses of IN_LIB.
7377
7378 * Makeconfig (module-cppflags-real): Define MODULE_NAME
7379 instead of IN_MODULE.
7380 * include/libc-symbols.h (IN_MODULE): Define using
7381 MODULE_NAME.
7382 (PASTE_NAME, PASTE_NAME1): New macros.
7383 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
7384 of IN_LIB.
7385 (STAP_PROBE_ASM): Likewise.
7386
7387 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
7388
7389 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
7390 __mach_init in dlopened libc.
7391
7392 2014-11-22 Mike Frysinger <vapier@gentoo.org>
7393
7394 * sysdeps/arm/preconfigure.ac: Delete EABI check.
7395 * sysdeps/arm/preconfigure: Regenerate.
7396
7397 2014-11-21 Roland McGrath <roland@hack.frob.com>
7398
7399 * nptl/pthread_create.c (__pthread_create_2_1): Set
7400 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
7401 when copying values from IATTR into PD.
7402
7403 2014-11-21 Will Newton <will.newton@linaro.org>
7404 Andrew Pinski <andrew.pinski@caviumnetworks.com>
7405
7406 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
7407 Refactor inline-asm. Also add comment.
7408
7409 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
7410 ElfW macro instead of hardcoded Elf64 types.
7411 (la_aarch64_gnu_pltenter): Likewise.
7412 * sysdeps/aarch64/dl-machine.h
7413 (elf_machine_runtime_setup): Use ElfW(Addr).
7414
7415 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
7416 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
7417 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
7418 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
7419 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
7420 (R_AARCH64_TLS_DTPMOD64): Rename to ..
7421 (R_AARCH64_TLS_DTPMOD): This.
7422 (R_AARCH64_TLS_DTPREL64): Rename to ...
7423 (R_AARCH64_TLS_DTPREL): This.
7424 (R_AARCH64_TLS_TPREL64): Rename to ...
7425 (R_AARCH64_TLS_TPREL): This.
7426 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
7427 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
7428 R_AARCH64_TLS_TPREL64.
7429 (elf_machine_rela): Likewise.
7430
7431 2014-11-21 Torvald Riegel <triegel@redhat.com>
7432
7433 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
7434 by setting it to 0. 64b atomics are not supported currently.
7435
7436 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7437
7438 [BZ #16469]
7439 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
7440 search domain names.
7441
7442 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7443
7444 [BZ #16469]
7445 * NEWS: Update.
7446 * resolv/res_query.c (__libc_res_nquerydomain): Retain
7447 trailing dot.
7448 * posix/tst-getaddrinfo5.c: New.
7449 * posix/Makefile (tests): Add it.
7450
7451 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7452
7453 [BZ #14498]
7454 * NEWS: Fixed.
7455 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
7456 after parsing line but before break_if_match.
7457 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
7458 if there is a protocol mismatch.
7459
7460 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
7461
7462 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
7463 because the potential race is on the user-supplied stream.
7464
7465 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7466
7467 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
7468 string literal if not passed a buffer.
7469 * manual/job.texi (ctermid): Update reasoning, note deviation
7470 from posix, suggest mtasurace when not passed a buffer, for
7471 future non-preliminary safety notes.
7472
7473 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7474
7475 * manual/users.texi (cuserid): Fix MT-Safety note for the case
7476 of not passing it a buffer.
7477 Reported by Peng Haitao.
7478
7479 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
7480
7481 * manual/Makefile ($(objpfx)stamp-summary): Require
7482 check-safety.sh to pass.
7483 * manual/check-safety.sh: Wish for verification that every
7484 @deftypefn and @deftypefun is followed by a @safety remark.
7485
7486 2014-11-20 Roland McGrath <roland@hack.frob.com>
7487
7488 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
7489
7490 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
7491 PTHREAD_CANCEL_ASYNCHRONOUS.
7492 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
7493 send SIGCANCEL.
7494
7495 * nptl/default-sched.h: New file.
7496 * sysdeps/unix/sysv/linux/default-sched.h: New file.
7497 * nptl/pthread_create.c: Include it.
7498 (__pthread_create_2_1): Use collect_default_sched instead of making
7499 Linux syscalls here directly.
7500
7501 2014-11-20 Torvald Riegel <triegel@redhat.com>
7502
7503 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
7504 __pthread_once): Use C11 atomics.
7505
7506 2014-11-20 Torvald Riegel <triegel@redhat.com>
7507
7508 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
7509
7510 2014-11-20 Torvald Riegel <triegel@redhat.com>
7511
7512 * include/atomic.h (__atomic_link_error, __atomic_check_size,
7513 atomic_thread_fence_acquire, atomic_thread_fence_release,
7514 atomic_thread_fence_seq_cst, atomic_load_relaxed,
7515 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
7516 atomic_compare_exchange_weak_relaxed,
7517 atomic_compare_exchange_weak_acquire,
7518 atomic_compare_exchange_weak_release,
7519 atomic_exchange_acquire, atomic_exchange_release,
7520 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
7521 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
7522 atomic_fetch_and_acquire,
7523 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
7524
7525 2014-11-20 Torvald Riegel <triegel@redhat.com>
7526
7527 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
7528 USE_ATOMIC_COMPILER_BUILTINS): Define.
7529 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
7530 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7531 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
7532 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7533 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
7534 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7535 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
7536 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7537 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
7538 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7539 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
7540 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7541 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
7542 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7543 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
7544 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7545 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7546 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7547 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7548 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7549 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
7550 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7551 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
7552 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7553 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
7554 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7555 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
7556 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7557 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
7558 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7559 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
7560 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7561 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
7562 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7563 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
7564 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7565 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
7566 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7567 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
7568 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
7569
7570 2014-11-19 Roland McGrath <roland@hack.frob.com>
7571
7572 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
7573 the sched_priority value here. It was already checked when the user
7574 called pthread_attr_setschedparam.
7575
7576 * nptl/tst-bad-schedattr.c: New file.
7577 * nptl/Makefile (tests): Add it.
7578
7579 2014-11-19 Carlos O'Donell <carlos@redhat.com>
7580 Florian Weimer <fweimer@redhat.com>
7581 Joseph Myers <joseph@codesourcery.com>
7582 Adam Conrad <adconrad@0c3.net>
7583 Andreas Schwab <schwab@suse.de>
7584 Brooks <bmoses@google.com>
7585
7586 [BZ #17625]
7587 * wordexp-test.c (__dso_handle): Add prototype.
7588 (__register_atfork): Likewise.
7589 (__app_register_atfork): New function.
7590 (registered_forks): New global.
7591 (register_fork): New function.
7592 (test_case): Add 3 new tests for WRDE_CMDSUB.
7593 (main): Call __app_register_atfork.
7594 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
7595 fork count is non-zero fail the test.
7596 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
7597 is set.
7598 (parse_dollars): Remove check for WRDE_NOCMD.
7599 (parse_dquote): Likewise.
7600
7601 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7602
7603 * Makeconfig (built-modules): List non-library modules to be
7604 built.
7605 (module-cppflags): Include libc-modules.h for
7606 everything except shlib-versions.v.i.
7607 (CPPFLAGS): Use it.
7608 (before-compile): Add libc-modules.h.
7609 ($(common-objpfx)libc-modules.h,
7610 $(common-objpfx)libc-modules.stmp): New targets.
7611 (common-generated): Add libc-modules.h and libc-modules.stmp.
7612 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
7613 * include/libc-symbols.h: Don't include libc-modules.h.
7614 * include/libc-modules.h: Remove file.
7615 * scripts/gen-libc-modules.awk: New script to generate
7616 libc-modules.h.
7617 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
7618 Depend on libc-modules.stmp.
7619
7620 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
7621
7622 * Makeconfig (in-module): Get value of libof set for the
7623 translation unit.
7624 (CPPFLAGS): Use $(in-module).
7625 * Makerules: Don't suffix routine names for nonlib.
7626 * include/libc-modules.h: New file.
7627 * include/libc-symbols.h: Include libc-modules.h
7628 (IS_IN): New macro to replace IS_IN_* macros.
7629 * elf/Makefile: Set libof-* for each routine.
7630 * elf/rtld-Rules: Likewise.
7631 * extra-modules.mk: Likewise.
7632 * iconv/Makefile: Likewise.
7633 * iconvdata/Makefile: Likewise.
7634 * locale/Makefile: Likewise.
7635 * malloc/Makefile: Likewise.
7636 * nss/Makefile: Likewise.
7637 * sysdeps/gnu/Makefile: Likewise.
7638 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
7639 * sysdeps/unix/sysv/linux/Makefile: Likewise.
7640 * sysdeps/s390/s390-64/Makefile: Likewise.
7641 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
7642 CPPFLAGS for nscd instead of nonlib.
7643
7644 2014-11-18 Roland McGrath <roland@hack.frob.com>
7645
7646 * nptl/createthread.c: New file.
7647
7648 * nptl/createthread.c: Moved ...
7649 * sysdeps/unix/sysv/linux/createthread.c: ... here.
7650
7651 * nptl/createthread.c: Add proper top-line comment.
7652 (do_clone): Folded into ...
7653 (create_thread): ... here. Take new arguments STOPPED_START and
7654 THREAD_RAN. Always set PD->stopped_start to something here. Don't
7655 increment __nptl_threads, do event-reporting logic, do
7656 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
7657 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
7658 resource cleanup if sched_setaffinity or sched_setscheduler fails,
7659 just send SIGCANCEL.
7660 * nptl/pthread_create.c: Forward-declare create_thread before
7661 including createthread.c.
7662 (start_thread): Use new macro START_THREAD_DEFN to replace defining
7663 declaration, and new macro START_THREAD_SELF to replace argument.
7664 Remove return statement.
7665 (report_thread_creation): New function.
7666 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
7667 synchronization logic, and __nptl_nthreads increment here, around
7668 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
7669 PD->parent_cancelhandling here, before create_thread. When
7670 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
7671 __deallocate_stack, and ENOMEM translation here.
7672
7673 2014-11-18 Joseph Myers <joseph@codesourcery.com>
7674
7675 [BZ #17616]
7676 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
7677 (mptwo): Rename to __mptwo.
7678 (__inv): Use __mptwo instead of mptwo.
7679 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
7680 (mptwo): Rename to __mptwo.
7681 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
7682 of mpone and __mptwo instead of mptwo.
7683 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
7684 instead of mpone.
7685 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7686 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
7687 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
7688 of mpone and __mptwo instead of mptwo.
7689 (__mpranred): Use __mpone instead of mpone.
7690 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
7691 variable.
7692 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7693 (test-xfail-ISO99/math.h/linknamespace): Likewise.
7694 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7695 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7696 (test-xfail-ISO11/math.h/linknamespace): Likewise.
7697 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7698 (test-xfail-XPG3/math.h/linknamespace): Likewise.
7699 (test-xfail-XPG4/math.h/linknamespace): Likewise.
7700 (test-xfail-POSIX/math.h/linknamespace): Likewise.
7701 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7702 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7703 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7704 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7705 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7706 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7707 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
7708 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
7709 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
7710 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
7711
7712 2014-11-18 Tom de Vries <tom@codesoucery.com>
7713
7714 * manual/signal.texi (Primitives Interrupted by Signals): In section,
7715 replace BSD Handler xref with BSD Signal Handling.
7716
7717 2014-11-17 Richard Henderson <rth@redhat.com>
7718
7719 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
7720 (_FP_PACK_RAW_2): Remove.
7721 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
7722 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
7723 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
7724 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
7725 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
7726 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
7727 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
7728 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
7729 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
7730 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
7731 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
7732 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
7733 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
7734 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
7735 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
7736 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
7737
7738 2014-11-14 Roland McGrath <roland@hack.frob.com>
7739
7740 * signal/signal.h [__USE_MISC]
7741 (struct sigvec): Remove type.
7742 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
7743 (sigvec): Remove declaration.
7744 * sysdeps/posix/sigvec.c: Moved ...
7745 * signal/sigvec.c: ... here, replacing old file.
7746 (struct sigvec): New type, copied from old signal.h definition.
7747 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
7748 (__sigvec): Convert definition to prototype.
7749 (sigvec): Replace weak_alias with compat_symbol.
7750 * signal/Versions (libc: GLIBC_2.21): New version set.
7751 * include/signal.h: Remove __sigvec declaration.
7752 * sysdeps/unix/bsd/sigvec.c: Remove file.
7753 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
7754 * manual/signal.texi (BSD Handler): Remove subsection.
7755 Move siginterrupt up to ...
7756 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
7757 (Blocking in BSD): Fold subsection into its parent.
7758 * NEWS: Mention sigvec removal.
7759
7760 2014-11-14 Joseph Myers <joseph@codesourcery.com>
7761
7762 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
7763 (DLA_FMS): Make definition conditional only on [__FMA4__].
7764 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
7765 definition.
7766
7767 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
7768 Make definition conditional only on [PROF].
7769 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
7770 definition.
7771 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
7772 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
7773
7774 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
7775 !__GNUC__].
7776 * include/signal.h (__sigpause): Move declaration above call to
7777 libc_hidden_proto.
7778 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
7779 variable.
7780 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7781 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7782
7783 2014-11-14 David S. Miller <davem@davemloft.net>
7784
7785 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
7786 Define before including <string/memcpy.c> and <string/mempcpy.c>.
7787
7788 2014-11-14 Joseph Myers <joseph@codesourcery.com>
7789
7790 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
7791 * configure: Regenerated.
7792 * manual/install.texi (Tools for Compilation): Document a
7793 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
7794 compiler verified to work.
7795 * INSTALL: Regenerated.
7796
7797 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
7798 redeclare with asm name.
7799 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
7800 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
7801 including <string.h>.
7802 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7803 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
7804 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7805 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
7806 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7807 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
7808 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
7809
7810 2014-11-13 Joseph Myers <joseph@codesourcery.com>
7811
7812 * stdlib/strtol.c (__strtol): Use prototype definition.
7813
7814 [BZ #17594]
7815 * stdlib/strtol.c (SYM__): New macro.
7816 (SYM__1): Likewise.
7817 (__strtol): Likewise.
7818 (strtol): Rename to __strtol and define as weak alias of
7819 __strtol. Use libc_hidden_weak.
7820
7821 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7822
7823 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
7824 Use numbered labels in inline assembly.
7825
7826 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7827
7828 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
7829 Add setjmp LIBC_PROBE.
7830 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
7831 Likewise.
7832 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
7833 Add longjmp, longjmp_target LIBC_PROBE.
7834 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
7835 Likewise.
7836
7837 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7838
7839 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
7840 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
7841 to get rid of unused variable warning.
7842
7843 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
7844
7845 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
7846 Check for unwind_backtrace == NULL only in SHARED case.
7847 (__backchain_backtrace): Compile only in SHARED case.
7848 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
7849 Likewise.
7850 (__backchain_backtrace): Declare as static.
7851
7852 2014-11-12 Roland McGrath <roland@hack.frob.com>
7853
7854 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
7855 (__libc_multiple_threads_ptr): Variable moved ...
7856 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
7857
7858 2014-11-12 Joseph Myers <joseph@codesourcery.com>
7859
7860 * conform/GlibcConform.pm: New file.
7861 * conform/conformtest.pl: Use GlibcConform module.
7862 * conform/linknamespace.pl: New file.
7863 * conform/list-header-symbols.pl: Likewise.
7864 * conform/Makefile (linknamespace-symlists-base): New variable.
7865 (linknamespace-symlists-tests): Likewise.
7866 (linknamespace-header-base): Likewise.
7867 (linknamespace-header-tests): Likewise.
7868 (tests-special): Add new tests.
7869 ($(linknamespace-symlists-tests)): New rule.
7870 (linknamespace-libs): New variable.
7871 ($(objpfx)symlist-stdlibs): New rule.
7872 ($(linknamespace-header-tests)): Likewise.
7873 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
7874 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
7875 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
7876 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
7877 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
7878 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
7879 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
7880 (test-xfail-ISO/math.h/linknamespace): Likewise.
7881 (test-xfail-ISO/signal.h/linknamespace): Likewise.
7882 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
7883 (test-xfail-ISO/time.h/linknamespace): Likewise.
7884 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
7885 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
7886 (test-xfail-ISO99/math.h/linknamespace): Likewise.
7887 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
7888 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7889 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
7890 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
7891 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
7892 (test-xfail-ISO11/math.h/linknamespace): Likewise.
7893 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
7894 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7895 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
7896 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
7897 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
7898 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
7899 (test-xfail-XPG3/math.h/linknamespace): Likewise.
7900 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
7901 (test-xfail-XPG3/search.h/linknamespace): Likewise.
7902 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
7903 (test-xfail-XPG3/time.h/linknamespace): Likewise.
7904 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
7905 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
7906 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
7907 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
7908 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
7909 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
7910 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
7911 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
7912 (test-xfail-XPG4/math.h/linknamespace): Likewise.
7913 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
7914 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
7915 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
7916 (test-xfail-XPG4/search.h/linknamespace): Likewise.
7917 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
7918 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
7919 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
7920 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
7921 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
7922 (test-xfail-XPG4/time.h/linknamespace): Likewise.
7923 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
7924 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
7925 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
7926 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
7927 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
7928 (test-xfail-POSIX/math.h/linknamespace): Likewise.
7929 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
7930 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
7931 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
7932 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
7933 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
7934 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7935 (test-xfail-POSIX/time.h/linknamespace): Likewise.
7936 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
7937 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
7938 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
7939 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
7940 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
7941 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
7942 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
7943 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
7944 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
7945 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
7946 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
7947 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
7948 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
7949 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
7950 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
7951 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
7952 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
7953 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
7954 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
7955 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
7956 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7957 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7958 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
7959 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
7960 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
7961 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
7962 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
7963 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
7964 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
7965 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
7966 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
7967 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
7968 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
7969 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
7970 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
7971 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
7972 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
7973 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
7974 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
7975 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
7976 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7977 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7978 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
7979 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
7980 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
7981 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
7982 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
7983 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7984 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7985 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
7986 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
7987 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
7988 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7989 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
7990 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
7991 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
7992 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
7993 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
7994 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
7995 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
7996 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
7997 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
7998 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
7999 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8000 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8001 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8002 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8003 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8004 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8005 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8006 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8007 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8008 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8009 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8010 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
8011 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8012 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8013 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8014 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8015 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8016 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
8017 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8018 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8019 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8020 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8021 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8022 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8023 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8024 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
8025 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8026 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8027 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8028 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8029 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8030 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
8031 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8032 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8033 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8034
8035 [BZ #17589]
8036 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
8037 of fgets_unlocked.
8038
8039 [BZ #17585]
8040 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
8041 (memmem): Rename to __memmem and define as weak alias of
8042 __memmem. Use libc_hidden_weak.
8043 (__memmem): Use libc_hidden_def.
8044 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
8045 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
8046 memmem.
8047
8048 [BZ #17582]
8049 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
8050 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
8051 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
8052 and define as weak alias of __fgets_unlocked. Use
8053 libc_hidden_weak.
8054 (__fgets_unlocked): Use libc_hidden_def.
8055 * include/stdio.h (__fgets_unlocked): Declare. Use
8056 libc_hidden_proto.
8057 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
8058 __fgets_unlocked instead of fgets_unlocked.
8059 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
8060 (GET_NPROCS_CONF_PARSER): Likewise.
8061 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
8062 (GET_NPROCS_CONF_PARSER): Likewise.
8063
8064 [BZ #17574]
8065 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
8066 weak alias of __wmemset. Use libc_hidden_weak.
8067 (__wmemset): Use libc_hidden_def.
8068 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
8069 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
8070 of wmemset.
8071
8072 [BZ #17573]
8073 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
8074 with asm name __mempcpy.
8075 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
8076
8077 [BZ #17572]
8078 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
8079 and define as weak alias of __rawmemchr.
8080 (__rawmemchr): Do not define as strong alias of rawmemchr.
8081
8082 [BZ #17571]
8083 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
8084 alias of __qsort_r.
8085 (qsort): Call __qsort_r instead of qsort_r.
8086 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
8087 (__qsort_r): Declare. Call libc_hidden_proto.
8088 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
8089 instead of qsort_r.
8090 * nscd/gai.c (__qsort_r): Define to qsort_r.
8091 * posix/tst-rfc3484.c (__qsort_r): Likewise.
8092 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
8093 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
8094
8095 [BZ #17570]
8096 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
8097 define as weak alias of __malloc_info.
8098
8099 [BZ #17584]
8100 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
8101 as weak alias of __rewinddir. Don't use libc_hidden_def.
8102 (__rewinddir): Use libc_hidden_def.
8103 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
8104 as weak alias of __rewinddir. Don't use libc_hidden_def.
8105 (__rewinddir): Use libc_hidden_def.
8106 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
8107 weak alias of __rewinddir. Don't use libc_hidden_def.
8108 (__rewinddir): Use libc_hidden_def.
8109 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
8110 (__rewinddir): Use libc_hidden_proto.
8111 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
8112 rewinddir.
8113 (__getcwd): Use __rewinddir instead of rewinddir.
8114
8115 [BZ #17583]
8116 * libio/fileno.c (fileno): Rename to __fileno and define as weak
8117 alias of __fileno. Use libc_hidden_weak.
8118 (__fileno): Use libc_hidden_def.
8119 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
8120 * libio/ftello.c (ftello): Rename to __ftello and define as weak
8121 alias of __ftello.
8122 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
8123 __ftello.
8124 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
8125 (__fread_unlocked): Define as strong alias of _IO_fread. Use
8126 libc_hidden_def.
8127 (fread_unlocked): Don't use libc_hidden_ver.
8128 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
8129 and define as weak alias of __fread_unlocked. Don't use
8130 libc_hidden_def.
8131 (__fread_unlocked): Use libc_hidden_def.
8132 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
8133 (ftello): Don't use libc_hidden_proto.
8134 (__ftello): Declare. Use libc_hidden_proto.
8135 (fread_unlocked): Don't use libc_hidden_proto.
8136 (__fread_unlocked): Declare. Use libc_hidden_proto.
8137 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
8138 and __ftello instead of fileno, fread_unlocked and ftello.
8139
8140 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8141
8142 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
8143 GOT12.
8144 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8145 Likewise.
8146 (_dl_start_user): Likewise.
8147 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
8148
8149 2014-11-12 Carlos O'Donell <carlos@redhat.com>
8150 Siddhesh Poyarekar <siddhesh@redhat.com>
8151
8152 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
8153 Move argv and envp down instead of moving argc up.
8154 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
8155
8156 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
8157
8158 [BZ #17506]
8159 * test-skeleton.c (main): Return successful if one of
8160 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
8161 * string/tst-strcoll-overflow.c: Define expected status.
8162
8163 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
8164
8165 [BZ #17475]
8166 * locale/iso-639.def: Define Bhili and Tulu language codes.
8167
8168 2014-11-11 Alan Hayward <alan.hayward@arm.com>
8169
8170 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
8171
8172 2014-11-10 Renlin Li <Renlin.Li@arm.com>
8173
8174 [BZ #17555]
8175 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
8176
8177 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
8178
8179 * configure.ac: Updated check of minimal required version to
8180 2.22.
8181 * manual/install.texi (Tools for Compilation): Updated version
8182 number.
8183 * configure: Regenerated.
8184 * INSTALL: Likewise.
8185
8186 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
8187
8188 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
8189 __tls_get_addr.
8190
8191 2014-11-07 Joseph Myers <joseph@codesourcery.com>
8192
8193 * include/sys/wait.h (__libc_waitpid): Remove declaration.
8194 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
8195 (__waitpid): Don't define as alias. Use libc_hidden_def not
8196 libc_hidden_weak.
8197 (waitpid): Define as alias of __waitpid.
8198 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
8199 __waitpid.
8200 (__waitpid): Don't define as alias. Use libc_hidden_def not
8201 libc_hidden_weak.
8202 (waitpid): Define as alias of __waitpid.
8203 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
8204 __libc_waitpid alias.
8205 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
8206 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
8207 Likewise.
8208 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
8209 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
8210 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
8211 alias.
8212 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
8213 __waitpid.
8214 (__waitpid): Don't define as alias. Use libc_hidden_def not
8215 libc_hidden_weak.
8216 (waitpid): Define as alias of __waitpid.
8217
8218 2014-11-06 Carlos O'Donell <carlos@redhat.com>
8219
8220 * manual/llio.texi: Add comment that write safety has been
8221 fixed in Linux.
8222
8223 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
8224 (localplt-build-dso): Add elf/ld.so.
8225 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
8226 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
8227 and free for ld.so.
8228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
8229 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
8230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
8231 Likewise.
8232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
8233 Likewise.
8234 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
8235 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
8236 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
8237 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
8238 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8239 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
8240 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
8241 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
8242 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8243 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
8244 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8245
8246 2014-11-05 Joseph Myers <joseph@codesourcery.com>
8247
8248 [BZ #14132]
8249 * include/libc-symbols.h (INTUSE): Remove macro.
8250 (INTDEF): Likewise.
8251 (INTVARDEF): Likewise.
8252 (_INTVARDEF): Likewise.
8253 (INTDEF2): Likewise.
8254 (INTVARDEF2): Likewise.
8255 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
8256 rtld_hidden_def instead of INTVARDEF.
8257 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
8258 (_dl_starting_up_internal): Remove declaration.
8259 (_dl_starting_up): Use rtld_hidden_proto.
8260 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
8261 declaration.
8262 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
8263 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
8264 _dl_starting_up.
8265 * elf/dl-writev.h (_dl_writev): Likewise.
8266 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
8267 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
8268 _dl_starting_up_internal.
8269
8270 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8271
8272 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
8273 test-skeleton.c.
8274
8275 2014-11-05 Will Newton <will.newton@linaro.org>
8276
8277 * benchtests/Makefile: (bench-malloc): Add malloc thread
8278 scalability benchmark.
8279 * benchtests/bench-malloc-threads.c: New file.
8280
8281 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
8282
8283 * sysdeps/aarch64/strchrnul.S: New file.
8284
8285 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8286
8287 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
8288 definition.
8289 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
8290 Likwise.
8291 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
8292 Likewise.
8293 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
8294 Likewise.
8295 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
8296 Likewise.
8297 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
8298 Likewise.
8299
8300 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
8301
8302 * catgets/test-gencat.c: Use test-skeleton.c.
8303 * catgets/tst-catgets.c: Likewise.
8304 * csu/tst-empty.c: Likewise.
8305 * elf/tst-audit2.c: Likewise.
8306 * elf/tst-global1.c: Likewise.
8307 * elf/tst-pathopt.c: Likewise.
8308 * elf/tst-piemod1.c: Likewise.
8309 * elf/tst-tls10.c: Likewise.
8310 * elf/tst-tls11.c: Likewise.
8311 * elf/tst-tls12.c: Likewise.
8312 * gnulib/tst-gcc.c: Likewise.
8313 * iconvdata/tst-e2big.c: Likewise.
8314 * iconvdata/tst-loading.c: Likewise.
8315 * iconv/tst-iconv1.c: Likewise.
8316 * iconv/tst-iconv2.c: Likewise.
8317 * inet/test-inet6_opt.c: Likewise.
8318 * inet/tst-gethnm.c: Likewise.
8319 * inet/tst-network.c: Likewise.
8320 * inet/tst-ntoa.c: Likewise.
8321 * intl/tst-codeset.c: Likewise.
8322 * intl/tst-gettext2.c: Likewise.
8323 * intl/tst-gettext3.c: Likewise.
8324 * intl/tst-ngettext.c: Likewise.
8325 * intl/tst-translit.c: Likewise.
8326 * io/test-stat.c: Likewise.
8327 * libio/test-fmemopen.c: Likewise.
8328 * libio/tst-freopen.c: Likewise.
8329 * libio/tst-sscanf.c: Likewise.
8330 * libio/tst-ungetwc1.c: Likewise.
8331 * libio/tst-ungetwc2.c: Likewise.
8332 * libio/tst-widetext.c: Likewise.
8333 * localedata/tst-ctype.c: Likewise.
8334 * localedata/tst-digits.c: Likewise.
8335 * localedata/tst-leaks.c: Likewise.
8336 * localedata/tst-mbswcs1.c: Likewise.
8337 * localedata/tst-mbswcs2.c: Likewise.
8338 * localedata/tst-mbswcs3.c: Likewise.
8339 * localedata/tst-mbswcs4.c: Likewise.
8340 * localedata/tst-mbswcs5.c: Likewise.
8341 * localedata/tst-setlocale.c: Likewise.
8342 * localedata/tst-trans.c: Likewise.
8343 * localedata/tst-wctype.c: Likewise.
8344 * localedata/tst-xlocale1.c: Likewise.
8345 * login/tst-grantpt.c: Likewise.
8346 * malloc/tst-calloc.c: Likewise.
8347 * malloc/tst-malloc.c: Likewise.
8348 * malloc/tst-mallocstate.c: Likewise.
8349 * malloc/tst-mcheck.c: Likewise.
8350 * malloc/tst-mtrace.c: Likewise.
8351 * malloc/tst-obstack.c: Likewise.
8352 * math/atest-exp2.c: Likewise.
8353 * math/atest-exp.c: Likewise.
8354 * math/atest-sincos.c: Likewise.
8355 * math/test-matherr.c: Likewise.
8356 * math/test-misc.c: Likewise.
8357 * math/test-powl.c: Likewise.
8358 * math/tst-definitions.c: Likewise.
8359 * misc/tst-dirname.c: Likewise.
8360 * misc/tst-efgcvt.c: Likewise.
8361 * misc/tst-fdset.c: Likewise.
8362 * misc/tst-hsearch.c: Likewise.
8363 * misc/tst-mntent2.c: Likewise.
8364 * nptl/tst-sem7.c: Likewise.
8365 * nptl/tst-sem8.c: Likewise.
8366 * nptl/tst-sem9.c: Likewise.
8367 * nss/test-netdb.c: Likewise.
8368 * posix/tst-fnmatch.c: Likewise.
8369 * posix/tst-getlogin.c: Likewise.
8370 * posix/tst-gnuglob.c: Likewise.
8371 * posix/tst-mmap.c: Likewise.
8372 * pwd/tst-getpw.c: Likewise.
8373 * resolv/tst-inet_ntop.c: Likewise.
8374 * rt/tst-timer.c: Likewise.
8375 * stdio-common/test-fseek.c: Likewise.
8376 * stdio-common/test-popen.c: Likewise.
8377 * stdio-common/test-vfprintf.c: Likewise.
8378 * stdio-common/tst-cookie.c: Likewise.
8379 * stdio-common/tst-fileno.c: Likewise.
8380 * stdio-common/tst-gets.c: Likewise.
8381 * stdio-common/tst-obprintf.c: Likewise.
8382 * stdio-common/tst-perror.c: Likewise.
8383 * stdio-common/tst-sprintf2.c: Likewise.
8384 * stdio-common/tst-sprintf3.c: Likewise.
8385 * stdio-common/tst-sprintf.c: Likewise.
8386 * stdio-common/tst-swprintf.c: Likewise.
8387 * stdio-common/tst-tmpnam.c: Likewise.
8388 * stdio-common/tst-unbputc.c: Likewise.
8389 * stdio-common/tst-wc-printf.c: Likewise.
8390 * stdlib/tst-environ.c: Likewise.
8391 * stdlib/tst-fmtmsg.c: Likewise.
8392 * stdlib/tst-limits.c: Likewise.
8393 * stdlib/tst-rand48-2.c: Likewise.
8394 * stdlib/tst-rand48.c: Likewise.
8395 * stdlib/tst-random2.c: Likewise.
8396 * stdlib/tst-random.c: Likewise.
8397 * stdlib/tst-strtol.c: Likewise.
8398 * stdlib/tst-strtoll.c: Likewise.
8399 * stdlib/tst-tls-atexit.c: Likewise.
8400 * stdlib/tst-xpg-basename.c: Likewise.
8401 * string/test-ffs.c: Likewise.
8402 * string/tst-bswap.c: Likewise.
8403 * string/tst-inlcall.c: Likewise.
8404 * string/tst-strtok.c: Likewise.
8405 * string/tst-strxfrm.c: Likewise.
8406 * sysdeps/x86_64/tst-audit10.c: Likewise.
8407 * sysdeps/x86_64/tst-audit3.c: Likewise.
8408 * sysdeps/x86_64/tst-audit4.c: Likewise.
8409 * sysdeps/x86_64/tst-audit5.c: Likewise.
8410 * time/tst-ftime_l.c: Likewise.
8411 * time/tst-getdate.c: Likewise.
8412 * time/tst-mktime3.c: Likewise.
8413 * time/tst-mktime.c: Likewise.
8414 * time/tst-posixtz.c: Likewise.
8415 * time/tst-strptime2.c: Likewise.
8416 * time/tst-strptime3.c: Likewise.
8417 * wcsmbs/tst-btowc.c: Likewise.
8418 * wcsmbs/tst-mbrtowc.c: Likewise.
8419 * wcsmbs/tst-mbsrtowcs.c: Likewise.
8420 * wcsmbs/tst-wchar-h.c: Likewise.
8421 * wcsmbs/tst-wcpncpy.c: Likewise.
8422 * wcsmbs/tst-wcrtomb.c: Likewise.
8423 * wcsmbs/tst-wcsnlen.c: Likewise.
8424 * wcsmbs/tst-wcstof.c: Likewise.
8425
8426 2014-11-04 Joseph Myers <joseph@codesourcery.com>
8427
8428 [BZ #14132]
8429 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
8430 INTDEF.
8431 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
8432 declaration.
8433 (_dl_mcount): Use rtld_hidden_proto.
8434 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
8435 _dl_mcount.
8436 * elf/rtld.c (_rtld_global_ro): Likewise.
8437
8438 [BZ #14132]
8439 * elf/dl-init.c (_dl_init): Don't use INTDEF.
8440 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
8441 of _dl_init_internal.
8442 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
8443 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
8444 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
8445 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
8446 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
8447 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
8448 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
8449 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
8450 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
8451 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
8452 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
8453 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
8454 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
8455 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
8456 * sysdeps/tile/dl-start.S (_start): Likewise.
8457 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
8458 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
8459
8460 [BZ #14132]
8461 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
8462 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
8463 (rtld_progname): Make macro definition unconditional.
8464 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
8465 INTDEF.
8466 (dlmopen_doit): Do not use INTUSE with _dl_argv.
8467 (dl_main): Likewise.
8468 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8469 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
8470 instead of _dl_argv_internal.
8471 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
8472 __GI__dl_argv instead of INTUSE(_dl_argv).
8473 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
8474 __GI__dl_argv instead of _dl_argv_internal.
8475
8476 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
8477 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
8478 macro.
8479 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
8480 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
8481 New macro.
8482 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
8483 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
8484 macro.
8485 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
8486 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
8487
8488 2014-11-04 Andreas Schwab <schwab@suse.de>
8489
8490 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
8491
8492 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8493
8494 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
8495 mtvsrd instruction in binary form.
8496
8497 2014-11-03 Andreas Schwab <schwab@suse.de>
8498
8499 [BZ #17522]
8500 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
8501 for less than MB_LEN_MAX use a local buffer of that size.
8502 * libio/tst-fputws.c: New file.
8503 * libio/Makefile (tests): Add tst-fputws.
8504
8505 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
8506
8507 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
8508 the size of the fpu_fr.fpu_dregs[] array.
8509
8510 2014-11-01 Joseph Myers <joseph@codesourcery.com>
8511
8512 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
8513 (__nanosleep): Do not define as alias.
8514 (nanosleep): Define as alias of __nanosleep.
8515 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
8516 __libc_nanosleep name.
8517
8518 2014-10-31 Joseph Myers <joseph@codesourcery.com>
8519
8520 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
8521 install.texi in comment.
8522
8523 2014-10-31 Torvald Riegel <triegel@redhat.com>
8524
8525 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
8526 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
8527 ... add here and use lwsync or sync ...
8528 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
8529 ... and add here using lwsync.
8530
8531 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
8532
8533 * elf/dl-machine-reject-phdr.h: New file.
8534 * elf/dl-load.c: #include that.
8535 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
8536 if that returned true.
8537
8538 2014-10-31 Roland McGrath <roland@hack.frob.com>
8539
8540 [BZ #17496]
8541 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
8542 gen-as-const-headers chunk. Add a big scare comment after the last
8543 safe place to touch before-compile.
8544
8545 2014-10-31 Joseph Myers <joseph@codesourcery.com>
8546
8547 * manual/install.texi (Tools for Compilation): Update autoconf
8548 version requirements.
8549 * INSTALL: Regenerated.
8550
8551 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
8552 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
8553 (__libc_pselect): Likewise.
8554
8555 [BZ #14138]
8556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
8557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8560
8561 2014-10-31 Torvald Riegel <triegel@redhat.com>
8562
8563 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
8564 correct barrier instruction.
8565 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
8566 Likewise.
8567 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
8568 Likewise.
8569
8570 2014-10-30 Roland McGrath <roland@hack.frob.com>
8571
8572 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
8573 after defining inlines. Instead, just use parens to defeat macro
8574 expansion of __isctype in its declaration.
8575
8576 2014-10-30 Joseph Myers <joseph@codesourcery.com>
8577
8578 * include/sys/uio.h (__libc_readv): Remove declaration.
8579 (__libc_writev): Likewise.
8580 * misc/readv.c (__libc_readv): Rename to __readv.
8581 (__readv): Do not define as alias.
8582 (readv): Define as alias of __readv.
8583 * misc/writev.c (__libc_writev): Rename to __writev.
8584 (__writev): Do not define as alias.
8585 (writev): Define as alias of __writev.
8586 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
8587 (__readv): Do not define as alias.
8588 (readv): Define unconditionally as alias of __readv.
8589 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
8590 (__writev): Do not define as alias.
8591 (writev): Define unconditionally as alias of __writev.
8592 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
8593 name.
8594 (writev): Do not define __libc_writev name.
8595
8596 2014-10-30 Roland McGrath <roland@hack.frob.com>
8597
8598 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
8599 (convert_charseq): New function, broken out of ...
8600 (use_from_charmap): ... here. Call it.
8601 (use_to_charmap): Use convert_charseq and free instead of duplicating
8602 its code with a variable-length stack struct.
8603
8604 2014-10-30 Joseph Myers <joseph@codesourcery.com>
8605
8606 * include/fcntl.h (__libc_creat): Remove declaration.
8607 * io/creat.c (__libc_creat): Rename to creat.
8608 (creat): Do not define as alias.
8609 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
8610 of creat instead of __libc_creat.
8611 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
8612 to creat.
8613 (creat): Do not define as alias.
8614 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
8615 __libc_creat.
8616 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
8617 __libc_creat name.
8618 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
8619 Likewise.
8620
8621 2014-10-29 Carlos O'Donell <carlos@redhat.com>
8622
8623 * manual/llio.texi: Add comments discussing why write() may be
8624 considered MT-unsafe on Linux.
8625
8626 2014-10-28 Carlos O'Donell <carlos@redhat.com>
8627
8628 * dl-load.c (local_strdup): Remove.
8629 (expand_dynamic_string_token): Use __strdup.
8630 (decompose_rpath): Likewise.
8631 (_dl_map_object): Likewise.
8632
8633 2014-10-28 Joseph Myers <joseph@codesourcery.com>
8634
8635 [BZ #14132]
8636 * sysdeps/generic/unwind-dw2-fde.c
8637 (__register_frame_info_bases_internal): Do not declare.
8638 (__register_frame_info_table_bases_internal): Likewise.
8639 (__deregister_frame_info_bases_internal): Likewise.
8640 (__register_frame_info_bases): Declare and use hidden_proto before
8641 definition. Use hidden_def instead of INTDEF.
8642 (__register_frame_info_table_bases): Likewise.
8643 (__deregister_frame_info_bases): Likewise.
8644 (__register_frame_info): Do not use INTUSE.
8645 (__register_frame): Likewise.
8646 (__register_frame_info_table): Likewise.
8647 (__register_frame_table): Likewise.
8648 (__deregister_frame_info): Likewise.
8649 (__deregister_frame): Likewise.
8650
8651 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
8652
8653 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8654 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
8655 not undefine.
8656 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
8657 Likewise.
8658 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
8659 Likewise.
8660
8661 2014-10-27 Joseph Myers <joseph@codesourcery.com>
8662
8663 [BZ #14138]
8664 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
8665 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
8666 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
8667 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
8668 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
8669 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
8670 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
8671 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
8672 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
8673 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
8674 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
8675 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
8676 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
8677 syscall.
8678 (setfsuid): Likewise.
8679 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
8680 (setfsuid): Likewise.
8681 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
8682 (setfsuid): Likewise.
8683 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
8684 Likewise.
8685 (setfsuid): Likewise.
8686 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
8687 (setfsuid): Likewise.
8688 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
8689 Likewise.
8690 (setfsuid): Likewise.
8691
8692 2014-10-27 Andreas Schwab <schwab@suse.de>
8693
8694 [BZ #17501]
8695 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
8696 check for Slow_SSE4_2 feature bit.
8697 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
8698 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8699 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
8700 Likewise. Fix check for Fast_Unaligned_Load feature bit.
8701
8702 2014-10-24 Roland McGrath <roland@hack.frob.com>
8703
8704 * configure.ac: Validate compiler version with a empirical test of
8705 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
8706 $CC -v output.
8707 * configure: Regenerated.
8708
8709 * inet/htons.c (htons): Prototypify.
8710 * inet/htonl.c (htonl): Likewise.
8711
8712 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8713
8714 * string/strncat.c (strncat): Improve performance by using strlen.
8715
8716 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8717
8718 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
8719
8720 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8721
8722 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
8723 Call libc_fetestexcept_aarch64.
8724
8725 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8726
8727 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
8728 Call libc_feholdexcept_aarch64.
8729
8730 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8731
8732 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
8733 Call get_rounding_mode.
8734
8735 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8736
8737 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
8738 Simplify logic.
8739
8740 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
8741
8742 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
8743 Simplify logic.
8744
8745 2014-10-24 Joseph Myers <joseph@codesourcery.com>
8746
8747 [BZ #14138]
8748 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
8749 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
8750 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
8751 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
8752 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
8753 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
8754 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
8755 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
8756 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
8757 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
8758 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
8759 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
8760 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
8761 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
8762 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
8763 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
8764 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
8765 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
8766 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
8767 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
8768 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
8769 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
8770 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
8771 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
8772 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
8773 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
8774 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
8775 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
8776 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
8777 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
8778 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
8779 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
8780 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
8781 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
8782 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
8783 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
8784 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
8785 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
8786 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
8787 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
8788 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
8789 syscall.
8790 (geteuid): Likewise.
8791 (getgid): Likewise.
8792 (getuid): Likewise.
8793 (getresgid): Likewise.
8794 (getresuid): Likewise.
8795 (getgroups): Likewise.
8796 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
8797 (geteuid): Likewise.
8798 (getgid): Likewise.
8799 (getuid): Likewise.
8800 (getresgid): Likewise.
8801 (getresuid): Likewise.
8802 (getgroups): Likewise.
8803 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
8804 (geteuid): Likewise.
8805 (getgid): Likewise.
8806 (getuid): Likewise.
8807 (getresgid): Likewise.
8808 (getresuid): Likewise.
8809 (getgroups): Likewise.
8810 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
8811 Likewise.
8812 (geteuid): Likewise.
8813 (getgid): Likewise.
8814 (getuid): Likewise.
8815 (getresgid): Likewise.
8816 (getresuid): Likewise.
8817 (getgroups): Likewise.
8818 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
8819 (geteuid): Likewise.
8820 (getgid): Likewise.
8821 (getuid): Likewise.
8822 (getresgid): Likewise.
8823 (getresuid): Likewise.
8824 (getgroups): Likewise.
8825 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
8826 Likewise.
8827 (geteuid): Likewise.
8828 (getgid): Likewise.
8829 (getuid): Likewise.
8830 (getgroups): Likewise.
8831
8832 [BZ #14138]
8833 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
8834 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
8835 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
8836 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8837 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
8838 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
8839 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
8840 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
8841 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
8842 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
8843 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
8844 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
8845 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
8846 __chown.
8847 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
8848 (lchown): Likewise.
8849 (fchown): Likewise.
8850 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
8851 Likewise.
8852 (lchown): Likewise.
8853 (fchown): Likewise.
8854 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
8855 (lchown): Likewise.
8856 (fchown): Likewise.
8857 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
8858 Likewise.
8859 (lchown): Likewise.
8860 (fchown): Likewise.
8861
8862 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8863
8864 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
8865 Simplify logic.
8866
8867 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8868
8869 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8870 Cleanup logic.
8871
8872 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8873
8874 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
8875 Remove unused include.
8876
8877 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
8878
8879 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
8880 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
8881 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
8882 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
8883
8884 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
8885 Helge Deller <deller@gmx.de>
8886
8887 [BZ #17508]
8888 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
8889 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
8890 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
8891
8892 2014-10-23 Joseph Myers <joseph@codesourcery.com>
8893
8894 [BZ #14132]
8895 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
8896 Remove macro definition.
8897 (__ashrdi3_v_glibc20): Likewise.
8898 (__lshrdi3_v_glibc20): Likewise.
8899 (__cmpdi2_v_glibc20): Likewise.
8900 (__ucmpdi2_v_glibc20): Likewise.
8901 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
8902 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
8903 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
8904 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
8905 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
8906 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
8907
8908 2014-10-22 Roland McGrath <roland@hack.frob.com>
8909
8910 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
8911 old GNU extension [0] syntax.
8912 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
8913 alloca rather than an array member with variable length.
8914 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
8915 * nscd/nscd.c (invalidate_db): New function, broken out of ...
8916 (parse_opt): ... here. Likewise use alloca there.
8917 Validate the -i argument before checking for rootness.
8918 (send_shutdown): New function, broken out of ...
8919 (parse_opt): ... here.
8920
8921 2014-10-22 Roland McGrath <roland@hack.frob.com>
8922
8923 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
8924 macro to get at the _rt_local_ro field.
8925 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
8926 ([PIC] case) or _dl_hwcap ([!PIC] case).
8927 * sysdeps/arm/setjmp.S: Likewise.
8928
8929 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
8930 * sysdeps/arm/configure.ac: New check to define it.
8931 * sysdeps/arm/configure: Regenerated.
8932 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
8933 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
8934 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
8935 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
8936 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
8937 Use move/movt pair instead of a load.
8938 (LDST_GLOBAL): Macro removed.
8939 (LDR_GLOBAL): New macro replaces it.
8940 (LDR_HIDDEN): New macro.
8941 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
8942 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
8943
8944 * setjmp/tst-setjmp-static.c: New file.
8945 * setjmp/Makefile (tests): Add it.
8946 (tests-static): New variable.
8947
8948 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
8949
8950 [BZ #17485]
8951 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
8952
8953 2014-10-21 Joseph Myers <joseph@codesourcery.com>
8954
8955 [BZ #14132]
8956 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
8957
8958 2014-10-21 Roland McGrath <roland@hack.frob.com>
8959
8960 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
8961
8962 2014-10-20 Roland McGrath <roland@hack.frob.com>
8963
8964 * io/fts.c (dirent_not_directory): New function.
8965 (fts_build): Call it.
8966
8967 2014-10-20 Roland McGrath <roland@hack.frob.com>
8968
8969 * nptl/version.c (__nptl_main): Use normal __write rather than
8970 INTERNAL_SYSCALL.
8971 (banner): Update copyright years.
8972
8973 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
8974 gettimeofday.
8975 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8976 * nptl/pthread_cond_timedwait.c: Likewise.
8977 * nptl/pthread_mutex_timedlock.c: Likewise.
8978 * nptl/sem_timedwait.c: Likewise.
8979
8980 * sysdeps/nptl/bits/libc-lock.h
8981 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
8982 (__libc_lock_init_recursive): Return void, not 0.
8983 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
8984 (__libc_rwlock_init): Likewise.
8985 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
8986
8987 2014-10-20 Torvald Riegel <triegel@redhat.com>
8988
8989 [BZ #15215]
8990 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
8991 (__pthread_once_slow): ... here.
8992 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
8993 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
8994
8995 2014-10-20 Torvald Riegel <triegel@redhat.com>
8996
8997 [BZ #15215]
8998 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
8999 __PTHREAD_ONCE_FORK_GEN_INCR): New.
9000 * sysdeps/nptl/fork.c (__libc_fork): Use them.
9001 * nptl/pthread_once.c (__pthread_once): Likewise.
9002 Update comments.
9003
9004 2014-10-20 Joseph Myers <joseph@codesourcery.com>
9005
9006 [BZ #14138]
9007 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
9008 name.
9009 (writev): Use __libc_writev as strong name.
9010 * sysdeps/unix/sysv/linux/readv.c: Remove file.
9011 * sysdeps/unix/sysv/linux/writev.c: Likewise.
9012
9013 2014-10-17 Roland McGrath <roland@hack.frob.com>
9014
9015 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
9016
9017 * sysdeps/i386/nptl/tls.h
9018 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
9019 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
9020 New macros.
9021 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
9022 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
9023 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
9024 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
9025 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
9026 Call CHECK_THREAD_SYSINFO instead of doing an assert.
9027
9028 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9029 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
9030 on [__NR_futex].
9031 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
9032 broken out of ...
9033 (__pthread_mutex_init): ... here. Call it.
9034 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
9035 Conditionalize PI cases on [__NR_futex].
9036 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9037 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9038 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9039
9040 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
9041 conditional on [SIGSETXID].
9042 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
9043 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
9044 is defined. Likewise for SIGSETXID.
9045 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
9046 Conditionalize definitions on [SIGSETXID].
9047 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
9048 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
9049 unblocking on [SIGCANCEL].
9050
9051 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
9052 [__NR_set_robust_list].
9053
9054 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
9055
9056 * string/strcoll_l.c (get_next_seq): Fix up formatting.
9057 (do_compare): Likewise.
9058
9059 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
9060
9061 [BZ #15884]
9062 * string/strcoll_l.c: Don't include stdio.h.
9063 (coll_seq): Remove members idxarr and rulearr.
9064 (get_next_seq_cached): Remove function.
9065 (get_next_seq): Likewise.
9066 (get_next_seq_nocache): Rename to get_next_seq.
9067 (do_compare): Remove function.
9068 (do_compare_nocache): Rename to do_compare.
9069 (STRCOLL): Remove weight and rules cache.
9070
9071 2014-10-16 Roland McGrath <roland@hack.frob.com>
9072
9073 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
9074 * sysdeps/arm/sfp-machine.h: ... to here.
9075 * sysdeps/arm/Implies: Remove arm/soft-fp.
9076
9077 2014-10-14 Joseph Myers <joseph@codesourcery.com>
9078
9079 * conform/data/sys/utsname.h-data (*_t): Allow.
9080 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
9081 [POSIX] (WEXITED): Do not expect constant.
9082 [POSIX] (WSTOPPED): Likewise.
9083 [POSIX] (WNOHANG): Likewise.
9084 [POSIX] (WNOWAIT): Likewise.
9085 [POSIX] (siginfo_t): Do not expect type or elements.
9086 [POSIX] (pid_t): Do not expect type.
9087 [POSIX] (signal.h): Do not allow header.
9088 [POSIX] (sys/resource.h): Likewise.
9089 [POSIX] (si_*): Do not allow pattern.
9090 [POSIX] (W*): Likewise.
9091 [POSIX] (P_*): Likewise.
9092 [POSIX] (BUS_*): Likewise.
9093 [POSIX] (CLD_*): Likewise.
9094 [POSIX] (FPE_*): Likewise.
9095 [POSIX] (ILL_*): Likewise.
9096 [POSIX] (POLL_*): Likewise.
9097 [POSIX] (SEGV_*): Likewise.
9098 [POSIX] (SI_*): Likewise.
9099 [POSIX] (TRAP_*): Likewise.
9100 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
9101 variable.
9102
9103 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
9104
9105 [BZ #12926]
9106 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
9107 infinite loop when __recvmsg returns 0.
9108
9109 2014-10-10 Joseph Myers <joseph@codesourcery.com>
9110
9111 * CANCEL-FCT-WAIVE: Remove file.
9112 * CANCEL-FILE-WAIVE: Likewise.
9113
9114 [BZ #14132]
9115 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
9116 instead of INTVARDEF.
9117 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9118 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
9119 rtld_hidden_data_def instead of INTVARDEF.
9120 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9121 * elf/dl-deps.c (expand_dst): Likewise.
9122 * elf/dl-load.c (_dl_dst_count): Likewise.
9123 (_dl_dst_substitute): Likewise.
9124 (decompose_rpath): Likewise.
9125 (_dl_init_paths): Likewise.
9126 (open_path): Likewise.
9127 (_dl_map_object): Likewise.
9128 * elf/rtld.c (dl_main): Likewise.
9129 (process_dl_audit): Likewise.
9130 (process_envvars): Likewise.
9131 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
9132 Remove declaration.
9133 (__libc_enable_secure): Use rtld_hidden_proto.
9134
9135 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9136
9137 * elf/dl-load.c
9138 (add_path): New function broken out of _dl_rtld_di_serinfo.
9139 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
9140
9141 2014-10-09 Joseph Myers <joseph@codesourcery.com>
9142
9143 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
9144 parentheses around macro arguments.
9145 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
9146 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
9147 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
9148 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
9149 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
9150 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9151 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9152 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
9153 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
9154 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
9155 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
9156 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
9157 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
9158 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
9159 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
9160 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
9161 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
9162 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
9163 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
9164 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
9165 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
9166 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
9167 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
9168 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9169 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9170 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
9171 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
9172 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
9173 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
9174 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
9175 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
9176 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
9177 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
9178 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
9179 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
9180 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
9181 Likewise.
9182 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
9183 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9184 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9185 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
9186 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
9187 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
9188 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
9189 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
9190 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
9191 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
9192 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
9193 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
9194 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
9195 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
9196 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
9197 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9198 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9199 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
9200 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
9201 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
9202 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
9203 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
9204 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
9205 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
9206 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
9207 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
9208 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
9209 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
9210 (_FP_FRAC_SRS_1): Likewise.
9211 (_FP_FRAC_CLZ_1): Likewise.
9212 (_FP_MUL_MEAT_1_imm): Likewise.
9213 (_FP_MUL_MEAT_1_wide): Likewise.
9214 (_FP_MUL_MEAT_1_hard): Likewise.
9215 (_FP_SQRT_MEAT_1): Likewise.
9216 (_FP_FRAC_ASSEMBLE_1): Likewise.
9217 (_FP_FRAC_DISASSEMBLE_1): Likewise.
9218 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
9219 (__FP_CLZ_2): Likewise.
9220 (_FP_MUL_MEAT_2_wide): Likewise.
9221 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
9222 (_FP_MUL_MEAT_2_gmp): Likewise.
9223 (_FP_MUL_MEAT_2_120_240_double): Likewise.
9224 (_FP_SQRT_MEAT_2): Likewise.
9225 (_FP_FRAC_ASSEMBLE_2): Likewise.
9226 (_FP_FRAC_DISASSEMBLE_2): Likewise.
9227 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
9228 (_FP_FRAC_CLZ_4): Likewise.
9229 (_FP_MUL_MEAT_4_wide): Likewise.
9230 (_FP_MUL_MEAT_4_gmp): Likewise.
9231 (_FP_SQRT_MEAT_4): Likewise.
9232 (_FP_FRAC_ASSEMBLE_4): Likewise.
9233 (_FP_FRAC_DISASSEMBLE_4): Likewise.
9234 * soft-fp/op-common.h (_FP_CMP): Likewise.
9235 (_FP_CMP_EQ): Likewise.
9236 (_FP_CMP_UNORD): Likewise.
9237 (_FP_TO_INT): Likewise.
9238 (_FP_FROM_INT): Likewise.
9239 [!__FP_CLZ] (__FP_CLZ): Likewise.
9240 (_FP_DIV_HELP_imm): Likewise.
9241 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
9242 Likewise.
9243 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
9244 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
9245 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
9246 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
9247 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
9248 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9249 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9250 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
9251 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
9252 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
9253 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
9254 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
9255 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
9256 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
9257 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
9258 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
9259 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
9260 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
9261 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
9262 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
9263 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
9264 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
9265 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
9266 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
9267 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
9268 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
9269 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
9270 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
9271 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
9272 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
9273 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
9274 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
9275 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
9276 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
9277 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
9278 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
9279 (FP_UNPACK_RAW_SP): Likewise.
9280 (FP_PACK_RAW_S): Likewise.
9281 (FP_PACK_RAW_SP): Likewise.
9282 (FP_UNPACK_S): Likewise.
9283 (FP_UNPACK_SP): Likewise.
9284 (FP_UNPACK_SEMIRAW_S): Likewise.
9285 (FP_UNPACK_SEMIRAW_SP): Likewise.
9286 (FP_PACK_S): Likewise.
9287 (FP_PACK_SP): Likewise.
9288 (FP_PACK_SEMIRAW_S): Likewise.
9289 (FP_PACK_SEMIRAW_SP): Likewise.
9290 (_FP_SQRT_MEAT_S): Likewise.
9291 (FP_CMP_S): Likewise.
9292 (FP_CMP_EQ_S): Likewise.
9293 (FP_CMP_UNORD_S): Likewise.
9294 (FP_TO_INT_S): Likewise.
9295 (FP_FROM_INT_S): Likewise.
9296
9297 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
9298
9299 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
9300 (FP_EX_INVALID_IMZ): Likewise.
9301 (FP_EX_INVALID_IMZ_FMA): Likewise.
9302 (FP_EX_INVALID_ISI): Likewise.
9303 (FP_EX_INVALID_ZDZ): Likewise.
9304 (FP_EX_INVALID_IDI): Likewise.
9305 (FP_EX_INVALID_SQRT): Likewise.
9306 (FP_EX_INVALID_CVI): Likewise.
9307 (FP_EX_INVALID_VC): Likewise.
9308 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
9309 "invalid" exceptions.
9310 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
9311 (_FP_ADD_INTERNAL): Likewise.
9312 (_FP_MUL): Likewise.
9313 (_FP_FMA): Likewise.
9314 (_FP_DIV): Likewise.
9315 (_FP_CMP_CHECK_NAN): Likewise.
9316 (_FP_SQRT): Likewise.
9317 (_FP_TO_INT): Likewise.
9318 (FP_EXTEND): Likewise.
9319
9320 2014-10-09 Allan McRae <allan@archlinux.org>
9321
9322 * po/fr.po: Update French translation from translation project.
9323
9324 2014-10-09 Joseph Myers <joseph@codesourcery.com>
9325
9326 [BZ #14132]
9327 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
9328 of INTDEF.
9329 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
9330 (__cxa_atexit): Use libc_hidden_proto.
9331 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
9332
9333 [BZ #14132]
9334 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
9335 declaration.
9336 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
9337 [!_ISOMAC] (__iswspace_l_internal): Likewise.
9338 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
9339 [!_ISOMAC] (__iswctype_internal): Likewise.
9340 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
9341 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
9342 alias.
9343 (fcntl): Remove __fcntl_internal alias.
9344 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
9345 __connect_internal alias.
9346 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
9347 Likewise.
9348
9349 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
9350 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
9351 FP_DENORM_ZERO.
9352 (_FP_CHECK_FLUSH_ZERO): New macro.
9353 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
9354 (_FP_CMP): Likewise.
9355 (_FP_CMP_EQ): Likewise.
9356 (_FP_TO_INT): Do not set inexact for subnormal arguments if
9357 FP_DENORM_ZERO.
9358 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
9359 (FP_TRUNC): Likewise.
9360
9361 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
9362 treated as invalid conversion, not as normal exponent.
9363
9364 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
9365 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
9366 (_FP_CMP_EQ): Likewise.
9367 (_FP_CMP_UNORD): Likewise.
9368 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
9369 (FP_CMP_EQ_D): Likewise.
9370 (FP_CMP_UNORD_D): Likewise.
9371 * soft-fp/extended.h (FP_CMP_E): Likewise.
9372 (FP_CMP_EQ_E): Likewise.
9373 (FP_CMP_UNORD_E): Likewise.
9374 * soft-fp/quad.h (FP_CMP_Q): Likewise.
9375 (FP_CMP_EQ_Q): Likewise.
9376 (FP_CMP_UNORD_Q): Likewise.
9377 * soft-fp/single.h (FP_CMP_S): Likewise.
9378 (FP_CMP_EQ_S): Likewise.
9379 (FP_CMP_UNORD_S): Likewise.
9380 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
9381 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
9382 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
9383 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
9384 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
9385 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
9386 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
9387 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
9388 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
9389 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
9390 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
9391 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
9392 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
9393 to FP_CMP_Q.
9394 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
9395 FP_CMP_Q.
9396 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
9397 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
9398 FP_CMP_EQ_Q.
9399 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
9400 FP_CMP_Q.
9401 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
9402 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
9403 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
9404 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
9405 FP_CMP_EQ_Q.
9406 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
9407 FP_CMP_Q.
9408 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
9409 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
9410 FP_CMP_EQ_Q.
9411 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
9412 FP_CMP_Q.
9413 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
9414 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
9415 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
9416 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
9417 FP_CMP_EQ_Q.
9418
9419 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
9420 a subnormal result, set the underflow exception if trapping on
9421 underflow is enabled.
9422 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
9423 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
9424 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
9425 redefine to 0.
9426 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
9427 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9428 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
9429 * soft-fp/extendxftf2.c (__extendxftf2): Use
9430 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
9431
9432 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
9433 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
9434 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9435 FP_HANDLE_EXCEPTIONS.
9436 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
9437 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9438 FP_HANDLE_EXCEPTIONS.
9439 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
9440 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9441 FP_HANDLE_EXCEPTIONS.
9442 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
9443 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
9444 FP_HANDLE_EXCEPTIONS.
9445
9446 2014-10-08 Joseph Myers <joseph@codesourcery.com>
9447
9448 [BZ #14132]
9449 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
9450 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
9451 use INTUSE.
9452 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
9453 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
9454 Remove alias.
9455 (__adjtimex): Define using libc_hidden_ver.
9456 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
9457 Remove declaration.
9458 (ntp_gettime): Call __adjtimex directly.
9459 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
9460 Remove declaration.
9461 (ntp_gettimex): Call __adjtimex directly.
9462 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
9463 __adjtimex_internal alias.
9464
9465 2014-10-08 Roland McGrath <roland@hack.frob.com>
9466
9467 [BZ #17460]
9468 * nscd/nscd.c (more_help): Rewrite list of tables collection
9469 using xstrdup and asprintf.
9470
9471 * nscd/nscd_conf.c: Remove local xstrdup declaration.
9472
9473 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9474 Roland McGrath <roland@hack.frob.com>
9475
9476 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
9477 (do_lookup_unique): ... local function 'enter' here; update callers.
9478
9479 2014-10-06 Joseph Myers <joseph@codesourcery.com>
9480
9481 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
9482 compat_symbol calls on [SHARED].
9483 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
9484 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
9485 Remove.
9486 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9487 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
9488 (oldsetrlimit): Remove.
9489 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9491 (lchown): New syscall entry.
9492 (oldsetrlimit): Remove.
9493 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9494 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
9495 (oldsetrlimit): Remove.
9496 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
9497
9498 [BZ #14138]
9499 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
9500 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
9501 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
9502 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
9503 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9504 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
9505 (fchown): Likewise.
9506 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
9507 (fchown): Likewise.
9508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
9509 Likewise.
9510
9511 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9512
9513 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
9514 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
9515 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
9516 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
9517 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
9518 Likewise.
9519 (__old_sem_post): Likewise.
9520
9521 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
9522
9523 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
9524 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
9525 HAVE_CLOCK_GETTIME_VSYSCALL macros.
9526 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
9527 Use INLINE_VSYSCALL macro.
9528 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
9529 __vdso_clock_gettime.
9530 * sysdeps/unix/sysv/linux/tile/init-first.c
9531 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
9532 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
9533 __vdso_clock_gettime.
9534
9535 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
9536 to set up frame more cleanly.
9537
9538 * sysdeps/tile/memcmp.c: New file.
9539
9540 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
9541
9542 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
9543 * sysdeps/tile/tilegx/strcasestr.c: New file.
9544 * sysdeps/tile/tilegx/strnlen.c: New file.
9545 * sysdeps/tile/tilegx/strstr.c: New file.
9546
9547 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
9548
9549 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
9550
9551 * nptl/tst-setuid3.c: Write errors to stdout.
9552
9553 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9554
9555 * elf/dl-deps.c
9556 (preload): New functions broken out of _dl_map_object_deps.
9557 (_dl_map_object_deps): Remove a nested function. Update call sites.
9558
9559 2014-10-01 Joseph Myers <joseph@codesourcery.com>
9560
9561 [BZ #14138]
9562 * sysdeps/unix/sysv/linux/execve.c: Remove file.
9563 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
9564
9565 2014-10-01 Steve Ellcey <sellcey@mips.com>
9566
9567 * sysdeps/mips/strcmp.S: New.
9568
9569 2014-09-30 Joseph Myers <joseph@codesourcery.com>
9570
9571 [BZ #14138]
9572 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
9573 (linkat): Likewise.
9574 (mkdirat): Likewise.
9575 (readlinkat): Likewise.
9576 (renameat): Likewise.
9577 (symlinkat): Likewise.
9578 (unlinkat): Likewise.
9579 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
9580 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
9581 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
9582 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
9583 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
9584 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
9585 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
9586
9587 2014-09-30 Will Newton <will.newton@linaro.org>
9588
9589 * math/math.h: Define long double math functions if
9590 _LIBC_TEST is defined.
9591 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
9592
9593 * localedata/Makefile: Move assignment to tests-special
9594 into an ifdef testing run-built-tests.
9595 * timezone/Makefile: Likewise.
9596
9597 2014-09-29 Joseph Myers <joseph@codesourcery.com>
9598
9599 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
9600 with $(BASH) not $(SHELL).
9601
9602 2014-09-29 Carlos O'Donell <carlos@redhat.com>
9603 Matthew LeGendre <legendre1@llnl.gov>
9604
9605 [BZ #17411]
9606 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
9607 l_reloc_result.
9608
9609 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9610
9611 * stdio-common/printf_fp.c
9612 (hack_digit): New function, broken out of ...
9613 (__printf_fp): ... local function here. Update call sites.
9614 hack_digit now takes an additional parameter that is a pointer
9615 to a struct of the referenced locals. Those locals moved inside
9616 the struct and references updated.
9617
9618 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
9619
9620 * aclocal.m4: Require autoconf 2.69.
9621 * configure: Regenerated.
9622 * sysdeps/aarch64/configure: Likewise.
9623 * sysdeps/alpha/configure: Likewise.
9624 * sysdeps/arm/armv7/configure: Likewise.
9625 * sysdeps/arm/configure: Likewise.
9626 * sysdeps/ia64/configure: Likewise.
9627 * sysdeps/mach/configure: Likewise.
9628 * sysdeps/mips/configure: Likewise.
9629 * sysdeps/s390/configure: Likewise.
9630 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
9631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
9632
9633 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
9634 file.
9635 * sysdeps/ia64/configure.ac: Likewise.
9636
9637 2014-09-26 Joseph Myers <joseph@codesourcery.com>
9638
9639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
9640 specify symbol version for ld.so. Do not include entry for
9641 libpthread.
9642 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9643 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9644 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9645
9646 [BZ #14171]
9647 * Makeconfig [$(build-shared) = yes]
9648 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
9649 makefiles.
9650 [$(build-shared) = yes && $(soversions.mk-done) = t]
9651 ($(common-objpfx)gnu/lib-names.h): Remove rule.
9652 [$(build-shared) = yes && $(soversions.mk-done) = t]
9653 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
9654 to Makerules.
9655 [$(build-shared) = yes && $(soversions.mk-done) = t]
9656 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
9657 here.
9658 [$(build-shared) = yes && $(soversions.mk-done) = t]
9659 (common-generated): Don't append gnu/lib-names.h and
9660 gnu/lib-names.stmp here.
9661 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
9662 (lib-names-h-abi): New variable.
9663 [$(build-shared) = yes && $(soversions.mk-done) = t]
9664 (lib-names-stmp-abi): Likewise.
9665 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9666 abi-variants] (before-compile): Append
9667 $(common-objpfx)$(lib-names-h-abi).
9668 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9669 abi-variants] (common-generated): Append gnu/lib-names.h.
9670 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9671 abi-variants] (install-others-nosubdir): Depend on
9672 $(inst_includedir)/$(lib-names-h-abi).
9673 [$(build-shared) = yes && $(soversions.mk-done) = t &&
9674 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
9675 [$(build-shared) = yes && $(soversions.mk-done) = t]
9676 ($(common-objpfx)$(lib-names-h-abi)): New rule.
9677 [$(build-shared) = yes && $(soversions.mk-done) = t]
9678 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
9679 [$(build-shared) = yes && $(soversions.mk-done) = t]
9680 (common-generated): Append $(lib-names-h-abi) and
9681 $(lib-names-stmp-abi).
9682 * scripts/lib-names.awk: Do not handle multi being set.
9683 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
9684 Remove variable.
9685 (abi-lp64_be-ld-soname): Likewise.
9686 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
9687 Likewise.
9688 (abi-hard-ld-soname): Likewise.
9689 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
9690 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
9691 Remove variable.
9692 (abi-o32_hard-ld-soname): Likewise.
9693 (abi-o32_soft_2008-ld-soname): Likewise.
9694 (abi-o32_hard_2008-ld-soname): Likewise.
9695 (abi-n32_soft-ld-soname): Likewise.
9696 (abi-n32_hard-ld-soname): Likewise.
9697 (abi-n32_soft_2008-ld-soname): Likewise.
9698 (abi-n32_hard_2008-ld-soname): Likewise.
9699 (abi-n64_soft-ld-soname): Likewise.
9700 (abi-n64_hard-ld-soname): Likewise.
9701 (abi-n64_soft_2008-ld-soname): Likewise.
9702 (abi-n64_hard_2008-ld-soname): Likewise.
9703 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
9704 Likewise.
9705 (abi-64-v2-ld-soname): Likewise.
9706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
9707 ld.so entries.
9708 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
9709 variable.
9710 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
9711 entry.
9712 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
9713 variable.
9714 (abi-64-ld-soname): Likewise.
9715 (abi-x32-ld-soname): Likewise.
9716 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
9717 entry.
9718 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9719
9720 2014-09-23 Joseph Myers <joseph@codesourcery.com>
9721
9722 [BZ #14138]
9723 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
9724 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
9725 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
9726 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
9727 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
9728 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
9729 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
9730 syscall entry for GLIBC_2.2 symbol version.
9731 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
9732 Likewise.
9733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
9734 (setrlimit): Likewise.
9735 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
9736 Likewise.
9737
9738 2014-09-23 Will Newton <will.newton@linaro.org>
9739
9740 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
9741 _LINUX_ARM_SYSDEP_H include guard too.
9742 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
9743 define.
9744
9745 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
9746
9747 * sysdeps/unix/sysv/linux/eventfd.c:
9748 Make first argument unsigned.
9749 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
9750 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
9751
9752 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
9753
9754 * socket/recvmmsg.c (recvmmsg): Drop const argument.
9755 * socket/sys/socket.h: Likewise
9756 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
9757
9758 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9759
9760 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
9761
9762 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
9763
9764 * time/tst-ftime.c: New test.
9765 * time/Makefile (tests): Add tst-ftime.
9766
9767 2014-09-17 Joseph Myers <joseph@codesourcery.com>
9768
9769 * soft-fp/extended.h: Fix comment formatting.
9770 * soft-fp/op-1.h: Likewise.
9771 * soft-fp/op-2.h: Likewise.
9772 * soft-fp/op-4.h: Likewise.
9773 * soft-fp/op-8.h: Likewise.
9774 * soft-fp/op-common.h: Likewise.
9775 * soft-fp/soft-fp.h: Likewise.
9776
9777 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
9778
9779 2014-09-16 Joseph Myers <joseph@codesourcery.com>
9780
9781 [BZ #6652]
9782 * Makeconfig (soversions-default-setname): Remove variable.
9783 ($(common-objpfx)soversions.i): Don't pass default_setname to
9784 soversions.awk.
9785 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
9786 oldest_abi to abi-versions.awk.
9787 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
9788 * config.make.in (oldest-abi): Remove variable.
9789 * configure.ac (--enable-oldest-abi): Remove configure option.
9790 * configure: Regenerated.
9791 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
9792 text.
9793 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
9794 * scripts/soversions.awk: Do not handle default_setname variable.
9795 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
9796 variable.
9797 * sysdeps/mach/hurd/configure: Regenerated.
9798 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
9799 variable.
9800 * sysdeps/unix/sysv/linux/configure: Regenerated.
9801
9802 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9803
9804 * elf/Makefile (CFLAGS-interp.c): Remove.
9805 ($(elf-objpfx)runtime-linker.h): Generate header with linker
9806 path string.
9807 * elf/interp.c: Include generated runtime-linker.h
9808
9809 * Makerules (lib%.so): Don't include $(+interp) in
9810 prerequisites.
9811 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
9812 * dlfcn/eval.c: Remove file.
9813
9814 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
9815 macros.
9816
9817 [BZ #17266]
9818 * misc/sys/cdefs.h: Define __extern_always_inline for clang
9819 4.2 and newer.
9820
9821 [BZ #17370]
9822 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
9823
9824 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9825 Jakub Jelinek <jakub@redhat.com>
9826
9827 [BZ #17266]
9828 * libio/stdio.h: Check definition of __fortify_function
9829 instead of __extern_always_inline to include bits/stdio2.h.
9830 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
9831 check if __extern_always_inline is defined.
9832 [__USE_MISC || __USE_XOPEN]: Likewise.
9833 [__USE_ISOC99] Likewise.
9834 * misc/sys/cdefs.h (__fortify_function): Define only if
9835 __extern_always_inline is defined.
9836 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
9837 __extern_always_inline and __extern_inline only for g++-4.3
9838 and newer or a compatible gcc.
9839
9840 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
9841
9842 [BZ #17371]
9843 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9844 last change to handle zero prefix length.
9845
9846 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9847
9848 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
9849 _SC_REGEX_VERSION.
9850
9851 * posix/getconf.c (vars): Add _POSIX_IPV6 and
9852 _POSIX_RAW_SOCKETS.
9853
9854 2014-09-13 Allan McRae <allan@archlinux.org>
9855
9856 * po/ru.po: Update Russian translation from translation project.
9857
9858 2014-09-12 Roland McGrath <roland@hack.frob.com>
9859
9860 * locale/programs/locale.c (show_locale_vars): Inline local function
9861 into its sole call site. Clean up some style nits.
9862 (print_item): New function, broken out of ...
9863 (show_info): ... local function here. Clean up style nits.
9864
9865 * locale/programs/ld-ctype.c (set_one_default): New function, broken
9866 out of ...
9867 (set_class_defaults): ... local function set_default here.
9868 Define set_default as a macro locally to pass constant parameters.
9869 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
9870 rather than a shared local.
9871
9872 * stdlib/rpmatch.c (try): New function, broken out of ...
9873 (rpmatch): ... local function here. Also, prototypify definition.
9874
9875 2014-09-12 Joseph Myers <joseph@codesourcery.com>
9876
9877 * scripts/soversions.awk: Do not handle configuration names.
9878 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
9879 vendor and os variables to soversions.awk.
9880 * configure.ac: Do not modify gnu-* host_os.
9881 * configure: Regenerated
9882 * shlib-versions: Remove first column with configuration names.
9883 * nptl/shlib-versions: Likewise.
9884 * nptl_db/shlib-versions: Likewise.
9885 * sysdeps/hppa/shlib-versions: Likewise.
9886 * sysdeps/m68k/shlib-versions: Likewise.
9887 * sysdeps/mach/hurd/shlib-versions: Likewise.
9888 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
9889 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
9890 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
9891 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
9892 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
9893 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
9894 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
9895 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
9896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9897 Likewise.
9898 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9899 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9900 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9901 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9902 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9903 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
9904 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
9905 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
9906
9907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9908 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
9909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9910 Regenerated.
9911 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
9912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
9913 Condition symbol version definitions on [HAVE_ELFV2_ABI].
9914
9915 * shlib-versions: Remove OS-specific entries. Moved to files in
9916 sysdeps.
9917 * sysdeps/mach/hurd/shlib-versions: New file.
9918 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
9919
9920 * nptl/shlib-versions: Remove architecture-specific entries.
9921 Moved to files in sysdeps.
9922 * shlib-versions: Likewise.
9923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
9924 file.
9925 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
9926 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
9927 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
9928 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
9929
9930 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
9931 (UDP_NO_CHECK6_RX): Likewise.
9932
9933 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9934
9935 * sysdeps/posix/sysconf.c (__sysconf): Spell
9936 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
9937
9938 2014-08-12 Florian Weimer <fweimer@redhat.com>
9939
9940 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
9941 loading.
9942 * iconv/Versions (__gconv_transliterate): Export for use from
9943 gconv modules.
9944 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
9945 (struct __gconv_trans_data, __gconv_trans_fct,
9946 __gconv_trans_context_fct, __gconv_trans_query_fct,
9947 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
9948 definitions.
9949 (struct __gconv_step_data): Remove __trans member.
9950 (__gconv_transliterate): Declaration moved from gconv_int.h. No
9951 longer hidden. Remove unused trans_data argument.
9952 * iconv/gconv_int.h (struct trans_struct): Remove definition.
9953 (__gconv_translit_find): Remove declaration.
9954 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
9955 prototype.
9956 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
9957 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
9958 trans_data argument. Add hidden definition.
9959 (__gconv_translit_find): Remove.
9960 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
9961 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
9962 * iconv/skeleton.c: Remove transliteration initialization.
9963 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
9964 __gconv_step_data initialization.
9965 * libio/iofwide.c (__libio_translit_): Remove.
9966 (_IO_fwide): Adjust struct __gconv_step_data initialization.
9967 * wcsmbs/btowc.c (__btowc): Likewise.
9968 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9969 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9970 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
9971 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
9972 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
9973 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
9974 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
9975 * wcsmbs/wctob.c (wctob): Likewise.
9976
9977 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9978
9979 [BZ #16194]
9980 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
9981 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
9982 register usage.
9983 * sysdeps/x86/Makefile: Adjust.
9984
9985 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9986 Roland McGrath <roland@hack.frob.com>
9987
9988 * locale/weight.h: Add include guard.
9989 (findidx): Make static rather than auto; take new parameters
9990 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
9991 * locale/weightwc.h: Likewise.
9992 * posix/fnmatch_loop.c
9993 (FCT): Change type of EXTRA from int32_t to wint_t.
9994 Don't include either header inside the function.
9995 Call FINDIDX rather than findidx, and pass new arguments.
9996 #undef FINDIDX at the end of the file.
9997 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
9998 FINDIDX before including fnmatch_loop.c for the non-wide version.
9999 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
10000 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
10001 for the wide version.
10002 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
10003 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
10004 Pass new arguments to findidx.
10005 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
10006 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
10007 Don't #include it inside the function. Pass new arguments to findidx.
10008 * posix/regex_internal.h
10009 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
10010 (re_string_elem_size_at): Don't #include it inside the function.
10011 Pass new arguments to findidx.
10012 * string/strcoll_l.c: #include WEIGHT_H at top level.
10013 (get_next_seq): Don't #include it inside the function.
10014 Pass new arguments to findidx.
10015 (get_next_seq_nocache): Likewise.
10016 * string/strxfrm_l.c: #include WEIGHT_H at top level.
10017 (STRXFRM): Don't #include it inside the function.
10018 Pass new arguments to findidx.
10019
10020 2014-09-11 Florian Weimer <fweimer@redhat.com>
10021
10022 [BZ #17344]
10023 * malloc/malloc.c (unlink): Turn asserts into a call to
10024 malloc_printerr.
10025
10026 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
10027
10028 [BZ #17370]
10029 * libio/wfileops (do_ftell_wide): Free OUT.
10030
10031 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
10032
10033 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
10034
10035 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10036
10037 [BZ #17363]
10038 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
10039 group if the current group is empty.
10040
10041 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10042
10043 * benchtests/bench-memset.c (test_main): Add more test from size
10044 from 32 to 512 bytes.
10045 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10046 Add POWER8 memset object.
10047 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10048 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
10049 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
10050 implementation.
10051 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
10052 Likewise.
10053 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
10054 multiarch POWER8 memset optimization.
10055 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
10056 POWER8 memset optimization.
10057
10058 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10059 Remove bzero multiarch objects.
10060 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
10061 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
10062 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
10063 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
10064 Remove define.
10065 [__bzero]: Redefine to specific name.
10066 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
10067 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
10068 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
10069 define.
10070 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10071 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10072
10073 2014-09-10 Florian Weimer <fweimer@redhat.com>
10074
10075 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
10076 warnings into errors.
10077
10078 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
10079 __cxa_thread_atexit_impl prototype.
10080
10081 2014-09-09 Steve Ellcey <sellcey@mips.com>
10082
10083 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
10084 Fix capitalization of error message.
10085
10086 2014-09-09 Steve Ellcey <sellcey@mips.com>
10087
10088 * sysdeps/mips/preconfigure: Modify ABI tests.
10089
10090 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
10091
10092 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
10093
10094 2014-09-07 Roland McGrath <roland@hack.frob.com>
10095 Carlos O'Donell <carlos@systemhalted.org>
10096
10097 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
10098 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
10099 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
10100 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
10101 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
10102 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
10103 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
10104 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
10105 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
10106 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
10107 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
10108 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
10109 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
10110 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
10111 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
10112 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
10113 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
10114 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
10115 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
10116 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
10117 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
10118 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
10119 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
10120 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
10121 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
10122 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
10123 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
10124 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
10125 Deconditionalize the code that was previously under [RESET_PID].
10126 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
10127 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
10128 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
10129 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
10130 include sysdep.h.
10131
10132 2014-09-08 Allan McRae <allan@archlinux.org>
10133
10134 * version.h (RELEASE): Set to "development".
10135 (VERSION): Set to "2.20.90"
10136
10137 2014-09-07 Allan McRae <allan@archlinux.org
10138
10139 * version.h (RELEASE): Set to "stable".
10140 (VERSION): Set to "2.20"
10141 * include/features.h (__GLIBC_MINOR__): Set to 20.
10142
10143 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
10144 Liebler.
10145
10146 * po/ko.po: Update Korean translation from translation project.
10147
10148 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
10149
10150 [BZ #17354]
10151 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
10152 macro for handling signed relocations.
10153
10154 2014-09-03 Florian Weimer <fweimer@redhat.com>
10155
10156 [BZ #17325]
10157 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
10158 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
10159 assert.
10160 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
10161 * iconvdata/ibm935.c (BODY): Likewise.
10162 * iconvdata/ibm937.c (BODY): Likewise.
10163 * iconvdata/ibm939.c (BODY): Likewise.
10164 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
10165 assert.
10166 * iconvdata/Makefile (iconv-test.out): Pass module list to test
10167 script.
10168 * iconvdata/run-iconv-test.sh: New test loop for checking for
10169 decoder crashers.
10170
10171 2014-09-02 Khem Raj <raj.khem@gmail.com>
10172
10173 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
10174 libm_hidden_ver.
10175
10176 2014-09-01 Allan McRae <allan@archlinux.org>
10177
10178 * po/eo.po: Update Esperanto translation from translation project.
10179
10180 * po/ca.po: Update Catalan translation from translation project.
10181
10182 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10183
10184 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
10185 __proc_dostop call.
10186
10187 2014-08-27 Mark Wielaard <mjw@redhat.com>
10188
10189 [BZ #17319]
10190 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
10191 to call set_thread_area instead of hand written asm.
10192 (__NR_set_thread_area): Removed define.
10193 (TLS_FLAG_WRITABLE): Likewise.
10194 (__ASSUME_SET_THREAD_AREA): Remove check.
10195 (TLS_EBX_ARG): Remove define.
10196 (TLS_LOAD_EBX): Likewise.
10197
10198 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10199
10200 Simplify atomicity of socket creation in bind.
10201
10202 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
10203 looking up the name after linking the file.
10204
10205 2014-08-27 Allan McRae <allan@archlinux.org>
10206
10207 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
10208
10209 2014-08-26 Florian Weimer <fweimer@redhat.com>
10210
10211 [BZ #17187]
10212 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
10213 trans_compare, open_translit, __gconv_translit_find):
10214 Remove module loading code.
10215
10216 2014-08-26 Allan McRae <allan@archlinux.org>
10217
10218 * po/vi.po: Update Vietnamese translation from translation project.
10219
10220 * po/uk.po: Update Ukrainian translation from translation project.
10221
10222 * po/fr.po: Update French translation from translation project.
10223
10224 * po/ru.po: Update Russian translation from translation project.
10225
10226 * po/pl.po: Update Polish translation from translation project.
10227
10228 * po/cs.po: Update Czech translation from translation project.
10229
10230 * po/de.po: Update German translation from translation project.
10231
10232 * po/bg.po: Update Bulgarian translation from translation project.
10233
10234 * po/sv.po: Update Sweedish translation from translation project.
10235
10236 * po/nl.po: Update Dutch translation from translation project.
10237
10238 * po/es.po: Update Spanish translation from translation project.
10239
10240 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10241
10242 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
10243
10244 * catgets/Makefile (CPPFLAGS-gencat): Remove.
10245 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
10246 (CPPFLAGS-iconvconfig): Likewise.
10247 * timezone/Makefile (CPPFLAGS-zic): Likewise.
10248
10249 * include/libc-symbols.h: Remove unnecessary check for
10250 NOT_IN_libc.
10251 * nptl/pthreadP.h: Likewise.
10252 * sysdeps/aarch64/setjmp.S: Likewise.
10253 * sysdeps/alpha/setjmp.S: Likewise.
10254 * sysdeps/arm/sysdep.h: Likewise.
10255 * sysdeps/i386/setjmp.S: Likewise.
10256 * sysdeps/m68k/setjmp.c: Likewise.
10257 * sysdeps/posix/getcwd.c: Likewise.
10258 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10259 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
10260 * sysdeps/s390/s390-32/setjmp.S: Likewise.
10261 * sysdeps/s390/s390-64/setjmp.S: Likewise.
10262 * sysdeps/sh/sh3/setjmp.S: Likewise.
10263 * sysdeps/sh/sh4/setjmp.S: Likewise.
10264 * sysdeps/unix/alpha/sysdep.h: Likewise.
10265 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
10266 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
10267 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
10268 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
10269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10271 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
10272 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
10273 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
10274 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
10275 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
10276 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
10277 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
10278 * sysdeps/x86_64/setjmp.S: Likewise.
10279
10280 2014-08-13 Joseph Myers <joseph@codesourcery.com>
10281
10282 [BZ #17263]
10283 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
10284 <stdint.h>.
10285 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
10286 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
10287
10288 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
10289
10290 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
10291
10292 [BZ #17262]
10293 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
10294 and __x86_64__ when disabling x87 inline functions.
10295
10296 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
10297
10298 [BZ #17259]
10299 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
10300 asm statement with __cpuid_count.
10301
10302 2014-08-12 Mike Frysinger <vapier@gentoo.org>
10303
10304 * configure.ac: Change __ehdr_start code to dereference the struct.
10305 Run readelf on the output to look for relocations.
10306 * configure: Regenerated.
10307
10308 2014-08-12 Joseph Myers <joseph@codesourcery.com>
10309
10310 [BZ #17261]
10311 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
10312 value to 0.
10313 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
10314
10315 2014-08-12 Roland McGrath <roland@hack.frob.com>
10316
10317 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
10318
10319 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
10320
10321 [BZ #16892]
10322 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
10323 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
10324
10325 2014-08-12 Sean Anderson <seanga2@gmail.com>
10326
10327 * malloc/malloc.c: Fix typo in comment.
10328
10329 2014-08-09 Allan McRae <allan@archlinux.org>
10330
10331 * Regenerate libc.po.
10332
10333 2014-08-08 Mike Frysinger <vapier@gentoo.org>
10334
10335 * intl/tst-gettext2.sh: Check every lang file for creation.
10336
10337 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10338
10339 * sysdeps/aarch64/fpu/math_private.h
10340 (libc_feholdsetround_noex_aarch64_ctx): New function.
10341
10342 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
10343
10344 * sysdeps/arm/armv6/strcpy.S (strcpy):
10345 Fix performance issue in misaligned cases.
10346
10347 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10348
10349 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
10350 Move definition from termios.h.
10351 (struct termio): Likewise.
10352 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10353 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10354 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10355 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10356 Likewise.
10357 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
10358 Move definition to ioctl-types.h
10359 (struct termio): Likewise.
10360 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10361 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
10362 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
10363 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
10364 Likewise.
10365
10366 2014-08-05 Richard Henderson <rth@redhat.com>
10367
10368 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
10369 exceptions.
10370 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
10371 Add fraiseexcpt.
10372 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
10373 Use __feraiseexcept.
10374 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
10375 Protect libm symbols with IS_IN_libm.
10376
10377 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
10378
10379 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
10380
10381 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
10382
10383 2014-08-04 Will Newton <will.newton@linaro.org>
10384
10385 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
10386 file.
10387
10388 2014-08-04 Mike Frysinger <vapier@gentoo.org>
10389
10390 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
10391 variants for each function.
10392
10393 2014-08-04 Roland McGrath <roland@hack.frob.com>
10394
10395 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
10396 appended ...
10397 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
10398 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
10399 appended ...
10400 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
10401 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
10402 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
10403 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
10404 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
10405 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
10406 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
10407 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
10408 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
10409 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
10410 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
10411 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
10412 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
10413 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
10414 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
10415 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
10416 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
10417 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
10418 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
10419 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
10420 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
10421 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
10422 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
10423 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
10424 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
10425 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
10426 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
10427 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
10428 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
10429 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
10430 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
10431 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
10432 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
10433 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
10434 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
10435 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
10436 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
10437 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
10438 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
10439 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
10440 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
10441 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
10442 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
10443 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
10444 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
10445 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
10446 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
10447 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
10448 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
10449 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
10450 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
10451 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
10452 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
10453 Update #include.
10454 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
10455 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
10456
10457 2014-08-04 Roland McGrath <roland@hack.frob.com>
10458
10459 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
10460 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
10461 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
10462 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
10463 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
10464 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
10465
10466 2014-08-04 Roland McGrath <roland@hack.frob.com>
10467
10468 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
10469 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
10470 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10471 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
10472
10473 2014-08-04 Roland McGrath <roland@hack.frob.com>
10474
10475 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
10476 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
10477 (__libc_vfork): Define function under this name.
10478 (__vfork): Define as an alias.
10479 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
10480 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
10481
10482 2014-08-04 Roland McGrath <roland@hack.frob.com>
10483
10484 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
10485 that was previously under [RESET_PID].
10486 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
10487
10488 2014-08-04 Andreas Schwab <schwab@suse.de>
10489
10490 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
10491
10492 2014-08-03 Mike Frysinger <vapier@gentoo.org>
10493
10494 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
10495 (main): Likewise.
10496
10497 2014-08-01 Roland McGrath <roland@hack.frob.com>
10498
10499 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
10500
10501 2014-08-01 Richard Henderon <rth@redhat.com>
10502
10503 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
10504 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
10505 typo in exact zero test.
10506 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10507 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10508 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10509
10510 2014-08-01 Roland McGrath <roland@hack.frob.com>
10511
10512 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
10513 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
10514 * sysdeps/arm/sysdep.h: ... here.
10515 [!__ASSEMBLER__]: Include <stdint.h>.
10516
10517 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10518
10519 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
10520 (HAVE_WCTYPE_H): Likewise.
10521 (HAVE_ISWCTYPE): Likewise.
10522 (ENABLE_NLS): Likewise.
10523 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
10524 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
10525
10526 * posix/regex_internal.c: Check if DEBUG is defined and is
10527 set.
10528
10529 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
10530 (HAVE_MBSRTOWCS): Likewise.
10531 * posix/fnmatch.c: Include string.h unconditionally.
10532
10533 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
10534
10535 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
10536 reversal.
10537
10538 2014-07-31 Roland McGrath <roland@hack.frob.com>
10539
10540 * sysdeps/generic/safe-fatal.h: New file.
10541 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
10542 * nptl/forward.c: Include it.
10543 (__pthread_unwind): Use __safe_fatal as default action, rather
10544 than a bogus use of INTERNAL_SYSCALL that could never work.
10545
10546 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
10547 * configure.ac (libc_cv_builtin_trap): New test.
10548 * configure: Regenerated.
10549 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
10550 (ABORT_INSTRUCTION): Define using __builtin_trap.
10551
10552 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
10553 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
10554 * sysdeps/nptl/nptl-signals.h: New file.
10555 * nptl/pthreadP.h: Include <nptl-signals.h>.
10556
10557 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10558
10559 * sysdeps/s390/s390-64/utf16-utf32-z9.c
10560 (ONE_DIRECTION): Define.
10561 * sysdeps/s390/s390-64/utf8-utf16-z9.c
10562 (ONE_DIRECTION): Define.
10563 * sysdeps/s390/s390-64/utf8-utf32-z9.c
10564 (ONE_DIRECTION): Define.
10565
10566 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
10567
10568 * sysdeps/s390/Makefile: Delete file.
10569 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
10570 * sysdeps/s390/__longjmp.c: Delete file.
10571 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
10572 Remove fields __flags and __reserved.
10573 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
10574 and add versioning.
10575 * sysdeps/s390/rtld-__longjmp.c: Delete file.
10576 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
10577 * sysdeps/s390/rtld-setjmp.S: Likewise.
10578 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
10579 * sysdeps/s390/s390-32/__longjmp.c: ... here.
10580 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
10581 * sysdeps/s390/s390-32/setjmp.S: ... here.
10582 Add versioning.
10583 (__sigsetjmp): Remove setting __flags field.
10584 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
10585 * sysdeps/s390/s390-64/__longjmp.c: ... here.
10586 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
10587 * sysdeps/s390/s390-64/setjmp.S: ... here.
10588 Add versioning.
10589 (__sigsetjmp): Remove setting __flags field.
10590 * sysdeps/s390/setjmp.S: Delete file.
10591 * sysdeps/s390/sigjmp.c: Likewise.
10592 * sysdeps/s390/v1-longjmp.c: Likewise.
10593 * sysdeps/s390/v1-setjmp.h: Likewise.
10594 * sysdeps/s390/v1-sigjmp.c: Likewise.
10595 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
10596 Remove v1-longjmp_chk.
10597 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
10598 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
10599 Include debug/longjmp_chk.c and add versioning.
10600 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
10601 Include nptl/pt-longjmp.c and add versioning.
10602 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
10603 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
10604 Include __longjmp.c.
10605 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
10606 Move to ...
10607 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
10608 (__getcontext): Remove setting __flags field.
10609 Add versioning.
10610 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10611 Don't restore upper high grps.
10612 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
10613 Likewise.
10614 (__swapcontext): Remove setting uc_flags field.
10615 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
10616 Delete file.
10617 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
10618 Include __longjmp.c.
10619 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
10620 Move to ...
10621 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
10622 (__getcontext): Remove setting __flags field.
10623 Add versioning.
10624 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
10625 (__swapcontext): Remove setting uc_flags field.
10626 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
10627 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
10628 Remove fields uc_high_gprs and __reserved.
10629 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
10630 New file with reverted content.
10631 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
10632 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
10633 Regenerated.
10634 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
10635 Regenerated.
10636
10637 2014-07-31 Andreas Schwab <schwab@suse.de>
10638
10639 * config.h.in (HAVE_IFUNC): Define to 0.
10640 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
10641 definedness.
10642
10643 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
10644
10645 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10646 memmove-avx-unaligned, memcpy-avx-unaligned and
10647 mempcpy-avx-unaligned.
10648 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10649 Add tests for AVX memcpy functions.
10650 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
10651 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
10652 memcpy_chk.
10653 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
10654 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
10655 memmove_chk.
10656 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
10657 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
10658 mempcpy_chk.
10659 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
10660 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
10661 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
10662
10663 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10664
10665 [BZ #17213]
10666 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
10667 powerpc64le.
10668
10669 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
10670
10671 [BZ #16839]
10672 * manual/llio.texi: Add section about open file description locks.
10673 * manual/examples/ofdlocks.c: Example of open file description
10674 lock usage.
10675 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
10676 F_OFD_SETLK, and F_OFD_SETLKW.
10677
10678 2014-07-23 Allan McRae <allan@archlinux.org>
10679
10680 * po/es.po: Update Spanish translation from translation project.
10681
10682 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
10683
10684 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
10685
10686 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
10687
10688 [BZ #17078]
10689 * sysdeps/arm/dl-machine.h (elf_machine_rela)
10690 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
10691 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
10692
10693 2014-07-17 Joseph Myers <joseph@codesourcery.com>
10694
10695 [BZ #17088]
10696 * math/fesetenv.c (__fesetenv)
10697 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
10698 * math/feupdateenv.c (__feupdateenv)
10699 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
10700
10701 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
10702 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
10703 (__ASSUME_SOCKETCALL): Do not define.
10704
10705 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
10706 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
10707 (__ASSUME_SOCKETCALL): Do not define.
10708 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
10709 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10710 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10711 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
10712 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10713 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
10714 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10715 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10716
10717 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
10718 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
10719 (__ASSUME_SOCKETCALL): Do not define.
10720 (__ASSUME_IPC64): Define unconditionally.
10721 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10722 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10723 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
10724 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10725 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
10726 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10727 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
10728 Likewise.
10729
10730 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
10731 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
10732 (__ASSUME_SOCKETCALL): Do not define.
10733 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
10734 (__ASSUME_FUTEX_LOCK_PI): Likewise.
10735 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10736 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
10737 (__ASSUME_REQUEUE_PI): Define unconditionally.
10738 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
10739 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10740 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10741 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
10742 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10743 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10744
10745 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
10746 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
10747 (__ASSUME_SOCKETCALL): Do not define.
10748 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
10749 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10750 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10751 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
10752 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10753 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
10754
10755 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
10756 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
10757 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10758 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
10759 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10760 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
10761 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10762 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
10763 (__ASSUME_GETCPU_SYSCALL): Likewise.
10764
10765 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
10766 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
10767 cases for individual architectures.
10768 * sysdeps/gnu/configure: Regenerated.
10769 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
10770 LIBC_SLIBDIR_RTLDDIR.
10771 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
10772 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
10773 LIBC_SLIBDIR_RTLDDIR.
10774 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
10775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
10776 LIBC_SLIBDIR_RTLDDIR.
10777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10778 Regenerated.
10779 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
10780 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
10781 file.
10782 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
10783 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
10784 file.
10785 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
10786 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
10787 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
10788 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
10789
10790 * sysdeps/aarch64/shlib-versions: Move to ...
10791 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
10792 * sysdeps/alpha/shlib-versions: Move to ...
10793 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
10794 * sysdeps/arm/shlib-versions: Move to ...
10795 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
10796 * sysdeps/hppa/shlib-versions: Move all contents except for
10797 libgcc_s entry to ...
10798 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
10799 entry from ...
10800 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
10801 * sysdeps/ia64/shlib-versions: Move to ...
10802 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
10803 entry from ...
10804 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
10805 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
10806 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
10807 * sysdeps/microblaze/shlib-versions: Move to ...
10808 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
10809 * sysdeps/mips/shlib-versions: Move to ...
10810 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
10811 entry from ...
10812 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
10813 * sysdeps/tile/shlib-versions: Move to ...
10814 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
10815 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
10816 from ...
10817 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
10818 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
10819 entry from ...
10820 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
10821
10822 2014-07-17 Will Newton <will.newton@linaro.org>
10823
10824 * sysdeps/arm/bits/atomic.h
10825 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
10826 (__arch_compare_and_exchange_bool_16_int): Likewise.
10827 (__arch_compare_and_exchange_bool_64_int): Likewise.
10828
10829 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
10830 into an #else block.
10831
10832 2014-07-16 Roland McGrath <roland@hack.frob.com>
10833
10834 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
10835 just Linux configurations. Test empirically that the compiler sets
10836 __ARM_EABI__, rather than using the tuple to decide.
10837 * sysdeps/arm/preconfigure: Regenerated.
10838 * sysdeps/unix/sysv/linux/arm/configure: File removed.
10839 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
10840 contents appended ...
10841 * sysdeps/arm/configure.ac: ... here.
10842 * sysdeps/arm/configure: Regenerated.
10843
10844 2014-07-15 Roland McGrath <roland@hack.frob.com>
10845
10846 * nptl/pthread_kill.c: New file.
10847 * nptl/pthread_sigmask.c: New file.
10848 * nptl/pthread_sigqueue.c: New file.
10849
10850 * sysdeps/nptl/lowlevellock.h: New file.
10851 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
10852 * sysdeps/nptl/lowlevellock-futex.h: New file.
10853
10854 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
10855 Remove dead declarations.
10856
10857 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
10858
10859 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
10860 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
10861 config-cflags-avx2.
10862 * sysdeps/x86_64/configure.ac: Likewise.
10863 * sysdeps/i386/configure: Regenerated.
10864 * sysdeps/x86_64/configure: Likewise.
10865 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10866 memset-avx2 only if config-cflags-avx2 is yes.
10867 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10868 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
10869 defined.
10870 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
10871 only if HAVE_AVX2_SUPPORT is defined.
10872 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10873
10874 2014-07-14 Alan Modra <amodra@gmail.com>
10875
10876 [BZ #17153]
10877 * elf/elf.h (DT_PPC64_NUM): Correct value.
10878 * NEWS: Add to fixed bug list.
10879
10880 2014-07-13 Jim Meyering <meyering@fb.com>
10881
10882 [BZ 17150]
10883 regex: don't deref NULL upon heap allocation failure
10884 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
10885 failure in one more place.
10886 To trigger the segfault, configure grep -with-included-regex,
10887 build it, and run these commands:
10888 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
10889
10890 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
10891
10892 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10893
10894 2014-07-11 Richard Henderson <rth@redhat.com>
10895
10896 * sysdeps/aarch64/libm-test-ulps: Update.
10897
10898 2014-07-10 Florian Weimer <fweimer@redhat.com>
10899
10900 [BZ #17135]
10901 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
10902 * nptl/allocatestack.c (__nptl_setxid_error): New function.
10903 (__nptl_setxid): Initialize error member. Call
10904 __nptl_setxid_error.
10905 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
10906 * nptl/descr.h (struct xid_command): Add error member.
10907 * nptl/tst-setuid3.c: New file.
10908 * nptl/Makefile (tests): Add it.
10909
10910 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10911
10912 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
10913 New define.
10914 (__lll_trylock): Use __lll_base_trylock.
10915 (__lll_cond_trylock): Likewise.
10916
10917 2014-07-10 Roland McGrath <roland@hack.frob.com>
10918
10919 * nptl/pthread_create.c (start_thread): Use atomic_or and
10920 lll_futex_wake directly rather than lll_robust_dead.
10921 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10922 (lll_robust_dead): Macro removed.
10923 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
10924 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10925 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10926 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10927 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10928 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10929 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10930 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10931 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10932 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10933 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10934 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10935 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10936 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10937 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10938
10939 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10940 Use atomic_compare_and_exchange_val_acq directly rather than
10941 lll_robust_trylock.
10942 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
10943 (__lll_robust_trylock, lll_robust_trylock): Removed.
10944 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
10945 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
10946 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
10947 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
10948 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
10949 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
10950 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
10951 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
10952 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
10953 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
10954 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
10955 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
10956 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
10957 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
10958
10959 2014-07-02 Florian Weimer <fweimer@redhat.com>
10960
10961 * manual/locale.texi (Locale Names): New section documenting
10962 locale name syntax. Adjust menu and node chaining accordingly.
10963 (Choosing Locale): Reference Locale Names, Locale Categories.
10964 Mention setting LC_ALL=C. Reflect that name syntax is now
10965 documented.
10966 (Locale Categories): New section title. Reference Locale Names.
10967 LC_ALL is an environment variable, but not a category.
10968 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
10969 description, now in Locale Name. Reference that section. Locale
10970 name syntax is now documented.
10971
10972 2014-07-02 Florian Weimer <fweimer@redhat.com>
10973
10974 [BZ #17137]
10975 * locale/findlocale.c (name_present, valid_locale_name): New
10976 functions.
10977 (_nl_find_locale): Use the loc_name variable to store name
10978 candidates. Call name_present and valid_locale_name to check and
10979 validate locale names. Return an error if the locale is invalid.
10980
10981 2014-07-02 Florian Weimer <fweimer@redhat.com>
10982
10983 * locale/setlocale.c (setlocale): Use strdup for allocating
10984 composite name copy.
10985
10986 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10987
10988 Sync up with gnulib.
10989 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
10990 [!_LIBC && ENABLE_NLS]: Include gettext.h.
10991 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
10992 and _GL_ARG_NONNULL.
10993 [USE_UNLOCKED_IO]: Include unlocked-io.h.
10994 [!_LIBC]: Include code for Windows and Cygwin.
10995 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
10996 Include prototype for int strerror_r.
10997 [!_LIBC] (is_open): New function.
10998 (flush_stdout): New function.
10999 (print_errno_message): Use it.
11000 (error): Likewise.
11001 (error_at_line): Likewise.
11002 (error_tail) Add function attribute macros. Use
11003 __builtin_expect.
11004
11005 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
11006
11007 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
11008
11009 * io/ftw.c: Include sys/param.h unconditionally.
11010
11011 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
11012
11013 [BZ #17125]
11014 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
11015 libc_freeres_ptr.
11016 (freecache): New function to free CACHE on exit.
11017
11018 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
11019 initialization.
11020
11021 2014-07-09 David S. Miller <davem@davemloft.net>
11022
11023 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11024
11025 * sysdeps/sparc/nptl/internaltypes.h: Delete.
11026 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
11027 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
11028 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
11029 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
11030 * sysdeps/sparc/nptl/sem_init.c: Likewise.
11031 * sysdeps/sparc/nptl/sem_post.c: Likewise.
11032 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
11033 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
11034 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
11035 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
11036 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
11037 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
11038
11039 2014-07-09 Andreas Schwab <schwab@suse.de>
11040
11041 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
11042 output.
11043 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
11044 (do_test): Likewise.
11045
11046 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11047
11048 2014-07-09 Will Newton <will.newton@linaro.org>
11049
11050 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
11051 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
11052 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11053 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11054 * sysdeps/hppa/start.S (_start): Likewise.
11055
11056 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11057
11058 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
11059
11060 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
11061 defined.
11062
11063 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11064
11065 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
11066 after checking that it is non-NULL.
11067
11068 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
11069
11070 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11071
11072 * sysdeps/powerpc/memmove.c: Remove file.
11073 * sysdeps/powerpc/powerpc32/power4/memcopy.h
11074 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
11075 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
11076 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
11077 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
11078 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
11079 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
11080 string memmove instead of removed powerpc one.
11081
11082 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11083 [weak_alias]: Fix compiler warning due trailing data.
11084 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
11085 [weak_alias]: Likewise.
11086 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
11087 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
11088
11089 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11090 (__libc_ifunc_impl_list): Add memmove functions.
11091
11092 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11093
11094 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
11095 Remove code.
11096 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
11097 Likewise
11098 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
11099 Likewise
11100 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
11101 Likewise
11102 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
11103 Likewise
11104 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
11105 Likewise
11106 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
11107 Likewise
11108 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
11109 Likewise
11110 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
11111 Likewise
11112 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
11113 Likewise
11114 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
11115 Likewise
11116 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
11117 Likewise
11118 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
11119 Likewise
11120 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
11121 Likewise
11122 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
11123 Likewise
11124 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
11125 Likewise
11126 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
11127 Likewise
11128
11129 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11130
11131 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
11132 to avoid alignment traps in non-cacheable memory.
11133 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11134
11135 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
11136 multiarch objects.
11137 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
11138 file: multiarch power7 memmove.
11139 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
11140 multiarch default memmove.
11141 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
11142 multiarch memove for powerpc32/power4.
11143
11144 * string/bcopy.c: Use full path to include memmove.c.
11145 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
11146 multiarch objects.
11147 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
11148 bcopy for powerpc64.
11149 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
11150 bcopy for powerpc64.
11151 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
11152 and memmove implementations.
11153 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
11154 optimized multiarch memmove for POWER7/powerpc64.
11155 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
11156 default multiarch memmove for powerpc64.
11157 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
11158 multiarch for powerpc64.
11159 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
11160 for POWER7/powerpc64.
11161 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
11162 memmove for POWER7/powerpc64.
11163
11164 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
11165 glibc default one.
11166
11167 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
11168 __ELF_NATIVE_CLASS equal to 64.
11169
11170 2014-07-07 Roland McGrath <roland@hack.frob.com>
11171
11172 * sysdeps/nptl/lowlevellock.h: File removed.
11173
11174 * NEWS: NPTL is no longer an add-on!
11175 * nptl/internaltypes.h: Moved ...
11176 * sysdeps/nptl/internaltypes.h: ... here.
11177 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
11178 * sysdeps/nptl/fork.c: Likewise.
11179 * sysdeps/nptl/gai_misc.h: Likewise.
11180 * sysdeps/nptl/librt-cancellation.c: Likewise.
11181 * sysdeps/nptl/jmp-unwind.c: Likewise.
11182 * sysdeps/nptl/setxid.h: Likewise.
11183 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
11184 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
11185 * sysdeps/unix/sysv/linux/arm/Implies: New file.
11186 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
11187 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
11188 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
11189 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
11190 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
11191 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
11192 * sysdeps/unix/sysv/linux/mips/Implies: New file.
11193 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
11194 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
11195 * sysdeps/unix/sysv/linux/sh/Implies: New file.
11196 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
11197 * sysdeps/unix/sysv/linux/tile/Implies: New file.
11198 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
11199 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
11200 * nptl/Makeconfig: Moved ...
11201 * sysdeps/nptl/Makeconfig: ... here.
11202 * nptl/configure: File removed.
11203 * nptl/ANNOUNCE: File removed.
11204 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
11205 * sysdeps/unix/sysv/linux/configure: Regenerated.
11206
11207 * nptl/Makefile (routines): Add libc_pthread_init,
11208 libc_multiple_threads, register-atfork and unregister-atfork.
11209 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
11210 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
11211 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
11212 pthread-pi-defines.sym, structsem.sym.
11213 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
11214 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
11215 [$(subdir) = nptl] (tests): Add tst-setgetname.
11216 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
11217 * sysdeps/unix/sysv/linux/sigaction.c: Just include
11218 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
11219 [!LIBC_SIGACTION]: Remove aliases.
11220 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
11221 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
11222 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
11223 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
11224 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
11225 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
11226 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
11227 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
11228 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
11229 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
11230 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
11231 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
11232 __libc_allocate_rtsig_private.
11233 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
11234 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
11235 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
11236 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
11237 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
11238 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
11239 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
11240 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
11241 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
11242 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
11243 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
11244 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
11245 * nptl/internaltypes.h: ... here.
11246 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
11247 * sysdeps/nptl/jmp-unwind.c: ... here.
11248 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
11249 * nptl/libc-lowlevellock.c: ... here.
11250 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
11251 * nptl/libc_multiple_threads.c: ... here.
11252 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
11253 * nptl/libc_pthread_init.c: ... here.
11254 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
11255 * nptl/lowlevelbarrier.sym: ... here.
11256 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
11257 * nptl/lowlevelcond.sym: ... here.
11258 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
11259 * nptl/lowlevellock.c: ... here.
11260 * nptl/lowlevellock.h: Moved ...
11261 * sysdeps/nptl/lowlevellock.h: ... here.
11262 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
11263 * nptl/lowlevelrobustlock.c: ... here.
11264 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
11265 * nptl/lowlevelrobustlock.sym: ... here.
11266 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
11267 * nptl/lowlevelrwlock.sym: ... here.
11268 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
11269 * nptl/pt-fork.c: ... here.
11270 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
11271 * nptl/pthread-pi-defines.sym: ... here.
11272 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
11273 * nptl/pthread_attr_getaffinity.c: ... here.
11274 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
11275 * nptl/pthread_attr_setaffinity.c: ... here.
11276 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
11277 * nptl/pthread_mutex_cond_lock.c: ... here.
11278 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11279 Update #include.
11280 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
11281 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
11282 * nptl/pthread_once.c: ... here, replacing old file.
11283 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
11284 * nptl/pthread_yield.c: ... here.
11285 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
11286 * nptl/register-atfork.c: ... here.
11287 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
11288 * nptl/sem_post.c: ... here.
11289 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
11290 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
11291 * nptl/sem_timedwait.c: ... here.
11292 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
11293 * nptl/sem_trywait.c: ... here.
11294 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
11295 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
11296 * nptl/sem_wait.c: ... here.
11297 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
11298 * nptl/structsem.sym: ... here.
11299 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
11300 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
11301 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
11302 * nptl/unregister-atfork.c: ... here.
11303 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
11304 * nptl/unwindbuf.sym: ... here.
11305 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
11306 * sysdeps/nptl/fork.c: ... here.
11307 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
11308 * sysdeps/nptl/fork.h: ... here.
11309 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
11310 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
11311 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
11312 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
11313 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
11314 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
11315 * sysdeps/unix/sysv/linux/getpid.c: ... here.
11316 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
11317 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
11318 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
11319 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
11320 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
11321 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
11322 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
11323 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
11324 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
11325 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
11326 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
11327 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
11328 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
11329 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
11330 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
11331 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
11332 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
11333 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
11334 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
11335 * sysdeps/unix/sysv/linux/raise.c: ... here.
11336 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
11337 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
11338 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
11339 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
11340 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
11341 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
11342 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
11343 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
11344 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
11345 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
11346 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
11347 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
11348 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
11349 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
11350 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
11351
11352 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11353
11354 * sysdeps/generic/memcopy.h: Add comment for
11355 MEMCPY_OK_FOR_FWD_MEMMOVE.
11356
11357 2014-07-04 Will Newton <will.newton@linaro.org>
11358
11359 * string/memchr.c: Merge from gnulib.
11360 [_LIBC]: Remove conditionals.
11361 (__ptr_t): Remove define.
11362 (LONG_MAX_32_BITS): Likewise.
11363 (LONG_MAX): Likewise.
11364 (MEMCHR): Use ANSI prototype and optimize algorithm.
11365
11366 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
11367
11368 2014-07-03 Roland McGrath <roland@hack.frob.com>
11369
11370 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
11371 (lll_futex_timed_wait_bitset): Fix syscall argument count.
11372
11373 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
11374 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
11375 in a bare environment with no <stdlib.h> installed.
11376 * sysdeps/nptl/configure: Regenerated.
11377
11378 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
11379
11380 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
11381 AC_EGREP_CPP for kernel header checks, so they only succeed if
11382 including <linux/version.h> actually works right.
11383 * sysdeps/unix/sysv/linux/configure: Regenerated.
11384
11385 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
11386 value so it's not diagnosed as unused.
11387
11388 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
11389 thing) with "ifeq ($(subdir),rt)".
11390
11391 2014-07-03 Richard Henderson <rth@redhat.com>
11392
11393 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
11394 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
11395 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
11396
11397 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
11398 (math_force_eval): New.
11399
11400 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
11401 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
11402
11403 * sysdeps/alpha/fpu/s_round.c: Remove file.
11404 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
11405
11406 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
11407 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
11408 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
11409 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
11410 (_dl_start, print_statistics): Likewise.
11411 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
11412 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
11413
11414 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11415 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11416 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11417 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11418 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11419 (HP_SMALL_TIMING_AVAIL): Define.
11420 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11421 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11422 (HP_SMALL_TIMING_AVAIL): Define.
11423 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11424 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
11425
11426 * sysdeps/aarch64/hp-timing.h: New file.
11427
11428 * sysdeps/generic/hp-timing.h: Remove dead comment.
11429 * sysdeps/generic/hp-timing-common.h: New file.
11430 * sysdeps/alpha/hp-timing.h: Include it.
11431 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
11432 * sysdeps/i386/i686/hp-timing.h: Likewise.
11433 * sysdeps/ia64/hp-timing.h: Likewise.
11434 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11435 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11436 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
11437 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
11438 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
11439 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
11440 (hp_timing_t): New.
11441
11442 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
11443 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
11444 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
11445 * elf/rtld.c (_dl_start_final): Likewise.
11446 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
11447 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11448 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11449 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11450 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11451 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11452 (HP_TIMING_DIFF_INIT): Remove.
11453 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11454 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
11455 (HP_TIMING_DIFF_INIT): Remove.
11456 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
11457 * sysdeps/i386/i686/hp-timing.c: Remove file.
11458 * sysdeps/x86_64/hp-timing.c: Remove file.
11459 * sysdeps/ia64/hp-timing.c: Remove file.
11460 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
11461 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
11462 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
11463 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
11464
11465 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
11466 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
11467 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
11468 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11469 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
11470 (HP_TIMING_ACCUM): Remove.
11471 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11472 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
11473 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
11474
11475 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
11476 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
11477 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
11478 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
11479 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
11480 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11481 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
11482 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
11483
11484 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
11485
11486 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
11487
11488 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
11489
11490 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11491
11492 Sync up with gettext.
11493 * intl/loadmsgcat.c: Define O_BINARY if not defined.
11494 [_MSC_VER]: Include malloc.h
11495 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
11496 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
11497 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
11498 TEMP_FAILURE_RETRY. Cast return of alloca.
11499 [!_LIBC] Call gl_rwlock_init.
11500 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
11501
11502 2014-07-02 Roland McGrath <roland@hack.frob.com>
11503
11504 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
11505 before checking its value.
11506
11507 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11508
11509 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
11510
11511 * debug/memcpy_chk.c: Don't include pagecopy.h.
11512 * debug/mempcpy_chk.c: Likewise.
11513 * string/memcpy.c: Likewise.
11514 * string/memmove.c: Likewise.
11515 * sysdeps/powerpc/memmove.c: Likewise.
11516 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
11517 definition of PAGE_COPY_FWD_MAYBE here...
11518 * sysdeps/generic/pagecopy.h: ... from here.
11519 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
11520
11521 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11522 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11523
11524 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
11525 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
11526 optimizations.
11527 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11528 (__libc_ifunc_impl_list): Likewise.
11529 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
11530 multiarch strcat for PPC64.
11531 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
11532 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
11533
11534 2014-07-02 Roland McGrath <roland@hack.frob.com>
11535
11536 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
11537
11538 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11539
11540 * intl/loadmsgcat.c: Remove declaration of
11541 get_sysdep_segment_value.
11542 (get_sysdep_segment_value): Use ISO C style.
11543 (_nl_load_domain): Use ISO C style. Get rid of redundant
11544 semicolon. Fix typo and formatting in comment.
11545 (_nl_unload_domain): Use ISO C style.
11546
11547 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
11548
11549 2014-07-02 Will Newton <will.newton@linaro.org>
11550
11551 * malloc/obstack.c: Merge from gnulib master.
11552 [HAVE_CONFIG_H]: Remove conditional code.
11553 [!_LIBC]: Include config.h.
11554 [!ELIDE_CODE]: Don't include inttypes.h, include
11555 stdint.h unconditionally.
11556 (print_and_abort): Mark as _Noreturn.
11557 (_obstack_allocated_p): Mark as __attribute_pure__.
11558 (obstack_free): Rename to __obstack_free.
11559 [!__attribute__]: Remove conditional code.
11560 * malloc/obstack.h: Merge from gnulib master.
11561 [__cplusplus]: Move conditional down.
11562 [!__attribute_pure__]: Define __attribute_pure__ here
11563 if it is not already defined.
11564 (_obstack_memory_used): Mark as __attribute_pure__.
11565 [!__obstack_free]: Define as obstack_free.
11566 [__GNUC__]: Remove check for ancient NeXT gcc.
11567
11568 2014-07-02 Will Newton <will.newton@linaro.org>
11569 Paul Eggert <eggert@cs.ucla.edu>
11570
11571 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
11572
11573 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11574
11575 * resolv/gethnamaddr.c: Add comment warning that the file is
11576 not maintained.
11577
11578 2014-07-01 Carlos O'Donell <carlos@redhat.com>
11579
11580 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
11581 entries.
11582
11583 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
11584 entry for aio_cancel and aio_cancel64.
11585 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
11586 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
11587 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
11588 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
11589 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
11590 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
11591 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
11592 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
11593 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
11594 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
11595 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
11596 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
11597 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
11598
11599 2014-07-01 Roland McGrath <roland@hack.frob.com>
11600
11601 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
11602 * nptl/pthread_mutex_lock.c: Likewise.
11603 * nptl/pthread_mutex_timedlock.c: Likewise.
11604 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
11605
11606 2014-07-01 Richard henderson <rth@redhat.com>
11607
11608 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
11609 (__isnan, __isnanl): Remove.
11610 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
11611
11612 * sysdeps/alpha/fpu/libm-test-ulps: Update.
11613
11614 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
11615
11616 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11617
11618 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
11619
11620 * resolv/nss_dns/dns-host.c (getanswer_r)
11621 [MULTI_PTRS_ARE_ALIASES]: Remove code.
11622
11623 2014-07-01 Joseph Myers <joseph@codesourcery.com>
11624
11625 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11626 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
11627 undefine.
11628 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
11629 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
11630
11631 2014-07-01 Roland McGrath <roland@hack.frob.com>
11632
11633 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
11634 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
11635
11636 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
11637 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
11638
11639 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
11640 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
11641 ... here.
11642 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
11643 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
11644
11645 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
11646 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
11647 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
11648 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
11649
11650 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
11651 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
11652 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
11653 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
11654 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
11655 Moved ...
11656 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
11657 ... here.
11658 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
11659 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
11660 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
11661 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
11662 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
11663 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
11664 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
11665 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
11666 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
11667 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
11668 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
11669 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
11670 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
11671 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
11672 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
11673 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
11674 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
11675 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
11676 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
11677 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
11678 ... here.
11679 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
11680 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
11681 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
11682 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
11683 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
11684 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
11685 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
11686 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
11687
11688 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
11689
11690 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
11691 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
11692 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
11693 Add sysdep.
11694
11695 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11696
11697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11698
11699 2014-06-30 Joseph Myers <joseph@codesourcery.com>
11700
11701 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11702 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11703
11704 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11705
11706 * sysdeps/arm/libm-test-ulps: Regenerated.
11707
11708 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
11709 Roland McGrath <roland@hack.frob.com>
11710
11711 * test-skeleton.c (signal_handler): Kill the whole process group
11712 before killing the child individually.
11713 (main): Report any failure on `setpgid'.
11714
11715 2014-06-30 Roland McGrath <roland@hack.frob.com>
11716
11717 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
11718 from _TLS_H to _ARM_NPTL_TLS_H.
11719 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
11720 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
11721
11722 2014-06-30 Joseph Myers <joseph@codesourcery.com>
11723
11724 [BZ #16539]
11725 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
11726 (__expm1l): Return argument unchanged when small but not
11727 subnormal.
11728
11729 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
11730 include macro name.
11731 (_FP_UNPACK_RAW_1_P): Likewise.
11732 (_FP_PACK_RAW_1): Likewise.
11733 (_FP_PACK_RAW_1_P): Likewise.
11734 (_FP_MUL_MEAT_1_wide): Likewise.
11735 (_FP_MUL_MEAT_DW_1_hard): Likewise.
11736 (_FP_MUL_MEAT_1_hard): Likewise.
11737 (_FP_DIV_MEAT_1_imm): Likewise.
11738 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
11739 (_FP_DIV_MEAT_1_udiv): Likewise.
11740 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
11741 (_FP_UNPACK_RAW_2): Likewise.
11742 (_FP_UNPACK_RAW_2_P): Likewise.
11743 (_FP_PACK_RAW_2): Likewise.
11744 (_FP_PACK_RAW_2_P): Likewise.
11745 (_FP_MUL_MEAT_DW_2_wide): Likewise.
11746 (_FP_MUL_MEAT_2_wide): Likewise.
11747 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
11748 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
11749 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
11750 (_FP_MUL_MEAT_2_gmp): Likewise.
11751 (_FP_DIV_MEAT_2_udiv): Likewise.
11752 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
11753 (_FP_FRAC_SRL_4): Likewise.
11754 (_FP_FRAC_SRST_4): Likewise.
11755 (_FP_FRAC_SRS_4): Likewise.
11756 (_FP_UNPACK_RAW_4): Likewise.
11757 (_FP_UNPACK_RAW_4_P): Likewise.
11758 (_FP_PACK_RAW_4): Likewise.
11759 (_FP_PACK_RAW_4_P): Likewise.
11760 (_FP_MUL_MEAT_DW_4_wide): Likewise.
11761 (_FP_MUL_MEAT_4_wide): Likewise.
11762 (_FP_MUL_MEAT_4_gmp): Likewise.
11763 (umul_ppppmnnn): Likewise.
11764 (_FP_DIV_MEAT_4_udiv): Likewise.
11765 (__FP_FRAC_ADD_4): Likewise.
11766 (__FP_FRAC_SUB_3): Likewise.
11767 (__FP_FRAC_SUB_4): Likewise.
11768 (__FP_FRAC_DEC_3): Likewise.
11769 (__FP_FRAC_DEC_4): Likewise.
11770 (__FP_FRAC_ADDI_4): Likewise.
11771 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
11772 (_FP_FRAC_SRL_8): Likewise.
11773 (_FP_FRAC_SRS_8): Likewise.
11774
11775 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
11776 include macro name.
11777 (FP_UNPACK_RAW_EP): Likewise.
11778 (FP_PACK_RAW_E): Likewise.
11779 (FP_PACK_RAW_EP): Likewise.
11780 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
11781 (_FP_ISSIGNAN): Likewise.
11782 (_FP_ADD_INTERNAL): Likewise.
11783 (_FP_FMA): Likewise.
11784 (_FP_CMP): Likewise.
11785 (_FP_SQRT): Likewise.
11786 (_FP_TO_INT): Likewise.
11787 (_FP_FROM_INT): Likewise.
11788 (FP_EXTEND): Likewise.
11789 (_FP_DIV_MEAT_N_loop): Likewise.
11790
11791 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
11792
11793 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
11794 throughout.
11795
11796 2014-06-29 Joseph Myers <joseph@codesourcery.com>
11797
11798 [BZ #17097]
11799 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
11800 result with correct sign in case of exponents that produce
11801 overflow except for X very close to 1.
11802
11803 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
11804
11805 mktime: merge #if/#ifdef usage from glibc
11806 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
11807 as that works with both Glibc's and Gnulib's style.
11808 See thread starting at Siddhesh Poyarekar's bug report at:
11809 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
11810
11811 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11812
11813 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
11814 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
11815 * sysdeps/tile/tilegx/memmove.c: Remove file.
11816
11817 2014-06-27 Joseph Myers <joseph@codesourcery.com>
11818
11819 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
11820 abi-name definition.
11821 * scripts/soversions.awk: Do not handle or generate ABI lines.
11822 * shlib-versions: Remove ABI entries.
11823 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
11824 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
11825
11826 2014-06-27 Roland McGrath <roland@hack.frob.com>
11827
11828 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
11829 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
11830 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
11831 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
11832 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
11833 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
11834 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
11835 Moved ...
11836 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
11837 ... here.
11838 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
11839 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
11840 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
11841 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
11842 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
11843 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
11844 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
11845 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
11846 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
11847 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
11848 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
11849 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
11850 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
11851 Moved ...
11852 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
11853 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
11854 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
11855 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
11856 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
11857 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
11858 Moved ...
11859 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
11860 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
11861 Moved ...
11862 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
11863 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
11864 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
11865 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
11866 Moved ...
11867 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
11868 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
11869 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
11870 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
11871 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
11872 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
11873 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
11874 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
11875 Moved ...
11876 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
11877 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
11878 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
11879 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
11880 Moved ...
11881 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
11882 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
11883 Moved ...
11884 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
11885 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
11886 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
11887 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
11888 Moved ...
11889 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
11890 ... here.
11891 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
11892 Identical file removed.
11893 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
11894 Moved ...
11895 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
11896 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
11897 Identical file removed.
11898 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
11899 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
11900 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
11901 Moved ...
11902 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
11903 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
11904 Identical file removed.
11905 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
11906 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
11907 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
11908 Identical file removed.
11909 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
11910 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
11911 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
11912 Identical file removed.
11913 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
11914 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
11915 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
11916 Identical file removed.
11917 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
11918 Moved ...
11919 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
11920 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
11921 Identical file removed.
11922 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
11923 Moved ...
11924 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
11925 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
11926 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
11927 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
11928 Identical file removed.
11929 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
11930 Moved ...
11931 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
11932 ... here.
11933 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
11934 Identical file removed.
11935 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
11936 Moved ...
11937 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
11938 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
11939 Identical file removed.
11940 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
11941 Moved ...
11942 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
11943 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
11944 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
11945 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
11946 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
11947 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
11948 Moved ...
11949 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
11950 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
11951 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
11952
11953 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
11954 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
11955 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
11956 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
11957 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
11958
11959 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
11960
11961 [BZ #17092]
11962 * nscd/nscd.c (monitor_child): Return exit status of child
11963 instead of return value from wait syscall.
11964
11965 2014-06-27 Joseph Myers <joseph@codesourcery.com>
11966
11967 * configure.ac (libc_commonpagesize): Remove variable.
11968 (libc_relro_required): Likewise.
11969 (libc_cv_z_relro): Remove configure test.
11970 * configure: Regenerated.
11971 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
11972 variable.
11973 (libc_relro_required): Likewise.
11974 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
11975 (libc_relro_required): Likewise.
11976 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
11977 (libc_relro_required): Likewise.
11978 * sysdeps/arm/preconfigure: Regenerated.
11979 * sysdeps/ia64/preconfigure: Remove file.
11980 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
11981 variable.
11982 (libc_relro_required): Likewise.
11983
11984 [BZ #16561]
11985 [BZ #16562]
11986 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
11987 (__ieee754_yn): Set FE_TONEAREST mode internally and then
11988 recompute overflowing results in original rounding mode.
11989 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
11990 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
11991 recompute overflowing results in original rounding mode.
11992 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
11993 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11994 recompute overflowing results in original rounding mode.
11995 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
11996 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
11997 recompute overflowing results in original rounding mode.
11998 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
11999 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12000 recompute overflowing results in original rounding mode.
12001 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
12002 (libc_feholdsetround_ctx): New macro.
12003 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
12004 * sysdeps/i386/fpu/libm-test-ulps: Update.
12005 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
12006
12007 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12008
12009 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
12010 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
12011 corresponding .cpsetup call.
12012
12013 2014-06-26 Roland McGrath <roland@hack.frob.com>
12014
12015 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
12016 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
12017 * sysdeps/arm/Makefile [$(subdir) = csu]
12018 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
12019 (static-only-routines): Add aeabi_read_tp here.
12020 (shared-only-routines): Add libc-aeabi_read_tp here.
12021 (CFLAGS-libc-start.c): Add -fexceptions here.
12022 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
12023 (sysdep_routines, static-only-routines, shared-only-routines):
12024 Don't add to these here.
12025 (CFLAGS-libc-start.c): Likewise.
12026
12027 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
12028 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12029 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
12030 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12031 * sysdeps/arm/Makefile [$(subdir) = rt]
12032 (librt-sysdep_routines, librt-shared-only-routines):
12033 Append rt-aeabi_unwind_cpp_pr1 here.
12034 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
12035 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
12036 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
12037 (libpthread-sysdep_routines, libpthread-shared-only-routines):
12038 Append nptl-aeabi_unwind_cpp_pr1 here.
12039 (tests): Filter out tst-cleanupx4 here.
12040 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
12041 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
12042 Don't do those here.
12043
12044 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12045
12046 * scripts/list-sources.sh: Do not handle ports specially.
12047
12048 2014-06-26 Roland McGrath <roland@hack.frob.com>
12049
12050 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
12051 * sysdeps/arm/feupdateenv.c: Likewise.
12052
12053 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
12054
12055 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12056
12057 * manual/texinfo.tex: Update to version 2014-05-05.10 with
12058 trailing whitespace removed.
12059 * scripts/config.guess: Update to version 2014-03-23.
12060 * scripts/config.sub: Update to version 2014-05-01
12061 * scripts/install-sh: Update to version 2013-12-25.23.
12062 * scripts/move-if-change: Update from gnulib.
12063
12064 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12065
12066 * debug/memmove_chk.c: Remove pagecopy.h include.
12067
12068 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
12069
12070 * time/mktime.c (leapyear): Remove inline keyword. The code is now
12071 identical to gnulib mktime.
12072
12073 2014-06-26 Joseph Myers <joseph@codesourcery.com>
12074
12075 * configure.ac: Do not test for machine being rs6000. Do not test
12076 for powerpc*-*soft.
12077 * configure: Regenerated.
12078
12079 [BZ #11505]
12080 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
12081 test.
12082 * configure: Regenerated.
12083 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
12084 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
12085 Remove configure test.
12086 * sysdeps/arm/configure: Regenerated.
12087 * sysdeps/nptl/configure.ac: Do not check
12088 libc_cv_asm_cfi_directives.
12089 * sysdeps/nptl/configure: Regenerated.
12090 * sysdeps/x86_64/nptl/configure.ac: Remove file.
12091 * sysdeps/x86_64/nptl/configure: Remove generated file.
12092 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
12093 unconditional.
12094 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
12095
12096 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
12097
12098 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
12099 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
12100 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
12101 it is defined.
12102
12103 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
12104 instead of whether it is defined.
12105 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
12106 * sysdeps/hppa/dl-machine.h: Likewise.
12107 * sysdeps/ia64/dl-machine.h: Likewise.
12108 * sysdeps/m68k/dl-machine.h: Likewise.
12109 * sysdeps/microblaze/dl-machine.h: Likewise.
12110 * sysdeps/mips/dl-machine.: Likewise.
12111 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12112 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12113 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12114 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12115 * sysdeps/sh/dl-machine.h: Likewise.
12116 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12117 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12118 * sysdeps/tile/dl-machine.h: Likewise.
12119 * sysdeps/x86_64/dl-machine.h: Likewise.
12120
12121 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
12122 code.
12123 (verify_persistent_db): Likewise.
12124
12125 2014-06-26 Roland McGrath <roland@hack.frob.com>
12126
12127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
12128 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
12129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
12130 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
12131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12132 Moved ...
12133 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12134 ... here.
12135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
12136 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
12137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
12138 Identical file removed.
12139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
12140 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
12141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
12142 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
12143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
12144 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
12145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
12146 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
12147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
12148 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
12149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12150 Moved ...
12151 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
12152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
12153 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
12154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
12155 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
12156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12157 Moved ...
12158 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
12159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
12160 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
12161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
12162 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
12163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12164 Identical file removed.
12165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
12166 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
12167 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
12168 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
12169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12170 Moved ...
12171 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12172 ... here.
12173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
12174 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
12175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
12176 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
12177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
12178 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
12179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
12180 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
12181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
12182 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
12183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12184 Moved ...
12185 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
12186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
12187 Moved ...
12188 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
12189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
12190 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
12191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12192 Moved ...
12193 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
12194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
12195 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
12196
12197 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
12198 folded into ...
12199 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
12200 * sysdeps/unix/sysv/linux/s390/Versions
12201 (libpthread: GLIBC_2.19): New version set.
12202 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
12203 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
12204 (librt: GLIBC_2.3.3): New version set.
12205 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
12206 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
12207 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
12208 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
12209 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
12210 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
12211 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
12212 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
12213 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
12214 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
12215 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
12216 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
12217 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
12218 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
12219 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
12220 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
12221 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
12222 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
12223 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
12224 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
12225 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
12226 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
12227 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
12228 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
12229 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
12230 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
12231 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
12232 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
12233 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
12234 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
12235 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
12236 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
12237 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
12238 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
12239 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
12240 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
12241 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
12242 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
12243 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
12244 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
12245 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
12246 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
12247 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
12248 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
12249 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
12250
12251 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
12252 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
12253 (__libc_vfork): Define the function under this name.
12254 [!NOT_IN_libc] (__vfork): Make this an alias.
12255 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12256 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
12257 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
12258 (__libc_vfork): Define the function under this name.
12259 [!NOT_IN_libc] (__vfork): Make this an alias.
12260 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
12261 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
12262 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
12263 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
12264 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
12265 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
12266
12267 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
12268 code that was previously under [RESET_PID].
12269 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
12270 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
12271 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
12272
12273 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
12274 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
12275 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
12276 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
12277 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
12278 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
12279 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
12280 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
12281 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
12282 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
12283 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
12284 Moved ...
12285 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
12286 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
12287 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
12288 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
12289 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
12290 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
12291 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
12292 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
12293 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
12294 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
12295 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
12296 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
12297 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
12298 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
12299 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
12300 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
12301 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
12302 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
12303 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
12304 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
12305 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
12306 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
12307 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
12308 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
12309 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
12310 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
12311 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
12312 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
12313 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
12314
12315 2014-06-25 Roland McGrath <roland@hack.frob.com>
12316
12317 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
12318 that was previously under [RESET_PID].
12319 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
12320
12321 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12322
12323 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
12324 not undefine and redefine.
12325 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
12326 [O_CLOEXEC]: Make code unconditional.
12327 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
12328 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
12329 <kernel-features.h>.
12330 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
12331 conditional variable definition.
12332 (shm_open) [O_CLOEXEC]: Make code unconditional.
12333 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
12334 code.
12335
12336 * configure.ac (USE_REGPARMS): Don't define here.
12337 * configure: Regenerated.
12338 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
12339 * sysdeps/i386/configure: Regenerated.
12340
12341 * nptl/createthread.c: Don't include kernel-features.h.
12342 * nptl/pthread_cancel.c: Likewise.
12343 * nptl/pthread_condattr_setclock.c: Likewise.
12344 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
12345 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
12346 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
12347 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
12348 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
12349 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
12350 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
12351 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
12352 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
12353 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
12354 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
12355 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
12356 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
12357 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
12358 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
12359 * nscd/gai.c: Likewise.
12360 * nss/nss_db/db-open.c: Likewise.
12361 * sysdeps/generic/ldsodefs.h: Likewise.
12362 * sysdeps/sh/nptl/tls.h: Likewise.
12363 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12364 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
12365 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
12366 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
12367 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
12368 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12369 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
12370 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12371 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
12372 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
12373 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
12374 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
12375 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
12376 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
12377 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
12378 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
12379 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
12380 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
12381 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
12382 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
12383 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12384 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12385 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
12386 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
12387 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12388 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12389 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
12390 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
12391 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
12392 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
12393 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
12394 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12395 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12396 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
12397 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12398 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12399 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
12400 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12401 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
12402 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
12403 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12404 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
12405 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
12406 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12407 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
12408 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
12409 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
12410 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
12411 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
12412 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12413 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12414 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12415 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12416 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12417 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
12418 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12419 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
12420 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
12421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
12423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
12424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
12425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
12426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
12432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
12433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
12434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
12435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
12436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
12437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
12438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
12439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
12440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
12441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
12442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
12443 * sysdeps/unix/sysv/linux/pread.c: Likewise.
12444 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
12445 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
12446 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
12447 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
12448 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
12449 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
12450 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
12451 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
12452 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12453 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12454 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12455 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
12456 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
12457 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
12458 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
12459 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12460 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
12461 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
12462 * sysdeps/unix/sysv/linux/system.c: Likewise.
12463 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
12464 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
12465 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
12466 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
12467 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
12468 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12469 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12470
12471 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
12472 * configure: Regenerated.
12473 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
12474
12475 * configure.ac (base_machine): Do not set specially for particular
12476 machines here.
12477 * configure: Regenerated.
12478 * sysdeps/powerpc/preconfigure: Move machine and base_machine
12479 settings from configure.ac.
12480 * sysdeps/i386/preconfigure: New file.
12481 * sysdeps/s390/preconfigure: Likewise.
12482 * sysdeps/sh/preconfigure: Likewise.
12483 * sysdeps/sparc/preconfigure: Likewise.
12484
12485 2014-06-25 Roland McGrath <roland@hack.frob.com>
12486
12487 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
12488 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
12489 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
12490 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
12491 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
12492 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
12493 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
12494 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
12495 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
12496 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
12497 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
12498 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
12499 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
12500 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
12501 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
12502 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
12503 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
12504 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
12505 * sysdeps/sparc/sparc64/Makefile: ... appended here.
12506
12507 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
12508 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
12509 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
12510 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
12511 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
12512 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
12513 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
12514 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
12515 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
12516 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
12517 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
12518 * sysdeps/sparc/sparc32/sem_post.c: ... here.
12519 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
12520 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
12521 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
12522 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
12523 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
12524 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
12525 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
12526 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
12527 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
12528 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
12529 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
12530 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
12531 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
12532 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
12533 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
12534 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
12535 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
12536 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
12537 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
12538 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
12539 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
12540 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
12541 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
12542 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
12543 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
12544 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
12545
12546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
12547 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
12548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
12549 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
12550 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
12551 Moved ...
12552 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
12553 ... here.
12554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
12555 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
12556 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
12557 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
12558 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
12559 Moved ...
12560 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
12561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
12562 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
12563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
12564 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
12565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
12566 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
12567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
12568 Moved ...
12569 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
12570 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
12571 Moved ...
12572 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
12573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
12574 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
12575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
12576 Moved ...
12577 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
12578 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
12579 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
12580 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
12581 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
12582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
12583 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
12584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
12585 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
12586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
12587 Moved ...
12588 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
12589 ... here.
12590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
12591 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
12592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
12593 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
12594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
12595 Moved ...
12596 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
12597 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
12598 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
12599 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
12600 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
12601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
12602 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
12603 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
12604 Moved ...
12605 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
12606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
12607 Moved ...
12608 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
12609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
12610 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
12611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
12612 Moved ...
12613 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
12614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
12615 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
12616 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
12617 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
12618
12619 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12620
12621 * timezone/checktab.awk: Update from tzcode 2014e.
12622 * timezone/private.h: Likewise.
12623 * timezone/tzfile.h: Likewise.
12624 * timezone/zdump.c: Likewise.
12625 * timezone/zic.c: Likewise.
12626
12627 * sysdeps/unix/sysv/linux/kernel-features.h
12628 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
12629 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
12630 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
12631 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12632 Remove conditional code.
12633
12634 2014-06-25 Will Newton <will.newton@linaro.org>
12635
12636 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
12637 (_dl_arm_cap_flags): Add HWCAP2 values.
12638 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
12639 (_DL_HWCAP_COUNT): Increase to 37.
12640 (_DL_HWCAP_LAST): New define.
12641 (_DL_HWCAP2_LAST): New define.
12642 (_dl_procinfo): Add support for printing
12643 AT_HWCAP2 entries.
12644 (_dl_string_hwcap): Use _dl_hwcap_string.
12645
12646 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12647
12648 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12649
12650 2014-06-25 Joseph Myers <joseph@codesourcery.com>
12651
12652 * README: Do not mention ports directory.
12653
12654 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
12655 Remove macro.
12656 * sysdeps/unix/sysv/linux/futimes.c: Do not include
12657 <kernel-features.h>.
12658 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
12659 conditional variable definition.
12660 (__futimes): Update comment.
12661 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
12662 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
12663
12664 [BZ #16560]
12665 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
12666 arguments close to 0.
12667 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
12668 Likewise.
12669 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
12670 Likewise.
12671 * math/auto-libm-test-in: Add more tests of exp10.
12672 * math/auto-libm-test-out: Regenerated.
12673 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12674
12675 * sysdeps/unix/sysv/linux/kernel-features.h
12676 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
12677 * sysdeps/unix/sysv/linux/readv.c: Do not include
12678 <kernel-features.h>.
12679 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12680 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12681 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12682 unconditional.
12683 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12684 conditional code.
12685 * sysdeps/unix/sysv/linux/writev.c: Do not include
12686 <kernel-features.h>.
12687 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
12688 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
12689 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
12690 unconditional.
12691 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
12692 conditional code.
12693
12694 2014-06-25 Will Newton <will.newton@linaro.org>
12695
12696 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
12697 comment changes throughout the file. Remove checks
12698 for HAVE_*_H definitions that are not required.
12699 (__gen_tempname): Call abort if an unknown kind value is
12700 passed.
12701
12702 2014-06-25 Andreas Schwab <schwab@suse.de>
12703
12704 [BZ #17086]
12705 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
12706 scalbln, scalblnf, scalblnl in libc.
12707
12708 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12709
12710 [BZ #17086]
12711 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
12712 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12713 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12714
12715 2014-06-24 Roland McGrath <roland@hack.frob.com>
12716
12717 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
12718 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
12719 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
12720 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
12721 Update #include.
12722 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
12723 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
12724 Update #include.
12725 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
12726 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
12727 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
12728 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
12729 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
12730 * sysdeps/x86/bits/pthreadtypes.h: ... here.
12731 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
12732 * sysdeps/x86/bits/semaphore.h: ... here.
12733 * sysdeps/x86/nptl/elide.h: Moved ...
12734 * sysdeps/x86/elide.h: ... here.
12735 * sysdeps/x86_64/nptl/Implies: File removed.
12736 * sysdeps/i386/nptl/Implies: File removed.
12737
12738 2014-06-24 Joseph Myers <joseph@codesourcery.com>
12739
12740 [BZ #16539]
12741 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
12742 return the argument for normal arguments with exponent below -64.
12743 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
12744 Likewise.
12745 * math/auto-libm-test-in: Add another test of expm1.
12746 * math/auto-libm-test-out: Regenerated.
12747
12748 [BZ #16287]
12749 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
12750 calling __erfcl for arguments at least 16.
12751 * math/auto-libm-test-in: Add more tests of erf.
12752 * math/auto-libm-test-out: Regenerated.
12753
12754 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
12755 individual architectures.
12756 * sysdeps/unix/sysv/linux/configure: Regenerated.
12757 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
12758 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
12759 * sysdeps/unix/sysv/linux/powerpc/configure.ac
12760 (ldd_rewrite_script): Define variable.
12761 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
12763 file.
12764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
12765 generated file.
12766 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
12767 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
12768 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
12769 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
12770 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
12771 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
12772 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
12773 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
12774
12775 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12776
12777 [BZ #17084]
12778 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
12779 Rename member __data.d to __data.__elision_data.
12780
12781 2014-06-24 Wilco <wdijkstr@arm.com>
12782
12783 * NEWS: Add 16918 to fixed bug list.
12784
12785 2014-06-24 Wilco <wdijkstr@arm.com>
12786
12787 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
12788
12789 2014-06-24 Wilco <wdijkstr@arm.com>
12790
12791 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
12792 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
12793 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
12794 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
12795 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
12796 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
12797 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
12798 Use _FPU_MASK_RM.
12799
12800 2014-06-24 Wilco <wdijkstr@arm.com>
12801
12802 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
12803
12804 2014-06-24 Wilco <wdijkstr@arm.com>
12805
12806 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
12807 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
12808 * sysdeps/arm/fesetround.c (fesetround): Remove space.
12809 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
12810
12811 2014-06-24 Wilco <wdijkstr@arm.com>
12812
12813 [BZ #16918]
12814 * sysdeps/arm/feupdateenv.c (feupdateenv):
12815 Rewrite to reduce FPSCR accesses and fix return value.
12816
12817 2014-06-24 Wilco <wdijkstr@arm.com>
12818
12819 * sysdeps/arm/fclrexcpt.c (feclearexcept):
12820 Optimize to avoid unnecessary FPSCR writes.
12821 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
12822 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
12823 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
12824 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
12825
12826 2014-06-24 Wilco <wdijkstr@arm.com>
12827
12828 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
12829 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
12830 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
12831 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
12832 Call libc_fetestexcept_vfp.
12833 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
12834 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
12835 __SOFTFP__ ifdef so that they can be built for softfp.
12836
12837 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12838
12839 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
12840 argument type signed char.
12841
12842 * Makerules (check-abi): Dump diff of symlist if the test
12843 fails.
12844
12845 2014-06-23 Roland McGrath <roland@hack.frob.com>
12846
12847 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
12848 using abort.
12849
12850 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12851 Remove unused variable ST.
12852
12853 2014-06-23 Joseph Myers <joseph@codesourcery.com>
12854
12855 [BZ #16354]
12856 [BZ #17061]
12857 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
12858 small arguments before calling __expm1.
12859 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
12860 small arguments before calling __expm1f.
12861 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
12862 small arguments before calling __expm1l.
12863 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
12864 Likewise.
12865 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
12866 * math/auto-libm-test-in: Add more cosh tests. Do not allow
12867 spurious underflow for some cosh tests.
12868 * math/auto-libm-test-out: Regenerated.
12869 * sysdeps/i386/fpu/libm-test-ulps: Update.
12870
12871 [BZ #17050]
12872 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
12873 (__ieee754_y1): Set errno if return value overflows.
12874 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
12875 (__ieee754_y1f): Set errno if return value overflows.
12876 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
12877 (__ieee754_y1l): Set errno if return value overflows.
12878 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
12879 (__ieee754_y1l): Set errno if return value overflows.
12880 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
12881 * math/auto-libm-test-out: Regenerated.
12882
12883 * math/gen-auto-libm-tests.c: Document use of
12884 ignore-zero-inf-sign.
12885 (input_flag_type): Add value flag_ignore_zero_inf_sign.
12886 (input_flags): Add ignore-zero-inf-sign.
12887 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
12888 * math/gen-libm-test.pl (generate_testfile): Handle
12889 ignore-zero-inf-sign.
12890 * math/auto-libm-test-in: Mark some cpow tests with
12891 ignore-zero-inf-sign and some with xfail-rounding.
12892 * math/auto-libm-test-out: Regenerated.
12893 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
12894 * sysdeps/i386/fpu/libm-test-ulps: Update.
12895 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12896
12897 [BZ #16315]
12898 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
12899 overflowing or underflowing operations take place with sign of
12900 result.
12901 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
12902 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
12903 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
12904 (__ieee754_pow): Recompute overflowing and underflowing results in
12905 original rounding mode.
12906 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
12907 (__powl_helper): Allow negative argument X and scale negated value
12908 as needed. Avoid passing value outside [-1, 1] to f2xm1.
12909 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
12910 overflowing or underflowing operations take place with sign of
12911 result.
12912 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
12913 Include <math.h>.
12914 * math/auto-libm-test-in: Add more tests of pow.
12915 * math/auto-libm-test-out: Regenerated.
12916 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
12917 (pow_tonearest_test_data): Remove.
12918 (pow_test_tonearest): Likewise.
12919 (pow_towardzero_test_data): Likewise.
12920 (pow_test_towardzero): Likewise.
12921 (pow_downward_test_data): Likewise.
12922 (pow_test_downward): Likewise.
12923 (pow_upward_test_data): Likewise.
12924 (pow_test_upward): Likewise.
12925 (main): Don't call removed functions.
12926 * sysdeps/i386/fpu/libm-test-ulps: Update.
12927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12928
12929 2014-06-23 Roland McGrath <roland@hack.frob.com>
12930
12931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
12932 Moved ...
12933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
12934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
12935 Moved ...
12936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
12937 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
12938 Moved ...
12939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
12940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
12941 Moved ...
12942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
12943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
12944 File removed.
12945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
12946 File removed.
12947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
12948 File removed.
12949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
12950 File removed.
12951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
12952 File removed.
12953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
12954 File removed.
12955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
12956 File removed.
12957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
12958 File removed.
12959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
12960 File removed.
12961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
12962 File removed.
12963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
12964 File removed.
12965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
12966 File removed.
12967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
12968 Moved ...
12969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
12970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
12971 Moved ...
12972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
12973 ... here.
12974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
12975 Moved ...
12976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
12977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
12978 Moved ...
12979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
12980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
12981 Moved ...
12982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
12983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
12984 Moved ...
12985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
12986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
12987 Moved ...
12988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
12989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
12990 Moved ...
12991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
12992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
12993 Moved ...
12994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
12995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
12996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
12997 ... here.
12998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
12999 Moved ...
13000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
13001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13002 Moved ...
13003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13004 ... here.
13005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
13006 Moved ...
13007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13008 ... here.
13009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13010 Moved ...
13011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13012 ... here.
13013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13014 Moved ...
13015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
13016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13017 Moved ...
13018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
13019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
13020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
13021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13022 Moved ...
13023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13024 ... here.
13025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13026 Moved ...
13027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13028 ... here.
13029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13030 Moved ...
13031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
13032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13033 Moved ...
13034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
13035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13036 Moved ...
13037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
13038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13039 Moved ...
13040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
13041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13042 Moved ...
13043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13044 ... here.
13045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13046 Moved ...
13047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
13048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13049 Moved ...
13050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
13051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13052 Moved ...
13053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
13054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13055 Moved ...
13056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
13057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
13058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
13059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13060 Moved ...
13061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
13062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13063 Moved ...
13064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
13065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13066 Moved ...
13067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13068 ... here.
13069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13070 Moved ...
13071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13072 ... here.
13073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13074 Moved ...
13075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13076 ... here.
13077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13078 Moved ...
13079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
13080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13081 Moved ...
13082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
13083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13084 Moved ...
13085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
13086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13087 Moved ...
13088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13089 ... here.
13090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13091 Moved ...
13092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13093 ... here.
13094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13095 Moved ...
13096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13097 ... here.
13098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13099 Moved ...
13100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
13101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13102 Moved ...
13103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
13104
13105 2014-06-23 Will Newton <will.newton@linaro.org>
13106 Wilco <wdijkstr@arm.com>
13107
13108 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
13109 implementation. Include get-rounding-mode.h.
13110 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
13111 [!libc_feholdsetround_noex_ctx]: Define
13112 libc_feholdsetround_noex_ctx.
13113 [!libc_feholdsetround_noexf_ctx]: Define
13114 libc_feholdsetround_noexf_ctx.
13115 [!libc_feholdsetround_noexl_ctx]: Define
13116 libc_feholdsetround_noexl_ctx.
13117 (libc_feholdsetround_ctx): New function.
13118 (libc_feresetround_ctx): New function.
13119 (libc_feholdsetround_noex_ctx): New function.
13120 (libc_feresetround_noex_ctx): New function.
13121
13122 2014-06-23 Roland McGrath <roland@hack.frob.com>
13123
13124 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
13125 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
13126 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
13127 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
13128 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
13129 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
13130
13131 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
13132 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
13133 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
13134 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
13135 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
13136 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
13137 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
13138 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
13139 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
13140 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
13141 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
13142 Moved ...
13143 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13144 ... here.
13145 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
13146 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
13147 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
13148 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
13149 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
13150 Moved ...
13151 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
13152 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
13153 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
13154 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
13155 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
13156 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
13157 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
13158 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
13159 Moved ...
13160 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
13161 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
13162 Moved ...
13163 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
13164 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
13165 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
13166 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
13167 Moved ...
13168 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
13169 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
13170 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
13171 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
13172 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
13173 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
13174 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
13175 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
13176 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
13177 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
13178 Moved ...
13179 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13180 ... here.
13181 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
13182 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
13183 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
13184 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
13185 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
13186 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
13187 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
13188 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
13189 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
13190 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
13191 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
13192 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
13193 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
13194 Moved ...
13195 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
13196 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
13197 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
13198 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
13199 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
13200 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
13201 Moved ...
13202 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
13203 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
13204 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
13205 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
13206 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
13207
13208 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
13209 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
13210 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
13211 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
13212 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
13213 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
13214 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
13215 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
13216 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
13217 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
13218 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
13219 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
13220 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
13221 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
13222 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
13223 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
13224 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
13225 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
13226 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
13227 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
13228 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
13229 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
13230 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
13231 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
13232 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
13233 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
13234 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
13235 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
13236
13237 2014-06-23 Joseph Myers <joseph@codesourcery.com>
13238
13239 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
13240 (FALLOC_FL_COLLAPSE_RANGE): New macro.
13241 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
13242 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
13243 (IPV6_PMTUDISC_INTERFACE): Likewise.
13244 (IPV6_PMTUDISC_OMIT): Likewise.
13245
13246 2014-06-23 Andreas Schwab <schwab@suse.de>
13247
13248 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
13249 Remove unused errout label.
13250
13251 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13252
13253 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
13254 macro: hardware supports Vector Crypto instructions.
13255
13256 2014-06-23 Will Newton <will.newton@linaro.org>
13257
13258 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
13259 rather than __builtin_expect.
13260
13261 * elf/dl-lookup.c (undefined_msg): Remove variable.
13262 (_dl_lookup_symbol_x): Replace undefined_msg with string
13263 literal.
13264
13265 * elf/dl-lookup.c (do_lookup_unique): New function.
13266 (do_lookup_x): Move STB_GNU_UNIQUE handling code
13267 to a separate function.
13268
13269 2014-06-23 Andreas Schwab <schwab@suse.de>
13270
13271 [BZ #17079]
13272 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
13273 before reading the next line.
13274
13275 2014-06-23 Will Newton <will.newton@linaro.org>
13276
13277 * test-skeleton.c (signal_handler): Use printf and %m
13278 rather than perror. Use printf rather than fprintf to
13279 stderr. Use puts rather than fputs to stderr.
13280 (main): Likewise.
13281
13282 2014-06-22 Ludovic Courtès <ludo@gnu.org>
13283
13284 * nscd/nscd.c (thread_info_t): Remove typedef.
13285 (thread_info): Remove variable.
13286
13287 2014-06-21 Allan McRae <allan@archlinux.org>
13288
13289 * NEWS: Mention CVE-2014-4043.
13290
13291 2014-06-20 Roland McGrath <roland@hack.frob.com>
13292
13293 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
13294 * nptl/smp.h: ... here.
13295
13296 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
13297
13298 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
13299 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
13300 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
13301 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
13302
13303 * nptl/allocatestack.c: Include <stack-aliasing.h>.
13304 * nptl/stack-aliasing.h: New file.
13305 * sysdeps/i386/i686/stack-aliasing.h: New file.
13306 * sysdeps/i386/i686/nptl/Makefile: File removed.
13307 * sysdeps/x86_64/stack-aliasing.h: New file.
13308 * sysdeps/x86_64/nptl/Makefile
13309 (CFLAGS-pthread_create.c): Variable removed.
13310
13311 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
13312 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
13313 old file.
13314 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
13315 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
13316 old file.
13317
13318 2014-06-21 Joseph Myers <joseph@codesourcery.com>
13319
13320 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13321 (__ASSUME_SIGFRAME_V2): Remove macro.
13322 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
13323 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
13324 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
13325 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
13326 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
13327 Declare as function. Remove conditional macro definitions.
13328 (__default_rt_sa_restorer): Likewise.
13329 (__default_sa_restorer_v1): Remove declaration.
13330 (__default_sa_restorer_v2): Likewise.
13331 (__default_rt_sa_restorer_v1): Likewise.
13332 (__default_rt_sa_restorer_v2): Likewise.
13333 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
13334 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
13335 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
13336
13337 2014-06-20 Roland McGrath <roland@hack.frob.com>
13338
13339 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
13340 (libpthread-routines): Add sysdep.
13341 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
13342 * sysdeps/unix/sysv/linux/sparc/Versions
13343 (libpthread: GLIBC_2.3.3): New version set.
13344 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
13345 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
13346 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
13347 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
13348 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
13349 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
13350 Moved ...
13351 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
13352 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
13353 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
13354 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
13355 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
13356 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
13357 * sysdeps/sparc/nptl/sem_init.c: ... here.
13358 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
13359 * sysdeps/sparc/nptl/sem_post.c: ... here.
13360 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
13361 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
13362 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
13363 * sysdeps/sparc/nptl/sem_wait.c: ... here.
13364 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
13365 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
13366 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
13367 (libpthread-routines): Add cpu_relax.
13368 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
13369 File removed.
13370 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
13371 (librt: GLIBC_2.3.3): New version set.
13372 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
13373 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
13374 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
13375 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
13376 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
13377 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
13378 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
13379 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
13380 Moved ...
13381 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
13382 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
13383 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
13384 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
13385 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
13386 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
13387 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
13388 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
13389 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
13390 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
13391 Moved ...
13392 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
13393 Update #include.
13394 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
13395 Moved ...
13396 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
13397 Update #include.
13398 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
13399 Moved ...
13400 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
13401 Update #include.
13402 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
13403 Moved ...
13404 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
13405 Update #include.
13406 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
13407 Moved ...
13408 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
13409 Update #include.
13410 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
13411 Moved ...
13412 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
13413 Update #include.
13414 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
13415 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
13416 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
13417 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
13418 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
13419 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
13420 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
13421 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
13422 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
13423 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
13424 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13425 Moved ...
13426 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
13427 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
13428 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
13429 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
13430 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
13431
13432 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13433
13434 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
13435 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
13436 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
13437 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
13438 * nscd/nscd.c: Likewise.
13439 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13440 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13441 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13442 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13443
13444 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
13445 <kernel-features.h>.
13446 (init_mq_netlink): Remove conditional have_sock_cloexec
13447 definitions. Remove code conditional on have_sock_cloexec < 0.
13448 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
13449 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
13450 * sysdeps/unix/sysv/linux/opensock.c: Do not include
13451 <kernel-features.h>.
13452 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
13453 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
13454
13455 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13456
13457 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13458 Add tests for memset_chk and memset.
13459
13460 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
13461 with AVX2_Usable.
13462
13463 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13464
13465 [BZ #16046]
13466 * elf/tst-dl-iter-static.c: New file.
13467 * elf/Makefile (tests-static): Add tst-dl-iter-static.
13468
13469 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
13470 error.
13471
13472 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13473
13474 * sysdeps/unix/sysv/linux/kernel-features.h
13475 (__ASSUME_F_GETOWN_EX): Remove macro.
13476 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
13477 <kernel-features.h>.
13478 (miss_F_GETOWN_EX): Remove variable or macro.
13479 (do_fcntl): Do not check miss_F_GETOWN_EX.
13480 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
13481
13482 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
13483 Remove macro.
13484 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
13485 [!__ASSUME_AT_RANDOM]: Remove conditional code.
13486 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
13487
13488 * sysdeps/unix/sysv/linux/kernel-features.h
13489 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
13490 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
13491 [ADJ_OFFSET_SS_READ]: Make code unconditional.
13492 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
13493
13494 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
13495
13496 [BZ #17075]
13497 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
13498 Fix calculation of the symbol's value.
13499 * sysdeps/arm/tst-armtlsdescloc.c: New file.
13500 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
13501 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
13502 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
13503 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
13504 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
13505 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
13506 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
13507 (modules-names): Add `tst-armtlsdescmod',
13508 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
13509 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
13510 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13511 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
13512 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
13513 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
13514 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
13515 ($(objpfx)tst-armtlsdescloc): New dependency.
13516 ($(objpfx)tst-armtlsdescextnow): Likewise.
13517 ($(objpfx)tst-armtlsdescextlazy): Likewise.
13518 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
13519 TLS scheme support.
13520 * sysdeps/arm/configure: Regenerate.
13521
13522 2014-06-20 Joseph Myers <joseph@codesourcery.com>
13523
13524 * include/fcntl.h (__atfct_seterrno): Remove prototype.
13525 (__atfct_seterrno_2): Likewise.
13526 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
13527 <kernel-features.h>.
13528 (__ASSUME_ATFCTS): Do not undefine and redefine.
13529 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
13530 (__have_atfcts): Remove conditional definition.
13531 (__fxstatat([__NR_fstatat64]: Make code unconditional.
13532 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
13533 unreachable if [__ASSUME_ATFCTS].
13534 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
13535 not undefine and redefine.
13536 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
13537 <kernel-features.h>.
13538 (faccessat) [__NR_faccessat]: Make code unconditional.
13539 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
13540 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
13541 <kernel-features.h>.
13542 (fchmodat) [__NR_fchmodat]: Make code unconditional.
13543 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13544 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
13545 <kernel-features.h>.
13546 (fchownat) [__NR_fchownat]: Make code unconditional.
13547 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
13548 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
13549 <kernel-features.h>.
13550 (futimesat) [__NR_futimesat]: Make code unconditional.
13551 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
13552 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
13553 <kernel-features.h>.
13554 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13555 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13556 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
13557 <kernel-features.h>.
13558 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
13559 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13560 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
13561 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
13562 <kernel-features.h>.
13563 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
13564 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13565 * sysdeps/unix/sysv/linux/linkat.c: Do not include
13566 <kernel-features.h>.
13567 (linkat) [__NR_linkat]: Make code unconditional.
13568 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13569 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
13570 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
13571 <kernel-features.h>.
13572 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
13573 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
13574 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
13575 <kernel-features.h>.
13576 (mkdirat) [__NR_mkdirat]: Make code unconditional.
13577 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
13578 * sysdeps/unix/sysv/linux/openat.c: Do not include
13579 <kernel-features.h>.
13580 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
13581 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
13582 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
13583 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
13584 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
13585 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
13586 <kernel-features.h>.
13587 (readlinkat) [__NR_readlinkat]: Make code unconditional.
13588 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
13589 result of INLINE_SYSCALL directly, not via int variable.
13590 * sysdeps/unix/sysv/linux/renameat.c: Do not include
13591 <kernel-features.h>.
13592 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
13593 (renameat) [__NR_renameat]: Make code unconditional.
13594 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
13595 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
13596 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
13597 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
13598 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
13599 (__ASSUME_ATFCTS): Do not undefine and redefine.
13600 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
13601 <kernel-features.h>.
13602 (symlinkat) [__NR_symlinkat]: Make code unconditional.
13603 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13604 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
13605 <kernel-features.h>.
13606 (unlinkat) [__NR_unlinkat]: Make code unconditional.
13607 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
13608 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
13609 (__ASSUME_ATFCTS): Do not undefine and redefine.
13610 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
13611 <kernel-features.h>.
13612 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
13613 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
13614 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
13615 <kernel-features.h>.
13616 (__xmknodat) [__NR_mknodat]: Make code unconditional.
13617 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
13618
13619 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
13620
13621 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
13622
13623 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
13624
13625 [BZ #17069]
13626 * posix/regcomp.c (parse_reg_exp): Deallocate partially
13627 constructed tree before returning error.
13628 * posix/bug-regexp36.c: Expand test case.
13629
13630 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
13631
13632 [BZ #6803]
13633 * math/libm-test.inc (scalbln_test_date):
13634 Add errno expectations.
13635 * math/w_scalblnf.c: New File.
13636 Add wrapper which checks for setting errno to ERANGE.
13637 Add weak_alias for corresponding scalbln function.
13638 * math/w_scalbln.c: Likewise.
13639 * math/w_scalblnl.c: Likewise.
13640 * math/Makefile (libm-calls): Add w_scalbln.
13641 * sysdeps/ieee754/flt-32/s_scalblnf.c:
13642 Remove weak_alias for corresponding scalbln function.
13643 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13644 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
13645 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
13646 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13647 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
13648 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13649 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
13650 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13651 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
13652 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
13653 Remove long_double_symbol for scalblnl function in libm, libc.
13654 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
13655 Add wrapper which checks for setting errno to ERANGE.
13656 Add long_double_symbol for scalblnl function in libm, libc.
13657 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
13658 Remove long_double_symbol for scalblnl in libm.
13659 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
13660 Add wrapper which checks for setting errno to ERANGE.
13661 Add long_double_symbol for scalblnl function in libm.
13662 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
13663 Do not use wrapper because of own implementation.
13664
13665 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
13666
13667 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
13668 3 bytes for __pad1 for x32.
13669 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
13670
13671 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
13672 H.J. Lu <hongjiu.lu@intel.com>
13673
13674 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
13675 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
13676 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13677 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13678 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
13679
13680 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
13681
13682 [BZ #17069]
13683 * posix/regcomp.c (parse_expression): Deallocate partially
13684 constructed tree before returning error.
13685 * posix/Makefile.c (tests): Add bug-regex36.
13686 (generated): Add bug-regex36.mtrace.
13687 (tests-special): Add $(objpfx)bug-regex36-mem.out
13688 (bug-regex36-ENV): New variable.
13689 ($(objpfx)bug-regex36-mem.out): New rule.
13690 * posix/bug-regex36.c: New file.
13691
13692 2014-06-19 Will Newton <will.newton@linaro.org>
13693
13694 * malloc/malloc.c (systrim): If extra is zero then return
13695 early.
13696
13697 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13698
13699 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
13700
13701 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
13702
13703 * sysdeps/aarch64/strchr.S: New file.
13704
13705 2014-06-18 Joseph Myers <joseph@codesourcery.com>
13706
13707 [BZ #17022]
13708 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
13709 from arguments -2 or below.
13710 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
13711 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
13712
13713 2014-06-18 Andreas Schwab <schwab@suse.de>
13714
13715 [BZ #17062]
13716 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
13717 of a bracket expr not to run off the end of the string.
13718 * posix/Makefile (tests): Add tst-fnmatch3.
13719 * posix/tst-fnmatch3.c: New file.
13720
13721 2014-06-18 Joseph Myers <joseph@codesourcery.com>
13722
13723 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
13724 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13725 [$(cross-compiling) = no]: Likewise.
13726 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13727 [$(cross-compiling) = no]: Likewise.
13728
13729 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13730
13731 [BZ #17031]
13732 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
13733 double, adjusted for any remainder from the high double.
13734 * math/libm-test.inc (nearbyint): Add tests.
13735 (rint): Likewise.
13736
13737 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13738
13739 * nptl/sysdeps/powerpc/Makefile: Moved ...
13740 * sysdeps/powerpc/nptl/Makefile: ... here.
13741 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
13742 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
13743 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
13744 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
13745 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
13746 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
13747 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
13748 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
13749 * nptl/sysdeps/powerpc/tls.h: Moved ...
13750 * sysdeps/powerpc/nptl/tls.h: ... here.
13751
13752 2014-06-16 Joseph Myers <joseph@codesourcery.com>
13753
13754 [BZ #16681]
13755 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
13756 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
13757 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
13758 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
13759 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
13760 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
13761 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
13762 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
13763 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
13764
13765 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
13766
13767 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
13768
13769 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
13770
13771 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
13772 defined operator.
13773
13774 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
13775 $TIMEOUTFACTOR.
13776
13777 2014-06-16 Florian Weimer <fweimer@redhat.com>
13778
13779 [BZ #17058]
13780 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
13781 non-executed part of the test.
13782
13783 2014-06-16 Andreas Schwab <schwab@suse.de>
13784
13785 * string/bits/string2.h (strdup, strndup): Update feature guard.
13786
13787 2014-06-14 David S. Miller <davem@davemloft.net>
13788
13789 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13790
13791 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
13792
13793 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
13794 that was previously under [RESET_PID].
13795 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
13796
13797 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
13798 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
13799 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
13800 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13801 (__libc_vfork): New strong alias.
13802 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
13803
13804 2014-06-14 Andi Kleen <ak@linux.intel.com>
13805
13806 * sysdeps/generic/elide.h: New file.
13807
13808 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
13809
13810 * Makefile (installed-headers): Adjust path of pthread.h header.
13811
13812 2014-06-13 Roland McGrath <roland@hack.frob.com>
13813
13814 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
13815 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
13816 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
13817 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
13818
13819 * nptl/sysdeps/s390/Makefile: Moved ...
13820 * sysdeps/s390/nptl/Makefile: ... here.
13821 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
13822 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
13823 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
13824 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
13825 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
13826 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
13827 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
13828 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
13829 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
13830 * sysdeps/s390/nptl/pthreaddef.h: ... here.
13831 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
13832 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
13833 * nptl/sysdeps/s390/tls.h: Moved ...
13834 * sysdeps/s390/nptl/tls.h: ... here.
13835
13836 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
13837 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
13838
13839 2014-06-13 David S. Miller <davem@davemloft.net>
13840
13841 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
13842 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
13843 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
13844 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
13845 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
13846 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
13847 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
13848 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
13849 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
13850 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
13851 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
13852 Remove RESET_PID cpp guards.
13853 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
13854 Remove RESET_PID cpp guards.
13855 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
13856
13857 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
13858
13859 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
13860 __sp to uintptr_t.
13861
13862 2014-06-13 Andi Kleen <ak@linux.intel.com>
13863
13864 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
13865 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
13866 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
13867 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
13868 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
13869 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
13870 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
13871 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
13872 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
13873 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
13874 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
13875 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
13876 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
13877 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
13878 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
13879 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
13880 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
13881 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
13882 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
13883 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
13884
13885 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
13886 (pthread_rwlock_rdlock): Add elision.
13887 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
13888 (pthread_rwlock_wrlock): Add elision.
13889 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
13890 (pthread_rwlock_trywrlock): Add elision.
13891 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
13892 (pthread_rwlock_tryrdlock): Add elision.
13893 * nptl/pthread_rwlock_unlock.c: Include elide.h.
13894 (pthread_rwlock_tryrdlock): Add elision unlock.
13895 * nptl/sysdeps/pthread/pthread.h:
13896 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
13897 (PTHREAD_RWLOCK_INITIALIZER,
13898 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
13899 Handle new elision field.
13900 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
13901 * sysdeps/arm/nptl/bits/pthreadtypes.h
13902 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13903 * sysdeps/sh/nptl/bits/pthreadtypes.h
13904 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13905 * sysdeps/tile/nptl/bits/pthreadtypes.h
13906 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13907 * sysdeps/a/nptl/bits/pthreadtypes.h
13908 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13909 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13910 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13911 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13912 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13913 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
13914 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13915 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13916 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13917 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13918 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13919 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13920 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13921 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13922 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13923 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
13924 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13925 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
13926 (elision_init): Set try_xbegin to zero when no RTM.
13927 * sysdeps/x86/nptl/bits/pthreadtypes.h
13928 (pthread_rwlock_t): Change __pad1 to __rwelision.
13929 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
13930
13931 2014-06-13 Andi Kleen <ak@linux.intel.com>
13932
13933 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
13934 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
13935 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
13936 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
13937
13938 2014-06-13 Meador Inge <meadori@codesourcery.com>
13939
13940 [BZ #16996]
13941 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
13942 that the cached result has been set before returning it.
13943
13944 2014-06-12 Roland McGrath <roland@hack.frob.com>
13945
13946 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
13947 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
13948 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
13949 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
13950 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
13951 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
13952
13953 * nptl/sysdeps/sparc/Makefile: Moved ...
13954 * sysdeps/sparc/nptl/Makefile: ... here.
13955 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
13956 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
13957 * nptl/sysdeps/sparc/tls.h: Moved ...
13958 * sysdeps/sparc/nptl/tls.h: ... here.
13959 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
13960 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
13961 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
13962 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
13963 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
13964 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
13965 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
13966 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
13967 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
13968 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
13969 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
13970 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
13971 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
13972 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
13973 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
13974 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
13975 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
13976 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
13977 Update #include.
13978 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
13979 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
13980 Update #include.
13981 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
13982 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
13983 Update #include.
13984 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
13985 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
13986 Update #include.
13987
13988 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
13989
13990 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
13991 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
13992
13993 * sysdeps/pthread/posix-timer.h: Include <list.h>.
13994 (struct list_links): Type removed.
13995 (struct thread_node, struct timer_node): Replace struct list_links
13996 with struct list_head.
13997 (list_unlink_ip): Likewise.
13998 * sysdeps/pthread/timer_routines.c
13999 (timer_free_list, thread_free_list, thread_active_list): Likewise.
14000 (list_append, list_insbefore): Likewise.
14001 (list_init): Function removed.
14002 (thread_init, init_module): Use INIT_LIST_HEAD instead.
14003 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
14004 * sysdeps/pthread/Makefile: ... here, new file.
14005
14006 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
14007 * sysdeps/nptl/Implies: ... here.
14008 * sysdeps/unix/sysv/linux/Implies: Add nptl.
14009 * nptl/sysdeps/pthread/list.h: Moved ...
14010 * include/list.h: ... here.
14011 * nptl/sysdeps/pthread/createthread.c: Moved ...
14012 * nptl/createthread.c: ... here.
14013 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
14014 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
14015 * nptl/pt-longjmp.c: ... here.
14016 * nptl/sysdeps/pthread/Makefile: Moved ...
14017 * sysdeps/nptl/Makefile: ... here.
14018 * nptl/sysdeps/pthread/Subdirs: Moved ...
14019 * sysdeps/nptl/Subdirs: ... here.
14020 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
14021 * sysdeps/nptl/aio_misc.h: ... here.
14022 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
14023 * sysdeps/nptl/bits/libc-lock.h: ... here.
14024 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
14025 * sysdeps/nptl/bits/libc-lockP.h: ... here.
14026 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
14027 * sysdeps/nptl/bits/stdio-lock.h: ... here.
14028 * nptl/sysdeps/pthread/configure: Moved ...
14029 * sysdeps/nptl/configure: ... here.
14030 * nptl/sysdeps/pthread/configure.ac: Moved ...
14031 * sysdeps/nptl/configure.ac: ... here.
14032 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
14033 * sysdeps/nptl/gai_misc.h: ... here.
14034 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
14035 * sysdeps/nptl/librt-cancellation.c: ... here.
14036 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
14037 * sysdeps/nptl/malloc-machine.h: ... here.
14038 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
14039 * sysdeps/nptl/pthread-functions.h: ... here.
14040 * nptl/sysdeps/pthread/pthread.h: Moved ...
14041 * sysdeps/nptl/pthread.h: ... here.
14042 * nptl/sysdeps/pthread/setxid.h: Moved ...
14043 * sysdeps/nptl/setxid.h: ... here.
14044 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
14045 * sysdeps/nptl/sigfillset.c: ... here.
14046 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
14047 * sysdeps/nptl/tcb-offsets.h: ... here.
14048 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
14049 * sysdeps/nptl/tst-mqueue8x.c: ... here.
14050 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
14051 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
14052 * nptl/sysdeps/pthread/allocalim.h: Moved ...
14053 * sysdeps/pthread/allocalim.h: ... here.
14054 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
14055 * sysdeps/pthread/bits/sigthread.h: ... here.
14056 * nptl/sysdeps/pthread/flockfile.c: Moved ...
14057 * sysdeps/pthread/flockfile.c: ... here.
14058 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
14059 * sysdeps/pthread/ftrylockfile.c: ... here.
14060 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
14061 * sysdeps/pthread/funlockfile.c: ... here.
14062 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
14063 * sysdeps/pthread/posix-timer.h: ... here.
14064 * nptl/sysdeps/pthread/timer_create.c: Moved ...
14065 * sysdeps/pthread/timer_create.c: ... here.
14066 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
14067 * sysdeps/pthread/timer_delete.c: ... here.
14068 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
14069 * sysdeps/pthread/timer_getoverr.c: ... here.
14070 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
14071 * sysdeps/pthread/timer_gettime.c: ... here.
14072 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
14073 * sysdeps/pthread/timer_routines.c: ... here.
14074 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
14075 * sysdeps/pthread/timer_settime.c: ... here.
14076 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
14077 * sysdeps/pthread/tst-timer.c: ... here.
14078 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
14079 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
14080
14081 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
14082 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
14083
14084 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
14085 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
14086 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
14087 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
14088 Update #include target.
14089 * nptl/sysdeps/i386/i686/Makefile: Moved ...
14090 * sysdeps/i386/i686/nptl/Makefile: ... here.
14091 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
14092 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
14093 Update #include target.
14094 * nptl/sysdeps/i386/i686/tls.h: Moved ...
14095 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
14096 * nptl/sysdeps/i386/Makefile: Moved ...
14097 * sysdeps/i386/nptl/Makefile: ... here.
14098 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
14099 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
14100 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
14101 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
14102 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
14103 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
14104 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
14105 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
14106 * sysdeps/i386/nptl/pthreaddef.h: ... here.
14107 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
14108 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
14109 * nptl/sysdeps/i386/tls.h: Moved ...
14110 * sysdeps/i386/nptl/tls.h: ... here.
14111
14112 * sysdeps/sh/Makefile [$(subdir) = csu]
14113 (gen-as-const-headers): Add tcb-offsets.sym.
14114 * nptl/sysdeps/sh/Makefile: File removed.
14115 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
14116 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
14117 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
14118 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
14119 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
14120 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
14121 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
14122 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
14123 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
14124 * sysdeps/sh/nptl/pthreaddef.h: ... here.
14125 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
14126 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
14127 * nptl/sysdeps/sh/tls.h: Moved ...
14128 * sysdeps/sh/nptl/tls.h: ... here.
14129 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
14130 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
14131 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
14132 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
14133 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
14134 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
14135 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
14136 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
14137 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
14138 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
14139 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
14140 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
14141 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
14142 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
14143 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
14144 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
14145 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
14146 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
14147 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
14148 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
14149 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
14150 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
14151 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
14152 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
14153 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
14154 Moved ...
14155 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
14156 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
14157 Moved ...
14158 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
14159 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
14160 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
14161 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
14162 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
14163 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
14164 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
14165 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
14166 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
14167 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
14168 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
14169 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
14170 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
14171 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
14172 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
14173 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
14174 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
14175 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
14176 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
14177
14178 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
14179
14180 * posix/spawn_faction_addopen.c: Include string.h.
14181
14182 2014-06-11 Roland McGrath <roland@hack.frob.com>
14183
14184 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
14185 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
14186 * nptl/sysdeps/x86_64/Makefile: Moved ...
14187 * sysdeps/x86_64/nptl/Makefile: ... here.
14188 * nptl/sysdeps/x86_64/configure: Moved ...
14189 * sysdeps/x86_64/nptl/configure: ... here.
14190 * nptl/sysdeps/x86_64/configure.ac: Moved ...
14191 * sysdeps/x86_64/nptl/configure.ac: ... here.
14192 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
14193 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
14194 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
14195 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
14196 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
14197 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
14198 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
14199 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
14200 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
14201 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
14202 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
14203 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
14204 * nptl/sysdeps/x86_64/tls.h: Moved ...
14205 * sysdeps/x86_64/nptl/tls.h: ... here.
14206 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
14207 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
14208 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
14209 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
14210
14211 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
14212
14213 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14214
14215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14216
14217 2014-06-11 Joseph Myers <joseph@codesourcery.com>
14218
14219 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
14220 type.
14221 [POSIX] (off_t): Likewise.
14222 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
14223 [POSIX] (S_ISBLK): Require macro.
14224 [POSIX] (S_ISCHR): Likewise.
14225 [POSIX] (S_ISDIR): Likewise.
14226 [POSIX] (S_ISFIFO): Likewise.
14227 [POSIX] (S_ISREG): Likewise.
14228 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
14229 optional-macro.
14230 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
14231 type.
14232 [POSIX] (time_t): Likewise.
14233 [POSIX] (timer_t): Likewise.
14234
14235 2014-06-11 Florian Weimer <fweimer@redhat.com>
14236
14237 [BZ #17048]
14238 * posix/spawn_int.h (struct __spawn_action): Make the path string
14239 non-const to support deallocation.
14240 * posix/spawn_faction_addopen.c
14241 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
14242 * posix/spawn_faction_destroy.c
14243 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
14244 path in all spawn_do_open actions.
14245 * posix/tst-spawn.c (do_test): Exercise the copy operation in
14246 posix_spawn_file_actions_addopen.
14247
14248 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
14249
14250 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
14251 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
14252 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
14253 conditional code always true.
14254 (__libc_vfork): New alias.
14255
14256 2014-06-11 Roland McGrath <roland@hack.frob.com>
14257
14258 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14259 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
14260
14261 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
14262
14263 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14264 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
14265
14266 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14267 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
14268
14269 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14270 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
14271
14272 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14273
14274 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
14275 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
14276 multiarch strcmp for PPC64.
14277 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
14278 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
14279 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
14280 multiarch optimizations.
14281 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14282 (__libc_ifunc_impl_list): Likewise.
14283
14284 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
14285
14286 * benchtests/scripts/validate_benchout.py: New script.
14287 * benchtests/Makefile (bench-func): Call it.
14288 * benchtests/scripts/benchout.schema.json: New file.
14289
14290 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
14291
14292 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
14293 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
14294 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
14295 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
14296 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
14297 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
14298 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
14299 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
14300 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
14301 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
14302 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
14303 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
14304 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
14305 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
14306 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
14307 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
14308 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
14309 Moved ...
14310 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
14311 ... here.
14312 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
14313 Moved ...
14314 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
14315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
14316 Moved ...
14317 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
14318 ... here.
14319 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
14320 Moved ...
14321 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
14322 ... here.
14323 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
14324 Moved ...
14325 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
14326 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
14327 Moved ...
14328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
14329 ... here.
14330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
14331 Moved ...
14332 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
14333 ... here.
14334 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
14335 Moved ...
14336 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
14337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
14338 Moved ...
14339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
14340 ... here.
14341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
14342 Moved ...
14343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
14344 ... here.
14345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
14346 Moved ...
14347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
14348 ... here.
14349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
14350 Moved ...
14351 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
14352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
14353 Moved ...
14354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
14355 ... here.
14356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
14357 Moved ...
14358 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
14359 ... here.
14360 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
14361 Moved ...
14362 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
14363 ... here.
14364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
14365 Moved ...
14366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
14367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
14368 Moved ...
14369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
14370 ... here.
14371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
14372 Moved ...
14373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
14374 ... here.
14375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
14376 Moved ...
14377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
14378 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
14379 Moved ...
14380 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
14381 ... here.
14382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
14383 Moved ...
14384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
14385 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
14386 Moved ...
14387 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
14388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
14389 Moved ...
14390 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
14391 ... here.
14392 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
14393 Moved ...
14394 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
14395 ... here.
14396 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
14397 Moved ...
14398 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
14399 ... here.
14400 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
14401 Moved ...
14402 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
14403 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
14404 Moved ...
14405 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
14406 ... here.
14407 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
14408 Moved ...
14409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
14410 ... here.
14411 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
14412 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
14413 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
14414 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
14415 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
14416 Moved ...
14417 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
14418 ... here.
14419 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
14420 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
14421 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
14422 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
14423 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
14424 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
14425 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
14426 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
14427 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
14428 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
14429 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
14430 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
14431 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
14432 Moved ...
14433 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
14434 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
14435 Moved ...
14436 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
14437 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
14438 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
14439 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
14440 Moved ...
14441 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
14442 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
14443 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
14444 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
14445 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
14446 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
14447 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
14448
14449 2014-06-10 Wilco <wdijkstr@arm.com>
14450
14451 * math/test-fenv-return.c: New file.
14452 * math/Makefile: Add new test test-fenv-return.
14453
14454 2014-06-10 Joseph Myers <joseph@codesourcery.com>
14455
14456 [BZ #17042]
14457 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
14458 when x - 1 is zero.
14459 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
14460 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
14461 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
14462 0.0L for an argument of 1.0L.
14463 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14464 Likewise.
14465 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
14466 value when x - 1 is zero.
14467 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
14468 * sysdeps/i386/fpu/libm-test-ulps: Update.
14469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14470
14471 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
14472
14473 [BZ #15119]
14474 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
14475
14476 2014-06-09 Roland McGrath <roland@hack.frob.com>
14477
14478 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
14479 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
14480
14481 2014-06-09 Roland McGrath <roland@hack.frob.com>
14482
14483 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14484 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
14485
14486 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14487 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
14488
14489 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14490 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
14491
14492 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
14493 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
14494
14495 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
14496 if not already defined.
14497 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
14498 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
14499 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
14500 (TLS_INIT_TP): Use it.
14501 (TLS_DEFINE_INIT_TP): New macro.
14502 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
14503
14504 2014-06-09 Joseph Myers <joseph@codesourcery.com>
14505
14506 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
14507 constant.
14508 [POSIX] (IXANY): Likewise.
14509 [POSIX] (OLCUC): Likewise.
14510 [POSIX || POSIX2008] (CBAUD): Do not allow.
14511 [POSIX || POSIX2008] (DEFECHO): Likewise.
14512 [POSIX || POSIX2008] (ECHOCTL): Likewise.
14513 [POSIX || POSIX2008] (ECHOKE): Likewise.
14514 [POSIX || POSIX2008] (ECHOPRT): Likewise.
14515 [POSIX || POSIX2008] (EXTA): Likewise.
14516 [POSIX || POSIX2008] (EXTB): Likewise.
14517 [POSIX || POSIX2008] (FLUSHO): Likewise.
14518 [POSIX || POSIX2008] (LOBLK): Likewise.
14519 [POSIX || POSIX2008] (PENDIN): Likewise.
14520 [POSIX || POSIX2008] (SWTCH): Likewise.
14521 [POSIX || POSIX2008] (VDISCARD): Likewise.
14522 [POSIX || POSIX2008] (VDSUSP): Likewise.
14523 [POSIX || POSIX2008] (VLNEXT): Likewise.
14524 [POSIX || POSIX2008] (VREPRINT): Likewise.
14525 [POSIX || POSIX2008] (VSTATUS): Likewise.
14526 [POSIX || POSIX2008] (VWERASE): Likewise.
14527 (B*): Change to B[0123456789]*.
14528 * conform/data/time.h-data [POSIX || UNIX98]
14529 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
14530 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14531 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
14532 [POSIX] (tm_*): Do not allow.
14533
14534 2014-06-07 Joseph Myers <joseph@codesourcery.com>
14535
14536 * Makefile (install): Don't set LANGUAGE.
14537 * Makefile.in (install): Likewise.
14538 * assert/Makefile (test-assert-ENV): Remove variable.
14539 (test-assert-perr-ENV): Likewise.
14540 * elf/Makefile (neededtest4-ENV): Likewise.
14541 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14542 [$(cross-compiling) = no]: Don't set LANGUAGE.
14543 * io/ftwtest-sh (LANG): Remove variable.
14544 * libio/Makefile (tst-widetext-ENV): Likewise.
14545 * manual/install.texi (Running make install): Don't refer to
14546 environment settings for make install.
14547 * INSTALL: Regenerated.
14548 * nptl/tst-tls6.sh: Don't set LANG.
14549 * posix/globtest.sh (LANG): Remove variable.
14550 * string/Makefile (tester-ENV): Likewise.
14551 (inl-tester-ENV): Likewise.
14552 (noinl-tester-ENV): Likewise.
14553 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14554 [$(cross-compiling) = no]: Don't set LANGUAGE.
14555 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
14556 without explicit environment settings.
14557
14558 2014-06-06 Roland McGrath <roland@hack.frob.com>
14559
14560 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
14561 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
14562 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
14563 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
14564
14565 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
14566
14567 * crypt/crypt-private.h [DOS]: Add some includes taken from the
14568 other files in the crypt directory.
14569 * crypt/crypt.c: Remove duplicate includes.
14570 * crypt/crypt-entry.c: Likewise.
14571 * crypt/crypt_util.c: Likewise.
14572
14573 2014-06-06 Joseph Myers <joseph@codesourcery.com>
14574
14575 * Makeconfig (run-program-env): New variable.
14576 (run-program-prefix-before-env): Likewise.
14577 (run-program-prefix-after-env): Likewise.
14578 (run-program-prefix): Define in terms of new variables.
14579 (built-program-cmd-before-env): New variable.
14580 (built-program-cmd-after-env): Likewise.
14581 (built-program-cmd): Define in terms of new variables.
14582 (test-program-prefix-before-env): New variable.
14583 (test-program-prefix-after-env): Likewise.
14584 (test-program-prefix): Define in terms of new variables.
14585 (test-program-cmd-before-env): New variable.
14586 (test-program-cmd-after-env): Likewise.
14587 (test-program-cmd): Define in terms of new variables.
14588 * Rules (make-test-out): Use $(run-program-env).
14589 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
14590 (help): Do not mention environment variables. Mention
14591 --timeoutfactor option.
14592 (timeoutfactor): New variable.
14593 (blacklist_exports): Remove function.
14594 (exports): Remove variable.
14595 (command): Do not include ${exports}.
14596 * manual/install.texi (Configuring and compiling): Do not mention
14597 test wrappers preserving environment variables. Mention that last
14598 assignment to a variable must take precedence.
14599 * INSTALL: Regenerated.
14600 * benchtests/Makefile (run-bench): Use $(run-program-env).
14601 * catgets/Makefile ($(objpfx)test1.cat): Use
14602 $(built-program-cmd-before-env), $(run-program-env) and
14603 $(built-program-cmd-after-env).
14604 ($(objpfx)test2.cat): Do not specify environment variables
14605 explicitly.
14606 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
14607 $(run-program-env) and $(built-program-cmd-after-env).
14608 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
14609 $(run-program-env) and $(test-program-cmd-after-env).
14610 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
14611 explicitly.
14612 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
14613 run_program_env and test_program_cmd_after_env arguments.
14614 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
14615 * elf/tst-pathopt.sh: Use run_program_env argument.
14616 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
14617 $(test-wrapper-env) and $(run-program-env).
14618 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
14619 run_program_env arguments.
14620 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
14621 * intl/Makefile ($(objpfx)tst-gettext.out): Use
14622 $(test-program-prefix-before-env), $(run-program-env) and
14623 $(test-program-prefix-after-env).
14624 ($(objpfx)tst-gettext2.out): Likewise.
14625 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
14626 run_program_env and test_program_prefix_after_env arguments.
14627 * intl/tst-gettext2.sh: Likewise.
14628 * intl/tst-gettext4.sh: Do not set environment variables
14629 explicitly.
14630 * intl/tst-gettext6.sh: Likewise.
14631 * intl/tst-translit.sh: Likewise.
14632 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
14633 $(test-program-prefix-before-env), $(run-program-env) and
14634 $(test-program-prefix-after-env).
14635 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
14636 run_program_env and test_program_prefix_after_env arguments.
14637 * math/Makefile (run-regen-ulps): Use $(run-program-env).
14638 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
14639 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
14640 explicitly with each use of ${test_wrapper_env}.
14641 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
14642 $(test-program-prefix-before-env), $(run-program-env) and
14643 $(test-program-prefix-after-env).
14644 * posix/tst-getconf.sh: Do not set environment variables
14645 explicitly.
14646 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
14647 run_program_env and test_program_prefix_after_env arguments.
14648 * stdio-common/tst-printf.sh: Do not set environment variables
14649 explicitly.
14650 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
14651 $(test-program-prefix-before-env), $(run-program-env) and
14652 $(test-program-prefix-after-env).
14653 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
14654 run_program_env and test_program_prefix_after_env arguments.
14655 Split $test calls into $test_pre and $test.
14656 * timezone/Makefile (build-testdata): Use
14657 $(built-program-cmd-before-env), $(run-program-env) and
14658 $(built-program-cmd-after-env).
14659
14660 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14661
14662 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
14663 strlen for non SHARED builds.
14664
14665 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
14666
14667 * nptl/allocatestack.c (check_list): Inlined function...
14668 (__reclaim_stacks): ... here.
14669
14670 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
14671
14672 [BZ #15698]
14673 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
14674 memory overrun.
14675
14676 2014-06-05 Joseph Myers <joseph@codesourcery.com>
14677
14678 * Rules (make-test-out): Include
14679 LOCPATH=$(common-objpfx)localedata in default environment.
14680 * debug/Makefile (tst-chk1-ENV): Remove variable.
14681 (tst-chk2-ENV): Likewise.
14682 (tst-chk3-ENV): Likewise.
14683 (tst-chk4-ENV): Likewise.
14684 (tst-chk5-ENV): Likewise.
14685 (tst-chk6-ENV): Likewise.
14686 (tst-lfschk1-ENV): Likewise.
14687 (tst-lfschk2-ENV): Likewise.
14688 (tst-lfschk3-ENV): Likewise.
14689 (tst-lfschk4-ENV): Likewise.
14690 (tst-lfschk5-ENV): Likewise.
14691 (tst-lfschk6-ENV): Likewise.
14692 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
14693 (tst-iconv7-ENV): Likewise.
14694 * intl/Makefile (LOCPATH-ENV): Likewise.
14695 (tst-codeset-ENV): Likewise.
14696 (tst-gettext3-ENV): Likewise.
14697 (tst-gettext5-ENV): Likewise.
14698 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
14699 (tst-fopenloc-ENV): Likewise.
14700 (tst-fgetws-ENV): Remove variable.
14701 (tst-ungetwc1-ENV): Likewise.
14702 (tst-ungetwc2-ENV): Likewise.
14703 (bug-ungetwc2-ENV): Likewise.
14704 (tst-swscanf-ENV): Likewise.
14705 (bug-ftell-ENV): Likewise.
14706 (tst-fgetwc-ENV): Likewise.
14707 (tst-fseek-ENV): Likewise.
14708 (tst-ftell-partial-wide-ENV): Likewise.
14709 (tst-ftell-active-handler-ENV): Likewise.
14710 (tst-ftell-append-ENV): Likewise.
14711 * posix/Makefile (tst-fnmatch-ENV): Likewise.
14712 (tst-regexloc-ENV): Likewise.
14713 (bug-regex1-ENV): Likewise.
14714 (tst-regex-ENV): Likewise.
14715 (tst-regex2-ENV): Likewise.
14716 (bug-regex5-ENV): Likewise.
14717 (bug-regex6-ENV): Likewise.
14718 (bug-regex17-ENV): Likewise.
14719 (bug-regex18-ENV): Likewise.
14720 (bug-regex19-ENV): Likewise.
14721 (bug-regex20-ENV): Likewise.
14722 (bug-regex22-ENV): Likewise.
14723 (bug-regex23-ENV): Likewise.
14724 (bug-regex25-ENV): Likewise.
14725 (bug-regex26-ENV): Likewise.
14726 (bug-regex30-ENV): Likewise.
14727 (bug-regex32-ENV): Likewise.
14728 (bug-regex33-ENV): Likewise.
14729 (bug-regex34-ENV): Likewise.
14730 (bug-regex35-ENV): Likewise.
14731 (tst-rxspencer-ENV): Likewise.
14732 (tst-rxspencer-no-utf8-ENV): Likewise.
14733 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
14734 (tst-sscanf-ENV): Likewise.
14735 (tst-swprintf-ENV): Likewise.
14736 (tst-swscanf-ENV): Likewise.
14737 (test-vfprintf-ENV): Likewise.
14738 (scanf13-ENV): Likewise.
14739 (bug14-ENV): Likewise.
14740 (tst-grouping-ENV): Likewise.
14741 * stdlib/Makefile (tst-strtod-ENV): Likewise.
14742 (tst-strtod3-ENV): Likewise.
14743 (tst-strtod4-ENV): Likewise.
14744 (tst-strtod5-ENV): Likewise.
14745 (testmb2-ENV): Likewise./
14746 * string/Makefile (tst-strxfrm-ENV): Likewise.
14747 (tst-strxfrm2-ENV): Likewise.
14748 (bug-strcoll1-ENV): Likewise.
14749 (test-strcasecmp-ENV): Likewise.
14750 (test-strncasecmp-ENV): Likewise.
14751 * time/Makefile (tst-strptime-ENV): Likewise.
14752 (tst-ftime_l-ENV): Likewise.
14753 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
14754 (tst-mbrtowc-ENV): Likewise.
14755 (tst-wcrtomb-ENV): Likewise.
14756 (tst-mbrtowc2-ENV): Likewise.
14757 (tst-c16c32-1-ENV): Likewise.
14758 (tst-mbsnrtowcs-ENV): Likewise.
14759
14760 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
14761
14762 * manual/resource.texi (How to get information about the memory
14763 subsystem?): Fix typo.
14764 Reported by Peon de la Parra Ivan <peon@keba.com>
14765
14766 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
14767
14768 [BZ #16882]
14769 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
14770 (pthread_spin_lock): Branch out of spin loop to proper location.
14771 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
14772 (pthread_spin_lock): Likewise.
14773
14774 * nptl/tst-spin4.c: New test.
14775 * nptl/Makefile (tests): Add tst-spin4.
14776
14777 2014-06-03 Andreas Schwab <schwab@suse.de>
14778
14779 [BZ #15946]
14780 * resolv/res_send.c (send_dg): Reload file descriptor after
14781 calling reopen.
14782
14783 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
14784
14785 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14786
14787 2014-06-03 Richard Henderson <rth@redhat.com>
14788
14789 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
14790 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
14791 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
14792 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
14793 in the SAVE_PID block.
14794 (__libc_vfork): New alias.
14795 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
14796
14797 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
14798 child in registers, not on the stack. Remove RESET_PID conditionals.
14799 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
14800
14801 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
14802
14803 * sysdeps/aarch64/libm-test-ulps: Regenerate.
14804
14805 2014-06-03 Wilco <wdijkstr@arm.com>
14806
14807 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
14808 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
14809 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14810 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
14811 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
14812 Likewise.
14813
14814 2014-06-03 Wilco <wdijkstr@arm.com>
14815
14816 * sysdeps/aarch64/fpu/math_private.h
14817 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
14818 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
14819 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
14820 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
14821 Fix declarations.
14822
14823 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
14824
14825 * crypt/crypt-private.h: Include ufc-crypt.h.
14826 (__b64_from_24bit): Declare extern.
14827 * crypt/crypt_util.c(__b64_from_24bit): New function.
14828 (b64t): New static const variable.
14829 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
14830 (b64t): Remove variable.
14831 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
14832 * crypt/sha256-crypt.c: Include crypt-private.h.
14833 (b64t): Remove variable.
14834 (__sha256_crypt_r): Remove b64_from_24bit and replace
14835 with __b64_from_24bit.
14836 * crypt/sha512-crypt.c: Likewise.
14837
14838 2014-06-02 Roland McGrath <roland@hack.frob.com>
14839
14840 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
14841 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
14842 Label the code __libc_vfork rather than __vfork.
14843 [!NOT_IN_libc] (vfork): Define as weak alias.
14844 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
14845 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
14846 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
14847
14848 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
14849
14850 * malloc/malloc.c (malloc_info): Fix format specifier for
14851 n_mmaps.
14852
14853 2014-06-02 Wilco <wdijkstr@arm.com>
14854
14855 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
14856 FPCR write.
14857
14858 2014-06-02 Wilco <wdijkstr@arm.com>
14859
14860 [BZ #17009]
14861 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
14862 Rewrite to reduce FPCR/FPSR accesses.
14863
14864 2014-06-01 David S. Miller <davem@davemloft.net>
14865
14866 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14867
14868 2014-05-31 David S. Miller <davem@davemloft.net>
14869
14870 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
14871 to occur in round to nearest mode when |x| >= 2.0
14872
14873 2014-05-30 Richard Henderson <rth@twiddle.net>
14874
14875 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
14876 (PSEUDO_RET_NOERRNO): Remove.
14877 (ret): Don't redefine.
14878 (ret_NOERRNO): Define in terms of ret.
14879 (ret_ERRVAL): Likewise.
14880
14881 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
14882 use of PSEUDO_RET; perform the error check directly.
14883
14884 2014-05-30 Marko Myllynen <myllynen@redhat.com>
14885
14886 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
14887 with __int128_t.
14888
14889 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14890
14891 * malloc/malloc (malloc_info): Fix formatting.
14892
14893 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14894 Roland McGrath <roland@hack.frob.com>
14895
14896 * malloc/malloc (malloc_info): Also print mmapped statistics.
14897
14898 2014-05-30 Roland McGrath <roland@hack.frob.com>
14899
14900 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
14901 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
14902
14903 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
14904
14905 * malloc/malloc.c (malloc_info): Inline mi_arena.
14906
14907 2014-05-29 Richard Henderson <rth@twiddle.net>
14908
14909 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
14910 Remove comma before expanding ASM_ARGS_##nr.
14911 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
14912 Make _x0 a strict output; make _x8 a strict input; adjust expansion
14913 of ASM_ARGS_##nr.
14914 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
14915 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
14916 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
14917 (ASM_ARGS_1): Add leading comma.
14918
14919 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
14920 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
14921 to __errno_location.
14922 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
14923 Remove the expected plt for __errno_location.
14924
14925 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14926 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
14927 call to __read_tp.
14928
14929 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14930 Always allocate 64 bytes of stack frame. Use ldp/stp to create
14931 it and break it down.
14932 (DOCARGS_0, DOCARGS_1): Do nothing.
14933 (DOCARGS_2): Update to store into the new stack frame.
14934 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
14935 (UNDOCARGS_1): Update to restore from the new stack frame.
14936 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
14937 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
14938
14939 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
14940 (SINGLE_THREAD_P): New parameter for result regno.
14941 (PSEUDO): Update to match; use cbz instead of beq.
14942
14943 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
14944 Use ENTRY to define the _nocancel entry point. Share the syscall
14945 and syscall error check paths with the cancel path.
14946 (PSEUDO_END): New.
14947
14948 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
14949 whitespace; tabs before and after asm mnemonics.
14950
14951 2014-05-29 Eric Wong <normalperson@yhbt.net>
14952
14953 [BZ #15132]
14954 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14955 Call fstat64 or stat64 internally, depending on arguments passed.
14956 Replace stat buffer argument with file descriptor argument.
14957 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
14958 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
14959 Pass fd to __internal_statvfs instead of calling fstat64.
14960 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
14961 Pass fd to __internal_statvfs64 instead of calling fstat64.
14962 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
14963 Pass -1 to __internal_statvfs instead of calling stat64.
14964 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
14965 Pass -1 to __internal_statvfs64 instead of calling stat64.
14966
14967 2014-05-28 Roland McGrath <roland@hack.frob.com>
14968
14969 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
14970 that was previously under [RESET_PID].
14971 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
14972
14973 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
14974 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
14975
14976 2014-05-27 Roland McGrath <roland@hack.frob.com>
14977
14978 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
14979
14980 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
14981 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
14982
14983 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
14984
14985 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
14986
14987 2014-05-27 Andreas Schwab <schwab@suse.de>
14988
14989 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
14990 TLS_INIT_TP macro.
14991 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
14992 * elf/rtld.c (init_tls, dl_main): Likewise.
14993 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
14994 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
14995 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
14996 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
14997 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
14998 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
14999 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
15000 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
15001 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
15002 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
15003 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
15004 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
15005 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
15006 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
15007 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
15008 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
15009 * sysdeps/generic/tls.h: Update description.
15010
15011 2014-05-27 Will Newton <will.newton@linaro.org>
15012
15013 [BZ #16990]
15014 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
15015 and restore r2 rather than just restoring.
15016
15017 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15018
15019 [BZ #16724]
15020 * libio/tst-ftell-append.c: New test case.
15021 * libio/Makefile (tests): Add test case.
15022 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
15023 append mode.
15024 * libio/wfileops.c (do_ftell_wide): Likewise.
15025
15026 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15027
15028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15029
15030 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
15031 ...
15032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
15033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15034 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
15035 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
15036 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
15037 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
15038 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
15039 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
15040 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15041 Moved ...
15042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
15043 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15044 Moved ...
15045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
15046 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
15047 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
15048 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
15049 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
15050 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
15051 ...
15052 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
15053 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
15054 Moved ...
15055 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
15056 here.
15057 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
15058 ...
15059 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
15060 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
15061 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
15062
15063 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
15064 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
15065 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
15066 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
15067
15068 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
15069 merge into ...
15070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
15071 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
15072 ...
15073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
15074 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
15075 ...
15076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
15077 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15078 Moved ...
15079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
15080 here.
15081 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15082 Moved ...
15083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
15084 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15085 Moved ...
15086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
15087
15088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
15089 conditional [RESET_PID].
15090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
15091 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
15092 removed.
15093 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
15094 removed.
15095
15096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
15097 <tcb-offsets.h>.
15098 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15099 (__libc_vfork): New strong alias.
15100 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
15101 removed.
15102 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
15103 Removed.
15104
15105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
15106 <tcb-offsets.h>.
15107 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
15108 (__libc_vfork): New strong alias.
15109 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
15110 removed.
15111 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
15112 removed.
15113
15114 2014-05-26 Carlos O'Donell <carlos@redhat.com>
15115
15116 * malloc/malloc.c (mi_arena): New function.
15117 (malloc_info): Remove nested function mi_arena. Call non-nosted
15118 function mi_arena.
15119
15120 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15121
15122 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
15123 by insrwi.
15124 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
15125 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
15126 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
15127 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
15128 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
15129 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
15130 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
15131
15132 2014-05-26 Andreas Schwab <schwab@suse.de>
15133
15134 [BZ #16984]
15135 * locale/programs/repertoire.c (repertoire_read): Add slash
15136 between I18NPATH element and file name.
15137 * locale/programs/locfile.c (locfile_read): Likewise.
15138
15139 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15140
15141 * nptl/pthread_mutexattr_settype.c
15142 (__pthread_mutexattr_settype):
15143 Disable lock elision for PTHREAD_MUTEX_NORMAL.
15144
15145 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
15146
15147 * nptl/tst-mutex5 (do_test):
15148 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
15149
15150 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15151
15152 * benchtests/README: Document 'init' directive.
15153 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
15154 BENCH_INIT.
15155 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
15156 (parse_file): Recognize 'init' directive.
15157
15158 2014-05-26 Kyle McMartin <kyle@redhat.com>
15159
15160 [BZ #16796]
15161 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
15162 alignment of struct pthread.
15163
15164 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15165
15166 [BZ #16878]
15167 * nscd/netgroupcache.c (addgetnetgrentX): Look for
15168 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15169 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
15170 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15171
15172 2014-05-25 Richard Henderson <rth@twiddle.net>
15173
15174 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15175 (SINGLE_THREAD_P_PIC): Remove.
15176 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
15177 (SINGLE_THREAD_P_PIC): Remove.
15178
15179 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
15180 branch to syscall error ...
15181 (PSEUDO): ... here.
15182 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
15183 from __local_syscall_error to .Lsyscall_error.
15184 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
15185 (SYSCALL_ERROR): Update label name.
15186
15187 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15188 Do not use DOARGS/UNDOARGS.
15189 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
15190 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
15191 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
15192 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
15193 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
15194
15195 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
15196 block comment.
15197
15198 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
15199 define if !NOT_IN_libc.
15200 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
15201 define with non-default symbol versions.
15202
15203 2014-05-23 Richard Henderson <rth@twiddle.net>
15204
15205 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
15206 (vfork, __vfork): Define via compat_symbol.
15207
15208 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
15209 [!HAVE_IFUNC] (vfork_compat): Remove.
15210 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
15211
15212 2014-05-23 Joseph Myers <joseph@codesourcery.com>
15213
15214 [BZ #16978]
15215 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
15216 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
15217 variable.
15218
15219 2014-05-23 Richard Henderson <rth@twiddle.net>
15220
15221 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
15222 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
15223 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
15224 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
15225
15226 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
15227 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
15228 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
15229 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
15230 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
15231 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
15232 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
15233 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
15234 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
15235 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
15236 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
15237 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
15238 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
15239 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
15240 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
15241 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
15242 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
15243 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
15244 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
15245 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
15246 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
15247 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
15248 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
15249 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
15250 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
15251 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
15252 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
15253 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
15254 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
15255 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
15256 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
15257 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
15258 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
15259 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
15260 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
15261 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
15262 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
15263 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
15264 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
15265 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
15266 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
15267 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
15268 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
15269 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
15270 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
15271 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
15272 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
15273 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
15274 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
15275 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
15276 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
15277 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
15278 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
15279 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
15280 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
15281 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
15282
15283 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
15284 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
15285 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
15286 before exiting on error.
15287 (__libc_vfork): New strong alias.
15288 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
15289 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
15290
15291 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
15292 that was previously under [RESET_PID].
15293 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
15294
15295 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
15296
15297 2014-05-23 Joseph Myers <joseph@codesourcery.com>
15298
15299 [BZ #16977]
15300 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
15301 value when x - 1 is zero.
15302 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
15303 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
15304 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
15305 0.0L for an argument of 1.0L.
15306 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
15307 Likewise.
15308 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
15309 value when x - 1 is zero.
15310 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
15311 * sysdeps/i386/fpu/libm-test-ulps: Update.
15312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15313
15314 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
15315
15316 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
15317 alphasort and versionsort.
15318
15319 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15320
15321 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
15322 macro.
15323 [copysignf]: Likewise.
15324
15325 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15326
15327 * crypt/md5-crypt.c: Fix formatting.
15328
15329 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
15330
15331 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
15332 (b64_from_24bit): New function.
15333
15334 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15335
15336 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
15337 libc_hidden_builtin_def to ifunc.
15338 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15339 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
15340
15341 2014-05-21 Roland McGrath <roland@hack.frob.com>
15342
15343 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
15344 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
15345
15346 2014-05-21 Joseph Myers <joseph@codesourcery.com>
15347
15348 * nscd/Depend (linuxthreads): Remove.
15349 (nptl): Add.
15350 * resolv/Depend (linuxthreads): Remove.
15351 * rt/Depend (linuxthreads): Remove.
15352
15353 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
15354 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
15355 $(common-objpfx)elf/.
15356 (link-libc-before-gnulib): Likewise.
15357 (elfobjdir): Remove variable.
15358 * Makefile (install): Use $(elf-objpfx) instead of
15359 $(common-objpfx)elf/.
15360 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
15361 $(elfobjdir)/.
15362 (link-libc-deps): Likewise.
15363 ($(common-objpfx)libc.so): Likewise.
15364 ($(common-objpfx)linkobj/libc.so): Likewise.
15365 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
15366 instead of $(common-objpfx)elf/.
15367 (symbolic-link-list): Likewise.
15368 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15369 [$(cross-compiling) = no]: Likewise.
15370 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
15371 $(elfobjdir)/.
15372 (static-gnulib-arch): Likewise.
15373 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15374 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
15375 $(common-objpfx)elf/.
15376
15377 2014-05-21 Richard Henderson <rth@redhat.com>
15378
15379 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15380 (SINGLE_THREAD_P): Use the correct width load. Fold
15381 into the ldr offset.
15382
15383 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
15384 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
15385
15386 2014-05-20 Joseph Myers <joseph@codesourcery.com>
15387
15388 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
15389 (libgcc_s_resume): Use __attribute_used__.
15390 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
15391 Likewise.
15392
15393 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15394
15395 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
15396 optimization when used with float constants.
15397
15398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15399
15400 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
15401
15402 [BZ #16915]
15403 * locale/nl_langinfo_l.c: Make direct reference to every
15404 _nl_current_CATEGORY symbol.
15405 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
15406 (tests-static): Add tst-langinfo-static.
15407 (tests-special): Add tst-langinfo-static.out.
15408 ($(objpfx)tst-langinfo.out): Redirect output.
15409 ($(objpfx)tst-langinfo-static.out): New.
15410 * localedata/tst-langinfo.sh: Send output to stdout.
15411 * localedata/tst-langinfo-static.c: New file.
15412
15413 [BZ #16965]
15414 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
15415 when the shift amount is modulo the limb size.
15416
15417 2014-05-20 Richard Henderson <rth@redhat.com>
15418
15419 [BZ #16967]
15420 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
15421 Change type of sa_flags from unsigned int to int.
15422
15423 [BZ #16966]
15424 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
15425
15426 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
15427
15428 2014-05-20 Will Newton <will.newton@linaro.org>
15429
15430 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15431 Test the return value of the system call in the nocancel case.
15432
15433 2014-05-20 Will Newton <will.newton@linaro.org>
15434 Yvan Roux <yvan.roux@linaro.org>
15435
15436 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
15437 #include of asm/ptrace.h.
15438 (PTRACE_GET_THREAD_AREA): Remove #undef.
15439 (PTRACE_GETHBPREGS): Likewise.
15440 (PTRACE_SETHBPREGS): Likewise.
15441 (struct user_regs_struct): New structure.
15442 (struct user_fpsimd_struct): New structure.
15443 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
15444 #include of asm/ptrace.h and second #include of sys/user.h.
15445 (PTRACE_GET_THREAD_AREA): Remove #undef.
15446 (PTRACE_GETHBPREGS): Likewise.
15447 (PTRACE_SETHBPREGS): Likewise.
15448 (ELF_NGREG): Use new struct user_regs_struct.
15449 (elf_fpregset_t): Use new struct user_fpsimd_struct.
15450
15451 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15452
15453 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
15454 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
15455
15456 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
15457
15458 [BZ #16958]
15459 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
15460 membar to avoid block loads/stores to overlap previous stores.
15461
15462 2014-05-17 Richard Henderson <rth@redhat.com>
15463
15464 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
15465 Create the __##syscall_name##_nocancel entry point.
15466 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
15467 Remove; let the sysdep-cancel.h code create it.
15468
15469 2014-05-17 David S. Miller <davem@davemloft.net>
15470
15471 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
15472 Protect with __USE_GNU.
15473 (TIOCSET_TEMPT): Likewise.
15474 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
15475 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
15476 these are already provided in bits/ioctl-types.h
15477
15478 2014-05-16 Roland McGrath <roland@hack.frob.com>
15479
15480 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
15481 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
15482
15483 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
15484 Use wait4 regardless of [__NR_waitpid].
15485
15486 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
15487
15488 PR libgcc/60166
15489 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
15490 (_FP_NANSIGN_Q): Set the quiet bit.
15491
15492 2014-05-16 Joseph Myers <joseph@codesourcery.com>
15493
15494 * benchtests/Makefile
15495 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
15496 not $(common-objpfx)math/libm.so.
15497 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
15498 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
15499 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
15500 $(common-objpfx)dlfcn/libdl.so.
15501 ($(objpfx)tst-audit8): Depend on $(libm), not
15502 $(common-objpfx)math/libm.so.
15503 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
15504 not $(common-objpfx)dlfcn/libdl.so.
15505 * math/Makefile
15506 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15507 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
15508 [$(build-shared) = yes].
15509 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
15510 $(common-objpfx)nptl/libpthread.so.
15511 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
15512 $(common-objpfx)math/libm.so$(libm.so-version) or
15513 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
15514 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
15515 $(common-objpfx)dlfcn/libdl.so.
15516 * setjmp/Makefile (link-libm): Remove variable.
15517 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
15518 * stdio-common/Makefile (link-libm): Remove variable.
15519 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
15520 * stdlib/Makefile (link-libm): Remove variable.
15521 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
15522 ($(objpfx)tst-strtod-round): Likewise.
15523 ($(objpfx)tst-tininess): Likewise.
15524 ($(objpfx)tst-strtod-underflow): Likewise.
15525 ($(objpfx)tst-strtod6): Likewise.
15526 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
15527 $(libdl), not $(common-objpfx)nptl/libpthread.so and
15528 $(common-objpfx)dlfcn/libdl.so.
15529
15530 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15531
15532 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
15533 BSD terminal modes definitions.
15534
15535 2014-05-16 Roland McGrath <roland@hack.frob.com>
15536
15537 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
15538 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
15539
15540 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
15541 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
15542 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
15543 Don't do #include_next.
15544 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
15545 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
15546 Don't do #include_next.
15547 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
15548 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
15549 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
15550 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
15551
15552 2014-05-16 Allan McRae <allan@archlinux.org>
15553
15554 * po/sv.po: Update Swedish translation from translation project.
15555
15556 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
15557 in sed expression.
15558
15559 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
15560
15561 [BZ #16917]
15562 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
15563 errno if the TIOCGPTN ioctl fails with an error different than
15564 EINVAL.
15565 * login/tst-ptsname.c: New file.
15566 * login/Makefile (tests): Add tst-ptsname.
15567
15568 [BZ #16943]
15569 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
15570 and prlimit64.
15571
15572 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15573
15574 [BZ #16849]
15575 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
15576 herrno to return EAI_AGAIN.
15577
15578 2014-05-14 Roland McGrath <roland@hack.frob.com>
15579
15580 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
15581 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
15582 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
15583 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
15584 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
15585 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
15586 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
15587 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
15588 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
15589 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
15590 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
15591 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
15592 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
15593 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
15594 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
15595 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
15596 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
15597 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
15598 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
15599 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
15600 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
15601 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
15602 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
15603 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
15604 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
15605 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
15606 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
15607 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
15608 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
15609 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
15610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
15611 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
15612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
15613 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
15614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
15615 Moved ...
15616 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
15617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
15618 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
15619 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
15620 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
15621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
15622 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
15623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
15624 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
15625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
15626 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
15627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
15628 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
15629 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
15630 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
15631 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
15632 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
15633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
15634 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
15635 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
15636 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
15637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
15638 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
15639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
15640 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
15641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
15642 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
15643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
15644 Moved ...
15645 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
15646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
15647 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
15648 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
15649 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
15650 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
15651 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
15652 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
15653 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
15654 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
15655 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
15656 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
15657 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
15658 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
15659 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
15660 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
15661 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
15662 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
15663 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
15664 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
15665 Moved ...
15666 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
15667 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
15668 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
15669
15670 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
15671 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
15672 (libpthread-sysdep_routines): Add elision-related stuff here instead.
15673 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
15674 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
15675 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
15676 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
15677 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
15678 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
15679 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
15680 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
15681 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
15682 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
15683 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
15684 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
15685 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
15686 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
15687 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
15688 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
15689 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
15690 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
15691 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
15692 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
15693 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
15694 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
15695 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
15696 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
15697 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
15698 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
15699 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
15700 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
15701
15702 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
15703 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
15704
15705 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
15706 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
15707 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
15708 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
15709 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
15710 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
15711 Moved ...
15712 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
15713 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15714 Moved ...
15715 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
15716 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15717 Moved ...
15718 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
15719 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
15720 Moved ...
15721 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
15722 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
15723 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
15724 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15725 Moved ...
15726 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
15727 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
15728 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
15729 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
15730 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
15731 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
15732 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
15733 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15734 Moved ...
15735 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
15736 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15737 Moved ...
15738 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
15739 ... here.
15740 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
15741 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
15742 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
15743 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
15744 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15745 Moved ...
15746 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
15747 ... here.
15748 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
15749 Moved ...
15750 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
15751 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
15752 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
15753 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
15754 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
15755 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
15756 Moved ...
15757 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
15758 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15759 Moved ...
15760 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
15761 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15762 Moved ...
15763 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
15764 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
15765 Moved ...
15766 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
15767 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
15768 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
15769 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
15770 Moved ...
15771 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
15772 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
15773 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
15774 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
15775 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
15776 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
15777 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
15778 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15779 Moved ...
15780 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
15781 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15782 Moved ...
15783 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
15784 ... here.
15785 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
15786 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
15787 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
15788 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
15789 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15790 Moved ...
15791 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
15792 ... here.
15793 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
15794 Moved ...
15795 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
15796 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
15797 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
15798 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
15799 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
15800 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
15801 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
15802 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
15803 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
15804 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
15805 Moved ...
15806 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
15807 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15808 Moved ...
15809 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
15810 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15811 Moved ...
15812 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
15813 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
15814 Moved ...
15815 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
15816 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
15817 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
15818 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
15819 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
15820 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15821 Moved ...
15822 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
15823 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
15824 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
15825 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
15826 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
15827 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
15828 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
15829 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15830 Moved ...
15831 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
15832 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15833 Moved ...
15834 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
15835 ... here.
15836 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
15837 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
15838 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
15839 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
15840 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15841 Moved ...
15842 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
15843 ... here.
15844 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
15845 Moved ...
15846 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
15847 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
15848 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
15849 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
15850 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
15851 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
15852 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
15853 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
15854 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
15855 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
15856 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
15857
15858 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
15859 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
15860
15861 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
15862 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
15863
15864 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
15865 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
15866 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
15867 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
15868 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
15869 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
15870 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
15871 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
15872 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
15873 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
15874 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
15875 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
15876 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
15877 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
15878 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
15879 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
15880 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
15881 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
15882 Moved ...
15883 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
15884 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
15885 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
15886 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
15887 Moved ...
15888 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
15889 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
15890 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
15891 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
15892 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
15893 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
15894 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
15895 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
15896 Moved ...
15897 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
15898 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
15899 Moved ...
15900 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
15901 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
15902 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
15903 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
15904 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
15905 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
15906 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
15907 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
15908 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
15909 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
15910 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
15911 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
15912 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
15913 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
15914 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
15915 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
15916 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
15917
15918 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
15919 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
15920 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
15921 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
15922 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
15923
15924 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
15925 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
15926 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
15927 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
15928 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
15929 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
15930 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
15931 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
15932 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
15933 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
15934
15935 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
15936 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
15937
15938 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
15939 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
15940 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
15941 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
15942 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
15943 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
15944 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
15945 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
15946 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
15947 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
15948 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
15949 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
15950 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
15951 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
15952 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
15953 Update #include.
15954 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
15955 Likewise.
15956 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15957 Likewise.
15958 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15959 Likewise.
15960 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15961 Likewise.
15962 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
15963 Likewise.
15964 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
15965 Likewise.
15966 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
15967 Likewise.
15968 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
15969 Likewise.
15970 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
15971 Likewise.
15972 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
15973 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
15974 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
15975 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
15976 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
15977 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
15978 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
15979 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
15980 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
15981 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
15982 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
15983 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
15984 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
15985 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
15986 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
15987
15988 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
15989 that was previously under [RESET_PID].
15990 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
15991 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
15992 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
15993
15994 * sysdeps/i386/nptl/Implies: New file.
15995 * sysdeps/x86_64/nptl/Implies: New file.
15996 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
15997 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
15998 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
15999 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
16000
16001 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
16002 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16003 (__libc_vfork): New strong alias.
16004 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
16005 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
16006
16007 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
16008 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16009 (__libc_vfork): New strong alias.
16010 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
16011 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
16012
16013 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
16014 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16015 (__libc_vfork): New strong alias.
16016 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
16017 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
16018 * nptl/pt-vfork.c: New file.
16019 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
16020 (libpthread: GLIBC_2.20): New version set (empty).
16021
16022 2014-05-14 Will Newton <will.newton@linaro.org>
16023
16024 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
16025 rather than #if.
16026
16027 2014-05-14 Joseph Myers <joseph@codesourcery.com>
16028
16029 [BZ #16564]
16030 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
16031 arguments with exponent 65 or above.
16032 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
16033 arguments 0x1p113L or above.
16034 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
16035 to arguments 0x1p107L or above.
16036 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
16037 positive arguments with exponent 65 or above.
16038 * math/auto-libm-test-in: Add more tests of log1p.
16039 * math/auto-libm-test-out: Regenerated.
16040
16041 [BZ #16928]
16042 * math/s_cacos.c (__cacos): Ensure zero real part of result from
16043 non-finite arguments is +0.
16044 * math/s_cacosf.c (__cacosf): Likewise.
16045 * math/s_cacosl.c (__cacosl): Likewise.
16046 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
16047 * sysdeps/i386/fpu/libm-test-ulps: Update.
16048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16049
16050 [BZ #16927]
16051 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
16052 value.
16053 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16054 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
16055 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
16056 for explicit high bit of mantissa when testing for argument equal
16057 to 1.
16058 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
16059 * sysdeps/i386/fpu/libm-test-ulps: Update.
16060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16061
16062 [BZ #16516]
16063 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
16064 (__erf): Scale by 16 instead of 8 in potentially underflowing
16065 case. Ensure exception if result actually underflows.
16066 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
16067 (__erff): Scale by 16 instead of 8 in potentially underflowing
16068 case. Ensure exception if result actually underflows.
16069 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
16070 (efx8): Remove variable.
16071 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16072 case. Ensure exception if result actually underflows.
16073 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
16074 (efx8): Remove variable.
16075 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16076 case. Ensure exception if result actually underflows.
16077 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
16078 (efx8): Remove variable.
16079 (__erfl): Scale by 16 instead of 8 in potentially underflowing
16080 case. Ensure exception if result actually underflows.
16081 * math/auto-libm-test-in: Add more tests of erf.
16082 * math/auto-libm-test-out: Regenerated.
16083
16084 2014-05-14 Andreas Schwab <schwab@suse.de>
16085
16086 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
16087 Remove code conditionalized on USE___THREAD.
16088
16089 * config.h.in (HAVE_PT_CHOWN): Define as 0.
16090 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
16091 not definedness.
16092
16093 2014-05-14 Joseph Myers <joseph@codesourcery.com>
16094
16095 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
16096 Define unconditionally.
16097 (__ASSUME_O_CLOEXEC): Likewise.
16098 (__ASSUME_SOCK_CLOEXEC): Likewise.
16099 (__ASSUME_IN_NONBLOCK): Likewise.
16100 (__ASSUME_PIPE2): Likewise.
16101 (__ASSUME_EVENTFD2): Likewise.
16102 (__ASSUME_SIGNALFD4): Likewise.
16103 (__ASSUME_DUP3): Likewise.
16104 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16105 (__ASSUME_DUP3): Do not define.
16106 (__ASSUME_EVENTFD2): Likewise.
16107 (__ASSUME_IN_NONBLOCK): Likewise.
16108 (__ASSUME_O_CLOEXEC): Likewise.
16109 (__ASSUME_PIPE2): Likewise.
16110 (__ASSUME_SIGNALFD4): Likewise.
16111 (__ASSUME_SOCK_CLOEXEC): Likewise.
16112 (__ASSUME_UTIMES): Undefine.
16113 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16114 (__ASSUME_UTIMES): Do not define.
16115 (__ASSUME_O_CLOEXEC): Likewise.
16116 (__ASSUME_SOCK_CLOEXEC): Likewise.
16117 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
16118 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
16119 0x020621].
16120 (__ASSUME_PIPE2): Likewise.
16121 (__ASSUME_EVENTFD2): Likewise.
16122 (__ASSUME_SIGNALFD4): Likewise.
16123 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
16124 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
16125 Do not define.
16126 (__ASSUME_EVENTFD2): Likewise.
16127 (__ASSUME_SIGNALFD4): Likewise.
16128 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16129 (__ASSUME_32BITUIDS): Likewise.
16130 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16131 (__ASSUME_IPC64): Likewise.
16132 (__ASSUME_ST_INO_64_BIT): Likewise.
16133 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
16134 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
16135 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16136 (__ASSUME_UTIMES): Do not define.
16137 (__ASSUME_PSELECT): Likewise.
16138 (__ASSUME_PPOLL): Likewise.
16139 (__ASSUME_O_CLOEXEC): Likewise.
16140 (__ASSUME_SOCK_CLOEXEC): Likewise.
16141 (__ASSUME_IN_NONBLOCK): Likewise.
16142 (__ASSUME_PIPE2): Likewise.
16143 (__ASSUME_EVENTFD2): Likewise.
16144 (__ASSUME_SIGNALFD4): Likewise.
16145 (__ASSUME_DUP3): Likewise.
16146 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16147 (__ASSUME_UTIMES): Likewise.
16148 (__ASSUME_O_CLOEXEC): Likewise.
16149 (__ASSUME_SOCK_CLOEXEC): Likewise.
16150 (__ASSUME_IN_NONBLOCK): Likewise.
16151 (__ASSUME_PIPE2): Likewise.
16152 (__ASSUME_EVENTFD2): Likewise.
16153 (__ASSUME_SIGNALFD4): Likewise.
16154 (__ASSUME_DUP3): Likewise.
16155 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16156 (__ASSUME_UTIMES): Likewise.
16157 (__ASSUME_O_CLOEXEC): Likewise.
16158 (__ASSUME_SOCK_CLOEXEC): Likewise.
16159 (__ASSUME_IN_NONBLOCK): Likewise.
16160 (__ASSUME_PIPE2): Likewise.
16161 (__ASSUME_EVENTFD2): Likewise.
16162 (__ASSUME_SIGNALFD4): Likewise.
16163 (__ASSUME_DUP3): Likewise.
16164 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
16165 Likewise.
16166 (__ASSUME_UTIMES): Likewise.
16167 (__ASSUME_EVENTFD2): Likewise.
16168 (__ASSUME_SIGNALFD4): Likewise.
16169 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16170 (__ASSUME_O_CLOEXEC): Likewise.
16171 (__ASSUME_SOCK_CLOEXEC): Likewise.
16172 (__ASSUME_IN_NONBLOCK): Likewise.
16173 (__ASSUME_PIPE2): Likewise.
16174 (__ASSUME_EVENTFD2): Likewise.
16175 (__ASSUME_SIGNALFD4): Likewise.
16176 (__ASSUME_DUP3): Likewise.
16177 (__ASSUME_UTIMES): Undefine.
16178
16179 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
16180 feclearexcept. Remove symbol versioning code.
16181 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
16182 symbol versioning code.
16183 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
16184 symbol versioning code.
16185 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
16186 feupdateenv. Remove symbol versioning code.
16187 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
16188 fegetexceptflag. Remove symbol versioning code.
16189 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
16190 fesetexceptflag. Remove symbol versioning code.
16191 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
16192 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
16193 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
16194 (__posix_fadvise64_l32): Remove prototype.
16195 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
16196 code.
16197
16198 2014-05-13 Roland McGrath <roland@hack.frob.com>
16199
16200 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
16201 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
16202 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
16203 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
16204
16205 2014-05-13 Sami Kerola <kerolasa@iki.fi>
16206
16207 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
16208 current working directory
16209
16210 2014-05-13 Roland McGrath <roland@hack.frob.com>
16211
16212 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
16213 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
16214 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
16215 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
16216 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
16217 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
16218 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
16219 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
16220 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
16221 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
16222 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
16223 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
16224 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
16225 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
16226 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
16227 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
16228 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
16229 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
16230 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
16231 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
16232 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
16233 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
16234 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
16235 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
16236 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
16237 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
16238 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
16239 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
16240 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
16241 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
16242 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
16243 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
16244 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
16245 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
16246 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
16247 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
16248 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
16249 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
16250 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
16251 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
16252 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
16253 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
16254
16255 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
16256 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
16257
16258 * sysdeps/unix/sysv/linux/arm/Makefile
16259 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
16260 Add rt-aeabi_unwind_cpp_pr1.
16261 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
16262 Add nptl-aeabi_unwind_cpp_pr1.
16263 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
16264 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
16265 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
16266 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
16267 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
16268 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
16269
16270 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
16271 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
16272 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
16273 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
16274
16275 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
16276 Deconditionalize the code that was previously under [RESET_PID].
16277 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
16278
16279 * sysdeps/generic/exit-thread.h: New file.
16280 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
16281 * include/unistd.h (__exit_thread): Remove declaration.
16282 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
16283 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
16284 * csu/libc-start.c: Include <exit-thread.h>.
16285 (LIBC_START_MAIN): Pass no argument to __exit_thread.
16286 * nptl/pthread_create.c: Include <exit-thread.h>.
16287 (start_thread): Call __exit_thread in place of __exit_thread_inline.
16288 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
16289 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
16290 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
16291 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
16292 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
16293 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
16294 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
16295 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
16296 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
16297 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
16298 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
16299 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
16300 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
16301 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
16302 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
16303 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
16304
16305 2014-05-13 Andreas Schwab <schwab@suse.de>
16306
16307 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
16308
16309 2014-05-12 Joseph Myers <joseph@codesourcery.com>
16310
16311 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
16312 (__ASSUME_UTIMES): Do not condition on kernel version.
16313 (__ASSUME_PSELECT): Define unconditionally.
16314 (__ASSUME_PPOLL): Likewise.
16315 (__ASSUME_ATFCTS): Likewise.
16316 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
16317 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
16318 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
16319 (__ASSUME_UTIMENSAT): Define unconditionally.
16320 (__ASSUME_PRIVATE_FUTEX): Likewise.
16321 (__ASSUME_FALLOCATE): Likewise.
16322 (__ASSUME_O_CLOEXEC): Likewise.
16323 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
16324 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
16325 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
16326 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
16327 (__ASSUME_IN_NONBLOCK): Likewise.
16328 (__ASSUME_PIPE2): Likewise.
16329 (__ASSUME_EVENTFD2): Likewise.
16330 (__ASSUME_SIGNALFD4): Likewise.
16331 (__ASSUME_DUP3): Likewise.
16332 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16333 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
16334 (__ASSUME_AT_RANDOM): Likewise.
16335 (__ASSUME_PREADV): Likewise.
16336 (__ASSUME_PWRITEV): Likewise.
16337 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
16338 (__ASSUME_F_GETOWN_EX): Define unconditionally.
16339 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
16340 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16341 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
16342 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16343 (__ASSUME_O_CLOEXEC): Define unconditionally.
16344 (__ASSUME_PSELECT): Do not undefine conditionally.
16345 (__ASSUME_PPOLL): Likewise.
16346 (__ASSUME_ATFCTS): Likewise.
16347 (__ASSUME_SET_ROBUST_LIST): Likewise.
16348 (__ASSUME_UTIMENSAT): Likewise.
16349 (__ASSUME_FDATASYNC): Define unconditionally.
16350 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16351 (__ASSUME_SIGFRAME_V2): Likewise.
16352 )__ASSUME_EVENTFD2): Likewise.
16353 (__ASSUME_SIGNALFD4): Likewise.
16354 (__ASSUME_PSELECT): Do not undefine conditionally.
16355 (__ASSUME_PPOLL): Likewise.
16356 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16357 (__ASSUME_PSELECT): Define unconditionally.
16358 (__ASSUME_PPOLL): Likewise.
16359 (__ASSUME_O_CLOEXEC): Likewise.
16360 (__ASSUME_SOCK_CLOEXEC): Likewise.
16361 (__ASSUME_IN_NONBLOCK): Likewise.
16362 (__ASSUME_PIPE2): Likewise.
16363 (__ASSUME_EVENTFD2): Likewise.
16364 (__ASSUME_SIGNALFD4): Likewise.
16365 (__ASSUME_DUP3): Likewise.
16366 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16367 (__ASSUME_O_CLOEXEC): Likewise.
16368 (__ASSUME_SOCK_CLOEXEC): Likewise.
16369 (__ASSUME_IN_NONBLOCK): Likewise.
16370 (__ASSUME_PIPE2): Likewise.
16371 (__ASSUME_EVENTFD2): Likewise.
16372 (__ASSUME_SIGNALFD4): Likewise.
16373 (__ASSUME_DUP3): Likewise.
16374 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16375 (__ASSUME_EVENTFD2): Likewise.
16376 (__ASSUME_SIGNALFD4): Likewise.
16377 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16378
16379 2014-05-12 Andreas Schwab <schwab@suse.de>
16380
16381 [BZ #16932]
16382 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
16383 (_nss_nis_gethostbyname4_r): Return error if item length is larger
16384 than maximum RPC packet size.
16385 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
16386 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
16387 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
16388 (_nss_nis_getservbyport_r): Likewise.
16389
16390 2014-05-12 Will Newton <will.newton@linaro.org>
16391
16392 * malloc/Makefile (tests): Add tst-mallopt.
16393 * malloc/tst-mallopt.c: New file.
16394
16395 2014-05-09 Roland McGrath <roland@hack.frob.com>
16396
16397 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
16398 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
16399
16400 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16401
16402 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
16403 (tst-tlsmod6.so): Likewise.
16404
16405 2014-05-09 Roland McGrath <roland@hack.frob.com>
16406
16407 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
16408
16409 2014-05-09 Joseph Myers <joseph@codesourcery.com>
16410
16411 [BZ #16064]
16412 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
16413 and <dl-procinfo.h>.
16414 (__fegetenv): Save SSE state in envp->__eip if supported.
16415 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
16416 envp->__eip if supported.
16417 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
16418 and <dl-procinfo.h>.
16419 (__fesetenv): Always set __eip, __cs_selector, __opcode,
16420 __data_offset and __data_selector in environment to 0. Set SSE
16421 state if supported.
16422 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16423 test-fenv-sse.
16424 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
16425 -mfpmath=sse.
16426 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
16427
16428 2014-05-09 Will Newton <will.newton@linaro.org>
16429
16430 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
16431 and libc_relro_required for ARM.
16432 * sysdeps/arm/preconfigure: Regenerate.
16433
16434 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
16435 Stefan Liebler <stli@linux.vnet.ibm.com>
16436
16437 * config.make.in (enable-lock-elision): New Makefile variable.
16438 * configure.ac: Likewise.
16439 * configure: Regenerate.
16440 * sysdeps/s390/configure.ac:
16441 Add check for gcc transactions support.
16442 * sysdeps/s390/configure: Regenerate.
16443 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
16444 Build elision files if enabled.
16445 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
16446 Add lock elision support for s390.
16447 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
16448 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
16449 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
16450 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16451 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
16452 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
16453 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
16454 Likewise.
16455 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
16456 Likewise.
16457 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
16458 Likewise.
16459 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
16460 Likewise.
16461 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
16462 (__lll_timedlock_elision, __lll_lock_elision)
16463 (__lll_unlock_elision, __lll_trylock_elision)
16464 (lll_timedlock_elision, lll_lock_elision)
16465 (lll_unlock_elision, lll_trylock_elision): Add.
16466 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16467 (pthread_mutex_t): Add lock elision support for s390.
16468
16469 2014-05-14 Wilco <wdijkstr@arm.com>
16470
16471 * sysdeps/arm/fclrexcpt.c: Cleanup.
16472 * sysdeps/arm/fedisblxcpt.c: Cleanup.
16473 * sysdeps/arm/feenablxcpt.c: Cleanup.
16474 * sysdeps/arm/fegetenv.c: Cleanup.
16475 * sysdeps/arm/fegetexcept.c: Cleanup.
16476 * sysdeps/arm/fegetround.c: Cleanup.
16477 * sysdeps/arm/feholdexcpt.c: Cleanup.
16478 * sysdeps/arm/fesetenv.c: Cleanup.
16479 * sysdeps/arm/fesetround.c: Cleanup.
16480 * sysdeps/arm/feupdateenv.c: Cleanup.
16481 * sysdeps/arm/fgetexcptflg.c: Cleanup.
16482 * sysdeps/arm/fraiseexcpt.c: Cleanup.
16483 * sysdeps/arm/fsetexcptflg.c: Cleanup.
16484 * sysdeps/arm/ftestexcept.c: Cleanup.
16485 * sysdeps/arm/get-rounding-mode.h: Cleanup.
16486 * sysdeps/arm/setfpucw.c: Cleanup.
16487
16488 2014-05-09 Will Newton <will.newton@linaro.org>
16489
16490 * sysdeps/arm/armv7/strcmp.S: New file.
16491 * NEWS: Mention addition of ARMv7 optimized strcmp.
16492
16493 2014-05-08 Roland McGrath <roland@hack.frob.com>
16494
16495 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
16496 look for %.ac rather than %.in.
16497
16498 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
16499 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
16500 * sysdeps/mach/hurd/configure: Regenerated.
16501 * sysdeps/unix/sysv/linux/configure: Regenerated.
16502
16503 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
16504
16505 2014-05-07 Steve Ellcey <sellcey@mips.com>
16506
16507 [BZ# 16922]
16508 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
16509 (LONG_SUB): Ditto.
16510 (PTR_SUB): Ditto.
16511
16512 2014-05-07 Andreas Schwab <schwab@suse.de>
16513
16514 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
16515 when skipping over non-matching result from nscd.
16516
16517 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
16518
16519 [BZ #16876]
16520 * nptl/sockperf.c (client): Check socket return value.
16521
16522 [BZ #16877]
16523 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
16524 nscd security class.
16525
16526 2014-05-06 Roland McGrath <roland@hack.frob.com>
16527
16528 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
16529 * sysdeps/arm/unwind.h: ... here.
16530
16531 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
16532
16533 [BZ# 16916]
16534 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
16535 Define.
16536
16537 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16538
16539 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
16540 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
16541 multiarch strncpy for PPC64.
16542 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
16543 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
16544 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
16545 multiarch optimizations.
16546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16547 (__libc_ifunc_impl_list): Likewise.
16548 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
16549 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
16550 multiarch stpncpy for PPC64.
16551 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
16552 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
16553
16554 2014-05-06 Andreas Schwab <schwab@suse.de>
16555
16556 [BZ #16912]
16557 * gmon/mcount.c (_MCOUNT_DECL): Use
16558 atomic_compare_and_exchange_bool_acq instead of
16559 catomic_compare_and_exchange_bool_acq.
16560
16561 2014-05-05 Roland McGrath <roland@hack.frob.com>
16562
16563 * elf/Makefile (others, install-bin): Remove pldd.
16564 (pldd-modules): Variable removed.
16565 ($(objpfx)pldd): Target removed.
16566 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
16567 (others, install-bin): Append pldd here.
16568 ($(objpfx)pldd): New target.
16569
16570 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
16571 to 0, so the first #if test emitted later doesn't see it undefined.
16572 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
16573 * sysdeps/gnu/errlist.c: Regenerated.
16574
16575 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16576
16577 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16578 [libc_hidden_builtin_def]: Define to empty value.
16579 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
16580 [libc_hidden_builtin_def]: Likewise.
16581 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
16582 [libc_hidden_builtin_def]: Likewise.
16583 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
16584 [libc_hidden_builtin_def]: Likewise.
16585 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
16586 __redirect_memcpy and define ifunc as default hidden symbol.
16587 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
16588 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
16589
16590 2014-05-04 Adam Conrad <adconrad@0c3.net>
16591
16592 * locale/iso-4217.def: Reintroduce XDR currency.
16593
16594 2014-05-04 Allan McRae <allan@archlinux.org>
16595
16596 * po/eo.po: Update Esperanto translation from translation project.
16597
16598 2014-05-02 Carlos O'Donell <carlos@redhat.com>
16599
16600 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
16601 and FEATURE_INDEX_MAX to 1.
16602 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
16603
16604 2014-05-01 Steve Ellcey <sellcey@mips.com>
16605
16606 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
16607 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
16608 * iconvdata/big5.c (ONE_DIRECTION): Define.
16609 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
16610 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
16611 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
16612 * iconvdata/cp932.c (ONE_DIRECTION): Define.
16613 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
16614 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
16615 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
16616 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
16617 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
16618 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
16619 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
16620 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
16621 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
16622 * iconvdata/gbk.c (ONE_DIRECTION): Define.
16623 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
16624 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
16625 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
16626 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
16627 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
16628 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
16629 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
16630 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
16631 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
16632 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
16633 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
16634 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
16635 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
16636 * iconvdata/iso646.c (ONE_DIRECTION): Define.
16637 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
16638 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
16639 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
16640 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
16641 * iconvdata/johab.c (ONE_DIRECTION): Define.
16642 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
16643 * iconvdata/sjis.c (ONE_DIRECTION): Define.
16644 * iconvdata/t.61.c (ONE_DIRECTION): Define.
16645 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
16646 * iconvdata/tscii.c (ONE_DIRECTION): Define.
16647 * iconvdata/uhc.c (ONE_DIRECTION): Define.
16648 * iconvdata/unicode.c (ONE_DIRECTION): Define.
16649 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
16650 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
16651 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
16652
16653 2014-05-01 Roland McGrath <roland@hack.frob.com>
16654
16655 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
16656 (_IO_JUMPS_OFFSET): Define to 0.
16657
16658 * nptl/sysdeps/pthread/bits/libc-lock.h
16659 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
16660 (__libc_lock_define_initialized_recursive): Always define using
16661 initializer. Modern compilers treat uninitialized (implicit zero) and
16662 explicit zero initializers the same (i.e. put the datum in bss).
16663
16664 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16665
16666 * nscd/nscd-client.h: Include <string.h>.
16667
16668 2014-05-01 David S. Miller <davem@davemloft.net>
16669
16670 [BZ #16885]
16671 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
16672 multiple zero bytes exist at the end of a string.
16673 Reported by Aurelien Jarno <aurelien@aurel32.net>
16674
16675 * string/test-strcmp.c (check): Add explicit test for situations where
16676 there are multiple zero bytes after the first.
16677
16678 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
16679
16680 [BZ #16890]
16681 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
16682 when compiling wprintf.
16683 * stdio-common/tstdiomisc.c (t3): New function.
16684 (main): Call it.
16685
16686 2014-05-01 Steve Ellcey <sellcey@mips.com>
16687
16688 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
16689 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
16690 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
16691 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
16692
16693 2014-05-01 Steve Ellcey <sellcey@mips.com>
16694
16695 * stdlib/longlong.h: Updated from GCC.
16696
16697 2014-05-01 Will Newton <will.newton@linaro.org>
16698 Bernard Ogden <bernie.ogden@linaro.org>
16699
16700 * NEWS: Update fixed bug list.
16701
16702 [BZ #15119]
16703 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
16704
16705 2014-04-30 David S. Miller <davem@davemloft.net>
16706
16707 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
16708 (libc_feholdexcept_setround_sparc_ctx): New function.
16709 (libc_fesetenv_sparc_ctx): Likewise.
16710 (libc_feupdateenv_sparc_ctx): Likewise.
16711 (libc_feholdsetround_sparc_ctx): Likewise.
16712 (libc_feholdexcept_setround_ctx): Define.
16713 (libc_feholdexcept_setroundf_ctx): Likewise.
16714 (libc_feholdexcept_setroundl_ctx): Likewise.
16715 (libc_fesetenv_ctx): Likewise.
16716 (libc_fesetenvf_ctx): Likewise.
16717 (libc_fesetenvl_ctx): Likewise.
16718 (libc_feupdateenv_ctx): Likewise.
16719 (libc_feupdateenvf_ctx): Likewise.
16720 (libc_feupdateenvl_ctx): Likewise.
16721 (libc_feresetround_ctx): Likewise.
16722 (libc_feresetroundf_ctx): Likewise.
16723 (libc_feresetroundl_ctx): Likewise.
16724 (libc_feholdsetround_ctx): Likewise.
16725 (libc_feholdsetroundf_ctx): Likewise.
16726 (libc_feholdsetroundl_ctx): Likewise.
16727
16728 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16729 with __USE_GNU instead of XOPEN cpp guards.
16730
16731 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
16732 0.
16733
16734 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
16735 with XOPEN cpp guards.
16736
16737 2014-04-30 Julian Brown <julian@codesourcery.com>
16738
16739 [BZ #16888]
16740 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
16741 handling.
16742
16743 2014-04-30 Joseph Myers <joseph@codesourcery.com>
16744
16745 [BZ #9894]
16746 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
16747 Change to 2.6.32.
16748 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
16749 * sysdeps/unix/sysv/linux/configure: Regenerated.
16750 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
16751 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
16752 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
16753 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
16754 * README: Update reference to required Linux kernel version.
16755 * manual/install.texi (Linux): Update reference to required Linux
16756 kernel headers version.
16757 * INSTALL: Regenerated.
16758
16759 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
16760 header inclusion.
16761 [POSIX] (limits.h): Likewise.
16762 [POSIX] (math.h): Likewise.
16763 [POSIX] (sys/wait.h): Likewise.
16764 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
16765 function.
16766 [POSIX] (stddef.h): Do not allow header inclusion.
16767
16768 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16769
16770 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
16771
16772 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
16773
16774 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
16775 Return immediately after lll_futex_wake.
16776
16777 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16778
16779 [BZ #16791]
16780 * nscd/nscd-client.h (datahead_init_common): Initialize entire
16781 structure.
16782 (datahead_init_pos): Call datahead_init_common early.
16783 (datahead_init_neg): Likewise.
16784
16785 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
16786 datahead_init_neg): New functions.
16787 * nscd/aicache.c (addhstaiX): Use them.
16788 * nscd/grpcache.c (cache_addgr): Likewise.
16789 * nscd/hstcache.c (cache_addhst): Likewise.
16790 * nscd/initgrcache.c (addinitgroupsX): Likewise.
16791 * nscd/netgroupcache.c (do_notfound): Likewise.
16792 (addgetnetgrentX): Likewise.
16793 (addinnetgrX): Likewise.
16794 * nscd/pwdcache.c (cache_addpw): Likewise.
16795 * nscd/servicescache.c (cache_addserv): Likewise.
16796
16797 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
16798 Atsushi Onoe <atsushi@onoe.org>
16799
16800 [BZ #14308]
16801 [BZ #12994]
16802 [BZ #13651]
16803 * resolv/res_query.c (__libc_res_nsearch): Return if at least
16804 one response is valid.
16805 * resolv/res_send.c (send_dg): Check for validity of other
16806 response if the current response is a referral.
16807
16808 2014-04-29 Steve Ellcey <sellcey@mips.com>
16809
16810 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
16811
16812 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
16813
16814 [BZ #16823]
16815 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
16816 Always divide by positive zero when computing -Inf result.
16817 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16818 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
16819
16820 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16821
16822 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
16823 FPSCR if value do not change.
16824 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16825 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
16826 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
16827 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
16828 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
16829 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
16830 function.
16831
16832 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
16833
16834 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
16835 * sysdeps/unix/sysv/linux/hppa: Move directory from
16836 ports/systeps/unix/sysv/linux/hppa.
16837 * README: Update listing for hppa-*-linux-gnu.
16838
16839 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
16840
16841 [BZ #16754]
16842 * manual/stdio.texi (Hook functions): Fix types of stream hook
16843 functions.
16844 [BZ #16854]
16845 * socket/sys/socket.h: Fix typo in comment.
16846
16847 2014-04-28 Wilco <wdijkstr@arm.com>
16848
16849 * sysdeps/arm/fenv_private.h: New file.
16850 * sysdeps/arm/math_private.h: New file.
16851 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
16852
16853 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
16854
16855 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
16856 with __int128_t.
16857 (La_x86_64_retval): Likewise.
16858
16859 2014-04-24 Ian Bolton <ian.bolton@arm.com>
16860
16861 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
16862 fpsr if value didn't change.
16863 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
16864 to fpcr if value didn't change.
16865 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
16866 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
16867 fpsr or fpcr if value didn't change.
16868 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16869 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
16870 fpcr if value didn't change.
16871 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
16872 to fpsr if value didn't change.
16873
16874 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
16875
16876 * nptl/tst-sem3.c: Use test-skeleton.c
16877 (main): Rename to do_test. Use return instead of
16878 exit.
16879 * nptl/tst-sem4.c: Use test-skeleton.c
16880 (main): Rename to do_test.
16881
16882 2014-04-22 David S. Miller <davem@davemloft.net>
16883
16884 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
16885 (struct sigaction): New struct member __glibc_reserved0, change
16886 type of sa_flags to int.
16887
16888 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
16889
16890 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
16891 (COUNT_LEADING_ZEROS_0): Define for AArch64.
16892
16893 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
16894
16895 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
16896 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
16897
16898 2014-04-22 Will Newton <will.newton@linaro.org>
16899 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
16900
16901 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
16902 (__longjmp): Add longjmp and longjmp_target SystemTap
16903 probes.
16904 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
16905 (__sigsetjmp): Add setjmp SystemTap probe.
16906
16907 2014-04-17 Carlos O'Donell <carlos@redhat.com>
16908
16909 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
16910 match manual order.
16911
16912 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16913
16914 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
16915
16916 * sysdeps/powerpc/fpu/fenv_private.h
16917 (libc_feholdexcept_setroundl_ctx): Define to
16918 libc_feholdexcept_setround_ppc_ctx.
16919 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
16920 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
16921 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
16922 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
16923
16924 2014-04-17 Ian Bolton <ian.bolton@arm.com>
16925
16926 * sysdeps/aarch64/math-tests.h: New file.
16927
16928 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
16929
16930 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
16931 New.
16932 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16933 Check and set bit_AVX2_Usable.
16934 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
16935 macro.
16936 (bit_AVX2): Likewise.
16937 (index_AVX2_Usable): Likewise.
16938 (CPUID_AVX2): Likewise.
16939 (HAS_AVX2): Likewise.
16940
16941 2014-04-17 Will Newton <will.newton@linaro.org>
16942
16943 * manual/setjmp.texi (System V contexts): Add note that
16944 calling setcontext on a context created by a call to a
16945 signal handler is undefined. Update text to note that
16946 setcontext from a signal handler is possible but not
16947 recommended.
16948
16949 [BZ #16629]
16950 * stdlib/tst-setcontext.c: Include signal.h.
16951 (main): Check that the signal stack before and
16952 after swapcontext is the same.
16953
16954 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
16955 Re-implement to restore registers in user code and avoid
16956 rt_sigreturn system call.
16957
16958 2014-04-17 Wilco <wdijkstr@arm.com>
16959
16960 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
16961 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
16962 * math/test-fenv.c: Skip exception trap tests on targets which only
16963 support non-stop mode.
16964
16965 2014-04-17 Ian Bolton <ian.bolton@arm.com>
16966 Wilco Dijkstra <wilco.dijkstra@arm.com>
16967
16968 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
16969 (libc_feholdsetround_aarch64_ctx)
16970 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
16971 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
16972 (libc_feresetround_ctx, libc_feresetroundf_ctx)
16973 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
16974 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
16975 (libc_feresetround_noexl_ctx): Define.
16976
16977 2014-04-16 Richard Henderson <rth@redhat.com>
16978
16979 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
16980
16981 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
16982 unwind tables.
16983
16984 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
16985 const from the non-libc, non-ldso copy.
16986
16987 * sysdeps/alpha/libm-test-ulps: Regenerate.
16988
16989 2014-04-16 Ian Bolton <ian.bolton@arm.com>
16990 Wilco Dijkstra <wilco.dijkstra@arm.com>
16991
16992 * sysdeps/aarch64/fpu/math_private.h: New file.
16993
16994 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
16995
16996 * sysdeps/aarch64/libm-test-ulps: Regenerate.
16997
16998 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
16999
17000 [BZ #16275]
17001 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
17002 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
17003 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
17004 Intel MPX bound registers before _dl_profile_fixup.
17005 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
17006 registers after _dl_profile_fixup. Save and restore bound
17007 registers bnd0/bnd1 when calling _dl_call_pltexit.
17008 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
17009 (LR_BND_OFFSET): Likewise.
17010 (LRV_BND0_OFFSET): Likewise.
17011 (LRV_BND1_OFFSET): Likewise.
17012
17013 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17014
17015 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
17016 to...
17017 * sysdeps/mach/hurd/i386/tls.h: ... here.
17018 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
17019 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
17020 fields.
17021
17022 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17023
17024 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
17025
17026 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17027
17028 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17029
17030 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17031
17032 [BZ #14770]
17033 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
17034 * sysdeps/s390/configure: Regenerate.
17035
17036 [BZ #16824]
17037 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
17038 Set round-to-nearest internally to reduce error accumulation.
17039
17040 2014-04-16 Alan Modra <amodra@gmail.com>
17041
17042 [BZ #16740]
17043 [BZ #16619]
17044 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
17045 * math/libm-test.inc (frexp_test_data): Add tests.
17046 * NEWS: Update fixed bug list.
17047
17048 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
17049
17050 * benchtests/Makefile: Depend on libraries in build directory.
17051 (bench-math): Separate out math tests.
17052 (bench-pthread): Separate out pthread tests.
17053 (bench): Include math and pthread tests.
17054
17055 2014-04-14 Carlos O'Donell <carlos@redhat.com>
17056
17057 [BZ #16831]
17058 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
17059 _dl_debug_initialize.
17060
17061 * configure.ac: Remove SELinux header check.
17062 * configure: Regenerate.
17063 * nscd/selinux.c (perms): Array of const char* to permission names.
17064 (nscd_request_avc_has_perm): Call security_deny_unknown to find
17065 default policy. Call string_to_security_class and string_to_av_perm to
17066 translate strings. Enforce default policy and call avs_has_perm with
17067 results of translated strings.
17068
17069 2014-04-13 David S. Miller <davem@davemloft.net>
17070
17071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17072
17073 2014-04-12 Allan McRae <allan@archlinux.org>
17074
17075 [BZ #16838]
17076 * manual/string.texi (Collation Functions): Fix qsort argument
17077 order in example.
17078 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17079
17080 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
17081
17082 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
17083 Make the test a no-op if there are no exceptions defined.
17084
17085 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
17086
17087 * elf/Makefile (tests): make tst-dlopen-aout conditional on
17088 enable-hardcoded-path-in-tests
17089
17090 2014-04-11 Will Newton <will.newton@linaro.org>
17091
17092 * benchtests/Makefile (extra-objs): Add json-lib.o.
17093 (bench-func): Tidy up JSON output.
17094 * benchtests/bench-skeleton.c: Include json-lib.h.
17095 (main): Use JSON library functions to do output of
17096 benchmark results.
17097 * benchtests/bench-timing-type.c (main): Output the
17098 timing type simply, leaving formatting to the user.
17099 * benchtests/json-lib.c: New file.
17100 * benchtests/json-lib.h: Likewise.
17101
17102 2014-04-11 Torvald Riegel <triegel@redhat.com>
17103
17104 [BZ #15215]
17105 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
17106 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
17107 memory barriers. Add comments.
17108 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
17109 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
17110 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
17111 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
17112 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
17113 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
17114
17115 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17116
17117 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
17118 * sysdeps/s390/s390-64/configure.ac: ... this ...
17119 * sysdeps/s390/configure.ac: ... to here.
17120 * sysdeps/s390/s390-32/configure: Delete file.
17121 * sysdeps/s390/s390-64/configure: Delete file.
17122 * sysdeps/s390/configure: Regenerate.
17123
17124 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
17125
17126 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
17127
17128 2014-04-11 Will Newton <will.newton@linaro.org>
17129
17130 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
17131 to zero if it is not defined elsewhere. (mtrim): Test
17132 the value of MALLOC_DEBUG with #if rather than #ifdef.
17133
17134 2014-04-10 Torvald Riegel <triegel@redhat.com>
17135
17136 * benchtests/pthread_once-inputs: New file.
17137 * benchtests/pthread_once-source.c: New file.
17138 * benchtests/README: Update documentation.
17139
17140 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
17141 H.J. Lu <hongjiu.lu@intel.com>
17142
17143 [BZ #16275]
17144 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
17145 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
17146 * sysdeps/x86_64/configure: Regenerated.
17147 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
17148 macro.
17149 (REGISTER_SAVE_RAX): Likewise.
17150 (REGISTER_SAVE_RCX): Likewise.
17151 (REGISTER_SAVE_RDX): Likewise.
17152 (REGISTER_SAVE_RSI): Likewise.
17153 (REGISTER_SAVE_RDI): Likewise.
17154 (REGISTER_SAVE_R8): Likewise.
17155 (REGISTER_SAVE_R9): Likewise.
17156 (REGISTER_SAVE_BND0): Likewise.
17157 (REGISTER_SAVE_BND1): Likewise.
17158 (REGISTER_SAVE_BND2): Likewise.
17159 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
17160 bound registers when calling _dl_fixup.
17161
17162 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17163
17164 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
17165 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
17166 of its definition.
17167 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
17168 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
17169 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
17170 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
17171 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
17172 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
17173 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
17174
17175 2014-04-09 Peter Brett <peter@peter-b.co.uk>
17176
17177 [BZ #15514]
17178 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
17179 pathconf(_PC_NAME_MAX).
17180
17181 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17182
17183 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
17184 Remove macro usage.
17185 (__PTHREAD_SPINS): Move definition to ...
17186 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17187 (__PTHREAD_SPINS): ... here.
17188 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17189 (__PTHREAD_SPIN): Likewise.
17190 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
17191 (__PTHREAD_SPIN): Likewise.
17192 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
17193 (__PTHREAD_SPIN): Likewise.
17194 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
17195 (__PTHREAD_SPIN): Likewise.
17196 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
17197 (__PTHREAD_SPIN): Likewise.
17198 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
17199 (__PTHREAD_SPIN): Likewise.
17200 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
17201 (__PTHREAD_SPIN): Likewise.
17202 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
17203 (__PTHREAD_SPIN): Likewise.
17204 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
17205 (__PTHREAD_SPIN): Likewise.
17206 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
17207 (__PTHREAD_SPIN): Likewise.
17208 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
17209 (__PTHREAD_SPIN): Likewise.
17210 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
17211 (__PTHREAD_SPIN): Likewise.
17212
17213 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
17214 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
17215 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
17216 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
17217 imply folder.
17218 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
17219 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
17220 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
17221 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
17222 correct imply path.
17223 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
17224 strlen symbol for non multi-arch builds.
17225 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
17226 missing hidden_def and weak_alias.
17227
17228 2014-04-08 Carlos O'Donell <carlos@redhat.com>
17229
17230 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
17231
17232 2014-04-07 Will Newton <will.newton@linaro.org>
17233
17234 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
17235 and contents. [!_LIBC] Remove #ifndef and contents.
17236 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
17237 * string/memccpy.c (__memccpy): Use ANSI prototype.
17238 * string/memfrob.c (memfrob): Likewise.
17239 * string/strcoll.c (STRCOLL): Likewise.
17240 * string/strlen.c (strlen): Likewise.
17241 * string/strtok.c (STRTOK): Likewise.
17242 * string/strcat.c: Remove unused #include of memcopy.h.
17243 (strcat): Use ANSI prototype.
17244 * string/strchr.c: Remove unused #include of memcopy.h.
17245 (strchr): Use ANSI prototype.
17246 * string/strcmp.c: Remove unused #include of memcopy.h.
17247 (strcmp): Use ANSI prototype.
17248 * string/strcpy.c: Remove unused #include of memcopy.h.
17249 (strcpy): Use ANSI prototype.
17250
17251 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17252
17253 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
17254 * config.make.in (config-extra-cppflags): Set it from
17255 libc_extra_cppflags.
17256 * configure.ac (libc_extra_cflags): Make it accumulate over
17257 configure fragments.
17258 (libc_extra_cppflags): New flag.
17259 * configure. Regenerate.
17260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
17261 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
17262 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
17263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
17264
17265 [BZ #16815]
17266 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
17267 result for FE_DOWNWARD rounding mode.
17268 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17269 Likewise.
17270 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17271
17272 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
17273
17274 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
17275 in function argument name.
17276
17277 2014-04-03 David Svoboda <svoboda@cert.org>
17278
17279 [BZ #5666]
17280 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
17281 explicitly.
17282
17283 2014-04-03 Roland McGrath <roland@hack.frob.com>
17284
17285 * elf/dl-unmap-segments.h: New file.
17286 * sysdeps/generic/ldsodefs.h
17287 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
17288 * elf/dl-close.c: Include <dl-unmap-segments.h>.
17289 * elf/dl-fptr.c: Likewise.
17290 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
17291 * sysdeps/aarch64/tlsdesc.c: Likewise.
17292 * sysdeps/arm/tlsdesc.c: Likewise.
17293 * sysdeps/i386/tlsdesc.c: Likewise.
17294 * sysdeps/tile/dl-runtime.c: Likewise.
17295 * sysdeps/x86_64/tlsdesc.c: Likewise.
17296 * elf/dl-load.h: New file.
17297 * elf/dl-load.c: Include it.
17298 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
17299 Macros moved to dl-load.h.
17300 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
17301 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
17302 Use _dl_unmap_segments in place of __munmap.
17303 Break out segment-mapping loop into ...
17304 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
17305
17306 2014-04-03 Will Newton <will.newton@linaro.org>
17307
17308 * elf/dl-lookup.c (do_lookup_x): Remove comment
17309 referring to nested function and move variable
17310 declarations down to before first use.
17311
17312 2014-04-02 Joseph Myers <joseph@codesourcery.com>
17313
17314 [BZ #16799]
17315 [BZ #16800]
17316 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
17317 with 0 numerator.
17318 * math/s_catanf.c (__catanf): Likewise.
17319 * math/s_catanh.c (__catanh): Likewise.
17320 * math/s_catanhf.c (__catanhf): Likewise.
17321 * math/s_catanhl.c (__catanhl): Likewise.
17322 * math/s_catanl.c (__catanl): Likewise.
17323 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
17324 by positive zero when computing -Inf result.
17325 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
17326 (catanh_test): Likewise.
17327 * sysdeps/i386/fpu/libm-test-ulps: Update.
17328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17329
17330 [BZ #16789]
17331 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
17332 instead of using underflowing value in computing result.
17333 * math/s_clog10.c (__clog10): Likewise.
17334 * math/s_clog10f.c (__clog10f): Likewise.
17335 * math/s_clog10l.c (__clog10l): Likewise.
17336 * math/s_clogf.c (__clogf): Likewise.
17337 * math/s_clogl.c (__clogl): Likewise.
17338 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
17339 (clog10_test): Likewise.
17340 * sysdeps/i386/fpu/libm-test-ulps: Update.
17341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17342
17343 2014-04-02 Alan Modra <amodra@gmail.com>
17344
17345 [BZ #16739]
17346 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
17347 output when value is near a power of two. Use int64_t for lx and
17348 remove casts. Use decimal rather than hex exponent constants.
17349 Don't use long double multiplication when double will suffice.
17350 * math/libm-test.inc (nextafter_test_data): Add tests.
17351 * NEWS: Add 16739 and 16786 to bug list.
17352
17353 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
17354
17355 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
17356
17357 2014-04-01 Will Newton <will.newton@linaro.org>
17358
17359 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
17360 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
17361
17362 2014-04-01 Florian Weimer <fweimer@redhat.com>
17363
17364 [BZ #13347]
17365 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
17366 * nptl/tst-setuid2.c: New file.
17367 * nptl/Makefile (xtests): Add tst-setuid2.
17368
17369 2014-04-01 Alan Modra <amodra@gmail.com>
17370
17371 [BZ #16786]
17372 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
17373
17374 2014-03-31 Joseph Myers <joseph@codesourcery.com>
17375
17376 [BZ #6803]
17377 [BZ #6804]
17378 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
17379 set errno as appropriate.
17380 * math/w_scalbf.c (__scalbf): Likewise.
17381 * math/w_scalbl.c (__scalbl): Likewise.
17382 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
17383 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
17384 * math/libm-test.inc (scalb_test_data): Add errno expectations.
17385 Add more NaN tests.
17386
17387 [BZ #16349]
17388 * math/w_atan2.c: Include <errno.h>.
17389 (__atan2): Set errno for result underflowing to zero.
17390 * math/w_atan2f.c: Include <errno.h>.
17391 (__atan2f): Set errno for result underflowing to zero.
17392 * math/w_atan2l.c: Include <errno.h>.
17393 (__atan2l): Set errno for result underflowing to zero.
17394 * math/auto-libm-test-in: Don't allow missing errno for some atan2
17395 tests.
17396 * math/auto-libm-test-out: Regenerated.
17397
17398 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17399
17400 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
17401 Encode instruction correctly in little endian.
17402 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
17403 Likewise.
17404 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
17405 Likewise.
17406 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
17407 Likewise.
17408 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
17409 Likewise.
17410
17411 2014-03-31 Joseph Myers <joseph@codesourcery.com>
17412
17413 [BZ #9894]
17414 * sysdeps/unix/sysv/linux/kernel-features.h
17415 [__sparc__ && !__arch64__ && !__sparc_v9__]
17416 (__ASSUME_SET_ROBUST_LIST): Do not define.
17417 [__sparc__ && !__arch64__ && !__sparc_v9__]
17418 (__ASSUME_FUTEX_LOCK_PI): Likewise.
17419 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
17420 Likewise.
17421 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17422 (__ASSUME_FUTEX_LOCK_PI): Undefine.
17423 (__ASSUME_REQUEUE_PI): Likewise.
17424 (__ASSUME_SET_ROBUST_LIST): Likewise.
17425 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17426 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
17427 Undefine.
17428 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17429 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
17430 Likewise.
17431 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
17432 Likewise.
17433 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
17434 Likewise.
17435 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17436 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
17437 Undefine.
17438 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
17439 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
17440 Likewise.
17441
17442 [BZ #16648]
17443 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17444 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
17445 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
17446
17447 2014-03-31 Will Newton <will.newton@linaro.org>
17448
17449 * benchtests/Makefile (bench): Add ffs and ffsll to list
17450 of tests.
17451 * benchtests/ffs-inputs: New file.
17452 * benchtests/ffsll-inputs: Likewise.
17453
17454 2014-03-29 Joseph Myers <joseph@codesourcery.com>
17455
17456 [BZ #16770]
17457 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
17458 too large before casting to int.
17459 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
17460 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
17461 * math/libm-test.inc (scalb_test_data): Add more tests.
17462
17463 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17464
17465 * benchtests/Makefile (DETAILED_OPT): New make option.
17466 (bench-func): Run benchmark program with -d if DETAILED_OPT is
17467 set.
17468 * benchtests/bench-skeleton.c: Include stdbool.h.
17469 (main): Store and print timings per input.
17470 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
17471 member to each argument value.
17472 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
17473 (_print_arg_data): Initialize per-input timing to 0.
17474
17475 * benchtests/Makefile (timing-type): New binary.
17476 (bench-clean): Also remove bench-timing-type.
17477 (bench): New target for timing-type.
17478 (bench-func): Print output in JSON format.
17479 * benchtests/bench-skeleton.c (main): Print output in JSON
17480 format.
17481 * benchtests/bench-timing-type.c: New file.
17482 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
17483 (TIMING_PRINT_STATS): Remove.
17484 * benchtests/scripts/bench.py (_print_arg_data): Store variant
17485 name separately.
17486
17487 * benchtests/bench-modf.c: Remove.
17488 * benchtests/modf-inputs: New inputs file.
17489
17490 2014-03-28 Joseph Myers <joseph@codesourcery.com>
17491
17492 [BZ #16362]
17493 * math/s_clog10.c (M_PI_LOG10E): New macro.
17494 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
17495 imaginary parts are 0.
17496 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
17497 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
17498 imaginary parts are 0.
17499 * math/s_clog10l.c (M_PI_LOG10El): New macro.
17500 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
17501 imaginary parts are 0.
17502 * math/libm-test.inc (clog10_test_data): Update expected results
17503 for when real and imaginary parts are 0.
17504
17505 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
17506
17507 * elf/dl-load.c: Finish conversion of __builtin_expect into
17508 __glibc_{un}likely.
17509
17510 2014-03-27 Joseph Myers <joseph@codesourcery.com>
17511
17512 [BZ #16348]
17513 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
17514 1+x for argument with exponent below -67.
17515 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
17516 Likewise.
17517 * math/auto-libm-test-in: Add more tests of exp.
17518 * math/auto-libm-test-out: Regenerated.
17519
17520 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17521
17522 [BZ #16759]
17523 * inet/getnetgrent_r.c (get_nonempty_val): New function.
17524 (nscd_getnetgrent): Use it.
17525
17526 [BZ #16760]
17527 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
17528 of stpcpy.
17529
17530 2014-03-27 Andi Kleen <ak@linux.intel.com>
17531
17532 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
17533 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17534 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17535 (lll_robust_unlock): Remove out of line section. Use cfi
17536 intrinsics.
17537 (LLL_STUB_UNWIND_INFO*): Remove.
17538 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
17539 (lll_robust_lock, lll_cond_lock, lll_timedlock)
17540 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
17541 (lll_robust_unlock): Remove out of line section. Use cfi
17542 intrinsics.
17543 (LLL_STUB_UNWIND_INFO*): Remove.
17544
17545 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17546
17547 [BZ #16758]
17548 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
17549 blank values.
17550
17551 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
17552
17553 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
17554
17555 2014-03-26 Joseph Myers <joseph@codesourcery.com>
17556
17557 [BZ #16198]
17558 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
17559 fnstenv.
17560 * math/test-fenv-preserve.c: New file.
17561 * math/Makefile (tests): Add test-fenv-preserve.
17562
17563 2014-03-26 Will Newton <will.newton@linaro.org>
17564
17565 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
17566
17567 2014-03-25 Roland McGrath <roland@hack.frob.com>
17568
17569 * scripts/versionlist.awk: Partition the version sets and emit all
17570 GLIBC_* (sorted) before all others (sorted).
17571
17572 2014-03-25 Joseph Myers <joseph@codesourcery.com>
17573
17574 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
17575 GLIBC_2.2.5 version.
17576
17577 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17578
17579 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
17580 calls.
17581
17582 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
17583 previous change.
17584
17585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17586
17587 2014-03-25 Andreas Schwab <schwab@suse.de>
17588
17589 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
17590 label to be used after in6ailist is initialized.
17591
17592 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17593
17594 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17595 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17596
17597 2014-03-25 Joseph Myers <joseph@codesourcery.com>
17598
17599 [BZ #16357]
17600 [BZ #16599]
17601 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
17602 min_plus_half.
17603 (fp_formats): Update initializers.
17604 (init_fp_formats): Initialize new field.
17605 (output_for_one_input_case): Allow underflow for results up to
17606 min_plus_half.
17607 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
17608 * math/auto-libm-test-in: Don't mark some underflows from asin and
17609 atanh as spurious.
17610 * math/auto-libm-test-out: Regenerated.
17611 * sysdeps/i386/fpu/libm-test-ulps: Update.
17612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17613
17614 2014-03-25 Andreas Schwab <schwab@suse.de>
17615
17616 * libio/Makefile (tst-ftell-partial-wide-ENV)
17617 (tst-ftell-active-handler-ENV): Define.
17618
17619 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
17620
17621 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
17622
17623 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17624
17625 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
17626
17627 2014-03-24 Joseph Myers <joseph@codesourcery.com>
17628
17629 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
17630 * sysdeps/x86_64/fpu/multiarch/e_exp.c
17631 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
17632
17633 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
17634
17635 [BZ #16634]
17636 * elf/dl-load.c (open_verify): Add mode parameter.
17637 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
17638 (open_path): Change from boolean 'secure' to complete flag 'mode'
17639 (_dl_map_object): Adjust.
17640 * elf/Makefile (tests): Add tst-dlopen-aout.
17641 * elf/tst-dlopen-aout.c: New test.
17642
17643 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
17644
17645 [BZ #16714]
17646 * sysdeps/unix/sysv/linux/s390/bits/stat.h
17647 (struct stat): Rename member pad0 to __glibc_reserved0.
17648
17649 [BZ #16712]
17650 * sysdeps/s390/s390-32/bits/wordsize.h
17651 (__WORDSIZE32_SIZE_ULONG): New define.
17652 * sysdeps/s390/s390-64/bits/wordsize.h
17653 (__WORDSIZE32_SIZE_ULONG): Likewise.
17654 * sysdeps/generic/stdint.h (SIZE_MAX):
17655 Define as UL if __WORDSIZE32_SIZE_ULONG.
17656
17657 [BZ #16713]
17658 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
17659 (__glibc_reserved0): New variable.
17660 (sa_flags): Change type to int.
17661
17662 * posix/Makefile (before-compile): Use += before-compile instead
17663 of a :=.
17664
17665 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17666 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
17667
17668 2014-03-20 Andreas Schwab <schwab@suse.de>
17669
17670 [BZ #16743]
17671 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
17672 non-matching result from nscd.
17673
17674 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
17675
17676 * scripts/bench.py: Moved to ...
17677 * benchtests/scripts/bench.py: ... here.
17678 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
17679
17680 2014-03-24 Andreas Schwab <schwab@suse.de>
17681
17682 [BZ #16002]
17683 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
17684 alloca_account and account alloca use for struct in6ailist.
17685
17686 2014-03-24 Joseph Myers <joseph@codesourcery.com>
17687
17688 [BZ #16284]
17689 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
17690 rounding mode to recompute results that overflow to infinity or
17691 underflow to zero.
17692 * math/auto-libm-test-in: Don't mark tests as expected to fail for
17693 bug 16284.
17694 * math/auto-libm-test-out: Regenerated.
17695 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
17696 (ccosh_test): Likewise.
17697 (csin_test_data): Use plus_oflow.
17698 (csin_test): Use ALL_RM_TEST.
17699 (csinh_test_data): Use plus_oflow.
17700 (csinh_test): Use ALL_RM_TEST.
17701 * sysdeps/i386/fpu/libm-test-ulps: Update.
17702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17703
17704 2014-03-21 Joseph Myers <joseph@codesourcery.com>
17705
17706 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
17707 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
17708 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
17709
17710 [BZ #16731]
17711 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
17712 when x - 1 is zero.
17713 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
17714 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
17715 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17716 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
17717 argument is 1.
17718 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
17719 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
17720 zero.
17721 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
17722 * sysdeps/i386/fpu/libm-test-ulps: Update.
17723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17724
17725 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17726
17727 * scripts/bench.pl: Remove file.
17728 * scripts/bench.py: New benchmark script.
17729 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
17730 * benchtests/README: Mention python dependency.
17731 * scripts/pylintrc: New file.
17732 * scripts/pylint: New file.
17733
17734 * bits/mathdef.h: Use #ifdef instead of #if.
17735 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
17736 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17737 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
17738 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17739 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
17740 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
17741
17742 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17743 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
17744
17745 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
17746 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
17747 and strpbrk-ppc64 objects.
17748 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17749 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
17750 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
17751 multiarch strpbrk for POWER7.
17752 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
17753 multiarch strpbrk for PPC64.
17754 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
17755 ifunc selector.
17756 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
17757 strpbrk for POWER7.
17758
17759 2014-03-20 Joseph Myers <joseph@codesourcery.com>
17760
17761 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
17762 (atan_test): Likewise.
17763 (atanh_test_data): Use NO_TEST_INLINE for two tests.
17764 (atanh_test): Use ALL_RM_TEST.
17765 (atan2_test_data): Likewise.
17766 (cabs_test): Likewise.
17767 (cacosh_test): Likewise.
17768 (carg_test): Likewise.
17769 (casin_test): Likewise.
17770 (casinh_test): Likewise.
17771 (cbrt_test): Likewise.
17772 (csqrt_test): Likewise.
17773 (erf_test): Likewise.
17774 (erfc_test): Likewise.
17775 (pow10_test): Likewise.
17776 (exp2_test): Likewise.
17777 (hypot_test): Likewise.
17778 (j0_test): Likewise.
17779 (j1_test): Likewise.
17780 (lgamma_test): Likewise.
17781 (gamma_test): Likewise.
17782 (sincos_test): Likewise.
17783 (tanh_test): Likewise.
17784 (y0_test): Likewise.
17785 (y1_test): Likewise.
17786 * sysdeps/i386/fpu/libm-test-ulps: Update.
17787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17788
17789 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17790
17791 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
17792 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
17793 and strcspn-ppc64 objects.
17794 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17795 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
17796 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
17797 multiarch strcspn for POWER7.
17798 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
17799 multiarch strcspn for PPC64.
17800 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
17801 ifunc selector.
17802 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
17803 strcspn for POWER7.
17804
17805 2014-03-20 Joseph Myers <joseph@codesourcery.com>
17806
17807 * math/gen-libm-test.pl (generate_testfile): Expect only function
17808 name as argument to AUTO_TESTS_* and pass results for all rounding
17809 modes to parse_args.
17810 (parse_auto_input): Separate inputs of automatic tests from
17811 outputs before storing in %auto_tests.
17812 * math/libm-test.inc (acos_test_data): Update call to
17813 AUTO_TESTS_f_f.
17814 (acos_test): Use ALL_RM_TEST.
17815 (acos_tonearest_test_data): Remove.
17816 (acos_test_tonearest): Likewise.
17817 (acos_towardzero_test_data): Likewise.
17818 (acos_test_towardzero): Likewise.
17819 (acos_downward_test_data): Likewise.
17820 (acos_test_downward): Likewise.
17821 (acos_upward_test_data): Likewise.
17822 (acos_test_upward): Likewise.
17823 (acosh_test_data): Update call to AUTO_TESTS_f_f.
17824 (asin_test_data): Likewise.
17825 (asin_test): Use ALL_RM_TEST.
17826 (asin_tonearest_test_data): Remove.
17827 (asin_test_tonearest): Likewise.
17828 (asin_towardzero_test_data): Likewise.
17829 (asin_test_towardzero): Likewise.
17830 (asin_downward_test_data): Likewise.
17831 (asin_test_downward): Likewise.
17832 (asin_upward_test_data): Likewise.
17833 (asin_test_upward): Likewise.
17834 (asinh_test_data): Update call to AUTO_TESTS_f_f.
17835 (atan_test_data): Likewise.
17836 (atanh_test_data): Likewise.
17837 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
17838 (cabs_test_data): Update call to AUTO_TESTS_c_f.
17839 (carg_test_data): Likewise.
17840 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
17841 (ccos_test_data): Update call to AUTO_TESTS_c_c.
17842 (ccosh_test_data): Likewise.
17843 (cexp_test_data): Likewise.
17844 (clog_test_data): Likewise.
17845 (clog10_test_data): Likewise.
17846 (cos_test_data): Update call to AUTO_TESTS_f_f.
17847 (cos_test): Use ALL_RM_TEST.
17848 (cos_tonearest_test_data): Remove.
17849 (cos_test_tonearest): Likewise.
17850 (cos_towardzero_test_data): Likewise.
17851 (cos_test_towardzero): Likewise.
17852 (cos_downward_test_data): Likewise.
17853 (cos_test_downward): Likewise.
17854 (cos_upward_test_data): Likewise.
17855 (cos_test_upward): Likewise.
17856 (cosh_test_data): Update call to AUTO_TESTS_f_f.
17857 (cosh_test): Use ALL_RM_TEST.
17858 (cosh_tonearest_test_data): Remove.
17859 (cosh_test_tonearest): Likewise.
17860 (cosh_towardzero_test_data): Likewise.
17861 (cosh_test_towardzero): Likewise.
17862 (cosh_downward_test_data): Likewise.
17863 (cosh_test_downward): Likewise.
17864 (cosh_upward_test_data): Likewise.
17865 (cosh_test_upward): Likewise.
17866 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
17867 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
17868 (ctan_test_data): Likewise.
17869 (ctan_test): Use ALL_RM_TEST.
17870 (ctan_tonearest_test_data): Remove.
17871 (ctan_test_tonearest): Likewise.
17872 (ctan_towardzero_test_data): Likewise.
17873 (ctan_test_towardzero): Likewise.
17874 (ctan_downward_test_data): Likewise.
17875 (ctan_test_downward): Likewise.
17876 (ctan_upward_test_data): Likewise.
17877 (ctan_test_upward): Likewise.
17878 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
17879 (ctanh_test): Use ALL_RM_TEST.
17880 (ctanh_tonearest_test_data): Remove.
17881 (ctanh_test_tonearest): Likewise.
17882 (ctanh_towardzero_test_data): Likewise.
17883 (ctanh_test_towardzero): Likewise.
17884 (ctanh_downward_test_data): Likewise.
17885 (ctanh_test_downward): Likewise.
17886 (ctanh_upward_test_data): Likewise.
17887 (ctanh_test_upward): Likewise.
17888 (erf_test_data): Update call to AUTO_TESTS_f_f.
17889 (erfc_test_data): Likewise.
17890 (exp_test_data): Likewise.
17891 (exp_test): Use ALL_RM_TEST.
17892 (exp_tonearest_test_data): Remove.
17893 (exp_test_tonearest): Likewise.
17894 (exp_towardzero_test_data): Likewise.
17895 (exp_test_towardzero): Likewise.
17896 (exp_downward_test_data): Likewise.
17897 (exp_test_downward): Likewise.
17898 (exp_upward_test_data): Likewise.
17899 (exp_test_upward): Likewise.
17900 (exp10_test_data): Update call to AUTO_TESTS_f_f.
17901 (exp10_test): Use ALL_RM_TEST.
17902 (exp10_tonearest_test_data): Remove.
17903 (exp10_test_tonearest): Likewise.
17904 (exp10_towardzero_test_data): Likewise.
17905 (exp10_test_towardzero): Likewise.
17906 (exp10_downward_test_data): Likewise.
17907 (exp10_test_downward): Likewise.
17908 (exp10_upward_test_data): Likewise.
17909 (exp10_test_upward): Likewise.
17910 (exp2_test_data): Update call to AUTO_TESTS_f_f.
17911 (expm1_test_data): Likewise.
17912 (expm1_test): Use ALL_RM_TEST.
17913 (expm1_tonearest_test_data): Remove.
17914 (expm1_test_tonearest): Likewise.
17915 (expm1_towardzero_test_data): Likewise.
17916 (expm1_test_towardzero): Likewise.
17917 (expm1_downward_test_data): Likewise.
17918 (expm1_test_downward): Likewise.
17919 (expm1_upward_test_data): Likewise.
17920 (expm1_test_upward): Likewise.
17921 (fma_test_data): Update call to AUTO_TESTS_fff_f.
17922 (fma_test): Use ALL_RM_TEST.
17923 (fma_towardzero_test_data): Remove.
17924 (fma_test_towardzero): Likewise.
17925 (fma_downward_test_data): Likewise.
17926 (fma_test_downward): Likewise.
17927 (fma_upward_test_data): Likewise.
17928 (fma_test_upward): Likewise.
17929 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
17930 (j0_test_data): Update call to AUTO_TESTS_f_f.
17931 (j1_test_data): Likewise.
17932 (jn_test_data): Update call to AUTO_TESTS_if_f.
17933 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
17934 (log_test_data): Update call to AUTO_TESTS_f_f.
17935 (log10_test_data): Likewise.
17936 (log1p_test_data): Likewise.
17937 (log2_test_data): Likewise.
17938 (pow_test_data): Update call to AUTO_TESTS_ff_f.
17939 (pow_tonearest_test_data): Likewise.
17940 (sin_test_data): Update call to AUTO_TESTS_f_f.
17941 (sin_test): Use ALL_RM_TEST.
17942 (sin_tonearest_test_data): Remove.
17943 (sin_test_tonearest): Likewise.
17944 (sin_towardzero_test_data): Likewise.
17945 (sin_test_towardzero): Likewise.
17946 (sin_downward_test_data): Likewise.
17947 (sin_test_downward): Likewise.
17948 (sin_upward_test_data): Likewise.
17949 (sin_test_upward): Likewise.
17950 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
17951 (sinh_test_data): Update call to AUTO_TESTS_f_f.
17952 (sinh_test): Use ALL_RM_TEST.
17953 (sinh_tonearest_test_data): Remove.
17954 (sinh_test_tonearest): Likewise.
17955 (sinh_towardzero_test_data): Likewise.
17956 (sinh_test_towardzero): Likewise.
17957 (sinh_downward_test_data): Likewise.
17958 (sinh_test_downward): Likewise.
17959 (sinh_upward_test_data): Likewise.
17960 (sinh_test_upward): Likewise.
17961 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
17962 (sqrt_test): Use ALL_RM_TEST.
17963 (sqrt_tonearest_test_data): Remove.
17964 (sqrt_test_tonearest): Likewise.
17965 (sqrt_towardzero_test_data): Likewise.
17966 (sqrt_test_towardzero): Likewise.
17967 (sqrt_downward_test_data): Likewise.
17968 (sqrt_test_downward): Likewise.
17969 (sqrt_upward_test_data): Likewise.
17970 (sqrt_test_upward): Likewise.
17971 (tan_test_data): Update call to AUTO_TESTS_f_f.
17972 (tan_test): Use ALL_RM_TEST.
17973 (tan_tonearest_test_data): Remove.
17974 (tan_test_tonearest): Likewise.
17975 (tan_towardzero_test_data): Likewise.
17976 (tan_test_towardzero): Likewise.
17977 (tan_downward_test_data): Likewise.
17978 (tan_test_downward): Likewise.
17979 (tan_upward_test_data): Likewise.
17980 (tan_test_upward): Likewise.
17981 (tanh_test_data): Update call to AUTO_TESTS_f_f.
17982 (tgamma_test_data): Likewise.
17983 (y0_test_data): Likewise.
17984 (y1_test_data): Likewise.
17985 (yn_test_data): Update call to AUTO_TESTS_if_f.
17986 (main): Do not call removed functions.
17987
17988 2014-03-19 Joseph Myers <joseph@codesourcery.com>
17989
17990 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
17991 (ldexp_test_data): Remove.
17992 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
17993 scalbn_test_data.
17994 (scalb_test): Use ALL_RM_TEST.
17995
17996 2014-03-19 Andreas Schwab <schwab@suse.de>
17997
17998 * nscd/nscd.service: Also invalidate netgroup cache on reload.
17999
18000 2014-03-19 Joseph Myers <joseph@codesourcery.com>
18001
18002 [BZ #16649]
18003 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18004 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
18005 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
18006 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18007 (__ASSUME_PREADV): Undefine.
18008 (__ASSUME_PWRITEV): Likewise.
18009
18010 2014-03-18 Roland McGrath <roland@hack.frob.com>
18011
18012 * bits/mman-linux.h: Add comment about non-Linux use.
18013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
18014 bits/mman-linux.h resting place.
18015
18016 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
18017 * bits/mman-linux.h: ... here.
18018
18019 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18020
18021 * conform/conformtest.pl: Add standard definition when calling C
18022 preprocessor on data files.
18023 (checknamespace): Remove unused variable.
18024
18025 2014-03-18 Joseph Myers <joseph@codesourcery.com>
18026
18027 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
18028 minus_oflow, plus_uflow and minus_uflow in expected results.
18029 * math/libm-test.inc (scalbn_test_data): Add more tests of
18030 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
18031 minus_uflow.
18032 (scalbn_test): Use ALL_RM_TEST.
18033 (scalbln_test_data): Add more tests of negative arguments. Use
18034 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
18035 (scalbln_test): Use ALL_RM_TEST.
18036
18037 2014-03-18 Roland McGrath <roland@hack.frob.com>
18038
18039 * scripts/abilist.awk: Ignore symbols marked with .hidden.
18040
18041 2014-03-18 Will Newton <will.newton@linaro.org>
18042
18043 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
18044 inaccurate comment.
18045
18046 2014-03-18 Joseph Myers <joseph@codesourcery.com>
18047
18048 * Makerules [!subdir] (check-abi): Exit with error status if a
18049 test failed.
18050
18051 2014-03-17 Joseph Myers <joseph@codesourcery.com>
18052
18053 * math/libm-test.inc (nearbyint_test_data): Include all tests used
18054 for rint. Include results for all rounding modes.
18055 (nearbyint_test): Use ALL_RM_TEST.
18056 (rint_test_data): Include all tests used for nearbyint.
18057
18058 2014-03-17 Will Newton <will.newton@linaro.org>
18059
18060 * nptl/sysdeps/pthread/pthread.h: Revert previous
18061 change.
18062
18063 * sysdeps/generic/ldsodefs.h: Revert previous
18064 change.
18065
18066 * libio/genops.c: Revert previous change.
18067 * libio/libioP.h: Likewise.
18068 * stdio-common/vfprintf.c: Likewise.
18069
18070 * sysdeps/generic/math_private.h: Revert previous
18071 change.
18072
18073 * sysdeps/generic/math_private.h: Check whether
18074 HAVE_RM_CTX is defined with #ifdef rather
18075 than #if.
18076
18077 * argp/argp-fmtstream.h: Check whether
18078 __STRICT_ANSI__ is defined with #ifdef rather
18079 than #if.
18080 * argp/argp.h: Likewise.
18081
18082 * libio/genops.c: Check whether
18083 _IO_JUMPS_OFFSET is defined with #ifdef rather
18084 than #if.
18085 * libio/libioP.h: Likewise.
18086 * stdio-common/vfprintf.c: Likewise.
18087
18088 * sysdeps/generic/ldsodefs.h: Check whether
18089 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
18090 than #if.
18091
18092 * nptl/sysdeps/pthread/pthread.h: Check
18093 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
18094 its value.
18095
18096 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18097
18098 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
18099 setting O_APPEND.
18100 * libio/tst-ftell-active-handler.c (do_append_test): Add a
18101 test case.
18102
18103 [BZ #16680]
18104 * libio/fileops.c (_IO_file_open): Seek to end of file but
18105 don't cache the offset.
18106 (get_file_offset): Remove function.
18107 (do_ftell): Use cached offset when available.
18108 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
18109 don't cache the offset.
18110 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
18111 case.
18112 (do_one_test): Call it.
18113 (do_ftell_test): Fix up expected old offset for a+ mode.
18114 * libio/wfileops.c (do_ftell_wide): Used cached offset when
18115 available.
18116
18117 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
18118 up test status with function return status.
18119 (do_write_test): Likewise.
18120 (do_append_test): Likewise.
18121
18122 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
18123 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
18124 Remove.
18125
18126 2014-03-17 Joseph Myers <joseph@codesourcery.com>
18127
18128 * math/gen-libm-test.pl (parse_args): Handle results specified for
18129 each rounding mode separately.
18130 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
18131 tests and results from lrint_tonearest_test_data,
18132 lrint_towardzero_test_data, lrint_downward_test_data and
18133 lrint_upward_test_data.
18134 (lrint_test): Use ALL_RM_TEST.
18135 (lrint_tonearest_test_data): Remove.
18136 (lrint_test_tonearest): Likewise.
18137 (lrint_towardzero_test_data): Likewise.
18138 (lrint_test_towardzero): Likewise.
18139 (lrint_downward_test_data): Likewise.
18140 (lrint_test_downward): Likewise.
18141 (lrint_upward_test_data): Likewise.
18142 (lrint_test_upward): Likewise.
18143 (llrint_test_data): Merge in per-rounding-mode tests and results
18144 from llrint_tonearest_test_data, llrint_towardzero_test_data,
18145 llrint_downward_test_data and llrint_upward_test_data.
18146 (llrint_test): Use ALL_RM_TEST.
18147 (llrint_tonearest_test_data): Remove.
18148 (llrint_test_tonearest): Likewise.
18149 (llrint_towardzero_test_data): Likewise.
18150 (llrint_test_towardzero): Likewise.
18151 (llrint_downward_test_data): Likewise.
18152 (llrint_test_downward): Likewise.
18153 (llrint_upward_test_data): Likewise.
18154 (llrint_test_upward): Likewise.
18155 (rint_test_data): Merge in per-rounding-mode tests and results
18156 from rint_tonearest_test_data, rint_towardzero_test_data,
18157 rint_downward_test_data and rint_upward_test_data. Add
18158 per-rounding-mode results for tests not in those arrays.
18159 (rint_test): Use ALL_RM_TEST.
18160 (rint_tonearest_test_data): Remove.
18161 (rint_test_tonearest): Likewise.
18162 (rint_towardzero_test_data): Likewise.
18163 (rint_test_towardzero): Likewise.
18164 (rint_downward_test_data): Likewise.
18165 (rint_test_downward): Likewise.
18166 (rint_upward_test_data): Likewise.
18167 (rint_test_upward): Likewise.
18168 (main): Don't call removed functions.
18169
18170 2014-03-14 Roland McGrath <roland@hack.frob.com>
18171
18172 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
18173 "Compiled on ..." crapola. It is anti-useful.
18174
18175 2014-03-14 Joseph Myers <joseph@codesourcery.com>
18176
18177 * scripts/evaluate-test.sh: Handle fourth argument to determine
18178 whether test run should stop on failure.
18179 * Makeconfig (stop-on-test-failure): New variable.
18180 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
18181 $(stop-on-test-failure).
18182 * Makefile (tests): Give a summary of results from testing and
18183 exit with failure status if they include an ERROR or FAIL.
18184 (xtests): Likewise.
18185 * manual/install.texi (Configuring and compiling): Mention
18186 stop-on-test-failure=y.
18187 * INSTALL: Regenerated.
18188
18189 2014-03-14 Roland McGrath <roland@hack.frob.com>
18190
18191 * scripts/versionlist.awk: New file.
18192 * Makerules [$(build-shared) = yes]
18193 (postclean-generated): Add Versions.def, not Versions.def.v and
18194 Versions.def.v.i.
18195 ($(common-objpfx)Versions.def.v.i): Target removed.
18196 ($(common-objpfx)Versions.def): New target.
18197 ($(common-objpfx)Versions.all): Depend on that rather that
18198 $(common-objpfx)Versions.def.v.
18199 * Versions.def: File removed.
18200
18201 * Makeconfig (+gccwarn): Add -Wundef.
18202 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
18203 a dl-sysdep.h breaking its contract.
18204 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
18205 * include/stackinfo.h: New file.
18206 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
18207 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
18208 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
18209 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
18210 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
18211 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
18212 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18213 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18214 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18215 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18216 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18217 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
18218 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18219 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18220 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
18221
18222 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18223
18224 [BZ #16707]
18225 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
18226 implementation.
18227 * math/libm-test.inc (round_test_data): Add more tests.
18228
18229 [BZ #16706]
18230 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
18231 implementation.
18232 * math/libm-test.inc (nearbyint_test_data): Add more tests.
18233
18234 [BZ #16701]
18235 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
18236 implementation.
18237 * math/libm-test.inc (ceil_test_data): Add more tests.
18238
18239 * math/libm-test.inc (trunc_test_data): Add more tests related to
18240 BZ#16414.
18241
18242 2014-03-14 Roland McGrath <roland@hack.frob.com>
18243
18244 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
18245 with #if rather than #ifdef.
18246 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
18247
18248 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
18249
18250 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
18251 first. Disable AVX-512 GCC support if assembler doesn't support
18252 it.
18253 * sysdeps/x86_64/configure: Regenerated.
18254
18255 2014-03-13 Carlos O'Donell <carlos@redhat.com>
18256
18257 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
18258 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
18259 (__old_pthread_attr_setstack): Likewise.
18260 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
18261 [!_STACK_GROWS_DOWN]: Likewise.
18262
18263 2014-03-13 Mike Frysinger <vapier@gentoo.org>
18264
18265 * config.make.in (have-bash2): Delete.
18266 * configure.ac (libc_cv_have_bash2): Delete.
18267 * configure: Regenerate.
18268 * elf/Makefile (common-ldd-rewrite): Rename to ...
18269 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
18270 (sh-ldd-rewrite): Delete.
18271 (bash-ldd-rewrite): Delete.
18272 (have-bash2): Delete checks.
18273 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
18274 ldd-rewrite.
18275
18276 * config.make.in (have-ksh): Delete.
18277 (KSH): Delete.
18278 * configure.ac (libc_cv_have_ksh): Delete.
18279 * configure: Regenerate.
18280
18281 * elf/Makefile: Delete $(have-ksh) check.
18282 ($(objpfx)sotruss): Change KSH to BASH.
18283 * elf/sotruss.ksh: Rename to ...
18284 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
18285 function style to match POSIX. Drop ksh vim mode setting.
18286
18287 * manual/time.texi (Specifying the Time Zone with TZ): Change
18288 Tuesday to Thursday.
18289
18290 * debug/tst-longjmp_chk2.c: Update header comment.
18291 (stackoverflow_handler): Add comment. Call assert on pass value.
18292
18293 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
18294
18295 [BZ #16194]
18296 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
18297 (HAVE_AVX512_ASM_SUPPORT): Likewise.
18298 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
18299 (La_x86_64_vector): Add zmm.
18300 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
18301 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
18302 ($(objpfx)tst-audit10): New target.
18303 ($(objpfx)tst-audit10.out): Likewise.
18304 (tst-audit10-ENV): New.
18305 (AVX512-CFLAGS): Likewise.
18306 (CFLAGS-tst-audit10.c): Likewise.
18307 (CFLAGS-tst-auditmod10a.c): Likewise.
18308 (CFLAGS-tst-auditmod10b.c): Likewise.
18309 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
18310 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
18311 * sysdeps/x86_64/configure: Regenerated.
18312 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
18313 AVX-512 zmm register support.
18314 (_dl_x86_64_save_sse): Likewise.
18315 (_dl_x86_64_restore_sse): Likewise.
18316 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
18317 size vector registers.
18318 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
18319 (ZMM_SIZE): Likewise.
18320 * sysdeps/x86_64/tst-audit10.c: New file.
18321 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
18322 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
18323
18324 2014-03-13 Roland McGrath <roland@hack.frob.com>
18325
18326 * configure.ac (HAVE_EHDR_START): New check.
18327 * configure: Regenerated.
18328 * config.h.in (HAVE_EHDR_START): New #undef.
18329 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
18330 assuming the lowest-addressed segment maps the start of the file.
18331
18332 2014-03-13 Joseph Myers <joseph@codesourcery.com>
18333
18334 * INSTALL: Regenerated.
18335
18336 2014-03-13 Will Newton <will.newton@linaro.org>
18337
18338 * manual/setjmp.texi (System V contexts): Improve
18339 clarity and grammar of documentation.
18340
18341 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
18342
18343 [BZ #16381]
18344 * elf/Makefile (tests): Add tst-pie2.
18345 (tests-pie): Add tst-pie2.
18346 * elf/tst-pie2.c: New file.
18347 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
18348 for ET_EXEC.
18349 * elf/rtld.c (map_doit): Load executable as lt_executable.
18350 (dl_main): Likewise.
18351
18352 2014-03-12 Joseph Myers <joseph@codesourcery.com>
18353
18354 [BZ #16642]
18355 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18356 (__ASSUME_PSELECT): Undefine.
18357
18358 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18359
18360 [BZ #16689]
18361 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
18362 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
18363 static build.
18364 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
18365 selector for static builds.
18366
18367 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18368
18369 [BZ #16695]
18370 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
18371 key in the buffer.
18372
18373 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18374
18375 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
18376 IFUNC selector for static builds.
18377
18378 2014-03-11 Joseph Myers <joseph@codesourcery.com>
18379
18380 * sysdeps/mips/math_private.h [__mips_hard_float]
18381 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
18382 libc_feresetround_mips_ctx.
18383 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
18384 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
18385 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
18386
18387 [BZ #16677]
18388 * math/s_nextafter.c (__nextafter): Do not return value from
18389 overflowing computation.
18390 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
18391 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
18392 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
18393 Likewise.
18394 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
18395 Likewise.
18396 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
18397 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
18398
18399 2014-03-11 Roland McGrath <roland@hack.frob.com>
18400
18401 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
18402 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
18403 Move sfi_sp use from the load-multiple (that no longer sets sp) to
18404 the new mov targetting sp.
18405
18406 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18407
18408 [BZ #16683]
18409 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
18410 Define it for static builds as well.
18411 (NO_BZERO_IMPL): Likewise.
18412
18413 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18414
18415 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
18416 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
18417 multiarch strspn for PPC64.
18418 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
18419 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
18420 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18421 (__libc_ifunc_impl_list): Likewise.
18422 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
18423 multiarch optimizations
18424 * string/strspn.c (strspn): Using macro to redefine symbol name.
18425
18426 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18427 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18428
18429 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
18430 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
18431 multiarch strncat for PPC64.
18432 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
18433 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
18434 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18435 (__libc_ifunc_impl_list): Likewise.
18436 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
18437 multiarch optimizations
18438
18439 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18440
18441 [BZ #16639]
18442 * nscd/nscd.service: Make service type forking.
18443
18444 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18445
18446 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
18447 sign in non default rounding modes.
18448 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
18449
18450 2014-03-08 Joseph Myers <joseph@codesourcery.com>
18451
18452 * math/libm-test.inc (ALL_RM_TEST): New macro.
18453 (ceil_test): Use ALL_RM_TEST.
18454 (cimag_test): Likewise.
18455 (conj_test): Likewise.
18456 (copysign_test): Likewise.
18457 (cproj_test): Likewise.
18458 (creal_test): Likewise.
18459 (fabs_test): Likewise.
18460 (floor_test): Likewise.
18461 (fmax_test): Likewise.
18462 (fmin_test): Likewise.
18463 (fmod_test): Likewise.
18464 (fpclassify_test): Likewise.
18465 (frexp_test): Likewise.
18466 (ilogb_test): Likewise.
18467 (isfinite_test): Likewise.
18468 (finite_test): Likewise.
18469 (isgreater_test): Likewise.
18470 (isgreaterequal_test): Likewise.
18471 (isinf_test): Likewise.
18472 (isless_test): Likewise.
18473 (islessequal_test): Likewise.
18474 (islessgreater_test): Likewise.
18475 (isnan_test): Likewise.
18476 (isnormal_test): Likewise.
18477 (issignaling_test): Likewise.
18478 (isunordered_test): Likewise.
18479 (logb_test): Likewise.
18480 (logb_downward_test_data): Remove.
18481 (logb_test_downward): Likewise.
18482 (lround_test): Use ALL_RM_TEST.
18483 (llround_test): Likewise.
18484 (modf_test): Likewise.
18485 (nexttoward_test): Likewise.
18486 (remainder_test): Likewise.
18487 (drem_test): Likewise.
18488 (remainder_tonearest_test_data): Likewise.
18489 (remainder_test_tonearest): Likewise.
18490 (drem_test_tonearest): Likewise.
18491 (remainder_towardzero_test_data): Likewise.
18492 (remainder_test_towardzero): Likewise.
18493 (drem_test_towardzero): Likewise.
18494 (remainder_downward_test_data): Likewise.
18495 (remainder_test_downward): Likewise.
18496 (drem_test_downward): Likewise.
18497 (remainder_upward_test_data): Likewise.
18498 (remainder_test_upward): Likewise.
18499 (drem_test_upward): Likewise.
18500 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
18501 (round_test): Use ALL_RM_TEST.
18502 (signbit_test): Likewise.
18503 (trunc_test): Likewise.
18504 (significand_test): Likewise.
18505 (main): Don't call removed functions.
18506
18507 2014-03-07 Joseph Myers <joseph@codesourcery.com>
18508
18509 [BZ #16674]
18510 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
18511 || __USE_XOPEN2K8].
18512 (ILL_ILLOPN): Likewise.
18513 (ILL_ILLADR): Likewise.
18514 (ILL_ILLTRP): Likewise.
18515 (ILL_PRVOPC): Likewise.
18516 (ILL_PRVREG): Likewise.
18517 (ILL_COPROC): Likewise.
18518 (ILL_BADSTK): Likewise.
18519 (FPE_INTDIV): Likewise.
18520 (FPE_INTOVF): Likewise.
18521 (FPE_FLTDIV): Likewise.
18522 (FPE_FLTOVF): Likewise.
18523 (FPE_FLTUND): Likewise.
18524 (FPE_FLTRES): Likewise.
18525 (FPE_FLTINV): Likewise.
18526 (FPE_FLTSUB): Likewise.
18527 (SEGV_MAPERR): Likewise.
18528 (SEGV_ACCERR): Likewise.
18529 (BUS_ADRALN): Likewise.
18530 (BUS_ADRERR): Likewise.
18531 (BUS_OBJERR): Likewise.
18532 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18533 (TRAP_TRACE): Likewise.
18534 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18535 __USE_XOPEN2K8].
18536 (CLD_KILLED): Likewise.
18537 (CLD_DUMPED): Likewise.
18538 (CLD_TRAPPED): Likewise.
18539 (CLD_STOPPED): Likewise.
18540 (CLD_CONTINUED): Likewise.
18541 (POLL_IN): Likewise.
18542 (POLL_OUT): Likewise.
18543 (POLL_MSG): Likewise.
18544 (POLL_ERR): Likewise.
18545 (POLL_PRI): Likewise.
18546 (POLL_HUP): Likewise.
18547 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
18548 Likewise.
18549 (ILL_ILLOPN): Likewise.
18550 (ILL_ILLADR): Likewise.
18551 (ILL_ILLTRP): Likewise.
18552 (ILL_PRVOPC): Likewise.
18553 (ILL_PRVREG): Likewise.
18554 (ILL_COPROC): Likewise.
18555 (ILL_BADSTK): Likewise.
18556 (FPE_INTDIV): Likewise.
18557 (FPE_INTOVF): Likewise.
18558 (FPE_FLTDIV): Likewise.
18559 (FPE_FLTOVF): Likewise.
18560 (FPE_FLTUND): Likewise.
18561 (FPE_FLTRES): Likewise.
18562 (FPE_FLTINV): Likewise.
18563 (FPE_FLTSUB): Likewise.
18564 (SEGV_MAPERR): Likewise.
18565 (SEGV_ACCERR): Likewise.
18566 (BUS_ADRALN): Likewise.
18567 (BUS_ADRERR): Likewise.
18568 (BUS_OBJERR): Likewise.
18569 (BUS_MCEERR_AR): Likewise.
18570 (BUS_MCEERR_AO): Likewise.
18571 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18572 (TRAP_TRACE): Likewise.
18573 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18574 __USE_XOPEN2K8].
18575 (CLD_KILLED): Likewise.
18576 (CLD_DUMPED): Likewise.
18577 (CLD_TRAPPED): Likewise.
18578 (CLD_STOPPED): Likewise.
18579 (CLD_CONTINUED): Likewise.
18580 (POLL_IN): Likewise.
18581 (POLL_OUT): Likewise.
18582 (POLL_MSG): Likewise.
18583 (POLL_ERR): Likewise.
18584 (POLL_PRI): Likewise.
18585 (POLL_HUP): Likewise.
18586 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
18587 (ILL_ILLOPN): Likewise.
18588 (ILL_ILLADR): Likewise.
18589 (ILL_ILLTRP): Likewise.
18590 (ILL_PRVOPC): Likewise.
18591 (ILL_PRVREG): Likewise.
18592 (ILL_COPROC): Likewise.
18593 (ILL_BADSTK): Likewise.
18594 (FPE_INTDIV): Likewise.
18595 (FPE_INTOVF): Likewise.
18596 (FPE_FLTDIV): Likewise.
18597 (FPE_FLTOVF): Likewise.
18598 (FPE_FLTUND): Likewise.
18599 (FPE_FLTRES): Likewise.
18600 (FPE_FLTINV): Likewise.
18601 (FPE_FLTSUB): Likewise.
18602 (SEGV_MAPERR): Likewise.
18603 (SEGV_ACCERR): Likewise.
18604 (BUS_ADRALN): Likewise.
18605 (BUS_ADRERR): Likewise.
18606 (BUS_OBJERR): Likewise.
18607 (BUS_MCEERR_AR): Likewise.
18608 (BUS_MCEERR_AO): Likewise.
18609 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18610 (TRAP_TRACE): Likewise.
18611 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18612 __USE_XOPEN2K8].
18613 (CLD_KILLED): Likewise.
18614 (CLD_DUMPED): Likewise.
18615 (CLD_TRAPPED): Likewise.
18616 (CLD_STOPPED): Likewise.
18617 (CLD_CONTINUED): Likewise.
18618 (POLL_IN): Likewise.
18619 (POLL_OUT): Likewise.
18620 (POLL_MSG): Likewise.
18621 (POLL_ERR): Likewise.
18622 (POLL_PRI): Likewise.
18623 (POLL_HUP): Likewise.
18624 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
18625 Likewise.
18626 (ILL_ILLOPN): Likewise.
18627 (ILL_ILLADR): Likewise.
18628 (ILL_ILLTRP): Likewise.
18629 (ILL_PRVOPC): Likewise.
18630 (ILL_PRVREG): Likewise.
18631 (ILL_COPROC): Likewise.
18632 (ILL_BADSTK): Likewise.
18633 (ILL_BADIADDR): Likewise.
18634 (ILL_BREAK): Likewise.
18635 (FPE_INTDIV): Likewise.
18636 (FPE_INTOVF): Likewise.
18637 (FPE_FLTDIV): Likewise.
18638 (FPE_FLTOVF): Likewise.
18639 (FPE_FLTUND): Likewise.
18640 (FPE_FLTRES): Likewise.
18641 (FPE_FLTINV): Likewise.
18642 (FPE_FLTSUB): Likewise.
18643 (FPE_DECOVF): Likewise.
18644 (FPE_DECDIV): Likewise.
18645 (FPE_DECERR): Likewise.
18646 (FPE_INVASC): Likewise.
18647 (FPE_INVDEC): Likewise.
18648 (SEGV_MAPERR): Likewise.
18649 (SEGV_ACCERR): Likewise.
18650 (SEGV_PSTKOVF): Likewise.
18651 (BUS_ADRALN): Likewise.
18652 (BUS_ADRERR): Likewise.
18653 (BUS_OBJERR): Likewise.
18654 (BUS_MCEERR_AR): Likewise.
18655 (BUS_MCEERR_AO): Likewise.
18656 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18657 (TRAP_TRACE): Likewise.
18658 (TRAP_BRANCH): Likewise.
18659 (TRAP_HWBKPT): Likewise.
18660 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18661 __USE_XOPEN2K8].
18662 (CLD_KILLED): Likewise.
18663 (CLD_DUMPED): Likewise.
18664 (CLD_TRAPPED): Likewise.
18665 (CLD_STOPPED): Likewise.
18666 (CLD_CONTINUED): Likewise.
18667 (POLL_IN): Likewise.
18668 (POLL_OUT): Likewise.
18669 (POLL_MSG): Likewise.
18670 (POLL_ERR): Likewise.
18671 (POLL_PRI): Likewise.
18672 (POLL_HUP): Likewise.
18673 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
18674 (ILL_ILLOPN): Likewise.
18675 (ILL_ILLADR): Likewise.
18676 (ILL_ILLTRP): Likewise.
18677 (ILL_PRVOPC): Likewise.
18678 (ILL_PRVREG): Likewise.
18679 (ILL_COPROC): Likewise.
18680 (ILL_BADSTK): Likewise.
18681 (FPE_INTDIV): Likewise.
18682 (FPE_INTOVF): Likewise.
18683 (FPE_FLTDIV): Likewise.
18684 (FPE_FLTOVF): Likewise.
18685 (FPE_FLTUND): Likewise.
18686 (FPE_FLTRES): Likewise.
18687 (FPE_FLTINV): Likewise.
18688 (FPE_FLTSUB): Likewise.
18689 (SEGV_MAPERR): Likewise.
18690 (SEGV_ACCERR): Likewise.
18691 (BUS_ADRALN): Likewise.
18692 (BUS_ADRERR): Likewise.
18693 (BUS_OBJERR): Likewise.
18694 (BUS_MCEERR_AR): Likewise.
18695 (BUS_MCEERR_AO): Likewise.
18696 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18697 (TRAP_TRACE): Likewise.
18698 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18699 __USE_XOPEN2K8].
18700 (CLD_KILLED): Likewise.
18701 (CLD_DUMPED): Likewise.
18702 (CLD_TRAPPED): Likewise.
18703 (CLD_STOPPED): Likewise.
18704 (CLD_CONTINUED): Likewise.
18705 (POLL_IN): Likewise.
18706 (POLL_OUT): Likewise.
18707 (POLL_MSG): Likewise.
18708 (POLL_ERR): Likewise.
18709 (POLL_PRI): Likewise.
18710 (POLL_HUP): Likewise.
18711 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
18712 (ILL_ILLOPN): Likewise.
18713 (ILL_ILLADR): Likewise.
18714 (ILL_ILLTRP): Likewise.
18715 (ILL_PRVOPC): Likewise.
18716 (ILL_PRVREG): Likewise.
18717 (ILL_COPROC): Likewise.
18718 (ILL_BADSTK): Likewise.
18719 (FPE_INTDIV): Likewise.
18720 (FPE_INTOVF): Likewise.
18721 (FPE_FLTDIV): Likewise.
18722 (FPE_FLTOVF): Likewise.
18723 (FPE_FLTUND): Likewise.
18724 (FPE_FLTRES): Likewise.
18725 (FPE_FLTINV): Likewise.
18726 (FPE_FLTSUB): Likewise.
18727 (SEGV_MAPERR): Likewise.
18728 (SEGV_ACCERR): Likewise.
18729 (BUS_ADRALN): Likewise.
18730 (BUS_ADRERR): Likewise.
18731 (BUS_OBJERR): Likewise.
18732 (BUS_MCEERR_AR): Likewise.
18733 (BUS_MCEERR_AO): Likewise.
18734 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18735 (TRAP_TRACE): Likewise.
18736 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18737 __USE_XOPEN2K8].
18738 (CLD_KILLED): Likewise.
18739 (CLD_DUMPED): Likewise.
18740 (CLD_TRAPPED): Likewise.
18741 (CLD_STOPPED): Likewise.
18742 (CLD_CONTINUED): Likewise.
18743 (POLL_IN): Likewise.
18744 (POLL_OUT): Likewise.
18745 (POLL_MSG): Likewise.
18746 (POLL_ERR): Likewise.
18747 (POLL_PRI): Likewise.
18748 (POLL_HUP): Likewise.
18749 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
18750 (ILL_ILLOPN): Likewise.
18751 (ILL_ILLADR): Likewise.
18752 (ILL_ILLTRP): Likewise.
18753 (ILL_PRVOPC): Likewise.
18754 (ILL_PRVREG): Likewise.
18755 (ILL_COPROC): Likewise.
18756 (ILL_BADSTK): Likewise.
18757 (FPE_INTDIV): Likewise.
18758 (FPE_INTOVF): Likewise.
18759 (FPE_FLTDIV): Likewise.
18760 (FPE_FLTOVF): Likewise.
18761 (FPE_FLTUND): Likewise.
18762 (FPE_FLTRES): Likewise.
18763 (FPE_FLTINV): Likewise.
18764 (FPE_FLTSUB): Likewise.
18765 (SEGV_MAPERR): Likewise.
18766 (SEGV_ACCERR): Likewise.
18767 (BUS_ADRALN): Likewise.
18768 (BUS_ADRERR): Likewise.
18769 (BUS_OBJERR): Likewise.
18770 (BUS_MCEERR_AR): Likewise.
18771 (BUS_MCEERR_AO): Likewise.
18772 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18773 (TRAP_TRACE): Likewise.
18774 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18775 __USE_XOPEN2K8].
18776 (CLD_KILLED): Likewise.
18777 (CLD_DUMPED): Likewise.
18778 (CLD_TRAPPED): Likewise.
18779 (CLD_STOPPED): Likewise.
18780 (CLD_CONTINUED): Likewise.
18781 (POLL_IN): Likewise.
18782 (POLL_OUT): Likewise.
18783 (POLL_MSG): Likewise.
18784 (POLL_ERR): Likewise.
18785 (POLL_PRI): Likewise.
18786 (POLL_HUP): Likewise.
18787 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
18788 (ILL_ILLOPN): Likewise.
18789 (ILL_ILLADR): Likewise.
18790 (ILL_ILLTRP): Likewise.
18791 (ILL_PRVOPC): Likewise.
18792 (ILL_PRVREG): Likewise.
18793 (ILL_COPROC): Likewise.
18794 (ILL_BADSTK): Likewise.
18795 (ILL_DBLFLT): Likewise.
18796 (ILL_HARDWALL): Likewise.
18797 (FPE_INTDIV): Likewise.
18798 (FPE_INTOVF): Likewise.
18799 (FPE_FLTDIV): Likewise.
18800 (FPE_FLTOVF): Likewise.
18801 (FPE_FLTUND): Likewise.
18802 (FPE_FLTRES): Likewise.
18803 (FPE_FLTINV): Likewise.
18804 (FPE_FLTSUB): Likewise.
18805 (SEGV_MAPERR): Likewise.
18806 (SEGV_ACCERR): Likewise.
18807 (BUS_ADRALN): Likewise.
18808 (BUS_ADRERR): Likewise.
18809 (BUS_OBJERR): Likewise.
18810 (BUS_MCEERR_AR): Likewise.
18811 (BUS_MCEERR_AO): Likewise.
18812 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18813 (TRAP_TRACE): Likewise.
18814 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18815 __USE_XOPEN2K8].
18816 (CLD_KILLED): Likewise.
18817 (CLD_DUMPED): Likewise.
18818 (CLD_TRAPPED): Likewise.
18819 (CLD_STOPPED): Likewise.
18820 (CLD_CONTINUED): Likewise.
18821 (POLL_IN): Likewise.
18822 (POLL_OUT): Likewise.
18823 (POLL_MSG): Likewise.
18824 (POLL_ERR): Likewise.
18825 (POLL_PRI): Likewise.
18826 (POLL_HUP): Likewise.
18827 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
18828 (ILL_ILLOPN): Likewise.
18829 (ILL_ILLADR): Likewise.
18830 (ILL_ILLTRP): Likewise.
18831 (ILL_PRVOPC): Likewise.
18832 (ILL_PRVREG): Likewise.
18833 (ILL_COPROC): Likewise.
18834 (ILL_BADSTK): Likewise.
18835 (FPE_INTDIV): Likewise.
18836 (FPE_INTOVF): Likewise.
18837 (FPE_FLTDIV): Likewise.
18838 (FPE_FLTOVF): Likewise.
18839 (FPE_FLTUND): Likewise.
18840 (FPE_FLTRES): Likewise.
18841 (FPE_FLTINV): Likewise.
18842 (FPE_FLTSUB): Likewise.
18843 (SEGV_MAPERR): Likewise.
18844 (SEGV_ACCERR): Likewise.
18845 (BUS_ADRALN): Likewise.
18846 (BUS_ADRERR): Likewise.
18847 (BUS_OBJERR): Likewise.
18848 (BUS_MCEERR_AR): Likewise.
18849 (BUS_MCEERR_AO): Likewise.
18850 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
18851 (TRAP_TRACE): Likewise.
18852 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
18853 __USE_XOPEN2K8].
18854 (CLD_KILLED): Likewise.
18855 (CLD_DUMPED): Likewise.
18856 (CLD_TRAPPED): Likewise.
18857 (CLD_STOPPED): Likewise.
18858 (CLD_CONTINUED): Likewise.
18859 (POLL_IN): Likewise.
18860 (POLL_OUT): Likewise.
18861 (POLL_MSG): Likewise.
18862 (POLL_ERR): Likewise.
18863 (POLL_PRI): Likewise.
18864 (POLL_HUP): Likewise.
18865 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
18866 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
18867
18868 [BZ #16670]
18869 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
18870 before #include of <time.h>.
18871 [!__USE_XOPEN2K] (__need_timespec): Likewise.
18872 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
18873 (test-xfail-UNIX98/sched.h/conform): Likewise.
18874
18875 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
18876
18877 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
18878 error absence of trapping exception support.
18879 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
18880
18881 2014-03-07 Joseph Myers <joseph@codesourcery.com>
18882
18883 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
18884 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
18885 * timezone/Makefile (testdata): Move definition above include of
18886 Rules.
18887 (test-zones): New variable.
18888 (tests-special): Add zone files.
18889 (build-testdata): Use $(evaluate-test).
18890
18891 * elf/Makefile (tests-special): Rename tests to end with .out.
18892 ($(objpfx)noload-mem): Likewise.
18893 ($(objpfx)tst-leaks1-mem): Likewise.
18894 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
18895 * iconv/Makefile (xtests-special): Change test-iconvconfig to
18896 $(objpfx)test-iconvconfig.out.
18897 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
18898 set -e inside subshell and redirect output to file.
18899 * iconvdata/Makefile (generated): Rename tests to end with .out.
18900 Correct type.
18901 (tests-special): Rename tests to end with .out.
18902 ($(objpfx)mtrace-tst-loading): Likewise.
18903 * intl/Makefile (generated): Likewise.
18904 (tests-special): Likewise.
18905 ($(objpfx)mtrace-tst-gettext): Likewise.
18906 * misc/Makefile (generated): Likewise.
18907 (tests-special): Likewise.
18908 ($(objpfx)tst-error1-mem): Likewise.
18909 * nptl/Makefile (tests-special): Likewise.
18910 ($(objpfx)tst-stack3-mem): Likewise.
18911 (generated): Likewise.
18912 * posix/Makefile (generated): Likewise.
18913 (tests-special): Likewise.
18914 (xtests-special): Likewise.
18915 ($(objpfx)tst-fnmatch-mem): Likewise.
18916 ($(objpfx)bug-regex2-mem): Likewise.
18917 ($(objpfx)bug-regex14-mem): Likewise.
18918 ($(objpfx)bug-regex21-mem): Likewise.
18919 ($(objpfx)bug-regex31-mem): Likewise.
18920 ($(objpfx)tst-vfork3-mem): Likewise.
18921 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18922 ($(objpfx)tst-pcre-mem): Likewise.
18923 ($(objpfx)tst-boost-mem): Likewise.
18924 ($(objpfx)bug-ga2-mem): Likewise.
18925 ($(objpfx)bug-glob2-mem): Likewise.
18926 * resolv/Makefile (generate): Likewise.
18927 (tests-special): Likewise.
18928 (xtests-special): Likewise.
18929 (generated): Likewise.
18930 ($(objpfx)mtrace-tst-leaks): Likewise.
18931 ($(objpfx)mtrace-tst-leaks2): Likewise.
18932
18933 * scripts/merge-test-results.sh: New file.
18934 * Makefile (tests-special-notdir): New variable.
18935 (tests): Run merge-test-results.sh.
18936 (xtests): Likewise.
18937 * Rules (tests-special-notdir): New variable.
18938 (xtests-special-notdir): Likewise.
18939 (tests): Run merge-test-results.sh
18940 (xtests): Likewise.
18941
18942 * Makeconfig (test-xfail-name): New variable.
18943 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
18944 compute variable name for expected failures.
18945 * conform/Makefile (conformtest-headers-data): New variable.
18946 (conformtest-standards): Likewise.
18947 (conformtest-headers-ISO): Likewise.
18948 (conformtest-headers-ISO99): Likewise.
18949 (conformtest-headers-ISO11): Likewise.
18950 (conformtest-headers-POSIX): Likewise.
18951 (conformtest-headers-XPG3): Likewise.
18952 (conformtest-headers-XPG4): Likewise.
18953 (conformtest-headers-UNIX98): Likewise.
18954 (conformtest-headers-XOPEN2K): Likewise.
18955 (conformtest-headers-POSIX2008): Likewise.
18956 (conformtest-headers-XOPEN2K8): Likewise.
18957 (conformtest-header-list-base): Likewise.
18958 (conformtest-header-list-tests): Likewise.
18959 (conformtest-header-base): Likewise.
18960 (conformtest-header-tests): Likewise.
18961 (tests-special): Add $(conformtest-header-list-tests). If
18962 [$(fast-check) && !$(cross-compiling)], add
18963 $(conformtest-header-tests) instead of
18964 $(objpfx)run-conformtest.out.
18965 (generated): Add $(conformtest-header-list-base). If
18966 [$(fast-check) && !$(cross-compiling)], add
18967 $(conformtest-header-base). Remove previous setting.
18968 ($(conformtest-header-list-tests)): New target.
18969 (test-xfail-run-conformtest): Remove variable.
18970 ($(objpfx)run-conformtest.out): Remove target.
18971 (test-xfail-ISO11/complex.h/conform): New variable.
18972 (test-xfail-ISO11/stdalign.h/conform): Likewise.
18973 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
18974 (test-xfail-XPG3/varargs.h/conform): Likewise.
18975 (test-xfail-XPG4/varargs.h/conform): Likewise.
18976 (test-xfail-UNIX98/varargs.h/conform): Likewise.
18977 (test-xfail-XPG4/ndbm.h/conform): Likewise.
18978 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
18979 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
18980 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
18981 (test-xfail-XPG3/fcntl.h/conform): Likewise.
18982 (test-xfail-XPG3/ftw.h/conform): Likewise.
18983 (test-xfail-XPG3/grp.h/conform): Likewise.
18984 (test-xfail-XPG3/langinfo.h/conform): Likewise.
18985 (test-xfail-XPG3/limits.h/conform): Likewise.
18986 (test-xfail-XPG3/pwd.h/conform): Likewise.
18987 (test-xfail-XPG3/search.h/conform): Likewise.
18988 (test-xfail-XPG3/signal.h/conform): Likewise.
18989 (test-xfail-XPG3/stdio.h/conform): Likewise.
18990 (test-xfail-XPG3/stdlib.h/conform): Likewise.
18991 (test-xfail-XPG3/string.h/conform): Likewise.
18992 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
18993 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
18994 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18995 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18996 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
18997 (test-xfail-XPG3/sys/types.h/conform): Likewise.
18998 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
18999 (test-xfail-XPG3/termios.h/conform): Likewise.
19000 (test-xfail-XPG3/time.h/conform): Likewise.
19001 (test-xfail-XPG3/unistd.h/conform): Likewise.
19002 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
19003 (test-xfail-XPG4/fcntl.h/conform): Likewise.
19004 (test-xfail-XPG4/langinfo.h/conform): Likewise.
19005 (test-xfail-XPG4/netdb.h/conform): Likewise.
19006 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
19007 (test-xfail-XPG4/signal.h/conform): Likewise.
19008 (test-xfail-XPG4/stdio.h/conform): Likewise.
19009 (test-xfail-XPG4/stdlib.h/conform): Likewise.
19010 (test-xfail-XPG4/stropts.h/conform): Likewise.
19011 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19012 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19013 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19014 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19015 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19016 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
19017 (test-xfail-XPG4/sys/time.h/conform): Likewise.
19018 (test-xfail-XPG4/sys/types.h/conform): Likewise.
19019 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
19020 (test-xfail-XPG4/termios.h/conform): Likewise.
19021 (test-xfail-XPG4/ucontext.h/conform): Likewise.
19022 (test-xfail-XPG4/unistd.h/conform): Likewise.
19023 (test-xfail-XPG4/utmpx.h/conform): Likewise.
19024 (test-xfail-POSIX/sched.h/conform): Likewise.
19025 (test-xfail-POSIX/signal.h/conform): Likewise.
19026 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19027 (test-xfail-POSIX/tar.h/conform): Likewise.
19028 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
19029 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
19030 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19031 (test-xfail-UNIX98/netdb.h/conform): Likewise.
19032 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
19033 (test-xfail-UNIX98/sched.h/conform): Likewise.
19034 (test-xfail-UNIX98/signal.h/conform): Likewise.
19035 (test-xfail-UNIX98/stdio.h/conform): Likewise.
19036 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19037 (test-xfail-UNIX98/stropts.h/conform): Likewise.
19038 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19039 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19040 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19041 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19042 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19043 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19044 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
19045 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
19046 (test-xfail-UNIX98/unistd.h/conform): Likewise.
19047 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19048 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
19049 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
19050 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19051 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
19052 (test-xfail-XOPEN2K/math.h/conform): Likewise.
19053 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19054 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19055 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19056 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
19057 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
19058 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
19059 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
19060 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19061 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19062 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19063 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19064 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19065 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19066 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
19067 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
19068 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
19069 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
19070 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19071 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
19072 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19073 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
19074 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
19075 (test-xfail-POSIX2008/signal.h/conform): Likewise.
19076 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19077 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
19078 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
19079 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19080 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19081 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
19082 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
19083 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19084 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19085 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
19086 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
19087 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19088 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19089 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19090 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
19091 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19092 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19093 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19094 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19095 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
19096 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19097 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
19098 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
19099 (conformtest-cc-flags): Likewise.
19100 ($(conformtest-header-tests): New target.
19101 * conform/check-header-lists.sh: New file.
19102 * conform/run-conformtest.sh: Remove.
19103
19104 * conform/conformtest.pl: Allow ' and \ in values given for
19105 constants.
19106 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
19107 inclusion.
19108 [POSIX] (sys/types.h): Likewise.
19109 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
19110 inclusion.
19111 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
19112 inclusion.
19113 * conform/data/signal.h-data (SIGIO): Remove expectation.
19114 [XPG3] (SIGBUS): Do not expect.
19115 [POSIX || XPG3] (SIGPOLL): Likewise.
19116 [POSIX || XPG3] (SIGPROF): Likewise.
19117 [POSIX || XPG3] (SIGSYS): Likewise.
19118 [XPG3] (SIGTRAP): Likewise.
19119 [POSIX || XPG3] (SIGURG): Likewise.
19120 [POSIX || XPG3] (SIGVTALRM): Likewise.
19121 [POSIX || XPG3] (SIGXCPU): Likewise.
19122 [POSIX || XPG3] (SIGXFSZ): Likewise.
19123 [POSIX] (SA_SIGINFO): Expect.
19124 [XPG3] (siginfo_t): Do not expect type or contents.
19125 [POSIX] (si_pid): Do not expect element.
19126 [POSIX] (si_uid): Likewise.
19127 [POSIX] (si_addr): Likewise.
19128 [POSIX] (si_status): Likewise.
19129 [POSIX] (si_band): Likewise.
19130 [XPG4] (si_value): Likewise.
19131 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
19132 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
19133 [POSIX || XPG3] (ILL_ILLADR): Likewise.
19134 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
19135 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
19136 [POSIX || XPG3] (ILL_PRVREG): Likewise.
19137 [POSIX || XPG3] (ILL_COPROC): Likewise.
19138 [POSIX || XPG3] (ILL_BADSTK): Likewise.
19139 [POSIX || XPG3] (FPE_INTDIV): Likewise.
19140 [POSIX || XPG3] (FPE_INTOVF): Likewise.
19141 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
19142 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
19143 [POSIX || XPG3] (FPE_FLTUND): Likewise.
19144 [POSIX || XPG3] (FPE_FLTRES): Likewise.
19145 [POSIX || XPG3] (FPE_FLTINV): Likewise.
19146 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
19147 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
19148 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
19149 [POSIX || XPG3] (BUS_ADRALN): Likewise.
19150 [POSIX || XPG3] (BUS_ADRERR): Likewise.
19151 [POSIX || XPG3] (BUS_OBJERR): Likewise.
19152 [POSIX || XPG3] (CLD_EXITED): Likewise.
19153 [POSIX || XPG3] (CLD_KILLED): Likewise.
19154 [POSIX || XPG3] (CLD_DUMPED): Likewise.
19155 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
19156 [POSIX || XPG3] (CLD_STOPPED): Likewise.
19157 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
19158 [POSIX || XPG3] (POLL_IN): Likewise.
19159 [POSIX || XPG3] (POLL_OUT): Likewise.
19160 [POSIX || XPG3] (POLL_MSG): Likewise.
19161 [POSIX || XPG3] (POLL_ERR): Likewise.
19162 [POSIX || XPG3] (POLL_PRI): Likewise.
19163 [POSIX || XPG3] (POLL_HUP): Likewise.
19164 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
19165 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
19166 (SIG*): Do not allow.
19167 [XPG3] (si_*): Likewise.
19168 [XPG3] (SI_*): Likewise.
19169 [XPG3 || XPG4] (sigev_*): Likewise.
19170 [XPG3 || XPG4] (SIGEV_*): Likewise.
19171 [XPG3 || XPG4] (sival_*): Likewise.
19172 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
19173 [POSIX || XPG3] (BUS_*): Likewise.
19174 [POSIX || XPG3] (CLD_*): Likewise.
19175 [POSIX || XPG3] (FPE_*): Likewise.
19176 [POSIX || XPG3] (ILL_*): Likewise.
19177 [POSIX || XPG3] (POLL_*): Likewise.
19178 [POSIX || XPG3] (SEGV_*): Likewise.
19179 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
19180 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
19181 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
19182 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
19183 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
19184 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
19185 Specify type and value.
19186 (TVERSLEN): Likewise.
19187 (REGTYPE): Likewise.
19188 (AREGTYPE): Likewise.
19189 (LNKTYPE): Likewise.
19190 (SYMTYPE): Likewise.
19191 (CHRTYPE): Likewise.
19192 (BLKTYPE): Likewise.
19193 (DIRTYPE): Likewise.
19194 (FIFOTYPE): Likewise.
19195 (CONTTYPE): Likewise.
19196 (TSUID): Likewise.
19197 (TSGID): Likewise.
19198 (TSVTX): Likewise.
19199 (TUREAD): Likewise.
19200 (TUWRITE): Likewise.
19201 (TUEXEC): Likewise.
19202 (TGREAD): Likewise.
19203 (TGWRITE): Likewise.
19204 (TGEXEC): Likewise.
19205 (TOREAD): Likewise.
19206 (TOWRITE): Likewise.
19207 (TOEXEC): Likewise.
19208 [POSIX] (TSVTX): Expect constant.
19209
19210 2014-03-06 Joseph Myers <joseph@codesourcery.com>
19211
19212 * Makefile (tests): Change dependencies to ....
19213 (tests-special): ... additions to this variable.
19214 (tests): Depend on $(tests-special).
19215 * Makerules (check-abi-list): New variable.
19216 (check-abi): Depend on $(check-abi-list).
19217 [$(subdir) = elf] (tests-special): Add
19218 $(objpfx)check-abi-libc.out.
19219 [$(build-shared) = yes && subdir] (tests-special): Add
19220 $(check-abi-list).
19221 [$(build-shared) = yes && subdir] (tests): Do not depend on
19222 check-abi.
19223 * Rules (tests): Depend on $(tests-special).
19224 (xtests): Depend on $(xtests-special).
19225 * catgets/Makefile (tests): Change dependencies to ....
19226 (tests-special): ... additions to this variable.
19227 * conform/Makefile (tests): Change dependencies to ....
19228 (tests-special): ... additions to this variable.
19229 * elf/Makefile (tests): Change dependencies to ....
19230 (tests-special): ... additions to this variable.
19231 * grp/Makefile (tests): Change dependencies to ....
19232 (tests-special): ... additions to this variable.
19233 * iconv/Makefile (xtests): Change dependencies to ....
19234 (xtests-special): ... additions to this variable.
19235 * iconvdata/Makefile (tests): Change dependencies to ....
19236 (tests-special): ... additions to this variable.
19237 * intl/Makefile (tests): Change dependencies to ....
19238 (tests-special): ... additions to this variable. Also add
19239 $(objpfx)tst-gettext.out.
19240 * io/Makefile (tests): Change dependencies to ....
19241 (tests-special): ... additions to this variable.
19242 * libio/Makefile (tests): Change dependencies to ....
19243 (tests-special): ... additions to this variable.
19244 * malloc/Makefile (tests): Change dependencies to ....
19245 (tests-special): ... additions to this variable.
19246 * misc/Makefile (tests): Change dependencies to ....
19247 (tests-special): ... additions to this variable.
19248 * nptl/Makefile (tests): Change dependencies to ....
19249 (tests-special): ... additions to this variable.
19250 * nptl_db/Makefile (tests): Change dependencies to ....
19251 (tests-special): ... additions to this variable.
19252 * posix/Makefile (tests): Change dependencies to ....
19253 (tests-special): ... additions to this variable.
19254 (xtests): Change dependencies to ....
19255 (xtests-special): ... additions to this variable.
19256 * resolv/Makefile (tests): Change dependencies to ....
19257 (tests-special): ... additions to this variable.
19258 (xtests): Change dependencies to ....
19259 (xtests-special): ... additions to this variable.
19260 * stdio-common/Makefile (tests): Change dependencies to ....
19261 (tests-special): ... additions to this variable.
19262 (do-tst-unbputc): Remove target.
19263 (do-tst-printf): Likewise.
19264 * stdlib/Makefile (tests): Change dependencies to ....
19265 (tests-special): ... additions to this variable.
19266 * string/Makefile (tests): Change dependencies to ....
19267 (tests-special): ... additions to this variable.
19268 * sysdeps/x86/Makefile (tests): Change dependencies to ....
19269 (tests-special): ... additions to this variable.
19270
19271 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
19272 whole file.
19273 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
19274 whole file.
19275 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
19276 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
19277
19278 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
19279 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
19280 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
19281 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
19282 * conform/data/libgen.h-data [XPG3]: Likewise.
19283 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
19284 * conform/data/ndbm.h-data [XPG3]: Likewise.
19285 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19286 * conform/data/netdb.h-data [XPG3]: Likewise.
19287 * conform/data/netinet/in.h-data [XPG3]: Likewise.
19288 * conform/data/poll.h-data [XPG3]: Likewise.
19289 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
19290 * conform/data/strings.h-data [XPG3]: Likewise.
19291 * conform/data/stropts.h-data [XPG3]: Likewise.
19292 * conform/data/sys/mman.h-data [XPG3]: Likewise.
19293 * conform/data/sys/resource.h-data [XPG3]: Likewise.
19294 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
19295 Likewise.
19296 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
19297 * conform/data/sys/time.h-data [XPG3]: Likewise.
19298 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
19299 * conform/data/sys/uio.h-data [XPG3]: Likewise.
19300 * conform/data/sys/un.h-data [XPG3]: Likewise.
19301 * conform/data/syslog.h-data [XPG3]: Likewise.
19302 * conform/data/ucontext.h-data [XPG3]: Likewise.
19303 * conform/data/utmpx.h-data [XPG3]: Likewise.
19304 * conform/data/varargs.h-data [UNIX98]: Enable file.
19305
19306 * manual/Makefile (INSTALL_INFO): Remove variable setting.
19307
19308 * math/libm-test.inc (struct test_f_f_data): Move expected results
19309 into structure for each rounding mode.
19310 (struct test_ff_f_data): Likewise.
19311 (struct test_ff_f_data_nexttoward): Likewise.
19312 (struct test_fi_f_data): Likewise.
19313 (struct test_fl_f_data): Likewise.
19314 (struct test_if_f_data): Likewise.
19315 (struct test_fff_f_data): Likewise.
19316 (struct test_c_f_data): Likewise.
19317 (struct test_f_f1_data): Likewise.
19318 (struct test_fF_f1_data): Likewise.
19319 (struct test_ffI_f1_data): Likewise.
19320 (struct test_c_c_data): Likewise.
19321 (struct test_cc_c_data): Likewise.
19322 (struct test_f_i_data): Likewise.
19323 (struct test_ff_i_data): Likewise.
19324 (struct test_f_l_data): Likewise.
19325 (struct test_f_L_data): Likewise.
19326 (struct test_fFF_11_data): Likewise.
19327 (RM_): New macro.
19328 (RM_FE_DOWNWARD): Likewise.
19329 (RM_FE_TONEAREST): Likewise.
19330 (RM_FE_TOWARDZERO): Likewise.
19331 (RM_FE_UPWARD): Likewise.
19332 (RUN_TEST_LOOP_f_f): Update references to expected results.
19333 (RUN_TEST_LOOP_2_f): Likewise.
19334 (RUN_TEST_LOOP_fff_f): Likewise.
19335 (RUN_TEST_LOOP_c_f): Likewise.
19336 (RUN_TEST_LOOP_f_f1): Likewise.
19337 (RUN_TEST_LOOP_fF_f1): Likewise.
19338 (RUN_TEST_LOOP_fI_f1): Likewise.
19339 (RUN_TEST_LOOP_ffI_f1): Likewise.
19340 (RUN_TEST_LOOP_c_c): Likewise.
19341 (RUN_TEST_LOOP_cc_c): Likewise.
19342 (RUN_TEST_LOOP_f_i): Likewise.
19343 (RUN_TEST_LOOP_f_i_tg): Likewise.
19344 (RUN_TEST_LOOP_ff_i_tg): Likewise.
19345 (RUN_TEST_LOOP_f_b): Likewise.
19346 (RUN_TEST_LOOP_f_b_tg): Likewise.
19347 (RUN_TEST_LOOP_f_l): Likewise.
19348 (RUN_TEST_LOOP_f_L): Likewise.
19349 (RUN_TEST_LOOP_fFF_11): Likewise.
19350 * math/gen-libm-test.pl (parse_args): Output four copies of
19351 expected results for each test.
19352
19353 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
19354 (__ASSUME_UTIMES): Remove.
19355 * sysdeps/unix/sysv/linux/tile/kernel-features.h
19356 (__ASSUME_UTIMES): Likewise.
19357
19358 * math/gen-auto-libm-tests.c: Update comment on output format.
19359 (output_for_one_input_case): Generate before-rounding and
19360 after-rounding information as conditions on output flags not
19361 floating-point format.
19362 * math/auto-libm-test-out: Regenerated.
19363 * math/gen-libm-test.pl (cond_value): New function.
19364 (or_cond_value): Use cond_value.
19365 (generate_testfile): Handle conditional exceptions.
19366
19367 2014-03-05 Joseph Myers <joseph@codesourcery.com>
19368
19369 * math/libm-test.inc (max_valid_error): New variable.
19370 (init_max_error): Take new argument specifying whether function
19371 results are exactly determined. Set max_valid_error and bound
19372 other variables for errors based on this argument.
19373 (set_max_error): Do not record results above max_valid_error.
19374 (check_float_internal): Only accept errors of up to 0.5ulps if
19375 also at most max_valid_error.
19376 (START): Take new argument EXACT and pass it to init_max_error.
19377 (acos_test): Update call to START.
19378 (acos_test_tonearest): Likewise.
19379 (acos_test_towardzero): Likewise.
19380 (acos_test_downward): Likewise.
19381 (acos_test_upward): Likewise.
19382 (acosh_test): Likewise.
19383 (asin_test): Likewise.
19384 (asin_test_tonearest): Likewise.
19385 (asin_test_towardzero): Likewise.
19386 (asin_test_downward): Likewise.
19387 (asin_test_upward): Likewise.
19388 (asinh_test): Likewise.
19389 (atan_test): Likewise.
19390 (atanh_test): Likewise.
19391 (atan2_test): Likewise.
19392 (cabs_test): Likewise.
19393 (cacos_test): Likewise.
19394 (cacosh_test): Likewise.
19395 (carg_test): Likewise.
19396 (casin_test): Likewise.
19397 (casinh_test): Likewise.
19398 (catan_test): Likewise.
19399 (catanh_test): Likewise.
19400 (cbrt_test): Likewise.
19401 (ccos_test): Likewise.
19402 (ccosh_test): Likewise.
19403 (ceil_test): Likewise.
19404 (cexp_test): Likewise.
19405 (cimag_test): Likewise.
19406 (clog_test): Likewise.
19407 (clog10_test): Likewise.
19408 (conj_test): Likewise.
19409 (copysign_test): Likewise.
19410 (cos_test): Likewise.
19411 (cos_test_tonearest): Likewise.
19412 (cos_test_towardzero): Likewise.
19413 (cos_test_downward): Likewise.
19414 (cos_test_upward): Likewise.
19415 (cosh_test): Likewise.
19416 (cosh_test_tonearest): Likewise.
19417 (cosh_test_towardzero): Likewise.
19418 (cosh_test_downward): Likewise.
19419 (cosh_test_upward): Likewise.
19420 (cpow_test): Likewise.
19421 (cproj_test): Likewise.
19422 (creal_test): Likewise.
19423 (csin_test): Likewise.
19424 (csinh_test): Likewise.
19425 (csqrt_test): Likewise.
19426 (ctan_test): Likewise.
19427 (ctan_test_tonearest): Likewise.
19428 (ctan_test_towardzero): Likewise.
19429 (ctan_test_downward): Likewise.
19430 (ctan_test_upward): Likewise.
19431 (ctanh_test): Likewise.
19432 (ctanh_test_tonearest): Likewise.
19433 (ctanh_test_towardzero): Likewise.
19434 (ctanh_test_downward): Likewise.
19435 (ctanh_test_upward): Likewise.
19436 (erf_test): Likewise.
19437 (erfc_test): Likewise.
19438 (exp_test): Likewise.
19439 (exp_test_tonearest): Likewise.
19440 (exp_test_towardzero): Likewise.
19441 (exp_test_downward): Likewise.
19442 (exp_test_upward): Likewise.
19443 (exp10_test): Likewise.
19444 (exp10_test_tonearest): Likewise.
19445 (exp10_test_towardzero): Likewise.
19446 (exp10_test_downward): Likewise.
19447 (exp10_test_upward): Likewise.
19448 (pow10_test): Likewise.
19449 (exp2_test): Likewise.
19450 (expm1_test): Likewise.
19451 (expm1_test_tonearest): Likewise.
19452 (expm1_test_towardzero): Likewise.
19453 (expm1_test_downward): Likewise.
19454 (expm1_test_upward): Likewise.
19455 (fabs_test): Likewise.
19456 (fdim_test): Likewise.
19457 (floor_test): Likewise.
19458 (fma_test): Likewise.
19459 (fma_test_towardzero): Likewise.
19460 (fma_test_downward): Likewise.
19461 (fma_test_upward): Likewise.
19462 (fmax_test): Likewise.
19463 (fmin_test): Likewise.
19464 (fmod_test): Likewise.
19465 (fpclassify_test): Likewise.
19466 (frexp_test): Likewise.
19467 (hypot_test): Likewise.
19468 (ilogb_test): Likewise.
19469 (isfinite_test): Likewise.
19470 (finite_test): Likewise.
19471 (isgreater_test): Likewise.
19472 (isgreaterequal_test): Likewise.
19473 (isinf_test): Likewise.
19474 (isless_test): Likewise.
19475 (islessequal_test): Likewise.
19476 (islessgreater_test): Likewise.
19477 (isnan_test): Likewise.
19478 (isnormal_test): Likewise.
19479 (issignaling_test): Likewise.
19480 (isunordered_test): Likewise.
19481 (j0_test): Likewise.
19482 (j1_test): Likewise.
19483 (jn_test): Likewise.
19484 (ldexp_test): Likewise.
19485 (lgamma_test): Likewise.
19486 (gamma_test): Likewise.
19487 (lrint_test): Likewise.
19488 (lrint_test_tonearest): Likewise.
19489 (lrint_test_towardzero): Likewise.
19490 (lrint_test_downward): Likewise.
19491 (lrint_test_upward): Likewise.
19492 (llrint_test): Likewise.
19493 (llrint_test_tonearest): Likewise.
19494 (llrint_test_towardzero): Likewise.
19495 (llrint_test_downward): Likewise.
19496 (llrint_test_upward): Likewise.
19497 (log_test): Likewise.
19498 (log10_test): Likewise.
19499 (log1p_test): Likewise.
19500 (log2_test): Likewise.
19501 (logb_test): Likewise.
19502 (logb_test_downward): Likewise.
19503 (lround_test): Likewise.
19504 (llround_test): Likewise.
19505 (modf_test): Likewise.
19506 (nearbyint_test): Likewise.
19507 (nextafter_test): Likewise.
19508 (nexttoward_test): Likewise.
19509 (pow_test): Likewise.
19510 (pow_test_tonearest): Likewise.
19511 (pow_test_towardzero): Likewise.
19512 (pow_test_downward): Likewise.
19513 (pow_test_upward): Likewise.
19514 (remainder_test): Likewise.
19515 (drem_test): Likewise.
19516 (remainder_test_tonearest): Likewise.
19517 (drem_test_tonearest): Likewise.
19518 (remainder_test_towardzero): Likewise.
19519 (drem_test_towardzero): Likewise.
19520 (remainder_test_downward): Likewise.
19521 (drem_test_downward): Likewise.
19522 (remainder_test_upward): Likewise.
19523 (drem_test_upward): Likewise.
19524 (remquo_test): Likewise.
19525 (rint_test): Likewise.
19526 (rint_test_tonearest): Likewise.
19527 (rint_test_towardzero): Likewise.
19528 (rint_test_downward): Likewise.
19529 (rint_test_upward): Likewise.
19530 (round_test): Likewise.
19531 (scalb_test): Likewise.
19532 (scalbn_test): Likewise.
19533 (scalbln_test): Likewise.
19534 (signbit_test): Likewise.
19535 (sin_test): Likewise.
19536 (sin_test_tonearest): Likewise.
19537 (sin_test_towardzero): Likewise.
19538 (sin_test_downward): Likewise.
19539 (sin_test_upward): Likewise.
19540 (sincos_test): Likewise.
19541 (sinh_test): Likewise.
19542 (sinh_test_tonearest): Likewise.
19543 (sinh_test_towardzero): Likewise.
19544 (sinh_test_downward): Likewise.
19545 (sinh_test_upward): Likewise.
19546 (sqrt_test): Likewise.
19547 (sqrt_test_tonearest): Likewise.
19548 (sqrt_test_towardzero): Likewise.
19549 (sqrt_test_downward): Likewise.
19550 (sqrt_test_upward): Likewise.
19551 (tan_test): Likewise.
19552 (tan_test_tonearest): Likewise.
19553 (tan_test_towardzero): Likewise.
19554 (tan_test_downward): Likewise.
19555 (tan_test_upward): Likewise.
19556 (tanh_test): Likewise.
19557 (tgamma_test): Likewise.
19558 (trunc_test): Likewise.
19559 (y0_test): Likewise.
19560 (y1_test): Likewise.
19561 (yn_test): Likewise.
19562 (significand_test): Likewise.
19563
19564 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
19565 individual tests in comment.
19566 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
19567 (prev_max_error): New variable.
19568 (prev_real_max_error): Likewise.
19569 (prev_imag_max_error): Likewise.
19570 (compare_ulp_data): Don't refer to test names in comment.
19571 (find_test_ulps): Remove function.
19572 (find_function_ulps): Likewise.
19573 (find_complex_function_ulps): Likewise.
19574 (init_max_error): Take function name as argument. Look up ulps
19575 for that function.
19576 (print_ulps): Remove function.
19577 (print_max_error): Use prev_max_error instead of calling
19578 find_function_ulps.
19579 (print_complex_max_error): Use prev_real_max_error and
19580 prev_imag_max_error instead of calling find_complex_function_ulps.
19581 (check_float_internal): Take max_ulp parameter instead of calling
19582 find_test_ulps. Don't call print_ulps.
19583 (check_float): Update call to check_float_internal.
19584 (check_complex): Update calls to check_float_internal.
19585 (START): Pass argument to init_max_error.
19586 * math/gen-libm-test.pl (%results): Don't include "kind"
19587 information.
19588 (parse_ulps): Don't handle ulps of individual tests.
19589 (print_ulps_file): Likewise.
19590 (output_ulps): Likewise.
19591 * math/README.libm-test: Update.
19592 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
19593 individual tests.
19594 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
19595 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
19596 * sysdeps/arm/libm-test-ulps: Likewise.
19597 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
19598 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
19599 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
19600 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
19601 * sysdeps/microblaze/libm-test-ulps: Likewise.
19602 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
19603 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19604 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19605 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
19606 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19607 * sysdeps/sh/libm-test-ulps: Likewise.
19608 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19609 * sysdeps/tile/libm-test-ulps: Likewise.
19610 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19611
19612 2014-03-04 Joseph Myers <joseph@codesourcery.com>
19613
19614 * math/libm-test.inc (print_complex_max_error): Check separately
19615 whether real and imaginary errors are within allowed range and
19616 pass 0 to print_complex_function_ulps instead of value within
19617 allowed range.
19618
19619 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19620
19621 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
19622 formatting.
19623 (get_handles_fopen): Likewise.
19624 (do_write_test): Likewise.
19625
19626 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
19627
19628 * libio/fileops.c (do_ftell): Use cached offset when
19629 available.
19630 * libio/iofwide.c (do_ftell_wide): Likewise.
19631 * libio/iofdopen.c (_IO_new_fdopen): Don't use
19632 _IO_file_attach.
19633 * libio/wfileops.c (_IO_fwide): Don't cache offset.
19634
19635 [BZ #16532]
19636 * libio/libioP.h (get_file_offset): New function.
19637 * libio/fileops.c (get_file_offset): Likewise.
19638 (do_ftell): Likewise.
19639 (_IO_new_file_seekoff): Split out ftell logic.
19640 * libio/wfileops.c (do_ftell_wide): Likewise.
19641 (_IO_wfile_seekoff): Split out ftell logic.
19642 * libio/tst-ftell-active-handler.c: New test case.
19643 * libio/Makefile (tests): Add it.
19644
19645 2014-03-03 Roland McGrath <roland@hack.frob.com>
19646
19647 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
19648 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
19649
19650 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19651
19652 [BZ #16639]
19653 * nscd/connections.c (nscd_init): Call do_exit.
19654 (start_threads): Call do_exit and notify_parent.
19655 (begin_drop_privileges): Call do_exit.
19656 (finish_drop_privileges): Likewise.
19657 * nscd/selinux.c (preserve_capabilities): Likewise.
19658 (install_real_capabilities): Likewise.
19659 (nscd_selinux_enabled): Likewise.
19660 (avc_create_thread): Likewise.
19661 (avc_alloc_lock): Likewise.
19662 (nscd_avc_init): Likewise.
19663 * nscd/nscd.c (parent_fd): New static variable.
19664 (main): Create a pipe between parent and child processes.
19665 Skip closing parent_fd.
19666 (monitor_child): New function.
19667 (do_exit): Likewise.
19668 (notify_parent): Likewise.
19669 * nscd/nscd.h (notify_parent): Likewise.
19670 (do_exit): Likewise.
19671
19672 2014-03-03 Carlos O'Donell <carlos@redhat.com>
19673
19674 * malloc/malloc.c (__libc_calloc): Revert last change.
19675
19676 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19677
19678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19679
19680 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19681
19682 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
19683 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
19684 implementation.
19685 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19686 (__libc_ifunc_impl_list): Likewise.
19687 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
19688 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
19689 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
19690 * string/strrchr.c: Define STRRCHR.
19691
19692 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
19693
19694 * benchtest/bench-strtok.c (simple_strtok): Delete.
19695 (strtok_string): Use as benchmark.
19696 * string/strtok (STRTOK): New macro.
19697
19698 2014-02-28 Carlos O'Donell <carlos@redhat.com>
19699
19700 * manual/threads.texi: Add header and standard comments to all
19701 functions.
19702
19703 * elf/dl-lookup.c (check_match): New function.
19704 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
19705 (do_lookup_x): Remove nested function check_match. Use non-nested
19706 function check_match.
19707
19708 2014-02-28 Roland McGrath <roland@hack.frob.com>
19709
19710 * csu/Makefile (generated, before-compile): Use += rather than =.
19711 * catgets/Makefile (generated, generated-dirs): Likewise.
19712 * debug/Makefile (generated): Likewise.
19713 * dlfcn/Makefile (generated): Likewise.
19714 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
19715 * iconvdata/Makefile (before-compile, generated): Likewise.
19716 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
19717 * libio/Makefile (generated): Likewise.
19718 * malloc/Makefile (generated): Likewise.
19719 * manual/Makefile (generated, generated-dirs): Likewise.
19720 * misc/Makefile (generated): Likewise.
19721 * posix/Makefile (generated): Likewise.
19722 * resolv/Makefile (generated): Likewise.
19723 * sunrpc/Makefile (generated, generated-dirs): Likewise.
19724 * timezone/Makefile (generated, generated-dirs): Likewise.
19725
19726 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
19727
19728 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19729
19730 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19731 power8 implementation.
19732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
19733 file: POWER8 llround ifunc implementation.
19734 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
19735 (__lllround): Add POWER8 implementation.
19736 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
19737 POWER8 llround implementation.
19738
19739 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
19740 power8 implementation.
19741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
19742 file: POWER8 llrint ifunc implementation.
19743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
19744 Add POWER8 implementation.
19745 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
19746 POWER8 llrint implementation.
19747
19748 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
19749 power8 implementation.
19750 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
19751 file: POWER8 finite ifunc implementation.
19752 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
19753 Add POWER8 implementation.
19754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
19755 Likewise.
19756 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
19757 POWER8 finite implementation.
19758 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
19759
19760 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
19761 power8 implementation.
19762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
19763 file: POWER8 isinf ifunc implementation.
19764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
19765 POWER8 implementation.
19766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
19767 Likewise.
19768 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
19769 isinf implementation.
19770 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
19771
19772 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
19773 (INIT_ARCH): Add hwcap2 initialization.
19774 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19775 power8 implementation.
19776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
19777 file: POWER8 isnan ifunc implementation.
19778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
19779 POWER8 implementation.
19780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
19781 Likewise.
19782 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
19783 isnan implementation.
19784 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
19785
19786 2014-02-27 Joey Ye <joey.ye@arm.com>
19787
19788 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
19789 (_FP_NANFRAC_Q): Set to zero.
19790
19791 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19792
19793 [BZ #16623]
19794 * math/auto-libm-test-in: New test inputs.
19795 * math/auto-libm-test-out: Regenerate.
19796 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
19797 and DA.
19798 (__cos): Likewise.
19799 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19800
19801 2014-02-27 Joseph Myers <joseph@codesourcery.com>
19802
19803 * scripts/evaluate-test.sh: Take new argument indicating whether
19804 failure is expected.
19805 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
19806 indicating whether failure is expected.
19807 * conform/Makefile (test-xfail-run-conformtest): New variable.
19808 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
19809 level.
19810 * posix/Makefile (test-xfail-annexc): New variable.
19811 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
19812
19813 2014-02-26 Joseph Myers <joseph@codesourcery.com>
19814
19815 * argp/Makefile: Include Makeconfig immediately after defining
19816 subdir.
19817 * assert/Makefile: Likewise.
19818 * benchtests/Makefile: Likewise.
19819 * catgets/Makefile: Likewise.
19820 * conform/Makefile: Likewise.
19821 * crypt/Makefile: Likewise.
19822 * csu/Makefile: Likewise.
19823 (all): Remove target.
19824 * ctype/Makefile: Include Makeconfig immediately after defining
19825 subdir.
19826 * debug/Makefile: Likewise.
19827 * dirent/Makefile: Likewise.
19828 * dlfcn/Makefile: Likewise.
19829 * gmon/Makefile: Likewise.
19830 * gnulib/Makefile: Likewise.
19831 * grp/Makefile: Likewise.
19832 * gshadow/Makefile: Likewise.
19833 * hesiod/Makefile: Likewise.
19834 * hurd/Makefile: Likewise.
19835 (all): Remove target.
19836 * iconvdata/Makefile: Include Makeconfig immediately after
19837 defining subdir.
19838 * inet/Makefile: Likewise.
19839 * intl/Makefile: Likewise.
19840 * io/Makefile: Likewise.
19841 * libio/Makefile: Likewise.
19842 (all): Remove target.
19843 * locale/Makefile: Include Makeconfig immediately after defining
19844 subdir.
19845 * login/Makefile: Likewise.
19846 * mach/Makefile: Likewise.
19847 (all): Remove target.
19848 * malloc/Makefile: Include Makeconfig immediately after defining
19849 subdir.
19850 (all): Remove target.
19851 * manual/Makefile: Include Makeconfig immediately after defining
19852 subdir.
19853 * math/Makefile: Likewise.
19854 * misc/Makefile: Likewise.
19855 * nis/Makefile: Likewise.
19856 * nss/Makefile: Likewise.
19857 * po/Makefile: Likewise.
19858 (all): Remove target.
19859 * posix/Makefile: Include Makeconfig immediately after defining
19860 subdir.
19861 * pwd/Makefile: Likewise.
19862 * resolv/Makefile: Likewise.
19863 * resource/Makefile: Likewise.
19864 * rt/Makefile: Likewise.
19865 * setjmp/Makefile: Likewise.
19866 * shadow/Makefile: Likewise.
19867 * signal/Makefile: Likewise.
19868 * socket/Makefile: Likewise.
19869 * soft-fp/Makefile: Likewise.
19870 * stdio-common/Makefile: Likewise.
19871 * stdlib/Makefile: Likewise.
19872 * streams/Makefile: Likewise.
19873 * string/Makefile: Likewise.
19874 * sunrpc/Makefile: Likewise.
19875 (all): Remove target.
19876 * sysvipc/Makefile: Include Makeconfig immediately after defining
19877 subdir.
19878 * termios/Makefile: Likewise.
19879 * time/Makefile: Likewise.
19880 * timezone/Makefile: Likewise.
19881 (all): Remove target.
19882 * wcsmbs/Makefile: Include Makeconfig immediately after defining
19883 subdir.
19884 * wctype/Makefile: Likewise.
19885
19886 2014-02-26 Steve Ellcey <sellcey@mips.com>
19887
19888 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
19889 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
19890 (libc_feholdexcept_setround_mips): Ditto.
19891 (libc_feholdsetround): New.
19892 (libc_feholdsetroundf): New.
19893 (libc_feholdsetroundl): New.
19894 (libc_feupdateenv_test_mips): New.
19895 (libc_feupdateenv_test): New.
19896 (libc_feupdateenv_testf): New.
19897 (libc_feupdateenv_testl): New.
19898 (libc_feresetround): New.
19899 (libc_feresetroundf): New.
19900 (libc_feresetroundl): New.
19901 (libc_fetestexcept_mips): New.
19902 (libc_fetestexcept): New.
19903 (libc_fetestexceptf): New.
19904 (libc_fetestexceptl): New.
19905 (HAVE_RM_CTX): New.
19906 (libc_feholdexcept_setround_mips_ctx): New.
19907 (libc_feholdexcept_setround_ctx): New.
19908 (libc_feholdexcept_setroundf_ctx): New.
19909 (libc_feholdexcept_setroundl_ctx): New.
19910 (libc_fesetenv_mips_ctx): New.
19911 (libc_fesetenv_ctx): New.
19912 (libc_fesetenv_ctxf): New.
19913 (libc_fesetenv_ctxl): New.
19914 (libc_feupdateenv_mips_ctx): New.
19915 (libc_feupdateenv_ctx): New.
19916 (libc_feupdateenvf_ctx): New.
19917 (libc_feupdateenvl_ctx): New.
19918 (libc_feholdsetround_mips_ctx): New.
19919 (libc_feholdsetround_ctx): New.
19920 (libc_feholdsetroundf_ctx): New.
19921 (libc_feholdsetroundl_ctx): New.
19922 (libc_feresetround_mips_ctx): New.
19923 (libc_feresetround_ctx): New.
19924 (libc_feresetroundf_ctx): New.
19925 (libc_feresetroundl_ctx): New.
19926
19927 2014-02-26 Carlos O'Donell <carlos@redhat.com>
19928
19929 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
19930
19931 * manual/ipc.texi: New file.
19932 * manual/Makefile (chapters): Add ipc.
19933 * manual/job.texi: Add "Inter-Process Communication" to next.
19934 * manual/process.texi: Add "Inter-Process Communication" to prev.
19935
19936 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19937
19938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19939
19940 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
19941
19942 * malloc/malloc.c (__libc_calloc): Simplify implementation.
19943
19944 * manual/arith.texi: Fix spaces after sentences.
19945 * manual/charset.texi: Likewise.
19946 * manual/errno.texi: Likewise.
19947 * manual/install.texi: Likewise.
19948 * manual/llio.texi: Likewise.
19949 * manual/locale.texi: Likewise.
19950 * manual/maint.texi: Likewise.
19951 * manual/math.texi: Likewise.
19952 * manual/memory.texi: Likewise.
19953 * manual/message.texi: Likewise.
19954 * manual/probes.texi: Likewise.
19955 * manual/resource.texi: Likewise.
19956 * manual/signal.texi: Likewise.
19957 * manual/socket.texi: Likewise.
19958 * manual/stdio.texi: Likewise.
19959 * manual/string.texi: Likewise.
19960 * manual/time.texi: Likewise.
19961 * manual/users.texi: Likewise.
19962
19963 2014-02-25 Carlos O'Donell <carlos@redhat.com>
19964
19965 [BZ #16632]
19966 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
19967 _DEFAULT_SOURCE is defined.
19968
19969 2014-02-25 Ulrich Drepper <drepper@gmail.com>
19970 Carlos O'Donell <carlos@redhat.com>
19971
19972 [BZ #16613]
19973 * elf/dl-tls.c (_dl_count_modids): New function.
19974 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
19975 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
19976 audit library and increment generation counter.
19977 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
19978 * elf/tst-audit9.c: New file.
19979 * elf/tst-auditmod9a.c: New file.
19980 * elf/tst-auditmod9b.c: New file.
19981 * elf/Makefile: Add rules to build and run tst-audit9.
19982
19983 2014-02-25 Florian Weimer <fweimer@redhat.com>
19984
19985 [BZ #15347]
19986 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
19987
19988 2014-02-25 Will Newton <will.newton@linaro.org>
19989
19990 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
19991 (__longjmp): Restore sp and lr before restoring callee
19992 saved registers. Add longjmp and longjmp_target
19993 SystemTap probe point.
19994 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
19995 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
19996 Define to zero to match jmpbuf layout.
19997 * sysdeps/arm/setjmp.S: Include stap-probe.h.
19998 (__sigsetjmp): Save sp and lr before saving callee
19999 saved registers. Add setjmp SystemTap probe point.
20000
20001 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
20002
20003 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20004
20005 2014-02-24 Andreas Schwab <schwab@suse.de>
20006
20007 [BZ #15804]
20008 * elf/pldd.c (wait_for_ptrace_stop): New function.
20009 (main): Call it after attaching.
20010
20011 2014-02-22 Roland McGrath <roland@hack.frob.com>
20012
20013 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
20014 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
20015 Versions files is now verboten.
20016 * hurd/Versions (libc: GLIBC_2.0):
20017 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
20018 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
20019 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
20020 * mach/Versions: Likewise.
20021
20022 * csu/Versions: Remove unused %include.
20023 * resolv/Versions: Likewise.
20024
20025 2014-02-21 Joseph Myers <joseph@codesourcery.com>
20026
20027 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
20028 ($(objpfx)check-local-headers.out): Likewise.
20029 ($(objpfx)begin-end-check.out): Likewise.
20030 * Makerules (check-abi-%.out): Likewise.
20031 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
20032 ($(objpfx)test2.cat): Likewise.
20033 ($(objpfx)de/libc.cat): Likewise.
20034 ($(objpfx)test-gencat.out): Likewise.
20035 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
20036 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
20037 ($(objpfx)noload-mem): Likewise.
20038 ($(objpfx)tst-pathopt.out): Likewise.
20039 ($(objpfx)tst-rtld-load-self.out): Likewise.
20040 ($(objpfx)tst-array1-cmp.out): Likewise.
20041 ($(objpfx)tst-array1-static-cmp.out): Likewise.
20042 ($(objpfx)tst-array2-cmp.out): Likewise.
20043 ($(objpfx)tst-array3-cmp.out): Likewise.
20044 ($(objpfx)tst-array4-cmp.out): Likewise.
20045 ($(objpfx)tst-array5-cmp.out): Likewise.
20046 ($(objpfx)tst-array5-static-cmp.out): Likewise.
20047 ($(objpfx)check-textrel.out): Likewise.
20048 ($(objpfx)check-execstack.out): Likewise.
20049 ($(objpfx)check-localplt.out): Likewise.
20050 ($(objpfx)order2-cmp.out): Likewise.
20051 ($(objpfx)tst-leaks1-mem): Likewise.
20052 ($(objpfx)tst-leaks1-static-mem): Likewise.
20053 ($(objpfx)tst-initorder-cmp.out): Likewise.
20054 ($(objpfx)tst-initorder2-cmp.out): Likewise.
20055 ($(objpfx)tst-unused-dep.out): Likewise.
20056 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
20057 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
20058 * iconv/Makefile (test-iconvconfig): Likewise.
20059 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
20060 ($(objpfx)iconv-test.out): Likewise.
20061 ($(objpfx)tst-tables.out): Likewise.
20062 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
20063 ($(objpfx)tst-gettext.out): Likewise.
20064 ($(objpfx)tst-translit.out): Likewise.
20065 ($(objpfx)tst-gettext2.out): Likewise.
20066 ($(objpfx)tst-gettext4.out): Likewise.
20067 ($(objpfx)tst-gettext6.out): Likewise.
20068 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
20069 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
20070 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
20071 ($(objpfx)tst-fopenloc-mem.out): Likewise.
20072 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
20073 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
20074 * posix/Makefile ($(objpfx)globtest.out): Likewise.
20075 ($(objpfx)wordexp-tst.out): Likewise.
20076 ($(objpfx)annexc.out): Likewise.
20077 ($(objpfx)tst-fnmatch-mem): Likewise.
20078 ($(objpfx)bug-regex2-mem): Likewise.
20079 ($(objpfx)bug-regex14-mem): Likewise.
20080 ($(objpfx)bug-regex21-mem): Likewise.
20081 ($(objpfx)bug-regex31-mem): Likewise.
20082 ($(objpfx)tst-vfork3-mem): Likewise.
20083 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20084 ($(objpfx)tst-pcre-mem): Likewise.
20085 ($(objpfx)tst-boost-mem): Likewise.
20086 ($(objpfx)tst-getconf.out): Likewise.
20087 ($(objpfx)bug-ga2-mem): Likewise.
20088 ($(objpfx)bug-glob2-mem): Likewise.
20089 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
20090 ($(objpfx)mtrace-tst-leaks2): Likewise.
20091 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
20092 ($(objpfx)tst-printf.out): Likewise.
20093 ($(objpfx)tst-setvbuf1.out): Likewise.
20094 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
20095 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
20096 ($(objpfx)tst-fmtmsg.out): Likewise.
20097 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
20098 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
20099
20100 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
20101 * bits/sigaction.h [__USE_MISC]: Likewise.
20102 * bits/waitstatus.h: Update #endif comments.
20103 * ctype/ctype.h: Likewise.
20104 * dirent/dirent.h: Likewise.
20105 [__USE_MISC]: Remove redundant conditionals.
20106 * grp/grp.h: Update #endif comments.
20107 [__USE_GNU]: Remove redundant conditionals.
20108 [__USE_MISC]: Likewise.
20109 * inet/netinet/in.h [__USE_GNU]: Likewise.
20110 * io/sys/stat.h [__USE_MISC]: Likewise.
20111 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
20112 * libio/bits/stdio.h: Update #endif comments.
20113 [__USE_MISC]: Remove redundant conditionals.
20114 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
20115 * libio/stdio.h: Update #endif comments.
20116 [__USE_MISC]: Remove redundant conditionals.
20117 * math/bits/math-finite.h [__USE_MISC]: Likewise.
20118 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
20119 * math/math.h: Update #else and #endif comments.
20120 [__USE_MISC]: Remove redundant conditionals.
20121 * misc/sys/uio.h: Update #endif comments.
20122 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
20123 * posix/glob.h [__USE_MISC]: Likewise.
20124 * posix/sys/types.h: Update #endif comments.
20125 [__USE_MISC]: Remove redundant conditionals.
20126 * posix/sys/wait.h: Update #endif comments.
20127 [__USE_MISC]: Remove redundant conditionals.
20128 * posix/unistd.h: Update #endif comments.
20129 [__USE_MISC]: Remove redundant conditionals.
20130 * pwd/pwd.h [__USE_GNU]: Likewise.
20131 [__USE_MISC]: Likewise.
20132 * resolv/netdb.h [__USE_GNU]: Likewise.
20133 * signal/signal.h: Update #endif comments.
20134 [__USE_MISC]: Remove redundant conditionals.
20135 * stdlib/stdlib.h: Update #else and #endif comments.
20136 [__USE_MISC]: Remove redundant conditionals.
20137 [__USE_GNU]: Likewise.
20138 * string/bits/string2.h [__USE_MISC]: Likewise.
20139 * string/string.h: Update #endif comments.
20140 [__USE_MISC]: Remove redundant conditionals.
20141 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
20142 Likewise.
20143 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
20144 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
20145 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
20146 Likewise.
20147 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
20148 Likewise.
20149 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
20150 comments.
20151 [__USE_MISC]: Remove redundant conditionals.
20152 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
20153 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
20154 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
20155 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
20156 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
20157 Likewise.
20158 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
20159 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
20160 Likewise.
20161 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
20162 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
20163 Likewise.
20164 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
20165 Likewise.
20166 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
20167 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
20168 Likewise.
20169 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
20170 Likewise.
20171 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
20172 * sysdeps/x86/bits/string.h: Update #endif comments.
20173 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
20174 conditionals.
20175 * time/sys/time.h: Update #endif comments.
20176 * time/time.h: Likewise.
20177 [__USE_MISC]: Remove redundant conditionals.
20178
20179 2014-02-21 Yury Gribov <y.gribov@samsung.com>
20180
20181 [BZ #16600]
20182 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
20183
20184 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
20185
20186 * Versions.def (librt): Add GLIBC_2.17.
20187
20188 2014-02-21 Adam Conrad <adconrad@0c3.net>
20189
20190 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
20191 synonym for _SYS_AUXV_H to allow direct inclusion.
20192 * sysdeps/sparc/bits/hwcap.h: Likewise.
20193 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
20194 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
20195 * sysdeps/sparc/sysdep.h: Likewise.
20196
20197 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
20198
20199 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
20200
20201 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20202
20203 * benchtests/bench-strrchr.c: Print length instead of position.
20204
20205 2014-02-20 Joseph Myers <joseph@codesourcery.com>
20206
20207 [BZ #16611]
20208 * sysdeps/unix/sysv/linux/kernel-features.h
20209 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
20210 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
20211 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
20212 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
20213 Likewise.
20214 [__i386__ || __powerpc__ || __sh__ || __sparc__]
20215 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20216 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
20217 (__ASSUME_SENDMMSG): Define instead of using previous
20218 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
20219 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20220 (__ASSUME_SENDMMSG_SYSCALL): Define.
20221 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20222 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
20223 Likewise.
20224 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20225 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20226 Likewise.
20227 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20228 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20229 Likewise.
20230 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
20231 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20232 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20233 [__ASSUME_SENDMMSG]: Change conditionals to
20234 [__ASSUME_SENDMMSG_SOCKETCALL].
20235 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20236 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
20237 Define.
20238 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20239 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
20240 Likewise.
20241 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
20242 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
20243 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
20244 [!__ASSUME_SENDMMSG]: Change conditional to
20245 [!__ASSUME_SENDMMSG_SOCKETCALL].
20246 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20247 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20248 Define.
20249
20250 [BZ #16610]
20251 * sysdeps/unix/sysv/linux/kernel-features.h
20252 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
20253 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
20254 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
20255 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
20256 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20257 [__i386__ || __sparc__]
20258 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20259 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
20260 (__ASSUME_RECVMMSG): Define instead of using previous
20261 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
20262 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20263 (__ASSUME_RECVMMSG_SYSCALL): Define.
20264 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20265 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20266 Likewise.
20267 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20268 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20269 Likewise.
20270 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20271 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20272 Likewise.
20273 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
20274 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20275 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20276 [__ASSUME_RECVMMSG]: Change condition to
20277 [__ASSUME_RECVMMSG_SOCKETCALL].
20278 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20279 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20280 Define.
20281 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
20282 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20283 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20284 Likewise.
20285 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
20286 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
20287 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
20288 [!__ASSUME_RECVMMSG]: Change condition to
20289 [!__ASSUME_RECVMMSG_SOCKETCALL].
20290 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20291 (__ASSUME_RECVMMSG_SYSCALL): Define.
20292
20293 [BZ #16609]
20294 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
20295 __powerpc__ || __s390__ || __sh__ || __sparc__]
20296 (__ASSUME_SOCKETCALL): Define.
20297 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
20298 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
20299 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
20300 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
20301 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20302 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
20303 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
20304 (__ASSUME_ACCEPT4): Define instead of using previous
20305 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
20306 __powerpc__ || __sparc__ || __s390__)] condition.
20307 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20308 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20309 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
20310 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20311 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20312 [!__ASSUME_ACCEPT4]: Change condition to
20313 [!__ASSUME_ACCEPT4_SOCKETCALL].
20314 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20315 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
20316 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
20317 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20318 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
20319 __ASSUME_ACCEPT4_SYSCALL.
20320 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
20321 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
20322 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20323 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
20324 __ASSUME_ACCEPT4_SYSCALL.
20325 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
20326 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
20327 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
20328 [__ASSUME_ACCEPT4]: Change condition to
20329 [__ASSUME_ACCEPT4_SOCKETCALL].
20330 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20331 (__ASSUME_SOCKETCALL): Define.
20332 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
20333 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20334 (__ASSUME_SOCKETCALL): Define.
20335 (__ASSUME_ACCEPT4): Remove.
20336 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
20337 Define.
20338 * sysdeps/unix/sysv/linux/mips/kernel-features.h
20339 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
20340 Likewise.
20341 * sysdeps/unix/sysv/linux/tile/kernel-features.h
20342 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
20343
20344 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
20345 macro.
20346 (HWCAP_ARM_LPAE): Likewise.
20347 (HWCAP_ARM_EVTSTRM): Likewise.
20348 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
20349 Add vpfd32, lpae and evtstrm.
20350 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
20351 Increase to 22.
20352
20353 2014-02-19 Joseph Myers <joseph@codesourcery.com>
20354
20355 * math/auto-libm-test-in: Add tests of clog10.
20356 * math/auto-libm-test-out: Regenerated.
20357 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
20358 * sysdeps/i386/fpu/libm-test-ulps: Update.
20359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20360
20361 2014-02-18 Andreas Schwab <schwab@suse.de>
20362
20363 [BZ #16574]
20364 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
20365 Store non-zero if the second buffer was newly allocated.
20366 (send_dg): Likewise.
20367 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
20368 to send_vc and send_dg.
20369 (res_nsend): Pass NULL for ansp2_malloced.
20370 * resolv/res_query.c (__libc_res_nquery): Add parameter
20371 answerp2_malloced and pass it down to __libc_res_nsend.
20372 (res_nquery): Pass additional NULL to __libc_res_nquery.
20373 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
20374 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
20375 second answer buffer if answerp2_malloced was set.
20376 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
20377 (__libc_res_nquerydomain): Add parameter
20378 answerp2_malloced and pass it down to __libc_res_nquery.
20379 (res_nquerydomain): Pass additional NULL to
20380 __libc_res_nquerydomain.
20381 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
20382 additional NULL to __libc_res_nsend and __libc_res_nquery.
20383 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
20384 additional NULL to __libc_res_nsearch.
20385 (_nss_dns_gethostbyname4_r): Revert last change. Use new
20386 parameter of __libc_res_nsearch to check for separately allocated
20387 second buffer.
20388 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
20389 __libc_res_nquery.
20390 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
20391 additional NULL to __libc_res_nquery.
20392 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
20393 __libc_res_nsearch.
20394 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
20395 * include/resolv.h: Update prototypes of __libc_res_nquery,
20396 __libc_res_nsearch, __libc_res_nsend.
20397
20398 2014-02-18 Joseph Myers <joseph@codesourcery.com>
20399
20400 * math/auto-libm-test-in: Add tests of fma.
20401 * math/auto-libm-test-out: Regenerated.
20402 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
20403 (fma_towardzero_test_data): Likewise.
20404 (fma_downward_test_data): Likewise.
20405 (fma_upward_test_data): Likewise.
20406 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
20407 mpc_mode.
20408 (rounding_modes): Add values for new field.
20409 (func_calc_method): Add value mpfr_fff_f.
20410 (func_calc_desc): Add mpfr_fff_f union field.
20411 (test_function): Add field exact_args.
20412 (FUNC): Add macro argument EXACT_ARGS.
20413 (FUNC_mpfr_f_f): Update call to FUNC.
20414 (FUNC_mpfr_f_f): Likewise.
20415 (FUNC_mpfr_ff_f): Likewise.
20416 (FUNC_mpfr_if_f): Likewise.
20417 (FUNC_mpc_c_f): Likewise.
20418 (FUNC_mpc_c_c): Likewise.
20419 (test_functions): Add fma. Update calls to FUNC.
20420 (handle_input_arg): Add argument exact_args.
20421 (add_test): Update call to handle_input_arg.
20422 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
20423 (output_for_one_input_case): Update call to calc_generic_results.
20424 Recalculate exact zero results in each rounding mode.
20425
20426 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
20427 non-negative before setting low bit.
20428 * math/auto-libm-test-in: Mark one asin test possibly having
20429 spurious underflow.
20430 * math/auto-libm-test-out: Regenerated.
20431 * sysdeps/i386/fpu/libm-test-ulps: Update.
20432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20433
20434 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
20435
20436 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
20437 * sysdeps/unix/sysv/linux/microblaze: Move directory from
20438 ports/sysdeps/unix/sysv/linux/microblaze.
20439 * README: Add missing listing for microblaze*-*-linux-gnu.
20440
20441 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
20442
20443 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
20444 duplicate code
20445
20446 2014-02-16 Mike Frysinger <vapier@gentoo.org>
20447
20448 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
20449 * sysdeps/unix/sysv/linux/ia64: Move directory from
20450 ports/sysdeps/unix/sysv/linux/ia64.
20451 * README: Update listing for ia64-*-linux-gnu.
20452
20453 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
20454 Joseph Myers <joseph@codesourcery.com>
20455
20456 * Makeconfig (test-name): New variable.
20457 (evaluate-test): Likewise.
20458 * Makerules (do-test-clean): Remove .test-result files.
20459 (common-mostlyclean): Likewise.
20460 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
20461 * scripts/evaluate-test.sh: New file.
20462
20463 2014-02-14 Joseph Myers <joseph@codesourcery.com>
20464
20465 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
20466 separate $(objpfx)tst-fopenloc-cmp.out and
20467 $(objpfx)tst-fopenloc-mem.out targets.
20468 (tests): Update dependencies.
20469 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
20470 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
20471 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
20472 (tst-rxspencer-no-utf8-ARGS): New variable.
20473 (tst-rxspencer-no-utf8-ENV): Likewise.
20474 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
20475 instead of $(objpfx)tst-rxspencer-mem.
20476 ($(objpfx)tst-rxspencer-mem): Change target to
20477 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
20478 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
20479 * posix/tst-rxspencer-no-utf8.c: New file.
20480
20481 * elf/Makefile ($(objpfx)order.out): Remove rule.
20482 [$(run-built-tests) = yes] (tests): Depend on
20483 $(objpfx)order-cmp.out.
20484 ($(objpfx)order-cmp.out): New rule.
20485 [$(run-built-tests) = yes] (tests): Depend on
20486 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
20487 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
20488 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
20489 $(objpfx)tst-array5-static-cmp.out.
20490 ($(objpfx)tst-array1.out): Remove rule.
20491 ($(objpfx)tst-array1-cmp.out): New rule.
20492 ($(objpfx)tst-array1-static.out): Remove rule.
20493 ($(objpfx)tst-array1-static-cmp.out): New rule.
20494 ($(objpfx)tst-array2.out): Remove rule.
20495 ($(objpfx)tst-array2-cmp.out): New rule.
20496 ($(objpfx)tst-array3.out): Remove rule.
20497 ($(objpfx)tst-array3-cmp.out): New rule.
20498 ($(objpfx)tst-array4.out): Remove rule.
20499 ($(objpfx)tst-array4-cmp.out): New rule.
20500 ($(objpfx)tst-array5.out): Remove rule.
20501 ($(objpfx)tst-array5-cmp.out): New rule.
20502 ($(objpfx)tst-array5-static.out): Remove rule.
20503 ($(objpfx)tst-array5-static-cmp.out): New rule.
20504 [$(run-built-tests) = yes] (tests): Depend on
20505 $(objpfx)order2-cmp.out.
20506 ($(objpfx)order2.out): Remove rule.
20507 ($(objpfx)order2-cmp.out): New rule.
20508 ($(objpfx)tst-initorder.out): Remove rule.
20509 [$(run-built-tests) = yes] (tests): Depend on
20510 $(objpfx)tst-initorder-cmp.out.
20511 ($(objpfx)tst-initorder-cmp.out): New rule.
20512 ($(objpfx)tst-initorder2.out): Remove rule.
20513 [$(run-built-tests) = yes] (tests): Depend on
20514 $(objpfx)tst-initorder2-cmp.out.
20515 ($(objpfx)tst-initorder2-cmp.out): New rule.
20516 [$(run-built-tests) = yes] (tests): Depend on
20517 $(objpfx)tst-unused-dep-cmp.out.
20518 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
20519 ($(objpfx)tst-unused-dep-cmp.out): New rule.
20520 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
20521 on $(objpfx)tst-setvbuf1-cmp.out.
20522 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
20523 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
20524 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
20525 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
20526 ($(objpfx)tst-svc.out): Remove rule.
20527 ($(objpfx)tst-svc-cmp.out): New rule.
20528
20529 2014-02-13 Joseph Myers <joseph@codesourcery.com>
20530
20531 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
20532 * ctype/ctype.h [__USE_MISC]: Likewise.
20533 * dirent/dirent.h [__USE_MISC]: Likewise.
20534 * grp/grp.h [__USE_MISC]: Likewise.
20535 * io/fcntl.h [__USE_MISC]: Likewise.
20536 * io/sys/stat.h [__USE_MISC]: Likewise.
20537 * libio/stdio.h [__USE_MISC]: Likewise.
20538 * posix/unistd.h [__USE_MISC]: Likewise.
20539 * pwd/pwd.h [__USE_MISC]: Likewise.
20540 * stdlib.h [__USE_MISC]: Likewise.
20541 * string/bits/string2.h [__USE_MISC]: Likewise.
20542 * string/string.h [__USE_MISC]: Likewise.
20543 * time/time.h [__USE_MISC]: Likewise.
20544
20545 2014-02-13 Andreas Schwab <schwab@suse.de>
20546
20547 [BZ #16574]
20548 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
20549 second answer buffer if it was separately allocated.
20550
20551 2014-02-12 Joseph Myers <joseph@codesourcery.com>
20552
20553 * sysdeps/mips/math-tests.h: Include <features.h>.
20554 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20555 (ROUNDING_TESTS_long_double): Do not define.
20556 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
20557 (EXCEPTION_TESTS_long_double): Likewise.
20558 * sysdeps/mips/mips64/libm-test-ulps: Update.
20559
20560 * include/features.h (__USE_BSD): Remove macro definitions.
20561 (__USE_SVID): Likewise.
20562 (_BSD_SOURCE): Likewise.
20563 (_SVID_SOURCE): Likewise.
20564 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
20565 from definition of _DEFAULT_SOURCE.
20566 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
20567 [_DEFAULT_SOURCE].
20568 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
20569 * bits/mman.h [__USE_BSD]: Likewise.
20570 * bits/termios.h [__USE_BSD]: Likewise.
20571 * bits/waitstatus.h [__USE_BSD]: Likewise.
20572 * ctype/ctype.h [__USE_SVID]: Likewise.
20573 * dirent/dirent.h [__USE_BSD]: Likewise.
20574 * grp/grp.h [__USE_SVID]: Likewise.
20575 [__USE_BSD]: Likewise.
20576 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
20577 * io/fcntl.h [__USE_BSD]: Likewise.
20578 * io/ftw.h [__USE_BSD]: Likewise.
20579 * io/sys/stat.h [__USE_BSD]: Likewise.
20580 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
20581 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
20582 * libio/stdio.h [__USE_SVID]: Likewise.
20583 [__USE_BSD]: Likewise.
20584 * math/math.h [__USE_SVID]: Likewise.
20585 [__USE_BSD]: Likewise.
20586 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
20587 * misc/bits/syslog.h [__USE_BSD]: Likewise.
20588 * misc/search.h [__USE_SVID]: Likewise.
20589 * misc/sys/mman.h [__USE_BSD]: Likewise.
20590 * misc/sys/syslog.h [__USE_BSD]: Likewise.
20591 * misc/sys/uio.h [__USE_BSD]: Likewise.
20592 * posix/bits/unistd.h [__USE_BSD]: Likewise.
20593 * posix/glob.h [__USE_BSD]: Likewise.
20594 * posix/regex.h [__USE_BSD]: Likewise.
20595 * posix/sys/types.h [__USE_BSD]: Likewise.
20596 [__USE_SVID]: Likewise.
20597 * posix/sys/utsname.h [__USE_SVID]: Likewise.
20598 * posix/sys/wait.h [__USE_BSD]: Likewise.
20599 [__USE_SVID]: Likewise.
20600 * posix/unistd.h [__USE_BSD]: Likewise.
20601 [__USE_SVID]: Likewise.
20602 * pwd/pwd.h [__USE_SVID]: Likewise.
20603 * resolv/netdb.h [__USE_BSD]: Likewise.
20604 * setjmp/setjmp.h [__USE_BSD]: Likewise.
20605 * signal/signal.h [__USE_BSD]: Likewise.
20606 [__USE_SVID]: Likewise.
20607 * socket/sys/socket.h [__USE_BSD]: Likewise.
20608 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
20609 * stdlib/stdlib.h [__USE_BSD]: Likewise.
20610 [__USE_SVID]: Likewise.
20611 * string/bits/string2.h [__USE_BSD]: Likewise.
20612 [__USE_SVID]: Likewise.
20613 * string/bits/string3.h [__USE_BSD]: Likewise.
20614 * string/endian.h [__USE_BSD]: Likewise.
20615 * string/string.h [__USE_SVID]: Likewise.
20616 [__USE_BSD]: Likewise.
20617 * string/strings.h [__USE_BSD]: Likewise.
20618 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
20619 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
20620 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
20621 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
20622 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
20623 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
20624 Likewise.
20625 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
20626 Likewise.
20627 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
20628 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
20629 Likewise.
20630 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
20631 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
20632 Likewise.
20633 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
20634 Likewise.
20635 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
20636 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
20637 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
20638 Likewise.
20639 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
20640 Likewise.
20641 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
20642 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
20643 * termios/termios.h [__USE_BSD]: Likewise.
20644 * time/sys/time.h [__USE_BSD]: Likewise.
20645 * time/time.h [__USE_BSD]: Likewise.
20646 [__USE_SVID]: Likewise.
20647
20648 * Makefile (subdir_targets): Remove subdir_lint.out.
20649
20650 * stdio-common/Makefile (do-tst-unbputc): Remove target.
20651 (do-tst-printf): Likewise.
20652 (tests): Depend directly on $(objpfx)tst-unbputc.out and
20653 $(objpfx)tst-printf.out.
20654
20655 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
20656
20657 * Makerules (check-abi-%): Change target to
20658 $(objpfx)check-abi-%.out.
20659 (check-abi target): Update dependencies.
20660 (check-abi-pattern variable): Redirect output of diff to $@.
20661 (check-abi variable): Likewise.
20662 * elf/Makefile (check-abi): Update dependencies.
20663
20664 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
20665 unused.
20666 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
20667 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
20668 subnormal range.
20669 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
20670 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
20671 value has largest subnormal exponent.
20672 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
20673 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
20674 * sysdeps/aarch64/soft-fp/sfp-machine.h
20675 (_FP_TININESS_AFTER_ROUNDING): New macro.
20676 * sysdeps/alpha/soft-fp/sfp-machine.h
20677 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20678 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20679 Likewise.
20680 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
20681 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20682 * sysdeps/mips/soft-fp/sfp-machine.h
20683 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20684 * sysdeps/powerpc/soft-fp/sfp-machine.h
20685 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20686 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20687 Likewise.
20688 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20689 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20690 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20691 (_FP_TININESS_AFTER_ROUNDING): Likewise.
20692 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
20693 Likewise.
20694
20695 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
20696
20697 [BZ #16545]
20698 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
20699 model 1.
20700
20701 2014-02-12 Richard Henderson <rth@redhat.com>
20702
20703 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
20704 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
20705 * sysdeps/unix/sysv/linux/alpha: Move directory from
20706 ports/sysdeps/unix/sysv/linux/alpha.
20707 * README: Update listing for alpha-*-linux-gnu.
20708
20709 2014-02-11 Joseph Myers <joseph@codesourcery.com>
20710
20711 * include/features.h: Update comment documenting feature test
20712 macros.
20713 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
20714 _DEFAULT_SOURCE.
20715 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
20716 (_SVID_SOURCE): Likewise.
20717 (_DEFAULT_SOURCE): Update description of default features.
20718 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
20719 with _GNU_SOURCE.
20720 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
20721 (S_ISVTX): Likewise.
20722 * manual/math.texi (Mathematical Constants): Likewise.
20723 * manual/signal.texi (Interrupted Primitives): Likewise.
20724 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
20725 * math/test-matherr.c (_SVID_SOURCE): Do not define.
20726 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
20727 Don't refer to _SVID_SOURCE in warning text.
20728
20729 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20730
20731 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
20732 already defined.
20733 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
20734 * sysdeps/mips/dl-lookup.c: Remove.
20735 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
20736
20737 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
20738
20739 [BZ #16447]
20740 * math/auto-libm-test-in: Add testcase for expl.
20741 * math/auto-libm-test-out: Regenerate.
20742 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
20743 calculation of unsafe.
20744 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
20745
20746 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
20747
20748 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
20749 * sysdeps/unix/sysv/linux/aarch64: Move directory from
20750 ports/sysdeps/unix/sysv/linux/aarch64.
20751 * README: Update listing for aarch64*-*-linux-gnu.
20752
20753 2014-02-11 Will Newton <will.newton@linaro.org>
20754
20755 * manual/probes.texi (Mathematical Function Probes): Use
20756 "triggered" instead of "hit".
20757
20758 * manual/probes.texi (Internal Probes): Add documentation
20759 of setjmp, longjmp and longjmp_target probes.
20760
20761 * include/stap-probe.h: Add comment about probe argument
20762 format.
20763
20764 * malloc/mtrace.c (attribute_hidden): Remove unused macro
20765 definition. (tr_where, tr_freehook, tr_mallochook,
20766 tr_reallochook, tr_memalignhook): Use ANSI protoype.
20767
20768 2014-02-11 David S. Miller <davem@davemloft.net>
20769
20770 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
20771 processing int_tests.
20772
20773 2014-02-10 Joseph Myers <joseph@codesourcery.com>
20774
20775 * sysdeps/mips: Move directory from ports/sysdeps/mips.
20776 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
20777 * sysdeps/unix/sysv/linux/mips: Move directory from
20778 ports/sysdeps/unix/sysv/linux/mips.
20779 * README: Update listing for mips-*-linux-gnu and
20780 mips64-*-linux-gnu.
20781
20782 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
20783
20784 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
20785 * sysdeps/unix/sysv/linux/m68k: Move directory from
20786 ports/sysdeps/unix/sysv/linux/m68k.
20787 * README: Update listing for m68k-*-linux-gnu.
20788
20789 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
20790
20791 * sysdeps/tile: Move directory from ports/sysdeps/tile.
20792 * sysdeps/unix/sysv/linux/generic: Move directory from
20793 ports/sysdeps/unix/sysv/linux/generic.
20794 * sysdeps/unix/sysv/linux/tile: Move directory from
20795 ports/sysdeps/unix/sysv/linux/tile.
20796 * README: Update listing for tile*-*-linux-gnu.
20797
20798 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
20799
20800 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
20801 __builtin_expect.
20802 * benchtests/bench-memmem.c (simple_memmem): Likewise.
20803 * catgets/open_catalog.c (__open_catalog): Likewise.
20804 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
20805 * debug/confstr_chk.c: Likewise.
20806 * debug/fread_chk.c (__fread_chk): Likewise.
20807 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
20808 * debug/getgroups_chk.c: Likewise.
20809 * debug/mbsnrtowcs_chk.c: Likewise.
20810 * debug/mbsrtowcs_chk.c: Likewise.
20811 * debug/mbstowcs_chk.c: Likewise.
20812 * debug/memcpy_chk.c: Likewise.
20813 * debug/memmove_chk.c: Likewise.
20814 * debug/mempcpy_chk.c: Likewise.
20815 * debug/memset_chk.c: Likewise.
20816 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
20817 * debug/strcat_chk.c (__strcat_chk): Likewise.
20818 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
20819 * debug/strncat_chk.c (__strncat_chk): Likewise.
20820 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
20821 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
20822 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
20823 * debug/wcpncpy_chk.c: Likewise.
20824 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
20825 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
20826 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
20827 * debug/wcsncpy_chk.c: Likewise.
20828 * debug/wcsnrtombs_chk.c: Likewise.
20829 * debug/wcsrtombs_chk.c: Likewise.
20830 * debug/wcstombs_chk.c: Likewise.
20831 * debug/wmemcpy_chk.c: Likewise.
20832 * debug/wmemmove_chk.c: Likewise.
20833 * debug/wmempcpy_chk.c: Likewise.
20834 * debug/wmemset_chk.c: Likewise.
20835 * dirent/scandirat.c (SCANDIRAT): Likewise.
20836 * dlfcn/dladdr1.c (dladdr1): Likewise.
20837 * dlfcn/dladdr.c (dladdr): Likewise.
20838 * dlfcn/dlclose.c (dlclose_doit): Likewise.
20839 * dlfcn/dlerror.c (__dlerror): Likewise.
20840 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
20841 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
20842 * dlfcn/dlopen.c (dlopen_doit): Likewise.
20843 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20844 * dlfcn/dlsym.c (dlsym_doit): Likewise.
20845 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
20846 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
20847 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
20848 Likewise.
20849 * elf/dl-conflict.c: Likewise.
20850 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
20851 * elf/dl-dst.h: Likewise.
20852 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
20853 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
20854 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
20855 * elf/dl-init.c (call_init, _dl_init): Likewise.
20856 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
20857 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
20858 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
20859 Likewise.
20860 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
20861 Likewise.
20862 * elf/dl-minimal.c (__libc_memalign): Likewise.
20863 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
20864 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
20865 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
20866 * elf/dl-sym.c (do_sym): Likewise.
20867 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
20868 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
20869 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
20870 * elf/dl-writev.h (_dl_writev): Likewise.
20871 * elf/ldconfig.c (search_dir): Likewise.
20872 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
20873 (dl_main): Likewise.
20874 * elf/setup-vdso.h (setup_vdso): Likewise.
20875 * grp/compat-initgroups.c (compat_call): Likewise.
20876 * grp/fgetgrent.c (fgetgrent): Likewise.
20877 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
20878 * grp/putgrent.c (putgrent): Likewise.
20879 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20880 Likewise.
20881 * hurd/hurdinit.c: Likewise.
20882 * iconvdata/8bit-gap.c (struct): Likewise.
20883 * iconvdata/ansi_x3.110.c : Likewise.
20884 * iconvdata/big5.c : Likewise.
20885 * iconvdata/big5hkscs.c : Likewise.
20886 * iconvdata/cp1255.c: Likewise.
20887 * iconvdata/cp1258.c : Likewise.
20888 * iconvdata/cp932.c : Likewise.
20889 * iconvdata/euc-cn.c: Likewise.
20890 * iconvdata/euc-jisx0213.c : Likewise.
20891 * iconvdata/euc-jp.c: Likewise.
20892 * iconvdata/euc-jp-ms.c : Likewise.
20893 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
20894 * iconvdata/gb18030.c : Likewise.
20895 * iconvdata/gbbig5.c (const): Likewise.
20896 * iconvdata/gbgbk.c: Likewise.
20897 * iconvdata/gbk.c : Likewise.
20898 * iconvdata/ibm1364.c : Likewise.
20899 * iconvdata/ibm930.c : Likewise.
20900 * iconvdata/ibm932.c: Likewise.
20901 * iconvdata/ibm933.c : Likewise.
20902 * iconvdata/ibm935.c : Likewise.
20903 * iconvdata/ibm937.c : Likewise.
20904 * iconvdata/ibm939.c : Likewise.
20905 * iconvdata/ibm943.c: Likewise.
20906 * iconvdata/iso_11548-1.c: Likewise.
20907 * iconvdata/iso-2022-cn.c : Likewise.
20908 * iconvdata/iso-2022-cn-ext.c : Likewise.
20909 * iconvdata/iso-2022-jp-3.c: Likewise.
20910 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
20911 * iconvdata/iso-2022-kr.c : Likewise.
20912 * iconvdata/iso646.c (gconv_end): Likewise.
20913 * iconvdata/iso_6937-2.c : Likewise.
20914 * iconvdata/iso_6937.c : Likewise.
20915 * iconvdata/iso8859-1.c: Likewise.
20916 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
20917 * iconvdata/shift_jisx0213.c : Likewise.
20918 * iconvdata/sjis.c : Likewise.
20919 * iconvdata/t.61.c : Likewise.
20920 * iconvdata/tcvn5712-1.c : Likewise.
20921 * iconvdata/tscii.c: Likewise.
20922 * iconvdata/uhc.c : Likewise.
20923 * iconvdata/unicode.c (gconv_end): Likewise.
20924 * iconvdata/utf-16.c (gconv_end): Likewise.
20925 * iconvdata/utf-32.c (gconv_end): Likewise.
20926 * iconvdata/utf-7.c (base64): Likewise.
20927 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
20928 * iconv/gconv_close.c (__gconv_close): Likewise.
20929 * iconv/gconv_open.c (__gconv_open): Likewise.
20930 * iconv/gconv_simple.c (internal_ucs4_loop_single)
20931 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
20932 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
20933 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
20934 (ucs4le_internal_loop_single): Likewise.
20935 * iconv/iconv.c (iconv): Likewise.
20936 * iconv/iconv_close.c: Likewise.
20937 * iconv/loop.c (SINGLE): Likewise.
20938 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
20939 * include/atomic.h: Likewise.
20940 * inet/inet6_option.c (option_alloc): Likewise.
20941 * intl/bindtextdom.c (set_binding_values): Likewise.
20942 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
20943 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
20944 * intl/localealias.c (read_alias_file): Likewise.
20945 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
20946 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
20947 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
20948 * libio/fmemopen.c (fmemopen): Likewise.
20949 * libio/iofgets.c (_IO_fgets): Likewise.
20950 * libio/iofgets_u.c (fgets_unlocked): Likewise.
20951 * libio/iofgetws.c (fgetws): Likewise.
20952 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
20953 * libio/iogetdelim.c (_IO_getdelim): Likewise.
20954 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
20955 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
20956 * locale/findlocale.c (_nl_find_locale): Likewise.
20957 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
20958 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
20959 Likewise.
20960 * locale/setlocale.c (setlocale): Likewise.
20961 * login/programs/pt_chown.c (main): Likewise.
20962 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
20963 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
20964 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
20965 (mmap, mmap64, mremap, munmap): Likewise.
20966 * math/e_exp2l.c: Likewise.
20967 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
20968 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
20969 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
20970 * math/s_catan.c (__catan): Likewise.
20971 * math/s_catanf.c (__catanf): Likewise.
20972 * math/s_catanh.c (__catanh): Likewise.
20973 * math/s_catanhf.c (__catanhf): Likewise.
20974 * math/s_catanhl.c (__catanhl): Likewise.
20975 * math/s_catanl.c (__catanl): Likewise.
20976 * math/s_ccosh.c (__ccosh): Likewise.
20977 * math/s_ccoshf.c (__ccoshf): Likewise.
20978 * math/s_ccoshl.c (__ccoshl): Likewise.
20979 * math/s_cexp.c (__cexp): Likewise.
20980 * math/s_cexpf.c (__cexpf): Likewise.
20981 * math/s_cexpl.c (__cexpl): Likewise.
20982 * math/s_clog10.c (__clog10): Likewise.
20983 * math/s_clog10f.c (__clog10f): Likewise.
20984 * math/s_clog10l.c (__clog10l): Likewise.
20985 * math/s_clog.c (__clog): Likewise.
20986 * math/s_clogf.c (__clogf): Likewise.
20987 * math/s_clogl.c (__clogl): Likewise.
20988 * math/s_csin.c (__csin): Likewise.
20989 * math/s_csinf.c (__csinf): Likewise.
20990 * math/s_csinh.c (__csinh): Likewise.
20991 * math/s_csinhf.c (__csinhf): Likewise.
20992 * math/s_csinhl.c (__csinhl): Likewise.
20993 * math/s_csinl.c (__csinl): Likewise.
20994 * math/s_csqrt.c (__csqrt): Likewise.
20995 * math/s_csqrtf.c (__csqrtf): Likewise.
20996 * math/s_csqrtl.c (__csqrtl): Likewise.
20997 * math/s_ctan.c (__ctan): Likewise.
20998 * math/s_ctanf.c (__ctanf): Likewise.
20999 * math/s_ctanh.c (__ctanh): Likewise.
21000 * math/s_ctanhf.c (__ctanhf): Likewise.
21001 * math/s_ctanhl.c (__ctanhl): Likewise.
21002 * math/s_ctanl.c (__ctanl): Likewise.
21003 * math/w_pow.c: Likewise.
21004 * math/w_powf.c: Likewise.
21005 * math/w_powl.c: Likewise.
21006 * math/w_scalb.c (sysv_scalb): Likewise.
21007 * math/w_scalbf.c (sysv_scalbf): Likewise.
21008 * math/w_scalbl.c (sysv_scalbl): Likewise.
21009 * misc/error.c (error_tail): Likewise.
21010 * misc/pselect.c (__pselect): Likewise.
21011 * nis/nis_callback.c (__nis_create_callback): Likewise.
21012 * nis/nis_call.c (__nisfind_server): Likewise.
21013 * nis/nis_creategroup.c (nis_creategroup): Likewise.
21014 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
21015 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
21016 * nis/nis_getservlist.c (nis_getservlist): Likewise.
21017 * nis/nis_lookup.c (nis_lookup): Likewise.
21018 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
21019 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
21020 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
21021 * nis/nis_xdr.c (xdr_endpoint): Likewise.
21022 * nis/nss_compat/compat-grp.c (getgrent_next_file)
21023 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
21024 * nis/nss_compat/compat-initgroups.c (add_group)
21025 (internal_getgrent_r): Likewise.
21026 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
21027 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
21028 * nis/nss_compat/compat-spwd.c (getspent_next_file)
21029 (internal_getspnam_r): Likewise.
21030 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
21031 (_nss_nis_getaliasbyname_r): Likewise.
21032 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
21033 (_nss_nis_getntohost_r): Likewise.
21034 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
21035 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
21036 (_nss_nis_getgrgid_r): Likewise.
21037 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
21038 (internal_nis_gethostent_r, internal_gethostbyname2_r)
21039 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
21040 (_nss_nis_gethostbyname4_r): Likewise.
21041 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
21042 (initgroups_netid): Likewise.
21043 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
21044 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
21045 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
21046 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
21047 (_nss_nis_getprotobynumber_r): Likewise.
21048 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
21049 (_nss_nis_getsecretkey): Likewise.
21050 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
21051 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
21052 (_nss_nis_getpwuid_r): Likewise.
21053 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
21054 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
21055 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
21056 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
21057 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
21058 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
21059 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
21060 Likewise.
21061 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
21062 (_nss_nisplus_getntohost_r): Likewise.
21063 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
21064 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
21065 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
21066 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
21067 Likewise.
21068 * nis/nss_nisplus/nisplus-initgroups.c
21069 (_nss_nisplus_initgroups_dyn): Likewise.
21070 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
21071 (_nss_nisplus_getnetbyaddr_r): Likewise.
21072 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
21073 (_nss_nisplus_getprotobynumber_r): Likewise.
21074 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
21075 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
21076 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
21077 Likewise.
21078 * nis/nss_nisplus/nisplus-service.c
21079 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
21080 (_nss_nisplus_getservbyport_r): Likewise.
21081 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
21082 (_nss_nisplus_getspnam_r): Likewise.
21083 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
21084 Likewise.
21085 * nscd/aicache.c (addhstaiX): Likewise.
21086 * nscd/cache.c (cache_search, prune_cache): Likewise.
21087 * nscd/connections.c (register_traced_file, send_ro_fd)
21088 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
21089 (main_loop_epoll): Likewise.
21090 * nscd/grpcache.c (addgrbyX): Likewise.
21091 * nscd/hstcache.c (addhstbyX): Likewise.
21092 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21093 * nscd/mem.c (gc, mempool_alloc): Likewise.
21094 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
21095 (addinnetgrX): Likewise.
21096 * nscd/nscd-client.h (__nscd_acquire_maplock)
21097 (__nscd_drop_map_ref): Likewise.
21098 * nscd/nscd_getai.c (__nscd_getai): Likewise.
21099 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21100 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
21101 Likewise.
21102 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
21103 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21104 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
21105 (__nscd_get_map_ref): Likewise.
21106 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
21107 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
21108 Likewise.
21109 * nscd/pwdcache.c (addpwbyX): Likewise.
21110 * nscd/selinux.c (preserve_capabilities): Likewise.
21111 * nscd/servicescache.c (addservbyX): Likewise.
21112 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
21113 * posix/fnmatch.c (fnmatch): Likewise.
21114 * posix/getopt.c (_getopt_internal_r): Likewise.
21115 * posix/glob.c (glob, glob_in_dir): Likewise.
21116 * posix/wordexp.c (exec_comm_child): Likewise.
21117 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
21118 (getanswer_r, gaih_getanswer_slice): Likewise.
21119 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
21120 * resolv/res_init.c: Likewise.
21121 * resolv/res_mkquery.c (res_nmkquery): Likewise.
21122 * resolv/res_query.c (__libc_res_nquery): Likewise.
21123 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
21124 Likewise.
21125 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
21126 * stdio-common/perror.c (perror): Likewise.
21127 * stdio-common/printf_fp.c (___printf_fp): Likewise.
21128 * stdio-common/tmpnam.c (tmpnam): Likewise.
21129 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21130 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
21131 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21132 Likewise.
21133 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21134 * stdlib/putenv.c (putenv): Likewise.
21135 * stdlib/setenv.c (__add_to_environ): Likewise.
21136 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21137 * stdlib/strtol_l.c (INTERNAL): Likewise.
21138 * string/memmem.c (memmem): Likewise.
21139 * string/strerror.c (strerror): Likewise.
21140 * string/strnlen.c (__strnlen): Likewise.
21141 * string/test-memmem.c (simple_memmem): Likewise.
21142 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
21143 * sunrpc/pm_getport.c (__get_socket): Likewise.
21144 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
21145 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
21146 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
21147 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
21148 Likewise.
21149 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21150 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21151 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
21152 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
21153 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
21154 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
21155 Likewise.
21156 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
21157 Likewise.
21158 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
21159 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
21160 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21161 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21162 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
21164 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21165 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
21166 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
21167 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
21168 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21169 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
21170 Likewise.
21171 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
21172 Likewise.
21173 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
21174 Likewise.
21175 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
21176 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21177 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
21178 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
21179 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21180 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
21181 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21182 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
21183 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
21184 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
21185 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
21186 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21187 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21188 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21189 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21190 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21191 Likewise.
21192 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
21193 Likewise.
21194 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
21195 Likewise.
21196 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
21197 Likewise.
21198 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21199 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21200 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
21201 Likewise.
21202 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
21203 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
21204 * sysdeps/posix/opendir.c (__opendirat): Likewise.
21205 * sysdeps/posix/sleep.c: Likewise.
21206 * sysdeps/posix/tempname.c: Likewise.
21207 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
21208 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21209 Likewise.
21210 * sysdeps/powerpc/powerpc32/dl-machine.h
21211 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
21212 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21213 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21214 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
21215 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
21216 Likewise.
21217 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
21218 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
21219 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21220 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
21221 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
21222 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
21223 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
21224 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
21225 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
21226 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
21227 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
21228 (elf_machine_lazy_rel): Likewise.
21229 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
21230 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
21231 (elf_machine_lazy_rel): Likewise.
21232 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
21233 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
21234 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
21235 * sysdeps/unix/grantpt.c (grantpt): Likewise.
21236 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
21237 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
21238 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
21239 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21240 Likewise.
21241 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
21242 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
21243 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
21244 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
21245 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
21246 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21247 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
21248 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
21249 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
21250 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21251 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21252 Likewise.
21253 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
21254 (__posix_fallocate64_l64): Likewise.
21255 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
21256 (posix_fallocate): Likewise.
21257 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
21258 Likewise.
21259 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
21260 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
21261 (getifaddrs_internal): Likewise.
21262 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
21263 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
21264 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
21265 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
21266 * sysdeps/unix/sysv/linux/posix_fallocate64.c
21267 (__posix_fallocate64_l64): Likewise.
21268 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21269 Likewise.
21270 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
21271 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
21272 (__get_clockfreq): Likewise.
21273 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
21274 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21275 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
21276 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
21277 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21278 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
21279 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21280 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
21281 Likewise.
21282 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
21283 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
21284 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
21285 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
21286 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
21287 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
21288 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
21289 Likewise.
21290 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21291 (posix_fallocate): Likewise.
21292 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
21293 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
21294 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
21295 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
21296 (elf_machine_rela, elf_machine_rela_relative)
21297 (elf_machine_lazy_rel): Likewise.
21298 * time/asctime.c (asctime_internal): Likewise.
21299 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
21300 * time/tzset.c (__tzset_parse_tz): Likewise.
21301 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21302 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
21303 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
21304 * wcsmbs/wcsmbsload.h: Likewise.
21305
21306 [BZ #15894]
21307 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
21308
21309 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
21310 (arena_get2): Remove THREAD_STATS conditionals.
21311 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
21312 (__malloc_stats, int): Likewise.
21313
21314 2014-02-08 Mike Frysinger <vapier@gentoo.org>
21315
21316 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
21317 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
21318
21319 * manual/setjmp.texi: Fix typos/grammar errors.
21320
21321 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
21322 Only return early when n is <= 0. Delete unused return statement.
21323
21324 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
21325 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21326 * debug/tst-longjmp_chk3.c: New file.
21327
21328 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
21329 (test_main): Replace code with set_fortify_handler call.
21330 * debug/test-strcpy_chk.c: Likewise.
21331 * debug/tst-chk1.c: Likewise.
21332 * debug/tst-longjmp_chk.c: Likewise.
21333 * test-skeleton.c: Include fcntl.h & paths.h
21334 (set_fortify_handler): Define.
21335
21336 * debug/tst-longjmp_chk.c: Add header comment and include
21337 ../test-skeleton.c.
21338 (do_test): Mark static.
21339 (TEST_FUNCTION): Define.
21340
21341 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
21342 (IP_PMTUDISC_INTERFACE): Likewise.
21343 (IP_MULTICAST_IF): Likewise.
21344 (IP_MULTICAST_TTL): Likewise.
21345 (IP_MULTICAST_LOOP): Likewise.
21346 (IP_ADD_MEMBERSHIP): Likewise.
21347 (IP_DROP_MEMBERSHIP): Likewise.
21348 (IP_UNBLOCK_SOURCE): Likewise.
21349 (IP_BLOCK_SOURCE): Likewise.
21350 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
21351 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
21352 (IP_MSFILTER): Likewise.
21353 (MCAST_JOIN_GROUP): Likewise.
21354 (MCAST_BLOCK_SOURCE): Likewise.
21355 (MCAST_UNBLOCK_SOURCE): Likewise.
21356 (MCAST_LEAVE_GROUP): Likewise.
21357 (MCAST_JOIN_SOURCE_GROUP): Likewise.
21358 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
21359 (MCAST_MSFILTER): Likewise.
21360 (IP_MULTICAST_ALL): Likewise.
21361 (IP_UNICAST_IF): Likewise.
21362
21363 * timezone/Makefile: Delete $(have-ksh) check.
21364 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
21365 * timezone/tzselect.ksh: Add +x mode bits.
21366
21367 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
21368 (ANON_INODE_FS_MAGIC): Likewise.
21369 (BDEVFS_MAGIC): Likewise.
21370 (BINFMTFS_MAGIC): Likewise.
21371 (BTRFS_TEST_MAGIC): Likewise.
21372 (CRAMFS_MAGIC_WEND): Likewise.
21373 (DEBUGFS_MAGIC): Likewise.
21374 (ECRYPTFS_SUPER_MAGIC): Likewise.
21375 (EXT3_SUPER_MAGIC): Likewise.
21376 (EXT4_SUPER_MAGIC): Likewise.
21377 (FUTEXFS_SUPER_MAGIC): Likewise.
21378 (HOSTFS_SUPER_MAGIC): Likewise.
21379 (HUGETLBFS_MAGIC): Likewise.
21380 (MINIX3_SUPER_MAGIC): Likewise.
21381 (MTD_INODE_FS_MAGIC): Likewise.
21382 (NILFS_SUPER_MAGIC): Likewise.
21383 (OPENPROM_SUPER_MAGIC): Likewise.
21384 (PIPEFS_MAGIC): Likewise.
21385 (PSTOREFS_MAGIC): Likewise.
21386 (QNX6_SUPER_MAGIC): Likewise.
21387 (RAMFS_MAGIC): Likewise.
21388 (REISERFS_SUPER_MAGIC_STRING): Likewise.
21389 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
21390 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
21391 (SECURITYFS_MAGIC): Likewise.
21392 (SELINUX_MAGIC): Likewise.
21393 (SMACK_MAGIC): Likewise.
21394 (SOCKFS_MAGIC): Likewise.
21395 (SQUASHFS_MAGIC): Likewise.
21396 (STACK_END_MAGIC): Likewise.
21397 (TMPFS_MAGIC): Likewise.
21398 (USBDEVICE_SUPER_MAGIC): Likewise.
21399 (V9FS_MAGIC): Likewise.
21400 (XENFS_SUPER_MAGIC): Likewise.
21401 (CRAMFS_MAGIC): Fix typo in comment.
21402 (EXT2_SUPER_MAGIC): Update comment.
21403 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
21404
21405 2014-02-08 Joseph Myers <joseph@codesourcery.com>
21406
21407 * sysdeps/arm: Move directory from ports/sysdeps/arm.
21408 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
21409 * sysdeps/unix/sysv/linux/arm: Move directory from
21410 ports/sysdeps/unix/sysv/linux/arm.
21411 * README: Update listing for arm-*-linux-gnueabi.
21412
21413 * README: Remove mention of am33.
21414
21415 2014-02-07 Roland McGrath <roland@hack.frob.com>
21416
21417 * bits/sigset.h (__sigemptyset): Use a statement expression rather
21418 than the comma operator, to avoid "rhs of comma has no effect"
21419 compiler warnings.
21420 (__sigfillset, __sigandset, __sigorset): Likewise.
21421 * include/signal.h (__sigemptyset): Likewise.
21422 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
21423
21424 2014-02-07 Allan McRae <allan@archlinux.org>
21425
21426 * version.h (RELEASE): Set to "development".
21427 (VERSION): Set to "2.19.90"
21428 * NEWS: Add 2.20 section.
21429
21430 2014-02-06 Carlos O'Donell <carlos@redhat.com>
21431
21432 [BZ #16529]
21433 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
21434
21435 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
21436
21437 * manual/contrib.texi: Update entry for Carlos O'Donell,
21438 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
21439
21440 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
21441
21442 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
21443
21444 * sysdeps/unix/sysv/linux/kernel-features.h
21445 [__LINUX_KERNEL_VERSION >= 0x020621]
21446 (__ASSUME_PROC_PID_TASK_COMM): Define.
21447
21448 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21449
21450 [BZ #16398]
21451 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
21452 conversion when destination buffer does not have enough space.
21453 * libio/tst-ftell-partial-wide.c: New test case.
21454 * libio/Makefile (tests): Add tst-ftell-partial-wide.
21455
21456 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
21457 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
21458 Leonard and Allan McRae.
21459
21460 2014-02-04 David S. Miller <davem@davemloft.net>
21461
21462 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
21463 32-bit.
21464
21465 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21466
21467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
21468 New file
21469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
21470 New file
21471 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
21472 New file.
21473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
21474 New file.
21475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
21476 New file.
21477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
21478 New file.
21479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
21480 New file.
21481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
21482 New file.
21483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
21484 New file.
21485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
21486 New file.
21487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
21488 New file.
21489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
21490 New file.
21491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
21492 New file.
21493
21494 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21495
21496 * nptl/shlib-versions: Change powerpc*le start to 2.17.
21497 * shlib-versions: Likewise.
21498
21499 2014-02-04 Roland McGrath <roland@hack.frob.com>
21500 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21501
21502 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
21503 (abilist-pattern): New variable, set to %-le.abilist.
21504
21505 * Makerules (abilist-pattern): New variable.
21506 (vpath): Use $(abilist-pattern) in place of %.abilist.
21507 (check-abi-% pattern rule): Likewise.
21508 (check-abi, update-abi): Likewise.
21509
21510 2014-02-04 Eric Wong <normalperson@yhbt.net>
21511
21512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21513
21514 2014-02-03 Carlos O'Donell <carlos@redhat.com>
21515
21516 * manual/startup.texi: Add next, previous, and top entries for
21517 the `Program Arguments' and `Environment Variables' nodes.
21518
21519 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
21520
21521 * manual/macros.texi: Add comments before MTASC-safety macros.
21522
21523 * manual/users.texi: Document MTASC-safety properties.
21524
21525 * manual/threads.texi (pthread_key_create, pthread_key_delete)
21526 (pthread_getspecific, pthread_setspecific): Format with
21527 @deftypefun, and add @safety note.
21528 * manual/signal.texi: Move comments that analyze the above
21529 functions to their home place.
21530
21531 2014-02-03 Allan McRae <allan@archlinux.org>
21532
21533 * po/sl.po: Update Slovenian translation from translation project.
21534
21535 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
21536
21537 * manual/time.texi (timegm): Add missing blank after @c.
21538 Reported by Joseph Myers <joseph@codesourcery.com>.
21539
21540 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
21541
21542 * manual/check-safety.sh: New.
21543 * manual/Makefile ($(objpfx)stamp-summary): Run it.
21544
21545 * manual/terminal.texi: Document MTASC-safety properties.
21546
21547 * manual/filesys.texi: Document MTASC-safety properties.
21548
21549 * manual/errno.texi: Document MTASC-safety properties.
21550
21551 * manual/intro.texi: Document safety identifiers and
21552 conditionals.
21553
21554 * manual/string.texi (wcstok): Fix prototype.
21555 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
21556
21557 * manual/time.texi: Document MTASC-safety properties.
21558
21559 * manual/string.texi: Document MTASC-safety properties.
21560
21561 * manual/threads.texi: Document MTASC-safety properties.
21562
21563 * manual/stdio.texi: Document MTASC-safety properties.
21564
21565 * manual/syslog.texi: Document MTASC-safety properties.
21566
21567 * manual/sysinfo.texi: Document MTASC-safety properties.
21568
21569 * manual/startup.texi: Document MTASC-safety properties.
21570
21571 * manual/socket.texi: Document MTASC-safety properties.
21572
21573 * manual/signal.texi: Document MTASC-safety properties.
21574
21575 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
21576
21577 * manual/setjmp.texi: Document MTASC-safety properties.
21578
21579 * manual/search.texi: Document MTASC-safety properties.
21580
21581 * manual/resource.texi: Document MTASC-safety properties.
21582
21583 * manual/process.texi: Document MTASC-safety properties.
21584
21585 * manual/platform.texi: Document MTASC-safety properties.
21586
21587 * manual/pipe.texi: Document MTASC-safety properties.
21588
21589 * manual/pattern.texi: Document MTASC-safety properties.
21590
21591 * manual/message.texi: Document MTASC-safety properties.
21592
21593 [BZ #12751]
21594 * manual/memory.texi: Document MTASC-safety properties.
21595
21596 * manual/math.texi: Document MTASC-safety properties.
21597
21598 * manual/locale.texi: Document MTASC-safety properties.
21599
21600 * manual/llio.texi: Document MTASC-safety properties.
21601
21602 * manual/libdl.texi: New.
21603
21604 * manual/lang.texi: Document MTASC-safety properties.
21605
21606 * manual/job.texi: Document MTASC-safety properties.
21607
21608 * manual/getopt.texi: Document MTASC-safety properties.
21609
21610 * manual/ctype.texi: Document MTASC-safety properties.
21611
21612 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
21613
21614 [BZ #16046]
21615 * csu/libc-tls.c (static_map): Remove variable.
21616 (__libc_setup_tls): Use main executable's link map for TLS data.
21617 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
21618 casing for LM_ID_BASE and GL(dl_nns).
21619 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
21620 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
21621 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
21622 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
21623 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
21624 member.
21625 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
21626 l_phnum members.
21627
21628 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
21629
21630 * manual/debug.texi: Document MTASC-safety properties.
21631
21632 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
21633
21634 [BZ #16510]
21635 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
21636 of __x86_64__ when disabling x87 inline functions.
21637
21638 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
21639
21640 * manual/charset.texi: Document MTASC-safety properties.
21641
21642 * manual/crypt.texi: Document MTASC-safety properties.
21643
21644 * manual/conf.texi: Document MTASC-safety properties.
21645
21646 * manual/arith.texi: Document MTASC-safety properties.
21647
21648 * manual/argp.texi: Document MTASC-safety properties.
21649
21650 * manual/macros.texi: Introduce macros to document multi
21651 thread, asynchronous signal and asynchronous cancellation
21652 safety properties.
21653 * manual/intro.texi: Introduce the properties themselves.
21654
21655 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21656
21657 * sysdeps/sh/sh4/Makefile: New file.
21658
21659 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
21660
21661 * math/gen-libm-test.pl ($srcdir): New variable.
21662 ($auto_input): Use it.
21663
21664 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21665
21666 [BZ #16506]
21667 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
21668 access beyond array bounds when parsing netgroups file.
21669
21670 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
21671 the old buffer before realloc.
21672
21673 2014-01-27 Allan McRae <allan@archlinux.org>
21674
21675 * po/fr.po: Update French translation from translation project.
21676
21677 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21678
21679 * sysdeps/sh/libm-test-ulps: Regenerate.
21680
21681 2014-01-24 David S. Miller <davem@davemloft.net>
21682
21683 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
21684
21685 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21686
21687 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
21688 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
21689
21690 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
21691
21692 [BZ #16474]
21693 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
21694 string pointers after reallocation.
21695
21696 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21697
21698 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
21699 __SH4A__ instead of __SH_FPU_ANY__.
21700
21701 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21702
21703 * sysdeps/sh/fpu_control.h: New file.
21704 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
21705 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
21706 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
21707 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
21708 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
21709 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
21710 * sysdeps/sh/sys/ucontext.h: Remove.
21711 * sysdeps/sh/sys: Remove directory.
21712
21713 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21714
21715 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
21716 s390/sys/ucontext.h.
21717 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
21718 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
21719
21720 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
21721
21722 [BZ #15605]
21723 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
21724
21725 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21726
21727 [BZ#16431]
21728 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21729 Adjust the vDSO correctly for internal calls.
21730 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
21731
21732 2014-01-20 Allan McRae <allan@archlinux.org>
21733
21734 * po/ca.po: Update Catalan translation from translation project.
21735
21736 2014-01-16 Mike Frysinger <vapier@gentoo.org>
21737
21738 * sysdeps/s390/sotruss-lib.c: New file.
21739
21740 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21741
21742 [BZ#16430]
21743 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
21744 (__GI___gettimeofday): Alias for a different internal symbol to avoid
21745 local calls issues by not having a PLT stub required for IFUNC calls.
21746 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
21747
21748 2014-01-16 Joseph Myers <joseph@codesourcery.com>
21749
21750 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
21751 * math/test-fpucw-static.c: Likewise.
21752
21753 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21754
21755 [BZ #16453]
21756 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
21757
21758 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21759
21760 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
21761 implementation for powerpc.
21762
21763 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
21764
21765 [BZ #14782]
21766 * sysdeps/posix/system.c (__libc_system): Do not enable
21767 asynchronous cancellation.
21768
21769 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21770
21771 [BZ #16427]
21772 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
21773 handling only for numbers special also in the IEEE case.
21774
21775 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21776
21777 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21778
21779 2014-01-11 Allan McRae <allan@archlinux.org>
21780
21781 * po/bg.po: Update Bulgarian translation from translation project.
21782
21783 * po/de.po: Update German translation from translation project.
21784
21785 2014-01-10 Roland McGrath <roland@hack.frob.com>
21786
21787 * sysdeps/generic/gcc-compat.h: New file.
21788
21789 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
21790
21791 * benchtests/asin-inputs: Correct slow inputs.
21792 * benchtests/acos-inputs: Likewise.
21793
21794 2014-01-10 Allan McRae <allan@archlinux.org>
21795
21796 * po:sv.po: Update Swedish translation from translation project.
21797
21798 * po/vi.po: Update Vietnamese translation from translation project.
21799
21800 * po/eo.po: Update Esperanto translation from translation project.
21801
21802 * po/cs.po: Update Czech translation from translation project.
21803
21804 * po/nl.po: Update Dutch translation from translation project.
21805
21806 * po/pl.po: Update Polish translation from translation project.
21807
21808 * po/ru.po: Update Russian translation from translation project.
21809
21810 * po/uk.po: Update Ukrainian translation from translation project.
21811
21812 2014-01-08 Brooks Moses <bmoses@google.com>
21813
21814 * elf/dl-load.c: Fix comment typo.
21815
21816 2014-01-08 Carlos O'Donell <carlos@redhat.com>
21817
21818 * po/header.pot: Rename to...
21819 * po/pot.header: ... this.
21820 * po/Makefile: Use pot.header.
21821
21822 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
21823 Maxim Kuvyrkov <maxim@kugelworks.com>
21824
21825 [BZ #16394]
21826 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
21827 SRC and DEST against LEN.
21828
21829 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21830
21831 [BZ #16414]
21832 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
21833 implementation.
21834 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
21835
21836 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21837
21838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21839
21840 2014-01-08 Joseph Myers <joseph@codesourcery.com>
21841
21842 [BZ #16408]
21843 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
21844 for large positive arguments.
21845
21846 2014-01-07 Joseph Myers <joseph@codesourcery.com>
21847
21848 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21849
21850 * math/auto-libm-test-in: Mark various tests with
21851 xfail-rounding:ldbl-128ibm.
21852 * math/auto-libm-test-out: Regenerated.
21853
21854 [BZ #16407]
21855 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
21856 Increase overflow threshold.
21857
21858 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
21859
21860 [BZ #14286]
21861 * stdio-common/vfprintf.c: Check for integer overflow.
21862
21863 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21864
21865 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
21866 the first argument and return value of __tls_get_addr_internal.
21867
21868 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21869
21870 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
21871 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
21872
21873 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21874
21875 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
21876 * sysdeps/s390/rtld-global-offsets.sym: New file.
21877 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
21878 GLIBC_2.19 symbol.
21879 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
21880 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
21881 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
21882 ... this.
21883 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
21884 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
21885 ... this.
21886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21887 Regenerate.
21888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21889 Regenerate.
21890 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
21891 halfs of GPRs for high_gprs contexts.
21892 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
21893 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
21894 field.
21895 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
21896 uc_flags field.
21897 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
21898 64 bit versions:
21899 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
21900 for high GPRs (uc_high_gprs) and for future extensions
21901 (__reserved).
21902 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
21903 for future extensions (__reserved).
21904 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
21905 64 bit versions:
21906 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
21907 SC_HIGHGPRS offset definition.
21908 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
21909 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
21910
21911 * Versions.def: Add GLIBC_2.19 for libpthread.
21912 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
21913 siglongjmp for libpthread with GLIBC_2.19 symver.
21914 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
21915 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
21916 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
21917 * sysdeps/s390/__longjmp.c: New file.
21918 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
21919 * sysdeps/s390/longjmp.c: New file.
21920 * sysdeps/s390/setjmp.S: New file.
21921 * sysdeps/s390/sigjmp.S: New file.
21922 * sysdeps/s390/v1-longjmp.c: New file.
21923 * sysdeps/s390/v1-setjmp.h: New file.
21924 * sysdeps/s390/v1-sigjmp.c: New file.
21925 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
21926 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
21927 GLIBC_2.19 version.
21928 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
21929 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
21930 versioned symbols for ____longjmp_chk.
21931 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
21932 Likewise.
21933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21934 Regenerate.
21935 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21936 Regenerate.
21937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21938 Regenerate.
21939 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21940 Regenerate.
21941 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
21942 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
21943 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
21944 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
21945 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
21946 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
21947 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
21948 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
21949 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
21950 * sysdeps/s390/rtld-__longjmp.c: New file.
21951 * sysdeps/s390/rtld-setjmp.S: New file.
21952
21953 2014-01-06 Joseph Myers <joseph@codesourcery.com>
21954
21955 [BZ #16400]
21956 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21957 Return -__logl (x) for small positive arguments without evaluating
21958 a polynomial.
21959
21960 2014-01-06 Mike Frysinger <vapier@gentoo.org>
21961
21962 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
21963 Rename to ...
21964 (__ptrace_peeksiginfo_args): ... this.
21965 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21966 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21967 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21968
21969 2014-01-06 Allan McRae <allan@archlinux.org>
21970
21971 * inet/netinet/in.h: Fix typo in comment.
21972
21973 2014-01-05 Andreas Jaeger <aj@suse.de>
21974
21975 * sysdeps/i386/fpu/libm-test-ulps: Update.
21976
21977 2014-01-05 Allan McRae <allan@archlinux.org>
21978
21979 * po/libc.pot: Regenerated.
21980
21981 * malloc/memusagestat.c: Fix gettext call formatting.
21982
21983 2014-01-04 Sami Kerola <kerolasa@iki.fi>
21984
21985 * nscd/nscd.c: Improve usage() output.
21986
21987 2014-01-04 Mike Frysinger <vapier@gentoo.org>
21988
21989 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
21990 * sysdeps/unix/sysv/linux/configure: Regenerated.
21991 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
21992 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
21993
21994 2014-01-03 Joseph Myers <joseph@codesourcery.com>
21995
21996 [BZ #16390]
21997 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
21998 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
21999
22000 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22001
22002 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
22003 extra tokens at end of #undef directive.
22004 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22005 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22006 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22007
22008 2014-01-03 Joseph Myers <joseph@codesourcery.com>
22009
22010 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22011
22012 * math/auto-libm-test-in: Mark various tests with
22013 xfail-rounding:ldbl-128ibm.
22014 * math/auto-libm-test-out: Regenerated.
22015
22016 2014-01-02 Joseph Myers <joseph@codesourcery.com>
22017
22018 [BZ #16386]
22019 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
22020 numbers with subnormal high part when calculating exponent.
22021
22022 [BZ #16385]
22023 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
22024 fabs.
22025
22026 [BZ #16384]
22027 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
22028 M_LN2l.
22029 (__ieee754_acoshl): Use __log1pl not __log1p.
22030
22031 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
22032
22033 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
22034 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
22035 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
22036 (grow_heap, heap_trim, _int_new_arena, get_free_list)
22037 (reused_arena, arena_get2): Convert to GNU style.
22038 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
22039 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
22040 (memalign_check, __malloc_set_state): Likewise.
22041 * malloc/mallocbug.c (main): Likewise.
22042 * malloc/malloc.c (__malloc_assert, malloc_init_state)
22043 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
22044 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
22045 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
22046 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
22047 (__posix_memalign, malloc_info): Likewise.
22048 * malloc/malloc.h: Likewise.
22049 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
22050 (mallochook, memalignhook, reallochook, mabort): Likewise.
22051 * malloc/mcheck.h: Likewise.
22052 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
22053 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
22054 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
22055 * malloc/morecore.c (__default_morecore): Likewise.
22056 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
22057 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
22058 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
22059 (print_and_abort): Likewise.
22060 * malloc/obstack.h: Likewise.
22061 * malloc/set-freeres.c (__libc_freeres): Likewise.
22062 * malloc/tst-mallocstate.c (main): Likewise.
22063 * malloc/tst-mtrace.c (main): Likewise.
22064 * malloc/tst-realloc.c (do_test): Likewise.
22065
22066 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22067
22068 [BZ #16366]
22069 * nscd/netgroupcache.c (do_notfound): New function.
22070 (addgetnetgrentX): Use it.
22071
22072 [BZ # 16365]
22073 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
22074 NSS_STATUS_NOTFOUND.
22075
22076 2014-01-01 Joseph Myers <joseph@codesourcery.com>
22077
22078 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22080
22081 2014-01-01 Allan McRae <allan@archlinux.org>
22082
22083 * scripts/update-copyrights: Update configure input file suffix.
22084
22085 * NEWS: Update copyright year.
22086 * catgets/gencat.c: Likewise.
22087 * csu/version.c: Likewise.
22088 * debug/catchsegv.sh: Likewise.
22089 * debug/pcprofiledump.c: Likewise.
22090 * debug/xtrace.sh: Likewise.
22091 * elf/ldconfig.c: Likewise.
22092 * elf/ldd.bash.in: Likewise.
22093 * elf/pldd.c: Likewise.
22094 * elf/sotruss.ksh: Likewise.
22095 * elf/sprof.c: Likewise.
22096 * iconv/iconv_prog.c: Likewise.
22097 * iconv/iconvconfig.c: Likewise.
22098 * locale/programs/locale.c: Likewise.
22099 * locale/programs/localedef.c: Likewise.
22100 * login/programs/pt_chown.c: Likewise.
22101 * malloc/memusage.sh: Likewise.
22102 * malloc/memusagestat.c: Likewise.
22103 * malloc/mtrace.pl: Likewise.
22104 * manual/libc.texinfo: Likewise.
22105 * nscd/nscd.c: Likewise.
22106 * nss/getent.c: Likewise.
22107 * nss/makedb.c: Likewise.
22108 * posix/getconf.c: Likewise.
22109 * scripts/test-installation.pl: Likewise.
22110
22111 * All files with FSF copyright notices: Update copyright dates
22112 using scripts/update-copyrights.
22113 * intl/plural.c: Regenerated.
22114 * locale/programs/charmap-kw.h: Likewise.
22115 * locale/programs/locfile-kw.h: Likewise.
22116
22117 2013-12-31 Mike Frysinger <vapier@gentoo.org>
22118
22119 * sysdeps/unix/sysv/linux/configure: Regenerated.
22120 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
22121 the linux/fanotify.h header.
22122 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
22123 HAVE_LINUX_FANOTIFY_H is defined.
22124
22125 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
22126
22127 * benchtests/cos-inputs: New inputs.
22128 * benchtests/sin-inputs: Likewise.
22129
22130 * benchtests/atan-inputs: New inputs. Fix name of multiple
22131 precision fallback inputs.
22132
22133 * benchtests/atanh-inputs: New inputs.
22134 * benchtests/tanh-inputs: Likewise.
22135
22136 * benchtests/acosh-inputs: New inputs.
22137 * benchtests/asinh-inputs: Likewise.
22138
22139 * benchtests/cosh-inputs: New inputs.
22140 * benchtests/sinh-inputs: Likewise.
22141
22142 * benchtests/acos-inputs: Add more inputs.
22143 * benchtests/asin-inputs: Likewise.
22144
22145 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
22146
22147 [BZ #16375]
22148 * manual/arith.texi: Fix spelling.
22149 * manual/charset.texi: Likewise.
22150 * manual/errno.texi: Likewise.
22151 * manual/filesys.texi: Likewise.
22152 * manual/lang.texi: Likewise.
22153 * manual/llio.texi: Likewise.
22154 * manual/locale.texi: Likewise.
22155 * manual/message.texi: Likewise.
22156 * manual/resource.texi: Likewise.
22157 * manual/search.texi: Likewise.
22158 * manual/setjmp.texi: Likewise.
22159 * manual/stdio.texi: Likewise.
22160 * manual/string.texi: Likewise.
22161 * manual/sysinfo.texi: Likewise.
22162 * manual/time.texi: Likewise.
22163
22164 2013-12-27 Carlos O'Donell <carlos@redhat.com>
22165
22166 * po/sl.po: New file.
22167
22168 2013-12-27 Mike Frysinger <vapier@gentoo.org>
22169
22170 * .gitignore: Add core/.gdbinit/.gdb_history.
22171
22172 2013-12-27 Allan McRae <allan@archlinux.org>
22173
22174 [BZ #16369]
22175 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
22176 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
22177
22178 2013-12-24 Brooks Moses <bmoses@google.com>
22179
22180 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
22181 all compilers that claim C++98 compliance, not just GCC.
22182 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22183 Likewise.
22184
22185 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22186
22187 * NEWS: Restore accidentally deleted bug-fix entries.
22188
22189 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
22190 Ondřej Bílka <neleai@seznam.cz>
22191
22192 [BZ #15073]
22193 * malloc/malloc.c (_int_free): Perform sanity check only if we
22194 have_lock.
22195
22196 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
22197
22198 [BZ #12986]
22199 * manual/stdio.texi (String Input Conversions): Clarify that character
22200 classes are not supported.
22201
22202 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22203
22204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22205
22206 2013-12-22 Joseph Myers <joseph@codesourcery.com>
22207
22208 [BZ #16337]
22209 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22210 Calculate results for small negative arguments directly rather
22211 than using reflection formula with special underflow handling.
22212
22213 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
22214 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
22215 sysdeps/unix/bsd/bsd4.4/syscalls.list.
22216 (fchflags): Likewise.
22217 (revoke): Likewise.
22218 (setlogin): Likewise.
22219 (sigaltstack): Likewise.
22220 (wait4): Likewise.
22221 (sigblock): Remove.
22222 (sigsetmask): Likewise.
22223 (wait3): Likewise.
22224 (waitpid): Likewise.
22225 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
22226 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
22227 file.
22228 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
22229 * sysdeps/unix/bsd/Makefile: ... here.
22230 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
22231 * sysdeps/unix/bsd/Versions: ... here.
22232 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
22233 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
22234 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
22235 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
22236 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
22237 * sysdeps/unix/bsd/sigblock.c: ... here.
22238 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
22239 * sysdeps/unix/bsd/sigsetmask.c: ... here.
22240 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
22241 * sysdeps/unix/bsd/sigvec.c: ... here.
22242 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
22243 * sysdeps/unix/bsd/tcdrain.c: ... here.
22244 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
22245 * sysdeps/unix/bsd/tcgetattr.c: ... here.
22246 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
22247 * sysdeps/unix/bsd/tcsetattr.c: ... here.
22248 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
22249 * sysdeps/unix/bsd/wait.c: ... here.
22250 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
22251 * sysdeps/unix/bsd/wait3.c: ... here.
22252 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
22253 * sysdeps/unix/bsd/waitpid.c: ... here.
22254
22255 2013-12-21 Joseph Myers <joseph@codesourcery.com>
22256
22257 [BZ #16356]
22258 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
22259 round-to-nearest for [!USE_AS_EXPM1L].
22260 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
22261 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
22262 more tests of exp and exp10. Expect some exp10 tests to miss
22263 exceptions or fail in directed rounding modes.
22264 * math/auto-libm-test-out: Regenerated.
22265 * math/libm-test.inc (exp10_tonearest_test_data): New array.
22266 (exp10_test_tonearest): New function.
22267 (exp10_towardzero_test_data): New array.
22268 (exp10_test_towardzero): New function.
22269 (exp10_downward_test_data): New array.
22270 (exp10_test_downward): New function.
22271 (exp10_upward_test_data): New array.
22272 (exp10_test_upward): New function.
22273 (main): Call the new functions.
22274 * sysdeps/i386/fpu/libm-test-ulps: Update.
22275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22276
22277 2013-12-20 Joseph Myers <joseph@codesourcery.com>
22278
22279 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22280 asinh, atan, atan2, atanh, cbrt, cos and cosh.
22281 * math/auto-libm-test-out: Regenerated.
22282 * math/libm-test.inc (acosh_test_data): Add more tests.
22283 (atanh_test_data): Likewise.
22284 (ceil_test_data): Likewise.
22285 (copysign_test_data): Likewise.
22286 * sysdeps/i386/fpu/libm-test-ulps: Update.
22287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22288
22289 * timezone/checktab.awk: Update from tzcode 2013i.
22290 * timezone/private.h: Likewise.
22291 * timezone/scheck.c: Likewise.
22292 * timezone/tzfile.h: Likewise.
22293 * timezone/tzselect.ksh: Likewise.
22294 * timezone/zdump.c: Likewise.
22295 * timezone/zic.c: Likewise.
22296
22297 * math/auto-libm-test-in: Add tests of cpow.
22298 * math/auto-libm-test-out: Regenerated.
22299 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
22300 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22301 mpc_cc_c.
22302 (func_calc_desc): Add mpc_cc_c union field.
22303 (test_functions): Add cpow.
22304 (special_fill_2pi): New function.
22305 (special_real_inputs): Add 2pi.
22306 (calc_generic_results): Handle mpc_cc_c.
22307 * sysdeps/i386/fpu/libm-test-ulps: Update.
22308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22309
22310 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
22311 csqrt, ctan and ctanh.
22312 * math/auto-libm-test-out: Regenerated.
22313 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22314 (TEST_COND_x86): Likewise.
22315 (ccos_test_data): Use AUTO_TESTS_c_c.
22316 (ccosh_test_data): Likewise.
22317 (cexp_test_data): Likewise.
22318 (clog_test_data): Likewise.
22319 (csqrt_test_data): Likewise.
22320 (ctan_test_data): Likewise.
22321 (ctan_tonearest_test_data): Likewise.
22322 (ctan_towardzero_test_data): Likewise.
22323 (ctan_downward_test_data): Likewise.
22324 (ctan_upward_test_data): Likewise.
22325 (ctanh_test_data): Likewise.
22326 (ctanh_tonearest_test_data): Likewise.
22327 (ctanh_towardzero_test_data): Likewise.
22328 (ctanh_downward_test_data): Likewise.
22329 (ctanh_upward_test_data): Likewise.
22330 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22331 mpc_c_c.
22332 (func_calc_desc): Add mpc_c_c union field.
22333 (FUNC_mpc_c_c): New macro.
22334 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
22335 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
22336 ctanh.
22337 (special_fill_min_subnorm_p120): New function.
22338 (special_real_inputs): Add min_subnorm_p120.
22339 (calc_generic_results): Handle mpc_c_c.
22340 * sysdeps/i386/fpu/libm-test-ulps: Update.
22341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22342
22343 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22344
22345 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
22346 (do_sin_slow): New functions.
22347 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
22348 (cslow2, csloww1, csloww2): Use the new functions.
22349
22350 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
22351 Use M to change sign of result instead of X. Assume X is
22352 positive.
22353 (csloww1): Likewise.
22354 (__sin): Adjust.
22355 (__cos): Adjust.
22356
22357 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
22358 arguments A and DA.
22359 (__sin): Adjust.
22360 (__cos): Likewise.
22361
22362 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
22363 (__cos): Likewise.
22364 (sloww1): Don't adjust sign of DX.
22365 (csloww1): Likewise.
22366 (sloww2): Use X directly and don't adjust sign of DX.
22367 (csloww2): Likewise.
22368
22369 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22370
22371 * math/auto-libm-test-in: Add tests of cabs and carg.
22372 * math/auto-libm-test-out: Regenerated.
22373 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
22374 (carg_test_data): Likewise.
22375 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22376 mpc_c_f.
22377 (func_calc_desc): Add mpc_c_f union field.
22378 (test_functions): Add cabs and carg.
22379 (calc_generic_results): Handle mpc_c_f.
22380
22381 * sysdeps/powerpc/powerpc32/libgcc-compat.S
22382 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
22383 as a macro and a compat symbol.
22384 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
22385 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
22386 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
22387 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
22388 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
22389 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
22390 not use .hidden.
22391 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
22392 Likewise.
22393 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
22394 Likewise.
22395 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
22396 Likewise.
22397 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
22398 Likewise.
22399 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
22400 Likewise.
22401 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
22402 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
22403 from GLIBC_2.3.2.
22404
22405 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22406
22407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22408
22409 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22410
22411 * manual/texinfo.tex: Update to version 2013-11-26.10 with
22412 trailing whitespace removed.
22413 * scripts/config.guess: Update to version 2013-11-29.
22414 * scripts/config.sub: Update to version 2013-10-01.
22415
22416 * math/auto-libm-test-in: Add tests of sincos.
22417 * math/auto-libm-test-out: Regenerated.
22418 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
22419 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22420 mpfr_f_11.
22421 (func_calc_desc): Add mpfr_f_11 union field.
22422 (test_functions): Add sincos.
22423 (calc_generic_results): Handle mpfr_f_11.
22424 * sysdeps/i386/fpu/libm-test-ulps: Update.
22425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22426
22427 2013-12-19 Andreas Schwab <schwab@suse.de>
22428
22429 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
22430 CALL_MCOUNT.
22431 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
22432 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
22433 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
22434
22435 2013-12-19 Joseph Myers <joseph@codesourcery.com>
22436
22437 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
22438 * sysdeps/i386/fpu/libm-test-ulps: Update.
22439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22440
22441 [BZ #16293]
22442 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
22443 round-to-nearest mode when using frndint.
22444 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
22445 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
22446 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22447 Likewise.
22448 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
22449 sinh test to fail.
22450 * math/auto-libm-test-out: Regenerated.
22451 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
22452 (TEST_COND_x86): Likewise.
22453 (expm1_tonearest_test_data): New array.
22454 (expm1_test_tonearest): New function.
22455 (expm1_towardzero_test_data): New array.
22456 (expm1_test_towardzero): New function.
22457 (expm1_downward_test_data): New array.
22458 (expm1_test_downward): New function.
22459 (expm1_upward_test_data): New array.
22460 (expm1_test_upward): New function.
22461 (main): Run the new test functions.
22462 * sysdeps/i386/fpu/libm-test-ulps: Update.
22463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22464
22465 * include/features.h: Update comment documenting feature test
22466 macros. Mention _DEFAULT_SOURCE in comment.
22467 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
22468 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
22469 _BSD_SOURCE and _SVID_SOURCE.
22470 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
22471 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
22472 !_SVID_SOURCE]: Likewise.
22473 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22474 (__USE_POSIX_IMPLICITLY): Define.
22475 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22476 (_POSIX_SOURCE): Undefine and redefine.
22477 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
22478 (_POSIX_C_SOURCE): Likewise.
22479 * manual/creature.texi (_DEFAULT_SOURCE): Document.
22480 (Feature Test Macros): Update documentation of default features.
22481
22482 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22483
22484 * benchtests/Makefile: Add bench-strtok.
22485 * benchtests/bench-strtok.c: New file: strtok benchtest.
22486
22487 2013-12-19 Allan McRae <allan@archlinux.org>
22488
22489 * manual/install.texi: Suppress menu for plain text output.
22490 * INSTALL: Regenerated.
22491
22492 2013-12-18 Brooks Moses <bmoses@google.com>
22493
22494 [BZ #15846]
22495 * misc/getauxval.c: Include errno.h.
22496 (__getauxval): Set errno to ENOENT if the requested type is not
22497 found.
22498 * misc/sys/auxv.h (getauxval): Document that it may set errno;
22499 don't declare with __attribute_const__.
22500 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
22501 * manual/startup.texi: Document that getauxval sets errno.
22502
22503 2013-12-18 Joseph Myers <joseph@codesourcery.com>
22504
22505 * math/auto-libm-test-in: Add tests of jn and yn.
22506 * math/auto-libm-test-out: Regenerated.
22507 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
22508 (yn_test_data): Likewise.
22509 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22510 mpfr_if_f.
22511 (func_calc_desc): Add mpfr_if_f union field.
22512 (FUNC_mpfr_if_f): New macro.
22513 (test_functions): Add jn and yn.
22514 (calc_generic_results): Assert type of second input for
22515 mpfr_ff_f. Handle mpfr_if_f.
22516 (output_for_one_input_case): Disable all checking for arguments
22517 fitting floating-point types in case of an integer argument.
22518 * sysdeps/i386/fpu/libm-test-ulps: Update.
22519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22520
22521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22522 Don't expect fegetround reference in libm.so.
22523
22524 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
22525
22526 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
22527 $(config-cflags-nofma).
22528
22529 2013-12-18 Joseph Myers <joseph@codesourcery.com>
22530
22531 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
22532 * math/auto-libm-test-out: Regenerated.
22533
22534 [BZ #16338]
22535 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
22536 to determine exponent and adjust argument to have exponent of -1.
22537 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
22538 log2.
22539 * math/auto-libm-test-out: Regenerated.
22540 * sysdeps/i386/fpu/libm-test-ulps: Update.
22541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22542
22543 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
22544
22545 * manual/probes.texi: Remove cases when per-thread arenas are
22546 disabled.
22547
22548 2013-12-18 Andreas Schwab <schwab@suse.de>
22549
22550 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
22551 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
22552 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
22553 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
22554 * sysdeps/i386/i686/multiarch/Makefile: Update.
22555 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
22556
22557 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22558
22559 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
22560 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
22561
22562 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
22563
22564 [BZ #15968]
22565 Support TZ transition times < 00:00:00.
22566 This is needed for version-3 tz-format files; it supports time
22567 stamps past 2037 for America/Godthab (the only entry in the tz
22568 database for which this change is relevant).
22569 * manual/time.texi (TZ Variable): Document transition times
22570 from -167:59:59 through -00:00:01.
22571 * time/tzset.c (tz_rule): Time of day is now signed.
22572 (__tzset_parse_tz): Parse negative time of day.
22573
22574 Document TZ transition times >= 25:00:00.
22575 * manual/time.texi (TZ Variable): Document transition times from
22576 25:00:00 through 167:59:59. These are already supported, and this
22577 support will help with version-3 tz-format files.
22578
22579 * manual/time.texi (TZ Variable): Modernize North America example
22580 to reflect current (i.e., 2007-and-later) daylight saving rules.
22581
22582 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
22583
22584 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22585
22586 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
22587 * sysdeps/unix/bsd/bits/stat.h: Likewise.
22588 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
22589 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22590 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
22591 * sysdeps/unix/bsd/bsdstat.h: Likewise.
22592 * sysdeps/unix/bsd/clock.c: Likewise.
22593 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
22594 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
22595 * sysdeps/unix/bsd/init-posix.c: Likewise.
22596 * sysdeps/unix/bsd/poll.c: Likewise.
22597 * sysdeps/unix/bsd/ptsname.c: Likewise.
22598 * sysdeps/unix/bsd/seekdir.c: Likewise.
22599 * sysdeps/unix/bsd/setegid.c: Likewise.
22600 * sysdeps/unix/bsd/seteuid.c: Likewise.
22601 * sysdeps/unix/bsd/setgid.c: Likewise.
22602 * sysdeps/unix/bsd/setrgid.c: Likewise.
22603 * sysdeps/unix/bsd/setruid.c: Likewise.
22604 * sysdeps/unix/bsd/setsid.c: Likewise.
22605 * sysdeps/unix/bsd/setuid.c: Likewise.
22606 * sysdeps/unix/bsd/sigaction.c: Likewise.
22607 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
22608 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
22609 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
22610 * sysdeps/unix/bsd/telldir.c: Likewise.
22611 * sysdeps/unix/bsd/times.c: Likewise.
22612 * sysdeps/unix/bsd/usleep.c: Likewise.
22613
22614 * misc/Makefile (install-lib): Remove libbsd-compat.a.
22615 ($(objpfx)libbsd-compat.a): Remove rule.
22616
22617 * include/features.h (__FAVOR_BSD): Do not define.
22618 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
22619 features conflicting with POSIX.
22620 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
22621 (_BSD_SOURCE): Remove description of not being a subset of other
22622 feature test macros.
22623 * manual/job.texi (getpgrp): Do not document BSD version.
22624 (getpgid): Do not document by reference to BSD getpgrp.
22625 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
22626 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
22627 * signal/signal.h [__FAVOR_BSD]: Likewise.
22628 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
22629 instead of making contents conditional on [__FAVOR_BSD].
22630 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
22631
22632 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22633
22634 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22635
22636 2013-12-17 Joseph Myers <joseph@codesourcery.com>
22637
22638 [BZ #16314]
22639 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
22640 values below 2**-450, not 2**-500.
22641 * math/auto-libm-test-in: Don't allow spurious underflow from
22642 hypot.
22643 * math/auto-libm-test-out: Regenerated.
22644
22645 [BZ #16316]
22646 [BZ #16330]
22647 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
22648 values of ha and hb and sort them after adjusting subnormal
22649 arguments.
22650 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
22651 Likewise.
22652 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
22653 values of ea and eb and sort them after adjusting subnormal
22654 arguments.
22655 * math/auto-libm-test-in: Do not expect some hypot tests of
22656 subnormals to fail. Add more hypot tests.
22657 * math/auto-libm-test-out: Regenerated.
22658
22659 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22660
22661 [BZ #13304]
22662 * sysdeps/sh/s_fma.c: New file.
22663 * sysdeps/sh/s_fmaf.c: New file.
22664 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
22665 version.
22666 * sysdeps/sh/Implies: Add sh/soft-fp.
22667
22668 2013-12-16 Roland McGrath <roland@hack.frob.com>
22669
22670 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
22671 level of indirection to members `objname', `errstring', `malloced'.
22672 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
22673 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
22674 it as the __longjmp argument (just pass 1 instead).
22675 (_dl_catch_error): Initialize C with argument pointers and address of
22676 volatile local ERRCODE rather than copying values out of C at return.
22677
22678 2013-12-16 Joseph Myers <joseph@codesourcery.com>
22679
22680 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
22681 * math/auto-libm-test-out: Regenerated.
22682 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
22683 (hypot_test_data): Likewise.
22684 (pow_test_data): Likewise.
22685 (pow_tonearest_test_data): Likewise.
22686 * math/gen-auto-libm-tests.c (func_calc_method): Add value
22687 mpfr_ff_f.
22688 (func_calc_desc): Add mpfr_ff_f union field.
22689 (FUNC_mpfr_ff_f): New macro.
22690 (test_functions): Add atan2, hypot and pow.
22691 (special_fill_min): New function.
22692 (special_fill_minus_min): Likewise.
22693 (special_fill_min_subnorm): Likewise.
22694 (special_fill_minus_min_subnorm): Likewise.
22695 (special_real_inputs): Add min, -min, min_subnorm and
22696 -min_subnorm.
22697 (calc_generic_results): Handle mpfr_ff_f.
22698 * sysdeps/i386/fpu/libm-test-ulps: Update.
22699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22700
22701 2013-12-16 Will Newton <will.newton@linaro.org>
22702
22703 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
22704 (Aligned Memory Blocks): Add documentation for aligned_alloc
22705 and suggest it as an alternative to posix_memalign.
22706 (Hooks for Malloc): Document __memalign_hook is also called
22707 for aligned_alloc. (Summary of Malloc): Add summary for
22708 aligned alloc. Document __memalign_hook is also called
22709 for aligned_alloc.
22710
22711 2013-12-16 Will Newton <will.newton@linaro.org>
22712
22713 * manual/memory.texi (Malloc Examples): Clarify default
22714 alignment documentation. Suggest posix_memalign rather
22715 than memalign or valloc.
22716 (Aligned Memory Blocks): Remove suggestion to use memalign
22717 or valloc. Remove obsolete comment about BSD.
22718 Document memalign errno values and mark the function obsolete.
22719 Document posix_memalign returned error codes. Mark valloc
22720 as obsolete. (Hooks for Malloc): __memalign_hook is also
22721 called for posix_memalign and valloc.
22722 (Summary of Malloc): Add posix_memalign to function summary.
22723 __memalign_hook is also called for posix_memalign and valloc.
22724
22725 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
22726
22727 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
22728 TAYLOR_SIN.
22729 (__sin): Adjust.
22730 (__cos): Likewise.
22731 (sloww): Use mynumber union. Expand ternary operator into
22732 if-else statements.
22733 (cslow): use mynumber union.
22734
22735 2013-12-16 Allan McRae <allan@archlinux.org>
22736
22737 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
22738 * configure: Regenerated.
22739
22740 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
22741
22742 [BZ #14120]
22743 * configure.ac: Added --enable-maintainer-mode. Check for
22744 autoconf when enabled.
22745 * configure: Regenerated.
22746
22747 * nscd/nscd.service: New file.
22748 * nscd/nscd.tmpfiles: New file.
22749
22750 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
22751
22752 [BZ #12100]
22753 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
22754 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
22755 * sysdeps/x86_64/multiarch/strstr.c: ... here.
22756 (strstr): Add __strstr_sse2_unaligned ifunc.
22757 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
22758 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
22759 (strcasestr): Remove __strcasestr_sse42 ifunc.
22760 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
22761 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
22762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
22763
22764 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22765
22766 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
22767 * sysdeps/sh/bits/fenv.h: ... here.
22768 * sysdeps/sh/sh4/fpu/bits: Remove directory.
22769
22770 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22771
22772 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
22773
22774 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
22775 hypotf multiarch implementations.
22776 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
22777 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
22778 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
22779 multiarch hypot for PPC64.
22780 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
22781 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
22782 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
22783 multiarch hypotf for PPC64.
22784
22785 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
22786 modff multiarch implementations.
22787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
22788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
22789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
22790 multiarch modf for PPC64.
22791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
22792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
22793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
22794 multiarch modff for PPC64.
22795
22796 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
22797 and logl multiarch implementations.
22798 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
22799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
22800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
22801 multiarch logb for PPC64.
22802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
22803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
22804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
22805 multiarch logb for PPC64.
22806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
22807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
22808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
22809 multiarch logb for PPC64.
22810
22811 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
22812 isinff multiarch implementation.
22813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
22814 file.
22815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
22816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
22817 multiarch isinf for PPC64.
22818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
22819 file.
22820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
22821 multiarch isinff for PPC64.
22822
22823 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
22824 finitef multiarch implementation.
22825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
22826 file.
22827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
22828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
22829 multiarch finite for PPC64.
22830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
22831 file.
22832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
22833 multiarch finitef for PPC64.
22834
22835 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
22836 lrint multiarch implementation.
22837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
22838 file.
22839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
22840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
22841 multiarch llrint for PPC64.
22842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
22843 multiarch lrint for PPC64.
22844
22845 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
22846 copysignf multiarch implementation.
22847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
22848 file.
22849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
22850 file.
22851 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
22852 multiarch copysign for PPC64.
22853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
22854 multiarch copysignf for PPC64.
22855
22856 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
22857 multiarch implementation.
22858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
22859 file.
22860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
22861 file.
22862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
22863 file.
22864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
22865 file.
22866 multiarch llround for PPC64.
22867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
22868 multiarch trunc for PPC64.
22869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
22870 multiarch truncf for PPC64.
22871
22872 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
22873 multiarch implementation.
22874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
22875 file.
22876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
22877 file.
22878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
22879 file.
22880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
22881 file.
22882 multiarch llround for PPC64.
22883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
22884 multiarch round for PPC64.
22885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
22886 multiarch roundf for PPC64.
22887
22888 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
22889 multiarch implementation.
22890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
22891 file.
22892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
22893 file.
22894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
22895 file.
22896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
22897 file.
22898 multiarch llround for PPC64.
22899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
22900 multiarch floor for PPC64.
22901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
22902 multiarch floorf for PPC64.
22903
22904 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
22905 multiarch implementation.
22906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
22907 file.
22908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
22909 file.
22910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
22911 file.
22912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
22913 file.
22914 multiarch llround for PPC64.
22915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
22916 multiarch ceil for PPC64.
22917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
22918 multiarch ceilf for PPC64.
22919
22920 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
22921 multiarch implementation.
22922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
22923 file.
22924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
22925 file.
22926 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
22927 file.
22928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
22929 multiarch llround for PPC64.
22930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
22931 multiarch lround for PPC64.
22932
22933 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
22934 multiarch implementation.
22935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
22936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
22937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
22938 file.
22939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
22940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
22941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
22942 multiarch isnan for PPC64.
22943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
22944 multiarch isnanf for PPC64.
22945
22946 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
22947 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
22948 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
22949 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
22950 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
22951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
22952
22953 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
22954 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22955 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22956 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22957
22958 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
22959 multiarch implementations.
22960 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22961 (__libc_ifunc_impl_list): Likewise.
22962 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22963 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
22964 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
22965 multiarch stpcpy for PPC64.
22966
22967 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
22968 multiarch implementations.
22969 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22970 (__libc_ifunc_impl_list): Likewise.
22971 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
22972 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
22973 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
22974 multiarch strcpy for PPC64.
22975
22976 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
22977 redefine function name.
22978 (_wordcopy_fwd_dest_aligned): Likewise.
22979 (_wordcopy_bwd_aligned): Likewise.
22980 (_wordcopy_bwd_dest_aligned): Likewise.
22981 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
22982 multiarch implementations.
22983 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22984 (__libc_ifunc_impl_list): Likewise.
22985 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
22986 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
22987 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
22988 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
22989 multiarch wcscpy for PPC64.
22990
22991 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
22992 multiarch implementations.
22993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22994 (__libc_ifunc_impl_list): Likewise.
22995 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
22996 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
22997 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
22998 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
22999 multiarch wcscpy for PPC64.
23000
23001 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
23002 multiarch implementations.
23003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23004 (__libc_ifunc_impl_list): Likewise.
23005 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
23006 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
23007 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
23008 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
23009 multiarch wcsrchr for PPC64.
23010
23011 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
23012 multiarch implementations.
23013 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23014 (__libc_ifunc_impl_list): Likewise.
23015 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
23016 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
23017 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
23018 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
23019 multiarch wcschr for PPC64.
23020
23021 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
23022 multiarch implementations.
23023 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23024 (__libc_ifunc_impl_list): Likewise.
23025 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
23026 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
23027 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
23028 multiarch strchrnul for PPC64.
23029
23030 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
23031 implementations.
23032 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23033 (__libc_ifunc_impl_list): Likewise.
23034 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
23035 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
23036 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
23037 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
23038 strchr for PPC64.
23039
23040 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
23041 implementations.
23042 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23043 (__libc_ifunc_impl_list): Likewise.
23044 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
23045 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
23046 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
23047 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
23048 strncmp for PPC64.
23049
23050 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
23051 multiarch implementations.
23052 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23053 (__libc_ifunc_impl_list): Likewise.
23054 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
23055 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
23056 strncasecmp for PPC64.
23057 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
23058 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
23059 multiarch strncasecmp_l for PPC64.
23060
23061 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
23062 multiarch implementations.
23063 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23064 (__libc_ifunc_impl_list): Likewise.
23065 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
23066 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
23067 multiarch strcasecmp for PPC64.
23068 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
23069 file.
23070 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
23071 multiarch strcasecmp_l for PPC64.
23072
23073 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
23074 implementations.
23075 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23076 (__libc_ifunc_impl_list): Likewise.
23077 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
23078 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
23079 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
23080 strnlen for PPC64.
23081
23082 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
23083 implementations.
23084 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23085 (__libc_ifunc_impl_list): Likewise.
23086 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
23087 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
23088 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
23089 strlen for PPC64.
23090
23091 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
23092 implementations.
23093 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23094 (__libc_ifunc_impl_list): Likewise.
23095 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
23096 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
23097 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
23098 rawmemrchr for PPC64.
23099
23100 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
23101 implementation.
23102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23103 (__libc_ifunc_impl_list): Likewise.
23104 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
23105 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
23106 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
23107 memrchr for PPC64.
23108
23109 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
23110 implementation.
23111 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23112 (__libc_ifunc_impl_list): Likewise.
23113 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
23114 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
23115 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
23116 memchr for PPC64.
23117
23118 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
23119 implementation.
23120 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23121 (__libc_ifunc_impl_list): Likewise.
23122 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
23123 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
23124 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
23125 mempcpy for PPC64.
23126
23127 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
23128 avoid cretion of __bzero symbol.
23129 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
23130 Likewise.
23131 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
23132 Likewise.
23133 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
23134 Likewise.
23135 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
23136 multiarch implementations.
23137 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23138 (__libc_ifunc_impl_list): Likewise.
23139 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
23140 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
23141 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
23142 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
23143 bzero for PPC32.
23144 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
23145 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
23146 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
23147 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
23148 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
23149 memset for PPC64.
23150 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
23151
23152 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
23153 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
23154 implementations.
23155 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23156 (__libc_ifunc_impl_list): Likewise.
23157 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
23158 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
23159 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
23160 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
23161 memcmp for PPC64.
23162
23163 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
23164 multiarch for POWER/PPC64.
23165 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23166 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
23167 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
23168 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
23169 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
23170 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
23171 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
23172 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
23173 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
23174 memcpy for PPC64.
23175
23176 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
23177 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
23178 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
23179 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
23180 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
23181 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
23182 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
23183 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
23184 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
23185 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
23186 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
23187 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
23188 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
23189 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
23190 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
23191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
23192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
23193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
23194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
23195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
23196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
23197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
23198
23199 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23200
23201 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
23202
23203 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23204
23205 * benchtests/Makefile (bench): Add exp2 and log2.
23206 (LDLIBS-bench-exp2): Add -lm.
23207 (LDLIBS-bench-log2): Likewise.
23208 * benchtests/exp2-inputs: New inputs file.
23209 * benchtests/log2-inputs: New inputs file.
23210 * benchtests/log-inputs: Add new inputs.
23211 * benchtests/tan-inputs: Likewise.
23212
23213 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23214
23215 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
23216 definition...
23217 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
23218 (csloww2): ... from here.
23219
23220 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
23221 instead of structures.
23222 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
23223 (POLYNOMIAL): Likewise.
23224 (TAYLOR_SLOW): Likewise.
23225 (__sin): Likewise.
23226 (__cos): Likewise.
23227 (slow1): Likewise.
23228 (slow2): Likewise.
23229 (sloww): Likewise.
23230 (sloww1); Likewise.
23231 (sloww2): Likewise.
23232 (bsloww1): Likewise.
23233 (bsloww2): Likewise.
23234 (cslow2): Likewise.
23235 (csloww): Likewise.
23236 (csloww1): Likewise.
23237 (csloww2): Likewise.
23238
23239 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
23240
23241 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
23242 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
23243 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
23244 * malloc/hooks.c (realloc_check): Likewise.
23245
23246 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
23247 * malloc/arena.c: Remove PER_THREAD conditional.
23248 [!PER_THREAD]: Remove code.
23249 (ptmalloc_unlock_all2): Likewise.
23250 (ptmalloc_init): Likewise.
23251 (_int_new_arena): Likewise.
23252 (arena_get2): Likewise.
23253 * malloc/hooks.c (__malloc_get_state): Likewise.
23254 (__malloc_set_state): Likewise.
23255 * malloc/malloc.c: Likewise.
23256 (struct malloc_state): Likewise.
23257 (struct malloc_par): Likewise.
23258 (__libc_realloc): Likewise.
23259 (__libc_mallopt): Likewise.
23260
23261 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23262
23263 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
23264
23265 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
23266
23267 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
23268 macro to a function. Check for zero perturb_byte.
23269 (_int_malloc, _int_free): Remove zero perturb_byte checks.
23270
23271 * malloc/malloc.c: (force_reg): Remove.
23272 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
23273 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
23274 force_reg by atomic_forced_read.
23275 * malloc/arena.c (ptmalloc_init): Likewise.
23276 * malloc/hooks.c (top_check): Likewise.
23277
23278 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23279
23280 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23281
23282 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
23283
23284 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23285
23286 2013-12-08 Joseph Myers <joseph@codesourcery.com>
23287
23288 * math/auto-libm-test-in: Add tests of lgamma.
23289 * math/auto-libm-test-out: Regenerated.
23290 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
23291 (M_LOG_2_SQRT_PIl): Likewise.
23292 (lgamma_test_data): Use AUTO_TESTS_f_f1.
23293 * math/gen-auto-libm-tests.c (func_calc_method): Add value
23294 mpfr_f_f1.
23295 (func_calc_desc): Add mpfr_f_f1 union field.
23296 (ARGS1): New macro.
23297 (ARGS2): Likewise.
23298 (ARGS3): Likewise.
23299 (ARGS4): Likewise.
23300 (RET1): Likewise.
23301 (RET2): Likewise.
23302 (CALC): Likewise.
23303 (FUNC): Likewise.
23304 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
23305 (test_functions): Add lgamma.
23306 (calc_generic_results): Handle mpfr_f_f1.
23307 * sysdeps/i386/fpu/libm-test-ulps: Update.
23308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23309
23310 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23311
23312 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
23313 __mpn_add_n for PowerPC64/POWER7.
23314 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
23315 __mpn_sub_n for PowerPC64/POWER7.
23316
23317 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
23318 __mpn_addmul_1 for PowerPC64.
23319 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
23320 __mpn_submul_1 for PowerPC64.
23321 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
23322 for PowerPC64.
23323 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
23324 for PowerPC64.
23325
23326 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
23327
23328 [BZ #15089]
23329 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
23330
23331 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23332
23333 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
23334
23335 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
23336 add multiarch folders.
23337 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
23338 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
23339 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
23340 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
23341 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
23342 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
23343 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
23344 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
23345 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
23346 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
23347 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
23348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
23349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
23350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
23351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
23352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
23353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
23354
23355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23356 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
23357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
23358 New file.
23359 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
23360 New file.
23361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
23362 multiarch __ieee754_hypot for PowerPC32.
23363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
23364 New file.
23365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
23366 New file.
23367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
23368 multiarch __ieee754_hypotf for PowerPC32.
23369
23370 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
23371 long_double_symbol only if __logbl is defined.
23372 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
23373 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
23374 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
23375 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
23376 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
23377 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
23378 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
23379 path for implementation.
23380 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
23381 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
23382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
23383 logb, and logbl multiarch implementations for PowerPC32.
23384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
23385 file.
23386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
23387 file.
23388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
23389 multiarch logb for PowerPC32.
23390 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
23391 file.
23392 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
23393 file.
23394 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
23395 multiarch logbf for PowerPC32.
23396 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
23397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
23398 file.
23399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
23400 multiarch logbl implementation for PowerPC32.
23401
23402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
23403 and modff multiarch implementations.
23404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
23405 New file.
23406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
23407 New file.
23408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
23409 multiarch modf for PowerPC32.
23410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
23411 New file.
23412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
23413 New file.
23414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
23415 multiarch modff for PowerPC32.
23416
23417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
23418 and lrintf multiarch implementations.
23419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
23420 New file.
23421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
23422 New file.
23423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
23424 multiarch lrint for PowerPC32.
23425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
23426 file: multiarch lrintf for PowerPC32.
23427
23428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
23429 and lroundf multiarch implementations.
23430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
23431 New file.
23432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
23433 New file.
23434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
23435 New file.
23436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
23437 multiarch lround for PowerPC32.
23438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
23439 file: multiarch lroundf for PowerPC32.
23440
23441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
23442 copysign and copysignf multiarch implementations.
23443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
23444 New file.
23445 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
23446 New file.
23447 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
23448 file: multiarch copysign for PowerPC32.
23449 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
23450 file: multiarch copysignf for PowerPC32.
23451
23452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
23453 and truncf multiarch implementations.
23454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
23455 New file.
23456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
23457 file.
23458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
23459 multiarch trunc for PowerPC32.
23460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
23461 New file.
23462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
23463 New file.
23464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
23465 multiarch truncf for PowerPC32.
23466
23467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
23468 and roundf multiarch implementations.
23469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
23470 New file.
23471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
23472 file.
23473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
23474 multiarch round for PowerPC32.
23475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
23476 New file.
23477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
23478 New file.
23479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
23480 multiarch roundf for PowerPC32.
23481
23482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
23483 and floorf multiarch implementations.
23484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
23485 New file.
23486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
23487 file.
23488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
23489 multiarch floor for PowerPC32.
23490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
23491 New file.
23492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
23493 New file.
23494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
23495 multiarch floorf for PowerPC32.
23496
23497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
23498 and ceilf multiarch implementations.
23499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
23500 New file.
23501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
23502 file.
23503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
23504 multiarch ceil for PowerPC32.
23505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
23506 New file.
23507 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
23508 file.
23509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
23510 multiarch ceilf for PowerPC32.
23511
23512 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
23513 is defined.
23514 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
23515 FINITEF is defined.
23516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
23517 and finitef multiarch implementations.
23518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
23519 New file.
23520 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
23521 file.
23522 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
23523 multiarch finite for PowerPC32.
23524 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
23525 New file.
23526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
23527 file: multiarch finitef for PowerPC32.
23528
23529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
23530 and isinff multiarch implementations.
23531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
23532 file.
23533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
23534 file.
23535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
23536 multiarch isinf for PowerPC32.
23537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
23538 New file.
23539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
23540 multiarch isinff for PowerPC32.
23541
23542 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
23543 alias when __isnan is defined.
23544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
23545 and isnanf multiarch implementations.
23546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
23547 file.
23548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
23549 file.
23550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
23551 file.
23552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
23553 file.
23554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
23555 multiarch isnan for PowerPC32.
23556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
23557 New file.
23558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
23559 New file.
23560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
23561 multiarch isnanf for PowerPC32.
23562
23563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
23564 and sqrtf multiarch implementations.
23565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
23566 file.
23567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
23568 file.
23569 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
23570 multiarch sqrt for PowerPC32.
23571 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
23572 file.
23573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
23574 file.
23575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
23576 multiarch sqrtf for PowerPC32.
23577
23578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
23579 and llroundf multiarch implementations.
23580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
23581 New file.
23582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
23583 New file.
23584 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
23585 New file.
23586 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
23587 file: multiarch llround for PowerPC32.
23588 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
23589 file: multiarch llroundf for PowerPC32.
23590
23591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
23592 multiarch PowerPC32 fpu implementations.
23593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
23594 New file.
23595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
23596 New file.
23597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
23598 multiarch llrint for PowerPC32.
23599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
23600 New file.
23601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
23602 New file.
23603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
23604 file.
23605
23606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
23607
23608 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
23609 file.
23610 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
23611 file.
23612 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
23613 file.
23614 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
23615 multiarch wordcopy for PPC32.
23616 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23617 wordcopy objects.
23618 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23619 (__libc_ifunc_impl_list): Likewise.
23620 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
23621 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
23622 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
23623 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
23624 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
23625 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
23626
23627 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
23628 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
23629 file.
23630 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
23631 file.
23632 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
23633 file.
23634 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
23635 multiarch wcscpy for PPC32.
23636 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
23637 multiarch objects.
23638 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23639 (__libc_ifunc_impl_list): Likewise.
23640 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23641 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23642 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
23643 sysdeps/powerpc/power6/wcscpy.c.
23644
23645 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
23646 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
23647 file.
23648 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
23649 file.
23650 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
23651 file.
23652 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
23653 multiarch wcsrchr for PPC32.
23654 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23655 multiarch objects.
23656 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23657 (__libc_ifunc_impl_list): Likewise.
23658 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
23659 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
23660 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
23661 sysdeps/powerpc/power6/wcsrchr.c.
23662
23663 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
23664 file.
23665 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
23666 file.
23667 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
23668 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
23669 multiarch wcschr for PPc32.
23670 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
23671 multiarch objects.
23672 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23673 (__libc_ifunc_impl_list): Likewise.
23674 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
23675 * sysdeps/powerpc/power6/wcschr.c: ... to here.
23676 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
23677 sysdeps/powerpc/power6/wcschr.c.
23678
23679 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
23680 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
23681 file.
23682 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
23683 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
23684 file: multiarch strchr for PPC32.
23685 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
23686 multiarch objects.
23687 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23688 (__libc_ifunc_impl_list): Likewise.
23689
23690 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
23691 name.
23692 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
23693 file.
23694 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
23695 file.
23696 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
23697 multiarch strchrnul for PPC32.
23698 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
23699 multiarch objects.
23700 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23701 (__libc_ifunc_impl_list): Likewise.
23702
23703 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
23704 file.
23705 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
23706 multiarch strncasecmp for PPC32.
23707 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
23708 file.
23709 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
23710 multiarch strncasecmp_l for PPC32.
23711 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
23712 strncasecmp multiarch objects.
23713 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23714 (__libc_ifunc_impl_list): Likewise.
23715
23716 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
23717 file.
23718 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
23719 multiarch strncasecmp for PPC32.
23720 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
23721 New file.
23722 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
23723 multiarch strcasecmp_l for PPC32.
23724 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
23725 multiarch objects.
23726 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23727 (__libc_ifunc_impl_list): Likewise.
23728
23729 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
23730 file.
23731 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
23732 file.
23733 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
23734 multiarch strncmp for PPC32.
23735 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
23736 multiarch objects.
23737 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23738 (__libc_ifunc_impl_list): Likewise.
23739
23740 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
23741 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
23742 file.
23743 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
23744 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
23745 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
23746 multiarch objects.
23747 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23748 (__libc_ifunc_impl_list): Likewise.
23749
23750 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
23751 file.
23752 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
23753 file.
23754 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
23755 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
23756 multiarch objects.
23757 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23758 (__libc_ifunc_impl_list): Likewise.
23759
23760 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
23761 file.
23762 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
23763 file.
23764 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
23765 multiarch rawmemchr for PPC32.
23766 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
23767 multiarch objects.
23768 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23769 (__libc_ifunc_impl_list): Likewise.
23770
23771 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
23772 file.
23773 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
23774 file.
23775 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
23776 file: memrchr multiarch for PPC32.
23777 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
23778 multiarch objects.
23779 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
23780 (__libc_ifunc_impl_list): Likewise.
23781
23782 * string/memchr.c (__memchr): Using macro to redefine symbol name.
23783 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
23784 file.
23785 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
23786 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
23787 multiarch memchr for PPC32.
23788 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
23789 multiarch objects.
23790 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23791 (__libc_ifunc_impl_list): Likewise.
23792
23793 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
23794 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
23795 file.
23796 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
23797 file.
23798 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
23799 file: multiarch mempcpy for PPC32.
23800 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
23801 multiarch objects.
23802 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23803 (__libc_ifunc_impl_list): Likewise.
23804
23805 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
23806 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
23807 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
23808 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
23809 multiarch bzero for PPC32.
23810 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
23811 file.
23812 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
23813 file.
23814 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
23815 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
23816 file: multiarch memset for PPC32.
23817 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
23818 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
23819 memset multiarch objects.
23820 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23821 (__libc_ifunc_impl_list): Likewise.
23822
23823 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
23824 file.
23825 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
23826 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
23827 memcmp for PPC32.
23828 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
23829 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
23830 multiarch objects.
23831 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23832 (__libc_ifunc_impl_list): Likewise.
23833
23834 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
23835 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
23836 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
23837 file.
23838 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
23839 file.
23840 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
23841 file.
23842 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
23843 multiarch memcpy for PPC32.
23844 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
23845 multiarch objects.
23846 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
23847 (__libc_ifunc_impl_list): Likewise.
23848
23849 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
23850 support multiarch for POWER/PPC32.
23851 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
23852 Likewise.
23853 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
23854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
23855 Implies file to make multiarch folder appers before the fpu and
23856 default folder for power4 configuration.
23857
23858 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
23859
23860 * scripts/bench.pl: Append volatile keyword to type.
23861
23862 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23863
23864 * sysdeps/sh/sotruss-lib.c: New file.
23865 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
23866
23867 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23868
23869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23870
23871 2013-12-05 Joseph Myers <joseph@codesourcery.com>
23872
23873 [BZ #6810]
23874 * math/w_tgamma.c: Include <errno.h>.
23875 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
23876 * math/w_tgammaf.c: Include <errno.h>.
23877 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
23878 * math/w_tgammal.c: Include <errno.h>.
23879 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
23880 * math/auto-libm-test-in: Do not allow missing errno on tgamma
23881 underflow. Add more tgamma tests.
23882 * math/auto-libm-test-out: Regenerated.
23883 * sysdeps/i386/fpu/libm-test-ulps: Update.
23884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23885
23886 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
23887 sin, sinh, tan, tanh, tgamma, y0 and y1.
23888 * math/auto-libm-test-out: Regenerated.
23889 * math/libm-test.inc (TEST_COND_x86_64): New macro.
23890 (TEST_COND_x86): Likewise.
23891 (M_E2l): Remove macro.
23892 (M_E3l): Likewise.
23893 (M_2_SQRT_PIl): Likewise.
23894 (M_SQRT_PIl): Likewise.
23895 (M_1_DIV_El): Likewise.
23896 (log_test_data): Use AUTO_TESTS_f_f.
23897 (log10_test_data): Likewise.
23898 (log1p_test_data): Likewise.
23899 (log2_test_data): Likewise.
23900 (sin_test_data): Likewise.
23901 (sin_tonearest_test_data): Likewise.
23902 (sin_towardzero_test_data): Likewise.
23903 (sin_downward_test_data): Likewise.
23904 (sin_upward_test_data): Likewise.
23905 (sinh_test_data): Likewise.
23906 (sinh_tonearest_test_data): Likewise.
23907 (sinh_towardzero_test_data): Likewise.
23908 (sinh_downward_test_data): Likewise.
23909 (sinh_upward_test_data): Likewise.
23910 (tan_test_data): Likewise.
23911 (tan_tonearest_test_data): Likewise.
23912 (tan_towardzero_test_data): Likewise.
23913 (tan_downward_test_data): Likewise.
23914 (tan_upward_test_data): Likewise.
23915 (tanh_test_data): Likewise.
23916 (tgamma_test_data): Likewise.
23917 (y0_test_data): Likewise.
23918 (y1_test_data): Likewise.
23919 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
23920 (special_real_inputs): Add pi/4.
23921 * sysdeps/i386/fpu/libm-test-ulps: Update.
23922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23923
23924 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23925
23926 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
23927 "longjmp_target" static probes.
23928 (__longjmp): Rename to __longjmp_symbol.
23929 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
23930 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
23931 on which longjmp to generate.
23932 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23933 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
23934 probe.
23935 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23936 (__sigjmp_save): Rename to __sigjmp_save_symbol.
23937 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
23938 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
23939 and __sigjmp_save_symbol based on which sigsetjmp to generated.
23940 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
23941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
23942 __longjmp_symbol based on which __longjmp to generate.
23943 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
23944 probe.
23945 (setjmp): Rename to setjmp_symbol.
23946 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23947 (_setjmp): Rename to _setjmp_symbol.
23948 (__sigsetjmp): Rename to __sigsetjmp_symbol.
23949 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
23950 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
23951 which setjmp to generate.
23952 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
23953 "longjmp_target" static probes.
23954
23955 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
23956
23957 * benchtests/README: Add note about output arguments.
23958 * benchtests/bench-sincos.c: Remove file.
23959 * benchtests/sincos-inputs: New file.
23960 * scripts/bench.pl: Identify output arguments and define
23961 static variables for them.
23962
23963 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
23964
23965 [BZ #15941]
23966 * Makefile (INSTALL): Add install-plain.texi as the primary
23967 dependency.
23968 * manual/install-plain.texi: New file.
23969 * manual/install.texi: Include node directive only for
23970 non-plaintext output.
23971
23972 2013-12-04 Joseph Myers <joseph@codesourcery.com>
23973
23974 * stdlib/longlong.h: Update from GCC.
23975
23976 [BZ #6807]
23977 [BZ #15901]
23978 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
23979 * math/w_j0f.c (y0f): Likewise.
23980 * math/w_j0l.c (__y0l): Likewise.
23981 * math/w_j1.c (y1): Likewise.
23982 * math/w_j1f.c (y1f): Likewise.
23983 * math/w_j1l.c (__y1l): Likewise
23984 * math/w_jn.c (yn): Likewise.
23985 * math/w_jnf.c (ynf): Likewise.
23986 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
23987 Bessel function pole errors in _POSIX_ mode. Use NAN as return
23988 value for Bessel function domain errors outside _SVID_ mode.
23989 Adjust sign of return value for yn (negative integer, 0).
23990 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
23991 by zero in return for negative x and set sign appropriately for
23992 negative n.
23993 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
23994 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23995 * math/libm-test.inc (y0_test_data): Add more tests and adjust
23996 expectations in error cases.
23997 (y1_test_data): Likewise.
23998 (yn_test_data): Likewise.
23999 * sysdeps/i386/fpu/libm-test-ulps: Update.
24000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24001
24002 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24003
24004 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
24005 "64" to "64-v1". Add "64-v2".
24006 (abi-64-options): Rename to ...
24007 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
24008 (abi-64-condition): Rename to ...
24009 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
24010 (abi-64-ld-soname): Rename to ...
24011 (abi-64-v1-ld-soname): ... this.
24012 (abi-64-v2-options): Define.
24013 (abi-64-v2-condition): Likewise.
24014 (abi-64-v2-ld-soname): Likewise.
24015 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
24016 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
24017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
24018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
24019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
24020
24021 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24022 Alan Modra <amodra@gmail.com>
24023
24024 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
24025 New versions for use with the ELFv2 ABI.
24026 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
24027 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
24028 declaration.
24029 (struct La_ppc64v2_retval): Likewise.
24030 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
24031 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
24032 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
24033 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
24034 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
24035 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24036 Do not save or restore CR.
24037 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
24038 (_dl_profile_resolve): Do no save or restore CR. Support extended
24039 return values for ELFv2 ABI. Fix location of FPR return registers.
24040 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
24041 updated values for _CALL_ELF == 2.
24042 (La_regs, La_retval, int_retval): Likewise.
24043
24044 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24045
24046 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
24047 (FRAME_MIN_SIZE_PARM): Likewise.
24048 (FRAME_BACKCHAIN): Likewise.
24049 (FRAME_CR_SAVE): Likewise.
24050 (FRAME_LR_SAVE): Likewise.
24051 (FRAME_TOC_SAVE): Likewise.
24052 (FRAME_PARM_SAVE): Likewise.
24053 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
24054 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
24055 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24056 (call_mcount_parm_offset): New macro.
24057 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
24058 (PROF): Use symbolic stack frame offsets.
24059 (TAIL_CALL_SYSCALL_ERROR): Likewise.
24060 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
24061 Redefine in terms of FRAME_MIN_SIZE.
24062 (_dl_runtime_resolve): Use symbolic stack frame offsets.
24063 (_dl_profile_resolve): Likewise. Update comment.
24064 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
24065 symbols stack frame offsets.
24066 (__sigsetjmp): Likewise.
24067 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
24068 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
24069 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
24070 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
24071
24072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
24073 (FRAME_BACKCHAIN): Remove.
24074 (FRAME_CR_SAVE): Likewise.
24075 (FRAME_LR_SAVE): Likewise.
24076 (FRAME_COMPILER_DW): Likewise.
24077 (FRAME_LINKER_DW): Likewise.
24078 (FRAME_TOC_SAVE): Likewise.
24079 (FRAME_PARM_SAVE): Likewise.
24080 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
24081 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
24082 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
24084 (CHECK_SP): Use symbolic stack frame offsets.
24085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
24086 zone" instead of caller's parameter save area for temp storage.
24087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24088 Likewise. Also, use symbolic stack frame offsets.
24089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
24090 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
24091 our own stack frame instead of the caller's.
24092 (__socket): Use symbolic stack frame offsets.
24093
24094 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24095 Alan Modra <amodra@gmail.com>
24096
24097 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
24098 Define.
24099 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
24100 (PPC64_LOCAL_ENTRY_OFFSET): Define.
24101 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
24102 New function.
24103 (elf_machine_fixup_plt): Call it.
24104 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
24105 reloc arguments.
24106 (elf_machine_rela): Update call to elf_machine_plt_conflict.
24107 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24108 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
24109 r2 before calling target.
24110
24111 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24112 Alan Modra <amodra@gmail.com>
24113
24114 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
24115 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
24116 versions of macros to support ELFv2 ABI.
24117 (LOCALENTRY): New macro.
24118 (ENTRY, EALIGN): Use it.
24119 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
24120 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
24121 fall through into ENTRY entry point.
24122 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
24123 Only define if _CALL_ELF != 2.
24124
24125 (elf_machine_matches_host): Verify ABI version matches.
24126 (RTLD_START): Use LOCALENTRY.
24127 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
24128 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
24129 (PLT_ENTRY_WORDS): New macro.
24130 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
24131 (elf_machine_runtime_setup): Support ELFv2 ABI.
24132 (elf_machine_fixup_plt): Likewise.
24133 (elf_machine_plt_conflict): Likewise.
24134 (resolve_ifunc): Likewise.
24135 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24136 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24137 Likewise.
24138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
24139 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
24140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24141 (makecontext): Support ELFv2 ABI.
24142 * elf/elf.h (EF_PPC64_ABI): Define.
24143
24144 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24145
24146 * sysdeps/powerpc/powerpc64/sysdep.h
24147 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
24148 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
24149 (ENTRY) [ASSEMBLER]: ... but instead here ...
24150 (EALIGN) [ASSEMBLER]: ... and here.
24151 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
24152 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
24153 (ENTRY_2) [!ASSEMBLER]: Use it.
24154 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
24155 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
24156 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24157 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
24158 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
24159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
24160 Use PPC64_LOAD_FUNCPTR.
24161
24162 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
24163
24164 2013-12-04 Alan Modra <amodra@gmail.com>
24165
24166 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
24167 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
24168 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
24169 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
24170
24171 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
24172 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
24173 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
24174 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
24175 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
24176 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
24177
24178 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
24179
24180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24181 (__makecontext): Fix incorrect CFI when backtracing out of
24182 context created via makecontext.
24183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
24184 (__setcontext): Fix incorrect CFI during switch to new context.
24185 (__novec_setcontext): Likewise.
24186
24187 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24188
24189 [BZ #4772]
24190 * time/strptime_l.c (__strptime_internal): Allow modifiers
24191 in strptime.
24192 * time/tst-strptime.c (day_tests): Add testcase.
24193
24194 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24195
24196 * scripts/bench.pl: Skip over blank lines.
24197
24198 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
24199
24200 [BZ #926]
24201 * manual/time.texi (Calendar Time): Clarify what timezone functions
24202 use.
24203
24204 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24205
24206 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24207
24208 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
24209
24210 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
24211 implementation.
24212 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
24213 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
24214 * debug/memset_chk.c (__memset_chk): Likewise.
24215 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
24216 * debug/strncpy_chk.c: Likewise.
24217
24218 2013-12-03 Joseph Myers <joseph@codesourcery.com>
24219
24220 [BZ #15268]
24221 [BZ #15425]
24222 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
24223 (__ieee754_exp): For possibly underflowing results, check size of
24224 result and force underflow exception if required.
24225 * math/auto-libm-test-in: Add more tests of exp.
24226 * math/auto-libm-test-out: Regenerated.
24227 * sysdeps/i386/fpu/libm-test-ulps: Update.
24228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24229
24230 [BZ #16283]
24231 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
24232 * math/w_exp2f.c (__exp2f): Likewise.
24233 * math/w_exp2l.c (__exp2l): Likewise.
24234 * math/auto-libm-test-in: Do not allow missing errno on exp2
24235 underflow.
24236 * math/auto-libm-test-out: Regenerated.
24237
24238 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
24239
24240 [BZ #16274]
24241 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
24242 handle filename validation.
24243 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
24244 (do_open): Delete.
24245
24246 2013-12-03 Joseph Myers <joseph@codesourcery.com>
24247
24248 [BZ #6786]
24249 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
24250 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
24251 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
24252 <float.h>.
24253 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
24254 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
24255 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24256 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
24257 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24258 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
24259 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
24260 * math/auto-libm-test-in: Don't allow missing errno from erfc.
24261 Add more erfc tests.
24262 * math/auto-libm-test-out: Regenerated.
24263 * sysdeps/i386/fpu/libm-test-ulps: Update.
24264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24265
24266 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
24267 exp2, expm1, j0 and j1.
24268 * math/auto-libm-test-out: Regenerated.
24269 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
24270 (erfc_test_data): Likewise.
24271 (exp_test_data): Likewise.
24272 (exp_tonearest_test_data): Likewise.
24273 (exp_towardzero_test_data): Likewise.
24274 (exp_downward_test_data): Likewise.
24275 (exp_upward_test_data): Likewise.
24276 (exp10_test_data): Likewise.
24277 (exp2_test_data): Likewise.
24278 (expm1_test_data): Likewise.
24279 (j0_test_data): Likewise.
24280 (j1_test_data): Likewise.
24281 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
24282 (input_flag_type): Add flag_xfail_rounding.
24283 (input_flags): Add xfail-rounding.
24284 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
24285 (output_for_one_input_case): Handle flag_xfail_rounding.
24286 * sysdeps/i386/fpu/libm-test-ulps: Update.
24287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24288
24289 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
24290
24291 [BZ #16289]
24292 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
24293 division by 0.
24294
24295 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24296
24297 [BZ #16195]
24298 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
24299 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
24300 (STAP_PROBE0): New macro.
24301 (STAP_PROBE1): Likewise.
24302 (STAP_PROBE2): Likewise.
24303 (STAP_PROBE3): Likewise.
24304 (STAP_PROBE4): Likewise.
24305
24306 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
24307
24308 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
24309
24310 2013-12-02 Steve Ellcey <sellcey@mips.com>
24311
24312 * benchtests/Makefile (bench): Add sqrt.
24313 (LDLIBS-bench-sqrt): New.
24314 * benchtests/sqrt-input: New.
24315
24316 2013-12-02 Pavel Simerda <psimerda@redhat.com>
24317
24318 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
24319 (GAIH_EAI): Likewise.
24320 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
24321 (gaih_inet): Likewise.
24322 (getaddrinfo): Don't use GAIH_EAI.
24323
24324 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
24325 (struct gaih): Remove definition.
24326
24327 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
24328
24329 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
24330 Use HERRNOP directly.
24331
24332 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24333
24334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24335
24336 2013-11-30 Joseph Myers <joseph@codesourcery.com>
24337
24338 * math/gen-auto-libm-tests.c (test_functions): Add more
24339 single-argument functions.
24340 (special_fill_pi_2): New function.
24341 (special_fill_minus_pi_2): Likewise.
24342 (special_fill_pi_6): Likewise.
24343 (special_fill_minus_pi_6): Likewise.
24344 (special_fill_pi_3): Likewise.
24345 (special_fill_2pi_3): Likewise.
24346 (special_fill_e): Likewise.
24347 (special_fill_1_e): Likewise.
24348 (special_fill_e_minus_1): Likewise.
24349 (special_real_inputs): Add more special inputs.
24350 (output_for_one_input_case): Do not require ERANGE on underflow to
24351 zero if round-to-nearest result does not underflow to zero, unless
24352 exact results required.
24353 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
24354 atan, atanh, cbrt, cos and cosh.
24355 * math/auto-libm-test-out: Regenerated.
24356 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
24357 (acos_tonearest_test_data): Likewise.
24358 (acos_towardzero_test_data): Likewise.
24359 (acos_downward_test_data): Likewise.
24360 (acos_upward_test_data): Likewise.
24361 (acosh_test_data): Likewise.
24362 (asin_test_data): Likewise.
24363 (asin_tonearest_test_data): Likewise.
24364 (asin_towardzero_test_data): Likewise.
24365 (asin_upward_test_data): Likewise.
24366 (asinh_test_data): Likewise.
24367 (atan_test_data): Likewise.
24368 (atanh_test_data): Likewise.
24369 (cbrt_test_data): Likewise.
24370 (cos_test_data): Likewise.
24371 (cos_tonearest_test_data): Likewise.
24372 (cos_towardzero_test_data): Likewise.
24373 (cos_downward_test_data): Likewise.
24374 (cos_upward_test_data): Likewise.
24375 (cosh_test_data): Likewise.
24376 (cosh_tonearest_test_data): Likewise.
24377 (cosh_towardzero_test_data): Likewise.
24378 (cosh_downward_test_data): Likewise.
24379 (cosh_upward_test_data): Likewise.
24380 * sysdeps/i386/fpu/libm-test-ulps: Update.
24381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24382
24383 2013-11-29 Joseph Myers <joseph@codesourcery.com>
24384
24385 [BZ #6787]
24386 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
24387 * math/w_exp10f.c (__exp10f): Likewise.
24388 * math/w_exp10l.c (__exp10l): Likewise.
24389 * math/libm-test.inc (exp10_test_data): Add more tests and expect
24390 errno settings in existing tests.
24391
24392 [BZ #14032]
24393 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
24394 precision control set to double precision.
24395 * sysdeps/i386/fpu/w_sqrt.c: New file.
24396 * math/auto-libm-test-in: Add more tests.
24397 * math/auto-libm-test-out: Update.
24398
24399 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
24400 (sqrt_test_tonearest): New function.
24401 (sqrt_towardzero_test_data): New variable.
24402 (sqrt_test_towardzero): New function.
24403 (sqrt_downward_test_data): New variable.
24404 (sqrt_test_downward): New function.
24405 (sqrt_upward_test_data): New variable.
24406 (sqrt_test_upward): New function.
24407 (main): Call the new functions.
24408
24409 * math/gen-auto-libm-tests.c: New file.
24410 * math/auto-libm-test-in: Likewise.
24411 * math/auto-libm-test-out: New generated file.
24412 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
24413 variables.
24414 (%beautify): Add generated representations of zero.
24415 (top level): Set $auto_input and call parse_auto_input.
24416 (beautify): Remove trailing "f" from hex float constants.
24417 (parse_args): Handle XFAIL_TEST.
24418 (convert_condition): New function.
24419 (or_value): Likewise.
24420 (or_cond_value): Likewise.
24421 (generate_testfile): Handle AUTO_TESTS_* lines.
24422 (parse_auto_input): New function.
24423 * math/libm-test.inc (XFAIL_TEST): New macro.
24424 (ERRNO_UNCHANGED): Update value.
24425 (ERRNO_EDOM): Likewise.
24426 (ERRNO_ERANGE): Likewise.
24427 (IGNORE_RESULT): Likewise.
24428 (TEST_COND_flt_32): New macro.
24429 (TEST_COND_dbl_64): Likewise.
24430 (TEST_COND_ldbl_96_intel): Likewise.
24431 (TEST_COND_ldbl_96_m68k): Likewise.
24432 (TEST_COND_ldbl_128): Likewise.
24433 (TEST_COND_ldbl_128ibm): Likewise.
24434 (TEST_COND_long32): Likewise.
24435 (TEST_COND_long64): Likewise.
24436 (TEST_COND_before_rounding): Likewise.
24437 (TEST_COND_after_rounding): Likewise.
24438 (enable_test): Handle XFAIL_TEST flag.
24439 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
24440 with finite results.
24441 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
24442 auto-libm-test-out.
24443
24444 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24445 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24446
24447 [BZ #16214]
24448 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
24449 __tls_get_addr_internal instead of __tls_get_offset in order to
24450 avoid GOT pointer dependency. Make rtld export
24451 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
24452 __tls_get_addr since we are a __tls_get_offset platform.
24453 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
24454 GOT pointer being set up before.
24455 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
24456
24457 2013-11-28 Joseph Myers <joseph@codesourcery.com>
24458
24459 * manual/math.texi (Errors in Math Functions): Document accuracy
24460 goals.
24461
24462 [BZ #15004]
24463 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
24464 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
24465 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
24466 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24467 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24468 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24469 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24470 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
24471 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
24472 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24473 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24474 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24475 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24476 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24477 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
24478 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
24479
24480 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
24481 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
24482 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
24483 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
24484 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
24485 Likewise.
24486 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
24487 Likewise.
24488 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
24489 Likewise.
24490 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
24491 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
24492 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
24493 atomic-feupdateenv and flt-rounds.
24494 * sysdeps/powerpc/nofpu/Versions (libc): Add
24495 __atomic_feholdexcept, __atomic_feclearexcept,
24496 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
24497 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
24498 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
24499 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
24500 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
24501 here.
24502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
24503 Update.
24504
24505 * manual/arith.texi (FP Exceptions): Document that exceptions may
24506 not be raised when matherr is used.
24507 (Math Error Reporting): Document overflow in directed rounding
24508 modes. Document that errno may not be set when finite values are
24509 returned on overflow. Document intent to set errno on underflow
24510 only for underflow to zero.
24511
24512 [BZ #16271]
24513 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
24514 round-to-nearest then adjust result for other rounding modes.
24515 * include/fenv.h (fegetround): Use libm_hidden_proto.
24516 * math/fegetround.c (fegetround): Use libm_hidden_def.
24517 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24518 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24519 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24520 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24521 Likewise.
24522 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
24523 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24524 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24525 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
24526
24527 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24528
24529 [BZ #16077]
24530 * nss/Versions (libnss_files): Add
24531 _nss_files_gethostbyname3_r.
24532 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
24533 New function.
24534 (HOST_DB_LOOKUP): Remove macro.
24535 (_nss_files_gethostbyname_r): Implement function without the
24536 HOST_DB_LOOKUP macro.
24537 (_nss_files_gethostbyname2_r): Likewise.
24538
24539 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
24540
24541 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
24542
24543 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
24544
24545 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
24546 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
24547 warning.
24548
24549 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24550
24551 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
24552 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
24553 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
24554 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24555 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
24556 __fe_nomask_env_priv and attribute_hidden.
24557 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
24558 (libc_feupdateenv_test_ppc): Likewise.
24559 (libc_feresetround_ppc): Likewise.
24560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24561 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
24562 compat_symbol macro.
24563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24564 (__fe_nomask_env): Likewise.
24565 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
24566
24567 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24568
24569 * string/Makefile: Remove ifunc tests.
24570 * string/test-string.h: Define TEST_IFUNC.
24571 * string/test-bcopy-ifunc.c: Remove.
24572 * string/test-bzero-ifunc.c: Likewise.
24573 * string/test-memccpy-ifunc.c: Likewise.
24574 * string/test-memchr-ifunc.c: Likewise.
24575 * string/test-memcmp-ifunc.c: Likewise.
24576 * string/test-memcpy-ifunc.c: Likewise.
24577 * string/test-memmem-ifunc.c: Likewise.
24578 * string/test-memmove-ifunc.c: Likewise.
24579 * string/test-mempcpy-ifunc.c: Likewise.
24580 * string/test-memrchr-ifunc.c: Likewise.
24581 * string/test-memset-ifunc.c: Likewise.
24582 * string/test-rawmemchr-ifunc.c: Likewise.
24583 * string/test-stpcpy-ifunc.c: Likewise.
24584 * string/test-stpncpy-ifunc.c: Likewise.
24585 * string/test-strcasecmp-ifunc.c: Likewise.
24586 * string/test-strcasestr-ifunc.c: Likewise.
24587 * string/test-strcat-ifunc.c: Likewise.
24588 * string/test-strchr-ifunc.c: Likewise.
24589 * string/test-strchrnul-ifunc.c: Likewise.
24590 * string/test-strcmp-ifunc.c: Likewise.
24591 * string/test-strcpy-ifunc.c: Likewise.
24592 * string/test-strcspn-ifunc.c: Likewise.
24593 * string/test-strlen-ifunc.c: Likewise.
24594 * string/test-strncasecmp-ifunc.c: Likewise.
24595 * string/test-strncat-ifunc.c: Likewise.
24596 * string/test-strncmp-ifunc.c: Likewise.
24597 * string/test-strncpy-ifunc.c: Likewise.
24598 * string/test-strnlen-ifunc.c: Likewise.
24599 * string/test-strpbrk-ifunc.c: Likewise.
24600 * string/test-strrchr-ifunc.c: Likewise.
24601 * string/test-strspn-ifunc.c: Likewise.
24602 * string/test-strstr-ifunc.c: Likewise.
24603
24604 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24605
24606 * benchtests/Makefile: Remove ifunc tests.
24607 * benchtests/bench-string.h: Define TEST_IFUNC.
24608 * benchtests/bench-bcopy-ifunc.c: Remove.
24609 * benchtests/bench-bzero-ifunc.c: Likewise.
24610 * benchtests/bench-memccpy-ifunc.c: Likewise.
24611 * benchtests/bench-memchr-ifunc.c: Likewise.
24612 * benchtests/bench-memcmp-ifunc.c: Likewise.
24613 * benchtests/bench-memcpy-ifunc.c: Likewise.
24614 * benchtests/bench-memmem-ifunc.c: Likewise.
24615 * benchtests/bench-memmove-ifunc.c: Likewise.
24616 * benchtests/bench-mempcpy-ifunc.c: Likewise.
24617 * benchtests/bench-memrchr-ifunc.c: Likewise.
24618 * benchtests/bench-memset-ifunc.c: Likewise.
24619 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
24620 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
24621 * benchtests/bench-stpcpy-ifunc.c: Likewise.
24622 * benchtests/bench-stpncpy-ifunc.c: Likewise.
24623 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
24624 * benchtests/bench-strcasestr-ifunc.c: Likewise.
24625 * benchtests/bench-strcat-ifunc.c: Likewise.
24626 * benchtests/bench-strchr-ifunc.c: Likewise.
24627 * benchtests/bench-strchrnul-ifunc.c: Likewise.
24628 * benchtests/bench-strcmp-ifunc.c: Likewise.
24629 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
24630 * benchtests/bench-strcpy-ifunc.c: Likewise.
24631 * benchtests/bench-strcspn-ifunc.c: Likewise.
24632 * benchtests/bench-strlen-ifunc.c: Likewise.
24633 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
24634 * benchtests/bench-strncat-ifunc.c: Likewise.
24635 * benchtests/bench-strncmp-ifunc.c: Likewise.
24636 * benchtests/bench-strncpy-ifunc.c: Likewise.
24637 * benchtests/bench-strnlen-ifunc.c: Likewise.
24638 * benchtests/bench-strpbrk-ifunc.c: Likewise.
24639 * benchtests/bench-strrchr-ifunc.c: Likewise.
24640 * benchtests/bench-strsep-ifunc.c: Likewise.
24641 * benchtests/bench-strspn-ifunc.c: Likewise.
24642 * benchtests/bench-strstr-ifunc.c: Likewise.
24643
24644 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24645
24646 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
24647
24648 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
24649
24650 * resolv/netdb.h: Use __glibc_reserved instead __unused.
24651 * rt/aio.h: Likewise.
24652 * sysdeps/gnu/bits/utmp.h: Likewise.
24653 * sysdeps/gnu/bits/utmpx.h: Likewise.
24654 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24655 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
24656 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
24657 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
24658 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
24659 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
24660 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
24661 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
24662 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
24663 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
24664 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
24665 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
24666 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
24667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
24668 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24669 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
24670 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
24671 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
24672 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
24673 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
24674 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
24675 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
24676 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
24677 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24678 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
24679 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24680 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
24681 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
24682 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
24683 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
24684 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
24685 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
24686 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
24687 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
24688 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
24689 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
24690 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
24691 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
24692 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
24693 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
24694 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
24695 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24696
24697 2013-11-25 Carlos O'Donell <carlos@redhat.com>
24698
24699 [BZ #16245]
24700 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
24701 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
24702
24703 2013-11-25 Joseph Myers <joseph@codesourcery.com>
24704
24705 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
24706 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24707 Likewise.
24708
24709 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24710
24711 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
24712 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
24713 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
24714 (__fesetround): Remove define.
24715 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
24716 rounding and exceptions handling.
24717 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
24718 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
24719 (__fe_nomask_env): Likewise.
24720 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
24721 __fegetround instead of fegetround.
24722 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
24723 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
24724
24725 2013-11-21 Roland McGrath <roland@hack.frob.com>
24726
24727 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
24728 it's there.
24729
24730 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
24731
24732 2013-11-21 Meador Inge <meadori@codesourcery.com>
24733
24734 [BZ #11157]
24735 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
24736 (encrypt_r): Likewise.
24737 * malloc/obstack.h (obstack_free): Likewise.
24738 * posix/unistd.h (encrypt): Likewise.
24739
24740 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
24741
24742 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
24743 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
24744 DL_CALL_DT_FINI() that call the functions directly.
24745 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
24746 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
24747 * elf/dl-fini.c: Likewise.
24748
24749 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
24750
24751 * malloc/hooks.c (memalign_check): Add alignment rounding.
24752 * malloc/malloc.c (_mid_memalign): New function.
24753 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
24754 Implement by calling _mid_memalign.
24755 * manual/probes.texi (Memory Allocation Probes): Remove
24756 memory_valloc_retry and memory_pvalloc_retry.
24757
24758 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24759
24760 * locale/programs/locarchive.c (open_archive): Add const
24761 qualifier to ARCHIVEFNAME and copy default fname to
24762 DEFAULT_FNAME.
24763
24764 [BZ #15601]
24765 * libio/tst-widetext.input: Rename Oriya to Odia.
24766 * locale/iso-639.def: Likewise.
24767
24768 * manual/probes.texi (Mathematical Function Probes): Add
24769 documentation for sin, cos, asin and acos probes.
24770 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
24771 (__sin32): Add slowasin probe.
24772 (__cos32): Add slowacos probe.
24773 (__mpsin): Add slowsin probe.
24774 (__mpcos): Add slowcos probe.
24775
24776 2013-11-19 Joseph Myers <joseph@codesourcery.com>
24777
24778 [BZ #15483]
24779 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
24780 thread-local __sim_exceptions_thread and global
24781 __sim_exceptions_global.
24782 (__sim_disabled_exceptions): Change to thread-local
24783 __sim_disabled_exceptions_thread and global
24784 __sim_disabled_exceptions_global.
24785 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24786 and global __sim_round_mode_global.
24787 (__simulate_exceptions): Use thread-local floating-point state and
24788 set global state from it as needed.
24789 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
24790 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
24791 __sim_round_mode_thread.
24792 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
24793 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
24794 and global __sim_exceptions_global.
24795 (__sim_disabled_exceptions): Change to thread-local
24796 __sim_disabled_exceptions_thread and global
24797 __sim_disabled_exceptions_global.
24798 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
24799 and global __sim_round_mode_global.
24800 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
24801 (SIM_SET_GLOBAL): Likewise.
24802 * sysdeps/powerpc/soft-fp/sfp-machine.h
24803 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
24804 __sim_round_mode_thread.
24805 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
24806 __sim_disabled_exceptions_thread.
24807 (__sim_exceptions): Change to __sim_exceptions_thread.
24808 (__sim_disabled_exceptions): Change to
24809 __sim_disabled_exceptions_thread.
24810 (__sim_round_mode): Change to __sim_round_mode_thread.
24811 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
24812 thread-local floating-point state and set global state from it as
24813 needed.
24814 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
24815 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
24816 (__sim_disabled_exceptions): Remove extern declaration.
24817 (feenableexcept): Use thread-local floating-point state and set
24818 global state from it as needed.
24819 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
24820 extern declaration.
24821 (__sim_disabled_exceptions): Likewise.
24822 (__sim_round_mode): Likewise.
24823 (__fegetenv): Use thread-local floating-point state.
24824 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
24825 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
24826 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
24827 floating-point state and set global state from it as needed.
24828 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
24829 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24830 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
24831 Likewise.
24832 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24833 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
24834 Likewise.
24835 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
24836 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
24837 Use __sim_round_mode_thread.
24838 * math/test-fenv-tls.c: New file.
24839 * math/Makefile (tests): Add test-fenv-tls.
24840 ($(objpfx)test-fenv-tls): Depend on
24841 $(common-objpfx)nptl/libpthread.so.
24842
24843 2013-11-19 Andreas Schwab <schwab@suse.de>
24844
24845 * locale/programs/locale.c (show_info): Decode wordarray elements.
24846 * locale/categories.def (LC_MONETARY): Add element for
24847 _NL_MONETARY_CRNCYSTR.
24848 * locale/C-monetary.c (conversion_rate): New variable.
24849 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
24850 element.
24851
24852 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
24853
24854 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
24855 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
24856
24857 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
24858
24859 * elf/Makefile (tst-auxv): New test.
24860 * elf/tst-auxv.c: New
24861 * elf/rtld.c (dl_main): Adjust AT_EXECFN
24862
24863 2013-11-18 Joseph Myers <joseph@codesourcery.com>
24864
24865 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
24866 (hidden_proto): Caller changed.
24867 (hidden_tls_proto): New macro.
24868 (libc_hidden_tls_proto): Likewise.
24869 (rtld_hidden_tls_proto): Likewise.
24870 (libm_hidden_tls_proto): Likewise.
24871 (libresolv_hidden_tls_proto): Likewise.
24872 (librt_hidden_tls_proto): Likewise.
24873 (libdl_hidden_tls_proto): Likewise.
24874 (libnss_files_hidden_tls_proto): Likewise.
24875 (libnsl_hidden_tls_proto): Likewise.
24876 (libnss_nisplus_hidden_tls_proto): Likewise.
24877 (libutil_hidden_tls_proto): Likewise.
24878
24879 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
24880
24881 [BZ #10253]
24882 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
24883 (decompose_rpath): Defer expansion to fillin_rpath.
24884 (_dl_init_paths): Pass linkmap to fillin_rpath.
24885
24886 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
24887
24888 * benchtests/Makefile: Add strsep.
24889 * benchtests/bench-strsep.c: New file: strsep benchtest.
24890 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
24891
24892 2013-11-18 Andreas Schwab <schwab@suse.de>
24893
24894 * locale/programs/locale.c (show_info) [case byte]: Check for
24895 '\377' instead of '\177'.
24896 * locale/C-monetary.c (not_available): Always use "\377".
24897 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
24898 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
24899 detect unavailable sign_posn locale elements.
24900 * locale/localeconv.c (__localeconv): For grouping and
24901 mon_grouping handle "\177" and "\377" like no grouping.
24902 (INT_ELEM): New macro. Use it to set all numeric members.
24903 * locale/programs/ld-monetary.c (monetary_read)
24904 <tok_mon_grouping>: Normalize single -1 to the empty string.
24905 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
24906 Likewise.
24907
24908 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
24909
24910 [BZ #16055]
24911 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
24912 when we match (nil).
24913 * stdio-common/tst-sscanf.c (struct test): Add testcase.
24914
24915 2013-11-16 Joseph Myers <joseph@codesourcery.com>
24916
24917 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
24918 (NO_TEST_INLINE): Update value.
24919 (ERRNO_UNCHANGED): Likewise.
24920 (ERRNO_EDOM): Likewise.
24921 (ERRNO_ERANGE): Likewise.
24922 (IGNORE_RESULT): Likewise.
24923 (check_float_internal): Check signs of NaN results if
24924 TEST_NAN_SIGN used.
24925 (check_complex): Pass TEST_NAN_SIGN flag through to second
24926 check_float_internal call.
24927 (copysign_test_data): Add tests with quiet NaNs as second
24928 argument. Use TEST_NAN_SIGN.
24929 (fabs_test_data): Add test of negative quiet NaN argument. Use
24930 TEST_NAN_SIGN.
24931 (signbit_test_data): Add tests of quiet NaN argument.
24932 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
24933
24934 * math/gen-libm-test.pl (show_exceptions): Take extra argument
24935 $ignore_result.
24936 (parse_args): Handle function results specified as IGNORE.
24937 * math/libm-test.inc (IGNORE_RESULT): New macro.
24938 (check_float_internal): Do not check numerical result if flag
24939 IGNORE_RESULT set.
24940 (check_complex): Pass through IGNORE_RESULT to second
24941 check_float_internal call.
24942 (check_int): Do not check numerical result if flag IGNORE_RESULT
24943 set.
24944 (check_long): Likewise.
24945 (check_bool): Likewise.
24946 (check_longlong): Likewise.
24947 (lrint_test_data): Add tests of infinite and NaN arguments.
24948 (lrint_tonearest_test_data): Likewise.
24949 (lrint_towardzero_test_data): Likewise.
24950 (lrint_downward_test_data): Likewise.
24951 (lrint_upward_test_data): Likewise.
24952 (llrint_test_data): Likewise.
24953 (llrint_tonearest_test_data): Likewise.
24954 (llrint_towardzero_test_data): Likewise.
24955 (llrint_downward_test_data): Likewise.
24956 (llrint_upward_test_data): Likewise.
24957 (lround_test_data): Likewise.
24958 (llround_test_data): Likewise.
24959
24960 * math/libm-test.inc (NO_TEST_INLINE): New macro.
24961 (ERRNO_UNCHANGED): Update value.
24962 (ERRNO_EDOM): Likewise.
24963 (ERRNO_ERANGE): Likewise.
24964 (NO_TEST_INLINE_FLOAT): New macro.
24965 (NO_TEST_INLINE_DOUBLE): Likewise.
24966 (enable_test): New function.
24967 (RUN_TEST_f_f): Check enable_test before running test.
24968 (RUN_TEST_2_f): Likewise.
24969 (RUN_TEST_fff_f): Likewise.
24970 (RUN_TEST_c_f): Likewise.
24971 (RUN_TEST_f_f1): Likewise.
24972 (RUN_TEST_fF_f1): Likewise.
24973 (RUN_TEST_fI_f1): Likewise.
24974 (RUN_TEST_ffI_f1): Likewise.
24975 (RUN_TEST_c_c): Likewise.
24976 (RUN_TEST_cc_c): Likewise.
24977 (RUN_TEST_f_i): Likewise.
24978 (RUN_TEST_f_i_tg): Likewise.
24979 (RUN_TEST_ff_i_tg): Likewise.
24980 (RUN_TEST_f_b): Likewise.
24981 (RUN_TEST_f_b_tg): Likewise.
24982 (RUN_TEST_f_l): Likewise.
24983 (RUN_TEST_f_L): Likewise.
24984 (RUN_TEST_fFF_11): Likewise.
24985 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
24986 conditionals.
24987 (cosh_test_data): Likewise.
24988 (exp_test_data): Likewise.
24989 (expm1_test_data): Likewise.
24990 (hypot_test_data): Likewise.
24991 (pow_test_data): Likewise.
24992 (sinh_test_data): Likewise.
24993 (tanh_test_data): Likewise.
24994 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
24995 flags argument.
24996
24997 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
24998 tests with quiet NaN input and output.
24999 (acosh_test_data): Likewise.
25000 (asin_test_data): Likewise.
25001 (asinh_test_data): Likewise.
25002 (atan_test_data): Likewise.
25003 (atanh_test_data): Likewise.
25004 (atan2_test_data): Likewise.
25005 (cbrt_test_data): Likewise.
25006 (cos_test_data): Likewise.
25007 (cosh_test_data): Likewise.
25008 (erf_test_data): Likewise.
25009 (erfc_test_data): Likewise.
25010 (exp_test_data): Likewise.
25011 (exp10_test_data): Likewise.
25012 (exp2_test_data): Likewise.
25013 (expm1_test_data): Likewise.
25014 (hypot_test_data): Likewise.
25015 (j0_test_data): Likewise.
25016 (j1_test_data): Likewise.
25017 (jn_test_data): Likewise.
25018 (lgamma_test_data): Likewise.
25019 (log_test_data): Likewise.
25020 (log10_test_data): Likewise.
25021 (log1p_test_data): Likewise.
25022 (log2_test_data): Likewise.
25023 (pow_test_data): Likewise.
25024 (scalb_test_data): Likewise.
25025 (sin_test_data): Likewise.
25026 (sincos_test_data): Likewise.
25027 (sinh_test_data): Likewise.
25028 (tan_test_data): Likewise.
25029 (tanh_test_data): Likewise.
25030 (tgamma_test_data): Likewise.
25031 (y0_test_data): Likewise.
25032 (y1_test_data): Likewise.
25033 (yn_test_data): Likewise.
25034
25035 [BZ #16167]
25036 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
25037 argument being NaN and avoid computations with second argument in
25038 that case.
25039 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25040 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25041 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25042
25043 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
25044
25045 * locale/iso-639.def: Add Chitwani Tharu (the).
25046
25047 2013-11-14 Andreas Schwab <schwab@suse.de>
25048
25049 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
25050 word instead of empty string.
25051
25052 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25053
25054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25055 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
25056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25057 (__fe_nomask_env): Likewise.
25058
25059 2013-11-13 Steve Ellcey <sellcey@mips.com>
25060
25061 * benchtests/bench-timing.h: Include time.h.
25062
25063 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
25064
25065 [BZ #15997]
25066 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
25067 to 3.4.0 for x32.
25068 * sysdeps/unix/sysv/linux/configure: Regenerated.
25069
25070 2013-11-13 Joseph Myers <joseph@codesourcery.com>
25071
25072 [BZ #16151]
25073 * stdlib/strtod_l.c (round_and_return): Do not consider
25074 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
25075 exponent one less than half the least subnormal exponent.
25076 * stdlib/test-strtod-round-data: Add more tests.
25077 * stdlib/tst-strtod-round.c (tests): Regenerated.
25078
25079 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25080
25081 [BZ #14143]
25082 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
25083 (__fe_mask_env): Likewise.
25084 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
25085 libm_hidden_proto and add function prototype.
25086 (__fe_mask_env): Add function prototype.
25087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25088 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
25089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25090 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
25091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25092 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
25093
25094 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25095
25096 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
25097 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
25098
25099 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
25100
25101 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
25102 of htab_find_slot().
25103
25104 2013-11-11 David S. Miller <davem@davemloft.net>
25105
25106 [BZ #16150]
25107 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
25108 symbol in the non-vis3 case in static builds.
25109 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
25110 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
25111 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
25112 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
25113
25114 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
25115
25116 [BZ #387]
25117 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
25118 it is empty.
25119
25120 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25121
25122 * benchtests/Makefile: Add bench-strtod.
25123 * benchtests/bench-strtod.c: New file: strtod benchtest
25124
25125 2013-11-11 Andreas Schwab <schwab@suse.de>
25126
25127 [BZ #16153]
25128 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
25129 terminating NUL in key length.
25130
25131 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25132
25133 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25134 Add artificial ODP entry for vDSO symbol for PPC64.
25135 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
25136 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25137
25138 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
25139
25140 [BZ #15374]
25141 * nss/getent.c (services_keys): Recognize services starting with digit.
25142
25143 2013-11-06 David S. Miller <davem@davemloft.net>
25144
25145 [BZ #15985]
25146 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
25147 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
25148
25149 2013-11-06 Will Newton <will.newton@linaro.org>
25150
25151 * manual/memory.texi (Malloc Examples): Remove register
25152 keyword from examples.
25153
25154 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
25155
25156 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
25157
25158 2013-11-04 Joseph Myers <joseph@codesourcery.com>
25159
25160 [BZ #6981]
25161 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
25162 depending on [__GCC_IEC_559 > 0].
25163 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
25164 depending on [__GCC_IEC_559_COMPLEX > 0].
25165
25166 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
25167
25168 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
25169 to iso-639.def.
25170
25171 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
25172
25173 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
25174
25175 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
25176
25177 [BZ #16112]
25178 * malloc/malloc (malloc_info): Do not handle first bin as
25179 special case.
25180
25181 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
25182
25183 * locale/iso-639.def: Add Central Nahuatl (nhn).
25184
25185 2013-11-01 Bruno Haible <bruno@clisp.org>
25186
25187 [BZ #7003]
25188 * manual/math.texi (BSD Random): Specify range upper bound as
25189 in POSIX.
25190
25191 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
25192
25193 * locale/iso-639.def: Add Meadow Mari (mhr).
25194
25195 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
25196
25197 [BZ #14752], [BZ #15763]
25198 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
25199 Validate name.
25200 * rt/tst_shm.c: Add test for escaping directory.
25201
25202 2013-10-31 Andreas Schwab <schwab@suse.de>
25203
25204 [BZ #15917]
25205 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
25206 followed by 'x' as part of digit sequence.
25207 * stdio-common/tst-sscanf.c (double_tests2): New tests.
25208
25209 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
25210
25211 [BZ #16037]
25212 * configure.ac: allow GNU Make 4.0 and greater.
25213 * configure: Regenerated.
25214
25215 2013-10-30 Will Newton <will.newton@linaro.org>
25216
25217 [BZ #16038]
25218 * malloc/hooks.c (memalign_check): Limit alignment to the
25219 maximum representable power of two.
25220 * malloc/malloc.c (__libc_memalign): Likewise.
25221 * malloc/tst-memalign.c (do_test): Add test for very
25222 large alignment values.
25223 * malloc/tst-posix_memalign.c (do_test): Likewise.
25224
25225 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
25226
25227 [BZ #11087]
25228 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
25229 (munmap_chunk): Likewise.
25230 (mremap_chunk): Likewise.
25231
25232 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
25233
25234 [BZ #15799]
25235 * stdlib/div.c (div): Remove obsolete code.
25236 * stdlib/ldiv.c (ldiv): Likewise.
25237 * stdlib/lldiv.c (lldiv): Likewise.
25238
25239 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25240
25241 [BZ #16071]
25242 * nss/nss_files/files-XXX.c (get_contents_ret): New
25243 enumerator.
25244 (get_contents): New function.
25245 (internal_getent): Use it. Expand size of LINEBUFLEN.
25246
25247 2013-10-30 Mike Frysinger <vapier@gentoo.org>
25248
25249 * configure.in: Moved to ...
25250 * configure.ac: ... here. Change reference to configure.in
25251 to configure.ac.
25252 * sysdeps/arm/preconfigure.ac: ... here.
25253 configure.in to configure.ac.
25254 * sysdeps/gnu/configure.in: Moved to ...
25255 * sysdeps/gnu/configure.ac: ... here.
25256 * sysdeps/i386/configure.in: Moved to ...
25257 * sysdeps/i386/configure.ac: ... here.
25258 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
25259 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
25260 * sysdeps/mach/configure.in: Moved to ...
25261 * sysdeps/mach/configure.ac: ... here.
25262 * sysdeps/mach/hurd/configure.in: Moved to ...
25263 * sysdeps/mach/hurd/configure.ac: ... here.
25264 * sysdeps/powerpc/configure.in: Moved to ...
25265 * sysdeps/powerpc/configure.ac: ... here.
25266 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
25267 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
25268 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
25269 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
25270 * sysdeps/s390/s390-32/configure.in: Moved to ...
25271 * sysdeps/s390/s390-32/configure.ac: ... here.
25272 * sysdeps/s390/s390-64/configure.in: Moved to ...
25273 * sysdeps/s390/s390-64/configure.ac: ... here.
25274 * sysdeps/sh/configure.in: Moved to ...
25275 * sysdeps/sh/configure.ac: ... here.
25276 * sysdeps/sparc/configure.in: Moved to ...
25277 * sysdeps/sparc/configure.ac: ... here.
25278 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
25279 * sysdeps/unix/sysv/linux/configure.ac: ... here.
25280 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
25281 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
25282 * sysdeps/x86_64/configure.in: Moved to ...
25283 * sysdeps/x86_64/configure.ac: ... here.
25284 * sysdeps/x86_64/preconfigure.in: Moved to ...
25285 * sysdeps/x86_64/preconfigure.ac: ... here.
25286 * aclocal.m4: Change reference to configure.in to configure.ac.
25287 * config.h.in: Likewise.
25288 * manual/install.texi: Likewise.
25289 * manual/maint.texi: Likewise.
25290 * Makefile: Likewise.
25291 * malloc/Makefile: Likewise.
25292 * nscd/Makefile: Likewise.
25293 * Makeconfig: Change reference to configure.in and
25294 preconfigure.in to configure.ac and preconfigure.ac
25295 respectively.
25296 * INSTALL: Regenerated.
25297 * configure: Likewise.
25298 * sysdeps/gnu/configure: Likewise.
25299 * sysdeps/i386/configure: Likewise.
25300 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
25301 * sysdeps/mach/configure: Likewise.
25302 * sysdeps/mach/hurd/configure: Likewise.
25303 * sysdeps/powerpc/configure: Likewise.
25304 * sysdeps/powerpc/powerpc32/configure: Likewise.
25305 * sysdeps/powerpc/powerpc64/configure: Likewise.
25306 * sysdeps/s390/s390-32/configure: Likewise.
25307 * sysdeps/s390/s390-64/configure: Likewise.
25308 * sysdeps/sh/configure: Likewise.
25309 * sysdeps/sparc/configure: Likewise.
25310 * sysdeps/unix/sysv/linux/configure: Likewise.
25311 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
25312 * sysdeps/x86_64/configure: Likewise.
25313 * sysdeps/x86_64/preconfigure: Likewise.
25314
25315 2013-10-29 Andreas Schwab <schwab@suse.de>
25316
25317 * stdio-common/Makefile (tst-swscanf-ENV): Define.
25318
25319 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25320
25321 * benchtests/pow-inputs: Add new inputs.
25322
25323 * benchtests/exp-inputs: Add new inputs.
25324
25325 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
25326 conditional check for return value.
25327 (__cos32): Likewise.
25328
25329 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25330
25331 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
25332 to provide a boost for large inputs with word alignment.
25333 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
25334 implementation based on optimized PPC64 strcpy.
25335 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
25336 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
25337 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
25338 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
25339
25340 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25341
25342 [BZ #2801]
25343 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
25344
25345 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25346
25347 [BZ #14876]
25348 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
25349 * time/tst-strptime.c (day_tests): Add testcase.
25350
25351 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
25352
25353 [BZ #14029]
25354 * manual/pattern.texi: Acknowledge that fnmatch can fail.
25355
25356 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
25357
25358 [BZ #16074]
25359 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
25360 MAP_FAILED on error.
25361
25362 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
25363
25364 [BZ #16072]
25365 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
25366 heap for large requests.
25367
25368 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
25369
25370 [BZ #9954]
25371 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
25372 result if the result has no associated interface.
25373 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
25374 interface for all 127.X.Y.Z addresses.
25375
25376 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
25377
25378 * locale/iso-639.def: Add Ligurian (lij)
25379
25380 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
25381
25382 [BZ #15825]
25383 * sunrpc/rpc_main.c: Document rpcgen -5.
25384
25385 2013-10-19 Michael Stahl <mstahl@redhat.com>
25386
25387 * elf/rtld.c (do_preload): Print the reason why preloading failed.
25388
25389 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
25390
25391 [BZ #10278]
25392 * posix/glob.c: Match only directories when trailing slash is present.
25393 * posix/tst-gnuglob.c (my_opendir): Do not open files.
25394 (main): Add testcase.
25395
25396 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
25397
25398 [BZ #15670]
25399 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
25400
25401 2013-10-18 Carlos O'Donell <carlos@redhat.com>
25402
25403 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
25404 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
25405 AUTH_DES and cindex for FIPS 140-2.
25406 (DES Encryption): Add cindex FIPS 46-3.
25407
25408 * locale/locarchive.h (struct locarhandle): Add fname.
25409 * locale/programs/localedef.c (main): Pass ARGV[remaining]
25410 if an optional argument was specified to --list-archive,
25411 otherwise NULL.
25412 * locale/programs/locarchive.c (show_archive_content): Take new
25413 argument fname and pass it via ah.fname to open_archive.
25414 * locale/programs/localedef.h: Update decl.
25415 (open_archive): If AH->fname is non-null, open that file
25416 rather than the default file name, and don't ignore ENOENT.
25417 (create_archive): Set AH.fname to NULL.
25418 (delete_locales_from_archive): Likewise.
25419 (add_locales_to_archive): Likewise.
25420 * locale/programs/locfile.c (write_all_categories): Likewise.
25421
25422 2013-10-18 Joseph Myers <joseph@codesourcery.com>
25423 Aldy Hernandez <aldyh@redhat.com>
25424
25425 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
25426 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
25427 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
25428 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
25429 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
25430 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
25431 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
25432 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
25433 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
25434 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
25435 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
25436 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
25437 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
25438 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
25439 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
25440 Likewise.
25441 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
25442 Likewise.
25443 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
25444 Likewise.
25445 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
25446 Likewise.
25447 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
25448 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
25449 Likewise.
25450 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
25451 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
25452 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
25453 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
25454 Likewise.
25455 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
25456 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
25457 * sysdeps/powerpc/preconfigure: Likewise.
25458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
25459 Likewise.
25460 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
25461 Replace contents of file by #include of <fenv_libc.h>.
25462 * sysdeps/powerpc/soft-fp/sfp-machine.h
25463 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
25464 and <sys/prctl.h>.
25465 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
25466 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
25467 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
25468 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
25469 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
25470 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
25471 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
25472 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
25473 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
25474 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
25475 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
25476 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
25477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
25478 Allow copysignl PLT reference to be missing.
25479
25480 2013-10-18 Richard Sandiford <richard@codesourcery.com>
25481 Joseph Myers <joseph@codesourcery.com
25482
25483 [BZ #15948]
25484 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
25485 single character.
25486 (add_to_tablewc): Assert sequence of wide characters is nonempty.
25487
25488 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25489
25490 * elf/tst-tls-dlinfo.c: Don't include tls.h.
25491 * elf/tst-tls1.c: Likewise.
25492 * elf/tst-tls10.h: Likewise.
25493 * elf/tst-tls14.c: Likewise.
25494 * elf/tst-tls2.c: Likewise.
25495 * elf/tst-tls3.c: Likewise.
25496 * elf/tst-tls4.c: Likewise.
25497 * elf/tst-tls5.c: Likewise.
25498 * elf/tst-tls6.c: Likewise.
25499 * elf/tst-tls7.c: Likewise.
25500 * elf/tst-tls8.c: Likewise.
25501 * elf/tst-tls9.c: Likewise.
25502 * elf/tst-tlsmod1.c: Likewise.
25503 * elf/tst-tlsmod13.c: Likewise.
25504 * elf/tst-tlsmod13a.c: Likewise.
25505 * elf/tst-tlsmod14a.c: Likewise.
25506 * elf/tst-tlsmod16a.c: Likewise.
25507 * elf/tst-tlsmod16b.c: Likewise.
25508 * elf/tst-tlsmod2.c: Likewise.
25509 * elf/tst-tlsmod3.c: Likewise.
25510 * elf/tst-tlsmod4.c: Likewise.
25511 * elf/tst-tlsmod5.c: Likewise.
25512 * elf/tst-tlsmod6.c: Likewise.
25513
25514 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
25515
25516 [BZ #12486]
25517 * malloc/malloc.c: remove checks for statistics.
25518
25519 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
25520
25521 [BZ #15277]
25522 * inet/inet_net.c (inet_network): Detect additional invalid strings.
25523 * inet/tst-network.c: Add testcase.
25524
25525 2013-10-17 Andreas Schwab <schwab@suse.de>
25526
25527 [BZ #15218]
25528 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
25529 to determine canonical name.
25530
25531 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
25532
25533 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
25534 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
25535 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25536 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25537 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25538 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25539 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
25540 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25541 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
25542 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25543 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25544 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25545 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25546 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25547 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25548 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25549 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25550 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25551 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25552 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25553 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25554 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25555 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25556 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
25557 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
25558 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25559 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25560 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
25561 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25562 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
25563 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25564 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25565 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25566 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25567 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25568 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25569 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25570 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25571 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25572 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25573 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25574 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25575 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25576 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25577 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25578 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25579 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25580 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25581 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25582 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25583 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25584 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25585 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25586 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25587 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25588 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25589 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25590 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25591
25592 2013-10-17 Joseph Myers <joseph@codesourcery.com>
25593
25594 [BZ #16041]
25595 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
25596 make result into a quiet NaN.
25597
25598 2013-10-16 Joseph Myers <joseph@codesourcery.com>
25599
25600 * soft-fp/adddf3.c: Fix horizontal whitespace.
25601 * soft-fp/addsf3.c: Likewise.
25602 * soft-fp/addtf3.c: Likewise.
25603 * soft-fp/divdf3.c: Likewise.
25604 * soft-fp/divsf3.c: Likewise.
25605 * soft-fp/divtf3.c: Likewise.
25606 * soft-fp/double.h: Likewise.
25607 * soft-fp/eqdf2.c: Likewise.
25608 * soft-fp/eqsf2.c: Likewise.
25609 * soft-fp/eqtf2.c: Likewise.
25610 * soft-fp/extenddftf2.c: Likewise.
25611 * soft-fp/extended.h: Likewise.
25612 * soft-fp/extendsfdf2.c: Likewise.
25613 * soft-fp/extendsftf2.c: Likewise.
25614 * soft-fp/extendxftf2.c: Likewise.
25615 * soft-fp/fixdfdi.c: Likewise.
25616 * soft-fp/fixdfsi.c: Likewise.
25617 * soft-fp/fixdfti.c: Likewise.
25618 * soft-fp/fixsfdi.c: Likewise.
25619 * soft-fp/fixsfsi.c: Likewise.
25620 * soft-fp/fixsfti.c: Likewise.
25621 * soft-fp/fixtfdi.c: Likewise.
25622 * soft-fp/fixtfsi.c: Likewise.
25623 * soft-fp/fixtfti.c: Likewise.
25624 * soft-fp/fixunsdfdi.c: Likewise.
25625 * soft-fp/fixunsdfsi.c: Likewise.
25626 * soft-fp/fixunsdfti.c: Likewise.
25627 * soft-fp/fixunssfdi.c: Likewise.
25628 * soft-fp/fixunssfsi.c: Likewise.
25629 * soft-fp/fixunssfti.c: Likewise.
25630 * soft-fp/fixunstfdi.c: Likewise.
25631 * soft-fp/fixunstfsi.c: Likewise.
25632 * soft-fp/fixunstfti.c: Likewise.
25633 * soft-fp/floatdidf.c: Likewise.
25634 * soft-fp/floatdisf.c: Likewise.
25635 * soft-fp/floatditf.c: Likewise.
25636 * soft-fp/floatsidf.c: Likewise.
25637 * soft-fp/floatsisf.c: Likewise.
25638 * soft-fp/floatsitf.c: Likewise.
25639 * soft-fp/floattidf.c: Likewise.
25640 * soft-fp/floattisf.c: Likewise.
25641 * soft-fp/floattitf.c: Likewise.
25642 * soft-fp/floatundidf.c: Likewise.
25643 * soft-fp/floatundisf.c: Likewise.
25644 * soft-fp/floatunditf.c: Likewise.
25645 * soft-fp/floatunsidf.c: Likewise.
25646 * soft-fp/floatunsisf.c: Likewise.
25647 * soft-fp/floatunsitf.c: Likewise.
25648 * soft-fp/floatuntidf.c: Likewise.
25649 * soft-fp/floatuntisf.c: Likewise.
25650 * soft-fp/floatuntitf.c: Likewise.
25651 * soft-fp/fmadf4.c: Likewise.
25652 * soft-fp/fmasf4.c: Likewise.
25653 * soft-fp/fmatf4.c: Likewise.
25654 * soft-fp/gedf2.c: Likewise.
25655 * soft-fp/gesf2.c: Likewise.
25656 * soft-fp/getf2.c: Likewise.
25657 * soft-fp/ledf2.c: Likewise.
25658 * soft-fp/lesf2.c: Likewise.
25659 * soft-fp/letf2.c: Likewise.
25660 * soft-fp/muldf3.c: Likewise.
25661 * soft-fp/mulsf3.c: Likewise.
25662 * soft-fp/multf3.c: Likewise.
25663 * soft-fp/negdf2.c: Likewise.
25664 * soft-fp/negsf2.c: Likewise.
25665 * soft-fp/negtf2.c: Likewise.
25666 * soft-fp/op-1.h: Likewise.
25667 * soft-fp/op-2.h: Likewise.
25668 * soft-fp/op-4.h: Likewise.
25669 * soft-fp/op-8.h: Likewise.
25670 * soft-fp/op-common.h: Likewise.
25671 * soft-fp/quad.h: Likewise.
25672 * soft-fp/single.h: Likewise.
25673 * soft-fp/soft-fp.h: Likewise.
25674 * soft-fp/sqrtdf2.c: Likewise.
25675 * soft-fp/sqrtsf2.c: Likewise.
25676 * soft-fp/sqrttf2.c: Likewise.
25677 * soft-fp/subdf3.c: Likewise.
25678 * soft-fp/subsf3.c: Likewise.
25679 * soft-fp/subtf3.c: Likewise.
25680 * soft-fp/truncdfsf2.c: Likewise.
25681 * soft-fp/trunctfdf2.c: Likewise.
25682 * soft-fp/trunctfsf2.c: Likewise.
25683 * soft-fp/trunctfxf2.c: Likewise.
25684 * soft-fp/unorddf2.c: Likewise.
25685 * soft-fp/unordsf2.c: Likewise.
25686 * soft-fp/unordtf2.c: Likewise.
25687
25688 2013-10-15 Joseph Myers <joseph@codesourcery.com>
25689
25690 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
25691 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
25692
25693 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
25694
25695 * elf/dl-libc.c: Clear initfini list after freeing.
25696
25697 2013-10-14 Joseph Myers <joseph@codesourcery.com>
25698
25699 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
25700 * soft-fp/addsf3.c: Likewise.
25701 * soft-fp/addtf3.c: Likewise.
25702 * soft-fp/divdf3.c: Likewise.
25703 * soft-fp/divsf3.c: Likewise.
25704 * soft-fp/divtf3.c: Likewise.
25705 * soft-fp/double.h: Likewise.
25706 * soft-fp/eqdf2.c: Likewise.
25707 * soft-fp/eqsf2.c: Likewise.
25708 * soft-fp/eqtf2.c: Likewise.
25709 * soft-fp/extenddftf2.c: Likewise.
25710 * soft-fp/extended.h: Likewise.
25711 * soft-fp/extendsfdf2.c: Likewise.
25712 * soft-fp/extendsftf2.c: Likewise.
25713 * soft-fp/extendxftf2.c: Likewise.
25714 * soft-fp/fixdfdi.c: Likewise.
25715 * soft-fp/fixdfsi.c: Likewise.
25716 * soft-fp/fixdfti.c: Likewise.
25717 * soft-fp/fixsfdi.c: Likewise.
25718 * soft-fp/fixsfsi.c: Likewise.
25719 * soft-fp/fixsfti.c: Likewise.
25720 * soft-fp/fixtfdi.c: Likewise.
25721 * soft-fp/fixtfsi.c: Likewise.
25722 * soft-fp/fixtfti.c: Likewise.
25723 * soft-fp/fixunsdfdi.c: Likewise.
25724 * soft-fp/fixunsdfsi.c: Likewise.
25725 * soft-fp/fixunsdfti.c: Likewise.
25726 * soft-fp/fixunssfdi.c: Likewise.
25727 * soft-fp/fixunssfsi.c: Likewise.
25728 * soft-fp/fixunssfti.c: Likewise.
25729 * soft-fp/fixunstfdi.c: Likewise.
25730 * soft-fp/fixunstfsi.c: Likewise.
25731 * soft-fp/fixunstfti.c: Likewise.
25732 * soft-fp/floatdidf.c: Likewise.
25733 * soft-fp/floatdisf.c: Likewise.
25734 * soft-fp/floatditf.c: Likewise.
25735 * soft-fp/floatsidf.c: Likewise.
25736 * soft-fp/floatsisf.c: Likewise.
25737 * soft-fp/floatsitf.c: Likewise.
25738 * soft-fp/floattidf.c: Likewise.
25739 * soft-fp/floattisf.c: Likewise.
25740 * soft-fp/floattitf.c: Likewise.
25741 * soft-fp/floatundidf.c: Likewise.
25742 * soft-fp/floatundisf.c: Likewise.
25743 * soft-fp/floatunsidf.c: Likewise.
25744 * soft-fp/floatunsisf.c: Likewise.
25745 * soft-fp/floatuntidf.c: Likewise.
25746 * soft-fp/floatuntisf.c: Likewise.
25747 * soft-fp/floatuntitf.c: Likewise.
25748 * soft-fp/fmadf4.c: Likewise.
25749 * soft-fp/fmasf4.c: Likewise.
25750 * soft-fp/fmatf4.c: Likewise.
25751 * soft-fp/gedf2.c: Likewise.
25752 * soft-fp/gesf2.c: Likewise.
25753 * soft-fp/getf2.c: Likewise.
25754 * soft-fp/ledf2.c: Likewise.
25755 * soft-fp/lesf2.c: Likewise.
25756 * soft-fp/letf2.c: Likewise.
25757 * soft-fp/muldf3.c: Likewise.
25758 * soft-fp/mulsf3.c: Likewise.
25759 * soft-fp/multf3.c: Likewise.
25760 * soft-fp/negdf2.c: Likewise.
25761 * soft-fp/negsf2.c: Likewise.
25762 * soft-fp/negtf2.c: Likewise.
25763 * soft-fp/op-1.h: Likewise.
25764 * soft-fp/op-2.h: Likewise.
25765 * soft-fp/op-4.h: Likewise.
25766 * soft-fp/op-8.h: Likewise.
25767 * soft-fp/op-common.h: Likewise.
25768 * soft-fp/quad.h: Likewise.
25769 * soft-fp/single.h: Likewise.
25770 * soft-fp/soft-fp.h: Likewise.
25771 * soft-fp/sqrtdf2.c: Likewise.
25772 * soft-fp/sqrtsf2.c: Likewise.
25773 * soft-fp/sqrttf2.c: Likewise.
25774 * soft-fp/subdf3.c: Likewise.
25775 * soft-fp/subsf3.c: Likewise.
25776 * soft-fp/subtf3.c: Likewise.
25777 * soft-fp/truncdfsf2.c: Likewise.
25778 * soft-fp/trunctfdf2.c: Likewise.
25779 * soft-fp/trunctfsf2.c: Likewise.
25780 * soft-fp/trunctfxf2.c: Likewise.
25781 * soft-fp/unorddf2.c: Likewise.
25782 * soft-fp/unordsf2.c: Likewise.
25783 * soft-fp/unordtf2.c: Likewise.
25784
25785 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
25786
25787 [BZ #15672]
25788 * misc/error.c (error_tail): Fix possible buffer overflow.
25789
25790 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
25791
25792 [BZ #13028]
25793 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
25794 address.
25795
25796 2013-10-14 P. J. McDermott <pj@pehjota.net>
25797
25798 [BZ #832]
25799 * elf/ldd.bash.in (try_trace): New function. Delete previous code
25800 testing pipefail option.
25801
25802 2013-10-12 Joseph Myers <joseph@codesourcery.com>
25803
25804 * soft-fp/double.h: Indent preprocessor directives inside #if.
25805 * soft-fp/extended.h: Likewise.
25806 * soft-fp/op-2.h: Likewise.
25807 * soft-fp/op-4.h: Likewise.
25808 * soft-fp/op-common.h: Likewise.
25809 * soft-fp/quad.h: Likewise.
25810 * soft-fp/single.h: Likewise.
25811 * soft-fp/soft-fp.h: Likewise.
25812
25813 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
25814
25815 * iconv/iconv_prog.c: Fix typos.
25816 * stdio-common/psiginfo-data.h: Likewise.
25817
25818 2013-10-12 Reuben Thomas <rrt@sc3d.org>
25819
25820 [BZ #15764]
25821 * locale/setlocale.c: Fix typo.
25822
25823 2013-10-12 Joseph Myers <joseph@codesourcery.com>
25824
25825 [BZ #16036]
25826 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
25827 signaling NaN arguments.
25828 * soft-fp/unordsf2.c (__unordsf2): Likewise.
25829 * soft-fp/unordtf2.c (__unordtf2): Likewise.
25830
25831 [BZ #14910]
25832 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
25833 unordered operands.
25834 * soft-fp/gesf2.c (__gesf2): Likewise.
25835 * soft-fp/getf2.c (__getf2): Likewise.
25836 * soft-fp/ledf2.c (__ledf2): Likewise.
25837 * soft-fp/lesf2.c (__lesf2): Likewise.
25838 * soft-fp/letf2.c (__letf2): Likewise.
25839
25840 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
25841 * soft-fp/eqsf2.c (__eqsf2): Likewise.
25842 * soft-fp/eqtf2.c (__eqtf2): Likewise.
25843 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
25844 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
25845 * soft-fp/fixdfti.c (__fixdfti): Likewise.
25846 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
25847 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
25848 * soft-fp/fixsfti.c (__fixsfti): Likewise.
25849 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
25850 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
25851 * soft-fp/fixtfti.c (__fixtfti): Likewise.
25852 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
25853 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
25854 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
25855 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
25856 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
25857 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
25858 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
25859 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
25860 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
25861 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
25862 * soft-fp/floatdisf.c (__floatdisf): Likewise.
25863 * soft-fp/floatsisf.c (__floatsisf): Likewise.
25864 * soft-fp/floattidf.c (__floattidf): Likewise.
25865 * soft-fp/floattisf.c (__floattisf): Likewise.
25866 * soft-fp/floattitf.c (__floattitf): Likewise.
25867 * soft-fp/floatundidf.c (__floatundidf): Likewise.
25868 * soft-fp/floatundisf.c (__floatundisf): Likewise.
25869 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
25870 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
25871 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
25872 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
25873 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
25874 * soft-fp/gesf2.c (__gesf2): Likewise.
25875 * soft-fp/getf2.c (__getf2): Likewise.
25876 * soft-fp/ledf2.c (__ledf2): Likewise.
25877 * soft-fp/lesf2.c (__lesf2): Likewise.
25878 * soft-fp/letf2.c (__letf2): Likewise.
25879
25880 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
25881 Undefine and redefine.
25882 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
25883 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
25884 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
25885 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
25886 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25887 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
25888 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25889 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
25890 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25891 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
25892 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25893 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
25894 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25895 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
25896 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
25897
25898 [BZ #16032]
25899 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
25900 without decrementing exponent if mantissa >= that for the
25901 denominator, not >.
25902 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
25903 denominator, not >. Decrement exponent in < case instead of
25904 incrementing in >= case.
25905 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
25906 without decrementing exponent if mantissa >= that for the
25907 denominator, not >.
25908
25909 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
25910 computing saturated result for unsigned overflow.
25911
25912 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25913 Jeff Law <law@redhat.com>
25914
25915 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
25916 (atan2Mp): Add systemtap probe marker.
25917 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
25918 (__ieee754_log): Add systemtap probe marker.
25919 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
25920 (atanMp): Add systemtap probe marker.
25921 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
25922 (tanMp): Add systemtap probe marker.
25923 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
25924 (__slowexp): Add systemtap probe marker.
25925 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
25926 (__slowpow): Add systemtap probe marker.
25927 * manual/probes.texi: Document probes.
25928
25929 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
25930
25931 [BZ #15362]
25932 * libio/fileops.c (_IO_new_file_write): Return count of bytes
25933 written.
25934 (_IO_new_file_xsputn): Don't return EOF if nothing has been
25935 written.
25936 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
25937 written to buffer but not flushed.
25938 * libio/iofwrite_u.c: Likewise.
25939 * libio/iopadn.c: Return bytes returned even if EOF was
25940 encountered.
25941 * libio/iowpadn.c: Likewise.
25942 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
25943 if _IO_padn does not write the whole buffer.
25944 [!COMPILE_WPRINTF] (PAD): Likewise.
25945
25946 2013-10-10 David S. Miller <davem@davemloft.net>
25947
25948 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
25949 directory block.
25950
25951 2013-10-10 Joseph Myers <joseph@codesourcery.com>
25952
25953 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
25954 instead of FSF address.
25955 * soft-fp/fixdfti.c: Likewise.
25956 * soft-fp/fixsfti.c: Likewise.
25957 * soft-fp/fixtfti.c: Likewise.
25958 * soft-fp/fixunsdfti.c: Likewise.
25959 * soft-fp/fixunssfti.c: Likewise.
25960 * soft-fp/fixunstfti.c: Likewise.
25961 * soft-fp/floattidf.c: Likewise.
25962 * soft-fp/floattisf.c: Likewise.
25963 * soft-fp/floattitf.c: Likewise.
25964 * soft-fp/floatuntidf.c: Likewise.
25965 * soft-fp/floatuntisf.c: Likewise.
25966 * soft-fp/floatuntitf.c: Likewise.
25967 * soft-fp/trunctfxf2.c: Likewise.
25968
25969 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
25970 * soft-fp/fixdfti.c: Likewise.
25971 * soft-fp/fixsfti.c: Likewise.
25972 * soft-fp/fixtfti.c: Likewise.
25973 * soft-fp/fixunsdfti.c: Likewise.
25974 * soft-fp/fixunssfti.c: Likewise.
25975 * soft-fp/fixunstfti.c: Likewise.
25976 * soft-fp/floattidf.c: Likewise.
25977 * soft-fp/floattisf.c: Likewise.
25978 * soft-fp/floattitf.c: Likewise.
25979 * soft-fp/floatuntidf.c: Likewise.
25980 * soft-fp/floatuntisf.c: Likewise.
25981 * soft-fp/floatuntitf.c: Likewise.
25982 * soft-fp/trunctfxf2.c: Likewise.
25983
25984 2013-10-10 David S. Miller <davem@davemloft.net>
25985
25986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25987
25988 2013-10-10 Joseph Myers <joseph@codsourcery.com>
25989
25990 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
25991 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
25992 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
25993 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
25994 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
25995 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
25996 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
25997
25998 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
25999 for NaNs before doing comparisons on argument.
26000 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26001 Likewise.
26002
26003 2013-10-10 Will Newton <will.newton@linaro.org>
26004
26005 * malloc/hooks.c (memalign_check): Ensure the value of bytes
26006 passed to _int_memalign does not overflow.
26007
26008 2013-10-10 Torvald Riegel <triegel@redhat.com>
26009
26010 * scripts/bench.pl: Add include-sources directive.
26011 * benchtests/README: Update documentation.
26012
26013 2013-10-10 Joseph Myers <joseph@codesourcery.com>
26014
26015 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
26016 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
26017 instead of FP_INIT_ROUNDMODE.
26018 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
26019 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
26020
26021 [BZ #16034]
26022 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
26023 copy class of input value.
26024 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
26025 not handle exceptions.
26026 * soft-fp/negsf2.c (__negsf2): Likewise.
26027 * soft-fp/negtf2.c (__negtf2): Likewise.
26028 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
26029
26030 2013-10-09 Joseph Myers <joseph@codesourcery.com>
26031
26032 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
26033 semicolon. From Linux kernel.
26034
26035 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
26036
26037 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
26038
26039 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
26040
26041 [BZ #156]
26042 * manual/socket.texi: Added statement about buffer
26043 for gethostbyname2_r.
26044
26045 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
26046
26047 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
26048 Use .p2align directive instead, throughout.
26049 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26050 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26051 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
26052 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26053 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26054 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26055 * sysdeps/x86_64/strchr.S: Likewise.
26056 * sysdeps/x86_64/strrchr.S: Likewise.
26057
26058 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
26059
26060 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
26061
26062 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
26063
26064 * sysdeps/generic/math_private.h (__mpsin1): Remove
26065 declaration.
26066 (__mpcos1): Likewise.
26067 (__mpsin): New argument __range_reduce.
26068 (__mpcos): Likewise.
26069 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26070 (slow): Use __mpsin and __mpcos.
26071 (slow1): Likewise.
26072 (slow2): Likewise.
26073 (sloww): Likewise.
26074 (sloww1): Likewise.
26075 (sloww2): Likewise.
26076 (bsloww): Likewise.
26077 (bsloww1): Likewise.
26078 (bsloww2): Likewise.
26079 (cslow2): Likewise.
26080 (csloww): Likewise.
26081 (csloww1): Likewise.
26082 (csloww2): Likewise.
26083 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
26084 range_reduce. Merge in __mpsin1.
26085 (__mpcos): Likewise.
26086 (__mpsin1): Remove.
26087 (__mpcos1): Likewise.
26088
26089 2013-10-07 Joseph Myers <joseph@codesourcery.com>
26090
26091 * locale/loadlocale.c (_nl_intern_locale_data): Use
26092 LOCFILE_ALIGNED_P.
26093 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
26094 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
26095 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
26096 obstack data is appropriately aligned.
26097 (obstack_int32_grow_fast): Likewise.
26098 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
26099 * locale/programs/locfile.c (add_locale_uint32): Likewise.
26100 (add_locale_uint32_array): Likewise.
26101
26102 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
26103
26104 * benchtests/Makefile: Remove ARGLIST and RET variables.
26105 ($(objpfx)bench-%.c): Pass only function name to the script.
26106 * benchtests/README: Update documentation.
26107 * benchtests/acos-inputs: Add new directives.
26108 * benchtests/acosh-inputs: Likewise.
26109 * benchtests/asin-inputs: Likewise.
26110 * benchtests/asinh-inputs: Likewise.
26111 * benchtests/atan-inputs: Likewise.
26112 * benchtests/atanh-inputs: Likewise.
26113 * benchtests/cos-inputs: Likewise.
26114 * benchtests/cosh-inputs: Likewise.
26115 * benchtests/exp-inputs: Likewise.
26116 * benchtests/log-inputs: Likewise.
26117 * benchtests/pow-inputs: Likewise.
26118 * benchtests/rint-inputs: Likewise.
26119 * benchtests/sin-inputs: Likewise.
26120 * benchtests/sinh-inputs: Likewise.
26121 * benchtests/tan-inputs: Likewise.
26122 * benchtests/tanh-inputs: Likewise.
26123 * scripts/bench.pl: Add support for new directives.
26124
26125 2013-10-07 Alan Modra <amodra@gmail.com>
26126
26127 * README: Fix careless merge.
26128
26129 2013-10-05 Alan Modra <amodra@gmail.com>
26130
26131 * NEWS: Mention powerpc64le support and bugs fixed.
26132 * README: Both big-endian and little-endian powerpc64 supported.
26133
26134 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
26135
26136 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
26137 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
26138 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
26139 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
26140
26141 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
26142
26143 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
26144 match prototype.
26145
26146 2013-10-04 Joseph Myers <joseph@codesourcery.com>
26147
26148 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
26149 Move -mhard-float appending from
26150 ports/sysdeps/powerpc/powerpc32/Makefile.
26151 [$(with-fp) = yes] (ASFLAGS): Likewise.
26152 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
26153 * sysdeps/powerpc/nofpu: Move directory from
26154 ports/sysdeps/powerpc/nofpu.
26155 * sysdeps/powerpc/soft-fp: Move directory from
26156 ports/sysdeps/powerpc/soft-fp.
26157 * sysdeps/powerpc/powerpc32/405: Move directory from
26158 ports/sysdeps/powerpc/powerpc32/405.
26159 * sysdeps/powerpc/powerpc32/440: Move directory from
26160 ports/sysdeps/powerpc/powerpc32/440.
26161 * sysdeps/powerpc/powerpc32/464: Move directory from
26162 ports/sysdeps/powerpc/powerpc32/464.
26163 * sysdeps/powerpc/powerpc32/476: Move directory from
26164 ports/sysdeps/powerpc/powerpc32/476.
26165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
26166 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
26167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
26168 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
26169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
26170 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
26171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
26172 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
26173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
26174 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
26175 * README: Update for powerpc-*-linux-gnu software floating point
26176 support in libc.
26177
26178 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
26179 case to powerpc/powerpc32*.
26180 * sysdeps/unix/sysv/linux/configure: Regenerated.
26181
26182 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
26183 (_FPU_MASK_OM): Define as 0x04.
26184 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
26185 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
26186 0x00c10080.
26187 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
26188 0x0000003c.
26189 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
26190
26191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
26192 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26193 getcontext_e500.
26194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
26195 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26196 setcontext_e500.
26197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
26198 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
26199 and setcontext_e500.
26200
26201 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
26202
26203 * locale/iso-3166.def: Update iso-1366.def and related occurrences
26204
26205 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26206
26207 * manual/threads.texi (Default Thread Attributes): Fix typo.
26208
26209 2013-10-04 Will Newton <will.newton@linaro.org>
26210
26211 * malloc/Makefile: Add tst-memalign.
26212 * malloc/tst-memalign.c: New file.
26213
26214 * malloc/tst-posix_memalign.c: Add comments.
26215 (do_test): Add comments and call free on all potentially
26216 allocated pointers. Add space after cast.
26217
26218 * malloc/tst-pvalloc.c: Add comments.
26219 (do_test): Add comments and call free on all potentially
26220 allocated pointers. Remove duplicate check for NULL pointer.
26221 Add space after cast.
26222
26223 * malloc/tst-valloc.c: Add comments.
26224 (do_test): Add comments and call free on all potentially
26225 allocated pointers. Remove duplicate check for NULL pointer.
26226 Add space after cast.
26227
26228 2013-10-04 Alan Modra <amodra@gmail.com>
26229
26230 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26231 Use stdint types in rather than __attribute__((mode())).
26232 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26233
26234 2013-10-04 Alan Modra <amodra@gmail.com>
26235
26236 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
26237 Correct handling of unaligned relocs for little-endian.
26238 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
26239
26240 2013-10-04 Alan Modra <amodra@gmail.com>
26241
26242 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
26243 * configure: Regenerate.
26244 * nptl/shlib-versions: Powerpc*le starts at 2.18.
26245 * shlib-versions: Likewise.
26246
26247 2013-10-04 Alan Modra <amodra@gmail.com>
26248
26249 * string/tester.c (test_memrchr): Increment reported test cycle.
26250
26251 2013-10-04 Alan Modra <amodra@gmail.com>
26252
26253 * string/test-memcpy.c (do_one_test): When reporting errors, print
26254 string address and don't overrun end of string.
26255
26256 2013-10-04 Alan Modra <amodra@gmail.com>
26257
26258 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
26259 insrdi. Make better use of reg selection to speed exit slightly.
26260 Schedule entry path a little better. Remove useless "are we done"
26261 checks on entry to main loop. Handle wrapping around zero address.
26262 Correct main loop count. Handle single left-over word from main
26263 loop inline rather than by using loop_small. Remove extra word
26264 case in loop_small caused by wrong loop count. Add little-endian
26265 support.
26266 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
26267 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
26268 cache hint.
26269 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
26270 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
26271 support. Avoid rlwimi.
26272 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
26273
26274 2013-10-04 Alan Modra <amodra@gmail.com>
26275
26276 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
26277 insrdi. Formatting.
26278 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
26279 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26280 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
26281 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26282 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26283 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
26284
26285 2013-10-04 Alan Modra <amodra@gmail.com>
26286
26287 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
26288 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26289 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
26290 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
26291 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
26292 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26293 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26294 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
26295 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
26296 use of regs. Use power7 mtocrf. Tidy function tails.
26297
26298 2013-10-04 Alan Modra <amodra@gmail.com>
26299
26300 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
26301 Formatting. Consistently use rXXX register defines or rN defines.
26302 Use early exit labels that avoid restoring unused non-volatile regs.
26303 Make cr field use more consistent with rWORDn compares. Rename
26304 regs used as shift registers for unaligned loop, using rN defines
26305 for short lifetime/multiple use regs.
26306 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26307 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
26308 addi 1,1,64 to pop stack frame. Simplify return value code.
26309 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26310
26311 2013-10-04 Alan Modra <amodra@gmail.com>
26312
26313 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
26314 support. Correct typos, formatting. Optimize tail. Use insrdi
26315 rather than rlwimi.
26316 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
26317 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
26318 little-endian support. Correct typos.
26319 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
26320 rather than rlwimi.
26321 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
26322 in loop and entry code to keep "and." results.
26323 (strchr): Add little-endian support. Comment. Move cntlzd
26324 earlier in tail.
26325 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
26326
26327 2013-10-04 Alan Modra <amodra@gmail.com>
26328
26329 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
26330 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
26331 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
26332 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
26333
26334 2013-10-04 Alan Modra <amodra@gmail.com>
26335
26336 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
26337 (rTMP): Define as r11.
26338 (strcmp): Add little-endian support. Optimise tail.
26339 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
26340 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26341 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
26342 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
26343 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
26344 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
26345 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
26346
26347 2013-10-04 Alan Modra <amodra@gmail.com>
26348
26349 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
26350 little-endian support. Remove unnecessary "are we done" tests.
26351 Handle "s" wrapping around zero and extremely large "size".
26352 Correct main loop count. Handle single left-over word from main
26353 loop inline rather than by using small_loop. Correct comments.
26354 Delete "zero" tail, use "end_max" instead.
26355 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
26356
26357 2013-10-04 Alan Modra <amodra@gmail.com>
26358
26359 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
26360 support. Don't branch over align.
26361 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
26362 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
26363 support. Rearrange tmp reg use to suit. Comment.
26364 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
26365
26366 2013-10-04 Alan Modra <amodra@gmail.com>
26367
26368 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
26369
26370 2013-10-04 Alan Modra <amodra@gmail.com>
26371
26372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
26373 conditional form of branch and link when obtaining pc.
26374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
26375
26376 2013-10-04 Alan Modra <amodra@gmail.com>
26377
26378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
26379 HIWORD/LOWORD.
26380 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
26381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
26382
26383 2013-10-04 Alan Modra <amodra@gmail.com>
26384
26385 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
26386 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
26387 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26388 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
26389 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26390 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26391 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
26392 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26393 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26394 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
26395
26396 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26397 Alistair Popple <alistair@ozlabs.au.ibm.com>
26398 Alan Modra <amodra@gmail.com>
26399
26400 [BZ #15723]
26401 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
26402 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
26403 _dl_hwcap access for little-endian.
26404 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
26405 destroy vmx regs when saving unaligned.
26406 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
26407 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
26408 destroy vmx regs when saving unaligned.
26409
26410 2013-10-04 Alan Modra <amodra@gmail.com>
26411
26412 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
26413 Don't use a union to pack hi/low value.
26414
26415 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26416
26417 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
26418 for little-endian.
26419 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26420 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
26421 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
26422 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26423 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26424
26425 2013-10-04 Alan Modra <amodra@gmail.com>
26426
26427 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
26428 constants to usual value for .cst8 section, and remove redundant
26429 high address load.
26430 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
26431 constant for 0x1p52. Load little-endian words of double from
26432 correct stack offsets.
26433
26434 2013-10-04 Alan Modra <amodra@gmail.com>
26435
26436 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
26437 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
26438 words of double from correct stack offsets.
26439 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26440 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
26441 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26442 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26443 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26444 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26445 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26446 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26447 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26448 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26449 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26450 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26451 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26452 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26453 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26454 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
26455 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26456
26457 2013-10-04 Alan Modra <amodra@gmail.com>
26458
26459 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
26460 64-bit int/double union.
26461 (_FPU_SETCW): Likewise.
26462 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
26463 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
26464
26465 2013-10-04 Alan Modra <amodra@gmail.com>
26466
26467 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
26468 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
26469
26470 2013-10-04 Alan Modra <amodra@gmail.com>
26471
26472 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
26473 use vector int constants.
26474 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
26475
26476 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26477
26478 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
26479 array with long long.
26480 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
26481 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
26482 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
26483 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
26484 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
26485 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
26486 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
26487 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
26488 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
26489 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
26490 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
26491 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
26492 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
26493
26494 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
26495
26496 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
26497 (__signbit): Likewise. Correct for little-endian.
26498 (__signbitl): Call __signbit.
26499 (lrint): Correct for little-endian.
26500 (lrintf): Call lrint.
26501
26502 2013-10-04 Alan Modra <amodra@gmail.com>
26503
26504 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
26505 union 32-bit int array member with 64-bit int array.
26506 (t515, tm256): Double rather than long double.
26507 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
26508
26509 2013-10-04 Alan Modra <amodra@gmail.com>
26510
26511 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
26512 Delete.
26513 (IEEE854_LONG_DOUBLE_BIAS): Delete.
26514 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
26515 version of math_ldbl.h.
26516
26517 2013-10-04 Alan Modra <amodra@gmail.com>
26518
26519 [BZ #15734], [BZ #15735]
26520 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
26521 all uses of ieee875 long double macros and unions. Simplify test
26522 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
26523 ldbl_extract_mantissa value for ix,iy exponents. Properly
26524 normalize after ldbl_extract_mantissa, and don't add hidden bit
26525 already handled. Don't treat low word of ieee854 mantissa like
26526 low word of IBM long double and mask off bit when testing for
26527 zero.
26528 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
26529 all uses of ieee875 long double macros and unions. Simplify tests
26530 for 0.0L and inf. Correct double adjustment of k. Delete dead code
26531 adjusting ha,hb. Simplify code setting kld. Delete two600 and
26532 two1022, instead use their values. Recognise that tests for large
26533 "a" and small "b" are mutually exclusive. Rename vars. Comment.
26534 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
26535 Rewrite all uses of ieee875 long double macros and unions. Simplify
26536 test for 0.0L and nan. Correct negation.
26537 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
26538 ieee875 long double macros and unions. Correct output for large
26539 magnitude x. Correct absolute value calculation.
26540 (__erfcl): Likewise.
26541 * math/libm-test.inc: Add tests for errors discovered in IBM long
26542 double versions of fmodl, remainderl, erfl and erfcl.
26543
26544 2013-10-04 Alan Modra <amodra@gmail.com>
26545
26546 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
26547 all uses of ieee854 long double macros and unions. Simplify tests
26548 for long doubles that are fully specified by the high double.
26549 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
26550 Likewise.
26551 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
26552 Remove dead code too.
26553 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26554 (__ieee754_ynl): Likewise.
26555 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
26556 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
26557 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
26558 Remove dead code too.
26559 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
26560 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
26561 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
26562 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
26563 Simplify.
26564 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
26565 Simplify.
26566 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
26567 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
26568 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
26569 Comment on variable precision.
26570 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
26571 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
26572 Likewise.
26573 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26574 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26575 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26576 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
26577 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
26578
26579 2013-10-04 Alan Modra <amodra@gmail.com>
26580
26581 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
26582 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
26583 all uses of ieee854 long double macros and unions.
26584 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
26585 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
26586 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
26587 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
26588 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
26589 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
26590 Likewise.
26591 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
26592 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26593 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
26594 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26595 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
26596 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
26597 Simplify sign and nan test too.
26598 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
26599 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
26600 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
26601 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
26602 Likewise.
26603 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
26604 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
26605 Likewise.
26606 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26607 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
26608 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
26609 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
26610 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
26611 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
26612
26613 2013-10-04 Alan Modra <amodra@gmail.com>
26614
26615 * stdio-common/printf_size.c (__printf_size): Don't use
26616 union ieee854_long_double in fpnum union.
26617 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
26618 signbit macro to retrieve sign from long double.
26619 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
26620 retrieve sign from long double.
26621 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
26622 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
26623 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
26624 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
26625 * math/test-misc.c (main): Don't use union ieee854_long_double.
26626
26627 2013-10-04 Alan Modra <amodra@gmail.com>
26628
26629 [BZ #15680]
26630 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
26631 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
26632 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
26633 calculation. Remove unnecessary test for denormal exponent.
26634 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
26635 Correct handling of denormals. Avoid undefined shift behaviour.
26636 Correct normalisation of low mantissa when low double is denormal.
26637 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
26638 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
26639 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
26640 Correct normalisation of low mantissa. Test for overflow of high
26641 mantissa and normalise.
26642 (ldbl_nearbyint): Use more readable constant for two52.
26643 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
26644 (__mpn_construct_long_double): Fix test for overflow of high
26645 mantissa and correct normalisation. Avoid undefined shift.
26646
26647 2013-10-04 Alan Modra <amodra@gmail.com>
26648
26649 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26650 (union ibm_extended_long_double): Define as an array of ieee754_double.
26651 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
26652 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
26653 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
26654 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26655 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26656 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
26657 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26658 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
26659 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
26660 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
26661 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
26662
26663 2013-10-03 Joseph Myers <joseph@codesourcery.com>
26664
26665 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
26666 page size instead of calling getpagesize.
26667
26668 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
26669 (LOCFILE_ALIGN_MASK): Likewise.
26670 (LOCFILE_ALIGN_UP): Likewise.
26671 (LOCFILE_ALIGNED_P): Likewise.
26672 * locale/programs/ld-collate.c (collate_output): Use the new
26673 macros instead of __alignof__ (int32_t).
26674 * locale/weight.h (findidx): Likewise.
26675
26676 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
26677
26678 [BZ #431]
26679 * manual/string.texi: Fix strncat and wcsncat.
26680
26681 2013-10-03 Brooks Moses <bmoses@google.com>
26682
26683 [BZ #15915]
26684 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
26685 * Makerules: ...here, and adjust associated comments.
26686
26687 2013-10-02 Will Newton <will.newton@linaro.org>
26688
26689 * malloc/Makefile: Add tst-pvalloc.
26690 * malloc/tst-pvalloc.c: New file.
26691
26692 2013-10-02 Will Newton <will.newton@linaro.org>
26693
26694 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
26695 improve test coverage.
26696
26697 2013-10-02 Will Newton <will.newton@linaro.org>
26698
26699 * malloc/Makefile: Add tst-posix_memalign.
26700 * malloc/tst-posix_memalign.c: New file.
26701
26702 2013-10-01 Eric Blake <eblake@redhat.com>
26703
26704 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
26705 Use __THROWNL rather than __THROW on static functions.
26706
26707 2013-09-30 Petr Machata <pmachata@redhat.com>
26708
26709 * elf/elf.h (R_AARCH64_ABS16): New macro.
26710 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
26711 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
26712 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
26713 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
26714 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
26715 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
26716 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
26717 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
26718 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
26719 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
26720 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
26721 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
26722 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
26723 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
26724 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
26725 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
26726 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
26727 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
26728 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
26729 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
26730 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
26731 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
26732 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
26733 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
26734 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
26735 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
26736 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
26737 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
26738 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
26739 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
26740 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
26741 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
26742 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
26743 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
26744 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
26745 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
26746 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
26747 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
26748 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
26749 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
26750 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
26751 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
26752 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
26753 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
26754 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
26755 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
26756 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
26757 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
26758 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
26759 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
26760 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
26761 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
26762 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
26763 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
26764 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
26765 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
26766 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
26767 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
26768 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
26769 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
26770 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
26771 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
26772 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
26773 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
26774 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
26775 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
26776 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
26777 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
26778 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
26779 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
26780 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
26781 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
26782 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
26783 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
26784 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
26785 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
26786 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
26787 (R_AARCH64_TLSDESC_LDR): Likewise.
26788 (R_AARCH64_TLSDESC_ADD): Likewise.
26789 (R_AARCH64_TLSDESC_CALL): Likewise.
26790
26791 2013-09-30 Andreas Schwab <schwab@suse.de>
26792
26793 [BZ #15048]
26794 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
26795 the nss database lookup.
26796 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26797 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26798
26799 2013-09-28 Mike Frysinger <vapier@gentoo.org>
26800
26801 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
26802
26803 2013-09-28 P. J. McDermott <pj@pehjota.net>
26804
26805 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
26806 ${Bash-specific parameter/pattern/string} parameter expansion.
26807 * sysdeps/unix/make-syscalls.sh: Likewise.
26808
26809 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26810
26811 * sysdeps/sh/stackguard-macros.h: New file.
26812
26813 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
26814
26815 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
26816 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
26817 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
26818 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
26819 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26820 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
26821
26822 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26823
26824 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
26825 Fix thread ID register.
26826
26827 2013-09-25 Joseph Myers <joseph@codesourcery.com>
26828
26829 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
26830 [POSIX || UNIX98]: Require rather than permitting all symbols from
26831 <time.h>.
26832 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
26833 element of struct sched_param.
26834 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
26835 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
26836 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
26837 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
26838 constant.
26839
26840 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
26841
26842 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
26843 argument calculation.
26844
26845 2013-09-24 Joseph Myers <joseph@codesourcery.com>
26846
26847 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
26848 Expect macro.
26849 [POSIX] (pthread_attr_t): Do not require type.
26850 [POSIX] (pthread_cond_t): Likewise.
26851 [POSIX] (pthread_condattr_t): Likewise.
26852 [POSIX] (pthread_key_t): Likewise.
26853 [POSIX] (pthread_mutex_t): Likewise.
26854 [POSIX] (pthread_mutexattr_t): Likewise.
26855 [POSIX] (pthread_once_t): Likewise.
26856 [POSIX] (pthread_t): Likewise.
26857 [POSIX-based standards] (pthread_atfork): Expect function.
26858
26859 2013-09-24 Joseph Myers <joseph@codesourcery.com>
26860 Richard Sandiford <richard@codesourcery.com>
26861
26862 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
26863 (swap_endianness_p): New extern variable.
26864 (set_big_endian): New inline function.
26865 (maybe_swap_uint32): Likewise.
26866 (maybe_swap_uint32_array): Likewise.
26867 (maybe_swap_uint32_obstack): Likewise.
26868 * locale/programs/locfile.c: Include <stdbool.h>.
26869 (swap_endianness_p): New variable.
26870 (add_locale_uint32): Call maybe_swap_uint32.
26871 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
26872 (write_locale_data): Call maybe_swap_uint32_array.
26873 * locale/programs/ld-collate.c (obstack_int32_grow): Call
26874 maybe_swap_uint32.
26875 (obstack_int32_grow_fast): Likewise.
26876 (output_weightwc): Call maybe_swap_uint32_obstack.
26877 (collate_output): Likewise.
26878 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
26879 (OPT_LITTLE_ENDIAN): Likewise.
26880 (options): Add --little-endian and --big-endian options.
26881 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
26882 * locale/programs/locarchive.c: Include "locfile.h".
26883 (GET): New macro.
26884 (SET): Likewise.
26885 (INC): Likewise.
26886 (create_archive): Use the new macros to access fields of
26887 structures directly mapped from or written to locale archives.
26888 (oldlocrecentcmp): Likewise.
26889 (enlarge_archive): Likewise.
26890 (insert_name): Likewise.
26891 (add_alias): Likewise.
26892 (add_locale): Likewise.
26893 (delete_locales_from_archive): Likewise.
26894 (show_archive_content): Likewise.
26895 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
26896 locale data.
26897
26898 2013-09-24 Roland McGrath <roland@hack.frob.com>
26899
26900 * manual/freemanuals.texi: Updated from (newly) canonical copy at
26901 http://www.gnu.org/doc/freemanuals.texi.
26902 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
26903
26904 2013-09-24 Will Newton <will.newton@linaro.org>
26905
26906 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
26907 macro.
26908
26909 2013-09-23 Joseph Myers <joseph@codesourcery.com>
26910
26911 * locale/hashval.h (compute_hashval): Interpret bytes of key as
26912 unsigned char.
26913
26914 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
26915
26916 * manual/threads.texi (POSIX Threads): Fix a typo.
26917
26918 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26919
26920 [BZ #14547]
26921 * string/tst-strcoll-overflow.c: New test case.
26922 * string/Makefile (xtests): Add tst-strcoll-overflow.
26923 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
26924 cache if string sizes may cause integer overflow.
26925
26926 [BZ #14547]
26927 * string/strcoll_l.c (coll_seq): New members rule, idx,
26928 save_idx and back_us.
26929 (get_next_seq_nocache): New function.
26930 (do_compare_nocache): New function.
26931 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
26932 when malloc fails.
26933
26934 2013-09-23 Carlos O'Donell <carlos@redhat.com>
26935
26936 [BZ #15754]
26937 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
26938 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
26939 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
26940
26941 [BZ #15754]
26942 * elf/Makefile (tests): Add tst-ptrguard1.
26943 (tests-static): Add tst-ptrguard1-static.
26944 (tst-ptrguard1-ARGS): Define.
26945 (tst-ptrguard1-static-ARGS): Define.
26946 * elf/tst-ptrguard1.c: New file.
26947 * elf/tst-ptrguard1-static.c: New file.
26948 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
26949 * sysdeps/i386/stackguard-macros.h: Likewise.
26950 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26951 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26952 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26953 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26954 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26955 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26956
26957 2013-09-23 Hector Marco <hecmargi@upv.es>
26958 Ismael Ripoll <iripoll@disca.upv.es>
26959 Carlos O'Donell <carlos@redhat.com>
26960
26961 [BZ #15754]
26962 * sysdeps/generic/stackguard-macros.h: Define
26963 __pointer_chk_guard_local and POINTER_CHK_GUARD.
26964 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
26965 Define __pointer_chk_guard_local.
26966 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
26967 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
26968
26969 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
26970
26971 [BZ #15859]
26972 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
26973
26974 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
26975
26976 * include/string.h (__ffs): Declare as hidden.
26977 * string/ffs.c (__ffs): Define as hidden.
26978 * sysdeps/i386/ffs.c (__ffs): Likewise.
26979 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
26980 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
26981 * sysdeps/s390/ffs.c (__ffs): Likewise.
26982 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
26983
26984 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
26985
26986 * NEWS: Mention malloc probes.
26987
26988 * malloc/arena.c (new_heap): New memory_heap_new probe.
26989 (grow_heap): New memory_heap_more probe.
26990 (shrink_heap): New memory_heap_less probe.
26991 (heap_trim): New memory_heap_free probe.
26992 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
26993 (systrim): New memory_sbrk_less probe.
26994 * manual/probes.texi: Document them.
26995
26996 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
26997 * manual/probes.texi: Document it.
26998
26999 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
27000 (__libc_realloc): Add memory_realloc_retry probe.
27001 (__libc_memalign): Add memory_memalign_retry probe.
27002 (__libc_valloc): Add memory_valloc_retry probe.
27003 (__libc_pvalloc): Add memory_pvalloc_retry probe.
27004 (__libc_calloc): Add memory_calloc_retry probe.
27005 * manual/probes.texi: Document them.
27006
27007 * malloc/arena.c (get_free_list): Add probe
27008 memory_arena_reuse_free_list.
27009 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
27010 and memory_arena_reuse.
27011 (arena_get2) [!PER_THREAD]: Likewise.
27012 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
27013 memory_arena_reuse_realloc.
27014 * manual/probes.texi: Document them.
27015
27016 * malloc/malloc.c (__libc_free): Add
27017 memory_mallopt_free_dyn_thresholds probe.
27018 (__libc_mallopt): Add multiple memory_mallopt probes.
27019 * manual/probes.texi: Document them.
27020
27021 * malloc/malloc.c: Include stap-probe.h.
27022 (__libc_mallopt): Add memory_mallopt probe.
27023 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
27024 * manual/probes.texi: New.
27025 * manual/Makefile (chapters): Add probes.
27026 * manual/threads.texi: Set next node.
27027
27028 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
27029
27030 [BZ #15963, #13985]
27031 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
27032 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
27033 Add `Chinese' to `nan' entry name.
27034
27035 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27036
27037 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
27038 (POLYNOMIAL): Likewise.
27039 (TAYLOR_SINCOS): Likewise.
27040 (TAYLOR_SLOW): Likewise.
27041 (__sin): Use TAYLOR_SINCOS.
27042 (__cos): Likewise.
27043 (slow): Use TAYLOR_SLOW.
27044 (sloww): Likewise.
27045 (bsloww): Likewise.
27046 (csloww): Likewise.
27047
27048 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27049
27050 * stdlib/strtod_l.c: Fix buffer overrun.
27051
27052 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27053
27054 * benchtests/Makefile (bench): Add sincos.
27055 * benchtests/bench-sincos.c: New file.
27056
27057 * math/libm-test.inc (cos_test_data): New test inputs.
27058 (sin_test_data): Likewise.
27059
27060 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
27061 macro.
27062 (__sin): Use it.
27063 (__cos): Likewise.
27064 (slow1): Likewise.
27065 (slow2): Likewise.
27066 (sloww1): Likewise.
27067 (sloww2): Likewise.
27068 (bsloww1): Likewise.
27069 (bsloww2): Likewise.
27070 (cslow2): Likewise.
27071 (csloww1): Likewise.
27072 (csloww2): Likewise.
27073
27074 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
27075 function.
27076 (__sin): Use it.
27077 (__cos): Likewise.
27078
27079 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
27080 gotos.
27081 (__cos): Likewise.
27082
27083 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
27084
27085 * config.h.in (HAVE_MIPS_NAN2008): New macro.
27086 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
27087 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
27088 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
27089 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
27090 * elf/cache.c (print_entry): Handle the new cache flags.
27091
27092 2013-09-18 Joseph Myers <joseph@codesourcery.com>
27093 Aldy Hernandez <aldyh@redhat.com>
27094
27095 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
27096 Change condition to [_SOFT_FLOAT].
27097 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
27098 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
27099 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
27100 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
27101 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
27102 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
27103 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
27104 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
27105 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
27106 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
27107 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
27108 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
27109 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
27110 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
27111 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
27112 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
27113 declaration.
27114
27115 2013-09-18 Joseph Myers <joseph@codesourcery.com>
27116
27117 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
27118 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27119 (__longjmp): Use LOAD_GP to load saved GPRs.
27120 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
27121 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27122 (__sigsetjmp): Use SAVE_GP to save GPRs.
27123
27124 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
27125 Do not append -msoft-float.
27126 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
27127
27128 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27129
27130 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
27131
27132 2013-09-17 Joseph Myers <joseph@codesourcery.com>
27133
27134 [BZ #15966]
27135 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
27136 (_FPU_GETCW): Use initial "__" on variable and field names but not
27137 on macro parameter name.
27138 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
27139 parentheses around reference to macro parameter.
27140
27141 2013-09-13 Richard Sandiford <richard@codesourcery.com>
27142
27143 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
27144 prototype.
27145 (ctype_startup): Use uint32_t in cast and sizeof for
27146 ctype->charnames.
27147
27148 2013-09-11 Jia Liu <proljc@gmail.com>
27149
27150 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
27151 __daddr_t_defined.
27152 [__FreeBSD__]: Likewise.
27153
27154 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
27155
27156 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27157 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
27158 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
27159 (strchr): Remove __strchr_sse42 ifunc selection.
27160 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
27161 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
27162
27163 2013-09-11 Will Newton <will.newton@linaro.org>
27164
27165 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
27166 parameter to RES. Remove hardcoded 1000 value.
27167 * benchtests/bench-skeleton.c (main): Pass RES parameter
27168 to TIMING_INIT and multiply result by 1000.
27169
27170 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27171
27172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27173
27174 2013-09-11 Andreas Schwab <schwab@suse.de>
27175
27176 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27177 if not defined.
27178 (O_TMPFILE) [__USE_GNU]: Define.
27179 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
27180 Define.
27181
27182 2013-09-11 Will Newton <will.newton@linaro.org>
27183
27184 [BZ #15857]
27185 * malloc/malloc.c (__libc_memalign): Check the value of bytes
27186 does not overflow.
27187
27188 2013-09-11 Will Newton <will.newton@linaro.org>
27189
27190 [BZ #15856]
27191 * malloc/malloc.c (__libc_valloc): Check the value of bytes
27192 does not overflow.
27193
27194 2013-09-11 Will Newton <will.newton@linaro.org>
27195
27196 [BZ #15855]
27197 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
27198 does not overflow.
27199
27200 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
27201
27202 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
27203 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27204 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27205 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27206 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27207
27208 2013-09-10 Allan McRae <allan@archlinux.org>
27209
27210 [BZ #15748]
27211 * manual/arith.texi (Parsing of Floats): Clarify
27212 cross-reference.
27213
27214 [BZ #15849]
27215 * manual/install.texi (Running make install): Mention
27216 --enable-pt-chown.
27217 * INSTALL: Regenerated.
27218
27219 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
27220
27221 * csu/init-first.c (_init): Remove the !SHARED condition around
27222 FPU control word initialization.
27223 * elf/dl-support.c (_dl_fpu_control): New variable.
27224 (_dl_aux_init) <AT_FPUCW>: Initialize it.
27225 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
27226 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
27227 * math/test-fpucw-static.c: New file.
27228 * math/test-fpucw-ieee.c: New file.
27229 * math/test-fpucw-ieee-static.c: New file.
27230 * math/Makefile (tests): Add `test-fpucw-ieee' and
27231 `$(tests-static)'.
27232 (tests-static): New variable.
27233 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
27234 dependency to...
27235 [($(build-shared),yes)]
27236 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
27237 ... this.
27238 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
27239 New dependency.
27240
27241 2013-09-09 Allan McRae <allan@archlinux.org>
27242
27243 [BZ #15939]
27244 * manual/string.texi (Collation Functions): Fix typo in
27245 strcoll example.
27246 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
27247
27248 [BZ #15893]
27249 * stdlib/isomac.c (get_null_defines): Fix memory leak.
27250
27251 [BZ #15892]
27252 * libio/memstream.c (open_memstream): Fix memory leak.
27253 * libio/wmemstream.c (open_wmemstream): Likewise.
27254
27255 [BZ #15895]
27256 * nscd/netgroupcache.c: Fix nesting of ifdefs.
27257
27258 2013-09-09 Will Newton <will.newton@linaro.org>
27259
27260 * malloc/Makefile: Add tst-realloc to tests.
27261 * malloc/tst-realloc.c: New file.
27262
27263 2013-09-09 Allan McRae <allan@archlinux.org>
27264
27265 [BZ #15844]
27266 * COPYING: Update from GNU website to fix FSF address.
27267 * COPYING.LIB: Likewise.
27268
27269 2013-09-06 David S. Miller <davem@davemloft.net>
27270
27271 * po/zh_TW.po: Update Chinese (traditional) translation from
27272 translation project.
27273
27274 2013-09-06 Richard Sandiford <richard@codesourcery.com>
27275 Joseph Myers <joseph@codesourcery.com>
27276
27277 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
27278 "localeinfo.h".
27279 (obstack_chunk_alloc): New macro.
27280 (obstack_chunk_free): Likewise.
27281 (record_offset): New function.
27282 (init_locale_data): Likewise.
27283 (align_locale_data): Likewise.
27284 (add_locale_empty): Likewise.
27285 (add_locale_raw_data): Likewise.
27286 (add_locale_raw_obstack): Likewise.
27287 (add_locale_string): Likewise.
27288 (add_locale_wstring): Likewise.
27289 (add_locale_uint32): Likewise.
27290 (add_locale_uint32_array): Likewise.
27291 (add_locale_char): Likewise.
27292 (start_locale_structure): Likewise.
27293 (end_locale_structure): Likewise.
27294 (start_locale_prelude): Likewise.
27295 (end_locale_prelude): Likewise.
27296 (write_locale_data): Take locale_file structure rather than an
27297 iovec.
27298 * locale/programs/locfile.h: Include "obstack.h".
27299 (struct locale_file): Change to store locale file contents instead
27300 of header.
27301 (init_locale_data): New prototype.
27302 (align_locale_data): Likewise.
27303 (add_locale_empty): Likewise.
27304 (add_locale_raw_data): Likewise.
27305 (add_locale_raw_obstack): Likewise.
27306 (add_locale_string): Likewise.
27307 (add_locale_wstring): Likewise.
27308 (add_locale_uint32): Likewise.
27309 (add_locale_uint32_array): Likewise.
27310 (add_locale_char): Likewise.
27311 (start_locale_structure): Likewise.
27312 (end_locale_structure): Likewise.
27313 (start_locale_prelude): Likewise.
27314 (end_locale_prelude): Likewise.
27315 (write_locale_data): Update prototype.
27316 * locale/programs/3level.h (struct TABLE): Remove result field.
27317 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
27318 Use new locale_file interface.
27319 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
27320 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
27321 * locale/programs/ld-address.c (address_output): Use new
27322 locale_file interface.
27323 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
27324 NO_ADD_LOCALE.
27325 (collate_finish): Don't call collseq_table_finalize.
27326 (collate_output): Use new locale_file interface.
27327 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
27328 in file.
27329 (NO_FINALIZE): Change to NO_ADD_LOCALE.
27330 (TABLE): Move defines earlier in file.
27331 (ELEMENT): Likewise.
27332 (DEFAULT): Likewise.
27333 (wctrans_table_add): Move macro and inline function earlier in
27334 file.
27335 (struct wctype_table): Move type earlier in file.
27336 (add_locale_wctype_table): New static prototype.
27337 (struct locale_ctype_t): Use logical types instead of struct iovec
27338 pointers for members.
27339 (ctype_output): Use new locale_file interface.
27340 (wctype_table_finalize): Change to add_locale_wctype_table. Use
27341 new locale_file interface.
27342 (allocate_arrays): Update for use of new locale_file interface.
27343 * locale/programs/ld-identification.c (identification_output): Use
27344 new locale_file interface.
27345 * locale/programs/ld-measurement.c (measurement_output): Likewise.
27346 * locale/programs/ld-messages.c (messages_output): Likewise.
27347 * locale/programs/ld-monetary.c (monetary_output): Likewise.
27348 * locale/programs/ld-name.c (name_output): Likewise.
27349 * locale/programs/ld-numeric.c (numeric_output): Likewise.
27350 * locale/programs/ld-paper.c (paper_output): Likewise.
27351 * locale/programs/ld-telephone.c (telephone_output): Likewise.
27352 * locale/programs/ld-time.c (time_output): Likewise.
27353
27354 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27355
27356 * benchtests/Makefile: Add memrchr benchmark.
27357 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
27358 benchmark as memrchr.
27359 * benchtests/bench-memrchr-ifunc.c: New file.
27360 * benchtests/bench-memrchr.c: New file.
27361
27362 2013-09-06 Will Newton <will.newton@linaro.org>
27363
27364 * benchtests/Makefile (string-bench): Add memcpy.
27365
27366 2013-09-05 Carlos O'Donell <carlos@redhat.com>
27367 Cong Wang <amwang@redhat.com>
27368
27369 [BZ #15850]
27370 * sysdeps/unix/sysv/linux/bits/in.h
27371 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
27372 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
27373 before __USE_KERNEL_IPV6_DEFS uses.
27374 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
27375 IPPROTO_BEETPH.
27376 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
27377 sockaddr_in6, or ipv6_mreq.
27378
27379 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27380
27381 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
27382 memory access for final bytes in some large inputs.
27383 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
27384
27385 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27386
27387 * string/test-memrchr.c: New file.
27388 * string/test-memrchr-ifunc.c: New file.
27389 * string/Makefile: Add new memrchr testcase.
27390
27391 2013-09-05 Mike Frysinger <vapier@gentoo.org>
27392
27393 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
27394 fanotify_init returns EPERM.
27395
27396 2013-09-04 Joseph Myers <joseph@codesourcery.com>
27397
27398 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
27399 errors.
27400 (top level): Treat second token from macro or constant entries for
27401 allowed headers as allowed.
27402 * include/complex.h: Condition internal declarations on
27403 [!_ISOMAC].
27404 * include/fenv.h: Condition include of <stdbool.h> and internal
27405 declarations on [!_ISOMAC].
27406
27407 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
27408
27409 [BZ #15923]
27410 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
27411
27412 2013-09-04 Joseph Myers <joseph@codesourcery.com>
27413
27414 * configure.in (--enable-versioning): Remove configure option.
27415 (libc_cv_asm_symver_directive): Remove configure test.
27416 (libc_cv_ld_version_script_option): Likewise.
27417 (VERSIONING): Remove variable and AC_SUBST.
27418 (DO_VERSIONING): Remove AC_DEFINE.
27419 * configure: Regenerated.
27420 * config.h.in (DO_VERSIONING): Remove macro.
27421 * Makerules [$(versioning) = yes]: Change conditionals to
27422 [$(build-shared) = yes].
27423 * config.make.in (versioning): Remove variable.
27424 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
27425 [$(build-shared) = yes].
27426 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
27427 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
27428 * elf/Makefile [$(versioning) = yes]: Change conditionals to
27429 [$(build-shared) = yes].
27430 * extra-lib.mk [$(versioning) = yes]: Likewise.
27431 * hurd/Makefile [$(versioning) = yes]: Likewise.
27432 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
27433 [SHARED].
27434 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
27435 [SHARED].
27436 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27437 [SHARED && !NO_HIDDEN].
27438 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
27439 [SHARED].
27440 [SHARED && DO_VERSIONING]: Likewise..
27441 * libio/Makefile [$(versioning) = yes]: Change conditionals to
27442 [$(build-shared) = yes].
27443 * manual/install.texi (--disable-versioning): Remove
27444 documentation.
27445 * INSTALL: Regenerated.
27446 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
27447 to [SHARED].
27448 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
27449 [$(build-shared) = yes].
27450 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
27451 * sysdeps/i386/i686/multiarch/strstr-c.c
27452 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
27453 [SHARED && !NO_HIDDEN].
27454 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
27455 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
27456 * sysdeps/powerpc/powerpc32/dl-machine.c
27457 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
27458 * sysdeps/powerpc/powerpc32/sysdep.h
27459 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
27460 to [SHARED && PIC && !NO_HIDDEN].
27461 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
27462 conditional to [SHARED].
27463
27464 2013-09-04 Will Newton <will.newton@linaro.org>
27465
27466 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
27467 * benchtests/bench-string.h: Include bench-timing.h instead
27468 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
27469 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
27470 call to HP_TIMING_DIFF_INIT.
27471 * benchtests/bench-memccpy.c: Use bench-timing.h macros
27472 instead of hp-timing.h macros.
27473 * benchtests/bench-memchr.c: Likewise.
27474 * benchtests/bench-memcmp.c: Likewise.
27475 * benchtests/bench-memcpy.c: Likewise.
27476 * benchtests/bench-memmem.c: Likewise.
27477 * benchtests/bench-memmove.c: Likewise.
27478 * benchtests/bench-memset.c: Likewise.
27479 * benchtests/bench-rawmemchr.c: Likewise.
27480 * benchtests/bench-strcasecmp.c: Likewise.
27481 * benchtests/bench-strcasestr.c: Likewise.
27482 * benchtests/bench-strcat.c: Likewise.
27483 * benchtests/bench-strchr.c: Likewise.
27484 * benchtests/bench-strcmp.c: Likewise.
27485 * benchtests/bench-strcpy.c: Likewise.
27486 * benchtests/bench-strcpy_chk.c: Likewise.
27487 * benchtests/bench-strlen.c: Likewise.
27488 * benchtests/bench-strncasecmp.c: Likewise.
27489 * benchtests/bench-strncat.c: Likewise.
27490 * benchtests/bench-strncmp.c: Likewise.
27491 * benchtests/bench-strncpy.c: Likewise.
27492 * benchtests/bench-strnlen.c: Likewise.
27493 * benchtests/bench-strpbrk.c: Likewise.
27494 * benchtests/bench-strrchr.c: Likewise.
27495 * benchtests/bench-strspn.c: Likewise.
27496 * benchtests/bench-strstr.c: Likewise.
27497
27498 2013-09-04 Will Newton <will.newton@linaro.org>
27499
27500 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
27501
27502 2013-09-03 Joseph Myers <joseph@codesourcery.com>
27503
27504 [BZ #15427]
27505 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27506 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
27507 * math/libm-test.inc (lgamma_test_data): Add more tests.
27508 * sysdeps/i386/fpu/libm-test-ulps: Update.
27509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27510
27511 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
27512
27513 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
27514 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27515 Add ifunc.
27516 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27517 Add strcmp-sse2-unaligned
27518 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
27519
27520 2013-09-02 Mike Frysinger <vapier@gentoo.org>
27521
27522 * Versions.def (libc): Add GLIBC_2.19.
27523
27524 2013-09-02 Mike Frysinger <vapier@gentoo.org>
27525
27526 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
27527 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
27528
27529 2013-09-02 Joseph Myers <joseph@codesourcery.com>
27530
27531 [BZ #14155]
27532 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
27533 intermediate calculations in recurrence.
27534 (__ieee754_ynf): Likewise.
27535 * math/libm-test.inc (jn_test_data): Do not allow spurious
27536 underflow exception. Add more tests.
27537 (yn_test_data): Add more tests.
27538 * sysdeps/i386/fpu/libm-test-ulps: Update.
27539 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27540
27541 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
27542
27543 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
27544
27545 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27546
27547 * csu/init-first.c: Fix then/than typos.
27548 * locale/programs/ld-collate.c: Likewise.
27549 * locale/programs/linereader.h: Likewise.
27550 * manual/charset.texi: Likewise.
27551 * manual/filesys.texi: Likewise.
27552 * manual/stdio.texi: Likewise.
27553 * manual/string.texi: Likewise.
27554 * stdlib/fmtmsg.c: Likewise.
27555 * sysdeps/i386/stpncpy.S: Likewise.
27556 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27557 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27558 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27559 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27560
27561 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27562
27563 * elf/dl-open.c: Fix typos.
27564 * iconvdata/gbbig5.c: Likewise.
27565 * iconvdata/iso-2022-jp.c: Likewise.
27566 * iconv/gconv_int.h: Likewise.
27567 * iconv/loop.c: Likewise.
27568 * nis/rpcsvc/nis.h: Likewise.
27569 * resolv/ns_name.c: Likewise.
27570 * stdio-common/vfscanf.c: Likewise.
27571 * streams/stropts.h: Likewise.
27572 * sunrpc/rpc_thread.c: Likewise.
27573 * sysdeps/i386/strpbrk.S: Likewise.
27574 * sysdeps/ieee754/k_standard.c: Likewise.
27575 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27576 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27577 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
27578 * sysdeps/mach/hurd/profil.c: Likewise.
27579 * sysdeps/s390/dl-procinfo.h: Likewise.
27580 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
27581 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27582 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
27583 * sysdeps/x86_64/dl-trampoline.S: Likewise.
27584 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
27585
27586 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
27587
27588 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
27589 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
27590
27591 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
27592
27593 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
27594 aix specific files.
27595 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
27596 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
27597 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
27598 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
27599 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
27600 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
27601 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
27602 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
27603
27604 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27605 Roland McGrath <roland@hack.frob.com>
27606
27607 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
27608 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
27609
27610 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
27611
27612 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
27613 __executable_start symbol instead of _start.
27614
27615 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
27616
27617 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
27618 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
27619 Move macros to...
27620 * sysdeps/gnu/ldsodefs.h: ... this new file.
27621
27622 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
27623 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
27624 instead of ELFOSABI_LINUX.
27625
27626 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
27627 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
27628 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
27629 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
27630 Likewise.
27631 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
27632 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
27633 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
27634 Likewise.
27635 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27636 (ibm_extended_long_double): Add ieee_nan member.
27637 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
27638 (do_test): New function.
27639
27640 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
27641 TEST_TRUNC.
27642 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
27643 functions, renamed from truncdfsf_test, trunctfsf_test,
27644 trunctfdf_test.
27645 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
27646 functions.
27647 (do_test): Run all these.
27648
27649 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
27650
27651 * argp/argp-help.c: Fix typos.
27652 * argp/argp-parse.c: Likewise.
27653 * debug/backtracesyms.c: Likewise.
27654 * elf/elf.h: Likewise.
27655 * malloc/malloc.c: Likewise.
27656 * nis/nis_print.c: Likewise.
27657 * resolv/res_comp.c: Likewise.
27658 * stdlib/stdlib.h: Likewise.
27659 * sunrpc/clnt_tcp.c: Likewise.
27660 * sunrpc/clnt_udp.c: Likewise.
27661 * sunrpc/clnt_unix.c: Likewise.
27662 * sysdeps/unix/bsd/ptsname.c: Likewise.
27663 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
27664 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
27665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
27666 Likewise.
27667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
27668 Likewise.
27669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
27670 Likewise.
27671 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
27672
27673 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27674
27675 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
27676 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27677
27678 2013-08-27 Mike Frysinger <vapier@gentoo.org>
27679
27680 [BZ #15897]
27681 * dlfcn/Makefile (tests): Add bug-dl-leaf.
27682 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
27683 ($(objpfx)bug-dl-leaf): New rule.
27684 ($(objpfx)bug-dl-leaf.so): Likewise.
27685 ($(objpfx)bug-dl-leaf.out): Likewise.
27686 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
27687 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
27688 * dlfcn/bug-dl-leaf.c: New test.
27689 * dlfcn/bug-dl-leaf-lib.c: Likewise.
27690 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
27691 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
27692 (dlclose): Likewise.
27693 (dlmopen): Likewise.
27694
27695 2013-08-27 Roland McGrath <roland@hack.frob.com>
27696
27697 * include/netdb.h [!_ISOMAC]:
27698 Don't include <tls.h>.
27699 (h_errno, __libc_h_errno): Move declaration and macros out of
27700 [_LIBC_REENTRANT].
27701
27702 * include/resolv.h [_RESOLV_H_]:
27703 Don't include <tls.h>.
27704 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
27705 * resolv/res_libc.c: Don't include <tls.h>.
27706 (_res): Use __attribute__ ((nocommon)) in place of
27707 __attribute__ ((section (".bss"))).
27708
27709 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
27710 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
27711
27712 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
27713
27714 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
27715 only under [SIOCGIFCONF && SIOCGIFNETMASK].
27716
27717 * resolv/res_mkquery.c: Include <sys/time.h>.
27718
27719 * inet/ifreq.c: Moved to ...
27720 * sysdeps/unix/ifreq.c: ... here.
27721 * inet/ifreq.c: New file, true stub version.
27722
27723 * socket/sa_len.c: New file.
27724 * socket/Makefile (aux): Add it.
27725 * sysdeps/unix/sysv/linux/Makefile
27726 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
27727 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
27728 and #include <socket/sa_len.c>.
27729 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
27730 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
27731
27732 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
27733 * bits/socket.h: ... here.
27734
27735 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
27736 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
27737 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
27738
27739 2013-08-27 Andreas Schwab <schwab@suse.de>
27740
27741 [BZ #15736]
27742 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
27743 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
27744 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
27745 * string/test-strcasecmp.c (test_main): Run tests in several
27746 locales.
27747 * string/test-strncasecmp.c (test_main): Likewise.
27748
27749 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
27750 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
27751 to __strcasecmp_nonascii and __strncasecmp_nonascii.
27752 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
27753 (__strncasecmp_ssse3) [PIC]: Likewise.
27754
27755 2013-08-26 Roland McGrath <roland@hack.frob.com>
27756
27757 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
27758
27759 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
27760 instead of explicitly declaring xdecrypt.
27761 * nis/nss_nis/nis-publickey.c: Likewise.
27762
27763 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27764
27765 [BZ #15890]
27766 * nscd/aicache.c: Include res_hconf.h.
27767 (addhstaiX): Initialize res_hconf.
27768
27769 2013-08-26 Andreas Schwab <schwab@suse.de>
27770
27771 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
27772 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
27773
27774 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27775
27776 * nscd/aicache.c (addhstaiX): Fix indentation.
27777
27778 2013-08-25 Mike Frysinger <vapier@gentoo.org>
27779
27780 * configure.ac: Quote $build_pt_chown test.
27781 * configure: Regenerated.
27782
27783 2013-08-23 Joseph Myers <joseph@codesourcery.com>
27784
27785 [BZ #15532]
27786 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
27787 * math/s_cexpf.c (__cexpf): Likewise.
27788 * math/s_cexpl.c (__cexpl): Likewise.
27789 * math/libm-test.inc (cexp_test_data): Correct expected return
27790 value for NaN + i0. Add another test.
27791
27792 2013-08-22 David S. Miller <davem@davemloft.net>
27793
27794 * po/ca.po: Update Catalan translation from translation project.
27795 * po/uk.po: Add Ukrainian translations from translation project.
27796
27797 2013-08-21 Joseph Myers <joseph@codesourcery.com>
27798
27799 [BZ #15797]
27800 * math/s_fdim.c (__fdim): Check for infinite arguments if result
27801 is infinite, not alongside NaN test.
27802 * math/s_fdimf.c (__fdimf): Likewise.
27803 * math/s_fdiml.c (__fdiml): Likewise.
27804 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
27805 errno is unchanged.
27806
27807 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
27808
27809 * argp/argp-help.c: Fix typos.
27810 * crypt/speeds.c: Likewise.
27811 * csu/check_fds.c: Likewise.
27812 * elf/dl-load.c: Likewise.
27813 * elf/dl-open.c: Likewise.
27814 * elf/reldep3.c: Likewise.
27815 * elf/reldep.c: Likewise.
27816 * elf/sprof.c: Likewise.
27817 * iconv/iconv_charmap.c: Likewise.
27818 * iconv/skeleton.c: Likewise.
27819 * iconv/strtab.c: Likewise.
27820 * io/lockf64.c: Likewise.
27821 * libio/libioP.h: Likewise.
27822 * resolv/gai_notify.c: Likewise.
27823 * resolv/ns_name.c: Likewise.
27824 * resolv/ns_samedomain.c: Likewise.
27825 * resolv/res_send.c: Likewise.
27826 * stdlib/random.c: Likewise.
27827 * sunrpc/rpc/xdr.h: Likewise.
27828 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
27829 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27830 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27831 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27832 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27833 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27834 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27835 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27836 * sysdeps/mach/hurd/check_fds.c: Likewise.
27837 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
27838 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27839 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27840 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
27841 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27842 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
27843 * sysdeps/pthread/aio_notify.c: Likewise.
27844 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
27845 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
27846 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
27847 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
27848 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
27849
27850 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27851
27852 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
27853 version if bit_Slow_SSE4_2 is set.
27854 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27855 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27856
27857 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27858
27859 [BZ #15867]
27860 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
27861 trampoline stack frame information.
27862 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
27863 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
27864 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
27865 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
27866 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
27867 * sysdeps/unix/sysv/linux/powerpc/init-first.c
27868 (_libc_vdso_platform_setup): Initialize the signal trampolines.
27869 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
27870 sa_flags value.
27871 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
27872 interrupting a syscall and set with option SA_SIGINFO.
27873
27874 2013-08-20 Joseph Myers <joseph@codesourcery.com>
27875
27876 [BZ #15531]
27877 * math/s_cproj.c (__cproj): Only return an infinity if one part of
27878 argument is infinite.
27879 * math/s_cprojf.c (__cprojf): Likewise.
27880 * math/s_cprojl.c (__cprojl): Likewise.
27881 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
27882 * math/libm-test.inc (cproj_test_data): Add more tests.
27883
27884 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
27885
27886 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
27887 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
27888 size. Use __ffs to determine corresponding shift.
27889
27890 2013-08-20 Joseph Myers <joseph@codesourcery.com>
27891 Roland McGrath <roland@hack.frob.com>
27892
27893 * Makefile (INSTALL): Remove trailing blank lines from output of
27894 makeinfo.
27895
27896 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27897
27898 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
27899 Align 32 bit compat elf_greg to 8 bytes.
27900
27901 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
27902
27903 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
27904
27905 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
27906
27907 * string/strcoll_l.c (coll_seq): New structure.
27908 (get_next_seq_cached): New function.
27909 (get_next_seq): New function.
27910 (do_compare): New function.
27911 (STRCOLL): Use GNU style definition. Simplify implementation
27912 by using get_next_seq, get_next_seq_cached and do_compare.
27913
27914 2013-08-16 Florian Weimer <fweimer@redhat.com>
27915
27916 [BZ #14699]
27917 CVE-2013-4237
27918 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
27919 member.
27920 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
27921 member.
27922 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
27923 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
27924 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
27925 conditional.
27926 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
27927 GETDENTS_64BIT_ALIGNED.
27928 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
27929 * manual/filesys.texi (Reading/Closing Directory): Document
27930 ENAMETOOLONG return value of readdir_r. Recommend readdir more
27931 strongly.
27932 * manual/conf.texi (Limits for Files): Add portability note to
27933 NAME_MAX, PATH_MAX.
27934 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
27935
27936 2013-08-13 Andreas Schwab <schwab@suse.de>
27937
27938 [BZ #15749]
27939 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
27940 of fabs.
27941 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
27942 LDBL_MAX_EXP >= 16384]: Add tests for it.
27943
27944 2013-08-12 David S. Miller <davem@davemloft.net>
27945
27946 * version.h (RELEASE): Set to "development".
27947 (VERSION): Set to "2.18.90".
27948 * NEWS: Add 2.19 section.
27949
27950 2013-08-03 David S. Miller <davem@davemloft.net>
27951
27952 * po/ko.po: Update Korean translation from translation project.
27953
27954 2013-08-01 David S. Miller <davem@davemloft.net>
27955
27956 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
27957 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
27958 Bilka.
27959
27960 2013-07-30 David S. Miller <davem@davemloft.net>
27961
27962 * po/fr.po: Update French translation from translation project.
27963
27964 2013-07-28 David S. Miller <davem@davemloft.net>
27965
27966 * po/cs.po: Update Czech translation from translation project.
27967
27968 * po/sv.po: Update Swedish translation from translation project.
27969
27970 2013-07-27 David S. Miller <davem@davemloft.net>
27971
27972 * po/eo.po: Update Esperanto translation from translation project.
27973
27974 * po/vi.po: Update Vietnamese translation from translation project.
27975
27976 * po/de.po: Update German translation from translation project.
27977
27978 2013-07-26 David S. Miller <davem@davemloft.net>
27979
27980 * po/bg.po: Update Bulgarian translation from translation project.
27981
27982 * po/nl.po: Update Dutch translation from translation project.
27983 * po/pl.po: Update Polish translation from translation project.
27984 * po/ru.po: Update Russian translation from translation project.
27985
27986 2013-07-24 David S. Miller <davem@davemloft.net>
27987
27988 * po/libc.pot: Update.
27989
27990 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27991
27992 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
27993 variable page size.
27994 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
27995 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
27996 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
27997
27998 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27999
28000 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
28001
28002 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28003 Andreas Schwab <schwab@suse.de>
28004 Roland McGrath <roland@hack.frob.com>
28005 Joseph Myers <joseph@codesourcery.com>
28006 Carlos O'Donell <carlos@redhat.com>
28007
28008 [BZ #15755]
28009 * config.h.in: Define HAVE_PT_CHOWN.
28010 * config.make.in (build-pt-chown): New variable.
28011 * configure.in (--enable-pt_chown): New configure option.
28012 * configure: Regenerate.
28013 * login/Makefile: Include Makeconfig. Build pt_chown only if
28014 build-pt-chown is enabled.
28015 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
28016 pt_chown to fix pty ownership.
28017 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
28018 CLOSE_ALL_FDS.
28019 * manual/install.texi (Configuring and compiling): Mention
28020 --enable-pt_chown. Add @findex for grantpt.
28021 * INSTALL: Regenerate.
28022
28023 2013-07-20 David S. Miller <davem@davemloft.net>
28024
28025 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
28026 difference between 32-bit and 64-bit.
28027
28028 2013-07-15 Carlos O'Donell <carlos@redhat.com>
28029
28030 [BZ #15711]
28031 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
28032 Avoid system header dependency with -ffreestanding.
28033 ($(objpfx)bits/syscall%d): Likewise.
28034
28035 2013-07-13 David S. Miller <davem@davemloft.net>
28036
28037 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
28038 underflows from atanl/atan2l due to bug 15319.
28039 (casinh_test_data): Likewise.
28040
28041 2013-07-07 David S. Miller <davem@davemloft.net>
28042
28043 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28044
28045 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
28046
28047 * sysdeps/i386/fpu/libm-test-ulps: Update.
28048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28049
28050 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
28051
28052 * configure.in (--enable-lock-elision): Fix message text.
28053 * INSTALL: Regenerate.
28054 * configure: Regenerate.
28055
28056 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28057
28058 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28059
28060 2013-07-03 Andreas Jaeger <aj@suse.de>
28061
28062 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
28063 define.
28064 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
28065 (ptrace_peeksiginfo_args): Add.
28066 (__ptrace_peeksiginfo_flags): Add.
28067 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28068 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28069 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28070
28071 2013-07-03 Allan McRae <allan@archlinux.org>
28072
28073 * sysdeps/i386/fpu/libm-test-ulps: Update.
28074
28075 2013-07-02 David S. Miller <davem@davemloft.net>
28076
28077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28078
28079 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
28080
28081 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28082
28083 2013-07-02 Joseph Myers <joseph@codesourcery.com>
28084
28085 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28087
28088 2013-07-02 Andi Kleen <ak@linux.intel.com>
28089
28090 * config.h.in (ENABLE_LOCK_ELISION): Add.
28091 * configure.in (--enable-lock-elision): Add option.
28092 * manual/install.texi: Document --enable lock elision.
28093 * configure: Regenerate
28094 * INSTALL: Regenerate.
28095
28096 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
28097
28098 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
28099 SSE4.2 strcasecmp for libc.a.
28100 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28101
28102 2013-07-02 Joseph Myers <joseph@codesourcery.com>
28103
28104 [BZ #13304]
28105 * soft-fp/op-common.h (_FP_FMA): New macro.
28106 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
28107 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
28108 (_FP_MUL_MEAT_1_imm): ... here.
28109 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
28110 (_FP_MUL_MEAT_1_wide): ... here.
28111 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
28112 (_FP_MUL_MEAT_1_hard): ... here.
28113 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
28114 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
28115 (_FP_MUL_MEAT_2_wide): ... here.
28116 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
28117 (_FP_MUL_MEAT_2_wide_3mul): ... here.
28118 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
28119 (_FP_MUL_MEAT_2_gmp): ... here.
28120 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
28121 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
28122 (_FP_MUL_MEAT_4_wide): ... here.
28123 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
28124 (_FP_MUL_MEAT_4_gmp): ... here.
28125 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
28126 (_FP_WFRACBITS_DW_S): Likewise.
28127 (_FP_WFRACXBITS_DW_S): Likewise.
28128 (_FP_HIGHBIT_DW_S): Likewise.
28129 (FP_FMA_S): Likewise.
28130 (_FP_FRAC_HIGH_DW_S): Likewise.
28131 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
28132 (_FP_WFRACBITS_DW_D): Likewise.
28133 (_FP_WFRACXBITS_DW_D): Likewise.
28134 (_FP_HIGHBIT_DW_D): Likewise.
28135 (FP_FMA_D): Likewise.
28136 (_FP_FRAC_HIGH_DW_D): Likewise.
28137 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
28138 (_FP_WFRACBITS_DW_E): Likewise.
28139 (_FP_WFRACXBITS_DW_E): Likewise.
28140 (_FP_HIGHBIT_DW_E): Likewise.
28141 (FP_FMA_E): Likewise.
28142 (_FP_FRAC_HIGH_DW_E): Likewise.
28143 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
28144 (_FP_WFRACBITS_DW_Q): Likewise.
28145 (_FP_WFRACXBITS_DW_Q): Likewise.
28146 (_FP_HIGHBIT_DW_Q): Likewise.
28147 (FP_FMA_Q): Likewise.
28148 (_FP_FRAC_HIGH_DW_Q): Likewise.
28149 * soft-fp/fmasf4.c: New file.
28150 * soft-fp/fmadf4.c: Likewise.
28151 * soft-fp/fmatf4.c: Likewise.
28152
28153 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28154
28155 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28156 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
28157 Silvermont.
28158 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
28159 macro.
28160 (index_Slow_SSE4_2): Likewise.
28161 (index_Prefer_PMINUB_for_stringop): Likewise.
28162 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
28163 bit_Slow_SSE4_2 is set.
28164 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28165 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28166
28167 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28168
28169 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
28170 rtld_global._dl_hwcap2.
28171 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
28172 POWER8.
28173 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
28174 POWER8 feature descriptions defined in _dl_hwcap2.
28175 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
28176 string handling for POWER8 feature bits.
28177 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
28178 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
28179 _dl_powerpc_cap_flags.
28180 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
28181 * sysdeps/powerpc/rtld-global-offsets.sym
28182 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
28183 _dl_hwcap2 in the rtld_global_ro structure.
28184
28185 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28186
28187 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
28188 hardware capabilities in support of AT_HWCAP2.
28189 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
28190 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
28191 GLRO(dl_hwcap2).
28192 (_dl_show_auxv): Add support for calling _dl_procinfo to display
28193 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
28194 explicitly the unknown a_type display mechanism is used.
28195 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
28196 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
28197 struct member.
28198 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
28199 to macro prototype for AT_HWCAP2 support.
28200 * sysdeps/i386/dl-procinfo.h: Likewise.
28201 * sysdeps/s390/dl-procinfo.h: Likewise.
28202 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
28203 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
28204 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
28205 return -1 for unknown a_type display fallback.
28206 * sysdeps/sparc/dl-procinfo.h: Likewise.
28207 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
28208 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
28209
28210 2013-06-28 Joseph Myers <joseph@codesourcery.com>
28211
28212 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
28213 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
28214
28215 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
28216
28217 [BZ #12492]
28218 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
28219 mprotect making __stack_prot writable.
28220
28221 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
28222 Joseph Myers <joseph@codesourcery.com>
28223
28224 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
28225 as being properly aligned.
28226
28227 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
28228
28229 * dlfcn/modstatic5.c: New file.
28230 * dlfcn/tststatic5.c: New file.
28231 * dlfcn/Makefile (tests): Add tststatic5.
28232 (tests-static): Likewise.
28233 (modules-names): Add modstatic5.
28234 (tststatic5-ENV): New variable.
28235 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
28236
28237 [BZ #15022]
28238 * elf/dl-support.c (_dl_main_map): New variable.
28239 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
28240 (_dl_nns, _dl_load_adds): Set to 1.
28241 (_dl_initial_searchlist): Refer to _dl_main_map.
28242 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
28243 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
28244 call to _dl_get_origin.
28245 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
28246 around call_map.
28247 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
28248 * dlfcn/modstatic3.c: New file.
28249 * dlfcn/tststatic3.c: New file.
28250 * dlfcn/tststatic4.c: New file.
28251 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
28252 (tests-static): Likewise.
28253 (modules-names): Add modstatic3.
28254 (tststatic3-ENV, tststatic4-ENV): New variables.
28255 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
28256 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
28257
28258 2013-06-26 Joseph Myers <joseph@codesourcery.com>
28259
28260 * configure.in (CC): Require GCC version 4.4 or later.
28261 * configure: Regenerated.
28262 * manual/install.texi (Tools for Compilation): Update GCC version
28263 requirement.
28264 * INSTALL: Regenerated.
28265
28266 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28267
28268 [BZ #15674]
28269 * string/test-memcmp.c (check2): New.
28270 (main): Call check2.
28271
28272 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
28273
28274 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
28275
28276 [BZ #15022]
28277 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
28278 over to...
28279 (dl_open_worker) [!SHARED]: ... here.
28280
28281 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28282
28283 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
28284
28285 2013-06-25 Richard Henderson <rth@redhat.com>
28286
28287 * locale/programs/locarchive.c: Include <libc-internal.h>
28288
28289 2013-06-25 Joseph Myers <joseph@codesourcery.com>
28290
28291 * manual/texinfo.tex: Update to version 2013-06-21.17, with
28292 trailing whitespace removed.
28293
28294 2013-06-24 Mike Frysinger <vapier@gentoo.org>
28295
28296 [BZ #10283]
28297 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
28298 * locale/programs/locarchive.c: Include libc-mmap.h.
28299 (prepare_address_space): Take two new outputs (the mmap base and len).
28300 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
28301 values.
28302 (create_archive): Declare new mmap base and len values for
28303 prepare_address_space, and store the result in ah.
28304 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
28305 (enlarge_archive): If ah->mmap_base is not NULL, use that and
28306 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28307 Declare new mmap base and len values for
28308 prepare_address_space, and store the result in new_ah.
28309 (open_archive): Declare new mmap base and len values for
28310 prepare_address_space, and store the result in ah.
28311 (close_archive): If ah->mmap_base is not NULL, use that and
28312 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
28313 * sysdeps/generic/libc-mmap.h: New file.
28314
28315 2013-06-24 Mike Frysinger <vapier@gentoo.org>
28316
28317 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
28318 (ALIGN_UP): Likewise.
28319 (PTR_ALIGN_DOWN): Likewise.
28320 (PTR_ALIGN_UP): Likewise.
28321
28322 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28323
28324 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
28325 entry mapped to PPC_PLATFORM_POWER8.
28326 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
28327 POWER8.
28328 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
28329 (_dl_string_platform): Add case for exporting platform position for
28330 POWER8.
28331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
28332 search path to sysdeps/powerpc/powerpc32/power8 directory.
28333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
28334 search path to sysdeps/powerpc/powerpc64/power8 directory.
28335 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
28336 power7 directories.
28337 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
28338 power7 directories.
28339
28340 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28341
28342 * INSTALL: Regenerate.
28343
28344 * nscd/connections.c (nscd_init): Fix comment.
28345
28346 2013-06-22 Joseph Myers <joseph@codesourcery.com>
28347
28348 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
28349
28350 [BZ #15667]
28351 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
28352 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
28353
28354 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28355
28356 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
28357 DL_DST_REQ_STATIC.
28358 (DL_DST_REQ_STATIC): Remove macro.
28359
28360 2013-06-21 Joseph Myers <joseph@codesourcery.com>
28361
28362 [BZ #7006]
28363 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
28364 with a shift of 0 bits.
28365
28366 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
28367
28368 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
28369 $(tststatic-ENV).
28370
28371 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28372
28373 [BZ #15655]
28374 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
28375
28376 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28377
28378 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
28379 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
28380 accepts -fno-tree-loop-distribute-patterns.
28381 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
28382 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
28383 recursive call.
28384 * string/memset.c (memset): Likewise.
28385 * string/test-memmove.c (simple_memmove): Disable loop transformation
28386 to library calls.
28387 * string/test-memset.c (simple_memset): Likewise.
28388 * benchtests/bench-memmove.c (simple_memmove): Likewise.
28389 * benchtests/bench-memset.c (simple_memset): Likewise.
28390 * configure: Regenerated.
28391
28392 2013-06-20 Joseph Myers <joseph@codesourcery.com>
28393
28394 * math/test-misc.c (main): Ignore fesetround failure when failures
28395 of subsequent rounding tests would be ignored.
28396
28397 [BZ #15654]
28398 * math/fedisblxcpt.c (fedisableexcept): Return 0.
28399 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
28400 * math/fegetenv.c (__fegetenv): Return 0.
28401 * math/fegetexcept.c (fegetexcept): Return 0.
28402 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
28403 FE_TONEAREST.
28404 * math/feholdexcpt.c (feholdexcept): Return 0.
28405 * math/fesetenv.c (__fesetenv): Return 0.
28406 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
28407 argument FE_TONEAREST.
28408 * math/feupdateenv.c (__feupdateenv): Return 0.
28409 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
28410
28411 2013-06-18 Roland McGrath <roland@hack.frob.com>
28412
28413 * elf/rtld-Rules (rtld-compile-command.S): New variable.
28414 (rtld-compile-command.s, rtld-compile-command.c): New variables.
28415 ($(objpfx)rtld-%.os rules): Use them.
28416
28417 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28418
28419 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
28420 fields.
28421
28422 2013-06-17 Roland McGrath <roland@hack.frob.com>
28423
28424 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
28425 length of target pattern, then descending length of dependency pattern.
28426 * configure.in (AWK): Require gawk 3.1.2 or newer.
28427 * manual/install.texi (Tools for Compilation): Say that we do.
28428 * configure: Regenerated.
28429
28430 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
28431 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
28432 * scripts/sysd-rules.awk: ... this new script.
28433 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
28434 than a glob-style pattern.
28435
28436 2013-06-17 Joseph Myers <joseph@codesourcery.com>
28437
28438 * math/test-misc.c (main): Do not treat incorrectly rounded
28439 conversions as failure unless ROUNDING_TESTS passes.
28440
28441 2013-06-15 Joseph Myers <joseph@codesourcery.com>
28442
28443 [BZ #15631]
28444 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
28445 restore exception state around main square root computation, then
28446 check for inexactness explicitly.
28447
28448 * math/libm-test.inc (fma_test_data): Add another test.
28449
28450 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28451
28452 * manual/threads.texi (Non-POSIX Extensions): New document
28453 node. Document pthread_getattr_default_np and
28454 pthread_setattr_default_np.
28455
28456 * Versions.def (libpthread): Add GLIBC_2.18.
28457 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
28458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28459 Likewise.
28460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28461 Likewise.
28462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28463 Likewise.
28464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28465 Likewise.
28466 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
28467 Likewise.
28468 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28469 Likewise.
28470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28471 Likewise.
28472 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
28473 Likewise.
28474 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
28475 Likewise.
28476
28477 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28478
28479 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28480 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
28481
28482 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
28483 H.J. Lu <hjl.tools@gmail.com>
28484
28485 [BZ #15627]
28486 * sysdeps/x86_64/rtld-memset.c: Remove file.
28487 * sysdeps/x86_64/rtld-memset.S: New file.
28488
28489 2013-06-14 Joseph Myers <joseph@codesourcery.com>
28490
28491 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
28492 (test_in_one_mode): Take arguments for whether the rounding mode
28493 is supported for each floating-point type.
28494 (do_test): Pass new arguments to test_in_one_mode using
28495 ROUNDING_TESTS.
28496
28497 2013-06-13 Roland McGrath <roland@hack.frob.com>
28498
28499 * posix/tst-waitid.c (do_test): Distinguish different instances of
28500 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
28501 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
28502 before entering the kernel for waitpid.
28503
28504 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28505
28506 * NEWS: Fix note on clock function precision. Text by Roland
28507 McGrath.
28508
28509 2013-06-13 Roland McGrath <roland@hack.frob.com>
28510
28511 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
28512 it into place only when and if the sanity check passes.
28513
28514 2013-06-13 Joseph Myers <joseph@codesourcery.com>
28515
28516 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
28517 output for whether conversion result is exact. Take argument
28518 indicating whether type is IBM long double.
28519 (round_for_all): Change need_exact field to ibm_ld.
28520 * stdlib/tst-strtod-round.c (struct exactness): New type.
28521 (struct test): Change bool ld_ok field to struct exactness exact.
28522 (TEST): Update all definitions for change to field.
28523 (tests): Regenerate array contents.
28524 (test_in_one_mode): Take pointer to new field instead of old ld_ok
28525 field value. Check for IBM long double here.
28526 (do_test): Update calls to test_in_one_mode.
28527
28528 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
28529
28530 [BZ #12515]
28531 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
28532 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
28533
28534 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28535
28536 [BZ #15605]
28537 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
28538 generated by the compiler on loop optimizations.
28539 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
28540 general definitions.
28541
28542 2013-06-12 Joseph Myers <joseph@codesourcery.com>
28543
28544 * math/bug-nextafter.c: Include <math-tests.h>.
28545 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28546 the relevant type.
28547 * math/bug-nexttoward.c: Include <math-tests.h>.
28548 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28549 the relevant type.
28550 * math/test-misc.c: Include <math-tests.h>.
28551 (main): Only test for exceptions if EXCEPTION_TESTS is true for
28552 the relevant type.
28553
28554 2013-06-12 Andreas Jaeger <aj@suse.de>
28555
28556 * po/ia.po: Update Interlingua translation from translation
28557 project.
28558
28559 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28560
28561 * include/fenv.h: Include stdbool.h.
28562 (struct rm_ctx): New structure.
28563 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
28564 Define macro.
28565 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
28566 (SET_RESTORE_ROUNDF): Likewise.
28567 (SET_RESTORE_ROUNDL): Likewise.
28568 (SET_RESTORE_ROUND_NOEX): Likewise.
28569 (SET_RESTORE_ROUND_NOEXF): Likewise.
28570 (SET_RESTORE_ROUND_NOEXL): Likewise.
28571 (SET_RESTORE_ROUND_53BIT): Likewise.
28572 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
28573 (libc_feresetround_noexf_ctx): Likewise.
28574 (libc_feresetround_noexl_ctx): Likewise.
28575 (libc_feholdsetround_53bit_ctx): Likewise.
28576 (libc_feresetround_53bit_ctx): Likewise.
28577 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
28578 (libc_feholdexcept_setround_sse_ctx): New function.
28579 (libc_fesetenv_sse_ctx): Likewise.
28580 (libc_feupdateenv_sse_ctx): Likewise.
28581 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
28582 (libc_feholdexcept_setround_387_ctx): Likewise.
28583 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
28584 (libc_feholdsetround_387_prec_ctx): Likewise.
28585 (libc_feholdsetround_387_ctx): Likewise.
28586 (libc_feholdsetround_387_53bit_ctx): Likewise.
28587 (libc_feholdsetround_sse_ctx): Likewise.
28588 (libc_feresetround_sse_ctx): Likewise.
28589 (libc_feresetround_387_ctx): Likewise.
28590 (libc_feupdateenv_387_ctx): Likewise.
28591 (libc_feholdexcept_setroundf_ctx): Define macro.
28592 (libc_fesetenvf_ctx): Likewise.
28593 (libc_feupdateenvf_ctx): Likewise.
28594 (libc_feholdsetroundf_ctx): Likewise.
28595 (libc_feresetroundf_ctx): Likewise.
28596 (libc_feholdexcept_setround_ctx): Likewise.
28597 (libc_fesetenv_ctx): Likewise.
28598 (libc_feupdateenv_ctx): Likewise.
28599 (libc_feholdsetround_ctx): Likewise.
28600 (libc_feresetround_ctx): Likewise.
28601 (libc_feholdexcept_setroundl_ctx): Likewise.
28602 (libc_feupdateenvl_ctx): Likewise.
28603 (libc_feholdsetroundl_ctx): Likewise.
28604 (libc_feresetroundl_ctx): Likewise.
28605 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
28606 (libc_feresetround_53bit_ctx): Likewise.
28607
28608 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28609
28610 * locale/iso-639.def: Convert to UTF-8.
28611
28612 2013-06-11 Joseph Myers <joseph@codesourcery.com>
28613
28614 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
28615 (EXCEPTION_TESTS_double): Likewise.
28616 (EXCEPTION_TESTS_long_double): Likewise.
28617 (EXCEPTION_TESTS): Likewise.
28618 * math/libm-test.inc (test_exceptions): Only test exceptions if
28619 EXCEPTION_TESTS (FLOAT).
28620
28621 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28622
28623 * benchtests/Makefile (string-bench): Add strcpy_chk and
28624 stpcpy_chk.
28625 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
28626 * benchtests/bench-stpcpy_chk.c: New file.
28627 * benchtests/bench-strcpy_chk-ifunc.c: New file.
28628 * benchtests/bench-strcpy_chk.c: New file.
28629 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
28630 code.
28631 (do_test): Likewise.
28632
28633 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28634
28635 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
28636 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
28637 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
28638 with tabs where appropriate.
28639 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
28640 dl-procinfo.h.
28641 [PPC_PLATFORM_PPC440]: Likewise.
28642 [PPC_PLATFORM_PPC464]: Likewise.
28643 [PPC_PLATFORM_PPC476]: Likewise.
28644 (_dl_string_platform): Add support for detecting ppc405, ppc440,
28645 ppc464, and ppc476 platform strings merging from ports/
28646 dl-procinfo.h.
28647
28648 2013-06-11 Andreas Schwab <schwab@suse.de>
28649
28650 [BZ #14991]
28651 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
28652 (from_ucs4_idx): Regenerate.
28653 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
28654 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
28655 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
28656 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
28657 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
28658 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
28659 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
28660 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
28661 from FROM_LOOP and TO_LOOP specific macros.
28662 (BODY): Handle combining characters.
28663 * iconvdata/BIG5HKSCS.irreversible: Update.
28664 * iconvdata/BIG5HKSCS.precomposed: New file.
28665 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
28666 characters.
28667 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
28668
28669 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28670
28671 * include/sys/time.h: Fix indentation and add copyright header.
28672
28673 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
28674 (do_test): Likewise.
28675 * string/test-memchr.c (do_one_test): Likewise.
28676 (do_test): Likewise.
28677 * string/test-memcmp.c (do_one_test): Likewise.
28678 (do_test): Likewise.
28679 * string/test-memcpy.c (do_one_test): Likewise.
28680 (do_test): Likewise.
28681 * string/test-memmem.c (do_one_test): Likewise.
28682 (do_test): Likewise.
28683 (do_random_tests): Likewise.
28684 * string/test-memmove.c (do_one_test): Likewise.
28685 (do_test): Likewise.
28686 * string/test-memset.c (do_one_test): Likewise.
28687 (do_test): Likewise.
28688 * string/test-rawmemchr.c (do_one_test): Likewise.
28689 (do_test): Likewise.
28690 * string/test-strcasecmp.c (do_one_test): Likewise.
28691 (do_test): Likewise.
28692 * string/test-strcasestr.c (do_one_test): Likewise.
28693 (do_test): Likewise.
28694 * string/test-strcat.c (do_one_test): Likewise.
28695 (do_test): Likewise.
28696 * string/test-strchr.c (do_one_test): Likewise.
28697 (do_test): Likewise.
28698 * string/test-strcmp.c (do_one_test): Likewise.
28699 (do_test): Likewise.
28700 * string/test-strcpy.c (do_one_test): Likewise.
28701 (do_test): Likewise.
28702 * string/test-string.h: Likewise.
28703 (test_init): Likewise.
28704 * string/test-strlen.c (do_one_test): Likewise.
28705 (do_test): Likewise.
28706 * string/test-strncasecmp.c (do_one_test): Likewise.
28707 (do_test): Likewise.
28708 * string/test-strncat.c (do_one_test): Likewise.
28709 (do_test): Likewise.
28710 * string/test-strncmp.c (do_one_test): Likewise.
28711 (do_test_limit): Likewise.
28712 (do_test): Likewise.
28713 * string/test-strncpy.c (do_one_test): Likewise.
28714 (do_test): Likewise.
28715 * string/test-strnlen.c (do_one_test): Likewise.
28716 (do_test): Likewise.
28717 * string/test-strpbrk.c (do_one_test): Likewise.
28718 (do_test): Likewise.
28719 * string/test-strrchr.c (do_one_test): Likewise.
28720 (do_test): Likewise.
28721 * string/test-strspn.c (do_one_test): Likewise.
28722 (do_test): Likewise.
28723 * string/test-strstr.c (do_one_test): Likewise.
28724 (do_test): Likewise.
28725
28726 * benchtests/Makefile (string-bench): Add string benchmarks.
28727 * benchtests/bench-bcopy-ifunc.c: New file.
28728 * benchtests/bench-bcopy.c: New file.
28729 * benchtests/bench-bzero-ifunc.c: New file.
28730 * benchtests/bench-bzero.c: New file.
28731 * benchtests/bench-memccpy-ifunc.c: New file.
28732 * benchtests/bench-memccpy.c: New file.
28733 * benchtests/bench-memchr-ifunc.c: New file.
28734 * benchtests/bench-memchr.c: New file.
28735 * benchtests/bench-memcmp-ifunc.c: New file.
28736 * benchtests/bench-memcmp.c: New file.
28737 * benchtests/bench-memmem-ifunc.c: New file.
28738 * benchtests/bench-memmem.c: New file.
28739 * benchtests/bench-memmove-ifunc.c: New file.
28740 * benchtests/bench-memmove.c: New file.
28741 * benchtests/bench-mempcpy-ifunc.c: New file.
28742 * benchtests/bench-mempcpy.c: New file.
28743 * benchtests/bench-memset-ifunc.c: New file.
28744 * benchtests/bench-memset.c: New file.
28745 * benchtests/bench-rawmemchr-ifunc.c: New file.
28746 * benchtests/bench-rawmemchr.c: New file.
28747 * benchtests/bench-stpcpy-ifunc.c: New file.
28748 * benchtests/bench-stpcpy.c: New file.
28749 * benchtests/bench-stpncpy-ifunc.c: New file.
28750 * benchtests/bench-stpncpy.c: New file.
28751 * benchtests/bench-strcasecmp-ifunc.c: New file.
28752 * benchtests/bench-strcasecmp.c: New file.
28753 * benchtests/bench-strcasestr-ifunc.c: New file.
28754 * benchtests/bench-strcasestr.c: New file.
28755 * benchtests/bench-strcat-ifunc.c: New file.
28756 * benchtests/bench-strcat.c: New file.
28757 * benchtests/bench-strchr-ifunc.c: New file.
28758 * benchtests/bench-strchr.c: New file.
28759 * benchtests/bench-strchrnul-ifunc.c: New file.
28760 * benchtests/bench-strchrnul.c: New file.
28761 * benchtests/bench-strcmp-ifunc.c: New file.
28762 * benchtests/bench-strcmp.c: New file.
28763 * benchtests/bench-strcpy-ifunc.c: New file.
28764 * benchtests/bench-strcpy.c: New file.
28765 * benchtests/bench-strcspn-ifunc.c: New file.
28766 * benchtests/bench-strcspn.c: New file.
28767 * benchtests/bench-strlen-ifunc.c: New file.
28768 * benchtests/bench-strlen.c: New file.
28769 * benchtests/bench-strncasecmp-ifunc.c: New file.
28770 * benchtests/bench-strncasecmp.c: New file.
28771 * benchtests/bench-strncat-ifunc.c: New file.
28772 * benchtests/bench-strncat.c: New file.
28773 * benchtests/bench-strncmp-ifunc.c: New file.
28774 * benchtests/bench-strncmp.c: New file.
28775 * benchtests/bench-strncpy-ifunc.c: New file.
28776 * benchtests/bench-strncpy.c: New file.
28777 * benchtests/bench-strnlen-ifunc.c: New file.
28778 * benchtests/bench-strnlen.c: New file.
28779 * benchtests/bench-strpbrk-ifunc.c: New file.
28780 * benchtests/bench-strpbrk.c: New file.
28781 * benchtests/bench-strrchr-ifunc.c: New file.
28782 * benchtests/bench-strrchr.c: New file.
28783 * benchtests/bench-strspn-ifunc.c: New file.
28784 * benchtests/bench-strspn.c: New file.
28785 * benchtests/bench-strstr-ifunc.c: New file.
28786 * benchtests/bench-strstr.c: New file.
28787
28788 * benchtests/Makefile: Disable parallel execution of targets.
28789 (string-bench): Add memcpy.
28790 (benchset): New variable to store a list of benchmark sets.
28791 (bench-func): Renamed from bench.
28792 (bench-set): New target.
28793 (bench): Depend on bench-func and bench-set.
28794 * benchtests/README: Add section on benchmark sets.
28795 * benchtests/bench-memcpy-ifunc.c: New file.
28796 * benchtests/bench-memcpy.c: New file.
28797 * benchtests/bench-string.h: New file.
28798
28799 2013-06-11 Andreas Schwab <schwab@suse.de>
28800
28801 [BZ #15577]
28802 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
28803 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
28804 values in the triple.
28805 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
28806 terminator in the group key.
28807
28808 2013-06-11 Andreas Jaeger <aj@suse.de>
28809
28810 * po/zh_TW.po: Update Chinese (traditional) translation from
28811 translation project.
28812
28813 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28814
28815 * include/time.h (__clock_gettime): Add libc_hidden_proto.
28816 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
28817 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
28818 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28819 (clock_getcpuclockid): Likewise.
28820 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
28821 Add weak_alias and libc_hidden_def.
28822 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
28823 * rt/clock_gettime.c (clock_gettime): Rename to
28824 __clock_gettime. Add weak_alias and libc_hidden_def.
28825 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
28826 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
28827 __clock_nanosleep. Add weak_alias and libc_hidden_def.
28828 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
28829 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
28830 Likewise.
28831 * rt/clock_settime.c (clock_settime): Rename to
28832 __clock_settime. Add weak_alias and libc_hidden_def.
28833 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
28834
28835 2013-06-10 Joseph Myers <joseph@codesourcery.com>
28836
28837 * mach/err_boot.sub: Remove trailing whitespace.
28838 * mach/err_ipc.sub: Likewise.
28839 * mach/err_mach.sub: Likewise.
28840
28841 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
28842 (ROUNDING_TESTS_double): Likewise.
28843 (ROUNDING_TESTS_long_double): Likewise.
28844 (ROUNDING_TESTS): Likewise.
28845 * math/libm-test.inc: Include <math-tests.h>.
28846 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
28847 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28848 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28849 (IF_ROUND_INIT_FE_UPWARD): Likewise.
28850
28851 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28852
28853 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
28854 of assigning.
28855
28856 2013-06-08 Joseph Myers <joseph@codesourcery.com>
28857
28858 * sysdeps/gnu/errlist.awk: Do not generate space at end of
28859 otherwise empty TRANS lines.
28860 * sysdeps/gnu/errlist.c: Regenerated.
28861
28862 * catgets/gencat.c (error_print): Use (void) in function
28863 definition.
28864 * crypt/crypt_util.c (__init_des): Likewise.
28865 * crypt/speeds.c (Stop): Likewise.
28866 (main): Likewise.
28867 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
28868 * inet/ruserpass.c (token): Likewise.
28869 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
28870 * intl/localealias.c (extend_alias_table): Likewise.
28871 * intl/plural-exp.c (init_germanic_plural): Likewise.
28872 * libio/fcloseall.c (__fcloseall): Likewise.
28873 * libio/genops.c (_IO_flush_all): Likewise.
28874 (_IO_flush_all_linebuffered): Likewise.
28875 (_IO_cleanup): Likewise.
28876 (_IO_iter_begin): Likewise.
28877 (_IO_iter_end): Likewise.
28878 (_IO_list_lock): Likewise.
28879 (_IO_list_unlock): Likewise.
28880 (_IO_list_resetlock): Likewise.
28881 * libio/getchar.c (getchar): Likewise.
28882 * libio/getchar_u.c (getchar_unlocked): Likewise.
28883 * libio/getwchar.c (getwchar): Likewise.
28884 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
28885 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
28886 * login/getpt.c (__getpt): Likewise.
28887 * login/tst-utmp.c (main): Likewise.
28888 * malloc/hooks.c (__malloc_check_init): Likewise.
28889 * malloc/malloc.c (__malloc_stats): Likewise.
28890 * malloc/mtrace.c (tr_break): Likewise.
28891 (mtrace): Likewise.
28892 (muntrace): Likewise.
28893 * misc/fstab.c (endfsent): Likewise.
28894 * misc/getclktck.c (__getclktck): Likewise.
28895 * misc/getdtsz.c (__getdtablesize): Likewise.
28896 * misc/gethostid.c (gethostid): Likewise.
28897 * misc/getpagesize.c (__getpagesize): Likewise.
28898 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
28899 (__get_nprocs): Likewise.
28900 (__get_phys_pages): Likewise.
28901 (__get_avphys_pages): Likewise.
28902 * misc/getttyent.c (getttyent): Likewise.
28903 (setttyent): Likewise.
28904 (endttyent): Likewise.
28905 * misc/getusershell.c (getusershell): Likewise.
28906 (endusershell): Likewise.
28907 (setusershell): Likewise.
28908 (initshells): Likewise.
28909 * misc/hsearch.c (__hdestroy): Likewise.
28910 * misc/sync.c (sync): Likewise.
28911 * misc/syslog.c (closelog_internal): Likewise.
28912 (closelog): Likewise.
28913 * misc/ttyslot.c (ttyslot): Likewise.
28914 * misc/vhangup.c (vhangup): Likewise.
28915 * posix/fork.c (__fork): Likewise.
28916 * posix/getegid.c (__getegid): Likewise.
28917 * posix/geteuid.c (__geteuid): Likewise.
28918 * posix/getgid.c (__getgid): Likewise.
28919 * posix/getpid.c (__getpid): Likewise.
28920 * posix/getppid.c (__getppid): Likewise.
28921 * posix/getuid.c (__getuid): Likewise.
28922 * posix/pause.c (pause): Likewise.
28923 * posix/setpgrp.c (setpgrp): Likewise.
28924 * posix/setsid.c (__setsid): Likewise.
28925 * posix/test-vfork.c (noop): Likewise.
28926 * resolv/gethnamaddr.c (_endhtent): Likewise.
28927 (_gethtent): Likewise.
28928 (ht_endhostent): Likewise.
28929 (gethostent): Likewise.
28930 (dns_service): Likewise.
28931 * stdlib/drand48.c (drand48): Likewise.
28932 * stdlib/lrand48.c (lrand48): Likewise.
28933 * stdlib/mrand48.c (mrand48): Likewise.
28934 * stdlib/rand.c (rand): Likewise.
28935 * stdlib/random.c (__random): Likewise.
28936 * stdlib/setenv.c (clearenv): Likewise.
28937 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
28938 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
28939 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
28940 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
28941 (__get_nprocs): Likewise.
28942 (__get_phys_pages): Likewise.
28943 (__get_avphys_pages): Likewise.
28944 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
28945 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
28946 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
28947 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
28948 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
28949 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
28950 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
28951 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
28952 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
28953 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
28954 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
28955 * sysdeps/mach/hurd/sync.c (sync): Likewise.
28956 * sysdeps/posix/clock.c (clock): Likewise.
28957 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
28958 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
28959 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
28960 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
28961 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
28962 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
28963 (__get_nprocs_conf): Likewise.
28964 (__get_phys_pages): Likewise.
28965 (__get_avphys_pages): Likewise.
28966 * time/clock.c (clock): Likewise.
28967 * time/tzset.c (__tzname_max): Likewise.
28968
28969 2013-06-07 Joseph Myers <joseph@codesourcery.com>
28970
28971 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
28972 (__bswap_32): Do not use "register".
28973 * crypt/crypt.c (_ufc_doit_r): Likewise.
28974 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
28975 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
28976 * gmon/gmon.c (__monstartup): Likewise.
28977 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
28978 * hurd/hurdmalloc.c (more_memory): Likewise.
28979 (malloc): Likewise.
28980 (free): Likewise.
28981 (realloc): Likewise.
28982 (malloc_fork_prepare): Likewise.
28983 (malloc_fork_parent): Likewise.
28984 (malloc_fork_child): Likewise.
28985 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
28986 (_svcauth_des): Likewise.
28987 * inet/inet_lnaof.c (inet_lnaof): Likewise.
28988 * inet/inet_net.c (inet_network): Likewise.
28989 * inet/inet_netof.c (inet_netof): Likewise.
28990 * inet/rcmd.c (__validuser2_sa): Likewise.
28991 * io/fts.c (fts_open): Likewise.
28992 (fts_load): Likewise.
28993 (fts_close): Likewise.
28994 (fts_read): Likewise.
28995 (fts_children): Likewise.
28996 (fts_build): Likewise.
28997 (fts_stat): Likewise.
28998 (fts_sort): Likewise.
28999 (fts_alloc): Likewise.
29000 (fts_lfree): Likewise.
29001 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
29002 (_IO_file_xsgetn): Likewise.
29003 (_IO_file_xsgetn_mmap): Likewise.
29004 * libio/iofopncook.c (_IO_cookie_read): Likewise.
29005 (_IO_cookie_write): Likewise.
29006 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
29007 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
29008 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
29009 * malloc/obstack.c (_obstack_begin): Likewise.
29010 (_obstack_begin_1): Likewise.
29011 (_obstack_newchunk): Likewise.
29012 (_obstack_allocated_p): Likewise.
29013 (obstack_free): Likewise.
29014 (_obstack_memory_used): Likewise.
29015 * misc/getttyent.c (getttynam): Likewise.
29016 (getttyent): Likewise.
29017 (skip): Likewise.
29018 (value): Likewise.
29019 * misc/getusershell.c (initshells): Likewise.
29020 * misc/syslog.c (__vsyslog_chk): Likewise.
29021 * misc/ttyslot.c (ttyslot): Likewise.
29022 * nis/nis_hash.c (__nis_hash): Likewise.
29023 * posix/fnmatch_loop.c (FCT): Likewise.
29024 * posix/getconf.c (print_all): Likewise.
29025 (main): Likewise.
29026 * posix/getopt.c (exchange): Likewise.
29027 * posix/glob.c (globfree): Likewise.
29028 (prefix_array): Likewise.
29029 (__glob_pattern_type): Likewise.
29030 * resolv/arpa/nameser.h (NS_GET16): Likewise.
29031 (NS_GET32): Likewise.
29032 (NS_PUT16): Likewise.
29033 (NS_PUT32): Likewise.
29034 * resolv/gethnamaddr.c (getanswer): Likewise.
29035 (gethostbyname2): Likewise.
29036 (gethostbyaddr): Likewise.
29037 (_gethtent): Likewise.
29038 (_gethtbyname2): Likewise.
29039 (_gethtbyaddr): Likewise.
29040 * resolv/ns_print.c (dst_s_get_int16): Likewise.
29041 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29042 * resolv/res_init.c (__res_vinit): Likewise.
29043 (net_mask): Likewise.
29044 * resolv/res_mkquery.c (outchar): Likewise.
29045 (PRINT): Likewise.
29046 * stdio-common/printf_fp.c (outchar): Likewise.
29047 (PRINT): Likewise.
29048 * stdio-common/printf_fphex.c (outchar): Likewise.
29049 (PRINT): Likewise.
29050 * stdio-common/printf_size.c (outchar): Likewise.
29051 (PRINT): Likewise.
29052 * stdio-common/test_rdwr.c (main): Likewise.
29053 * stdio-common/tfformat.c (matches): Likewise.
29054 * stdio-common/vfprintf.c (outchar): Likewise.
29055 (printf_unknown): Likewise.
29056 (buffered_vfprintf): Likewise.
29057 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29058 * stdio-common/xbug.c (AppendToBuffer): Likewise.
29059 (ReadFile): Likewise.
29060 * stdlib/qsort.c (SWAP): Likewise.
29061 (_quicksort): Likewise.
29062 * stdlib/setenv.c (__add_to_environ): Likewise.
29063 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29064 * stdlib/strtol_l.c (__strtol_l): Likewise.
29065 * stdlib/tst-strtod.c (main): Likewise.
29066 * stdlib/tst-strtol.c (main): Likewise.
29067 * stdlib/tst-strtoll.c (main): Likewise.
29068 * string/bits/string2.h (__strcmp_cc): Likewise.
29069 (__strcmp_cg): Likewise.
29070 (__strcspn_c1): Likewise.
29071 (__strcspn_c2): Likewise.
29072 (__strcspn_c3): Likewise.
29073 (__strspn_c1): Likewise.
29074 (__strspn_c2): Likewise.
29075 (__strspn_c3): Likewise.
29076 (__strsep_1c): Likewise.
29077 (__strsep_2c): Likewise.
29078 (__strsep_3c): Likewise.
29079 * string/memccpy.c (__memccpy): Likewise.
29080 * string/stpcpy.c (__stpcpy): Likewise.
29081 * string/strcmp.c (strcmp): Likewise.
29082 * string/strrchr.c (strrchr): Likewise.
29083 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
29084 Likewise.
29085 * sysdeps/mach/hurd/getcwd.c
29086 (_hurd_canonicalize_directory_name_internal): Likewise.
29087 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
29088 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
29089 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
29090 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
29091 Likewise, in both definitions.
29092 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
29093 definitions.
29094 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
29095 64] (__bswap_64): Likewise.
29096 * time/test_time.c (main): Likewise.
29097 * time/tzfile.c (__tzfile_read): Likewise.
29098 (__tzfile_compute): Likewise.
29099 * time/tzset.c (__tzset_parse_tz): Likewise.
29100 (tzset_internal): Likewise.
29101 (compute_change): Likewise.
29102 * wcsmbs/wcscat.c (__wcscat): Likewise.
29103 * wcsmbs/wcschr.c (wcschr): Likewise.
29104 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29105 * wcsmbs/wcscspn.c (wcscspn): Likewise.
29106 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29107 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
29108 * wcsmbs/wcsspn.c (wcsspn): Likewise.
29109 * wcsmbs/wcsstr.c (wcsstr): Likewise.
29110 * wcsmbs/wmemchr.c (wmemchr): Likewise.
29111 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29112 * wcsmbs/wmemset.c (wmemset): Likewise.
29113
29114 2013-06-06 Joseph Myers <joseph@codesourcery.com>
29115
29116 * scripts/config.guess: Update to version 2013-05-16.
29117 * scripts/config.sub: Update to version 2013-04-24.
29118 * scripts/install-sh: Update to version 2011-11-20.07.
29119 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
29120 * scripts/move-if-change: Update to version 2012-01-06 07:23.
29121
29122 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
29123
29124 * debug/fgetws_u_chk.c: Fix leading whitespaces.
29125 * elf/sln.c: Likewise.
29126 * hurd/hurd/ioctl.h: Likewise.
29127 * hurd/hurdmalloc.c: Likewise.
29128 * hurd/xattr.c: Likewise.
29129 * include/shlib-compat.h: Likewise.
29130 * inet/ruserpass.c: Likewise.
29131 * libio/iofgets_u.c: Likewise.
29132 * libio/iofgetws_u.c: Likewise.
29133 * locale/programs/ld-identification.c: Likewise.
29134 * locale/programs/ld-time.c: Likewise.
29135 * mach/msg-destroy.c: Likewise.
29136 * nss/nss_files/files-netgrp.c: Likewise.
29137 * resolv/res_data.c: Likewise.
29138 * soft-fp/op-1.h: Likewise.
29139 * soft-fp/op-2.h: Likewise.
29140 * soft-fp/op-4.h: Likewise.
29141 * soft-fp/op-common.h: Likewise.
29142 * stdio-common/printf_fphex.c: Likewise.
29143 * stdlib/strtod_l.c: Likewise.
29144 * sunrpc/rpc/clnt.h: Likewise.
29145 * sysdeps/generic/framestate.c: Likewise.
29146 * sysdeps/i386/bsd-_setjmp.S: Likewise.
29147 * sysdeps/i386/bsd-setjmp.S: Likewise.
29148 * sysdeps/i386/__longjmp.S: Likewise.
29149 * sysdeps/i386/setjmp.S: Likewise.
29150 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29151 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29152 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29153 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29154 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29155 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29156 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29157 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29158 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29159 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29160 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29161 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29162 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29163 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29164 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29165 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29166 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29167 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
29168 * sysdeps/ieee754/support.c: Likewise.
29169 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29170 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
29171 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
29172 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
29173 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
29174 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
29175 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
29176 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
29177 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
29178 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
29179 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
29180 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
29181 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
29182 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
29183 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
29184 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
29185 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29187
29188 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
29189
29190 * posix/transbug.c: Remove executable mode.
29191
29192 2013-06-05 Joseph Myers <joseph@codesourcery.com>
29193
29194 * crypt/speeds.c: Remove trailing whitespace.
29195 * dlfcn/default.c: Likewise.
29196 * elf/ifuncdep2.c: Likewise.
29197 * elf/ifuncmain1.c: Likewise.
29198 * elf/ifuncmain1vis.c: Likewise.
29199 * elf/testobj.h: Likewise.
29200 * elf/tst-stackguard1.c: Likewise.
29201 * gmon/sys/gmon.h: Likewise.
29202 * hurd/hurdmsg.c: Likewise.
29203 * hurd/new-fd.c: Likewise.
29204 * hurd/ports-get.c: Likewise.
29205 * iconvdata/ibm1008_420.c: Likewise.
29206 * inet/tst-getni1.c: Likewise.
29207 * inet/tst-getni2.c: Likewise.
29208 * libio/ioungetc.c: Likewise.
29209 * libio/wfiledoalloc.c: Likewise.
29210 * manual/libm-err-tab.pl: Likewise.
29211 * math/w_dremf.c: Likewise.
29212 * misc/ftruncate.c: Likewise.
29213 * posix/bug-glob2.c: Likewise.
29214 * posix/tst-pcre.c: Likewise.
29215 * posix/wait4.c: Likewise.
29216 * resolv/README: Likewise.
29217 * resolv/res_debug.h: Likewise.
29218 * resolv/tst-inet_ntop.c: Likewise.
29219 * setjmp/bug269-setjmp.c: Likewise.
29220 * soft-fp/extended.h: Likewise.
29221 * soft-fp/op-1.h: Likewise.
29222 * soft-fp/op-2.h: Likewise.
29223 * soft-fp/op-4.h: Likewise.
29224 * soft-fp/op-8.h: Likewise.
29225 * soft-fp/testit.c: Likewise.
29226 * stdio-common/bug16.c: Likewise.
29227 * stdlib/random.c: Likewise.
29228 * sunrpc/rpcsvc/rquota.x: Likewise.
29229 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
29230 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29231 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29232 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29233 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29234 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29235 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29236 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29237 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29238 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29239 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29240 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
29241 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29242 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
29243 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29244 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
29245 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
29246 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29247 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
29248 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29249 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29250 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29251 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
29252 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
29253 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
29254 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
29255 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29256 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29257 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29258 * sysdeps/ieee754/s_lib_version.c: Likewise.
29259 * sysdeps/mach/hurd/check_fds.c: Likewise.
29260 * sysdeps/mach/hurd/getsockname.c: Likewise.
29261 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
29262 * sysdeps/mach/hurd/recvfrom.c: Likewise.
29263 * sysdeps/powerpc/bits/link.h: Likewise.
29264 * sysdeps/powerpc/dl-procinfo.c: Likewise.
29265 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
29266 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
29267 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
29268 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29269 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
29270 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
29271 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29272 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
29273 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29274 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
29275 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
29276 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
29277 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29278 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29279 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29280 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
29281 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
29282 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29283 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29284 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29285 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
29286 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29287 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
29288 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
29289 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
29290 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
29291 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29292 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29293 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
29294 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
29295 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
29296 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29297 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
29298 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
29299 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29300 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
29301 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
29302 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
29303 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
29304 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
29305 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
29306 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
29307 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
29308 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
29309 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
29310 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
29311 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
29312 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
29313 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
29314 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29315 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29316 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29317 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29318 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
29319 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
29320 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
29321 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29322 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
29323 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
29324 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
29325 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
29326 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
29327 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29328 * sysdeps/powerpc/sysdep.h: Likewise.
29329 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29330 * sysdeps/s390/s390-64/sub_n.S: Likewise.
29331 * sysdeps/sh/dl-trampoline.S: Likewise.
29332 * sysdeps/sh/memset.S: Likewise.
29333 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
29334 * sysdeps/sh/strlen.S: Likewise.
29335 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
29336 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
29337 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
29338 * sysdeps/sparc/sparc32/rem.S: Likewise.
29339 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
29340 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
29341 * sysdeps/sparc/sparc32/strchr.S: Likewise.
29342 * sysdeps/sparc/sparc32/udiv.S: Likewise.
29343 * sysdeps/sparc/sparc32/urem.S: Likewise.
29344 * sysdeps/sparc/sparc64/add_n.S: Likewise.
29345 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29346 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
29347 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
29348 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
29349 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
29350 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
29351 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
29352 * sysdeps/unix/bsd/times.c: Likewise.
29353 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
29354 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
29355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
29356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
29357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
29358 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
29359 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
29360 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
29361 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
29362 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
29363 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
29364 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29365 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
29366 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29367 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29368 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
29369 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29370 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
29371 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
29372 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
29373 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
29374 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
29375 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29376 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
29377 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
29378 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
29379 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
29380 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
29381 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
29382 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
29383 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
29384 * sysdeps/x86_64/strcspn.S: Likewise.
29385
29386 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29387
29388 * locale/C-translit.h: Revert #include <stdint.h> because this is a
29389 generated file. Regenerate properly from gen-translit.pl.
29390 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
29391 locale/C-translit.h.
29392
29393 2013-06-05 Andreas Schwab <schwab@suse.de>
29394
29395 [BZ #15100]
29396 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
29397 week as 6 instead of -1.
29398 * time/tst-strptime.c (day_tests): Add test case.
29399
29400 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
29401
29402 * sysdeps/generic/math_private.h
29403 (libc_feholdexcept_setround_53bit): Replace with
29404 libc_feholdsetround_53bit.
29405 (libc_feupdateenv_53bit): Replace with
29406 libc_feresetround_53bit.
29407 (SET_RESTORE_ROUND_53BIT): Adjust.
29408
29409 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
29410
29411 * string/test-strchrnul.c: Add copyright header.
29412
29413 * posix/tst-getaddrinfo4.c: Increase test timeout.
29414
29415 2013-06-03 Carlos O'Donell <carlos@redhat.com>
29416
29417 [BZ #15536]
29418 * math/libm-test.inc (MAX_EXP): Remove
29419 (MIN_EXP): Define.
29420 (ulp): Use MIN_EXP - MANT_DIG.
29421 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
29422
29423 2013-05-31 Carlos O'Donell <carlos@redhat.com>
29424
29425 * po/be.po: Revert last change.
29426 * po/zh_CN.po: Likewise.
29427 * po/header.pot: Likewise.
29428
29429 2013-05-31 Joseph Myers <joseph@codesourcery.com>
29430
29431 * Makefile ($(common-objpfx)linkobj/libc.so): Define
29432 link-libc-deps to empty as target-specific variable.
29433 * Makerules (link-libc-args): New variable.
29434 (libc-for-link): Likewise.
29435 (link-libc-deps): Likewise.
29436 (lib%.so): Depend on $(link-libc-deps). Link with
29437 $(link-libc-args).
29438 (build-module): Link with $(link-libc-args).
29439 (build-module-asneeded): Likewise.
29440 (build-module-helper-objlist): Filter out $(link-libc-deps) from
29441 list of objects.
29442 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
29443 target-specific variable.
29444 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
29445 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
29446 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
29447 libc.
29448 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
29449 libc and ld.so.
29450 ($(objpfx)libpcprofile.so): Likewise.
29451 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
29452 libc_nonshared.a.
29453 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
29454 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
29455 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
29456 $(link-libc-deps).
29457 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
29458 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
29459 * login/Makefile ($(objpfx)libutil.so): Likewise.
29460 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
29461 * math/Makefile ($(objpfx)libm.so): Likewise.
29462 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
29463 $(objpfx)libnsl.so): Define libc-for-link as target-specific
29464 variable instead of depending directly on libc.
29465 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
29466 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
29467 $(link-libc-deps).
29468 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
29469 libc.
29470 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
29471 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
29472 ($(objpfx)libanl.so): Likewise.
29473 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
29474 ld.so.
29475 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
29476 $(link-libc-deps).
29477 * sysdeps/i386/fpu/Makefile: Remove file.
29478 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
29479 ($(objpfx)libm.so): Remove dependency on ld.so.
29480
29481 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
29482
29483 [BZ # 15553]
29484 * nis/yp_xdr.c (XDRMAXNAME): Define.
29485 (XDRMAXRECORD): Define.
29486 (xdr_domainname): Use XDRMAXNAME.
29487 (xdr_mapname): Likewise.
29488 (xdr_peername): Likewise.
29489 (xdr_keydat): Use XDRMAXRECORD.
29490 (xdr_valdat): Likewise.
29491
29492 2013-05-30 Jeff Law <law@redhat.com>
29493
29494 [BZ #14256]
29495 * manual/errno.texi (ESTALE): Update to account for more than
29496 just NFS file systems.
29497 * sysdeps/gnu/errlist.c: Regenerated.
29498
29499 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29500
29501 [BZ #15465]
29502 * elf/Makefile (tests): Add tst-null-argv.
29503 (modules-names): Add tst-null-argv-lib.
29504 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
29505 (tst-null-argv-ENV): Set environment for tst-null-argv.
29506 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
29507 (RTLD_PROGNAME): New macro.
29508 * elf/tst-null-argv.c: New test case.
29509 * elf/tst-null-argv-lib.c: Library for test case.
29510 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
29511 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
29512 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
29513 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
29514 * elf/dl-init.c (call_init): Likewise.
29515 (_dl_init): Likewise.
29516 * elf/dl-load.c (print_search_path): Likewise.
29517 (_dl_map_object): Likewise.
29518 * elf/dl-lookup.c (do_lookup_x): Likewise.
29519 (add_dependency): Likewise.
29520 (_dl_lookup_symbol_x): Likewise.
29521 (_dl_debug_bindings): Likewise.
29522 * elf/dl-open.c (_dl_show_scope): Likewise.
29523 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
29524 * elf/dl-version.c (match_symbol): Likewise.
29525 (_dl_check_map_versions): Likewise.
29526 * elf/rtld.c (dl_main): Likewise.
29527 (print_unresolved): Use RTLD_PROGNAME.
29528 (print_missing_version): Likewise.
29529 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
29530 (elf_machine_rela): Likewise.
29531 * sysdeps/powerpc/powerpc32/dl-machine.c
29532 (__process_machine_rela): Likewise.
29533 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
29534 Likewise.
29535 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29536 Likewise.
29537 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29538 Likewise.
29539 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
29540 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
29541 Likewise.
29542 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
29543 Likewise.
29544 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
29545
29546 2013-05-28 Carlos O'Donell <carlos@redhat.com>
29547
29548 * po/be.po: Add descriptive title.
29549 * po/zh_CN.po: Likewise.
29550 * po/header.pot: Likewise.
29551
29552 2013-05-28 Mike Frysinger <vapier@gentoo.org>
29553
29554 * locale/programs/locarchive.c (create_archive): Inlucde fname in
29555 error message.
29556 (enlarge_archive): Likewise.
29557
29558 2013-05-28 Ben North <ben@redfrontdoor.org>
29559
29560 * manual/arith.texi (frexp): It is the magnitude of the return
29561 value which lies in [0.5, 1), not the return value itself.
29562
29563 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29564
29565 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29566
29567 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
29568
29569 * stdio-common/bug26.c (main): Correct fscanf template.
29570
29571 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
29572 declare _dl_skip_args.
29573
29574 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
29575 Don't declare.
29576
29577 * manual/platform.texi: Add missing @end deftypefun.
29578
29579 2013-05-24 Joseph Myers <joseph@codesourcery.com>
29580
29581 [BZ #15529]
29582 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
29583 bit of mantissa of 2^16382.
29584 * math/libm-test.inc (hypot_test_data): Add more tests.
29585
29586 * math/libm-test.inc: Add drem and pow10 to list of tested
29587 functions.
29588 (pow10_test): New function.
29589 (drem_test): Likewise.
29590 (drem_test_tonearest): Likewise.
29591 (drem_test_towardzero): Likewise.
29592 (drem_test_downward): Likewise.
29593 (drem_test_upward): Likewise.
29594 (main): Call the new functions.
29595
29596 * math/libm-test.inc (finite_test_data): Remove.
29597 (finite_test): Run tests from isfinite_test_data.
29598 (gamma_test_data): Remove.
29599 (gamma_test): Run tests from lgamma_test_data.
29600 * sysdeps/i386/fpu/libm-test-ulps: Update.
29601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29602
29603 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29604
29605 * manual/platform.texi: Add PowerPC PPR function set documentation.
29606 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
29607 implementation.
29608
29609 2013-05-24 Carlos O'Donell <carlos@redhat.com>
29610
29611 * math/libm-test.inc (MAX_EXP): Define.
29612 (ULPDIFF): Define.
29613 (ulp): New function.
29614 (check_float_internal): Use ULPDIFF.
29615 (cpow_test): Disable failing test.
29616 (check_ulp): Test ulp() implemetnation.
29617 (main): Call check_ulp before starting tests.
29618
29619 2013-05-24 Joseph Myers <joseph@codesourcery.com>
29620
29621 * math/gen-libm-test.pl (generate_testfile): Do not handle
29622 START_DATA and END_DATA.
29623 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
29624 END_DATA.
29625 (acos_tonearest_test_data): Likewise.
29626 (acos_towardzero_test_data): Likewise.
29627 (acos_downward_test_data): Likewise.
29628 (acos_upward_test_data): Likewise.
29629 (acosh_test_data): Likewise.
29630 (asin_test_data): Likewise.
29631 (asin_tonearest_test_data): Likewise.
29632 (asin_towardzero_test_data): Likewise.
29633 (asin_downward_test_data): Likewise.
29634 (asin_upward_test_data): Likewise.
29635 (asinh_test_data): Likewise.
29636 (atan_test_data): Likewise.
29637 (atanh_test_data): Likewise.
29638 (atan2_test_data): Likewise.
29639 (cabs_test_data): Likewise.
29640 (cacos_test_data): Likewise.
29641 (cacosh_test_data): Likewise.
29642 (carg_test_data): Likewise.
29643 (casin_test_data): Likewise.
29644 (casinh_test_data): Likewise.
29645 (catan_test_data): Likewise.
29646 (catanh_test_data): Likewise.
29647 (cbrt_test_data): Likewise.
29648 (ccos_test_data): Likewise.
29649 (ccosh_test_data): Likewise.
29650 (ceil_test_data): Likewise.
29651 (cexp_test_data): Likewise.
29652 (cimag_test_data): Likewise.
29653 (clog_test_data): Likewise.
29654 (clog10_test_data): Likewise.
29655 (conj_test_data): Likewise.
29656 (copysign_test_data): Likewise.
29657 (cos_test_data): Likewise.
29658 (cos_tonearest_test_data): Likewise.
29659 (cos_towardzero_test_data): Likewise.
29660 (cos_downward_test_data): Likewise.
29661 (cos_upward_test_data): Likewise.
29662 (cosh_test_data): Likewise.
29663 (cosh_tonearest_test_data): Likewise.
29664 (cosh_towardzero_test_data): Likewise.
29665 (cosh_downward_test_data): Likewise.
29666 (cosh_upward_test_data): Likewise.
29667 (cpow_test_data): Likewise.
29668 (cproj_test_data): Likewise.
29669 (creal_test_data): Likewise.
29670 (csin_test_data): Likewise.
29671 (csinh_test_data): Likewise.
29672 (csqrt_test_data): Likewise.
29673 (ctan_test_data): Likewise.
29674 (ctan_tonearest_test_data): Likewise.
29675 (ctan_towardzero_test_data): Likewise.
29676 (ctan_downward_test_data): Likewise.
29677 (ctan_upward_test_data): Likewise.
29678 (ctanh_test_data): Likewise.
29679 (ctanh_tonearest_test_data): Likewise.
29680 (ctanh_towardzero_test_data): Likewise.
29681 (ctanh_downward_test_data): Likewise.
29682 (ctanh_upward_test_data): Likewise.
29683 (erf_test_data): Likewise.
29684 (erfc_test_data): Likewise.
29685 (exp_test_data): Likewise.
29686 (exp_tonearest_test_data): Likewise.
29687 (exp_towardzero_test_data): Likewise.
29688 (exp_downward_test_data): Likewise.
29689 (exp_upward_test_data): Likewise.
29690 (exp10_test_data): Likewise.
29691 (exp2_test_data): Likewise.
29692 (expm1_test_data): Likewise.
29693 (fabs_test_data): Likewise.
29694 (fdim_test_data): Likewise.
29695 (finite_test_data): Likewise.
29696 (floor_test_data): Likewise.
29697 (fma_test_data): Likewise.
29698 (fma_towardzero_test_data): Likewise.
29699 (fma_downward_test_data): Likewise.
29700 (fma_upward_test_data): Likewise.
29701 (fmax_test_data): Likewise.
29702 (fmin_test_data): Likewise.
29703 (fmod_test_data): Likewise.
29704 (fpclassify_test_data): Likewise.
29705 (frexp_test_data): Likewise.
29706 (gamma_test_data): Likewise.
29707 (hypot_test_data): Likewise.
29708 (ilogb_test_data): Likewise.
29709 (isfinite_test_data): Likewise.
29710 (isgreater_test_data): Likewise.
29711 (isgreaterequal_test_data): Likewise.
29712 (isinf_test_data): Likewise.
29713 (isless_test_data): Likewise.
29714 (islessequal_test_data): Likewise.
29715 (islessgreater_test_data): Likewise.
29716 (isnan_test_data): Likewise.
29717 (isnormal_test_data): Likewise.
29718 (issignaling_test_data): Likewise.
29719 (isunordered_test_data): Likewise.
29720 (j0_test_data): Likewise.
29721 (j1_test_data): Likewise.
29722 (jn_test_data): Likewise.
29723 (ldexp_test_data): Likewise.
29724 (lgamma_test_data): Likewise.
29725 (lrint_test_data): Likewise.
29726 (lrint_tonearest_test_data): Likewise.
29727 (lrint_towardzero_test_data): Likewise.
29728 (lrint_downward_test_data): Likewise.
29729 (lrint_upward_test_data): Likewise.
29730 (llrint_test_data): Likewise.
29731 (llrint_tonearest_test_data): Likewise.
29732 (llrint_towardzero_test_data): Likewise.
29733 (llrint_downward_test_data): Likewise.
29734 (llrint_upward_test_data): Likewise.
29735 (log_test_data): Likewise.
29736 (log10_test_data): Likewise.
29737 (log1p_test_data): Likewise.
29738 (log2_test_data): Likewise.
29739 (logb_test_data): Likewise.
29740 (logb_downward_test_data): Likewise.
29741 (lround_test_data): Likewise.
29742 (llround_test_data): Likewise.
29743 (modf_test_data): Likewise.
29744 (nearbyint_test_data): Likewise.
29745 (nextafter_test_data): Likewise.
29746 (nexttoward_test_data): Likewise.
29747 (pow_test_data): Likewise.
29748 (pow_tonearest_test_data): Likewise.
29749 (pow_towardzero_test_data): Likewise.
29750 (pow_downward_test_data): Likewise.
29751 (pow_upward_test_data): Likewise.
29752 (remainder_test_data): Likewise.
29753 (remainder_tonearest_test_data): Likewise.
29754 (remainder_towardzero_test_data): Likewise.
29755 (remainder_downward_test_data): Likewise.
29756 (remainder_upward_test_data): Likewise.
29757 (remquo_test_data): Likewise.
29758 (rint_test_data): Likewise.
29759 (rint_tonearest_test_data): Likewise.
29760 (rint_towardzero_test_data): Likewise.
29761 (rint_downward_test_data): Likewise.
29762 (rint_upward_test_data): Likewise.
29763 (round_test_data): Likewise.
29764 (scalb_test_data): Likewise.
29765 (scalbn_test_data): Likewise.
29766 (scalbln_test_data): Likewise.
29767 (signbit_test_data): Likewise.
29768 (sin_test_data): Likewise.
29769 (sin_tonearest_test_data): Likewise.
29770 (sin_towardzero_test_data): Likewise.
29771 (sin_downward_test_data): Likewise.
29772 (sin_upward_test_data): Likewise.
29773 (sincos_test_data): Likewise.
29774 (sinh_test_data): Likewise.
29775 (sinh_tonearest_test_data): Likewise.
29776 (sinh_towardzero_test_data): Likewise.
29777 (sinh_downward_test_data): Likewise.
29778 (sinh_upward_test_data): Likewise.
29779 (sqrt_test_data): Likewise.
29780 (tan_test_data): Likewise.
29781 (tan_tonearest_test_data): Likewise.
29782 (tan_towardzero_test_data): Likewise.
29783 (tan_downward_test_data): Likewise.
29784 (tan_upward_test_data): Likewise.
29785 (tanh_test_data): Likewise.
29786 (tgamma_test_data): Likewise.
29787 (trunc_test_data): Likewise.
29788 (y0_test_data): Likewise.
29789 (y1_test_data): Likewise.
29790 (yn_test_data): Likewise.
29791 (significand_test_data): Likewise.
29792
29793 * math/gen-libm-test.pl (@functions): Remove variable.
29794 (generate_testfile): Don't handle START and END lines.
29795 * math/libm-test.inc (START): New macro.
29796 (END): Likewise.
29797 (END_COMPLEX): Likewise.
29798 (acos_test): Use END macro without arguments.
29799 (acos_test_tonearest): Likewise.
29800 (acos_test_towardzero): Likewise.
29801 (acos_test_downward): Likewise.
29802 (acos_test_upward): Likewise.
29803 (acosh_test): Likewise.
29804 (asin_test): Likewise.
29805 (asin_test_tonearest): Likewise.
29806 (asin_test_towardzero): Likewise.
29807 (asin_test_downward): Likewise.
29808 (asin_test_upward): Likewise.
29809 (asinh_test): Likewise.
29810 (atan_test): Likewise.
29811 (atanh_test): Likewise.
29812 (atan2_test): Likewise.
29813 (cabs_test): Likewise.
29814 (cacos_test): Use END_COMPLEX macro without arguments.
29815 (cacosh_test): Likewise.
29816 (carg_test): Use END macro without arguments.
29817 (casin_test): Use END_COMPLEX macro without arguments.
29818 (casinh_test): Likewise.
29819 (catan_test): Likewise.
29820 (catanh_test): Likewise.
29821 (cbrt_test): Use END macro without arguments.
29822 (ccos_test): Use END_COMPLEX macro without arguments.
29823 (ccosh_test): Likewise.
29824 (ceil_test): Use END macro without arguments.
29825 (cexp_test): Use END_COMPLEX macro without arguments.
29826 (cimag_test): Use END macro without arguments.
29827 (clog_test): Use END_COMPLEX macro without arguments.
29828 (clog10_test): Likewise.
29829 (conj_test): Likewise.
29830 (copysign_test): Use END macro without arguments.
29831 (cos_test): Likewise.
29832 (cos_test_tonearest): Likewise.
29833 (cos_test_towardzero): Likewise.
29834 (cos_test_downward): Likewise.
29835 (cos_test_upward): Likewise.
29836 (cosh_test): Likewise.
29837 (cosh_test_tonearest): Likewise.
29838 (cosh_test_towardzero): Likewise.
29839 (cosh_test_downward): Likewise.
29840 (cosh_test_upward): Likewise.
29841 (cpow_test): Use END_COMPLEX macro without arguments.
29842 (cproj_test): Likewise.
29843 (creal_test): Use END macro without arguments.
29844 (csin_test): Use END_COMPLEX macro without arguments.
29845 (csinh_test): Likewise.
29846 (csqrt_test): Likewise.
29847 (ctan_test): Likewise.
29848 (ctan_test_tonearest): Likewise.
29849 (ctan_test_towardzero): Likewise.
29850 (ctan_test_downward): Likewise.
29851 (ctan_test_upward): Likewise.
29852 (ctanh_test): Likewise.
29853 (ctanh_test_tonearest): Likewise.
29854 (ctanh_test_towardzero): Likewise.
29855 (ctanh_test_downward): Likewise.
29856 (ctanh_test_upward): Likewise.
29857 (erf_test): Use END macro without arguments.
29858 (erfc_test): Likewise.
29859 (exp_test): Likewise.
29860 (exp_test_tonearest): Likewise.
29861 (exp_test_towardzero): Likewise.
29862 (exp_test_downward): Likewise.
29863 (exp_test_upward): Likewise.
29864 (exp10_test): Likewise.
29865 (exp2_test): Likewise.
29866 (expm1_test): Likewise.
29867 (fabs_test): Likewise.
29868 (fdim_test): Likewise.
29869 (finite_test): Likewise.
29870 (floor_test): Likewise.
29871 (fma_test): Likewise.
29872 (fma_test_towardzero): Likewise.
29873 (fma_test_downward): Likewise.
29874 (fma_test_upward): Likewise.
29875 (fmax_test): Likewise.
29876 (fmin_test): Likewise.
29877 (fmod_test): Likewise.
29878 (fpclassify_test): Likewise.
29879 (frexp_test): Likewise.
29880 (gamma_test): Likewise.
29881 (hypot_test): Likewise.
29882 (ilogb_test): Likewise.
29883 (isfinite_test): Likewise.
29884 (isgreater_test): Likewise.
29885 (isgreaterequal_test): Likewise.
29886 (isinf_test): Likewise.
29887 (isless_test): Likewise.
29888 (islessequal_test): Likewise.
29889 (islessgreater_test): Likewise.
29890 (isnan_test): Likewise.
29891 (isnormal_test): Likewise.
29892 (issignaling_test): Likewise.
29893 (isunordered_test): Likewise.
29894 (j0_test): Likewise.
29895 (j1_test): Likewise.
29896 (jn_test): Likewise.
29897 (ldexp_test): Likewise.
29898 (lgamma_test): Likewise.
29899 (lrint_test): Likewise.
29900 (lrint_test_tonearest): Likewise.
29901 (lrint_test_towardzero): Likewise.
29902 (lrint_test_downward): Likewise.
29903 (lrint_test_upward): Likewise.
29904 (llrint_test): Likewise.
29905 (llrint_test_tonearest): Likewise.
29906 (llrint_test_towardzero): Likewise.
29907 (llrint_test_downward): Likewise.
29908 (llrint_test_upward): Likewise.
29909 (log_test): Likewise.
29910 (log10_test): Likewise.
29911 (log1p_test): Likewise.
29912 (log2_test): Likewise.
29913 (logb_test): Likewise.
29914 (logb_test_downward): Likewise.
29915 (lround_test): Likewise.
29916 (llround_test): Likewise.
29917 (modf_test): Likewise.
29918 (nearbyint_test): Likewise.
29919 (nextafter_test): Likewise.
29920 (nexttoward_test): Likewise.
29921 (pow_test): Likewise.
29922 (pow_test_tonearest): Likewise.
29923 (pow_test_towardzero): Likewise.
29924 (pow_test_downward): Likewise.
29925 (pow_test_upward): Likewise.
29926 (remainder_test): Likewise.
29927 (remainder_test_tonearest): Likewise.
29928 (remainder_test_towardzero): Likewise.
29929 (remainder_test_downward): Likewise.
29930 (remainder_test_upward): Likewise.
29931 (remquo_test): Likewise.
29932 (rint_test): Likewise.
29933 (rint_test_tonearest): Likewise.
29934 (rint_test_towardzero): Likewise.
29935 (rint_test_downward): Likewise.
29936 (rint_test_upward): Likewise.
29937 (round_test): Likewise.
29938 (scalb_test): Likewise.
29939 (scalbn_test): Likewise.
29940 (scalbln_test): Likewise.
29941 (signbit_test): Likewise.
29942 (sin_test): Likewise.
29943 (sin_test_tonearest): Likewise.
29944 (sin_test_towardzero): Likewise.
29945 (sin_test_downward): Likewise.
29946 (sin_test_upward): Likewise.
29947 (sincos_test): Likewise.
29948 (sinh_test): Likewise.
29949 (sinh_test_tonearest): Likewise.
29950 (sinh_test_towardzero): Likewise.
29951 (sinh_test_downward): Likewise.
29952 (sinh_test_upward): Likewise.
29953 (sqrt_test): Likewise.
29954 (tan_test): Likewise.
29955 (tan_test_tonearest): Likewise.
29956 (tan_test_towardzero): Likewise.
29957 (tan_test_downward): Likewise.
29958 (tan_test_upward): Likewise.
29959 (tanh_test): Likewise.
29960 (tgamma_test): Likewise.
29961 (trunc_test): Likewise.
29962 (y0_test): Likewise.
29963 (y1_test): Likewise.
29964 (yn_test): Likewise.
29965 (significand_test): Likewise.
29966
29967 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
29968
29969 [BZ #15381]
29970 * libio/genops.c (_IO_no_init): Initialize wide struct info.
29971
29972 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
29973
29974 [BZ #14894]
29975 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
29976 __ppc_mdoio and __ppc_mdoom.
29977 * manual/platform.texi: Document new functions __ppc_yield,
29978 __ppc_mdoio and __ppc_mdoom.
29979
29980 2013-05-22 Carlos O'Donell <carlos@redhat.com>
29981
29982 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
29983 (main): Mention "tls" pseudo-hwcap is legacy.
29984 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
29985
29986 2013-05-22 Joseph Myers <joseph@codesourcery.com>
29987
29988 * math/gen-libm-test.pl (parse_args): Output only string of
29989 arguments as text for test name, not full call or descriptions of
29990 tests for extra outputs.
29991 (generate_testfile): Do not pass function name to parse_args.
29992 Generate this_func variable from START.
29993 * math/libm-test.inc (struct test_f_f_data): Rename test_name
29994 field to arg_str.
29995 (struct test_ff_f_data): Likewise.
29996 (test_ff_f_data_nexttoward): Likewise.
29997 (struct test_fi_f_data): Likewise.
29998 (struct test_fl_f_data): Likewise.
29999 (struct test_if_f_data): Likewise.
30000 (struct test_fff_f_data): Likewise.
30001 (struct test_c_f_data): Likewise.
30002 (struct test_f_f1_data): Likewise. Remove field extra_name.
30003 (struct test_fF_f1_data): Likewise.
30004 (struct test_ffI_f1_data): Likewise.
30005 (struct test_c_c_data): Rename test_name field to arg_str.
30006 (struct test_cc_c_data): Likewise.
30007 (struct test_f_i_data): Likewise.
30008 (struct test_ff_i_data): Likewise.
30009 (struct test_f_l_data): Likewise.
30010 (struct test_f_L_data): Likewise.
30011 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
30012 and extra2_name.
30013 (COMMON_TEST_SETUP): New macro.
30014 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
30015 (COMMON_TEST_CLEANUP): Likewise.
30016 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
30017 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
30018 macros.
30019 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
30020 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
30021 macros.
30022 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
30023 (RUN_TEST_fff_f): Take argument string. Call new setup and
30024 cleanup macros.
30025 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
30026 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
30027 macros.
30028 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
30029 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
30030 macros.
30031 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30032 (RUN_TEST_fF_f1): Take argument string. Call new setup and
30033 cleanup macros.
30034 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30035 (RUN_TEST_fI_f1): Take argument string. Call new setup and
30036 cleanup macros.
30037 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30038 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
30039 cleanup macros.
30040 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30041 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
30042 macros.
30043 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
30044 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
30045 macros.
30046 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
30047 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
30048 macros.
30049 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
30050 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
30051 cleanup macros.
30052 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
30053 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
30054 cleanup macros.
30055 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
30056 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
30057 macros.
30058 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
30059 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
30060 cleanup macros.
30061 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
30062 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
30063 macros.
30064 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
30065 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
30066 macros.
30067 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
30068 (RUN_TEST_fFF_11): Take argument string. Call new setup and
30069 cleanup macros.
30070 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
30071
30072 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
30073
30074 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
30075 to _sifields.sigfault.
30076 (si_addr_lsb): Define new macro.
30077 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30078 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30079 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
30080
30081 2013-05-03 Carlos O'Donell <carlos at redhat.com>
30082
30083 [BZ #15441]
30084 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
30085 returns -1.
30086 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
30087 null return -1.
30088 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
30089 loading the domain.
30090
30091 2013-05-22 Joseph Myers <joseph@codesourcery.com>
30092
30093 * math/gen-libm-test.pl (parse_args): Do not include expected
30094 result in test name.
30095 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
30096 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30097 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30098 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30099 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30101
30102 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30103
30104 * benchtests/Makefile: Sort function entries.
30105
30106 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
30107 tanh, asinh, acosh, atanh.
30108 * benchtests/acos-inputs: New file.
30109 * benchtests/acosh-inputs: New file.
30110 * benchtests/asin-inputs: New file.
30111 * benchtests/asinh-inputs: New file.
30112 * benchtests/atanh-inputs: New file.
30113 * benchtests/cosh-inputs: New file.
30114 * benchtests/log-inputs: New file.
30115 * benchtests/sinh-inputs: New file.
30116 * benchtests/tanh-inputs: New file.
30117
30118 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
30119
30120 [BZ #15339]
30121 * posix/tst-getaddrinfo4.c: New test.
30122 * posix/Makefile (tests): Add it.
30123
30124 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30125
30126 [BZ #15339]
30127 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
30128 when no services were used.
30129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
30130 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
30131
30132 2013-05-21 Andreas Schwab <schwab@suse.de>
30133
30134 [BZ #15014]
30135 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
30136 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
30137 successful.
30138 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
30139 redundant variable declarations and reallocation of buffer when
30140 parsing as IPv6 address. Always set NSS status when called from
30141 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
30142 buffer too small. Correct computation of needed size.
30143 * nss/Makefile (tests): Add test-digits-dots.
30144 * nss/test-digits-dots.c: New test.
30145
30146 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30147
30148 * benchtests/Makefile: Remove instructions for adding
30149 benchmark tests.
30150 * benchtests/README: New file to explain how to execute and
30151 enhance the benchmark tests.
30152
30153 2013-05-21 Andreas Schwab <schwab@suse.de>
30154
30155 [BZ #15493]
30156 * setjmp/Makefile (tests): Add tst-sigsetjmp.
30157 * setjmp/tst-sigsetjmp.c: New test.
30158
30159 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
30160
30161 * sysdeps/x86_64/memset.S (memset): New implementation.
30162 (__bzero): Likewise.
30163 (__memset_tail): New function.
30164
30165 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
30166
30167 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
30168 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
30169 __memcpy_sse2_unaligned ifunc selection.
30170 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30171 Add memcpy-sse2-unaligned.S.
30172 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30173 Add: __memcpy_sse2_unaligned.
30174
30175 2013-05-19 Joseph Myers <joseph@codesourcery.com>
30176
30177 [BZ #15490]
30178 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30179 math_force_eval before restoring floating-point envrionment.
30180 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
30181 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30182 Likewise.
30183 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
30184 <math_private.h>.
30185 (__nearbyintl): Use math_force_eval before restoring
30186 floating-point environment.
30187 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
30188
30189 * math/gen-libm-test.pl (special_functions): Remove.
30190 (parse_args): Don't handle TEST_extra. Handle functions with no
30191 return value.
30192 * math/libm-test.inc (struct test_sincos_data): Replace with
30193 struct test_fFF_11_data.
30194 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
30195 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
30196 (sincos_test_data): Change element type to struct
30197 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
30198 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
30199 RUN_TEST_LOOP_sincos.
30200 * math/README.libm-test: Don't mention special handling of
30201 individual functions.
30202 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
30203 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30204 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30205 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30206 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30208
30209 * math/gen-libm-test.pl (get_variable): Remove function.
30210 (parse_args): Don't show pointer parameters to call in test
30211 names. Use "extra output N" in test names for extra outputs
30212 rather than naming variables.
30213
30214 2013-05-18 Joseph Myers <joseph@codesourcery.com>
30215
30216 [BZ #15488]
30217 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
30218 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
30219 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
30220 double tests.
30221 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
30222 disable.
30223 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
30224 check_long_double.
30225
30226 * math/gen-libm-test.pl (@tests): Remove variable.
30227 ($count): Likewise.
30228 (new_test): Remove function.
30229 (show_exceptions): New function.
30230 (special_functions): Use show_exceptions instead of new_test.
30231 (parse_args): Likewise.
30232 (generate_testfile): Pass only function name in generated call to
30233 print_max_error or print_complex_max_error.
30234 (get_ulps): Do not handle complex tests specially.
30235 (output_test): Rename to ...
30236 (get_all_ulps_for_test): ... this. Return a string rather than
30237 printing to a file. Require ulps to be present.
30238 (output_ulps): Generate arrays rather than #defines.
30239 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
30240 (struct ulp_data): New type.
30241 (BUILD_COMPLEX_ULP): Remove macro.
30242 (compare_ulp_data): New function.
30243 (find_ulps): Likewise.
30244 (find_test_ulps): Likewise.
30245 (find_function_ulps): Likewise.
30246 (find_complex_function_ulps): Likewise.
30247 (print_max_error): Determine allowed ulps using
30248 find_function_ulps.
30249 (print_complex_max_error): Determine allowed ulps using
30250 find_complex_function_ulps.
30251 (check_float_internal): Determine max ulps using find_test_ulps.
30252 (check_float): Do not take max_ulp parameter. Update call to
30253 check_float_internal.
30254 (check_complex): Likewise.
30255 (check_int): Do not take max_ulp parameter.
30256 (check_long): Likewise.
30257 (check_bool): Likewise.
30258 (check_longlong): Likewise.
30259 (struct test_f_f_data): Remove max_ulp field.
30260 (struct test_ff_f_data): Likewise.
30261 (struct test_ff_f_data_nexttoward): Likewise.
30262 (struct test_fi_f_data): Likewise.
30263 (struct test_fl_f_data): Likewise.
30264 (struct test_if_f_data): Likewise.
30265 (struct test_fff_f_data): Likewise.
30266 (struct test_c_f_data): Likewise.
30267 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
30268 (struct test_fF_f1_data): Likewise.
30269 (struct test_ffI_f1_data): Likewise.
30270 (struct test_c_c_data): Remove max_ulp field.
30271 (struct test_cc_c_data): Likewise.
30272 (struct test_f_i_data): Likewise.
30273 (struct test_ff_i_data): Likewise.
30274 (struct test_f_l_data): Likewise.
30275 (struct test_f_L_data): Likewise.
30276 (struct test_sincos_data): Likewise.
30277 (RUN_TEST_f_f): Do not handle ulps.
30278 (RUN_TEST_LOOP_f_f): Likewise.
30279 (RUN_TEST_2_f): Likewise.
30280 (RUN_TEST_LOOP_2_f): Likewise.
30281 (RUN_TEST_fff_f): Likewise.
30282 (RUN_TEST_LOOP_fff_f): Likewise.
30283 (RUN_TEST_c_f): Likewise.
30284 (RUN_TEST_LOOP_c_f): Likewise.
30285 (RUN_TEST_f_f1): Likewise.
30286 (RUN_TEST_LOOP_f_f1): Likewise.
30287 (RUN_TEST_fF_f1): Likewise.
30288 (RUN_TEST_LOOP_fF_f1): Likewise.
30289 (RUN_TEST_fI_f1): Likewise.
30290 (RUN_TEST_LOOP_fI_f1): Likewise.
30291 (RUN_TEST_ffI_f1): Likewise.
30292 (RUN_TEST_LOOP_ffI_f1): Likewise.
30293 (RUN_TEST_c_c): Likewise.
30294 (RUN_TEST_LOOP_c_c): Likewise.
30295 (RUN_TEST_cc_c): Likewise.
30296 (RUN_TEST_LOOP_cc_c): Likewise.
30297 (RUN_TEST_f_i): Likewise.
30298 (RUN_TEST_LOOP_f_i): Likewise.
30299 (RUN_TEST_f_i_tg): Likewise.
30300 (RUN_TEST_LOOP_f_i_tg): Likewise.
30301 (RUN_TEST_ff_i_tg): Likewise.
30302 (RUN_TEST_LOOP_ff_i_tg): Likewise.
30303 (RUN_TEST_f_b): Likewise.
30304 (RUN_TEST_LOOP_f_b): Likewise.
30305 (RUN_TEST_f_b_tg): Likewise.
30306 (RUN_TEST_LOOP_f_b_tg): Likewise.
30307 (RUN_TEST_f_l): Likewise.
30308 (RUN_TEST_LOOP_f_l): Likewise.
30309 (RUN_TEST_f_L): Likewise.
30310 (RUN_TEST_LOOP_f_L): Likewise.
30311 (RUN_TEST_sincos): Likewise.
30312 (RUN_TEST_LOOP_sincos): Likewise.
30313
30314 2013-05-17 Joseph Myers <joseph@codesourcery.com>
30315
30316 [BZ #15480]
30317 [BZ #15485]
30318 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
30319 main case of finite arguments, set rounding mode to FE_TONEAREST
30320 and discard exceptions.
30321 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
30322 exceptions.
30323 (remainder_tonearest_test_data): New variable.
30324 (remainder_test_tonearest): New function.
30325 (remainder_towardzero_test_data): New variable.
30326 (remainder_test_towardzero): New function.
30327 (remainder_downward_test_data): New variable.
30328 (remainder_test_downward): New function.
30329 (remainder_upward_test_data): New variable.
30330 (remainder_test_upward): New function.
30331 (main): Call the new test functions.
30332
30333 * math/libm-test.inc (struct test_f_f1_data): Remove field
30334 extra_init.
30335 (struct test_fF_f1_data): Likewise.
30336 (struct test_ffI_f1_data): Likewise.
30337 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
30338 based on value of EXTRA_EXPECTED.
30339 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30340 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
30341 EXTRA_VAR based on value of EXTRA_EXPECTED.
30342 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30343 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
30344 EXTRA_VAR based on value of EXTRA_EXPECTED.
30345 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30346 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
30347 EXTRA_VAR based on value of EXTRA_EXPECTED.
30348 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30349 * math/gen-libm-test.pl (parse_args): Don't output initializers
30350 for extra output values.
30351
30352 * math/libm-test.inc (check_int): Expect result to be exactly
30353 equal to expected value and do not handle ulps.
30354 (check_long): Likewise.
30355 (check_longlong): Likewise.
30356
30357 * math/libm-test.inc (ceil_test_data): Test for "inexact"
30358 exceptions.
30359 (cimag_test_data): Likewise.
30360 (conj_test_data): Likewise.
30361 (copysign_test_data): Likewise.
30362 (cproj_test_data): Likewise.
30363 (creal_test_data): Likewise.
30364 (fabs_test_data): Likewise.
30365 (fdim_test_data): Likewise.
30366 (finite_test_data): Likewise.
30367 (floor_test_data): Likewise.
30368 (fmax_test_data): Likewise.
30369 (fmin_test_data): Likewise.
30370 (fmod_test_data): Likewise.
30371 (fpclassify_test_data): Likewise.
30372 (frexp_test_data): Likewise.
30373 (ilogb_test_data): Likewise.
30374 (isfinite_test_data): Likewise.
30375 (isgreater_test_data): Likewise.
30376 (isgreaterequal_test_data): Likewise.
30377 (isinf_test_data): Likewise.
30378 (isless_test_data): Likewise.
30379 (islessequal_test_data): Likewise.
30380 (islessgreater_test_data): Likewise.
30381 (isnan_test_data): Likewise.
30382 (isnormal_test_data): Likewise.
30383 (issignaling_test_data): Likewise.
30384 (isunordered_test_data): Likewise.
30385 (ldexp_test_data): Likewise.
30386 (lrint_test_data): Likewise.
30387 (lrint_test_data) [TEST_FLOAT]: Disable one test.
30388 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
30389 (lrint_tonearest_test_data): Test for "inexact" exceptions.
30390 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30391 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
30392 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30393 test input.
30394 (lrint_towardzero_test_data): Test for "inexact" exceptions.
30395 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30396 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
30397 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
30398 that test input.
30399 (lrint_downward_test_data): Test for "inexact" exceptions.
30400 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30401 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
30402 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
30403 test input.
30404 (lrint_upward_test_data): Test for "inexact" exceptions.
30405 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
30406 test input.
30407 (llrint_test_data): Test for "inexact" exceptions.
30408 (llrint_test_data) [TEST_FLOAT]: Disable one test.
30409 (llrint_tonearest_test_data): Test for "inexact" exceptions.
30410 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
30411 (llrint_towardzero_test_data): Test for "inexact" exceptions.
30412 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
30413 (llrint_downward_test_data): Test for "inexact" exceptions.
30414 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
30415 (llrint_upward_test_data): Test for "inexact" exceptions.
30416 (logb_test_data): Likewise.
30417 (logb_downward_test_data): Likewise.
30418 (nextafter_test_data): Likewise.
30419 (nexttoward_test_data): Likewise.
30420 (remainder_test_data): Likewise.
30421 (remquo_test_data): Likewise.
30422 (scalbn_test_data): Likewise.
30423 (scalbln_test_data): Likewise.
30424 (signbit_test_data): Likewise.
30425 (sqrt_test_data): Likewise.
30426 (significand_test_data): Likewise.
30427
30428 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30429
30430 [BZ #15424]
30431 * benchtests/bench-modf.c (struct args): Mark arg0 as
30432 volatile.
30433 * scripts/bench.pl: Mark members of struct args as volatile.
30434
30435 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30436
30437 [BZ # 15497]
30438 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
30439 negative infinity on POWER6 or lower.
30440 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
30441
30442 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
30443
30444 [BZ #15442]
30445 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
30446 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
30447 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
30448 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
30449 (_FP_SETQNAN): New macro.
30450 (_FP_SETQNAN_SEMIRAW): Likewise.
30451 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
30452 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
30453 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
30454 (FP_EXTEND): Use _FP_FRAC_SNANP.
30455 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
30456 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
30457 into account.
30458 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30459 New macro.
30460 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
30461 Likewise.
30462
30463 2013-05-16 Joseph Myers <joseph@codesourcery.com>
30464
30465 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
30466 with DIVIDE_BY_ZERO_EXCEPTION.
30467 (gamma_test_data): Likewise.
30468 (lgamma_test_data): Likewise.
30469 (log_test_data): Likewise.
30470 (log10_test_data): Likewise.
30471 (log2_test_data): Likewise.
30472 (tgamma_test_data): Likewise.
30473
30474 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
30475 (acos_test_tonearest): Likewise.
30476 (acos_test_towardzero): Likewise.
30477 (acos_test_downward): Likewise.
30478 (acos_test_upward): Likewise.
30479 (acosh_test): Likewise.
30480 (asin_test): Likewise.
30481 (asin_test_tonearest): Likewise.
30482 (asin_test_towardzero): Likewise.
30483 (asin_test_downward): Likewise.
30484 (asin_test_upward): Likewise.
30485 (asinh_test): Likewise.
30486 (atan_test): Likewise.
30487 (atanh_test): Likewise.
30488 (atan2_test): Likewise.
30489 (cabs_test): Likewise.
30490 (cacos_test): Likewise.
30491 (cacosh_test): Likewise.
30492 (casin_test): Likewise.
30493 (casinh_test): Likewise.
30494 (catan_test): Likewise.
30495 (catanh_test): Likewise.
30496 (cbrt_test): Likewise.
30497 (ccos_test): Likewise.
30498 (ccosh_test): Likewise.
30499 (cexp_test): Likewise.
30500 (clog_test): Likewise.
30501 (clog10_test): Likewise.
30502 (cos_test): Likewise.
30503 (cos_test_tonearest): Likewise.
30504 (cos_test_towardzero): Likewise.
30505 (cos_test_downward): Likewise.
30506 (cos_test_upward): Likewise.
30507 (cosh_test): Likewise.
30508 (cosh_test_tonearest): Likewise.
30509 (cosh_test_towardzero): Likewise.
30510 (cosh_test_downward): Likewise.
30511 (cosh_test_upward): Likewise.
30512 (cpow_test): Likewise.
30513 (csin_test): Likewise.
30514 (csinh_test): Likewise.
30515 (csqrt_test): Likewise.
30516 (ctan_test): Likewise.
30517 (ctan_test_tonearest): Likewise.
30518 (ctan_test_towardzero): Likewise.
30519 (ctan_test_downward): Likewise.
30520 (ctan_test_upward): Likewise.
30521 (ctanh_test): Likewise.
30522 (ctanh_test_tonearest): Likewise.
30523 (ctanh_test_towardzero): Likewise.
30524 (ctanh_test_downward): Likewise.
30525 (ctanh_test_upward): Likewise.
30526 (erf_test): Likewise.
30527 (erfc_test): Likewise.
30528 (exp_test): Likewise.
30529 (exp_test_tonearest): Likewise.
30530 (exp_test_towardzero): Likewise.
30531 (exp_test_downward): Likewise.
30532 (exp_test_upward): Likewise.
30533 (exp10_test): Likewise.
30534 (exp2_test): Likewise.
30535 (expm1_test): Likewise.
30536 (fmod_test): Likewise.
30537 (gamma_test): Likewise.
30538 (hypot_test): Likewise.
30539 (j0_test): Likewise.
30540 (j1_test): Likewise.
30541 (jn_test): Likewise.
30542 (lgamma_test): Likewise.
30543 (log_test): Likewise.
30544 (log10_test): Likewise.
30545 (log1p_test): Likewise.
30546 (log2_test): Likewise.
30547 (logb_test_downward): Likewise.
30548 (pow_test): Likewise.
30549 (pow_test_tonearest): Likewise.
30550 (pow_test_towardzero): Likewise.
30551 (pow_test_downward): Likewise.
30552 (pow_test_upward): Likewise.
30553 (remainder_test): Likewise.
30554 (remquo_test): Likewise.
30555 (sin_test): Likewise.
30556 (sin_test_tonearest): Likewise.
30557 (sin_test_towardzero): Likewise.
30558 (sin_test_downward): Likewise.
30559 (sin_test_upward): Likewise.
30560 (sincos_test): Likewise.
30561 (sinh_test): Likewise.
30562 (sinh_test_tonearest): Likewise.
30563 (sinh_test_towardzero): Likewise.
30564 (sinh_test_downward): Likewise.
30565 (sinh_test_upward): Likewise.
30566 (sqrt_test): Likewise.
30567 (tan_test): Likewise.
30568 (tan_test_tonearest): Likewise.
30569 (tan_test_towardzero): Likewise.
30570 (tan_test_downward): Likewise.
30571 (tan_test_upward): Likewise.
30572 (tanh_test): Likewise.
30573 (tgamma_test): Likewise.
30574 (y0_test): Likewise.
30575 (y1_test): Likewise.
30576 (yn_test): Likewise.
30577
30578 * math/gen-libm-test.pl (adjust_arg): Remove function.
30579 (special_function): Remove argument $in_func. Only handle
30580 generating output for tables of tests, not inside functions.
30581 (parse_args): Likewise.
30582 (generate_testfile): Remove variable $in_func. Update call to
30583 parse_args.
30584 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
30585 (MINUS_ZERO_INIT): Rename macro to minus_zero.
30586 (PLUS_INFTY_INIT): Rename macro to plus_infty.
30587 (MINUS_INFTY_INIT): Rename macro to minus_infty.
30588 (QNAN_VALUE_INIT): Rename macro to qnan_value.
30589 (MAX_VALUE_INIT): Rename macro to max_value.
30590 (MIN_VALUE_INIT): Rename macro to min_value.
30591 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
30592 (plus_zero): Remove variable.
30593 (minus_zero): Likewise.
30594 (plus_infty): Likewise.
30595 (minus_infty): Likewise.
30596 (qnan_value): Likewise.
30597 (max_value): Likewise.
30598 (min_value): Likewise.
30599 (min_subnorm_value): Likewise.
30600
30601 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30602
30603 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
30604 uint64_t or uint32_t usage.
30605 * crypt/sha256-block.c: Likewise.
30606 * crypt/sha256-crypt.c: Likewise.
30607 * crypt/sha256.c: Likewise.
30608 * crypt/sha512-block.c: Likewise.
30609 * crypt/sha512-crypt.c: Likewise.
30610 * crypt/sha512.c: Likewise.
30611 * debug/backtrace-tst.c: Likewise.
30612 * debug/pcprofiledump.c: Likewise.
30613 * elf/cache.c: Likewise.
30614 * elf/dl-cache.c: Likewise.
30615 * elf/dl-misc.c: Likewise.
30616 * elf/dl-profile.c: Likewise.
30617 * elf/dl-support.c: Likewise.
30618 * elf/ldconfig.c: Likewise.
30619 * elf/sprof.c: Likewise.
30620 * iconv/dummy-repertoire.c: Likewise.
30621 * iconv/iconv_charmap.c: Likewise.
30622 * iconv/skeleton.c: Likewise.
30623 * iconvdata/8bit-generic.c: Likewise.
30624 * iconvdata/cp737.h: Likewise.
30625 * iconvdata/cp775.h: Likewise.
30626 * iconvdata/ibm1008.h: Likewise.
30627 * iconvdata/ibm1025.h: Likewise.
30628 * iconvdata/ibm1046.h: Likewise.
30629 * iconvdata/ibm1097.h: Likewise.
30630 * iconvdata/ibm1112.h: Likewise.
30631 * iconvdata/ibm1122.h: Likewise.
30632 * iconvdata/ibm1123.h: Likewise.
30633 * iconvdata/ibm1124.h: Likewise.
30634 * iconvdata/ibm1129.h: Likewise.
30635 * iconvdata/ibm1130.h: Likewise.
30636 * iconvdata/ibm1132.h: Likewise.
30637 * iconvdata/ibm1133.h: Likewise.
30638 * iconvdata/ibm1137.h: Likewise.
30639 * iconvdata/ibm1140.h: Likewise.
30640 * iconvdata/ibm1141.h: Likewise.
30641 * iconvdata/ibm1142.h: Likewise.
30642 * iconvdata/ibm1143.h: Likewise.
30643 * iconvdata/ibm1144.h: Likewise.
30644 * iconvdata/ibm1145.h: Likewise.
30645 * iconvdata/ibm1146.h: Likewise.
30646 * iconvdata/ibm1147.h: Likewise.
30647 * iconvdata/ibm1148.h: Likewise.
30648 * iconvdata/ibm1149.h: Likewise.
30649 * iconvdata/ibm1153.h: Likewise.
30650 * iconvdata/ibm1154.h: Likewise.
30651 * iconvdata/ibm1155.h: Likewise.
30652 * iconvdata/ibm1156.h: Likewise.
30653 * iconvdata/ibm1157.h: Likewise.
30654 * iconvdata/ibm1158.h: Likewise.
30655 * iconvdata/ibm1160.h: Likewise.
30656 * iconvdata/ibm1161.h: Likewise.
30657 * iconvdata/ibm1162.h: Likewise.
30658 * iconvdata/ibm1163.h: Likewise.
30659 * iconvdata/ibm1164.h: Likewise.
30660 * iconvdata/ibm1166.h: Likewise.
30661 * iconvdata/ibm1167.h: Likewise.
30662 * iconvdata/ibm12712.h: Likewise.
30663 * iconvdata/ibm1390.h: Likewise.
30664 * iconvdata/ibm1399.h: Likewise.
30665 * iconvdata/ibm16804.h: Likewise.
30666 * iconvdata/ibm4517.h: Likewise.
30667 * iconvdata/ibm4899.h: Likewise.
30668 * iconvdata/ibm4909.h: Likewise.
30669 * iconvdata/ibm4971.h: Likewise.
30670 * iconvdata/ibm5347.h: Likewise.
30671 * iconvdata/ibm803.h: Likewise.
30672 * iconvdata/ibm856.h: Likewise.
30673 * iconvdata/ibm901.h: Likewise.
30674 * iconvdata/ibm902.h: Likewise.
30675 * iconvdata/ibm9030.h: Likewise.
30676 * iconvdata/ibm9066.h: Likewise.
30677 * iconvdata/ibm921.h: Likewise.
30678 * iconvdata/ibm922.h: Likewise.
30679 * iconvdata/ibm9448.h: Likewise.
30680 * iconvdata/isiri-3342.h: Likewise.
30681 * iconvdata/jis0201.h: Likewise.
30682 * include/link.h: Likewise.
30683 * include/netdb.h: Likewise.
30684 * inet/check_native.c: Likewise.
30685 * inet/check_pf.c: Likewise.
30686 * inet/getipv4sourcefilter.c: Likewise.
30687 * inet/getnameinfo.c: Likewise.
30688 * inet/getsourcefilter.c: Likewise.
30689 * inet/htonl.c: Likewise.
30690 * inet/setipv4sourcefilter.c: Likewise.
30691 * inet/setsourcefilter.c: Likewise.
30692 * inet/test-inet6_opt.c: Likewise.
30693 * inet/tst-network.c: Likewise.
30694 * locale/C-collate.c: Likewise.
30695 * locale/C-ctype.c: Likewise.
30696 * locale/C-time.c: Likewise.
30697 * locale/C-translit.h: Likewise.
30698 * locale/loadarchive.c: Likewise.
30699 * locale/programs/3level.h: Likewise.
30700 * locale/programs/charmap.c: Likewise.
30701 * locale/programs/charmap.h: Likewise.
30702 * locale/programs/ld-address.c: Likewise.
30703 * locale/programs/ld-collate.c: Likewise.
30704 * locale/programs/ld-ctype.c: Likewise.
30705 * locale/programs/ld-identification.c: Likewise.
30706 * locale/programs/ld-measurement.c: Likewise.
30707 * locale/programs/ld-messages.c: Likewise.
30708 * locale/programs/ld-monetary.c: Likewise.
30709 * locale/programs/ld-name.c: Likewise.
30710 * locale/programs/ld-numeric.c: Likewise.
30711 * locale/programs/ld-paper.c: Likewise.
30712 * locale/programs/ld-telephone.c: Likewise.
30713 * locale/programs/ld-time.c: Likewise.
30714 * locale/programs/linereader.c: Likewise.
30715 * locale/programs/locale.c: Likewise.
30716 * locale/programs/locarchive.c: Likewise.
30717 * locale/programs/locfile.h: Likewise.
30718 * locale/programs/repertoire.c: Likewise.
30719 * locale/programs/simple-hash.c: Likewise.
30720 * locale/programs/simple-hash.h: Likewise.
30721 * malloc/memusage.c: Likewise.
30722 * malloc/memusagestat.c: Likewise.
30723 * nis/nis_defaults.c: Likewise.
30724 * nis/nis_hash.c: Likewise.
30725 * nis/nis_print.c: Likewise.
30726 * nis/nis_xdr.c: Likewise.
30727 * nscd/connections.c: Likewise.
30728 * nscd/hstcache.c: Likewise.
30729 * nscd/nscd_gethst_r.c: Likewise.
30730 * nscd/nscd_getserv_r.c: Likewise.
30731 * nscd/nscd_helper.c: Likewise.
30732 * nscd/servicescache.c: Likewise.
30733 * nss/makedb.c: Likewise.
30734 * nss/nss_db/db-XXX.c: Likewise.
30735 * nss/nss_db/db-initgroups.c: Likewise.
30736 * nss/nss_db/db-netgrp.c: Likewise.
30737 * nss/nss_files/files-network.c: Likewise.
30738 * nss/nss_files/files-parse.c: Likewise.
30739 * posix/bug-regex5.c: Likewise.
30740 * posix/fnmatch_loop.c: Likewise.
30741 * posix/regcomp.c: Likewise.
30742 * posix/regexec.c: Likewise.
30743 * posix/tst-rfc3484-2.c: Likewise.
30744 * posix/tst-rfc3484-3.c: Likewise.
30745 * posix/tst-rfc3484.c: Likewise.
30746 * resolv/nss_dns/dns-canon.c: Likewise.
30747 * resolv/nss_dns/dns-network.c: Likewise.
30748 * resolv/res_init.c: Likewise.
30749 * resolv/res_mkquery.c: Likewise.
30750 * resolv/tst-aton.c: Likewise.
30751 * stdlib/cxa_atexit.c: Likewise.
30752 * stdlib/cxa_finalize.c: Likewise.
30753 * stdlib/gen-fpioconst.c: Likewise.
30754 * stdlib/strtol_l.c: Likewise.
30755 * string/tst-endian.c: Likewise.
30756 * sunrpc/auth_des.c: Likewise.
30757 * sunrpc/clnt_udp.c: Likewise.
30758 * sunrpc/rtime.c: Likewise.
30759 * sunrpc/svcauth_des.c: Likewise.
30760 * sunrpc/xdr.c: Likewise.
30761 * sunrpc/xdr_intXX_t.c: Likewise.
30762 * sunrpc/xdr_rec.c: Likewise.
30763 * sysdeps/generic/ldconfig.h: Likewise.
30764 * sysdeps/generic/ldsodefs.h: Likewise.
30765 * sysdeps/generic/memusage.h: Likewise.
30766 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30767 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
30768 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
30769 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30770 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30771 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30772 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30773 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30774 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30775 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30776 * sysdeps/posix/getaddrinfo.c: Likewise.
30777 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30778 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30779 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30780 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30781 * sysdeps/powerpc/test-gettimebase.c: Likewise.
30782 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30783 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
30784 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
30785 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
30786 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
30787 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30788 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30789 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
30790 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
30791 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
30792 * sysdeps/x86_64/dl-tls.h: Likewise.
30793 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
30794 * time/alt_digit.c: Likewise.
30795 * time/era.c: Likewise.
30796 * wcsmbs/tst-c16c32-1.c: Likewise.
30797
30798 2013-05-16 Joseph Myers <joseph@codesourcery.com>
30799
30800 * math/libm-test.inc (struct test_sincos_data): New type.
30801 (RUN_TEST_LOOP_sincos): New macro.
30802 (sincos_test_data): New variable.
30803 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
30804
30805 2013-05-16 Richard Henderson <rth@redhat.com>
30806
30807 * math/atest-exp2.c (LIMB64): New macro.
30808 (CONSTSZ): New macro.
30809 (mp_exp1, mp_exp_m1, mp_log2): New variables.
30810 (hexdig): Move ...
30811 (print_mpn_fp): ... to function scope.
30812 (read_mpn_hex): Remove.
30813 (get_log2): Remove.
30814 (exp2_mpn): Use mp_log2.
30815 (main): Use mp_exp1.
30816
30817 2013-05-16 Joseph Myers <joseph@codesourcery.com>
30818
30819 * math/libm-test.inc: Remove comment about not testing "inexact"
30820 exceptions.
30821 (INEXACT_EXCEPTION): New macro.
30822 (NO_INEXACT_EXCEPTION): Likewise.
30823 (INVALID_EXCEPTION_OK): Update value.
30824 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
30825 (OVERFLOW_EXCEPTION_OK): Likewise.
30826 (UNDERFLOW_EXCEPTION_OK): Likewise.
30827 (IGNORE_ZERO_INF_SIGN): Likewise.
30828 (ERRNO_UNCHANGED): Likewise.
30829 (ERRNO_EDOM): Likewise.
30830 (ERRNO_ERANGE): Likewise.
30831 (test_exceptions): Handle testing "inexact" exceptions.
30832 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
30833 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
30834 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
30835 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
30836 INEXACT_EXCEPTION.
30837 (rint_towardzero_test_data): Likewise.
30838 (rint_downward_test_data): Likewise.
30839 (rint_upward_test_data): Likewise.
30840
30841 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
30842 with OVERFLOW_EXCEPTION.
30843 (exp10_test_data): Likewise.
30844 (exp2_test_data): Likewise.
30845 (expm1_test_data): Likewise.
30846 (lgamma_test_data): Likewise.
30847 (pow_test_data): Likewise.
30848 (tgamma_test_data): Likewise.
30849 (yn_test_data): Remove duplicate test of overflow.
30850
30851 * math/libm-test.inc (struct test_cc_c_data): New type.
30852 (RUN_TEST_LOOP_cc_c): New macro.
30853 (cpow_test_data): New variable.
30854 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
30855
30856 * math/libm-test.inc (struct test_f_L_data): New type.
30857 (RUN_TEST_LOOP_f_L): New macro.
30858 (llrint_test_data): New variable.
30859 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
30860 (llrint_tonearest_test_data): New variable.
30861 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
30862 (llrint_towardzero_test_data): New variable.
30863 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
30864 (llrint_downward_test_data): New variable.
30865 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
30866 (llrint_upward_test_data): New variable.
30867 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
30868 (llround_test_data): New variable.
30869 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
30870
30871 2013-05-13 Peter Collingbourne <pcc@google.com>
30872
30873 * math/atest-exp2.c (get_log2): Remove const attribute.
30874
30875 2013-05-15 Joseph Myers <joseph@codesourcery.com>
30876
30877 * math/libm-test.inc (struct test_f_l_data): New type.
30878 (RUN_TEST_LOOP_f_l): New macro.
30879 (lrint_test_data): New variable.
30880 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
30881 (lrint_tonearest_test_data): New variable.
30882 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
30883 (lrint_towardzero_test_data): New variable.
30884 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
30885 (lrint_downward_test_data): New variable.
30886 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
30887 (lrint_upward_test_data): New variable.
30888 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
30889 (lround_test_data): New variable.
30890 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
30891
30892 2013-05-15 Peter Collingbourne <pcc@google.com>
30893
30894 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
30895 (EXTRACT_WORDS64) Use where appropriate.
30896 (INSERT_WORDS64) Likewise.
30897
30898 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
30899 constraints with x constraints.
30900 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
30901
30902 * malloc/obstack.c (_obstack_compat): Add initializer.
30903
30904 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
30905
30906 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
30907 si_trapno and add si_addr_lsb to _sifields.sigfault.
30908 (si_trapno): Remove macro.
30909 (si_addr_lsb): Define new macro.
30910 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30911
30912 2013-05-15 Joseph Myers <joseph@codesourcery.com>
30913
30914 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
30915 instead of TEST_f_l.
30916 (llrint_test_tonearest): Likewise.
30917 (llrint_test_towardzero): Likewise.
30918 (llrint_test_downward): Likewise.
30919 (llrint_test_upward): Likewise.
30920 (llround_test): Likewise.
30921
30922 * math/libm-test.inc (struct test_f_i_data): Add comment.
30923 (RUN_TEST_LOOP_f_b): New macro.
30924 (RUN_TEST_LOOP_f_b_tg): Likewise.
30925 (finite_test_data): New variable.
30926 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
30927 (isfinite_test_data): New variable.
30928 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30929 (isinf_test_data): New variable.
30930 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30931 (isnan_test_data): New variable.
30932 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30933 (isnormal_test_data): New variable.
30934 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30935 (issignaling_test_data): New variable.
30936 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30937 (signbit_test_data): New variable.
30938 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
30939
30940 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
30941 with INVALID_EXCEPTION.
30942 (acosh_test_data): Likewise.
30943 (asin_test_data): Likewise.
30944 (atanh_test_data): Likewise.
30945 (fmod_test_data): Likewise.
30946 (log_test_data): Likewise.
30947 (log10_test_data): Likewise.
30948 (log2_test_data): Likewise.
30949 (pow_test_data): Likewise.
30950 (sqrt_test_data): Likewise.
30951 (y0_test_data): Likewise.
30952 (y1_test_data): Likewise.
30953 (yn_test_data): Likewise.
30954
30955 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
30956 function contents.
30957
30958 * math/libm-test.inc (struct test_ff_i_data): New type.
30959 (RUN_TEST_LOOP_ff_i_tg): New macro.
30960 (isgreater_test_data): New variable.
30961 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30962 (isgreaterequal_test_data): New variable.
30963 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30964 (isless_test_data): New variable.
30965 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30966 (islessequal_test_data): New variable.
30967 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30968 (islessgreater_test_data): New variable.
30969 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30970 (isunordered_test_data): New variable.
30971 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
30972
30973 2013-05-14 David S. Miller <davem@davemloft.net>
30974
30975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30976
30977 2013-05-14 Joseph Myers <joseph@codesourcery.com>
30978
30979 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
30980
30981 * math/libm-test.inc (struct test_fF_f1_data): Change type of
30982 extra_test to int.
30983 (struct test_f_i_data): Change type of max_ulp to int.
30984
30985 * math/libm-test.inc (test_ffI_f1_data): New type.
30986 (RUN_TEST_LOOP_ffI_f1): New macro.
30987 (remquo_test_data): New variable.
30988 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
30989
30990 * setjmp/tst-setjmp-fp.c: New file.
30991 * setjmp/Makefile (tests): Add tst-setjmp-fp.
30992 (link-libm): New variable.
30993 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
30994
30995 * math/libm-test.inc (struct test_f_i_data): New type.
30996 (RUN_TEST_LOOP_f_i): New macro.
30997 (RUN_TEST_LOOP_f_i_tg): Likewise.
30998 (fpclassify_test_data): New variable.
30999 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
31000 (ilogb_test_data): New variable.
31001 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
31002
31003 * math/libm-test.inc (scalbln_test): Correct function name in END
31004 call.
31005
31006 * math/libm-test.inc (struct test_f_f1_data): Add comment.
31007 (RUN_TEST_LOOP_fI_f1): New macro.
31008 (frexp_test_data): New variable.
31009 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
31010
31011 * math/libm-test.inc (struct test_fF_f1_data): New type.
31012 (RUN_TEST_LOOP_fF_f1): New macro.
31013 (modf_test_data): New variable.
31014 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
31015
31016 * math/libm-test.inc (struct test_f_f1_data): New type.
31017 (RUN_TEST_LOOP_f_f1): New macro.
31018 (gamma_test_data): New variable.
31019 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31020 (lgamma_test_data): New variable.
31021 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31022
31023 2013-05-13 Carlos O'Donell <carlos@redhat.com>
31024
31025 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
31026 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
31027 (main): Comment "tls" pseudo-hwcap.
31028
31029 2013-05-13 Joseph Myers <joseph@codesourcery.com>
31030
31031 * math/libm-test.inc (struct test_fl_f_data): New type.
31032 (RUN_TEST_LOOP_fl_f): New variable.
31033 (scalbln_test_data): New variable.
31034 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
31035
31036 * math/libm-test.inc (struct test_fi_f_data): New type.
31037 (RUN_TEST_LOOP_fi_f): New macro.
31038 (ldexp_test_data): New variable.
31039 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
31040 (scalbn_test_data): New variable.
31041 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
31042
31043 * math/libm-test.inc (struct test_c_f_data): New type.
31044 (RUN_TEST_LOOP_c_f): New macro.
31045 (cabs_test_data): New variable.
31046 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
31047 (carg_test_data): New variable.
31048 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
31049 (cimag_test_data): New variable.
31050 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
31051 (creal_test_data): New variable.
31052 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
31053
31054 * math/libm-test.inc (struct test_if_f_data): New type.
31055 (RUN_TEST_LOOP_if_f): New macro.
31056 (jn_test_data): New variable.
31057 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
31058 (yn_test_data): New variable.
31059 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
31060
31061 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
31062
31063 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31064
31065 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
31066 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
31067
31068 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31069
31070 * benchtests/Makefile (CPPFLAGS-nonlib): Add
31071 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
31072 (bench-deps): Add bench-timing.h.
31073 * benchtests-bench-skeleton.c: Include bench-timing.h.
31074 (main): Use TIMING_* macros instead of clock_gettime.
31075 * benchtests/bench-timing.h: New file.
31076
31077 [BZ #14582]
31078 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
31079 Renamed from _LIB_VERSION.
31080 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
31081
31082 2013-05-12 Joseph Myers <joseph@codesourcery.com>
31083
31084 * math/libm-test.inc (struct test_fff_f_data): New type.
31085 (RUN_TEST_LOOP_fff_f): New macro.
31086 (fma_test_data): New variable.
31087 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
31088 (fma_towardzero_test_data): New variable.
31089 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
31090 (fma_downward_test_data): New variable.
31091 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
31092 (fma_upward_test_data): New variable.
31093 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
31094
31095 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
31096 (struct test_c_c_data): New type.
31097 (RUN_TEST_LOOP_c_c): New macro.
31098 (cacos_test_data): New variable.
31099 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
31100 (cacosh_test_data): New variable.
31101 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
31102 (casin_test_data): New variable.
31103 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
31104 (casinh_test_data): New variable.
31105 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
31106 (catan_test_data): New variable.
31107 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
31108 (catanh_test_data): New variable.
31109 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
31110 (ccos_test_data): New variable.
31111 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
31112 (ccosh_test_data): New variable.
31113 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
31114 (cexp_test_data): New variable.
31115 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
31116 (clog_test_data): New variable.
31117 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
31118 (clog10_test_data): New variable.
31119 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
31120 (conj_test_data): New variable.
31121 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
31122 (cproj_test_data): New variable.
31123 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
31124 (csin_test_data): New variable.
31125 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
31126 (csinh_test_data): New variable.
31127 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
31128 (csqrt_test_data): New variable.
31129 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
31130 (ctan_test_data): New variable.
31131 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
31132 (ctan_tonearest_test_data): New variable.
31133 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31134 (ctan_towardzero_test_data): New variable.
31135 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31136 (ctan_downward_test_data): New variable.
31137 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31138 (ctan_upward_test_data): New variable.
31139 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31140 (ctanh_test_data): New variable.
31141 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
31142 (ctanh_tonearest_test_data): New variable.
31143 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31144 (ctanh_towardzero_test_data): New variable.
31145 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31146 (ctanh_downward_test_data): New variable.
31147 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31148 (ctanh_upward_test_data): New variable.
31149 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31150 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
31151 of BUILD_COMPLEX.
31152
31153 * math/libm-test.inc (struct test_ff_f_data): New type.
31154 (struct test_ff_f_data_nexttoward): Likewise.
31155 (RUN_TEST_LOOP_2_f): New macro.
31156 (RUN_TEST_LOOP_ff_f): Likewise.
31157 (atan2_test_data): New variable.
31158 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
31159 (copysign_test_data): New variable.
31160 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
31161 (fdim_test_data): New variable.
31162 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
31163 (fmax_test_data): New variable.
31164 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
31165 (fmin_test_data): New variable.
31166 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
31167 (fmod_test_data): New variable.
31168 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
31169 (hypot_test_data): New variable.
31170 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
31171 (nextafter_test_data): New variable.
31172 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
31173 (nexttoward_test_data): New variable.
31174 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
31175 (pow_test_data): New variable.
31176 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
31177 (pow_tonearest_test_data): New variable.
31178 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
31179 (pow_towardzero_test_data): New variable.
31180 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
31181 (pow_downward_test_data): New variable.
31182 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
31183 (pow_upward_test_data): New variable.
31184 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
31185 (remainder_test_data): New variable.
31186 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
31187 (scalb_test_data): New variable.
31188 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
31189 * sysdeps/i386/fpu/libm-test-ulps: Update.
31190
31191 2013-05-11 Joseph Myers <joseph@codesourcery.com>
31192
31193 * math/libm-test.inc (fma_test): Use max_value instead of local
31194 variable fltmax.
31195 (nextafter_test): Likewise.
31196
31197 * math/libm-test.inc (acos_towardzero_test_data): New variable.
31198 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31199 (acos_downward_test_data): New variable.
31200 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31201 (acos_upward_test_data): New variable.
31202 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31203 (acosh_test_data): New variable.
31204 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
31205 (asin_test_data): New variable.
31206 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
31207 (asin_tonearest_test_data): New variable.
31208 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31209 (asin_towardzero_test_data): New variable.
31210 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31211 (asin_downward_test_data): New variable.
31212 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31213 (asin_upward_test_data): New variable.
31214 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31215 (asinh_test_data): New variable.
31216 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
31217 (atan_test_data): New variable.
31218 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
31219 (atanh_test_data): New variable.
31220 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
31221 (cbrt_test_data): New variable.
31222 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
31223 (ceil_test_data): New variable.
31224 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
31225 (cos_test_data): New variable.
31226 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
31227 (cos_tonearest_test_data): New variable.
31228 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31229 (cos_towardzero_test_data): New variable.
31230 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31231 (cos_downward_test_data): New variable.
31232 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31233 (cos_upward_test_data): New variable.
31234 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31235 (cosh_test_data): New variable.
31236 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
31237 (cosh_tonearest_test_data): New variable.
31238 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31239 (cosh_towardzero_test_data): New variable.
31240 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31241 (cosh_downward_test_data): New variable.
31242 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31243 (cosh_upward_test_data): New variable.
31244 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31245 (erf_test_data): New variable.
31246 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
31247 (erfc_test_data): New variable.
31248 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
31249 (exp_test_data): New variable.
31250 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
31251 (exp_tonearest_test_data): New variable.
31252 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31253 (exp_towardzero_test_data): New variable.
31254 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31255 (exp_downward_test_data): New variable.
31256 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31257 (exp_upward_test_data): New variable.
31258 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31259 (exp10_test_data): New variable.
31260 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
31261 (exp2_test_data): New variable.
31262 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
31263 (expm1_test_data): New variable.
31264 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
31265 (fabs_test_data): New variable.
31266 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
31267 (floor_test_data): New variable.
31268 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
31269 (j0_test_data): New variable.
31270 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
31271 (j1_test_data): New variable.
31272 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
31273 (log_test_data): New variable.
31274 (log_test): Run tests with RUN_TEST_LOOP_f_f.
31275 (log10_test_data): New variable.
31276 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
31277 (log1p_test_data): New variable.
31278 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
31279 (log2_test_data): New variable.
31280 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
31281 (logb_test_data): New variable.
31282 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
31283 (logb_downward_test_data): New variable.
31284 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31285 (nearbyint_test_data): New variable.
31286 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
31287 (rint_test_data): New variable.
31288 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
31289 (rint_tonearest_test_data): New variable.
31290 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31291 (rint_towardzero_test_data): New variable.
31292 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31293 (rint_downward_test_data): New variable.
31294 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31295 (rint_upward_test_data): New variable.
31296 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31297 (round_test_data): New variable.
31298 (round_test): Run tests with RUN_TEST_LOOP_f_f.
31299 (sin_test_data): New variable.
31300 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
31301 (sin_tonearest_test_data): New variable.
31302 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31303 (sin_towardzero_test_data): New variable.
31304 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31305 (sin_downward_test_data): New variable.
31306 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31307 (sin_upward_test_data): New variable.
31308 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31309 (sinh_test_data): New variable.
31310 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
31311 (sinh_tonearest_test_data): New variable.
31312 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31313 (sinh_towardzero_test_data): New variable.
31314 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31315 (sinh_downward_test_data): New variable.
31316 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31317 (sinh_upward_test_data): New variable.
31318 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31319 (sqrt_test_data): New variable.
31320 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
31321 (tan_test_data): New variable.
31322 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
31323 (tan_tonearest_test_data): New variable.
31324 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31325 (tan_towardzero_test_data): New variable.
31326 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
31327 (tan_downward_test_data): New variable.
31328 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
31329 (tan_upward_test_data): New variable.
31330 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
31331 (tanh_test_data): New variable.
31332 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
31333 (tgamma_test_data): New variable.
31334 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
31335 (trunc_test_data): New variable.
31336 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
31337 (y0_test_data): New variable.
31338 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
31339 (y1_test_data): New variable.
31340 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
31341 (significand_test_data): New variable.
31342 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
31343
31344 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
31345
31346 [BZ #12387]
31347 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
31348
31349 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
31350
31351 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
31352
31353 2013-05-10 Andreas Jaeger <aj@suse.de>
31354
31355 [BZ #15448]
31356 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
31357 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
31358
31359 2013-05-10 Joseph Myers <joseph@codesourcery.com>
31360
31361 * math/gen-libm-test.pl (adjust_arg): New function.
31362 (special_functions): Handle generating output in both functions
31363 and arrays.
31364 (parse_args): Likewise.
31365 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
31366 $in_func argument to parse_args.
31367 * math/libm-test.inc (struct test_f_f_data): New type.
31368 (IF_ROUND_INIT_): New macro.
31369 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
31370 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
31371 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
31372 (IF_ROUND_INIT_FE_UPWARD): Likewise.
31373 (ROUND_RESTORE_): Likewise.
31374 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
31375 (ROUND_RESTORE_FE_TONEAREST): Likewise.
31376 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
31377 (ROUND_RESTORE_FE_UPWARD): Likewise.
31378 (RUN_TEST_LOOP_f_f): New macro.
31379 (acos_test_data): New variable.
31380 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
31381 (acos_tonearest_test_data): New variable.
31382 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
31383
31384 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31385
31386 * benchtests/bench-skeleton.c (startup): Fix coding style.
31387
31388 2013-05-10 Joseph Myers <joseph@codesourcery.com>
31389
31390 [BZ #6809]
31391 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
31392 negative infinity argument.
31393 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
31394 negative infinity argument.
31395 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
31396 negative infinity argument.
31397 * math/libm-test.inc (tgamma_test): Expect errno to be set for
31398 domain errors.
31399
31400 2013-05-10 Florian Weimer <fweimer@redhat.com>
31401
31402 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
31403 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
31404 * iconv/iconv_prog.c (main): Likewise.
31405 * locale/programs/charmap-dir.c (charmap_readdir)
31406 (fopen_uncompressed): Likewise.
31407 * locale/programs/locfile.c (siblings_uncached)
31408 (write_locale_data): Use lstat64 instead of lstat.
31409 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
31410 stat.
31411
31412 2013-05-10 Andreas Jaeger <aj@suse.de>
31413
31414 [BZ #15395]
31415 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
31416 localization.
31417 Include <locale.h>.
31418
31419 2013-05-09 Carlos O'Donell <carlos@redhat.com>
31420
31421 * elf/dl-close.c (_dl_close_worker): Add comments.
31422
31423 2013-05-09 Joseph Myers <joseph@codesourcery.com>
31424
31425 [BZ #15359]
31426 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
31427 high part of pi/2.
31428 (__ieee754_rem_pio2l): Update comments.
31429
31430 [BZ #15429]
31431 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
31432 high part of pi/2.
31433 (__ieee754_rem_pio2l): Update comments.
31434
31435 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
31436 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
31437
31438 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
31439 M_PI_4l.
31440
31441 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
31442 (M_PI_34_LOG10El): Likewise.
31443 (M_PI2_LOG10El): Likewise.
31444 (M_PI4_LOG10El): Likewise.
31445 (M_PI_LOG10El): Likewise.
31446
31447 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31448
31449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31450
31451 2013-05-08 Joseph Myers <joseph@codesourcery.com>
31452
31453 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
31454 (MINUS_ZERO_INIT): Likewise.
31455 (PLUS_INFTY_INIT): Likewise.
31456 (MINUS_INFTY_INIT): Likewise.
31457 (QNAN_VALUE_INIT): Likewise.
31458 (MAX_VALUE_INIT): Likewise.
31459 (MIN_VALUE_INIT): Likewise.
31460 (MIN_SUBNORM_VALUE_INIT): Likewise.
31461 (plus_zero): Initialize with PLUS_ZERO_INIT.
31462 (minus_zero): Initialize with MINUS_ZERO_INIT.
31463 (plus_infty): Initialize with PLUS_INFTY_INIT.
31464 (minus_infty): Initialize with MINUS_INFTY_INIT.
31465 (qnan_value): Initialize with QNAN_VALUE_INIT.
31466 (max_value): Initialize with MAX_VALUE_INIT.
31467 (min_value): Initialize with MIN_VALUE_INIT.
31468 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
31469
31470 * math/libm-test.inc (RUN_TEST_if_f): New macro.
31471 (jn_test): Use TEST_if_f instead of TEST_ff_f.
31472 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
31473 (yn_test): Use TEST_if_f instead of TEST_ff_f.
31474
31475 * math/libm-test.inc (RUN_TEST_f_f): New macro.
31476 (RUN_TEST_2_f): Likewise.
31477 (RUN_TEST_ff_f): Likewise.
31478 (RUN_TEST_fi_f): Likewise.
31479 (RUN_TEST_fl_f): Likewise.
31480 (RUN_TEST_fff_f): Likewise.
31481 (RUN_TEST_c_f): Likewise.
31482 (RUN_TEST_f_f1): Likewise.
31483 (RUN_TEST_fF_f1): Likewise.
31484 (RUN_TEST_fI_f1): Likewise.
31485 (RUN_TEST_ffI_f1): Likewise.
31486 (RUN_TEST_c_c): Likewise.
31487 (RUN_TEST_cc_c): Likewise.
31488 (RUN_TEST_f_i): Likewise.
31489 (RUN_TEST_f_i_tg): Likewise.
31490 (RUN_TEST_ff_i_tg): Likewise.
31491 (RUN_TEST_f_b): Likewise.
31492 (RUN_TEST_f_b_tg): Likewise.
31493 (RUN_TEST_f_l): Likewise.
31494 (RUN_TEST_f_L): Likewise.
31495 (RUN_TEST_sincos): Likewise.
31496 * math/gen-libm-test.pl (new_test): Take new argument to indicate
31497 whether to show exceptions. Do not include ");\n" in return
31498 value.
31499 (special_functions): Output call to RUN_TEST_sincos instead of
31500 check_float calls. Update calls to new_test.
31501 (parse_args): Output call to single RUN_TEST_* macro instead of
31502 check_* calls and other assignments. Update calls to new_test.
31503
31504 [BZ #2546]
31505 [BZ #2560]
31506 [BZ #5159]
31507 [BZ #15426]
31508 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
31509 input to result for tgamma overflow.
31510 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
31511 (gamma_coeff): New variable.
31512 (NCOEFF): New macro.
31513 (gamma_positive): New function.
31514 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
31515 underflow here. Use gamma_positive instead of exp (lgamma) for
31516 other arguments.
31517 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
31518 (gamma_coeff): New variable.
31519 (NCOEFF): New macro.
31520 (gammaf_positive): New function.
31521 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
31522 underflow here. Use gamma_positive instead of exp (lgamma) for
31523 other arguments.
31524 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
31525 (gamma_coeff): New variable.
31526 (NCOEFF): New macro.
31527 (gammal_positive): New function.
31528 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
31529 underflow here. Use gamma_positive instead of exp (lgamma) for
31530 other arguments.
31531 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
31532 (gamma_coeff): New variable.
31533 (NCOEFF): New macro.
31534 (gammal_positive): New function.
31535 (__ieee754_gammal_r): Handle positive infinity, overflow and
31536 underflow here. Handle NaN the same as positive infinity. Remove
31537 check x < 0xffffffff for negative integers. Use gamma_positive
31538 instead of exp (lgamma) for other arguments.
31539 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
31540 (gamma_coeff): New variable.
31541 (NCOEFF): New macro.
31542 (gammal_positive): New function.
31543 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
31544 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
31545 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
31546 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
31547 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
31548 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
31549 * sysdeps/generic/math_private.h (__gamma_productf): New
31550 prototype.
31551 (__gamma_product): Likewise.
31552 (__gamma_productl): Likewise.
31553 * math/Makefile (libm-calls): Add gamma_product.
31554 * math/libm-test.inc (tgamma_test): Add more tests.
31555 * sysdeps/i386/fpu/libm-test-ulps: Update.
31556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31557
31558 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
31559
31560 * benchtests/bench-skeleton.c (main): Preheat CPU.
31561
31562 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
31563
31564 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
31565
31566 2013-05-07 Roland McGrath <roland@hack.frob.com>
31567
31568 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
31569 and _dl_skip_args_internal.
31570
31571 2013-05-07 Carlos O'Donell <carlos@redhat.com>
31572
31573 * manual/message.texi (Message Translation): Talk about users.
31574 Message to key mapping impacts design.
31575
31576 2013-05-06 Roland McGrath <roland@hack.frob.com>
31577
31578 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
31579
31580 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
31581
31582 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
31583 * sysdeps/wordsize-64/glob64.c: ... here.
31584
31585 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
31586 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
31587 New macros.
31588
31589 * debug/getlogin_r_chk.c: Moved to ...
31590 * login/getlogin_r_chk.c: ... here.
31591 * debug/Makefile (routines): Move getlogin_r_chk to ...
31592 * login/Makefile (routines): ... here.
31593 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
31594 * login/Versions (libc: GLIBC_2.4): ... here.
31595
31596 * io/poll.c (__poll): Renamed from poll.
31597 Add libc_hidden_def.
31598 (poll): Define as weak alias.
31599
31600 * debug/ptsname_r_chk.c: Moved to ...
31601 * login/ptsname_r_chk.c: ... here.
31602 * debug/Makefile (routines): Move ptsname_r_chk to ...
31603 * login/Makefile (routines): ... here.
31604 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
31605 * login/Versions (libc: GLIBC_2.4): ... here.
31606
31607 * posix/getlogin.c: Moved to ...
31608 * login/getlogin.c: ... here.
31609 * posix/getlogin_r.c: Moved to ...
31610 * login/getlogin_r.c: ... here.
31611 * posix/getlogin_r.c: Moved to ...
31612 * login/getlogin_r.c: ... here.
31613 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
31614 * login/Makefile (routines): ... here.
31615 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
31616 * login/Versions (libc: GLIBC_2.0): ... here.
31617
31618 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
31619 (setrlimit): Define as weak alias.
31620
31621 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
31622 Call __ names for open, ftruncate, and close.
31623 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
31624 (truncate): Define as weak alias.
31625
31626 2013-05-06 Joseph Myers <joseph@codesourcery.com>
31627
31628 * math/gen-libm-test.pl (parse_args): Initialize x before each
31629 test of frexp, modf and remquo.
31630
31631 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
31632 test signgam value.
31633
31634 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31635
31636 [BZ #15418]
31637 [BZ #15419]
31638 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
31639 internal tests.
31640 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31641
31642 2013-05-06 Roland McGrath <roland@hack.frob.com>
31643
31644 * elf/dl-writev.h: New file.
31645 * elf/dl-misc.c: Include it.
31646 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
31647 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
31648
31649 2013-05-04 Joseph Myers <joseph@codesourcery.com>
31650
31651 * math/libm-test.inc (noXFails): Remove variable.
31652 (noXPasses): Likewise.
31653 (BUILD_COMPLEX_INT): Remove macro.
31654 (print_screen): Remove xfail argument.
31655 (print_screen_max_error): Likewise.
31656 (update_stats): Likewise.
31657 (print_max_error): Likewise. Update calls to other affected
31658 functions.
31659 (print_complex_max_error): Likewise.
31660 (test_single_exception): Update calls to print_screen.
31661 (test_single_errno): Likewise.
31662 (check_float_internal): Remove xfail argument. Update calls to
31663 other affected functions.
31664 (check_float): Likewise.
31665 (check_complex): Likewise.
31666 (check_int): Likewise.
31667 (check_long): Likewise.
31668 (check_bool): Likewise.
31669 (check_longlong): Likewise.
31670 (main): Don't print noXFails and noXPasses.
31671 * math/gen-libm-test.pl (top level): Don't mention expected
31672 failure handling in comment.
31673 (new_test): Don't handle expected failures.
31674 (parse_args): Don't mention expected failure handling in comment.
31675 (generate_testfile): Don't handle expected failures.
31676 (parse_ulps): Likewise.
31677 (print_ulps_file): Likewise.
31678 (get_failure): Remove function.
31679 (output_test): Don't handle expected failures.
31680 * make/README.libm-test: Don't mention expected failure handling.
31681
31682 * math/libm-test.inc (plus_zero): Make const. Add initializer.
31683 (minus_zero): Likewise.
31684 (plus_infty): Likewise.
31685 (minus_infty): Likewise.
31686 (qnan_value): Likewise.
31687 (max_value): Likewise.
31688 (min_value): Likewise.
31689 (min_subnorm_value): Likewise.
31690 (initialize): Do not initialize those variables dynamically.
31691
31692 2013-05-03 Roland McGrath <roland@hack.frob.com>
31693
31694 * io/open.c (__open_2): Moved to ...
31695 * io/open_2.c: ... this new file.
31696 * io/open64.c (__open64_2): Moved to ...
31697 * io/open64_2.c: ... this new file.
31698 * io/openat.c (__openat_2): Moved to ...
31699 * io/openat_2.c: ... this new file.
31700 * io/openat64.c (__openat64_2): Moved to ...
31701 * io/openat64_2.c: ... this new file.
31702 * io/Makefile (routines): Add them.
31703 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
31704 * sysdeps/unix/sysv/linux/open_2.c: File removed.
31705 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
31706 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
31707 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
31708 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
31709 (__openat64): Add hidden_ver.
31710 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
31711 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
31712
31713 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
31714 Separately conditionalize setting of GLRO(dl_sysinfo) so
31715 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
31716 as well, but the actual setting is only under [NEED_DL_SYSINFO].
31717
31718 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31719
31720 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
31721 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
31722 definition.
31723 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
31724 * sysdeps/unix/sysv/linux/powerpc/init-first.c
31725 (_libc_vdso_platform_setup): Add __vdso_time initialization.
31726 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
31727 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
31728
31729 2013-05-03 Joseph Myers <joseph@codesourcery.com>
31730
31731 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
31732 test signgam value.
31733
31734 * math/libm-test.inc (hypot_test): Do not use
31735 IGNORE_ZERO_INF_SIGN.
31736
31737 2013-05-03 Andreas Jaeger <aj@suse.de>
31738
31739 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
31740 Linux 3.9.
31741 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
31742 (PF_MAX): Adjust for VSOCK change.
31743
31744 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31745
31746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31747
31748 2013-05-02 Carlos O'Donell <carlos@redhat.com>
31749
31750 [BZ #15264]
31751 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
31752 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
31753 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
31754
31755 2013-05-02 David S. Miller <davem@davemloft.net>
31756
31757 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31758
31759 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
31760
31761 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
31762
31763 2013-05-01 Roland McGrath <roland@hack.frob.com>
31764
31765 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
31766
31767 2013-05-01 Richard Smith <richard@metafoo.co.uk>
31768
31769 [BZ #14952]
31770 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
31771 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31772 Use __attribute__ ((__gnu_inline__)).
31773 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
31774 Don't use __attribute__ ((__gnu_inline__)).
31775
31776 2013-05-01 Joseph Myers <joseph@codesourcery.com>
31777
31778 [BZ #15423]
31779 * math/s_catan.c (__catan): Handle small real or imaginary part of
31780 input specially to avoid spurious underflow.
31781 * math/s_catanf.c (__catanf): Likewise.
31782 * math/s_catanh.c (__catanh): Likewise.
31783 * math/s_catanhf.c (__catanhf): Likewise.
31784 * math/s_catanhl.c (__catanhl): Likewise.
31785 * math/s_catanl.c (__catanl): Likewise.
31786 * math/libm-test.inc (catan_test): Add more tests.
31787 (catanh_test): Likewise.
31788 * sysdeps/i386/fpu/libm-test-ulps: Update.
31789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31790
31791 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31792
31793 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31794
31795 2013-04-30 Joseph Myers <joseph@codesourcery.com>
31796
31797 [BZ #15416]
31798 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
31799 accurately for denominator in atan2.
31800 * math/s_catanf.c (__catanf): Likewise.
31801 * math/s_catanh.c (__catanh): Likewise.
31802 * math/s_catanhf.c (__catanhf): Likewise.
31803 * math/s_catanhl.c (__catanhl): Likewise.
31804 * math/s_catanl.c (__catanl): Likewise.
31805 * math/libm-test.inc (catan_test): Add more tests.
31806 (catanh_test): Likewise.
31807 * sysdeps/i386/fpu/libm-test-ulps: Update.
31808 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31809
31810 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31811
31812 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
31813
31814 * benchtests/Makefile (bench): Remove slow benchmarks.
31815 * benchtests/atan-inputs: Add slow benchmark inputs.
31816 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
31817 (BENCH_FUNC): Accept variant offset.
31818 (VARIANT): Define.
31819 * benchtests/bench-skeleton.c (main): Run benchmark for each
31820 variant.
31821 * benchtests/cos-inputs: Add slow benchmark inputs.
31822 * benchtests/exp-inputs: Likewise.
31823 * benchtests/pow-inputs: Likewise.
31824 * benchtests/sin-inputs: Likewise.
31825 * benchtests/slowatan-inputs: Remove.
31826 * benchtests/slowatan.c: Remove.
31827 * benchtests/slowcos-inputs: Remove.
31828 * benchtests/slowcos.c: Remove.
31829 * benchtests/slowexp-inputs: Remove.
31830 * benchtests/slowexp.c: Remove.
31831 * benchtests/slowpow-inputs: Remove.
31832 * benchtests/slowpow.c: Remove.
31833 * benchtests/slowsin-inputs: Remove.
31834 * benchtests/slowsin.c: Remove.
31835 * benchtests/slowtan-inputs: Remove.
31836 * benchtests/slowtan.c: Remove.
31837 * benchtests/tan-inputs: Add slow benchmark inputs.
31838 * scripts/bench.pl: Parse comments and directives.
31839
31840 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
31841 in CPPFLAGS.
31842 ($(objpfx)bench-%.c): Remove *-ITER.
31843 * benchtests/bench-modf.c: Remove definition of ITER.
31844 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
31845 (main): Loop for DURATION seconds instead of fixed number of
31846 iterations.
31847 * scripts/bench.pl: Don't expect iterations in parameters.
31848
31849 2013-04-29 Roland McGrath <roland@hack.frob.com>
31850
31851 * io/fchdir.c (__fchdir): Renamed from fchdir.
31852 (fchdir): Define as weak alias.
31853
31854 2013-04-29 Joseph Myers <joseph@codesourcery.com>
31855
31856 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
31857 (ERRNO_EDOM): Likewise.
31858 (ERRNO_ERANGE): Likewise.
31859 (noErrnoTests): New variable.
31860 (init_max_error): Set errno to 0.
31861 (test_single_errno): New function.
31862 (test_errno): Likewise.
31863 (check_float_internal): Call test_errno. Set errno to 0.
31864 (check_complex): Refer to errno tests in comment.
31865 (check_int): Call test_errno. Set errno to 0.
31866 (check_long): Likewise.
31867 (check_bool): Likewise.
31868 (check_longlong): Likewise.
31869 (cos_test): Use ERRNO_* flags for errno tests instead of
31870 check_int.
31871 (expm1_test): Likewise.
31872 (fmod_test): Likewise.
31873 (ilogb_test): Likewise.
31874 (lgamma_test): Likewise.
31875 (pow_test): Likewise.
31876 (remainder_test): Likewise.
31877 (sin_test): Likewise.
31878 (tan_test): Likewise.
31879 (yn_test): Likewise.
31880 (initialize): Set errno to 0.
31881 (main): Print number of errno tests.
31882 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
31883
31884 2013-04-29 Andreas Jaeger <aj@suse.de>
31885
31886 [BZ #15084]
31887 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
31888 and RES_USEVC.
31889
31890 [BZ #15085]
31891 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
31892 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
31893 unimplemented.
31894
31895 [BZ #15380]
31896 * stdlib/random.c (__initstate): Return NULL if
31897 __initstate fails.
31898
31899 [BZ #15086]
31900 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
31901 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
31902 RES_SNGLKUPREOP.
31903
31904 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31905
31906 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31907
31908 2013-04-29 Joseph Myers <joseph@codesourcery.com>
31909
31910 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
31911 of individual tests.
31912 (casin_test): Likewise.
31913 (casinh_test): Likewise.
31914
31915 2013-04-27 Joseph Myers <joseph@codesourcery.com>
31916
31917 [BZ #15409]
31918 * math/s_catan.c (__catan): Handle arguments with large real or
31919 imaginary part separately without squaring.
31920 * math/s_catanf.c (__catanf): Likewise.
31921 * math/s_catanh.c (__catanh): Likewise.
31922 * math/s_catanhf.c (__catanhf): Likewise.
31923 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31924 and redefine.
31925 (__catanhl): Handle arguments with large real or imaginary part
31926 separately without squaring.
31927 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
31928 and redefine.
31929 (__catanl): Handle arguments with large real or imaginary part
31930 separately without squaring.
31931 * math/libm-test.inc (catan_test): Add more tests.
31932 (catanh_test): Likewise.
31933 * sysdeps/i386/fpu/libm-test-ulps: Update.
31934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31935
31936 2013-04-27 Andreas Jaeger <aj@suse.de>
31937
31938 [BZ #15007]
31939 * stdlib/stdlib.h: Update guards for qecvt.
31940 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
31941 <stdlib.h>.
31942
31943 2013-04-27 Allan McRae <allan@archlinux.org>
31944
31945 * sysdeps/i386/fpu/libm-test-ulps: Update.
31946
31947 2013-04-26 Joseph Myers <joseph@codesourcery.com>
31948
31949 [BZ #15406]
31950 * math/s_catan.c: Include <float.h>.
31951 (__catan): Ensure underflow exception occurs for underflowed
31952 result.
31953 * math/s_catanf.c: Include <float.h>.
31954 (__catanf): Ensure underflow exception occurs for underflowed
31955 result.
31956 * math/s_catanh.c: Include <float.h>.
31957 (__catanh): Ensure underflow exception occurs for underflowed
31958 result.
31959 * math/s_catanhf.c: Include <float.h>.
31960 (__catanhf): Ensure underflow exception occurs for underflowed
31961 result.
31962 * math/s_catanhl.c: Include <float.h>.
31963 (__catanhl): Ensure underflow exception occurs for underflowed
31964 result.
31965 * math/s_catanl.c: Include <float.h>.
31966 (__catanl): Ensure underflow exception occurs for underflowed
31967 result.
31968 * math/libm-test.inc (catan_test): Add more tests.
31969 (catanh_test): Likewise.
31970
31971 [BZ #15405]
31972 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
31973 underflowed result.
31974 * math/s_ccoshf.c (__ccoshf): Likewise.
31975 * math/s_ccoshl.c (__ccoshl): Likewise.
31976 * math/s_csin.c (__csin): Likewise.
31977 * math/s_csinf.c (__csinf): Likewise.
31978 * math/s_csinh.c (__csinh): Likewise.
31979 * math/s_csinhf.c (__csinhf): Likewise.
31980 * math/s_csinhl.c (__csinhl): Likewise.
31981 * math/s_csinl.c (__csinl): Likewise.
31982 * math/libm-test.inc (ccos_test): Add more tests.
31983 (ccosh_test): Likewise.
31984 (csin_test): Likewise.
31985 (csinh_test): Likewise.
31986
31987 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31988
31989 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
31990 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
31991 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
31992 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
31993 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
31994 powerpc/power5+/fpu folders.
31995 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
31996
31997
31998 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
31999
32000 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32001
32002 2013-04-25 Joseph Myers <joseph@codesourcery.com>
32003
32004 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
32005 additions to variable.
32006 [$(config-machine) = x86_64] (modules-names): Likewise.
32007 ($(objpfx)tst-audit3): Remove dependency.
32008 ($(objpfx)tst-audit3.out): Likewise.
32009 ($(objpfx)tst-audit4): Likewise.
32010 ($(objpfx)tst-audit4.out): Likewise.
32011 ($(objpfx)tst-audit5): Likewise.
32012 ($(objpfx)tst-audit5.out): Likewise.
32013 ($(objpfx)tst-audit6): Likewise.
32014 ($(objpfx)tst-audit6.out): Likewise.
32015 ($(objpfx)tst-audit7): Likewise.
32016 ($(objpfx)tst-audit7.out): Likewise.
32017 (tst-audit3-ENV): Remove variable.
32018 (tst-audit4-ENV): Likewise.
32019 (tst-audit5-ENV): Likewise.
32020 (tst-audit6-ENV): Likewise.
32021 (tst-audit7-ENV): Likewise.
32022 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
32023 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
32024 addition to variable.
32025 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
32026 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
32027 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
32028 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
32029 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
32030 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
32031 tst-audit3, tst-audit4 and tst-audit5.
32032 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
32033 tst-audit6 and tst-audit7.
32034 [$(subdir) = elf] (modules-names): Add audit modules for those
32035 tests.
32036 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
32037 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
32038 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
32039 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
32040 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
32041 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
32042 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
32043 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
32044 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
32045 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
32046 [$(subdir) = elf] (tst-audit3-ENV): New variable.
32047 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
32048 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
32049 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
32050 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
32051 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
32052 Likewise.
32053 [$(subdir) = elf && $(config-cflags-avx) = yes]
32054 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
32055 [$(subdir) = elf && $(config-cflags-avx) = yes]
32056 (CFLAGS-tst-auditmod4a.c): Likewise.
32057 [$(subdir) = elf && $(config-cflags-avx) = yes]
32058 (CFLAGS-tst-auditmod4b.c): Likewise.
32059 [$(subdir) = elf && $(config-cflags-avx) = yes]
32060 (CFLAGS-tst-auditmod6b.c): Likewise.
32061 [$(subdir) = elf && $(config-cflags-avx) = yes]
32062 (CFLAGS-tst-auditmod6c.c): Likewise.
32063 [$(subdir) = elf && $(config-cflags-avx) = yes]
32064 (CFLAGS-tst-auditmod7b.c): Likewise.
32065 * elf/tst-audit3.c: Move to ...
32066 * sysdeps/x86_64/tst-audit3.c: ... here.
32067 * elf/tst-audit4.c: Move to ...
32068 * sysdeps/x86_64/tst-audit4.c: ... here.
32069 * elf/tst-audit5.c: Move to ...
32070 * sysdeps/x86_64/tst-audit5.c: ... here.
32071 * elf/tst-audit6.c: Move to ...
32072 * sysdeps/x86_64/tst-audit6.c: ... here.
32073 * elf/tst-audit7.c: Move to ...
32074 * sysdeps/x86_64/tst-audit7.c: ... here.
32075 * elf/tst-auditmod3a.c: Move to ...
32076 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
32077 * elf/tst-auditmod3b.c: Move to ...
32078 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
32079 * elf/tst-auditmod4a.c: Move to ...
32080 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
32081 * elf/tst-auditmod4b.c: Move to ...
32082 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
32083 * elf/tst-auditmod5a.c: Move to ...
32084 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
32085 * elf/tst-auditmod5b.c: Move to ...
32086 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
32087 * elf/tst-auditmod6a.c: Move to ...
32088 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
32089 * elf/tst-auditmod6b.c: Move to ...
32090 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
32091 * elf/tst-auditmod6c.c: Move to ...
32092 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
32093 * elf/tst-auditmod7a.c: Move to ...
32094 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
32095 * elf/tst-auditmod7b.c: Move to ...
32096 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
32097
32098 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
32099
32100 [BZ #15366]
32101 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
32102 define unconditionally.
32103 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
32104 define unconditionally.
32105 (INT8_C, INT16_C, etc.): Likewise.
32106
32107 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
32108
32109 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
32110 __ehdr_start with hidden visibility.
32111
32112 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
32113
32114 2013-04-24 Carlos O'Donell <carlos@redhat.com>
32115
32116 * math/libm-test.inc (cos_test): Use accurate hex constants.
32117 (sincost_test): Likewise.
32118
32119 2013-04-24 Joseph Myers <joseph@codesourcery.com>
32120
32121 * math/libm-test.inc (catan_test): Add more tests.
32122 (catanh_test): Likewise.
32123
32124 * math/s_catanf.c (__catanf): Use suffixed floating-point
32125 constants.
32126 * math/s_catanhf.c (__catanhf): Likewise.
32127 * math/s_catanhl.c (__catanhl): Likewise.
32128 * math/s_catanl.c (__catanl): Likewise.
32129
32130 [BZ #15394]
32131 * math/s_catan.c (__catan): Calculate imaginary part of result
32132 with log1p not log unless computing log of number close to 0.
32133 * math/s_catanf.c (__catanf): Likewise.
32134 * math/s_catanl.c (__catanl): Likewise.
32135 * math/s_catanh.c (__catanh): Calculate real part of result with
32136 log1p not log unless computing log of number close to 0.
32137 * math/s_catanhf.c (__catanhf): Likewise.
32138 * math/s_catanhl.c (__catanhl): Likewise.
32139 * math/libm-test.inc (catan_test): Add more tests.
32140 (catanh_test): Likewise.
32141 * sysdeps/i386/fpu/libm-test-ulps: Update.
32142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32143
32144 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
32145
32146 * benchtests/Makefile: Mention files in which fast and slow
32147 paths of math functions are implemented.
32148
32149 2013-04-23 Roland McGrath <roland@hack.frob.com>
32150
32151 * sysdeps/posix/timespec_get.c: New file.
32152
32153 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32154
32155 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
32156 POWER.
32157 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
32158 for POWER.
32159 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
32160 powerpc/power5/fpu folders.
32161 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
32162 * benchtests/Makefile: Add modf testcase.
32163 * benchtests/bench-modf.c: New file: Benchmark test for mo
32164
32165 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
32166
32167 [BZ #14888]
32168 * time/Makefile (tests): Add tst-strptime-whitespace.
32169 * time/strptime_l.c (get_number): Use ISSPACE.
32170 (__strptime_internal): Likewise.
32171 * time/tst-strptime-whitespace.c: New test case.
32172
32173 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
32174
32175 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
32176 member.
32177 (_nss_files_init): Set it here.
32178
32179 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
32180
32181 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
32182 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
32183 unsigned.
32184
32185 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
32186
32187 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
32188
32189 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32190
32191 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
32192 size just once.
32193
32194 2013-04-21 David S. Miller <davem@davemloft.net>
32195
32196 * po/ru.po: Update Russion translation from translation project.
32197
32198 2013-04-17 Adam Conrad <adconrad@0c3.net>
32199
32200 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
32201 and setfsgid.
32202
32203 2013-04-17 Carlos O'Donell <carlos@redhat.com>
32204
32205 * configure.in: Remove i386 configure warning. Remove i386 case.
32206 * configure: Regenerate.
32207 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
32208 Add example to error message.
32209 * sysdeps/i386/configure: Regenerate.
32210
32211 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32212
32213 * benchtests/Makefile (bench): Add cos, tan, slowcos and
32214 slowtan.
32215 * benchtests/cos-inputs: New file.
32216 * benchtests/slowcos-inputs: New file.
32217 * benchtests/slowcos.c: New file.
32218 * benchtests/slowtan-inputs: New file.
32219 * benchtests/slowtan.c: New file.
32220 * benchtests/tan-inputs: New file.
32221
32222 2013-04-16 Roland McGrath <roland@hack.frob.com>
32223
32224 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
32225 considered kosher.
32226
32227 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32228
32229 * benchtests/Makefile: Include cppflags-iterator.mk to add
32230 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
32231
32232 * Makefile.in (bench-clean): New target.
32233 * benchtests/Makefile (bench-clean): Likewise.
32234
32235 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
32236
32237 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
32238
32239 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
32240
32241 * stdio-common/tstdiomisc.c: Fix coding-style violation.
32242
32243 2013-04-15 Andreas Schwab <schwab@suse.de>
32244
32245 * nscd/grpcache.c (cache_addgr): Properly check for short write.
32246 * nscd/initgrcache.c (addinitgroupsX): Likewise.
32247 * nscd/pwdcache.c (cache_addpw): Likewise.
32248 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
32249 more than recsize.
32250
32251 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32252
32253 * benchtests/Makefile (bench): Write all output to
32254 bench-out.tmp together.
32255
32256 2013-04-15 Andreas Schwab <schwab@suse.de>
32257
32258 * nscd/nscd.c (main): Don't fork again after closing files.
32259
32260 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
32261
32262 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
32263
32264 * benchtests/Rules (bench-deps): Collect dependencies into a
32265 single variable. Add Makefile to dependencies.
32266 ($(objpfx)bench-%.c): Depend on bench-deps.
32267
32268 2013-04-12 Roland McGrath <roland@hack.frob.com>
32269 Xavier Roche <roche+kml2@exalead.com>
32270
32271 [BZ #15361]
32272 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
32273 just that it's a file descriptor.
32274 * manual/llio.texi (Synchronizing AIO Operations): Update description
32275 for EBADF error from aio_fsync.
32276
32277 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
32278
32279 * Rules (bench): Move target definition...
32280 * benchtests/Makefile: ... here.
32281
32282 2013-04-11 Carlos O'Donell <carlos@redhat.com>
32283
32284 * math/libm-test.inc (cos_test): Fix PI/2 test.
32285 (sincos_test): Likewise.
32286 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
32287 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
32288
32289 2013-04-11 Andreas Schwab <schwab@suse.de>
32290
32291 [BZ #13988]
32292 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
32293 accept exponent character only when digits were seen.
32294 * stdio-common/Makefile (tests): Add bug26.
32295 * stdio-common/bug26.c: New file.
32296
32297 [BZ #14293]
32298 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
32299 non-freeable.
32300
32301 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32302
32303 * Makeconfig (rtld-prefix): Define built linker prefix.
32304 * Rules (run-bench): Use it.
32305 * math/Makefile (run-regen-ulps): Likewise.
32306
32307 * Rules (bench): Remove eval.
32308
32309 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32310 Roland McGrath <roland@hack.frob.com>
32311 Ondrej Bilka <neleai@seznam.cz>
32312
32313 [BZ #15346]
32314 * time/getdate.c: Include ctype.h and alloca.h.
32315 (__getdate_r): Trim leading and trailing spaces of input.
32316 * time/tst-getdate.c (tests): Add tests with leading and
32317 trailing spaces.
32318
32319 2013-04-08 Roland McGrath <roland@hack.frob.com>
32320
32321 [BZ #14280]
32322 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
32323 when computing value.
32324
32325 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32326
32327 * math/README.libm-test (How can I generate "libm-test-ulps"?):
32328 Use testrun.sh to run libm tests.
32329
32330 [BZ #15309]
32331 * elf/dl-open.c (dl_open_worker): memset all of seen array.
32332
32333 2013-04-06 Marko Myllynen <myllynen@redhat.com>
32334
32335 [BZ #15264]
32336 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
32337
32338 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32339
32340 * Makefile.in (regen-ulps): New target.
32341 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
32342 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
32343 [ifneq (no,$(PERL)] (regen-ulps): New target.
32344 [ifeq (no,$(PERL)] (regen-ulps): New target.
32345 * math/libm-test.inc (ulps_file_name): Define.
32346 (output_dir): New variable.
32347 (options): Add "output-dir" option.
32348 (parse_opt): Handle 'o' case.
32349 (main): If output_dir is non-NULL use it as a prefix
32350 otherwise use "".
32351 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
32352
32353 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32354
32355 [BZ #10060, #10062]
32356 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
32357 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
32358 fail configure if __sync_val_compare_and_swap is not inlined.
32359 * sysdeps/i386/configure: Regenerate.
32360 * configure.in: Build for i686 when configured for i386.
32361 * configure: Regenerate.
32362 * README: Remove i386 reference.
32363
32364 2013-04-06 Carlos O'Donell <carlos@redhat.com>
32365
32366 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
32367 * sysdeps/s390/s390-64/sysdep.h: Likewise.
32368
32369 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
32370
32371 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
32372 (lmsnanval): New variables.
32373 (F): Add conversion tests.
32374 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
32375 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
32376
32377 * stdio-common/tstdiomisc.c (F): Properly collect individual
32378 tests' results.
32379
32380 [BZ #14686, #15336]
32381 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
32382 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
32383 Instead, use input NaN values or generate a qNaN by arithmetic
32384 operation. Also fix bugs to comply with the standard.
32385 * math/libm-test.inc (remainder_test): Add more tests.
32386
32387 [BZ #15335, #15342]
32388 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
32389 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
32390 input NaN values or generate a qNaN by arithmetic operation.
32391
32392 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
32393 unreachable code.
32394
32395 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
32396 definitions.
32397
32398 2013-04-03 Joseph Myers <joseph@codesourcery.com>
32399
32400 [BZ #14478]
32401 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
32402 underflowed result.
32403 * math/s_cexpf.c (__cexpf): Likewise.
32404 * math/s_cexpl.c (__cexpl): Likewise.
32405 * math/libm-test.inc (cexp_test): Add more tests.
32406
32407 2013-04-03 Andreas Schwab <schwab@suse.de>
32408
32409 [BZ #15330]
32410 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
32411 order arrays from heap if bigger than alloca cutoff.
32412
32413 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
32414
32415 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
32416 (SNAN_TESTS_double): Refer to GCC PR56831.
32417 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
32418 GCC PR56828.
32419
32420 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
32421
32422 * Rules (bench): Move bench.out after the run is complete.
32423
32424 * Rules (bench): Echo currently running benchmark.
32425
32426 * benchtests/Makefile (bench): Add atan and slowatan.
32427 * benchtests/atan-inputs: New file.
32428 * benchtests/slowatan-inputs: New file.
32429 * benchtests/slowatan.c: New file.
32430
32431 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
32432 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
32433 its value.
32434
32435 [BZ #15305]
32436 * sysdeps/unix/sysv/linux/kernel-features.h
32437 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
32438 __ASSUME_XFS_RESTRICTED_CHOWN.
32439 * sysdeps/unix/sysv/linux/pathconf.c
32440 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32441 Save and restore errno.
32442
32443 2013-04-02 Joseph Myers <joseph@codesourcery.com>
32444
32445 [BZ #15327]
32446 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
32447 arguments using __kernel_casinh.
32448 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
32449 arguments using __kernel_casinhf.
32450 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
32451 arguments using __kernel_casinhl.
32452 * math/libm-test.inc (cacosh_test): Add more tests.
32453 * sysdeps/i386/fpu/libm-test-ulps: Update.
32454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32455
32456 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
32457
32458 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
32459 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
32460
32461 * bench/Makefile (bench): Add sin and slowsin.
32462 * benchtests/sin-inputs: New file.
32463 * benchtests/slowsin-inputs: New file.
32464 * benchtests/slowsin.c: New file.
32465
32466 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
32467 (bench): Add slowexp and slowpow.
32468 (exp-ITER): Increase iterations.
32469 (pow-ITER): Likewise.
32470 * benchtests/exp-inputs: Change input.
32471 * benchtests/pow-inputs: Likewise.
32472 * benchtests/slowexp-inputs: New file.
32473 * benchtests/slowexp.c: New file.
32474 * benchtests/slowpow-inputs: New file.
32475 * benchtests/slowpow.c: New file.
32476
32477 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32478
32479 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
32480 instructions.
32481 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
32482 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
32483 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
32484 * benchtests/Makefile: Add rint benchtest.
32485 * benchtests/rint-inputs: Input for rint benchtest.
32486
32487 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
32488
32489 * Versions.def (libm): Add GLIBC_2.18.
32490 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
32491 hidden libm prototypes.
32492 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
32493 * math/Makefile (libm-calls): Add s_issignaling.
32494 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
32495 __issignalingf, __issignalingl. Adjust all libm.abilist files.
32496 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
32497 declaration.
32498 * math/math.h [__USE_GNU] (issignaling): New macro.
32499 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
32500 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
32501 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
32502 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
32503 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
32504 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
32505 * manual/arith.texi (issignaling): New section.
32506 * manual/libm-err-tab.pl (@all_functions): Update comment.
32507 * math/gen-libm-test.pl (parse_args): Apply special handling for
32508 issignaling.
32509 * math/libm-test.inc (print_float, issignaling_test): New
32510 functions.
32511 (check_float_internal): Add issignaling checks.
32512 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
32513 default definition.
32514 * sysdeps/powerpc/math-tests.h: New file.
32515 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
32516 tests.
32517 * math/test-snan.c (TEST_FUNC): Likewise.
32518
32519 2013-03-30 David S. Miller <davem@davemloft.net>
32520
32521 * po/de.po: Update from translation team.
32522
32523 2013-03-30 Joseph Myers <joseph@codesourcery.com>
32524
32525 [BZ #10357]
32526 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32527 imaginary part less than 1.0 and real part less than 0.5
32528 specially.
32529 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32530 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32531 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
32532 (cacos_test): Add more tests.
32533 (casin_test): Likewise.
32534 (casinh_test): Likewise.
32535 * sysdeps/i386/fpu/libm-test-ulps: Update.
32536 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32537
32538 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
32539
32540 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
32541 ONE with its value.
32542
32543 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
32544 (__pow_mp): Replace ONE and MONE with their values.
32545 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32546 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
32547 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32548 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
32549 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32550 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32551
32552 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
32553
32554 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
32555 (__pow_mp): Replace ZERO and MZERO with their values.
32556 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32557 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32558 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
32559 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
32560 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32561 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
32562 (__sqr): Likewise.
32563
32564 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
32565
32566 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
32567
32568 2013-03-28 Roland McGrath <roland@hack.frob.com>
32569
32570 * include/stdlib.h [!SHARED] (__call_tls_dtors):
32571 Declare with __attribute__ ((weak)).
32572 * stdlib/exit.c (__libc_atexit) [!SHARED]:
32573 Call __call_tls_dtors only if it's not NULL.
32574
32575 2013-03-28 Roland McGrath <roland@hack.frob.com>
32576
32577 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
32578 didn't do it already, then set _dl_phdr and _dl_phnum based on the
32579 magic __ehdr_start linker symbol if it's defined.
32580 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
32581 them up here if it was already done.
32582
32583 * elf/dl-support.c (_dl_phdr): Make pointer to const.
32584 (_dl_aux_init): Use const in cast when setting it.
32585 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
32586 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
32587 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
32588
32589 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
32590 Declare them here.
32591 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
32592 * csu/libc-tls.c: Nor here.
32593 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
32594
32595 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
32596 (__libc_message): Never call vsyslog.
32597
32598 2013-03-28 Alan Modra <amodra@gmail.com>
32599
32600 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
32601 Define as empty.
32602 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
32603 Likewise.
32604
32605 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32606
32607 [BZ #15214]
32608 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
32609 underflow.
32610 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32611
32612 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32613
32614 [BZ #15304]
32615 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
32616 Don't add gid passed as argument.
32617
32618 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
32619
32620 2013-03-27 Joseph Myers <joseph@codesourcery.com>
32621
32622 [BZ #15307]
32623 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32624 imaginary part between 1.0 and 1.5 and real part less than 0.5
32625 specially.
32626 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32627 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32628 * math/libm-test.inc (cacos_test): Add more tests.
32629 (casin_test): Likewise.
32630 (casinh_test): Likewise.
32631 * sysdeps/i386/fpu/libm-test-ulps: Update.
32632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32633
32634 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32635
32636 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
32637 constants.
32638 (norm): Likewise.
32639 (denorm): Likewise.
32640 (__dbl_mp): Likewise.
32641 (add_magnitudes): Likewise.
32642 (sub_magnitudes): Likewise.
32643 (__add): Likewise.
32644 (__sub): Likewise.
32645 (__mul): Likewise.
32646 (__sqr): Likewise.
32647 (__inv): Likewise.
32648 (__dvd): Likewise.
32649
32650 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
32651 commented code.
32652 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
32653 (__dubcos): Likewise.
32654 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
32655 (__ieee754_acos): Likewise.
32656 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
32657 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
32658 (__exp1): Likewise.
32659 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
32660 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32661 (log1): Likewise.
32662 (my_log2): Likewise.
32663 (checkint): Likewise.
32664 * sysdeps/ieee754/dbl-64/e_remainder.c
32665 (__ieee754_remainder): Likewise.
32666 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
32667 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
32668 (bsloww): Likewise.
32669 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
32670
32671 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
32672 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
32673 MANTISSA_STORE_T to store computations on mantissa. Use
32674 macros for rounding and division.
32675 (denorm): Likewise.
32676 (__dbl_mp): Likewise.
32677 (add_magnitudes): Likewise.
32678 (sub_magnitudes): Likewise.
32679 (__mul): Likewise.
32680 (__sqr): Likewise.
32681 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
32682 powers of two in terms of TWOPOW macro.
32683 (mp_no): Make type of mantissa as MANTISSA_T.
32684 [!RADIXI]: Define RADIXI.
32685 [!TWO52]: Define TWO52.
32686 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
32687
32688 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32689
32690 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
32691 llroundl symbol when building for PPC32.
32692
32693 2013-03-24 Mark H Weaver <mhw@netris.org>
32694
32695 * manual/arith.texi (Normalization Functions): Fix prototypes for
32696 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
32697
32698 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32699
32700 [BZ #13889]
32701 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
32702 high value to check if expl overflow.
32703 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
32704 to check for underflow and overflow.
32705 * math/libm-test.inc: Add exp test.
32706
32707 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
32708
32709 [BZ #11120]
32710 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
32711 with NOT_IN_libc.
32712
32713 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32714
32715 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
32716 symbol.
32717
32718 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
32719
32720 * math/gen-libm-test.pl (parse_args, special_functions): Properly
32721 wrap blocks consisting of several statements.
32722
32723 * sysdeps/generic/math-tests.h: New file.
32724 * sysdeps/i386/fpu/math-tests.h: Likewise.
32725 * math/test-snan.c: Include it.
32726 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
32727
32728 2013-03-21 Joseph Myers <joseph@codesourcery.com>
32729
32730 [BZ #15285]
32731 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
32732 (__ieee754_j0l): Do not improve calculations using cos of twice
32733 input for inputs above LDBL_MAX / 2.0L.
32734 (__ieee754_y0l): Likewise.
32735 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
32736 (__ieee754_j1l): Do not improve calculations using cos of twice
32737 input for inputs above LDBL_MAX / 2.0L.
32738 (__ieee754_y1l): Likewise.
32739 * math/libm-test.inc (j0_test): Add another test.
32740 (j1_test): Likewise.
32741 (y0_test): Likewise.
32742 (y1_test): Likewise.
32743 * sysdeps/i386/fpu/libm-test-ulps: Update.
32744
32745 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32746
32747 * Rules ($(objpfx)bench-%.c): Include code from a C source
32748 file.
32749
32750 2013-03-21 Joseph Myers <joseph@codesourcery.com>
32751
32752 [BZ #15287]
32753 * math/k_casinh.c (__kernel_casinh): Handle arguments with
32754 imaginary part 1.0 and real part less than 0.5 specially.
32755 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32756 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32757 * math/libm-test.inc (cacos_test): Add more tests.
32758 (casin_test): Likewise.
32759 (casinh_test): Likewise.
32760 * sysdeps/i386/fpu/libm-test-ulps: Update.
32761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32762
32763 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32764
32765 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
32766 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
32767
32768 2013-03-20 Joseph Myers <joseph@codesourcery.com>
32769
32770 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
32771 * config.make.in (config-cflags-sse4): Remove variable.
32772 (config-cflags-avx): Likewise.
32773 (config-cflags-sse2avx): Likewise.
32774 (config-cflags-novzeroupper): Likewise.
32775 (config-asflags-i686): Likewise.
32776 (have-mfma4): Likewise.
32777 (have-as-vis3): Likewise.
32778 (MIG): Likewise.
32779 * configure.in (MIG): Do not AC_SUBST.
32780 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
32781 (libc_cv_cc_sse4): Do not AC_SUBST.
32782 (libc_cv_cc_avx): Likewise.
32783 (libc_cv_cc_sse2avx): Likewise.
32784 (libc_cv_cc_novzeroupper): Likewise.
32785 (libc_cv_cc_fma4): Likewise.
32786 (libc_cv_as_i686): Likewise.
32787 (libc_cv_sparc_as_vis3): Likewise.
32788 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
32789 LIBC_CONFIG_VAR.
32790 (config-asflags-i686): Likewise.
32791 (config-cflags-avx): Likewise.
32792 (config-cflags-sse2avx): Likewise.
32793 (have-mfma4): Likewise.
32794 (config-cflags-novzeroupper): Likewise.
32795 * sysdeps/mach/configure.in (MIG): Likewise.
32796 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
32797 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
32798 LIBC_CONFIG_VAR.
32799 (config-cflags-avx): Likewise.
32800 (config-cflags-sse2avx): Likewise.
32801 (have-mfma4): Likewise.
32802 (config-cflags-novzeroupper): Likewise.
32803 * configure: Regenerated.
32804 * sysdeps/i386/configure: Likewise.
32805 * sysdeps/mach/configure: Likewise.
32806 * sysdeps/sparc/configure: Likewise.
32807 * sysdeps/x86_64/configure: Likewise.
32808
32809 2013-03-20 Roland McGrath <roland@hack.frob.com>
32810
32811 [BZ #14812]
32812 * locale/programs/localedef.c (options): Put N_ translation marker
32813 on argument names, not just descriptions.
32814
32815 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32816
32817 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
32818
32819 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
32820
32821 [BZ #14176]
32822 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
32823
32824 2013-03-19 Roland McGrath <roland@hack.frob.com>
32825
32826 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
32827 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
32828 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
32829 [!BEFORE_ABORT] (before_abort): New function.
32830 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
32831 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
32832 (writev_for_fatal): New function.
32833 (WRITEV_FOR_FATAL): New macro; call that.
32834 (backtrace_and_maps): New function.
32835 (BEFORE_ABORT): New macro; call that.
32836 (struct str_list): Type removed.
32837 (__libc_message, __libc_fatal): Functions removed.
32838 Include <sysdeps/posix/libc_fatal.c> instead.
32839
32840 2013-03-19 Joseph Myers <joseph@codesourcery.com>
32841
32842 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
32843 constants.
32844 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
32845 double constants.
32846
32847 2013-03-19 Andreas Schwab <schwab@suse.de>
32848
32849 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
32850 * sysdeps/gnu/configure: Regenerate.
32851
32852 * configure.in: Substitute libc_cv_rtlddir.
32853 * configure: Regenerate.
32854 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
32855 * Makeconfig (rtlddir, inst_rtlddir): New variables.
32856 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
32857 * elf/Makefile (install-others, CFLAGS-interp.c)
32858 (ldso_install, common-ldd-rewrite): Likewise.
32859 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
32860 $(inst_slibdir)/$(rtld-installed-name).
32861 * scripts/rellns-sh: Add -p option.
32862 * Makerules (make-shlib-link): Use rellns-sh to get relative name
32863 for source.
32864
32865 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32866
32867 * manual/nptl.texi: Renamed to ...
32868 * manual/threads.texi: ... this.
32869 * manual/Makefile (chapters): Update.
32870
32871 2013-03-18 Roland McGrath <roland@hack.frob.com>
32872
32873 [BZ #14812]
32874 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
32875 on argument names, not just descriptions.
32876 * malloc/memusagestat.c (options): Likewise.
32877 * nss/getent.c (options): Likewise.
32878
32879 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
32880
32881 [BZ #14812]
32882 * iconv/iconv_prog.c (options): Put N_ translation marker
32883 on argument names, not just descriptions.
32884 * iconv/iconvconfig.c (options): Likewise.
32885
32886 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
32887
32888 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
32889 implementation which is faster on all x86_64 architectures.
32890 Tested on AMD, Intel Nehalem, SNB, IVB.
32891 * sysdeps/x86_64/strnlen.S: Likewise.
32892
32893 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
32894 Remove all multiarch strlen and strnlen versions.
32895 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
32896 Remove strlen and strnlen related parts.
32897
32898 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
32899 Inline strlen part.
32900 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
32901
32902 * sysdeps/x86_64/multiarch/strlen.S: Remove.
32903 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
32904 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
32905 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
32906 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
32907 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
32908
32909 2013-03-17 Carlos O'Donell <carlos@redhat.com>
32910
32911 * manual/memory.texi (Malloc Tunable Parameters):
32912 Sort parameters alphabetically. Add comments for missing entries.
32913
32914 2013-03-17 David S. Miller <davem@davemloft.net>
32915
32916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32917
32918 2013-03-16 Joseph Myers <joseph@codesourcery.com>
32919
32920 [BZ #15283]
32921 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
32922 for arguments at most half maximum finite value.
32923 * math/libm-test.inc (j0_test): Add more tests.
32924 (j1_test): Likewise.
32925 (y0_test): Likewise.
32926 (y1_test): Likewise.
32927 * sysdeps/i386/fpu/libm-test-ulps: Update.
32928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32929
32930 [BZ #14155]
32931 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
32932 1 / x and functions P and Q for arguments above 0x1p256L.
32933 (__ieee754_y0l): Likewise.
32934 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
32935 (__ieee754_y1l): Likewise.
32936 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
32937 (j1_test): Likewise.
32938 (y0_test): Likewise.
32939 (y1_test): Likewise.
32940
32941 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
32942
32943 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
32944 variable.
32945
32946 2013-03-15 Roland McGrath <roland@hack.frob.com>
32947
32948 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
32949 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
32950 zero since it's initialized to EXEC_PAGESIZE.
32951
32952 * sysdeps/unix/sysv/linux/ldsodefs.h
32953 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
32954 * sysdeps/generic/ldsodefs.h: ... here.
32955
32956 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
32957
32958 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
32959
32960 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
32961 math/test-snan.c.
32962 * math/test-snan.c: Renamed from
32963 sysdeps/powerpc/fpu/test-powerpc-snan.c.
32964 * math/Makefile (tests): Add test-snan.
32965 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
32966 test-powerpc-snan.
32967
32968 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
32969 SUFFIX. Initialize qNaN_var with __builtin_nan family of
32970 functions.
32971 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
32972 __builtin_nan family of functions.
32973 * math/libm-test.inc (initialize): Initialize qnan_value with
32974 __builtin_nan family of functions.
32975 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
32976 Remove variables.
32977 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
32978 Remove functions.
32979 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
32980 storage class. Initialize qNaN_var and sNaN_var with
32981 __builtin_nan and __builtin_nans families of functions,
32982 respectively.
32983
32984 * math/libm-test.inc (acosh_test): Also test with qNaN input.
32985 (sqrt_test): Remove duplicate test with qNaN input.
32986 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
32987 (round_test, signbit_test, significand_test): Note missing +/-Inf
32988 as well as qNaN tests.
32989
32990 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
32991 qNaN_var. Fix a few strings, too.
32992 * math/libm-test.inc (nan_value): Rename to qnan_value.
32993 * math/gen-libm-test.pl (%beautify): Adjust to that.
32994 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
32995 * math/test-misc.c (main): Likewise.
32996 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
32997 to __qnan_bytes, and __qnan_union, respectively.
32998 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
32999 Likewise.
33000 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
33001 and lqnanval, respectively.
33002 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
33003 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
33004 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
33005 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
33006
33007 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
33008 * math/test-misc.c (main) [__x86_64__]: Enable test for long
33009 doubles.
33010
33011 * math/test-misc.c (main): Fix copy'n'pastos.
33012 * misc/tst-efgcvt.c (special): Likewise.
33013
33014 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
33015 Remove declarations.
33016
33017 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33018
33019 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
33020 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
33021 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
33022 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
33023
33024 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33025
33026 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
33027 macro to return vdso values correctly in IFUNC implementations.
33028 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33029 Optimization by using IFUNC.
33030
33031 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33032 Richard Henderson <rth@redhat.com>
33033 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33034
33035 * Makefile.in (bench): New target.
33036 * NEWS: Mention the benchmark framework.
33037 * Rules (bench): Likewise.
33038 (binaries-bench): Generate binaries for functions to
33039 benchmark.
33040 * benchtests/Makefile: New makefile for benchmark tests.
33041 * benchtests/bench-skeleton.c: New skeleton file for benchmark
33042 programs.
33043 * benchtests/exp-inputs: New input file for EXP function.
33044 * benchtests/pow-inputs: New input file for POW function.
33045 * scripts/bench.pl: New script to generate source files for
33046 benchmark programs.
33047
33048 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
33049
33050 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33051 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
33052 computations on mantissa. Use macros for rounding and
33053 division.
33054 (denorm): Likewise.
33055 (__dbl_mp): Likewise.
33056 (add_magnitudes): Likewise.
33057 (sub_magnitudes): Likewise.
33058 (__mul): Likewise.
33059 (__sqr): Likewise.
33060 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
33061 powers of two in terms of TWOPOW macro.
33062 (mp_no): Make type of mantissa as MANTISSA_T.
33063 [!RADIXI]: Define RADIXI.
33064 [!TWO52]: Define TWO52.
33065 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33066
33067 * manual/nptl.texi (cindex): Modify threads to pthreads.
33068
33069 2013-03-15 Joseph Myers <joseph@codesourcery.com>
33070
33071 * sysdeps/x86_64/preconfigure: Regenerated.
33072
33073 2013-03-14 Joseph Myers <joseph@codesourcery.com>
33074
33075 [BZ #14155]
33076 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
33077 0x1p28 and above.
33078 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
33079 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
33080 0x1p28 and above.
33081 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
33082 * math/libm-test.inc (j0_test): Do not allow one spurious
33083 underflow exception.
33084 (y1_test): Likewise.
33085
33086 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33087
33088 * manual/Makefile (chapters): Add nptl.
33089 * manual/debug.texi (Debugging Support): Add link to Threads
33090 chapter.
33091 * manual/nptl.texi: New file.
33092
33093 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
33094
33095 2013-03-14 Petr Baudis <pasky@ucw.cz>
33096
33097 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
33098 for non-NULL pointer before the memory validity test. Pointed
33099 out by Holger Brunck <holger.brunck@keymile.com>.
33100
33101 2013-03-13 Andreas Schwab <schwab@suse.de>
33102
33103 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
33104 instead of .os.
33105
33106 2013-03-13 Joseph Myers <joseph@codesourcery.com>
33107
33108 * timezone/zic.c: Update from tzcode 2013b.
33109
33110 2013-03-12 Carlos O'Donell <carlos@redhat.com>
33111
33112 * manual/install.texi (Configuring and compiling):
33113 Mention i686 and i586.
33114 * INSTALL: Regenerate.
33115
33116 2013-03-12 Roland McGrath <roland@hack.frob.com>
33117
33118 * sysdeps/init_array/elf-init.c: New file.
33119 * csu/elf-init.c
33120 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
33121 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
33122
33123 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
33124 __gmon_start__ as global, but as static with a .preinit_array pointer.
33125 * sysdeps/init_array/gmon-start.c: New file. Use that.
33126 * sysdeps/init_array/crti.S: New file, empty except for comments.
33127 * sysdeps/init_array/crtn.S: Likewise.
33128
33129 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
33130
33131 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
33132 definining bcopy.
33133 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33134 Remove Prefer_SSE_for_memop.
33135 * sysdeps/x86_64/multiarch/init-arch.h: Remove
33136 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
33137 HAS_PREFER_SSE_FOR_MEMOP.
33138 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
33139 memset-x86-64.
33140 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33141 Remove bzero, memset ifunc support.
33142 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
33143 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
33144 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33145 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33146
33147 2013-03-11 Andreas Schwab <schwab@suse.de>
33148
33149 [BZ #15234]
33150 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
33151 by SHLIB_COMPAT.
33152 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
33153 (GLIBC_2.16): Remove pthread_atfork.
33154
33155 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
33156
33157 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
33158 (ptestcases.h): Likewise.
33159
33160 2013-03-08 Roland McGrath <roland@hack.frob.com>
33161
33162 * Makeconfig ($(common-objpfx)config.status): Depend on
33163 sysdeps/*/preconfigure{,.in} too.
33164
33165 2013-03-08 Joseph Myers <joseph@codesourcery.com>
33166
33167 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
33168 (__free_hook): Use void * instead of __malloc_ptr_t.
33169 (__malloc_hook): Likewise.
33170 (__realloc_hook): Likewise.
33171 (__memalign_hook): Likewise.
33172 (__after_morecore_hook): Likewise.
33173 * malloc/arena.c (save_malloc_hook): Likewise.
33174 (save_free_hook): Likewise.
33175 * malloc/hooks.c (malloc_hook_ini): Likewise.
33176 (realloc_hook_ini): Likewise.
33177 (memalign_hook_ini): Likewise.
33178 * malloc/malloc.c (malloc_hook_ini): Likewise.
33179 (realloc_hook_ini): Likewise.
33180 (memalign_hook_ini): Likewise.
33181 (__free_hook): Likewise.
33182 (__malloc_hook): Likewise.
33183 (__realloc_hook): Likewise.
33184 (__memalign_hook): Likewise.
33185 (__libc_malloc): Likewise.
33186 (__libc_free): Likewise.
33187 (__libc_realloc): Likewise.
33188 (__libc_memalign): Likewise.
33189 (__libc_valloc): Likewise.
33190 (__libc_pvalloc): Likewise.
33191 (__libc_calloc): Likewise.
33192 (__posix_memalign): Likewise.
33193 * malloc/morecore.c (__sbrk): Likewise.
33194 (__default_morecore): Likewise.
33195
33196 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
33197
33198 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
33199 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
33200 __malloc_ptrdiff_t.
33201
33202 * malloc/malloc.h (__malloc_size_t): Remove macro.
33203 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
33204 __malloc_size_t.
33205 (old_memalign_hook): Likewise.
33206 (old_realloc_hook): Likewise.
33207 (struct hdr): Likewise.
33208 (flood): Likewise.
33209 (mallochook): Likewise.
33210 (memalignhook): Likewise.
33211 (reallochook): Likewise.
33212 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
33213 (tr_old_realloc_hook): Likewise.
33214 (tr_old_memalign_hook): Likewise.
33215 (tr_mallochook): Likewise.
33216 (tr_reallochook): Likewise.
33217 (tr_memalignhook): Likewise.
33218
33219 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33220
33221 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
33222 default_ldbl_pack and using as default implementation.
33223 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
33224 implementation.
33225 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
33226 redundant definition.
33227 (ldbl_insert_mantissa): Likewise.
33228 (ldbl_canonicalize): Likewise.
33229 (ldbl_nearbyint): Likewise.
33230 (ldbl_pack): Rename to ldbl_pack_ppc.
33231 (ldbl_unpack): Rename to ldbl_unpack_ppc.
33232 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
33233 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
33234
33235 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33236
33237 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
33238 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
33239 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
33240 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
33241 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
33242 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
33243 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
33244 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
33245
33246 2013-03-07 Andreas Jaeger <aj@suse.de>
33247
33248 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33249 bits/mman-linux.h.
33250
33251 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33252
33253 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
33254 Include mpa.h and declare __MPEXP.
33255 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
33256 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33257 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33258 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
33259 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33260 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
33261 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
33262
33263 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
33264 (__slowpow): Use long double EXPL and LOGL functions to
33265 compute POW.
33266 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
33267 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33268 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
33269 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
33270 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
33271 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
33272
33273 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
33274 intermediate variable to calculate exponent.
33275 (__sqr): Likewise.
33276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
33277 Likewise.
33278 (__sqr): Likewise.
33279
33280 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
33281 [!NO__SQR]: Define __sqr.
33282 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
33283 and NO__SQR. Remove all code except __mul and __sqr. Include
33284 sysdeps/ieee754/dbl-64/mpa.c.
33285 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33286
33287 [BZ #12723]
33288 * posix/Makefile (tests): Add tst-pathconf.
33289 * posix/tst-pathconf.c: New test case.
33290 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
33291 _PC_PIPE_BUF.
33292 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
33293
33294 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
33295
33296 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
33297
33298 2013-03-06 Andreas Jaeger <aj@suse.de>
33299
33300 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
33301 definition via __MAP_ANONYMOUS.
33302
33303 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
33304 it's not part of Linux headers.
33305
33306 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
33307 (MAP_HUGE_MASK): Define.
33308
33309 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33310 Define.
33311 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33312 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33313 Define.
33314 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33315 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
33316 Define.
33317 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33318 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
33319 Define.
33320 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
33321
33322 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
33323 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
33324 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
33325 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
33326 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
33327 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
33328
33329 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33330 Handle f2fs.
33331
33332 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33333 Handle f2fs and efivarfs.
33334
33335 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
33336 f2fs.
33337
33338 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
33339 (EFIVARFS_MAGIC): Add.
33340 (F2FS_LINK_MAX): Add.
33341
33342 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33343
33344 * stdio-common/vfprintf.c: Replace __builtin_expect with
33345 __glibc_unlikely.
33346
33347 2013-03-06 Joseph Myers <joseph@codesourcery.com>
33348
33349 [BZ #13550]
33350 * sysdeps/generic/bp-sym.h: Remove file.
33351 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
33352 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
33353 <bp-sym.h> and <bp-asm.h>.
33354 (__longjmp): Don't use BP_SYM.
33355 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
33356 and <bp-asm.h>.
33357 (memcpy): Don't use BP_SYM.
33358 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
33359 <bp-sym.h> and <bp-asm.h>.
33360 (memcpy): Don't use BP_SYM.
33361 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
33362 <bp-asm.h>.
33363 (memcpy): Don't use BP_SYM.
33364 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
33365 <bp-asm.h>.
33366 (memset): Don't use BP_SYM.
33367 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33368 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33369 (__bzero): Don't use BP_SYM.
33370 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33371 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33372 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
33373 <bp-sym.h> and <bp-asm.h>.
33374 (memcmp): Don't use BP_SYM. Remove comment about bounded
33375 pointers.
33376 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
33377 <bp-sym.h> and <bp-asm.h>.
33378 (memcpy): Don't use BP_SYM.
33379 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
33380 <bp-sym.h> and <bp-asm.h>.
33381 (memset): Don't use BP_SYM.
33382 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33383 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33384 (__bzero): Don't use BP_SYM.
33385 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33386 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33387 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
33388 <bp-sym.h> and <bp-asm.h>.
33389 (strncmp): Don't use BP_SYM. Remove comment about bounded
33390 pointers.
33391 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
33392 <bp-sym.h> and <bp-asm.h>.
33393 (memcpy): Don't use BP_SYM.
33394 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
33395 <bp-sym.h> and <bp-asm.h>.
33396 (memset): Don't use BP_SYM.
33397 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33398 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33399 (__bzero): Don't use BP_SYM.
33400 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33401 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33402 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
33403 <bp-sym.h> and <bp-asm.h>.
33404 (__memchr): Don't use BP_SYM.
33405 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
33406 <bp-sym.h> and <bp-asm.h>.
33407 (memcmp): Don't use BP_SYM. Remove comment about bounded
33408 pointers.
33409 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
33410 <bp-sym.h> and <bp-asm.h>.
33411 (memcpy): Don't use BP_SYM.
33412 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
33413 <bp-sym.h> and <bp-asm.h>.
33414 (__mempcpy): Don't use BP_SYM.
33415 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
33416 <bp-sym.h> and <bp-asm.h>.
33417 (__memrchr): Don't use BP_SYM.
33418 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
33419 <bp-sym.h> and <bp-asm.h>.
33420 (memset): Don't use BP_SYM.
33421 (__bzero): Likewise.
33422 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
33423 <bp-sym.h> and <bp-asm.h>.
33424 (__rawmemchr): Don't use BP_SYM.
33425 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
33426 <bp-sym.h> and <bp-asm.h>.
33427 (__STRCMP): Don't use BP_SYM.
33428 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
33429 <bp-sym.h> and <bp-asm.h>.
33430 (strchr): Don't use BP_SYM.
33431 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
33432 <bp-sym.h> and <bp-asm.h>.
33433 (__strchrnul): Don't use BP_SYM.
33434 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
33435 <bp-sym.h> and <bp-asm.h>.
33436 (strlen): Don't use BP_SYM.
33437 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
33438 <bp-sym.h> and <bp-asm.h>.
33439 (strncmp): Don't use BP_SYM. Remove comment about bounded
33440 pointers.
33441 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
33442 <bp-sym.h> and <bp-asm.h>.
33443 (__strnlen): Don't use BP_SYM.
33444 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
33445 <bp-sym.h> and <bp-asm.h>.
33446 (__GI__setjmp): Don't use BP_SYM.
33447 (_setjmp): Likewise.
33448 (__sigsetjmp): Likewise.
33449 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
33450 (L(start_addresses)): Don't use BP_SYM.
33451 (_start): Likewise.
33452 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
33453 <bp-asm.h>.
33454 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
33455 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
33456 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33457 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33458 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
33459 <bp-asm.h>.
33460 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
33461 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
33462 about bounded pointers.
33463 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33464 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33465 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
33466 <bp-asm.h>.
33467 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33468 about bounded pointers. Remove GKM FIXME comments.
33469 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33470 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
33471 <bp-asm.h>.
33472 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
33473 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
33474 Remove GKM FIXME comments.
33475 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33476 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33477 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
33478 <bp-asm.h>.
33479 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
33480 about bounded pointers. Remove GKM FIXME comment.
33481 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
33482 and <bp-asm.h>.
33483 (strncmp): Don't use BP_SYM. Remove comment about bounded
33484 pointers.
33485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
33486 <bp-sym.h> and <bp-asm.h>.
33487 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
33489 <bp-sym.h> and <bp-asm.h>.
33490 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
33491 comment.
33492
33493 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33494
33495 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
33496 call free(NULL).
33497
33498 2013-03-05 David S. Miller <davem@davemloft.net>
33499
33500 * po/es.po: Update from translation team.
33501
33502 2013-03-05 Andreas Jaeger <aj@suse.de>
33503
33504 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
33505 <bits/mman-linux.h>.
33506 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33507 is fine.
33508 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
33509 <bits/mman-linux.h> to end of file.
33510 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33511 is fine.
33512 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
33513 <bits/mman-linux.h> to end of file.
33514 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
33515 is fine.
33516 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
33517 <bits/mman-linux.h> to end of file.
33518
33519 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
33520 (MCL_CURRENT, MCL_FUTURE): Define here.
33521
33522 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33523
33524 [BZ #15232]
33525 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
33526 attribute_hidden.
33527 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33528
33529 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33530
33531 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
33532 fourth parameter needed for rt_sigprocmask syscall.
33533 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33534 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
33535 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
33536 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
33537 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
33538 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
33539
33540 2013-03-04 Joseph Myers <joseph@codesourcery.com>
33541
33542 [BZ #13550]
33543 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
33544 comment about bounded pointers.
33545 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
33546 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
33547
33548 2013-03-04 Andreas Jaeger <aj@suse.de>
33549
33550 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
33551 common definitions.
33552
33553 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
33554 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
33555 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
33556 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33557 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33558 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33559
33560 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33561
33562 [BZ #15055]
33563 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
33564 __ieee754_sqrl instead of __sqrl.
33565
33566 2013-03-01 Joseph Myers <joseph@codesourcery.com>
33567
33568 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
33569 * sysdeps/powerpc/fpu_control.h: ... here.
33570 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
33571 * sysdeps/powerpc/bits/fenvinline.h: ... here.
33572 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
33573 * sysdeps/powerpc/bits/mathinline.h: ... here.
33574
33575 2013-03-01 Roland McGrath <roland@hack.frob.com>
33576
33577 * elf/dl-hwcaps.c (_dl_important_hwcaps):
33578 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
33579 to just [NEED_DL_SYSINFO_DSO].
33580 * elf/dl-support.c: Likewise.
33581 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
33582 * elf/rtld.c (dl_main): Likewise.
33583 * elf/setup-vdso.h (setup_vdso): Likewise.
33584 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
33585 * sysdeps/unix/sysv/linux/dl-sysdep.c
33586 (_dl_discover_osversion): Likewise.
33587
33588 2013-03-01 Carlos O'Donell <carlos@redhat.com>
33589
33590 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
33591 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33592
33593 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
33594
33595 * NEWS: Mention libm performance improvements and non-x86 PI
33596 futex support.
33597
33598 * csu/libc-start.c (__pthread_initialize_minimal): Change
33599 function arguments.
33600 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
33601
33602 2013-02-28 Joseph Myers <joseph@codesourcery.com>
33603
33604 [BZ #13550]
33605 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
33606 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
33607 <bp-sym.h> and <bp-asm.h>.
33608 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33609 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
33610 and <bp-asm.h>.
33611 (memcpy): Don't use BP_SYM.
33612 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
33613 <bp-asm.h>.
33614 (__mpn_add_n): Don't use BP_SYM.
33615 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
33616 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
33617 and <bp-asm.h>.
33618 (__mpn_addmul_1): Don't use BP_SYM.
33619 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33620 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
33621 <bp-sym.h>.
33622 (_setjmp): Don't use BP_SYM.
33623 (__novmx_setjmp): Likewise.
33624 (__GI__setjmp): Likewise.
33625 (__vmx_setjmp): Likewise.
33626 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
33627 <bp-sym.h>.
33628 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
33629 (__bzero): Don't use BP_SYM.
33630 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
33631 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
33632 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
33633 <bp-sym.h> and <bp-asm.h>.
33634 (memcpy): Don't use BP_SYM.
33635 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
33636 <bp-sym.h> and <bp-asm.h>.
33637 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33638 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
33639 <bp-sym.h> and <bp-asm.h>.
33640 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
33641 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
33642 <bp-asm.h>.
33643 (__mpn_lshift): Don't use BP_SYM.
33644 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33645 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
33646 <bp-asm.h>.
33647 (memset): Don't use BP_SYM.
33648 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
33649 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
33650 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
33651 <bp-asm.h>.
33652 (__mpn_mul_1): Don't use BP_SYM.
33653 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33654 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
33655 <bp-sym.h> and <bp-asm.h>.
33656 (memcmp): Don't use BP_SYM.
33657 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
33658 <bp-sym.h> and <bp-asm.h>.
33659 (memcpy): Don't use BP_SYM.
33660 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
33661 <bp-sym.h> and <bp-asm.h>.
33662 (memset): Don't use BP_SYM.
33663 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
33664 <bp-sym.h> and <bp-asm.h>.
33665 (strncmp): Don't use BP_SYM.
33666 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
33667 <bp-sym.h> and <bp-asm.h>.
33668 (memcpy): Don't use BP_SYM.
33669 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
33670 <bp-sym.h> and <bp-asm.h>.
33671 (memset): Don't use BP_SYM.
33672 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
33673 <bp-sym.h> and <bp-asm.h>.
33674 (__memchr): Don't use BP_SYM.
33675 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
33676 <bp-sym.h> and <bp-asm.h>.
33677 (memcmp): Don't use BP_SYM.
33678 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
33679 <bp-sym.h> and <bp-asm.h>.
33680 (memcpy): Don't use BP_SYM.
33681 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
33682 <bp-sym.h> and <bp-asm.h>.
33683 (__mempcpy): Don't use BP_SYM.
33684 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
33685 <bp-sym.h> and <bp-asm.h>.
33686 (__memrchr): Don't use BP_SYM.
33687 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
33688 <bp-sym.h> and <bp-asm.h>.
33689 (memset): Don't use BP_SYM.
33690 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
33691 <bp-sym.h> and <bp-asm.h>.
33692 (__rawmemchr): Don't use BP_SYM.
33693 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
33694 <bp-sym.h> and <bp-asm.h>.
33695 (__STRCMP): Don't use BP_SYM.
33696 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
33697 <bp-sym.h> and <bp-asm.h>.
33698 (strchr): Don't use BP_SYM.
33699 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
33700 <bp-sym.h> and <bp-asm.h>.
33701 (__strchrnul): Don't use BP_SYM.
33702 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
33703 <bp-sym.h> and <bp-asm.h>.
33704 (strlen): Don't use BP_SYM.
33705 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
33706 <bp-sym.h> and <bp-asm.h>.
33707 (strncmp): Don't use BP_SYM.
33708 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
33709 <bp-sym.h> and <bp-asm.h>.
33710 (__strnlen): Don't use BP_SYM.
33711 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
33712 <bp-asm.h>.
33713 (__mpn_rshift): Don't use BP_SYM.
33714 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
33715 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
33716 <bp-sym.h> and <bp-asm.h>.
33717 (__sigsetjmp): Don't use BP_SYM.
33718 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
33719 (L(start_addresses)): Don't use BP_SYM.
33720 (_start): Likewise.
33721 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
33722 <bp-asm.h>.
33723 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
33724 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33725 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33726 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
33727 <bp-asm.h>.
33728 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
33729 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
33730 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
33731 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
33732 <bp-asm.h>.
33733 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
33734 comments.
33735 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
33736 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
33737 <bp-asm.h>.
33738 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
33739 FIXME comments.
33740 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
33741 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
33742 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
33743 <bp-asm.h>.
33744 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
33745 comment.
33746 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
33747 and <bp-asm.h>.
33748 (strncmp): Don't use BP_SYM,
33749 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
33750 <bp-asm.h>.
33751 (__mpn_sub_n): Don't use BP_SYM.
33752 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
33753 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
33754 and <bp-asm.h>.
33755 (__mpn_submul_1): Don't use BP_SYM.
33756 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
33757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
33758 <bp-sym.h> and <bp-asm.h>.
33759 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
33760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
33761 <bp-sym.h> and <bp-asm.h>.
33762 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
33763 comment.
33764
33765 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33766
33767 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
33768 Use ZK to minimize writes to Z.
33769 (sub_magnitudes): Simplify code a bit.
33770 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
33771 Use ZK to minimize writes to Z.
33772 (sub_magnitudes): Simplify code a bit.
33773
33774 2013-02-27 Roland McGrath <roland@hack.frob.com>
33775
33776 * csu/gmon-start.c: Add special exception to license text.
33777
33778 2013-02-27 Richard Henderson <rth@redhat.com>
33779
33780 * scripts/config.guess: Update from config.git.
33781 * scripts/config.sub: Likewise.
33782
33783 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33784
33785 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
33786
33787 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
33788
33789 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
33790
33791 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
33792
33793 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
33794
33795 2013-02-26 Roland McGrath <roland@hack.frob.com>
33796
33797 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
33798 [$(build-shared = yes].
33799
33800 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33801
33802 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
33803 (__mul): Reduce iterations for calculating mantissa.
33804
33805 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
33806 MPTWO.
33807 (__mpranred): Likewise.
33808
33809 [BZ #15160]
33810 * malloc/memusagestat.c (main): Draw graphs for heap and stack
33811 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
33812
33813 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
33814
33815 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
33816 Define __attribute__.
33817
33818 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
33819
33820 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
33821 unused.
33822 * posix/regex_internal.h (__attribute): Remove.
33823 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
33824 (re_string_context_at): Likewise.
33825 (bitset_not): Use __attribute__ and mark function as possibly
33826 unused.
33827 (bitset_merge): Likewise.
33828 (bitset_mask): Likewise.
33829 (re_string_char_size_at): Likewise.
33830 (re_string_wchar_at): Likewise.
33831 (re_string_elem_size_at): Likewise.
33832
33833 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
33834
33835 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
33836 code.
33837 (cc32): Likewise.
33838
33839 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
33840 (__acr): Likewise.
33841 (__cpy): Likewise.
33842 (norm): Likewise.
33843 (denorm): Likewise.
33844 (__dbl_mp): Likewise.
33845 (add_magnitudes): Likewise.
33846 (sub_magnitudes): Likewise.
33847 (__mul): Likewise.
33848 (__inv): Likewise.
33849
33850 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
33851 style.
33852
33853 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
33854 style.
33855
33856 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
33857 code.
33858
33859 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
33860 up changes with default code.
33861 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
33862 Likewise.
33863
33864 2013-02-24 Allan McRae <allan@archlinux.org>
33865
33866 * manual/socket.texi (The Internet Namespace): Order menu items
33867 to match that in the file.
33868
33869 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
33870 node listing of the info page menu.
33871
33872 2013-02-21 Joseph Myers <joseph@codesourcery.com>
33873
33874 [BZ #13550]
33875 * sysdeps/i386/bp-asm.h: Remove file.
33876 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
33877 (PARMS): Do not use macros from bp-asm.h.
33878 (S1): Likewise.
33879 (S2): Likewise.
33880 (SIZE): Likewise.
33881 (__mpn_add_n): Do not use BP_SYM
33882 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
33883 "bp-asm.h".
33884 (PARMS): Do not use macros from bp-asm.h.
33885 (S1): Likewise.
33886 (SIZE): Likewise.
33887 (__mpn_addmul_1): Do not use BP_SYM
33888 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
33889 "bp-asm.h".
33890 (PARMS): Do not use macros from bp-asm.h.
33891 (SIGMSK): Likewise.
33892 (_setjmp): Likewise. Do not use BP_SYM.
33893 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
33894 "bp-asm.h".
33895 (PARMS): Do not use macros from bp-asm.h.
33896 (SIGMSK): Likewise.
33897 (setjmp): Likewise. Do not use BP_SYM.
33898 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
33899 "bp-asm.h".
33900 (PARMS): Do not use macros from bp-asm.h.
33901 (__frexp): Do not use BP_SYM.
33902 (frexp): Likewise.
33903 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
33904 "bp-asm.h".
33905 (PARMS): Do not use macros from bp-asm.h.
33906 (__frexpf): Do not use BP_SYM.
33907 (frexpf): Likewise.
33908 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
33909 "bp-asm.h".
33910 (PARMS): Do not use macros from bp-asm.h.
33911 (__frexpl): Do not use BP_SYM.
33912 (frexpl): Likewise.
33913 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
33914 "bp-asm.h".
33915 (PARMS): Do not use macros from bp-asm.h.
33916 (__remquo): Do not use BP_SYM.
33917 (remquo): Likewise.
33918 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
33919 "bp-asm.h".
33920 (PARMS): Do not use macros from bp-asm.h.
33921 (__remquof): Do not use BP_SYM.
33922 (remquof): Likewise.
33923 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
33924 "bp-asm.h".
33925 (PARMS): Do not use macros from bp-asm.h.
33926 (__remquol): Do not use BP_SYM.
33927 (remquol): Likewise.
33928 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
33929 "bp-asm.h".
33930 (PARMS): Do not use macros from bp-asm.h.
33931 (DEST): Likewise.
33932 (SRC): Likewise.
33933 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
33934 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
33935 "bp-asm.h".
33936 (PARMS): Do not use macros from bp-asm.h.
33937 (strlen): Do not use BP_SYM.
33938 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
33939 "bp-asm.h".
33940 (PARMS): Do not use macros from bp-asm.h.
33941 (S1): Likewise.
33942 (S2): Likewise.
33943 (SIZE): Likewise.
33944 (__mpn_add_n): Do not use BP_SYM.
33945 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
33946 "bp-asm.h".
33947 (PARMS): Do not use macros from bp-asm.h.
33948 (S1): Likewise.
33949 (SIZE): Likewise.
33950 (__mpn_addmul_1): Do not use BP_SYM.
33951 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
33952 weak_alias.
33953 (bzero): Likewise.
33954 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
33955 "bp-asm.h".
33956 (PARMS): Do not use macros from bp-asm.h.
33957 (S): Likewise.
33958 (SIZE): Likewise.
33959 (__mpn_lshift): Do not use BP_SYM.
33960 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
33961 "bp-asm.h".
33962 (PARMS): Do not use macros from bp-asm.h.
33963 (DEST): Likewise.
33964 (SRC): Likewise.
33965 (LEN): Likewise.
33966 (memcpy): Likewise. Do not use BP_SYM.
33967 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
33968 libc_hidden_def and weak_alias.
33969 (mempcpy): Do not use BP_SYM in weak_alias.
33970 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
33971 "bp-asm.h".
33972 (PARMS): Do not use macros from bp-asm.h.
33973 (DEST): Likewise.
33974 (LEN): Likewise.
33975 [!BZERO_P] (CHR): Likewise.
33976 (memset): Likewise. Do not use BP_SYM.
33977 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
33978 "bp-asm.h".
33979 (PARMS): Do not use macros from bp-asm.h.
33980 (S1): Likewise.
33981 (SIZE): Likewise.
33982 (__mpn_mul_1): Do not use BP_SYM.
33983 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
33984 "bp-asm.h".
33985 (PARMS): Do not use macros from bp-asm.h.
33986 (S): Likewise.
33987 (SIZE): Likewise.
33988 (__mpn_rshift): Do not use BP_SYM.
33989 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
33990 "bp-asm.h".
33991 (PARMS): Do not use macros from bp-asm.h.
33992 (STR): Likewise.
33993 (CHR): Likewise.
33994 (strchr): Likewise. Do not use BP_SYM.
33995 (index): Do not use BP_SYM in weak_alias.
33996 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
33997 "bp-asm.h".
33998 (PARMS): Do not use macros from bp-asm.h.
33999 (DEST): Likewise.
34000 (SRC): Likewise.
34001 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
34002 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
34003 "bp-asm.h".
34004 (PARMS): Do not use macros from bp-asm.h.
34005 (strlen): Do not use BP_SYM.
34006 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
34007 "bp-asm.h".
34008 (PARMS): Do not use macros from bp-asm.h.
34009 (S1): Likewise.
34010 (S2): Likewise.
34011 (SIZE): Likewise.
34012 (__mpn_sub_n): Do not use BP_SYM.
34013 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
34014 "bp-asm.h".
34015 (PARMS): Do not use macros from bp-asm.h.
34016 (S1): Likewise.
34017 (SIZE): Likewise.
34018 (__mpn_submul_1): Do not use BP_SYM.
34019 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
34020 "bp-asm.h".
34021 (PARMS): Do not use macros from bp-asm.h.
34022 (S1): Likewise.
34023 (S2): Likewise.
34024 (SIZE): Likewise.
34025 (__mpn_add_n): Do not use BP_SYM.
34026 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
34027 weak_alias.
34028 (bzero): Likewise.
34029 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
34030 "bp-asm.h".
34031 (PARMS): Do not use macros from bp-asm.h.
34032 (BLK2): Likewise.
34033 (LEN): Likewise.
34034 (memcmp): Do not use BP_SYM.
34035 (bcmp): Do not use BP_SYM in weak_alias.
34036 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
34037 "bp-asm.h".
34038 (PARMS): Do not use macros from bp-asm.h.
34039 (DEST): Likewise.
34040 (SRC): Likewise.
34041 (LEN): Likewise.
34042 (memcpy): Likewise. Do not use BP_SYM.
34043 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
34044 "bp-asm.h".
34045 (PARMS): Do not use macros from bp-asm.h.
34046 (DEST): Likewise.
34047 (SRC): Likewise.
34048 (LEN): Likewise.
34049 (memmove): Likewise. Do not use BP_SYM.
34050 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
34051 "bp-asm.h".
34052 (PARMS): Do not use macros from bp-asm.h.
34053 (DEST): Likewise.
34054 (SRC): Likewise.
34055 (LEN): Likewise.
34056 (__mempcpy): Likewise. Do not use BP_SYM.
34057 (mempcpy): Do not use BP_SYM in weak_alias.
34058 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
34059 "bp-asm.h".
34060 (PARMS): Do not use macros from bp-asm.h.
34061 (DEST): Likewise.
34062 (LEN): Likewise.
34063 [!BZERO_P] (CHR): Likewise.
34064 (memset): Likewise. Do not use BP_SYM.
34065 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
34066 "bp-asm.h".
34067 (PARMS): Do not use macros from bp-asm.h.
34068 (STR2): Likewise.
34069 (strcmp): Do not use BP_SYM.
34070 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
34071 "bp-asm.h".
34072 (PARMS): Do not use macros from bp-asm.h.
34073 (STR): Likewise.
34074 (DELIM): Likewise.
34075 [USE_AS_STRTOK_R] (SAVE): Likewise.
34076 (FUNCTION): Likewise. Do not use BP_SYM.
34077 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
34078 aliases.
34079 (strtok_r): Likewise.
34080 (__GI___strtok_r): Likewise.
34081 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34082 (PARMS): Do not use macros from bp-asm.h.
34083 (S): Likewise.
34084 (SIZE): Likewise.
34085 (__mpn_lshift): Do not use BP_SYM.
34086 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34087 (PARMS): Do not use macros from bp-asm.h.
34088 (STR): Likewise.
34089 (CHR): Likewise.
34090 (__memchr): Do not use BP_SYM.
34091 (memchr): Do not use BP_SYM in weak_alias.
34092 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34093 (PARMS): Do not use macros from bp-asm.h.
34094 (BLK2): Likewise.
34095 (LEN): Likewise.
34096 (memcmp): Do not use BP_SYM.
34097 (bcmp): Do not use BP_SYM in weak_alias.
34098 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
34099 (PARMS): Do not use macros from bp-asm.h.
34100 (S1): Likewise.
34101 (SIZE): Likewise.
34102 (__mpn_mul_1): Do not use BP_SYM.
34103 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
34104 "bp-asm.h".
34105 (PARMS): Do not use macros from bp-asm.h.
34106 (STR): Likewise.
34107 (CHR): Likewise.
34108 (__rawmemchr): Do not use BP_SYM.
34109 (rawmemchr): Do not use BP_SYM in weak_alias.
34110 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34111 (PARMS): Do not use macros from bp-asm.h.
34112 (S): Likewise.
34113 (SIZE): Likewise.
34114 (__mpn_rshift): Do not use BP_SYM.
34115 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34116 (PARMS): Do not use macros from bp-asm.h.
34117 (SIGMSK): Likewise.
34118 (__sigsetjmp): Likewise. Do not use BP_SYM.
34119 * sysdeps/i386/start.S: Do not include "bp-sym.h".
34120 (_start): Do not use BP_SYM.
34121 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
34122 (PARMS): Do not use macros from bp-asm.h.
34123 (DEST): Likewise.
34124 (SRC): Likewise.
34125 (__stpcpy): Likewise. Do not use BP_SYM.
34126 (stpcpy): Do not use BP_SYM in weak_alias.
34127 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
34128 "bp-asm.h".
34129 (PARMS): Do not use macros from bp-asm.h.
34130 (DEST): Likewise.
34131 (SRC): Likewise.
34132 (LEN): Likewise.
34133 (__stpncpy): Likewise. Do not use BP_SYM.
34134 (stpncpy): Do not use BP_SYM in weak_alias.
34135 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34136 (PARMS): Do not use macros from bp-asm.h.
34137 (STR): Likewise.
34138 (CHR): Likewise.
34139 (strchr): Likewise. Do not use BP_SYM.
34140 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
34141 "bp-asm.h".
34142 (PARMS): Do not use macros from bp-asm.h.
34143 (STR): Likewise.
34144 (CHR): Likewise.
34145 (__strchrnul): Likewise. Do not use BP_SYM.
34146 (strchrnul): Do not use BP_SYM in weak_alias.
34147 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
34148 "bp-asm.h".
34149 (PARMS): Do not use macros from bp-asm.h.
34150 (STOP): Likewise.
34151 (strcspn): Do not use BP_SYM.
34152 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
34153 "bp-asm.h".
34154 (PARMS): Do not use macros from bp-asm.h.
34155 (STR): Likewise.
34156 (STOP): Likewise.
34157 (strpbrk): Likewise. Do not use BP_SYM.
34158 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
34159 "bp-asm.h".
34160 (PARMS): Do not use macros from bp-asm.h.
34161 (STR): Likewise.
34162 (CHR): Likewise.
34163 (strrchr): Likewise. Do not use BP_SYM.
34164 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
34165 (PARMS): Do not use macros from bp-asm.h.
34166 (SKIP): Likewise.
34167 (strspn): Do not use BP_SYM.
34168 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
34169 (PARMS): Do not use macros from bp-asm.h.
34170 (STR): Likewise.
34171 (DELIM): Likewise.
34172 (SAVE): Likewise.
34173 (FUNCTION): Likewise. Do not use BP_SYM.
34174 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
34175 aliases.
34176 (strtok_r): Likewise.
34177 (__GI___strtok_r): Likewise.
34178 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34179 (PARMS): Do not use macros from bp-asm.h.
34180 (S1): Likewise.
34181 (S2): Likewise.
34182 (SIZE): Likewise.
34183 (__mpn_sub_n): Do not use BP_SYM.
34184 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
34185 "bp-asm.h".
34186 (PARMS): Do not use macros from bp-asm.h.
34187 (S1): Likewise.
34188 (SIZE): Likewise.
34189 (__mpn_submul_1): Do not use BP_SYM.
34190 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
34191 <bp-sym.h>.
34192 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
34193 and <bp-asm.h>.
34194 (PARMS): Do not use macros from bp-asm.h.
34195 (FLAGS): Likewise.
34196 (PTID): Likewise.
34197 (TLS): Likewise.
34198 (CTID): Likewise.
34199 (__clone): Do not use BP_SYM.
34200 (clone): Do not use BP_SYM in weak_alias.
34201 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
34202 and <bp-asm.h>.
34203 (PARMS): Do not use macros from bp-asm.h.
34204 (LEN): Likewise.
34205 (__mmap64): Do not use BP_SYM.
34206 (mmap64): Do not use BP_SYM in weak_alias.
34207 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34208 <bp-sym.h> and <bp-asm.h>.
34209 (PARMS): Do not use macros from bp-asm.h.
34210 (__posix_fadvise64_l64): Do not use BP_SYM.
34211 * sysdeps/unix/sysv/linux/i386/semtimedop.S
34212 (PARMS): Do not use macros from bp-asm.h.
34213 (NSOPS): Likewise.
34214 (semtimedop): Do not use BP_SYM.
34215 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
34216 and <bp-asm.h>.
34217
34218 2013-02-21 Allan McRae <allan@archlinux.org>
34219
34220 * manual/message.texi (Charset conversion in gettext):
34221 Move @end statement to beginning of line.
34222
34223 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34224
34225 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
34226 static.
34227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34228 Likewise.
34229
34230 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
34231 (denorm): Likewise.
34232 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
34233 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
34234
34235 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34236
34237 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
34238 tail-call to the resolved function if pltexit isn't needed.
34239
34240 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34241
34242 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
34243 or Y being zero as being unlikely.
34244 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34245 Likewise.
34246
34247 2013-02-20 Carlos O'Donell <carlos@redhat.com>
34248
34249 * manual/nss.texi (System Databases and Name Service Switch):
34250 Remove frobnicate @pxref.
34251
34252 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34253
34254 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34255 __attribute__ ((unused)) to __attribute__ ((__unused__)).
34256
34257 2013-02-20 Petr Machata <pmachata@redhat.com>
34258
34259 * elf/elf.h (R_ARM_TARGET1): New macro.
34260 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
34261 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
34262 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
34263 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
34264 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
34265 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
34266 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
34267 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
34268 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
34269 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
34270 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
34271 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
34272 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
34273 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
34274 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
34275 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
34276 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
34277 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
34278 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
34279 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
34280 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
34281 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
34282 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
34283 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
34284 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
34285 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
34286 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
34287 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
34288 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
34289 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
34290 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
34291 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
34292 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
34293 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
34294 (R_ARM_THM_GOT_BREL12): Likewise.
34295 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
34296 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
34297 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
34298 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
34299 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
34300 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
34301 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
34302 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
34303 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
34304
34305 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
34306
34307 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
34308 __attribute_used__ to __attribute__ ((unused)).
34309
34310 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34311
34312 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
34313 powerpc mpa.c.
34314 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
34315 comment formatting.
34316 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
34317
34318 2013-02-19 Joseph Myers <joseph@codesourcery.com>
34319
34320 [BZ #13550]
34321 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
34322 Remove macro.
34323 (ENTER): Remove both macro definitions.
34324 (LEAVE): Likewise.
34325 (CHECK_BOUNDS_LOW): Likewise.
34326 (CHECK_BOUNDS_HIGH): Likewise.
34327 (CHECK_BOUNDS_BOTH): Likewise.
34328 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
34329 (RETURN_BOUNDED_POINTER): Likewise.
34330 (RETURN_NULL_BOUNDED_POINTER): Likewise.
34331 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
34332 (POP_ERRNO_LOCATION_RETURN): Likewise.
34333 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
34334 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34335 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
34336 macros.
34337 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34338 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
34339 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
34340 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
34341 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
34342 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
34343 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
34344 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
34345 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
34346 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
34347 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
34348 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
34349 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34350 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
34351 removed macros.
34352 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34353 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
34354 macros.
34355 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34356 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
34357 * sysdeps/i386/i586/memset.S (memset): Likewise.
34358 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
34359 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34360 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
34361 macros.
34362 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34363 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
34364 Change uses of L(2) to L(out).
34365 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
34366 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
34367 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
34368 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34369 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
34370 removed macros.
34371 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34372 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
34373 macros.
34374 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34375 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
34376 (RETURN): Do not use macro LEAVE.
34377 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
34378 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
34379 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
34380 * sysdeps/i386/i686/memset.S (memset): Likewise.
34381 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
34382 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
34383 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34384 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
34385 Likewise.
34386 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34387 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
34388 L(1_2) and L(1_3) into L(1).
34389 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34390 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
34391 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34392 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
34393 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34394 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
34395 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
34396 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34397 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
34398 macros.
34399 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
34400 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34401 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
34402 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
34403 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
34404 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34405 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
34406 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
34407 * sysdeps/i386/strcspn.S (strcspn): Likewise.
34408 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
34409 * sysdeps/i386/strrchr.S (strrchr): Likewise.
34410 * sysdeps/i386/strspn.S (strspn): Likewise.
34411 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
34412 conditional code.
34413 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34414 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
34415 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
34416 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
34417 L(1_3) into L(1_1).
34418 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
34419 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34420 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
34421 macros.
34422 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34423
34424 2013-02-19 Jakub Jelinek <jakub@redhat.com>
34425
34426 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
34427 macro.
34428
34429 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34430
34431 * math/atest-exp.c (exp_mpn): Remove ROUND.
34432 * math/atest-exp2.c (exp_mpn): Likewise.
34433 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
34434
34435 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
34436 * stdlib/tst-tls-atexit-lib.c: Likewise.
34437 * stdlib/tst-tls-atexit.c: Likewise.
34438
34439 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34440
34441 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
34442 and __attribute_alloc_size__.
34443
34444 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34445
34446 * include/programs/xmalloc.h: Change __attribute_alloc_size to
34447 __attribute_alloc_size__.
34448 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
34449 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
34450
34451 2013-02-18 Mike Frysinger <vapier@gentoo.org>
34452
34453 * include/programs/xmalloc.h: New file.
34454 * catgets/gencat.c: Include it.
34455 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
34456 * elf/pldd.c: Likewise.
34457 * iconv/iconv_charmap.c: Likewise.
34458 * iconv/iconvconfig.c: Likewise.
34459 * iconv/strtab.c: Likewise.
34460 * locale/programs/locale.c: Likewise.
34461 * locale/programs/localedef.h: Likewise.
34462 * locale/programs/simple-hash.c: Likewise.
34463 * nscd/nscd.h: Likewise.
34464 * nss/makedb.c: Likewise.
34465 * sysdeps/generic/ldconfig.h: Likewise.
34466
34467 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34468
34469 * Versions.def: Add GLIBC_2.18.
34470 * include/link.h (struct link_map): New member l_tls_dtor_count.
34471 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
34472 (__call_tls_dtors): Likewise.
34473 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
34474 __cxa_thread_atexit_impl.
34475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34476 Likewise.
34477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34478 Likewise.
34479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
34480 Likewise.
34481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
34482 Likewise.
34483 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34484 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
34485 Likewise.
34486 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
34487 Likewise.
34488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
34490 Likewise.
34491 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
34492 (tests): Add test case tst-tls-atexit.
34493 (modules-names): Add shared library for tst-tls-atexit.
34494 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
34495 (GLIBC_PRIVATE): Add __call_tls_dtors.
34496 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
34497 for libstdc++.
34498 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
34499 * stdlib/tst-tls-atexit.c: New test case.
34500 * stdlib/tst-tls-atexit-lib.c: New test case.
34501
34502 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
34503
34504 * elf/Versions (ld): Add _dl_find_dso_for_object.
34505 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
34506 * elf/dl-open.c (_dl_find_dso_for_object): New function.
34507 (dl_open_worker): Use _dl_find_dso_for_object.
34508 * elf/dl-sym.c (do_sym): Likewise.
34509 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
34510
34511 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34512
34513 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
34514 Syntactic changes only.
34515 (_dl_runtime_profile): Do a tail-call to the resolved function.
34516
34517 2013-02-17 Joseph Myers <joseph@codesourcery.com>
34518
34519 [BZ #13550]
34520 * sysdeps/x86_64/bp-asm.h: Remove file.
34521 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
34522 <bp-sym.h> and <bp-asm.h>.
34523 (__clone): Do not use BP_SYM.
34524 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
34525 <bp-sym.h> and <bp-asm.h>.
34526 * sysdeps/unix/x86_64/sysdep.S: Likewise.
34527 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
34528 "bp-asm.h".
34529 (_setjmp): Do not use BP_SYM.
34530 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
34531 "bp-asm.h".
34532 (setjmp): Do not use BP_SYM.
34533 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
34534 libc_hidden_def.
34535 (mempcpy): Do not use BP_SYM in weak_alias.
34536 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
34537 "bp-asm.h".
34538 (strchr): Do not use BP_SYM.
34539 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
34540 "bp-asm.h".
34541 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
34542 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
34543 (_start): Do not use BP_SYM.
34544 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
34545 "bp-asm.h".
34546 (strcat): Do not use BP_SYM.
34547 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
34548 "bp-asm.h".
34549 (STRCMP): Do not use BP_SYM.
34550 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
34551 "bp-asm.h".
34552 (STRCPY): Do not use BP_SYM.
34553 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
34554 "bp-asm.h".
34555 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
34556 "bp-asm.h".
34557 (FUNCTION): Do not use BP_SYM.
34558 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
34559 weak_alias.
34560 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
34561
34562 2013-02-17 Andreas Jaeger <aj@suse.de>
34563
34564 * time/Versions: Sort entries.
34565 * string/Versions: Likewise.
34566 * resolv/Versions: Likewise.
34567 * posix/Versions: Likewise.
34568 * iconv/Versions: Likewise.
34569 * elf/Versions: Likewise.
34570 * wcsmbs/Versions: Likewise.
34571
34572 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
34573
34574 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
34575 loop termination condition.
34576
34577 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
34578 variable to calculate EZ.
34579 (__sqr): Likewise.
34580
34581 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
34582 the lower precision input.
34583
34584 2013-02-15 Joseph Myers <joseph@codesourcery.com>
34585
34586 [BZ #13550]
34587 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
34588 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
34589 (run-via-rtld-prefix): Do not handle %-bp tests.
34590 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
34591 (all-object-suffixes): Remove .ob.
34592 (bppfx): Remove variable.
34593 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
34594 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
34595 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
34596 [$(build-bounded) = yes] (libtype.ob): Likewise.
34597 * Makerules (elide-routines.ob): Remove variable.
34598 (do-tests-clean): Do not handle *-bp.out.
34599 (common-mostlyclean): Do not handle *-bp and *-bp.out.
34600 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
34601 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
34602 (tests): Do not include $(tests-bp.out).
34603 (xtests): Do not include $(xtests-bp.out).
34604 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
34605 [$(build-bounded) = yes] ($(addprefix
34606 $(objpfx),$(binaries-bounded))): Remove rule.
34607 ($(objpfx)%-bp.out): Remove rule.
34608 * config.make.in (build-bounded): Remove variable.
34609 * crypt/Makefile [$(build-bounded) = yes]
34610 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
34611 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
34612 append to variable.
34613 [$(build-bounded) = yes] (install-lib): Likewise.
34614 [$(build-bounded) = yes] (generated): Likewise.
34615 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
34616 Remove rule.
34617 * intl/Makefile [$(build-bounded) = yes]
34618 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
34619 * math/Makefile [$(build-bounded) = yes]
34620 ($(tests:%=$(objpfx)%-bp): Likewise.
34621 * misc/Makefile [$(build-bounded) = yes]
34622 ($(objpfx)tst-tsearch-bp): Likewise.
34623 * nptl/Makeconfig (bounded-thread-library): Remove variable.
34624 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
34625 Remove dependency.
34626 * string/Makefile (o-objects.ob): Remove variable.
34627 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
34628 (CFLAGS-.ob): Remove variable.
34629 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
34630 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
34631 both definitions of variable.
34632 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
34633 (ASFLAGS-.ob): Remove variable.
34634
34635 2013-02-14 Joseph Myers <joseph@codesourcery.com>
34636
34637 [BZ #13550]
34638 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
34639 Remove __BOUNDED_POINTERS__ from condition.
34640 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
34641 * string/bits/string2.h [!__NO_STRING_INLINES &&
34642 !__BOUNDED_POINTERS__]: Likewise.
34643 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
34644 Likewise.
34645 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
34646 Remove conditional code.
34647 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
34648 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
34649 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
34650 condition.
34651
34652 [BZ #13550]
34653 * csu/libc-start.c: Do not include <bp-sym.h>.
34654 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
34655 * elf/dl-open.c: Do not include <bp-sym.h>.
34656 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
34657 * math/fegetenv.c: Do not include <bp-sym.h>.
34658 (fegetenv): Do not use BP_SYM in versioned symbols.
34659 * nptl/sysdeps/pthread/bits/libc-lockP.h
34660 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
34661 <bp-sym.h>.
34662 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34663 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
34664 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34665 (__pthread_mutex_destroy): Likewise.
34666 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34667 (__pthread_mutex_lock): Likewise.
34668 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34669 (__pthread_mutex_trylock): Likewise.
34670 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34671 (__pthread_mutex_unlock): Likewise.
34672 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34673 (__pthread_mutexattr_init): Likewise.
34674 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34675 (__pthread_mutexattr_destroy): Likewise.
34676 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34677 (__pthread_mutexattr_settype): Likewise.
34678 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34679 (__pthread_rwlock_init): Likewise.
34680 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34681 (__pthread_rwlock_destroy): Likewise.
34682 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34683 (__pthread_rwlock_rdlock): Likewise.
34684 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34685 (__pthread_rwlock_tryrdlock): Likewise.
34686 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34687 (__pthread_rwlock_wrlock): Likewise.
34688 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34689 (__pthread_rwlock_trywrlock): Likewise.
34690 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34691 (__pthread_rwlock_unlock): Likewise.
34692 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34693 (__pthread_key_create): Likewise.
34694 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34695 (__pthread_setspecific): Likewise.
34696 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34697 (__pthread_getspecific): Likewise.
34698 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
34699 Likewise.
34700 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34701 (_pthread_cleanup_push_defer): Likewise.
34702 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34703 (_pthread_cleanup_pop_restore): Likewise.
34704 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
34705 (pthread_setcancelstate): Likewise.
34706 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
34707 <bp-sym.h>.
34708 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
34709 (memchr): Do not use BP_SYM in weak_alias.
34710 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
34711 (fegetenv): Do not use BP_SYM in versioned symbols.
34712 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
34713 (fesetenv): Do not use BP_SYM in versioned symbols.
34714 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34715 (feupdateenv): Do not use BP_SYM in versioned symbols.
34716 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34717 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34718 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
34719 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
34720 (open64): Do not use BP_SYM in weak_alias.
34721 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
34722 (fegetenv): Do not use BP_SYM in versioned symbols.
34723 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
34724 (fesetenv): Do not use BP_SYM in versioned symbols.
34725 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
34726 (feupdateenv): Do not use BP_SYM in versioned symbols.
34727 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
34728 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
34729 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
34730 (feraiseexcept): Do not use BP_SYM in versioned symbols.
34731 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
34732 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
34733 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
34734 <bp-sym.h>.
34735 (__libc_start_main): Do not use BP_SYM.
34736
34737 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34738
34739 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
34740 redundant return line.
34741 (norm): Likewise.
34742 (denorm): Likewise.
34743 (dbl_mp): Likewise.
34744 (sub_magnitudes): Likewise.
34745 (__add): Likewise.
34746 (__sub): Likewise.
34747 (__mul): Likewise.
34748 (__inv): Likewise.
34749 (__dvd): Likewise.
34750 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
34751 (norm): Likewise.
34752 (denorm): Likewise.
34753 (dbl_mp): Likewise.
34754 (sub_magnitudes): Likewise.
34755 (__add): Likewise.
34756 (__sub): Likewise.
34757 (__mul): Likewise.
34758 (__inv): Likewise.
34759 (__dvd): Likewise.
34760
34761 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
34762 instead of __mul.
34763 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34764 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
34765 (cc32): Likewise.
34766
34767 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
34768 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
34769 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
34770 of __mul for squares.
34771 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
34772 function
34773 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
34774 Likewise.
34775 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
34776 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34777
34778 2013-02-13 Joseph Myers <joseph@codesourcery.com>
34779
34780 [BZ #13550]
34781 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
34782 code.
34783 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
34784 prototype or function definition. Rename ubp_* variables and
34785 parameters. Remove argv definitions conditional on
34786 [__BOUNDED_POINTERS__].
34787 * debug/backtrace.c (__backtrace): Do not use __unbounded.
34788 * elf/dl-runtime.c (_dl_fixup): Likewise.
34789 * include/set-hooks.h (RUN_HOOK): Likewise.
34790 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
34791 definition.
34792 * string/strcpy.c (strcpy): Do not use __unbounded.
34793 * sysdeps/generic/frame.h (struct layout): Likewise.
34794 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
34795 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
34796 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
34797 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
34798 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
34799 (__backtrace): Likewise.
34800 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
34801 use __ptrvalue.
34802 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
34803 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
34804 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
34805 Likewise.
34806 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
34807 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
34808 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
34809 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
34810 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
34811 Do not use __unbounded.
34812 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
34813 Rename __unboundedrlimits parameter to rlimits in prototype.
34814 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
34815 Do not use __unbounded.
34816 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
34817 not use __ptrvalue.
34818 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
34819 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
34820 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
34821 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
34822 __ptrvalue or __unbounded.
34823 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
34824 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
34825 use __unbounded.
34826 (__new_msgctl): Do not use __ptrvalue.
34827 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
34828 __unbounded.
34829 (__libc_msgrcv): Do not use __ptrvalue.
34830 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
34831 startup_info): Do not use __unbounded.
34832 (__libc_start_main): Likewise. Rename ubp_* variables and
34833 parameters. Remove argv definitions conditional on
34834 [__BOUNDED_POINTERS__].
34835 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
34836 __ptrvalue.
34837 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
34838 use __unbounded.
34839 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
34840 or __ptrvalue.
34841 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
34842 use __unbounded.
34843 (__new_shmctl): Do not use __ptrvalue.
34844 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
34845 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
34846 Likewise.
34847 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
34848 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
34849 (__libc_sigaction): Likewise.
34850 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
34851 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
34852 Likewise.
34853 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
34854
34855 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
34856
34857 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
34858
34859 * string/mempcpy.c: Implement by calling memcpy.
34860
34861 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
34862
34863 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
34864
34865 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
34866 evaluation.
34867
34868 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
34869 values in the mantissa.
34870
34871 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
34872 minimize writes to Z.
34873 (sub_magnitudes): Simplify code a bit.
34874
34875 2013-02-12 Roland McGrath <roland@hack.frob.com>
34876
34877 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
34878 from the message. The linker prefixes all warnings with that already.
34879
34880 2013-02-12 Andreas Schwab <schwab@suse.de>
34881
34882 [BZ #15078]
34883 * posix/regexec.c (extend_buffers): Add parameter min_len.
34884 (check_matching): Pass minimum needed length.
34885 (clean_state_log_if_needed): Likewise.
34886 (get_subexp): Likewise.
34887 * posix/Makefile (tests): Add bug-regex34.
34888 (bug-regex34-ENV): Define.
34889 * posix/bug-regex34.c: New file.
34890
34891 [BZ #11561]
34892 * posix/regcomp.c (parse_bracket_exp): When looking up collating
34893 elements compare against the byte sequence of it, not its name.
34894 * posix/Makefile (tests): Add bug-regex35.
34895 (bug-regex35-ENV): Define.
34896 * posix/bug-regex35.c: New file.
34897
34898 2013-02-11 Tom de Vries <tom@codesourcery.com>
34899
34900 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
34901 comment.
34902 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
34903 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
34904 (CHECK_EOL): Add undef.
34905
34906 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
34907
34908 * bits/stdlib-bsearch.h: New file.
34909 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
34910 * stdlib/stdlib.h: Likewise.
34911
34912 2013-02-11 Roland McGrath <roland@hack.frob.com>
34913
34914 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
34915 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
34916 declaration.
34917 * manual/search.texi (Array Search Function): Add missing const in
34918 lfind prototype.
34919 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
34920 declaration to use rlim_t.
34921 (Basic Scheduling Functions): Remove erroneous const from
34922 sched_getparam prototype. Remove erroneous * from
34923 sched_get_priority_max and sched_get_priority_min prototypes.
34924 (Resource Usage): Fix summary @comment on vtimes to refer to
34925 sys/vtimes.h rather than vtimes.h.
34926 Add missing *s in vtimes prototype.
34927 (Limits on Resources): Fix ulimit prototype to return long int.
34928 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
34929 prototypes to use long int rather than double.
34930 (BSD Random): Fix initstate and setstate to use char *, not void *.
34931 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
34932 prototype to make second argument 'struct aiocb64 *const[]'.
34933 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
34934 (Status of AIO Operations): Remove erroneous const in aio_return and
34935 aio_return64 prototypes.
34936 (Synchronizing I/O): Fix sync prototype to return void.
34937 * manual/startup.texi (Suboptions): Remove an erroneous const in
34938 getsubopt prototype.
34939 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
34940 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
34941 use size_t rather than int.
34942 (Scanning All Users): Likewise for getpwent_r.
34943 (Setting Groups): Add missing const to setgroups prototype.
34944 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
34945 * manual/socket.texi (Host Names): Fix gethostbyaddr and
34946 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
34947 'const void *' rather than 'const char *'.
34948 (Host Address Functions): Likewise for inet_ntop.
34949 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
34950 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
34951 ssize_t for return value.
34952 (Sending Data): Likewise for send, sendto, sendmsg.
34953 (Socket Option Functions): Add a missing const in setsockopt prototype.
34954 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
34955 use wchar_t for the argument.
34956 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
34957 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
34958 take no arguments.
34959 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
34960 double/float/long double for second argument.
34961 Fix return types of significand, significandf, significandl.
34962 * manual/filesys.texi (Setting Permissions): Use mode_t for second
34963 argument in fchmod prototype.
34964 (File Owner): Use uid_t and gid_t in fchown prototype.
34965 (File Times): Add const to utimes, futimes, and lutimes prototypes.
34966 (Making Special Files): Use mode_t and dev_t in mknod prototype.
34967 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
34968 use 'const struct dirent **' as argument types to CMP function pointer
34969 argument.
34970 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
34971 (File Times): Fix summary magic @comment for struct utimbuf and utime
34972 to refer to utime.h, not time.h.
34973 * manual/string.texi (Argz Functions): Add missing const in
34974 argz_extract and argz_next prototypes.
34975 (Finding Tokens in a String): Likewise for basename.
34976 (String/Array Comparison): Fix typo in wcscasecmp prototype.
34977 (Copying and Concatenation): Fix typo in wmemmove prototype.
34978 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
34979 (Signal Stack): Remove erroneous const in sigstack prototype.
34980 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
34981 prototype.
34982 (Simple Calendar Time): Likewise for stime.
34983 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
34984 prototype.
34985 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
34986 say sys/sysctl.h instead.
34987 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
34988 and vsyslog prototypes.
34989
34990 2013-02-11 Tom de Vries <tom@codesourcery.com>
34991
34992 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
34993 Remove.
34994
34995 2013-02-11 Roland McGrath <roland@hack.frob.com>
34996
34997 * misc/sys/mman.h: Fix typo in mremap comment.
34998
34999 2013-02-08 Roland McGrath <roland@hack.frob.com>
35000
35001 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
35002 the '\0' terminator.
35003
35004 2013-02-08 Joseph Myers <joseph@codesourcery.com>
35005
35006 [BZ #13550]
35007 * debug/segfault.c: Don't include <bp-checks.h>.
35008 * sysdeps/generic/bp-checks.h: Remove file.
35009 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
35010 (__GETDENTS): Don't use CHECK_N.
35011 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
35012 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35013 (__getgroups): Don't use CHECK_N.
35014 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
35015 (setgroups): Don't use CHECK_N.
35016 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
35017 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
35018 (__libc_msgrcv): Don't use CHECK_N.
35019 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
35020 (__libc_msgsnd): Don't use CHECK_N.
35021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
35022 <bp-checks.h>.
35023 (__libc_pread): Don't use CHECK_N.
35024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
35025 include <bp-checks.h>.
35026 (__libc_pread64): Don't use CHECK_N.
35027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
35028 include <bp-checks.h>.
35029 (__libc_pwrite): Don't use CHECK_N.
35030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
35031 include <bp-checks.h>.
35032 (__libc_pwrite64): Don't use CHECK_N.
35033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
35034 <bp-checks.h>.
35035 (__libc_pread): Don't use CHECK_N.
35036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
35037 include <bp-checks.h>.
35038 (__libc_pread64): Don't use CHECK_N.
35039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
35040 include <bp-checks.h>.
35041 (__libc_pwrite): Don't use CHECK_N.
35042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
35043 include <bp-checks.h>.
35044 (__libc_pwrite64): Don't use CHECK_N.
35045 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
35046 (do_pread): Don't use CHECK_N.
35047 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
35048 (do_pread64): Don't use CHECK_N.
35049 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
35050 (do_pwrite): Don't use CHECK_N.
35051 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
35052 (do_pwrite64): Don't use CHECK_N.
35053 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
35054 (__libc_readv): Don't use CHECK_N.
35055 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
35056 (semop): Don't use CHECK_N.
35057 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
35058 <bp-checks.h>.
35059 (semtimedop): Don't use CHECK_N.
35060 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
35061 (__libc_pread): Don't use CHECK_N.
35062 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
35063 <bp-checks.h>.
35064 (__libc_pread64): Don't use CHECK_N.
35065 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
35066 <bp-checks.h>.
35067 (__libc_pwrite): Don't use CHECK_N.
35068 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
35069 <bp-checks.h>.
35070 (__libc_pwrite64): Don't use CHECK_N.
35071 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
35072 <bp-checks.h>.
35073 (__libc_msgrcv): Don't use CHECK_N.
35074 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
35075 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
35076 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
35077 (__libc_writev): Don't use CHECK_N.
35078
35079 2013-02-08 Roland McGrath <roland@hack.frob.com>
35080
35081 * string/strcpy.c: Removed unused variable.
35082
35083 * Makeconfig (+sysdep-includes): Define with := rather than =.
35084 Use an existing include/ subdir of each sysdeps dir before it.
35085
35086 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35087
35088 * nscd/connection.c (register_traced_file): Comment function.
35089 [HAVE_INOTIFY] (union __inev): Define.
35090 [HAVE_INOTIFY] (inotify_check_files): New function.
35091 [HAVE_INOTIFY] (clear_db_cache): Likewise.
35092 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
35093 clear_db_cache.
35094 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
35095
35096 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35097
35098 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
35099 loaded if not already and that a failure is permanent.
35100
35101 2013-02-08 Carlos O'Donell <carlos@redhat.com>
35102
35103 [BZ #15006]
35104 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
35105 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
35106
35107 2013-02-08 Joseph Myers <joseph@codesourcery.com>
35108
35109 [BZ #13550]
35110 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
35111 (CHECK_1_NULL_OK): Likewise.
35112 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
35113 (__fxstat): Do not use CHECK_1.
35114 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
35115 <bp-checks.h>.
35116 (___fxstat64): Do not use CHECK_1.
35117 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35118 <bp-checks.h>.
35119 (__fxstatat): Do not use CHECK_1.
35120 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35121 <bp-checks.h>.
35122 (__fxstatat64): Do not use CHECK_1.
35123 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
35124 <bp-checks.h>.
35125 (__fxstat): Do not use CHECK_1.
35126 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35127 <bp-checks.h>.
35128 (__fxstatat): Do not use CHECK_1.
35129 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35130 <bp-checks.h>.
35131 (__getresgid): Do not use CHECK_1.
35132 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35133 <bp-checks.h>.
35134 (__getresuid): Do not use CHECK_1.
35135 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
35136 <bp-checks.h>.
35137 (__lxstat): Do not use CHECK_1.
35138 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35139 <bp-checks.h>.
35140 (__old_msgctl): Do not use CHECK_1.
35141 (__new_msgctl): Likewise.
35142 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
35143 <bp-checks.h>.
35144 (__new_setrlimit): Do not use CHECK_1.
35145 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35146 <bp-checks.h>.
35147 (__old_shmctl): Do not use CHECK_1.
35148 (__new_shmctl): Likewise.
35149 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
35150 <bp-checks.h>.
35151 (__xstat): Do not use CHECK_1.
35152 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
35153 (__lxstat): Do not use CHECK_1.
35154 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
35155 <bp-checks.h>.
35156 (___lxstat64): Do not use CHECK_1.
35157 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
35158 (__old_msgctl): Do not use CHECK_1.
35159 (__new_msgctl): Likewise.
35160 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
35161 <bp-checks.h>.
35162 (__gettimeofday): Do not use CHECK_1.
35163 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
35164 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
35165 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
35166 <bp-checks.h>.
35167 (__gettimeofday): Do not use CHECK_1.
35168 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
35169 (__old_shmctl): Do not use CHECK_1_NULL_OK.
35170 (__new_shmctl): Do not use CHECK_1.
35171 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
35172 <bp-checks.h>.
35173 (do_sigtimedwait): Do not use CHECK_1.
35174 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
35175 <bp-checks.h>.
35176 (do_sigwaitinfo): Do not use CHECK_1.
35177 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
35178 <bp-checks.h>.
35179 (msgctl): Do not use CHECK_1.
35180 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
35181 <bp-checks.h>.
35182 (shmctl): Do not use CHECK_1.
35183 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
35184 (ustat): Do not use CHECK_1.
35185 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
35186 <bp-checks.h>.
35187 (__fxstat): Do not use CHECK_1.
35188 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35189 <bp-checks.h>.
35190 (__fxstatat): Do not use CHECK_1.
35191 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
35192 <bp-checks.h>.
35193 (__lxstat): Do not use CHECK_1.
35194 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
35195 <bp-checks.h>.
35196 (__xstat): Do not use CHECK_1.
35197 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
35198 (__xstat): Do not use CHECK_1.
35199 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
35200 (___xstat64): Do not use CHECK_1.
35201
35202 [BZ #13550]
35203 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
35204 definitions.
35205 (CHECK_BOUNDS_HIGH): Likewise.
35206 * string/strcpy.c: Do not include <bp-checks.h>.
35207 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
35208
35209 2013-02-07 Roland McGrath <roland@hack.frob.com>
35210
35211 * nscd/nscd-client.h (__nscd_drop_map_ref):
35212 Add __attribute__ ((unused)).
35213 * nis/nss-nisplus.h (niserr2nss): Likewise.
35214
35215 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
35216 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
35217
35218 * csu/libc-tls.c (init_static_tls, init_slotinfo):
35219 Remove inline keyword.
35220 * include/rounding-mode.h (round_away): Likewise.
35221 * libio/wfileops.c (adjust_wide_data): Likewise.
35222 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
35223 (__m128i_strloadu_tolower): Likewise.
35224 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
35225 (__m128i_strloadu_tolower): Likewise.
35226 * time/mktime.c (ydhms_diff): Likewise.
35227 * locale/elem-hash.h (elem_hash): Likewise.
35228 * locale/setlocale.c (setdata): Likewise.
35229 * posix/regex_internal.h (re_string_char_size_at): Likewise.
35230 (re_string_wchar_at): Likewise.
35231 (bitset_not, bitset_merge, bitset_mask): Likewise.
35232 [!(__GNUC__ > 3)] (inline): Remove macro.
35233 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
35234 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
35235 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35236 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
35237 * string/memcmp.c (memcmp_bytes): Likewise.
35238 * locale/programs/locarchive.c (compute_hashval): Likewise.
35239 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
35240 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
35241 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
35242 * nss/getent.c (print_rpc, print_protocols): Likewise.
35243 (print_passwd, print_group, print_aliases): Likewise.
35244 * nis/nss-nisplus.h (niserr2nss): Likewise.
35245 * nscd/connections.c (restart_p): Likewise.
35246 Change return type to bool.
35247
35248 2013-02-05 Roland McGrath <roland@hack.frob.com>
35249
35250 * Makeconfig (all-Depend-files): Add existing
35251 $(sorted-subdirs:=/Depend) files.
35252 (all-subdirs): Remove nss.
35253 * sysdeps/unix/inet/Subdirs: Add it here instead.
35254 * hesiod/Depend: New file.
35255
35256 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
35257 instead of calling alloca.
35258
35259 * io/lseek.c (__lseek): Rename to __libc_lseek.
35260 Define __lseek as an alias.
35261
35262 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
35263
35264 2013-02-04 Carlos O'Donell <carlos@redhat.com>
35265
35266 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
35267 else clause and remove check for non-standard endianness.
35268
35269 2013-02-04 David S. Miller <davem@davemloft.net>
35270
35271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35272
35273 2013-02-04 Joseph Myers <joseph@codesourcery.com>
35274
35275 [BZ #13550]
35276 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
35277 (__ubp_memchr): Remove prototype.
35278 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
35279 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35280 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
35281 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
35282 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
35283 Remove alias.
35284 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
35285 (__ubp_memchr): Likewise.
35286 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
35287 (__ubp_memchr): Likewise.
35288 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
35289 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
35290 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
35291 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
35292 CHECK_STRING.
35293 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
35294 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
35295 (__getcwd): Do not use CHECK_STRING.
35296 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
35297 <bp-checks.h>.
35298 (__real_chown): Do not use CHECK_STRING.
35299 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
35300 <bp-checks.h>.
35301 (fchownat): Do not use CHECK_STRING.
35302 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
35303 CHECK_STRING.
35304 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
35305 <bp-checks.h>.
35306 (__lchown): Do not use CHECK_STRING.
35307 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35308 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35309 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35310 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
35311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
35312 include <bp-checks.h>.
35313 (truncate64): Do not use CHECK_STRING.
35314 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
35315 <bp-checks.h>.
35316 (__real_chown): Do not use CHECK_STRING.
35317 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
35318 <bp-checks.h>.
35319 (__lchown): Do not use CHECK_STRING.
35320 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
35321 <bp-checks.h>.
35322 (__chown): Do not use CHECK_STRING.
35323 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
35324 <bp-checks.h>.
35325 (truncate64): Do not use CHECK_STRING.
35326 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
35327 Likewise.
35328 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
35329 (__xmknod): Do not use CHECK_STRING.
35330 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35331 <bp-checks.h>.
35332 (__xmknodat): Do not use CHECK_STRING.
35333 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35334 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
35335
35336 2013-02-04 Andreas Schwab <schwab@suse.de>
35337
35338 [BZ #14142]
35339 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
35340 * include/netdb.h: Likewise for h_errno.
35341 * elf/tst-stackguard1.c: Include <tls.h>.
35342
35343 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
35344
35345 * elf/link.h (struct link_map): Extend the l_addr comment.
35346 * include/link.h (struct link_map): Likewise.
35347
35348 2013-02-01 Joseph Myers <joseph@codesourcery.com>
35349
35350 [BZ #13550]
35351 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
35352 (BOUNDED_1): Remove macro.
35353 * debug/backtrace.c: Don't include <bp-checks.h>.
35354 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
35355 (__backtrace): Likewise.
35356 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
35357 <bp-checks.h>.
35358 (__backtrace): Don't use BOUNDED_1.
35359 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
35360 <bp-checks.h>.
35361 (__backtrace): Don't use BOUNDED_1.
35362 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
35363 (__backtrace): Don't use BOUNDED_1.
35364 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
35365 (shmat): Don't use BOUNDED_N.
35366
35367 2013-01-31 Joseph Myers <joseph@codesourcery.com>
35368
35369 [BZ #13550]
35370 * sysdeps/generic/bp-start.h: Remove file.
35371 * csu/libc-start.c: Don't include <bp-start.h>.
35372 (LIBC_START_MAIN): Set up __environ directly instead of using
35373 INIT_ARGV_and_ENVIRON.
35374 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
35375 <bp-start.h>.
35376
35377 [BZ #13550]
35378 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
35379 definitions.
35380 (CHECK_FCNTL): Likewise.
35381 (CHECK_N_PAGES): Likewise.
35382
35383 [BZ #13550]
35384 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
35385 definitions.
35386 (CHECK_SIGSET_NULL_OK): Likewise.
35387 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
35388 <bp-checks.h>.
35389 (sigpending): Don't use CHECK_SIGSET.
35390 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
35391 <bp-checks.h>.
35392 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35393 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
35394 <bp-checks.h>.
35395 (do_sigsuspend): Don't use CHECK_SIGSET.
35396 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
35397 use CHECK_SIGSET.
35398 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
35399 (do_sigwait): Don't use CHECK_SIGSET.
35400 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
35401 use CHECK_SIGSET.
35402 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
35403 include <bp-checks.h>.
35404 (sigpending): Don't use CHECK_SIGSET.
35405 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
35406 include <bp-checks.h>.
35407 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35408 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
35409 <bp-checks.h>.
35410 (sigpending): Don't use CHECK_SIGSET.
35411 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
35412 <bp-checks.h>.
35413 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
35414
35415 [BZ #13550]
35416 * sysdeps/generic/bp-semctl.h: Remove file.
35417 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
35418 <bp-checks.h> and <bp-semctl.h>.
35419 (__old_semctl): Don't use CHECK_SEMCTL.
35420 (__new_semctl): Likewise.
35421 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
35422 and <bp-semctl.h>.
35423 (__old_semctl): Don't use CHECK_SEMCTL.
35424 (__new_semctl): Likewise.
35425 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
35426 <bp-checks.h> and <bp-semctl.h>.
35427 (__old_semctl): Don't use CHECK_SEMCTL.
35428 (__new_semctl): Likewise.
35429 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
35430 <bp-checks.h> and <bp-semctl.h>.
35431 (semctl): Don't use CHECK_SEMCTL.
35432
35433 [BZ #13550]
35434 * Makerules (elide-bp-thunks): Remove variable.
35435 (elide-routines.oS): Don't use $(elide-bp-thunks).
35436 (elide-routines.os): Likewise.
35437 (elide-routines.o): Likewise.
35438 (elide-routines.op): Likewise.
35439 (elide-routines.og): Likewise.
35440 (objects): Don't use $(bp-thunks).
35441 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
35442 include.
35443 (common-generated): Do not add s-proto-bp.d.
35444 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
35445 (int): Likewise.
35446 (typ): Likewise.
35447 Do not generate makefile rules for bounded-pointer thunks.
35448 * sysdeps/generic/bp-thunks.h: Remove file.
35449 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
35450 * sysdeps/unix/s-proto-bp.S: Likewise.
35451
35452 [BZ #15062]
35453 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
35454 parts of result separately when argument is not close to line from
35455 -i to i and one part of argument is small.
35456 * math/k_casinhf.c (__kernel_casinhf): Likewise.
35457 * math/k_casinhl.c (__kernel_casinhl): Likewise.
35458 * math/libm-test.inc (cacos_test): Add more tests.
35459 (casin_test): Likewise.
35460 (casinh_test): Likewise.
35461 * sysdeps/i386/fpu/libm-test-ulps: Update.
35462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35463
35464 2013-01-31 David S. Miller <davem@davemloft.net>
35465
35466 * po/de.po: Update from translation team.
35467
35468 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
35469
35470 * time/tzfile.c: Include stdint.h for SIZE_MAX.
35471
35472 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
35473
35474 * configure.in (_AC_PROG_CC_C89): New definition.
35475 * configure: Regenerate.
35476
35477 * configure.in (AC_PROG_CPP): New definition.
35478 * configure: Regenerate.
35479
35480 2013-01-23 Joseph Myers <joseph@codesourcery.com>
35481
35482 * debug/tst-backtrace.h: New file.
35483 * debug/tst-backtrace2.c: Include tst-backtrace.h.
35484 (ret): Remove variable.
35485 (x): Likewise.
35486 (FAIL): Remove macro.
35487 (NO_INLINE): Likewise.
35488 (fn1): Use match function instead of strstr.
35489 * debug/tst-backtrace3.c: Include tst-backtrace.h.
35490 (ret): Remove variable.
35491 (x): Likewise.
35492 (FAIL): Remove macro.
35493 (NO_INLINE): Likewise.
35494 (fn): Use match function instead of strstr.
35495 * debug/tst-backtrace4.c: Include tst-backtrace.h.
35496 (ret): Remove variable.
35497 (x): Likewise.
35498 (FAIL): Remove macro.
35499 (NO_INLINE): Likewise.
35500 (handle_signal): Use match function instead of strstr.
35501 * debug/tst-backtrace5.c: Include tst-backtrace.h.
35502 (ret): Remove variable.
35503 (x): Likewise.
35504 (FAIL): Remove macro.
35505 (NO_INLINE): Likewise.
35506 (handle_signal): Use match function instead of strstr.
35507
35508 2013-01-23 Roland McGrath <roland@hack.frob.com>
35509
35510 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
35511
35512 2013-01-23 David S. Miller <davem@davemloft.net>
35513
35514 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
35515 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
35516 argument of CAS if possible.
35517 * sysdeps/sparc/sparc64/bits/atomic.h
35518 (__arch_compare_and_exchange_val_32_acq): Likewise.
35519 (__arch_compare_and_exchange_val_64_acq): Likewise.
35520
35521 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
35522
35523 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
35524 * sysdeps/posix/ulimit.c: ... this.
35525 Include <limits.h>.
35526 * sysdeps/unix/bsd/ulimit.c: Remove file.
35527
35528 2013-01-23 Adam Conrad <adconrad@0c3.net>
35529
35530 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
35531 (LDFLAGS-tst-array5): Likewise.
35532
35533 2013-01-23 Joseph Myers <joseph@codesourcery.com>
35534
35535 [BZ #15036]
35536 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
35537 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
35538 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
35539 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
35540
35541 2013-01-21 David S. Miller <davem@davemloft.net>
35542
35543 * sysdeps/sparc/backtrace.c: New file.
35544 * sysdeps/sparc/sparc32/backtrace.h: New file.
35545 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
35546 * sysdeps/sparc/sparc64/backtrace.h: New file.
35547 * sysdeps/sparc/sparc64/backtrace.c: Delete.
35548 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
35549 -funwind-tables.
35550
35551 2013-01-21 Andreas Schwab <schwab@suse.de>
35552
35553 [BZ #15020]
35554 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
35555 closed its stdout.
35556
35557 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
35558
35559 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
35560 "mpa2.h".
35561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35562
35563 2013-01-18 Joseph Myers <joseph@codesourcery.com>
35564 Mark Mitchell <mark@codesourcery.com>
35565 Tom de Vries <tom@codesourcery.com>
35566 Paul Pluzhnikov <ppluzhnikov@google.com>
35567
35568 * debug/tst-backtrace2.c: New file.
35569 * debug/tst-backtrace3.c: Likewise.
35570 * debug/tst-backtrace4.c: Likewise.
35571 * debug/tst-backtrace5.c: Likewise.
35572 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
35573 (CFLAGS-tst-backtrace3.c): Likewise.
35574 (CFLAGS-tst-backtrace4.c): Likewise.
35575 (CFLAGS-tst-backtrace5.c): Likewise.
35576 (LDFLAGS-tst-backtrace2): Likewise.
35577 (LDFLAGS-tst-backtrace3): Likewise.
35578 (LDFLAGS-tst-backtrace4): Likewise.
35579 (LDFLAGS-tst-backtrace5): Likewise.
35580 (tests): Add new tests tst-backtrace2, tst-backtrace3,
35581 tst-backtrace4 and tst-backtrace5.
35582
35583 2013-01-18 Anton Blanchard <anton@samba.org>
35584 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35585
35586 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
35587 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
35588 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
35589 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
35590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35591 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
35592 "+r" and remove output regs list as redundant. Add explicit inline
35593 asm to specify register of return val to work around compiler codegen
35594 bug. Remove (int) cast on return value. Add return type parameter to
35595 use in macro so that this macro does not truncate return value for
35596 64-bit values.
35597 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
35598 pass to INTERNAL_VSYSCALL_NCS.
35599 (INLINE_VSYSCALL): Add 'long int' as return type to
35600 INTERNAL_VSYSCALL_NCS macro invocation.
35601 (INTERNAL_VSYSCALL): Add 'long int' as return type to
35602 INTERNAL_VSYSCALL_NCS macro invocation.
35603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35604
35605 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
35606
35607 [BZ #14496]
35608 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
35609 Fix application of SIMD FP exception mask.
35610
35611 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
35612 mp_no from a power of two.
35613 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
35614 __mpexp_twomm1. Use __pow_mp.
35615
35616 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
35617 multiplication.
35618
35619 2013-01-17 David S. Miller <davem@davemloft.net>
35620
35621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35622
35623 2013-01-17 Joseph Myers <joseph@codesourcery.com>
35624
35625 [BZ #15023]
35626 * include/complex.h: Condition contents on [!_COMPLEX_H].
35627 (__kernel_casinhf): New prototype.
35628 (__kernel_casinh): Likewise.
35629 (__kernel_casinhl): Likewise.
35630 * math/Makefile (libm_calls): Add k_casinh.
35631 * math/k_casinh.c: New file.
35632 * math/k_casinhf.c: Likewise.
35633 * math/k_casinhl.c: Likewise.
35634 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
35635 finite nonzero arguments.
35636 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
35637 finite nonzero arguments.
35638 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
35639 finite nonzero arguments.
35640 * math/s_casinh.c: Do not include <float.h>.
35641 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
35642 * math/s_casinhf.c: Do not include <float.h>.
35643 (__casinhf): Move code for finite nonzero arguments to
35644 k_casinhf.c.
35645 * math/s_casinhl.c: Do not include <float.h>.
35646 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
35647 redefine.
35648 (__casinhl): Move code for finite nonzero arguments to
35649 k_casinhl.c.
35650 * math/libm-test.inc (cacos_test): Add more tests.
35651 * sysdeps/i386/fpu/libm-test-ulps: Update.
35652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35653
35654 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
35655
35656 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
35657 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
35658 [!HAVE_MREMAP]: Remove [defined linux] case.
35659 * malloc/arena.c: Do not include <malloc-sysdep.h>.
35660
35661 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35662
35663 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
35664
35665 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
35666
35667 * elf/elf.h (R_386_SIZE32): New relocation.
35668 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
35669 R_386_SIZE32.
35670 (elf_machine_rela): Likewise.
35671 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
35672 R_X86_64_SIZE64 and R_X86_64_SIZE32.
35673
35674 2013-01-17 Joseph Myers <joseph@codesourcery.com>
35675
35676 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
35677 (FP_FAST_FMA): Do not define.
35678 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
35679 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
35680 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
35681 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
35682 !_SOFT_FLOAT]: Likewise.
35683 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
35684 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
35685 value.
35686 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
35687 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
35688 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
35689 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
35690 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
35691 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
35692 file.
35693
35694 2013-01-16 Andreas Schwab <schwab@suse.de>
35695
35696 [BZ #14327]
35697 * include/stdlib.h (__mktemp): Add declaration.
35698 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
35699 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
35700
35701 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
35702
35703 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
35704 definitions.
35705 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35706 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
35707 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
35708 definitions here.
35709 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
35710 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
35711 definitions.
35712 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
35713 and ONE.
35714 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
35715 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
35716 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
35717 definitions.
35718 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
35719 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
35720 definitions.
35721 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35722
35723 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
35724
35725 2013-01-15 David S. Miller <davem@davemloft.net>
35726
35727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35728 trunc{,f} to libm-sysdep_routes.
35729 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
35731 file.
35732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
35733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
35734 file.
35735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
35736 file.
35737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
35738 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
35739 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
35740 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
35741 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
35742 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
35743 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
35744 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
35745
35746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35747 nearbyint{,f} to libm-sysdep_routes.
35748 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35749 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
35750 New file.
35751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
35752 file.
35753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
35754 New file.
35755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
35756 file.
35757 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
35758 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
35759 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
35760 file.
35761 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
35762 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
35763 file.
35764 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
35765 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
35766 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
35767
35768 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
35769 libc_feholdexcept and libc_fesetenv.
35770
35771 2013-01-15 Mike Frysinger <vapier@gentoo.org>
35772
35773 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
35774
35775 2013-01-14 David S. Miller <davem@davemloft.net>
35776
35777 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
35778 (SPARC_ASM_VIS2_IFUNC): Likewise.
35779 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
35780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
35781 use of 'siam' instruction.
35782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
35783 Likewise.
35784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
35785 Likewise.
35786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
35787 Likewise.
35788 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
35789 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
35790 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
35791 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
35792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
35793 file.
35794 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
35795 file.
35796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
35797 file.
35798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
35799 file.
35800 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
35801 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
35802 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
35803 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
35804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
35805 new VIS2 routines.
35806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
35807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
35808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
35809 Likewise.
35810 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
35811 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
35812 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
35813 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
35814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
35815 routines to libm-sysdep_routines.
35816 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
35817
35818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
35819 fdim/fdimf to libm-sysdep_routines.
35820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
35821 file.
35822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
35823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
35824 file.
35825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
35826 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
35827 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
35828 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
35829 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
35830 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
35831 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
35832
35833 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35834
35835 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
35836 to optimize copies.
35837
35838 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
35839 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35840 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35841
35842 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
35843 local variable MPTWO.
35844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35845 Likewise.
35846
35847 2013-01-13 Mike Frysinger <vapier@gentoo.org>
35848
35849 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
35850 GLOB_NOESCAPE.
35851
35852 2013-01-13 Mike Frysinger <vapier@gentoo.org>
35853
35854 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
35855
35856 2013-01-13 Mike Frysinger <vapier@gentoo.org>
35857
35858 * manual/pattern.texi (glob_t): Document gl_flags.
35859 (glob64_t): Likewise.
35860
35861 2013-01-11 David S. Miller <davem@davemloft.net>
35862
35863 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
35864 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
35865 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
35866 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
35867 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
35868 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
35869 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
35870 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
35871 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
35872 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
35873 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
35874 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
35875 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
35876
35877 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
35878 sparc V9 rather than using V8 code.
35879 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
35880 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
35881
35882 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
35883 Move to...
35884 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
35885 Here.
35886
35887 2013-01-11 Roland McGrath <roland@hack.frob.com>
35888
35889 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
35890 not in the main loop.
35891 * configure: Regenerated.
35892
35893 2013-01-11 Joseph Myers <joseph@codesourcery.com>
35894
35895 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
35896 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
35897 to just #else.
35898 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
35899 [!__GLIBC_HAVE_LONG_LONG] case.
35900 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
35901 condition to just #else.
35902 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
35903 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
35904 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
35905 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
35906 unconditional.
35907 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
35908 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35909 #elif condition to just #else.
35910 * sysdeps/unix/sysv/linux/sys/sysmacros.h
35911 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
35912 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
35913 #elif condition to just #else.
35914
35915 2013-01-11 Steve Ellcey <sellcey@mips.com>
35916
35917 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
35918 (EF_MIPS_ARCH_64): Fix value.
35919 (EF_MIPS_ARCH_32R2): New.
35920 (EF_MIPS_ARCH_64R2): New.
35921
35922 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
35923
35924 * Makeconfig (+link-pie-before-libc): New.
35925 (+link-pie-after-libc): Likewise.
35926 (+link-pie-tests): Likewise.
35927 (+link-pie): Rewritten.
35928 (link-before-libc): Remove $(config-LDFLAGS).
35929 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
35930 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
35931 (config-LDFLAGS): Renamed to ...
35932 (rtld-LDFLAGS): This.
35933 (rtld-tests-LDFLAGS): New macro.
35934 (link-libc-rpath-link): Likewise.
35935 (link-libc-tests-rpath-link): Likewise.
35936 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
35937 (link-libc): Prepand $(link-libc-rpath-link).
35938 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
35939 (test-program-prefix): New macro.
35940 (test-via-rtld-prefix): Likewise.
35941 (test-program-cmd): Likewise.
35942 (host-test-program-cmd): Likewise.
35943 * Makefile ($(common-objpfx)testrun.sh): Replace
35944 $(run-program-prefix) with $(test-program-prefix).
35945 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
35946 $(rtld-LDFLAGS).
35947 ($(common-objpfx)shlib.lds): Likewise.
35948 (build-module-helper): Likewise.
35949 ($(common-objpfx)format.lds): Likewise.
35950 * Rules (binaries-pie-tests): New.
35951 (binaries-pie-notests): Likewise.
35952 (binaries-pie): Rewritten.
35953 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
35954 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
35955 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
35956 (make-test-out): Replace $(host-built-program-cmd) with
35957 $(host-test-program-cmd).
35958 * config.make.in (build-hardcoded-path-in-tests): New variable.
35959 * configure.in (--enable-hardcoded-path-in-tests): New configure
35960 option.
35961 (hardcoded_path_in_tests): New AC_SUBST.
35962 * configure: Regenerated.
35963 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
35964 $(built-program-cmd) with $(test-program-cmd).
35965 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
35966 (test_program_cmd): This.
35967 * elf/Makefile ($(objpfx)order.out): Run test with
35968 $(test-program-prefix).
35969 ($(objpfx)order2.out): Likewise.
35970 ($(objpfx)tst-initorder.out): Likewise.
35971 ($(objpfx)tst-initorder2.out): Likewise.
35972 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
35973 $(test-program-cmd).
35974 ($(objpfx)tst-array1-static.out): Likewise.
35975 ($(objpfx)tst-array2.out): Likewise.
35976 ($(objpfx)tst-array3.out): Likewise.
35977 ($(objpfx)tst-array4.out): Likewise.
35978 ($(objpfx)tst-array5.out): Likewise.
35979 ($(objpfx)tst-array5-static.out): Likewise.
35980 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
35981 $(test-program-cmd).
35982 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
35983 $(run-program-prefix) with $(test-program-prefix).
35984 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
35985 (test_program_prefix): This.
35986 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
35987 $(run-program-prefix) with $(test-program-prefix).
35988 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
35989 (test_program_prefix): This.
35990 * iconvdata/tst-tables.sh: Likewise.
35991 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
35992 $(run-program-prefix) with $(test-program-prefix).
35993 ($(objpfx)tst-translit.out): Likewise.
35994 ($(objpfx)tst-gettext2.out): Likewise.
35995 ($(objpfx)tst-gettext4.out): Likewise.
35996 ($(objpfx)tst-gettext6.out): Likewise.
35997 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
35998 (test_program_prefix): This.
35999 * intl/tst-gettext2.sh: Likewise.
36000 * intl/tst-gettext4.sh Likewise.
36001 * intl/tst-gettext6.sh: Likewise.
36002 * intl/tst-translit.sh: Likewise.
36003 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
36004 with $(test-program-cmd).
36005 * libio/Makefile ($(objpfx)test-freopen.out): Replace
36006 $(run-program-prefix) with $(test-program-prefix).
36007 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
36008 (test_program_prefix): This.
36009 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
36010 $(run-program-prefix) with $(test-program-prefix).
36011 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
36012 (test_program_prefix): This.
36013 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
36014 * posix/Makefile ($(objpfx)globtest.out): Replace
36015 $(run-via-rtld-prefix) and $(test-wrapper) with
36016 $(test-program-prefix) and $(test-via-rtld-prefix).
36017 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
36018 $(test-program-prefix).
36019 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
36020 $(host-test-program-cmd).
36021 (tst-spawn-ARGS): Likewise.
36022 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
36023 $(test-program-prefix).
36024 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
36025 (test_via_rtld_prefix): This.
36026 (test_wrapper): Renamed to ...
36027 (test_program_prefix): This.
36028 (run_program_prefix): Replaced by test_program_prefix.
36029 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
36030 (test_program_prefix): This.
36031 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
36032 with $(host-test-program-cmd).
36033 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
36034 $(run-program-prefix) with $(test-program-prefix).
36035 ($(objpfx)tst-printf.out): Likewise.
36036 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
36037 $(test-program-cmd).
36038 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
36039 (test_program_prefix): This.
36040 * stdio-common/tst-unbputc.sh: Likewise.
36041 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
36042 $(run-program-prefix) with $(test-program-prefix).
36043 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
36044 (test_program_prefix): This.
36045 * string/Makefile ($(objpfx)tst-svc.out): Replace
36046 $(built-program-cmd) with $(test-program-cmd).
36047
36048 2013-01-11 Andreas Jaeger <aj@suse.de>
36049
36050 [BZ #15003]
36051 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
36052 value. Sync with Linux 3.7.
36053
36054 2013-01-10 David S. Miller <davem@davemloft.net>
36055
36056 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
36057 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36058 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36059
36060 2013-01-10 Roland McGrath <roland@hack.frob.com>
36061
36062 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
36063 never set.
36064 * configure: Regenerated.
36065
36066 2013-01-10 David S. Miller <davem@davemloft.net>
36067
36068 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36069 sparc V9 rather than using V8 code.
36070 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36071 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36072
36073 2013-01-10 Roland McGrath <roland@hack.frob.com>
36074
36075 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
36076 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
36077 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
36078 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
36079 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
36080 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
36081 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
36082 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
36083 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
36084 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
36085 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
36086 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
36087 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
36088 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
36089 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
36090 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
36091 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
36092 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
36093 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
36094 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
36095 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
36096 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
36097 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
36098 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
36099 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
36100 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
36101 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
36102
36103 2013-01-10 David S. Miller <davem@davemloft.net>
36104
36105 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36106
36107 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36108
36109 * posix/Makefile (tests-static): New variable.
36110 (tests): Add $(tests-static).
36111 (tst-exec-static-ARGS): New variable.
36112 (tst-spawn-static-ARGS): Likewise.
36113 * posix/tst-exec-static.c: New file.
36114 * posix/tst-spawn-static.c: Likewise.
36115 * posix/tst-exec.c: Support run directly.
36116 * posix/tst-spawn.c: Likewise.
36117
36118 2013-01-10 Joseph Myers <joseph@codesourcery.com>
36119
36120 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
36121 long.
36122 * math/bits/mathcalls.h (llrint): Likewise.
36123 (llround): Likewise.
36124 * stdlib/stdlib.h (struct drand48_data): Likewise.
36125 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
36126 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
36127 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
36128 Likewise.
36129 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
36130 Likewise.
36131 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
36132 (elf_greg_t): Likewise.
36133 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
36134 (__jmp_buf): Likewise.
36135 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
36136 definitions.
36137 (llrint): Likewise, for all definitions.
36138 (llrintl): Likewise.
36139
36140 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
36141 Remove [__GNUC__] condition.
36142 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
36143 condition to just [__USE_ISOC99].
36144 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
36145
36146 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
36147
36148 [BZ #14200]
36149 * sysdeps/unix/sysv/linux/x86/bits/environments.h
36150 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
36151 defined.
36152 (_POSIX_V6_ILP32_OFF32): Likewise.
36153 (_XBS5_ILP32_OFF32): Likewise.
36154 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
36155 (__ILP32_OFFBIG_LDFLAGS): Likewise.
36156
36157 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36158
36159 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
36160
36161 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
36162 doubles __mpexp_twomm1. Adjust usage.
36163 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
36164 Remove.
36165
36166 2013-01-10 Andreas Schwab <schwab@suse.de>
36167
36168 [BZ #14964]
36169 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
36170 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
36171
36172 2013-01-09 David S. Miller <davem@davemloft.net>
36173
36174 [BZ #15003]
36175 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
36176 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
36177 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
36178 (TCP_FASTOPEN): Define.
36179 (tcp_repair_opt): New structure.
36180 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
36181 enum values.
36182 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
36183 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
36184 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
36185 (tcp_cookie_transactions): New structure.
36186
36187 2013-01-09 Anton Blanchard <anton@samba.org>
36188
36189 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
36190 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
36191 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
36192 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
36193
36194 2013-01-09 Joseph Myers <joseph@codesourcery.com>
36195
36196 * include/features.h (__USE_ANSI): Remove.
36197
36198 2013-01-09 Roland McGrath <roland@hack.frob.com>
36199
36200 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
36201
36202 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
36203
36204 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
36205
36206 * sysdeps/s390/fpu/libm-test-ulps: Update.
36207
36208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36209
36210 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
36211 (__acr): Likewise.
36212 (__cpy): Likewise.
36213 (norm): Likewise.
36214 (denorm): Likewise.
36215 (__mp_dbl): Likewise.
36216 (__dbl_mp): Likewise.
36217 (add_magnitudes): Likewise.
36218 (sub_magnitudes): Likewise.
36219 (__add): Likewise.
36220 (__sub): Likewise.
36221 (__mul): Likewise.
36222 (__inv): Likewise.
36223 (__dvd): Likewise.
36224 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
36225 (__acr): Likewise.
36226 (__cpy): Likewise.
36227 (norm): Likewise.
36228 (denorm): Likewise.
36229 (__mp_dbl): Likewise.
36230 (__dbl_mp): Likewise.
36231 (add_magnitudes): Likewise.
36232 (sub_magnitudes): Likewise.
36233 (__add): Likewise.
36234 (__sub): Likewise.
36235 (__mul): Likewise.
36236 (__inv): Likewise.
36237 (__dvd): Likewise.
36238 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
36239 (__acr): Likewise.
36240 (__cpy): Likewise.
36241 (norm): Likewise.
36242 (denorm): Likewise.
36243 (__mp_dbl): Likewise.
36244 (__dbl_mp): Likewise.
36245 (add_magnitudes): Likewise.
36246 (sub_magnitudes): Likewise.
36247 (__add): Likewise.
36248 (__sub): Likewise.
36249 (__mul): Likewise.
36250 (__inv): Likewise.
36251 (__dvd): Likewise.
36252
36253 2013-01-08 Joseph Myers <joseph@codesourcery.com>
36254
36255 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
36256 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
36257 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
36258 2 && __USE_EXTERN_INLINES]: Likewise.
36259
36260 2013-01-08 Andreas Jaeger <aj@suse.de>
36261
36262 [BZ# 14985]
36263 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
36264 Remove.
36265 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36266 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
36267
36268 2013-01-07 Anton Blanchard <anton@samba.org>
36269
36270 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
36271 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
36272 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
36273 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
36274 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
36275 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36276 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
36277 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36279 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36280 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36281 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36282 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36283 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36284 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
36285 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36286 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36287 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36288 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
36289 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
36290 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
36291 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
36292 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
36293 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
36294 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
36295 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
36296 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36297 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
36298 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
36299 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36300 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
36301 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36302 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36303 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36304 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36305 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
36306 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36307 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36308 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
36309 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
36310 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
36311 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36312 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36313
36314 2013-01-07 Joseph Myers <joseph@codesourcery.com>
36315
36316 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
36317 (__MALLOC_PMT): Likewise.
36318 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
36319 [__GNUC__], only on [_LIBC].
36320 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36321 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
36322 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
36323 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
36324 forward declaration.
36325 (realloc_hook_ini): Likewise.
36326 (memalign_hook_ini): Likewise.
36327 (__libc_memalign): Do not use __MALLOC_PMT in variable
36328 declaration.
36329 (__libc_valloc): Likewise.
36330 (__libc_pvalloc): Likewise.
36331 (__libc_calloc): Likewise.
36332 (__posix_memalign): Likewise.
36333
36334 [BZ #14996]
36335 * math/s_casinh.c: Include <float.h>.
36336 (__casinh): Do not do computation with squaring and square root
36337 for large arguments.
36338 * math/s_casinhf.c: Include <float.h>.
36339 (__casinhf): Do not do computation with squaring and square root
36340 for large arguments.
36341 * math/s_casinhl.c: Include <float.h>.
36342 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
36343 (__casinhl): Do not do computation with squaring and square root
36344 for large arguments.
36345 * math/libm-test.inc (casin_test): Add more tests.
36346 (casinh_test): Likewise.
36347 * sysdeps/i386/fpu/libm-test-ulps: Update.
36348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36349
36350 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
36351
36352 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
36353 (__x86_64_raw_data_cache_size): Likewise.
36354 (__x86_64_data_cache_size_half): Likewise.
36355 (__x86_64_raw_data_cache_size_half): Likewise.
36356 (__x86_64_shared_cache_size): Likewise.
36357 (__x86_64_raw_shared_cache_size): Likewise.
36358 (__x86_64_shared_cache_size_half): Likewise.
36359 (__x86_64_raw_shared_cache_size_half): Likewise.
36360 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
36361 to ...
36362 (__x86_data_cache_size): This.
36363 (__x86_64_raw_data_cache_size): Renamed to ...
36364 (__x86_raw_data_cache_size): This.
36365 (__x86_64_data_cache_size_half): Renamed to ...
36366 (__x86_data_cache_size_half): This.
36367 (__x86_64_raw_data_cache_size_half): Renamed to ...
36368 (__x86_raw_data_cache_size_half): This.
36369 (__x86_64_shared_cache_size): Renamed to ...
36370 (__x86_shared_cache_size): This.
36371 (__x86_64_raw_shared_cache_size): Renamed to ...
36372 (__x86_raw_shared_cache_size): This.
36373 (__x86_64_shared_cache_size_half): Renamed to ...
36374 (__x86_shared_cache_size_half): This.
36375 (__x86_64_raw_shared_cache_size_half): Renamed to ...
36376 (__x86_raw_shared_cache_size_half): This.
36377 * sysdeps/x86_64/memcpy.S: Updated.
36378 * sysdeps/x86_64/memset.S: Likewise.
36379 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
36380 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
36381 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
36382
36383 2013-01-04 David S. Miller <davem@davemloft.net>
36384
36385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36386
36387 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
36388
36389 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
36390 1 to avoid redefinition warning.
36391 (__USE_GNU): Don't define.
36392 (init_signaling_nan): Protoize.
36393
36394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36395
36396 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36397
36398 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
36399 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
36400 (__cpymn): Likewise.
36401 (norm): Remove commented code.
36402 (denorm): Likewise.
36403 (__mp_dbl): Likewise.
36404 (__inv): Likewise.
36405 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
36406 (__cpymn): Likewise.
36407 (norm): Remove commented code.
36408 (denorm): Likewise.
36409 (__mp_dbl): Likewise.
36410 (__inv): Likewise.
36411
36412 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
36413 mp_no value for 1.0 and 2.0.
36414 (norm): Use RADIXI instead of radixi.d.
36415 (denorm): Likewise.
36416 (__mul): Use 0.0 instead of zero.d.
36417 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
36418 mp_no value for 1.0 and 2.0.
36419 (norm): Use RADIXI instead of radixi.d.
36420 (denorm): Likewise.
36421 (__mul): Use 0.0 instead of zero.d.
36422
36423 2013-01-04 Joseph Myers <joseph@codesourcery.com>
36424
36425 [BZ #14994]
36426 * math/s_casinh.c (__casinh): Reduce finite argument to first
36427 quadrant then set signs of results at the end.
36428 * math/s_casinhf.c (__casinhf): Likewise.
36429 * math/s_casinhl.c (__casinhl): Likewise.
36430 * math/libm-test.inc (casin_test): Add more tests.
36431 (casinh_test): Likewise.
36432 * sysdeps/i386/fpu/libm-test-ulps: Update.
36433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36434
36435 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
36436
36437 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
36438
36439 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
36440
36441 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
36442 declarations.
36443 (denorm): Likewise.
36444 (__mp_dbl): Likewise.
36445 (__inv): Likewise.
36446
36447 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
36448 and adjust the header comment.
36449
36450 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
36451 variable name from declaration.
36452
36453 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
36454
36455 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36456 Initialize COMMON_CPUID_INDEX_7 element.
36457 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
36458 (CPUID_RTM): Likewise.
36459 (HAS_RTM): Likewise.
36460 (COMMON_CPUID_INDEX_7): New enum.
36461
36462 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
36463
36464 [BZ #14981]
36465 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
36466 size is zero, record memory as freed.
36467
36468 2013-01-03 Andreas Jaeger <aj@suse.de>
36469
36470 * po/ia.po: Add new Interlingua translation.
36471
36472 2012-01-03 Allan McRae <allan@archlinux.org>
36473
36474 * locale/programs/localedef.c: Fix description of '--posix' flag.
36475
36476 2013-01-02 Joseph Myers <joseph@codesourcery.com>
36477
36478 * NEWS: Update dates in second copyright notice.
36479 * README: Update copyright dates in example.
36480 * manual/libc.texinfo: Update copyright dates.
36481 * scripts/test-installation.pl: Update copyright date in --version
36482 output.
36483
36484 * hurd/ctty-input.c: Fix copyright notice formatting.
36485 * hurd/ctty-output.c: Likewise.
36486 * hurd/dtable.c: Likewise.
36487 * hurd/hurd-raise.c: Likewise.
36488 * hurd/hurdprio.c: Likewise.
36489 * hurd/msgportdemux.c: Likewise.
36490 * misc/sys/file.h: Likewise.
36491 * misc/sys/ioctl.h: Likewise.
36492 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
36493 * sysdeps/mach/hurd/chdir.c: Likewise.
36494 * sysdeps/mach/hurd/fchdir.c: Likewise.
36495 * sysdeps/mach/hurd/rename.c: Likewise.
36496 * sysdeps/mach/hurd/rmdir.c: Likewise.
36497 * sysdeps/mach/hurd/seekdir.c: Likewise.
36498 * sysdeps/mach/hurd/setsid.c: Likewise.
36499 * sysdeps/posix/wait3.c: Likewise.
36500
36501 * All files with FSF copyright notices: Update copyright dates
36502 using scripts/update-copyrights.
36503 * intl/plural.c: Regenerated.
36504 * locale/programs/charmap-kw.h: Likewise.
36505 * locale/programs/locfile-kw.h: Likewise.
36506
36507 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
36508
36509 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
36510 four values.
36511
36512 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
36513 calculation loop and add branch prediction.
36514
36515 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
36516 check access beyond bounds of m1np.
36517
36518 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36519 MPTWO.
36520 (__inv): Remove local variable MPTWO to use the global
36521 constant.
36522 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
36523 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36524 variable MPTWO.
36525 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
36526 MP3HALFS static const.
36527
36528 2013-01-01 David S. Miller <davem@davemloft.net>
36529
36530 * po/ca.po: Update from translation team.
36531
36532 2013-01-01 Joseph Myers <joseph@codesourcery.com>
36533
36534 * scripts/update-copyrights: New file.
36535 * Makeconfig: Reformat copyright notice.
36536 * ctype/ctype.h: Likewise.
36537 * debug/swprintf_chk.c: Likewise.
36538 * elf/dl-cache.c: Likewise.
36539 * elf/dl-debug.c: Likewise.
36540 * elf/dl-object.c: Likewise.
36541 * grp/initgroups.c: Likewise.
36542 * hurd/Makefile: Likewise.
36543 * hurd/hurd/signal.h: Likewise.
36544 * hurd/hurdfault.c: Likewise.
36545 * hurd/hurdioctl.c: Likewise.
36546 * hurd/hurdlookup.c: Likewise.
36547 * hurd/intr-msg.c: Likewise.
36548 * iconv/gconv_open.c: Likewise.
36549 * libio/swprintf.c: Likewise.
36550 * locale/lc-ctype.c: Likewise.
36551 * locale/nl_langinfo.c: Likewise.
36552 * mach/Machrules: Likewise.
36553 * mach/Makefile: Likewise.
36554 * malloc/obstack.h: Likewise.
36555 * manual/Makefile: Likewise.
36556 * manual/tsort.awk: Likewise.
36557 * misc/bits/stab.def: Likewise.
36558 * nis/nis_print_group_entry.c: Likewise.
36559 * nis/nis_table.c: Likewise.
36560 * nis/nss_compat/compat-pwd.c: Likewise.
36561 * nis/nss_compat/compat-spwd.c: Likewise.
36562 * po/Makefile: Likewise.
36563 * posix/fnmatch.c: Likewise.
36564 * posix/regex.h: Likewise.
36565 * resolv/Makefile: Likewise.
36566 * resolv/nss_dns/dns-network.c: Likewise.
36567 * resolv/res_hconf.c: Likewise.
36568 * scripts/gen-sorted.awk: Likewise.
36569 * soft-fp/soft-fp.h: Likewise.
36570 * stdio-common/printf.h: Likewise.
36571 * stdlib/monetary.h: Likewise.
36572 * stdlib/random.c: Likewise.
36573 * stdlib/random_r.c: Likewise.
36574 * sysdeps/generic/Makefile: Likewise.
36575 * sysdeps/gnu/Makefile: Likewise.
36576 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36577 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36578 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36579 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36580 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36581 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36582 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36583 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36584 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36585 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36586 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36587 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36588 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36589 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36590 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
36591 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36592 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36593 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36594 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36595 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36596 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36597 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36598 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36599 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
36600 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
36601 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
36602 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
36603 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
36604 * sysdeps/mach/hurd/errnos.awk: Likewise.
36605 * sysdeps/mach/hurd/fork.c: Likewise.
36606 * sysdeps/mach/hurd/getcwd.c: Likewise.
36607 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
36608 * sysdeps/mach/hurd/mmap.c: Likewise.
36609 * sysdeps/mach/hurd/utimes.c: Likewise.
36610 * sysdeps/mach/hurd/xmknod.c: Likewise.
36611 * sysdeps/posix/profil.c: Likewise.
36612 * sysdeps/posix/readdir_r.c: Likewise.
36613 * sysdeps/powerpc/bits/mathdef.h: Likewise.
36614 * sysdeps/powerpc/bits/setjmp.h: Likewise.
36615 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
36616 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
36617 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36618 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
36619 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
36620 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36621 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36622 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
36623 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
36624 * sysdeps/pthread/lio_listio.c: Likewise.
36625 * sysdeps/sparc/dl-procinfo.h: Likewise.
36626 * sysdeps/unix/i386/sysdep.S: Likewise.
36627 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
36628 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
36629 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
36630 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
36631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36632 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
36633 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
36634 * sysdeps/unix/sysv/linux/speed.c: Likewise.
36635 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
36636 * sysdeps/wordsize-32/divdi3.c: Likewise.
36637 * time/sys/time.h: Likewise.
36638 * wcsmbs/Makefile: Likewise.
36639
36640 2013-01-01 David S. Miller <davem@davemloft.net>
36641
36642 * po/fr.po: Update from translation team.
36643
36644 * catgets/gencat.c: Update copyright year.
36645 * csu/version.c: Likewise.
36646 * debug/catchsegv.sh: Likewise.
36647 * debug/pcprofiledump.c: Likewise.
36648 * debug/xtrace.sh: Likewise.
36649 * elf/ldconfig.c: Likewise.
36650 * elf/ldd.bash.in: Likewise.
36651 * elf/pldd.c: Likewise.
36652 * elf/sotruss.ksh: Likewise.
36653 * elf/sprof.c: Likewise.
36654 * iconv/iconv_prog.c: Likewise.
36655 * iconv/iconvconfig.c: Likewise.
36656 * locale/programs/locale.c: Likewise.
36657 * locale/programs/localedef.c: Likewise.
36658 * login/programs/pt_chown.c: Likewise.
36659 * malloc/memusage.sh: Likewise.
36660 * malloc/memusagestat.c: Likewise.
36661 * malloc/mtrace.pl: Likewise.
36662 * nscd/nscd.c: Likewise.
36663 * nss/getent.c: Likewise.
36664 * nss/makedb.c: Likewise.
36665 * posix/getconf.c: Likewise.
36666
36667 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
36668
36669 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
36670 numbers.
36671
36672 2012-12-30 Mike Frysinger <vapier@gentoo.org>
36673
36674 * math/bits/mathcalls.h (modf): Use __nonnull.
36675
36676 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36677
36678 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
36679 (split): Use macro CN instead of the bare value.
36680 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
36681 could be used.
36682 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
36683 instead of the bare value.
36684 (power1): Likewise.
36685
36686 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36687
36688 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
36689 __ATAN_TWOM.
36690 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36691
36692 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
36693 their values.
36694 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36695 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
36696 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
36697 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36698
36699 2012-12-28 Andreas Jaeger <aj@suse.de>
36700
36701 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
36702 values are from Linux 3.7.
36703
36704 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
36705 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
36706
36707 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36708
36709 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
36710 TRUE case.
36711
36712 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
36713 (norm): Likewise.
36714 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
36715 variables with preprocessor constants.
36716 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36717 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36718 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36719
36720 2012-12-27 Bruno Haible <bruno@clisp.org>
36721
36722 [BZ #14317]
36723 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
36724 only if needed.
36725
36726 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
36727
36728 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
36729 and use variable directly.
36730 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
36731
36732 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
36733 MPONE.
36734 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
36735 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
36736 variable MPONE.
36737 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
36738 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
36739 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
36740 include directive. Remove local variable MPONE.
36741 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
36742 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
36743 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36744
36745 2012-12-25 David S. Miller <davem@davemloft.net>
36746
36747 * version.h (RELEASE): Set to "development".
36748 (VERSION): Set to "2.17.90".
36749 * NEWS: Add 2.18 section.
36750
36751 2012-12-21 David S. Miller <davem@davemloft.net>
36752
36753 * po/hr.po: Update from translation team.
36754
36755 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36756
36757 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
36758
36759 2012-12-19 Steve Ellcey <sellcey@mips.com>
36760
36761 * NEWS: Mention new memcpy for MIPS.
36762
36763 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36764
36765 * manual/contrib.texi (Contributors): Spelling correction.
36766
36767 2012-12-15 David S. Miller <davem@davemloft.net>
36768
36769 * po/ru.po: Update from translation team.
36770
36771 2012-12-13 David S. Miller <davem@davemloft.net>
36772
36773 * NEWS: Mention IFUNC testsuite enhancements.
36774
36775 * po/pl.po: Update from translation team.
36776 * po/bg.po: Likewise.
36777
36778 * manual/contrib.texi (Contributors): Update entries for Hongjiu
36779 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
36780
36781 2012-12-11 David S. Miller <davem@davemloft.net>
36782
36783 * po/sv.po: Update from translation team.
36784
36785 * po/vi.po: Update from translation team.
36786
36787 * po/cs.po: Update from translation team.
36788
36789 * po/de.po: Update from translation team.
36790 * po/eo.po: Likewise.
36791 * po/nl.po: Likewise.
36792
36793 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
36794
36795 [BZ #14246]
36796 * manual/argp.texi (Argp Helper Functions): Move node to follow
36797 Argp Parsing State.
36798
36799 [BZ #14872]
36800 * manual/conf.texi (Limits on File System Capacity): Mention if
36801 terminating null is included in the max size.
36802
36803 2012-12-10 Andreas Jaeger <aj@suse.de>
36804
36805 * po/cs.po: Update from translation team.
36806
36807 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
36808
36809 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
36810 void pointer and cast to uintptr_t.
36811 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
36812 path.
36813 * sysdeps/s390/s390-64/memcpy.S: Likewise.
36814 * sysdeps/s390/s390-64/memset.S: Likewise.
36815
36816 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
36817
36818 [BZ #14833]
36819 * menual/message.texi (Message Translation): Fix typos.
36820 (Helper programs for gettext): Likewise.
36821
36822 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
36823
36824 [BZ #14898]
36825 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
36826 Change to -1.
36827
36828 2012-12-07 David S. Miller <davem@davemloft.net>
36829
36830 * po/libc.pot: Update.
36831
36832 2012-12-07 Richard Henderson <rth@redhat.com>
36833
36834 [BZ #10114]
36835 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
36836 normal/normal case to before the switch.
36837 (_FP_DIV): Likewise.
36838
36839 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
36840 Mike Frysinger <vapier@gentoo.org>
36841
36842 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
36843 check for __NR_fadvise64_64.
36844
36845 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
36846
36847 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
36848 0, not just to plain "0" as a statement.
36849 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
36850 with cw.
36851
36852 2012-12-06 Joseph Myers <joseph@codesourcery.com>
36853
36854 * NEWS: Use sourceware.org in Bugzilla URL.
36855
36856 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
36857
36858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36859 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
36860
36861 * stdio-common/tst-put-error.c (do_test): Add newline to the
36862 padded test to ensure flush.
36863
36864 2012-12-05 Jeff Law <law@redhat.com>
36865
36866 * sunrpc/etc.rpc (fedfs_admin): Add entry.
36867
36868 2012-12-05 Joseph Myers <joseph@codesourcery.com>
36869
36870 * README: Don't refer to ports add-on as distributed separately.
36871 Mention AArch64 in list of systems supported in the ports add-on.
36872
36873 * LICENSES: Add more non-FSF copyright and license notices.
36874
36875 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
36876 ((unused)).
36877
36878 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
36879
36880 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
36881 10000 as width of padded output.
36882
36883 2012-12-04 Joseph Myers <joseph@codesourcery.com>
36884
36885 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
36886
36887 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
36888 variable LX with __attribute__ ((unused)).
36889 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
36890 Likewise.
36891 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
36892 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
36893 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
36894 with __attribute__ ((unused)).
36895
36896 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
36897
36898 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
36899
36900 2012-12-04 Joseph Myers <joseph@codesourcery.com>
36901
36902 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
36903 (CFLAGS-nldbl-acos.c): New variable.
36904 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
36905 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
36906 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
36907 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
36908 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
36909 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
36910 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
36911 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
36912 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
36913 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
36914 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
36915 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
36916 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
36917 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
36918 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
36919 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
36920 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
36921 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
36922 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
36923 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
36924 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
36925 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
36926 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
36927 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
36928 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
36929 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
36930 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
36931 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
36932 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
36933 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
36934 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
36935 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
36936 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
36937 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
36938 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
36939 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
36940 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
36941 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
36942 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
36943 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
36944 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
36945 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
36946 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
36947 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
36948 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
36949 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
36950 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
36951 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
36952 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
36953 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
36954 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
36955 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
36956 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
36957 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
36958 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
36959 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
36960 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
36961 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
36962 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
36963 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
36964 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
36965 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
36966 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
36967 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
36968 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
36969 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
36970 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
36971 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
36972 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
36973 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
36974 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
36975 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
36976 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
36977 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
36978 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
36979 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
36980 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
36981 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
36982 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
36983 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
36984 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
36985 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
36986 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
36987 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
36988 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
36989 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
36990 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
36991 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
36992 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
36993 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
36994 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
36995 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
36996 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
36997 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
36998 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
36999 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
37000 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
37001
37002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37003 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37004
37005 [BZ #14914]
37006 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
37007 whole low double instead of just low 47 bits when splitting values
37008 into two parts.
37009
37010 2012-12-03 Allan McRae <allan@archlinux.org>
37011
37012 * manual/stdio.texi (Predefined Printf Handlers): Remove
37013 @hsep and @vsep usage.
37014
37015 2012-12-03 Mike Frysinger <vapier@gentoo.org>
37016
37017 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
37018 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
37019
37020 2012-12-03 Jeff Law <law@redhat.com>
37021
37022 * time/sys/time.h (settimeofday): Do not mark TV argument
37023 as __nonnull.
37024
37025 2012-12-01 Mike Frysinger <vapier@gentoo.org>
37026
37027 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
37028 when currently writing and seek to current position when not.
37029 * libio/Makefile (tests): Remove bug-fclose1.
37030 * libio/bug-fclose1.c: Delete.
37031
37032 2012-12-01 Joseph Myers <joseph@codesourcery.com>
37033
37034 * manual/arith.texi (feenableexcept): Fix typo.
37035 (fedisableexcept): Likewise.
37036
37037 2012-11-30 Roland McGrath <roland@hack.frob.com>
37038
37039 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
37040 second, differently-typed declaration, rather than a cast.
37041
37042 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
37043
37044 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
37045 * include/rpc/svc.h: ... here.
37046
37047 2012-11-30 Aurelien Jarno <aurel32@debian.org>
37048
37049 [BZ #13013]
37050 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
37051 depending n and resplen2 to catch cases where answer
37052 equals answerp2.
37053
37054 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
37055
37056 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
37057 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
37058
37059 2012-11-29 Mike Frysinger <vapier@gentoo.org>
37060
37061 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
37062
37063 2012-11-29 Roland McGrath <roland@hack.frob.com>
37064
37065 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
37066
37067 2012-11-28 Jeff Law <law@redhat.com>
37068
37069 [BZ #13761]
37070 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
37071 dataset_temporary. Track alloca usage into alloca_used.
37072 If dataset is large allocate and release it via malloc/free.
37073
37074 2012-06-04 Florian Weimer <fweimer@redhat.com>
37075
37076 [BZ #14197]
37077 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
37078
37079 2012-11-28 David S. Miller <davem@davemloft.net>
37080
37081 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37082
37083 2012-11-28 Joseph Myers <joseph@codesourcery.com>
37084
37085 [BZ #14803]
37086 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
37087 of pi/2 rounded to nearest to 64 bits.
37088 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
37089 nearest to 64 bits.
37090 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
37091 bits.
37092
37093 2012-11-28 Jeff Law <law@redhat.com>
37094 Martin Osvald <mosvald@redhat.com>
37095
37096 [BZ #14889]
37097 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
37098 * sunrpc/svc.c: Include time.h.
37099 (__svc_accept_failed): New function.
37100 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
37101 any reason other than EINTR, call __svc_accept_failed.
37102 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
37103 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
37104
37105 2012-11-28 Andreas Schwab <schwab@suse.de>
37106
37107 * scripts/abilist.awk: Also handle indirect functions in .opd
37108 section.
37109
37110 2012-11-28 Joseph Myers <joseph@codesourcery.com>
37111
37112 [BZ #13881]
37113 * sysdeps/x86/fpu/powl_helper.c: New file.
37114 * sysdeps/x86/fpu/Makefile: Likewise.
37115 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
37116 (p3): New object.
37117 (__ieee754_powl): Use __powl_helper for finite arguments except
37118 integer exponents below 8.
37119 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
37120 (p3): New object.
37121 (__ieee754_powl): Use __powl_helper for finite arguments except
37122 integer exponents below 8.
37123 * math/libm-test.inc (pow_test): Add more tests and enable some
37124 previously disabled tests.
37125 * sysdeps/i386/fpu/libm-test-ulps: Update.
37126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37127
37128 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
37129 Carlos O'Donell <carlos_odonell@mentor.com>
37130
37131 * nss/makedb.c (is_prime): Assert that input is odd and greater
37132 than 4. Note that fact in a comment too.
37133 (next_prime): Add 4 to input.
37134
37135 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
37136
37137 [BZ #11741]
37138 * libio/Makefile (tests): Add test case tst-fwrite-error.
37139 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
37140 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
37141 * libio/tst-fwrite-error.c: New test case.
37142
37143 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
37144
37145 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
37146 before casting to void *.
37147 * include/libc-internal.h (__pointer_type): New macro.
37148 (__integer_if_pointer_type_sub): Likewise.
37149 (__integer_if_pointer_type): Likewise.
37150 (cast_to_integer): Likewise.
37151 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
37152 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
37153 before casting to atomic64_t.
37154 (atomic_exchange_acq): Likewise.
37155 (__arch_exchange_and_add_body): Likewise.
37156 (__arch_add_body): Likewise.
37157 (atomic_add_negative): Likewise.
37158 (atomic_add_zero): Likewise.
37159
37160 2012-11-26 Joseph Myers <joseph@codesourcery.com>
37161
37162 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
37163 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
37164 (add_fdes): Likewise.
37165 (linear_search_fdes): Likewise.
37166 (binary_search_unencoded_fdes): Likewise.
37167
37168 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
37169
37170 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
37171
37172 2012-11-24 Adam Conrad <adconrad@0c3.net>
37173
37174 * configure.in: Autodetect C++ header directories.
37175 * configure: Regenerated.
37176
37177 2012-11-23 Mike Frysinger <vapier@gentoo.org>
37178
37179 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
37180
37181 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
37182
37183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37184
37185 2012-11-22 Joseph Myers <joseph@codesourcery.com>
37186
37187 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
37188 LDBL_MANT_DIG == 106]: Disable some tests.
37189 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37190 Likewise.
37191 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37192 Likewise.
37193
37194 [BZ #14871]
37195 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
37196 input for small inputs. Return +/- pi/2 for large inputs.
37197 * math/libm-test.inc (atan_test): Add more tests.
37198
37199 * sysdeps/generic/unwind-dw2-fde-glibc.c
37200 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
37201 __attribute__ ((unused)).
37202
37203 [BZ #14645]
37204 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
37205 x * y if x and y are nonzero and z is zero.
37206
37207 [BZ #14811]
37208 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
37209 nonzero exponents with absolute value below 0x1p-117 to +/-
37210 0x1p-117.
37211
37212 [BZ #14869]
37213 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
37214 up arguments below 2**-450, not just those below 2**-500.
37215 * math/libm-test.inc (hypot_test): Add another test.
37216
37217 [BZ #14868]
37218 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
37219 Return a+b for ratio over 2**120, not 2**60.
37220 * math/libm-test.inc (hypot_test): Add another test.
37221
37222 * math/libm-test.inc (clog_test): Use
37223 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
37224 (clog10_test): Likewise.
37225
37226 [BZ #6778]
37227 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
37228
37229 2012-11-22 Andreas Schwab <schwab@suse.de>
37230
37231 * sysdeps/i386/fpu/libm-test-ulps: Update.
37232
37233 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
37234
37235 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
37236 printf output with newline.
37237
37238 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
37239
37240 [BZ #14865]
37241 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
37242 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
37243 -z nodlopen, -z initfirst and -z execstack support.
37244 * configure: Regenerated.
37245
37246 * elf/elf.h (DF_1_NODIRECT): New macro.
37247 (DF_1_IGNMULDEF): Likewise.
37248 (DF_1_NOKSYMS): Likewise.
37249 (DF_1_NOHDR): Likewise.
37250 (DF_1_EDITED): Likewise.
37251 (DF_1_NORELOC): Likewise.
37252 (DF_1_SYMINTPOSE): Likewise.
37253 (DF_1_GLOBAUDIT): Likewise.
37254 (DF_1_SINGLETON): Likewise.
37255 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
37256 DT_1_SUPPORTED_MASK bits.
37257 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
37258
37259 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
37260
37261 * sysdeps/unix/make-syscalls.sh: Document prefixes.
37262
37263 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
37264
37265 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
37266 macro.
37267
37268 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
37269 (sendmmsg): Move declarations...
37270 * socket/sys/socket.h: ... here.
37271 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
37272 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
37273 include it from...
37274 * socket/recvmmsg.c: ... this new file.
37275 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
37276 (sendmmsg): Rename to __sendmmsg, create weak alias and make
37277 definition of __sendmmsg hidden.
37278 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
37279 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
37280 Move ENOSYS stub into and include it from...
37281 * socket/sendmmsg.c: ... this new file.
37282 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
37283 (sysdep_routines): Move recvmmsg and sendmmsg...
37284 * socket/Makefile (routines): ... here.
37285 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
37286 (GLIBC_PRIVATE): Add __sendmmsg.
37287 * include/sys/socket.h (__sendmmsg): Add declarations.
37288 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
37289 sendmmsg.
37290
37291 2012-11-20 Joseph Myers <joseph@codesourcery.com>
37292
37293 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
37294 variable I1 with __attribute__ ((unused)).
37295 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
37296
37297 2012-11-19 Joseph Myers <joseph@codesourcery.com>
37298
37299 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
37300 DUMMY variables with __attribute__ ((unused)).
37301
37302 * bits/byteswap.h: Include <bits/types.h>.
37303 (__bswap_64): Use __uint64_t instead of unsigned long long int.
37304
37305 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37306
37307 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
37308 string_t. Do not manually set errno.
37309 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
37310 length with __strnlen. Make sure to both set errno and return it on
37311 failure.
37312
37313 2012-11-19 David S. Miller <davem@davemloft.net>
37314
37315 With help from Joseph Myers.
37316 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
37317 very large arguments properly.
37318 * math/libm-test.inc (atan_test): New tests.
37319 (atan2_test): New tests.
37320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37321 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37322
37323 2012-11-19 Joseph Myers <joseph@codesourcery.com>
37324
37325 [BZ #14856]
37326 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
37327 Define to 3.
37328
37329 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
37330 [POSIX] (EADDRNOTAVAIL): Likewise.
37331 [POSIX] (EAFNOSUPPORT): Likewise.
37332 [POSIX] (EALREADY): Likewise.
37333 [POSIX] (ECONNABORTED): Likewise.
37334 [POSIX] (ECONNREFUSED): Likewise.
37335 [POSIX] (ECONNRESET): Likewise.
37336 [POSIX] (EDESTADDRREQ): Likewise.
37337 [POSIX] (EDQUOT): Likewise.
37338 [POSIX] (EHOSTUNREACH): Likewise.
37339 [POSIX] (EIDRM): Likewise.
37340 [POSIX] (EISCONN): Likewise.
37341 [POSIX] (ELOOP): Likewise.
37342 [POSIX] (EMULTIHOP): Likewise.
37343 [POSIX] (ENETDOWN): Likewise.
37344 [POSIX] (ENETUNREACH): Likewise.
37345 [POSIX] (ENOBUFS): Likewise.
37346 [POSIX] (ENODATA): Likewise.
37347 [POSIX] (ENOLINK): Likewise.
37348 [POSIX] (ENOMSG): Likewise.
37349 [POSIX] (ENOPROTOOPT): Likewise.
37350 [POSIX] (ENOSR): Likewise.
37351 [POSIX] (ENOSTR): Likewise.
37352 [POSIX] (ENOTCONN): Likewise.
37353 [POSIX] (ENOTSOCK): Likewise.
37354 [POSIX] (EOPNOTSUPP): Likewise.
37355 [POSIX] (EOVERFLOW): Likewise.
37356 [POSIX] (EPROTO): Likewise.
37357 [POSIX] (EPROTONOSUPPORT): Likewise.
37358 [POSIX] (EPROTOTYPE): Likewise.
37359 [POSIX] (ESTALE): Likewise.
37360 [POSIX] (ETIME): Likewise.
37361 [POSIX] (ETXTBSY): Likewise.
37362 [POSIX] (EWOULDBLOCK): Likewise.
37363 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
37364 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
37365 [POSIX] (SEEK_CUR): Likewise.
37366 [POSIX] (SEEK_END): Likewise.
37367 [POSIX || UNIX98] (mode_t): Do not require.
37368 [POSIX] (off_t): Likewise.
37369 [POSIX] (pid_t): Likewise.
37370 [POSIX] (sys/stat.h): Do not allow header.
37371 [POSIX] (unistd.h): Likewise.
37372 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
37373 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
37374 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
37375 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
37376 require.
37377 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
37378 sigevent): Specify elements.
37379 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
37380 entry.
37381 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
37382 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
37383
37384 * conform/data/cpio.h-data [POSIX]: Disable whole file.
37385 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
37386 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
37387 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
37388 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
37389 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
37390 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
37391 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
37392 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
37393 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
37394 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
37395 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
37396 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
37397 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
37398 Likewise.
37399 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
37400 Likewise.
37401 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
37402 Likewise.
37403 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
37404 Likewise.
37405 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
37406 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
37407 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
37408 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
37409 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
37410 Specify lower bound on value.
37411 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
37412 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
37413 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
37414 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
37415 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
37416 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
37417 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
37418 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
37419 value.
37420 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
37421 as optional.
37422 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
37423 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
37424 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
37425 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
37426 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
37427 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
37428 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
37429 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
37430 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
37431 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
37432 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
37433 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
37434 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
37435 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
37436 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
37437 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
37438 entry.
37439 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
37440 optional.
37441 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
37442 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
37443 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
37444 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
37445 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
37446 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
37447 Likewise.
37448 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
37449 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
37450 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
37451 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
37452 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
37453 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
37454 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
37455 as optional.
37456 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
37457 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
37458 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
37459 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
37460 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
37461 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
37462 specify as optional.
37463 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
37464 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
37465 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
37466 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
37467 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
37468 [XPG3] (NL_LANGMAX): Likewise.
37469 [POSIX || XPG3] (NL_MSGMAX): Likewise.
37470 [POSIX || XPG3] (NL_NMAX): Likewise.
37471 [POSIX || XPG3] (NL_SETMAX): Likewise.
37472 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
37473 [XPG3] (NZERO): Likewise.
37474 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
37475 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
37476 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
37477 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
37478 (REG_ERANGE): Expect.
37479 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
37480 optional-constant.
37481 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
37482 Use (void) in prototype.
37483 [POSIX] (*_t): Allow.
37484 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
37485 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
37486 (WRDE_BADVAL): Expect.
37487
37488 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
37489 expect.
37490 [XPG3 || XPG4] (O_RSYNC): Likewise.
37491 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
37492 Likewise.
37493 [XPG3 || XPG4] (pthread_sigmask): Likewise.
37494 [XPG3 || XPG4] (sigqueue): Likewise.
37495 [XPG3 || XPG4] (sigtimedwait): Likewise.
37496 [XPG3 || XPG4] (sigwaitinfo): Likewise.
37497 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
37498 [XPG3 || XPG4] (vsnprintf): Likewise.
37499 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
37500 Likewise.
37501 [XPG3 || XPG4] (blksize_t): Likewise.
37502 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
37503 Likewise.
37504 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
37505 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37506 [XPG3 || XPG4] (struct itimerspec): Likewise.
37507 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
37508 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
37509 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
37510 [XPG3 || XPG4] (clockid_t): Likewise.
37511 [XPG3 || XPG4] (timer_t): Likewise.
37512 [XPG3 || XPG4] (clock_getres): Likewise.
37513 [XPG3 || XPG4] (clock_gettime): Likewise.
37514 [XPG3 || XPG4] (clock_settime): Likewise.
37515 [XPG3 || XPG4] (nanosleep): Likewise.
37516 [XPG3 || XPG4] (timer_create): Likewise.
37517 [XPG3 || XPG4] (timer_delete): Likewise.
37518 [XPG3 || XPG4] (timer_gettime): Likewise.
37519 [XPG3 || XPG4] (timer_getoverrun): Likewise.
37520 [XPG3 || XPG4] (timer_settime): Likewise.
37521 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
37522 [XPG3 || XPG4] (getlogin_r): Likewise.
37523 [XPG3 || XPG4] (pread): Likewise.
37524 [XPG3 || XPG4] (pthread_atfork): Likewise.
37525 [XPG3 || XPG4] (pwrite): Likewise.
37526
37527 [BZ #14835]
37528 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
37529 <bits/siginfo.h>.
37530
37531 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
37532
37533 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
37534 finalizing MALLSTREAM.
37535
37536 * sysdeps/mach/hurd/syncfs.c: New file.
37537
37538 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
37539
37540 [BZ #14719]
37541 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
37542 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
37543 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
37544 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
37545 (_nss_dns_gethostbyname4_r): Likewise.
37546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
37547 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
37548
37549 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
37550
37551 [BZ #13763]
37552 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
37553
37554 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
37555
37556 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
37557 * elf/cache.c (print_entry): Print ",AArch64" for
37558 FLAG_AARCH64_LIB64
37559
37560 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
37561 * elf/cache.c (print_entry): Print ",hard-float" for
37562 FLAG_ARM_LIBHF.
37563
37564 2012-11-18 David S. Miller <davem@davemloft.net>
37565
37566 With help from Joseph Myers.
37567 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
37568 cutoff to 2**-13.
37569 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
37570 cutoff to 2**-25.
37571 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
37572 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
37573 small.
37574 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
37575 * math/libm-test.inc (y0_test): New tests.
37576 (y1_test): New tests.
37577 * sysdeps/i386/fpu/libm-test-ulps: Update.
37578 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37579 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37580
37581 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
37582
37583 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
37584 64-bit targets.
37585 * configure: Regenerated.
37586
37587 2012-11-17 David S. Miller <davem@davemloft.net>
37588
37589 [BZ #14811]
37590 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
37591 nonzero exponents with absolute value below 0x1p-128 to +/-
37592 0x1p-128.
37593
37594 2012-11-17 Joseph Myers <joseph@codesourcery.com>
37595
37596 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
37597
37598 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
37599
37600 * posix/getconf-speclist.c: New file.
37601 * posix/posix-envs.def: Likewise.
37602 * posix/confstr.c (START_ENV_GROUP): New macro.
37603 (END_ENV_GROUP): Likewise.
37604 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37605 (KNOWN_PRESENT_ENV_STRING): Likewise.
37606 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37607 (UNKNOWN_ENVIRONMENT): Likewise.
37608 (confstr): Include posix-envs.def instead of handling
37609 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
37610 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
37611 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
37612 (END_ENV_GROUP): Likewise.
37613 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
37614 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
37615 (UNKNOWN_ENVIRONMENT): Likewise.
37616 (__sysconf): Include posix-envs.def instead of handling associated
37617 cases directly here.
37618 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
37619 preprocessing getconf-speclist.c rather than running getconf or
37620 generating empty file.
37621
37622 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
37623
37624 * scripts/check-local-headers.sh: Ignore 'mach' headers.
37625
37626 2012-11-16 Andrej Lajovic <natrij@gmail.com>
37627
37628 [BZ #14672]
37629 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
37630
37631 2012-11-16 David S. Miller <davem@davemloft.net>
37632
37633 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
37634 smaller than LDBL_EPSILON/2.0L, just return xm1.
37635
37636 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
37637
37638 * elf/tst-array1.c (init): Set constructor priority to 1000.
37639 (fini): Set destructor priority to 1000.
37640 * elf/tst-array2dep.c: Likewise.
37641
37642 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37643
37644 [BZ #11741]
37645 * libio/fileops.c (_IO_new_file_write): Correctly return error.
37646 (_IO_new_file_xsputn): Also return EOF if none of the input
37647 data was written when overflow failed.
37648 * libio/iopadn.c (_IO_padn): Likewise.
37649 * libio/iowpadn.c (_IO_wpadn): Likewise.
37650 * stdio-common/tst-put-error.c: Add copyright notice.
37651 (do_test): Add case for printing padded string.
37652 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
37653 _IO_padn returned error.
37654 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
37655 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
37656 return EOF.
37657
37658 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
37659
37660 * libio/libioP.h: Add comment note that the references to C++
37661 bits are now obsolete.
37662
37663 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37664
37665 * math/libm-test.inc (check_complex): Use asprintf.
37666
37667 2012-11-14 Joseph Myers <joseph@codesourcery.com>
37668
37669 * debug/pcprofiledump.c (print_version): Update copyright year.
37670 * malloc/memusagestat.c (print_version): Likewise.
37671
37672 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
37673
37674 [BZ #14831]
37675 * elf/Makefile (tests): Add tst-audit8.
37676 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
37677 ($(objpfx)tst-audit8.out): New target.
37678 (tst-audit8-ENV): New variable.
37679 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
37680 audit if l_reloc_result is NULL.
37681 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
37682 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
37683 * elf/tst-audit8.c: New file.
37684
37685 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37686
37687 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
37688 * misc/Makefile (CFLAGS-select.c): Define.
37689 * posix/Makefile (CFLAGS-pause.c): Define.
37690
37691 2012-11-13 David S. Miller <davem@davemloft.net>
37692
37693 * crypt/Makefile: Move test targets after toplevel Rules
37694 inclusion. Grab any necessary sysdep routines when linking.
37695 * crypt/md5.c (md5_process_block): Remove define, we will always
37696 name it __md5_process_block.
37697 (md5_finish_ctx): Update md5_process_block call.
37698 (md5_stream): Likewise.
37699 (md5_process_bytes): Likewise.
37700 (md5_process_block): Rename to __md5_process_block and move to ...
37701 * crypt/md5-block.c: ... here.
37702 * crypt/sha256.c (sha256_process_block): Move to ...
37703 * crypt/sha256-block.c: ... here.
37704 * crypt/sha512.c (sha512_process_block): Move to ...
37705 * crypt/sha512-block.c: ... here.
37706 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
37707 path.
37708 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
37709 * sysdeps/sparc/sparc64/multiarch/Makefile
37710 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
37711 crypt subdir.
37712 (localedef-aux): Add md5 crypto assembler when in locale subdir.
37713 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
37714 multiarch changes.
37715 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
37716 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
37717 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
37718 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
37719 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
37720 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
37721 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
37722 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
37723 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
37724 file.
37725 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
37726 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
37727 file.
37728 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
37729
37730 2012-11-13 Joseph Myers <joseph@codesourcery.com>
37731
37732 * timezone/tzselect.ksh: Update from tzcode git revision
37733 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
37734 * timezone/zdump.c: Likewise.
37735 * timezone/zic.c: Likewise.
37736 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
37737 in TZVERSION setting, not $(PKGVERSION).
37738 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
37739 REPORT_BUGS_TO settings.
37740
37741 [BZ #14838]
37742 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
37743 macro.
37744
37745 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37746
37747 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
37748 detection to immediately after _FP_ROUND().
37749 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
37750 bits are 0.
37751
37752 2012-11-11 David S. Miller <davem@davemloft.net>
37753
37754 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
37755 inttypes.h
37756 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
37757 __close rather than their public counterparts.
37758
37759 2012-11-10 Joseph Myers <joseph@codesourcery.com>
37760
37761 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
37762 file.
37763 [UNIX98] (sem_timedwait): Do not expect.
37764 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
37765 [XPG4 || UNIX98] (sockatmark): Do not expect.
37766 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
37767 (clock_getcpuclockid): Do not expect.
37768 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
37769 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
37770 Do not expect.
37771 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
37772 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
37773 [UNIX98] (vwscanf): Likewise.
37774 [UNIX98] (vswscanf): Likewise.
37775
37776 2012-11-09 Joseph Myers <joseph@codesourcery.com>
37777
37778 * timezone/version.h: Remove file.
37779 * timezone/README: Do not refer to version.h.
37780 * timezone/Makefile ($(objpfx)zic.o): New dependency on
37781 $(objpfx)version.h.
37782 ($(objpfx)zdump.o): Likewise.
37783 ($(objpfx)version.h): New target.
37784
37785 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
37786 2012i.
37787 * timezone/README: Don't mention modification to tzselect.ksh.
37788 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
37789 work on unmodified tzselect.ksh. Substitute version numbers in
37790 tzselect.ksh.
37791
37792 * Makefile (format-me): Remove.
37793 (INSTALL): Adjust indentation. Use commands directly instead of
37794 using $(format-me).
37795
37796 * aclocal.m4 (ACX_PKGVERSION): New macro.
37797 (ACX_BUGURL): Likewise.
37798 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
37799 (PKGVERSION): New AC_DEFINE_UNQUOTED.
37800 (REPORT_BUGS_TO): Likewise.
37801 * configure: Regenerated.
37802 * config.h.in (PKGVERSION): New macro.
37803 (REPORT_BUGS_TO): Likewise.
37804 * config.make.in (PKGVERSION): New variable.
37805 (PKGVERSION_TEXI): Likewise.
37806 (REPORT_BUGS_TO): Likewise.
37807 (REPORT_BUGS_TEXI): Likewise.
37808 * Makefile (format-me): Use -I$(common-objpfx)manual.
37809 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
37810 ($(common-objpfx)manual/%): New target.
37811 (manual/%): Remove target.
37812 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
37813 (print_version): Use PKGVERSION.
37814 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
37815 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
37816 and REPORT_BUGS_TO.
37817 ($(objpfx)xtrace): Likewise.
37818 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
37819 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
37820 (print_version): Use PKGVERSION.
37821 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
37822 (do_version): Use PKGVERSION.
37823 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
37824 REPORT_BUGS_TO.
37825 (common-ldd-rewrite): Likewise.
37826 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
37827 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
37828 (print_version): Use PKGVERSION.
37829 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
37830 * elf/pldd.c (argp_program_bug_address): Remove variable.
37831 (more_help): New function.
37832 (argp): Use more_help.
37833 (print_version): Use PKGVERSION.
37834 * elf/sln.c (main): Use PKGVERSION.
37835 (usage): Use REPORT_BUGS_TO.
37836 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
37837 (top level): Use PKGVERSION.
37838 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
37839 (print_version): Use PKGVERSION.
37840 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
37841 (print_version): Use PKGVERSION.
37842 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
37843 (print_version): Use PKGVERSION.
37844 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
37845 (print_version): Use PKGVERSION.
37846 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
37847 (print_version): Use PKGVERSION.
37848 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
37849 (print_version): Use PKGVERSION.
37850 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
37851 and BUGURL.
37852 ($(objpfx)memusage): Likewise.
37853 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
37854 (do_version): Use PKGVERSION.
37855 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
37856 (print_version): Use PKGVERSION.
37857 * malloc/mtrace.pl ($PACKAGE): Remove variable.
37858 ($PKGVERSION): New variable.
37859 ($REPORT_BUGS_TO): Likewise.
37860 (usage): Use $REPORT_BUGS_TO.
37861 (top level): Use $PKGVERSION.
37862 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
37863 ($(objpfx)pkgvers.texi): New rule.
37864 ($(objpfx)stamp-pkgvers): Likewise.
37865 * manual/install.texi: Include pkgvers.texi.
37866 (--with-pkgversion): Document new configure option.
37867 (--with-bugurl): Likewise.
37868 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
37869 than necessarily for this particular distribution. Use
37870 REPORT_BUGS_TO for where to report bugs.
37871 * INSTALL: Regenerated.
37872 * manual/libc.texinfo: Include pkgvers.texi.
37873 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
37874 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
37875 (print_version): Use PKGVERSION.
37876 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
37877 (print_version): Use PKGVERSION.
37878 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
37879 (print_version): Use PKGVERSION.
37880 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
37881 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
37882 macro.
37883 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
37884 (print_version): Use PKGVERSION.
37885 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
37886 (print_version): Use PKGVERSION.
37887 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
37888 and PKGVERSION.
37889
37890 * timezone/checktab.awk: Update from tzcode 2012i.
37891 * timezone/ialloc.c: Likewise.
37892 * timezone/private.h: Likewise.
37893 * timezone/scheck.c: Likewise.
37894 * timezone/tzfile.h: Likewise.
37895 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
37896 (TZVERSION): Hardcode tzcode version number.
37897 * timezone/zdump.c: Update from tzcode 2012i.
37898 * timezone/zic.c: Likewise.
37899 * timezone/version.h: New file.
37900 * timezone/README: Describe version.h. Update upstream location.
37901
37902 [BZ #14824]
37903 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
37904 (mktemp): Enable declaration.
37905 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
37906 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
37907 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
37908 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
37909 Likewise.
37910 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
37911 Likewise.
37912 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
37913 Likewise.
37914 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
37915 Likewise.
37916 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
37917 Likewise.
37918 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
37919 Likewise.
37920
37921 [BZ #14821]
37922 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
37923 offset in buffer as u_int32_t not u_long. Consistently use memcpy
37924 for copies of such integer values.
37925 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
37926 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
37927
37928 2012-11-09 Andreas Jaeger <aj@suse.de>
37929
37930 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
37931 definitions and declarations that are provided by
37932 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37933
37934 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37935
37936 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
37937 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
37938 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
37939 definition.
37940
37941 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
37942
37943 * elf/elf.h: Update comment before AArch64 relocations.
37944
37945 2012-11-07 David S. Miller <davem@davemloft.net>
37946
37947 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
37948 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37949 (__start_context): Declare.
37950 (__makecontext_ret): Delete.
37951 (__makecontext): Hook up __start_context instead of
37952 __makecontext_ret.
37953 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
37954 (sysdep_routines): Add __start_context when in stdlib.
37955
37956 2012-11-07 Joseph Myers <joseph@codesourcery.com>
37957
37958 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
37959 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
37960 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
37961 hardcoded "nm".
37962 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
37963 (READELF): New variable. Use it instead of hardcoded "readelf".
37964
37965 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
37966
37967 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
37968 * sysdeps/x86/Makefile: Here.
37969 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
37970 * sysdeps/x86/tst-xmmymm.sh: This.
37971
37972 2012-11-07 Joseph Myers <joseph@codesourcery.com>
37973
37974 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
37975 expectations.
37976 [UNIX98] (pthread_barrier_t): Do not expect.
37977 [UNIX98] (pthread_barrierattr_t): Likewise.
37978 [UNIX98] (pthread_spinlock_t): Likewise.
37979 [UNIX98] (pthread_barrier_destroy): Likewise.
37980 [UNIX98] (pthread_barrier_init): Likewise.
37981 [UNIX98] (pthread_barrier_wait): Likewise.
37982 [UNIX98] (pthread_barrierattr_destroy): Likewise.
37983 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
37984 [UNIX98] (pthread_barrierattr_init): Likewise.
37985 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
37986 [UNIX98] (pthread_getcpuclockid): Likewise.
37987 [UNIX98] (pthread_mutex_timedlock): Likewise.
37988 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
37989 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
37990 [UNIX98] (pthread_sigmask): Likewise.
37991 [UNIX98] (pthread_spin_destroy): Likewise.
37992 [UNIX98] (pthread_spin_init): Likewise.
37993 [UNIX98] (pthread_spin_lock): Likewise.
37994 [UNIX98] (pthread_spin_trylock): Likewise.
37995 [UNIX98] (pthread_spin_unlock): Likewise.
37996 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
37997 Do not expect.
37998 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
37999 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
38000 [XPG3 || XPG4] (pthread_cond_t): Likewise.
38001 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
38002 [XPG3 || XPG4] (pthread_key_t): Likewise.
38003 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
38004 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
38005 [XPG3 || XPG4] (pthread_once_t): Likewise.
38006 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
38007 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
38008 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
38009 [XPG3 || XPG4] (pthread_t): Likewise.
38010
38011 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
38012 not expect.
38013 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
38014
38015 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
38016 Change function return type to int.
38017
38018 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
38019 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
38020 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
38021 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
38022 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
38023 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
38024 [!POSIX] (posix_madvise): Likewise.
38025 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
38026 && !UNIX98].
38027 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
38028 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
38029 (mode_t): Likewise.
38030 (posix_mem_offset): Likewise.
38031 (posix_typed_mem_get_info): Likewise.
38032 (posix_typed_mem_open): Likewise.
38033
38034 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
38035 Change condition to [XOPEN2K8].
38036
38037 * conform/conformtest.pl: Preprocess allow-header data with -x c
38038 instead of from stdin.
38039 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
38040 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
38041 [C99-based standards] (cerfc): Likewise.
38042 [C99-based standards] (cexp2): Likewise.
38043 [C99-based standards] (cexpm1): Likewise.
38044 [C99-based standards] (clog10): Likewise.
38045 [C99-based standards] (clog1p): Likewise.
38046 [C99-based standards] (clog2): Likewise.
38047 [C99-based standards] (clgamma): Likewise.
38048 [C99-based standards] (ctgamma): Likewise.
38049 [C99-based standards] (cerff): Likewise.
38050 [C99-based standards] (cerfcf): Likewise.
38051 [C99-based standards] (cexp2f): Likewise.
38052 [C99-based standards] (cexpm1f): Likewise.
38053 [C99-based standards] (clog10f): Likewise.
38054 [C99-based standards] (clog1pf): Likewise.
38055 [C99-based standards] (clog2f): Likewise.
38056 [C99-based standards] (clgammaf): Likewise.
38057 [C99-based standards] (ctgammaf): Likewise.
38058 [C99-based standards] (cerfl): Likewise.
38059 [C99-based standards] (cerfcl): Likewise.
38060 [C99-based standards] (cexp2l): Likewise.
38061 [C99-based standards] (cexpm1l): Likewise.
38062 [C99-based standards] (clog10l): Likewise.
38063 [C99-based standards] (clog1pl): Likewise.
38064 [C99-based standards] (clog2l): Likewise.
38065 [C99-based standards] (clgammal): Likewise.
38066 [C99-based standards] (ctgammal): Likewise.
38067 * conform/data/inttypes.h-data [C99-based standards]: Include
38068 stdint.h-data. Remove all expectations for stdint.h contents.
38069 [C99-based standards] (PRI*): Do not allow.
38070 [C99-based standards] (SCN*): Likewise.
38071 [C99-based standards] (*_t): Likewise.
38072 [C99-based-standards] (PRId8): Expect macro.
38073 [C99-based-standards] (PRIi8): Likewise.
38074 [C99-based-standards] (PRIo8): Likewise.
38075 [C99-based-standards] (PRIu8): Likewise.
38076 [C99-based-standards] (PRIx8): Likewise.
38077 [C99-based-standards] (PRIX8): Likewise.
38078 [C99-based-standards] (SCNd8): Likewise.
38079 [C99-based-standards] (SCNi8): Likewise.
38080 [C99-based-standards] (SCNo8): Likewise.
38081 [C99-based-standards] (SCNu8): Likewise.
38082 [C99-based-standards] (SCNx8): Likewise.
38083 [C99-based-standards] (PRIdLEAST8): Likewise.
38084 [C99-based-standards] (PRIiLEAST8): Likewise.
38085 [C99-based-standards] (PRIoLEAST8): Likewise.
38086 [C99-based-standards] (PRIuLEAST8): Likewise.
38087 [C99-based-standards] (PRIxLEAST8): Likewise.
38088 [C99-based-standards] (PRIXLEAST8): Likewise.
38089 [C99-based-standards] (SCNdLEAST8): Likewise.
38090 [C99-based-standards] (SCNiLEAST8): Likewise.
38091 [C99-based-standards] (SCNoLEAST8): Likewise.
38092 [C99-based-standards] (SCNuLEAST8): Likewise.
38093 [C99-based-standards] (SCNxLEAST8): Likewise.
38094 [C99-based-standards] (PRIdFAST8): Likewise.
38095 [C99-based-standards] (PRIiFAST8): Likewise.
38096 [C99-based-standards] (PRIoFAST8): Likewise.
38097 [C99-based-standards] (PRIuFAST8): Likewise.
38098 [C99-based-standards] (PRIxFAST8): Likewise.
38099 [C99-based-standards] (PRIXFAST8): Likewise.
38100 [C99-based-standards] (SCNdFAST8): Likewise.
38101 [C99-based-standards] (SCNiFAST8): Likewise.
38102 [C99-based-standards] (SCNoFAST8): Likewise.
38103 [C99-based-standards] (SCNuFAST8): Likewise.
38104 [C99-based-standards] (SCNxFAST8): Likewise.
38105 [C99-based-standards] (PRId16): Likewise.
38106 [C99-based-standards] (PRIi16): Likewise.
38107 [C99-based-standards] (PRIo16): Likewise.
38108 [C99-based-standards] (PRIu16): Likewise.
38109 [C99-based-standards] (PRIx16): Likewise.
38110 [C99-based-standards] (PRIX16): Likewise.
38111 [C99-based-standards] (SCNd16): Likewise.
38112 [C99-based-standards] (SCNi16): Likewise.
38113 [C99-based-standards] (SCNo16): Likewise.
38114 [C99-based-standards] (SCNu16): Likewise.
38115 [C99-based-standards] (SCNx16): Likewise.
38116 [C99-based-standards] (PRIdLEAST16): Likewise.
38117 [C99-based-standards] (PRIiLEAST16): Likewise.
38118 [C99-based-standards] (PRIoLEAST16): Likewise.
38119 [C99-based-standards] (PRIuLEAST16): Likewise.
38120 [C99-based-standards] (PRIxLEAST16): Likewise.
38121 [C99-based-standards] (PRIXLEAST16): Likewise.
38122 [C99-based-standards] (SCNdLEAST16): Likewise.
38123 [C99-based-standards] (SCNiLEAST16): Likewise.
38124 [C99-based-standards] (SCNoLEAST16): Likewise.
38125 [C99-based-standards] (SCNuLEAST16): Likewise.
38126 [C99-based-standards] (SCNxLEAST16): Likewise.
38127 [C99-based-standards] (PRIdFAST16): Likewise.
38128 [C99-based-standards] (PRIiFAST16): Likewise.
38129 [C99-based-standards] (PRIoFAST16): Likewise.
38130 [C99-based-standards] (PRIuFAST16): Likewise.
38131 [C99-based-standards] (PRIxFAST16): Likewise.
38132 [C99-based-standards] (PRIXFAST16): Likewise.
38133 [C99-based-standards] (SCNdFAST16): Likewise.
38134 [C99-based-standards] (SCNiFAST16): Likewise.
38135 [C99-based-standards] (SCNoFAST16): Likewise.
38136 [C99-based-standards] (SCNuFAST16): Likewise.
38137 [C99-based-standards] (SCNxFAST16): Likewise.
38138 [C99-based-standards] (PRId32): Likewise.
38139 [C99-based-standards] (PRIi32): Likewise.
38140 [C99-based-standards] (PRIo32): Likewise.
38141 [C99-based-standards] (PRIu32): Likewise.
38142 [C99-based-standards] (PRIx32): Likewise.
38143 [C99-based-standards] (PRIX32): Likewise.
38144 [C99-based-standards] (SCNd32): Likewise.
38145 [C99-based-standards] (SCNi32): Likewise.
38146 [C99-based-standards] (SCNo32): Likewise.
38147 [C99-based-standards] (SCNu32): Likewise.
38148 [C99-based-standards] (SCNx32): Likewise.
38149 [C99-based-standards] (PRIdLEAST32): Likewise.
38150 [C99-based-standards] (PRIiLEAST32): Likewise.
38151 [C99-based-standards] (PRIoLEAST32): Likewise.
38152 [C99-based-standards] (PRIuLEAST32): Likewise.
38153 [C99-based-standards] (PRIxLEAST32): Likewise.
38154 [C99-based-standards] (PRIXLEAST32): Likewise.
38155 [C99-based-standards] (SCNdLEAST32): Likewise.
38156 [C99-based-standards] (SCNiLEAST32): Likewise.
38157 [C99-based-standards] (SCNoLEAST32): Likewise.
38158 [C99-based-standards] (SCNuLEAST32): Likewise.
38159 [C99-based-standards] (SCNxLEAST32): Likewise.
38160 [C99-based-standards] (PRIdFAST32): Likewise.
38161 [C99-based-standards] (PRIiFAST32): Likewise.
38162 [C99-based-standards] (PRIoFAST32): Likewise.
38163 [C99-based-standards] (PRIuFAST32): Likewise.
38164 [C99-based-standards] (PRIxFAST32): Likewise.
38165 [C99-based-standards] (PRIXFAST32): Likewise.
38166 [C99-based-standards] (SCNdFAST32): Likewise.
38167 [C99-based-standards] (SCNiFAST32): Likewise.
38168 [C99-based-standards] (SCNoFAST32): Likewise.
38169 [C99-based-standards] (SCNuFAST32): Likewise.
38170 [C99-based-standards] (SCNxFAST32): Likewise.
38171 [C99-based-standards] (PRId64): Likewise.
38172 [C99-based-standards] (PRIi64): Likewise.
38173 [C99-based-standards] (PRIo64): Likewise.
38174 [C99-based-standards] (PRIu64): Likewise.
38175 [C99-based-standards] (PRIx64): Likewise.
38176 [C99-based-standards] (PRIX64): Likewise.
38177 [C99-based-standards] (SCNd64): Likewise.
38178 [C99-based-standards] (SCNi64): Likewise.
38179 [C99-based-standards] (SCNo64): Likewise.
38180 [C99-based-standards] (SCNu64): Likewise.
38181 [C99-based-standards] (SCNx64): Likewise.
38182 [C99-based-standards] (PRIdLEAST64): Likewise.
38183 [C99-based-standards] (PRIiLEAST64): Likewise.
38184 [C99-based-standards] (PRIoLEAST64): Likewise.
38185 [C99-based-standards] (PRIuLEAST64): Likewise.
38186 [C99-based-standards] (PRIxLEAST64): Likewise.
38187 [C99-based-standards] (PRIXLEAST64): Likewise.
38188 [C99-based-standards] (SCNdLEAST64): Likewise.
38189 [C99-based-standards] (SCNiLEAST64): Likewise.
38190 [C99-based-standards] (SCNoLEAST64): Likewise.
38191 [C99-based-standards] (SCNuLEAST64): Likewise.
38192 [C99-based-standards] (SCNxLEAST64): Likewise.
38193 [C99-based-standards] (PRIdFAST64): Likewise.
38194 [C99-based-standards] (PRIiFAST64): Likewise.
38195 [C99-based-standards] (PRIoFAST64): Likewise.
38196 [C99-based-standards] (PRIuFAST64): Likewise.
38197 [C99-based-standards] (PRIxFAST64): Likewise.
38198 [C99-based-standards] (PRIXFAST64): Likewise.
38199 [C99-based-standards] (SCNdFAST64): Likewise.
38200 [C99-based-standards] (SCNiFAST64): Likewise.
38201 [C99-based-standards] (SCNoFAST64): Likewise.
38202 [C99-based-standards] (SCNuFAST64): Likewise.
38203 [C99-based-standards] (SCNxFAST64): Likewise.
38204 [C99-based-standards] (PRIdMAX): Likewise.
38205 [C99-based-standards] (PRIiMAX): Likewise.
38206 [C99-based-standards] (PRIoMAX): Likewise.
38207 [C99-based-standards] (PRIuMAX): Likewise.
38208 [C99-based-standards] (PRIxMAX): Likewise.
38209 [C99-based-standards] (PRIXMAX): Likewise.
38210 [C99-based-standards] (SCNdMAX): Likewise.
38211 [C99-based-standards] (SCNiMAX): Likewise.
38212 [C99-based-standards] (SCNoMAX): Likewise.
38213 [C99-based-standards] (SCNuMAX): Likewise.
38214 [C99-based-standards] (SCNxMAX): Likewise.
38215 [C99-based-standards] (PRIdPTR): Likewise.
38216 [C99-based-standards] (PRIiPTR): Likewise.
38217 [C99-based-standards] (PRIoPTR): Likewise.
38218 [C99-based-standards] (PRIuPTR): Likewise.
38219 [C99-based-standards] (PRIxPTR): Likewise.
38220 [C99-based-standards] (PRIXPTR): Likewise.
38221 [C99-based-standards] (SCNdPTR): Likewise.
38222 [C99-based-standards] (SCNiPTR): Likewise.
38223 [C99-based-standards] (SCNoPTR): Likewise.
38224 [C99-based-standards] (SCNuPTR): Likewise.
38225 [C99-based-standards] (SCNxPTR): Likewise.
38226 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
38227 allow.
38228 * conform/data/stdint.h-data: Update comments to clarify
38229 requirements.
38230 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
38231 type.
38232 [C99-based standards] (INT8_MAX): Likewise.
38233 [C99-based standards] (INT16_MIN): Likewise.
38234 [C99-based standards] (INT16_MAX): Likewise.
38235 [C99-based standards] (INT32_MIN): Likewise.
38236 [C99-based standards] (INT32_MAX): Likewise.
38237 [C99-based standards] (INT64_MIN): Likewise.
38238 [C99-based standards] (INT64_MAX): Likewise.
38239 [C99-based standards] (UINT8_MAX): Likewise.
38240 [C99-based standards] (UINT16_MAX): Likewise.
38241 [C99-based standards] (UINT32_MAX): Likewise.
38242 [C99-based standards] (UINT64_MAX): Likewise.
38243 [C99-based standards] (INT_LEAST8_MIN): Likewise.
38244 [C99-based standards] (INT_LEAST8_MAX): Likewise.
38245 [C99-based standards] (INT_LEAST16_MIN): Likewise.
38246 [C99-based standards] (INT_LEAST16_MAX): Likewise.
38247 [C99-based standards] (INT_LEAST32_MIN): Likewise.
38248 [C99-based standards] (INT_LEAST32_MAX): Likewise.
38249 [C99-based standards] (INT_LEAST64_MIN): Likewise.
38250 [C99-based standards] (INT_LEAST64_MAX): Likewise.
38251 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
38252 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
38253 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
38254 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
38255 [C99-based standards] (INT_FAST8_MIN): Likewise.
38256 [C99-based standards] (INT_FAST8_MAX): Likewise.
38257 [C99-based standards] (INT_FAST16_MIN): Likewise.
38258 [C99-based standards] (INT_FAST16_MAX): Likewise.
38259 [C99-based standards] (INT_FAST32_MIN): Likewise.
38260 [C99-based standards] (INT_FAST32_MAX): Likewise.
38261 [C99-based standards] (INT_FAST64_MIN): Likewise.
38262 [C99-based standards] (INT_FAST64_MAX): Likewise.
38263 [C99-based standards] (UINT_FAST8_MAX): Likewise.
38264 [C99-based standards] (UINT_FAST16_MAX): Likewise.
38265 [C99-based standards] (UINT_FAST32_MAX): Likewise.
38266 [C99-based standards] (UINT_FAST64_MAX): Likewise.
38267 [C99-based standards] (INTPTR_MIN): Likewise.
38268 [C99-based standards] (INTPTR_MAX): Likewise.
38269 [C99-based standards] (UINTPTR_MAX): Likewise.
38270 [C99-based standards] (INTMAX_MIN): Likewise.
38271 [C99-based standards] (INTMAX_MAX): Likewise.
38272 [C99-based standards] (UINTMAX_MAX): Likewise.
38273 [C99-based standards] (PTRDIFF_MIN): Likewise.
38274 [C99-based standards] (PTRDIFF_MAX): Likewise.
38275 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
38276 [C99-based standards] (SIZE_MAX): Likewise.
38277 [C99-based standards] (WCHAR_MAX): Likewise.
38278 [C99-based standards] (WINT_MAX): Likewise.
38279 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
38280 constraint on value.
38281 [C99-based standards] (WCHAR_MIN): Likewise.
38282 [C99-based standards] (WINT_MIN): Likewise.
38283 [C99-based standards] (*_t): Allow.
38284 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
38285 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
38286 Include math.h-data and complex.h-data. Remove all expectations
38287 of math.h and complex.h contents.
38288 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
38289 at end of line.
38290 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
38291 (struct tm): Expect tag.
38292 [C99-based-standards] (wcstof): Expect function.
38293 [C99-based-standards] (wcstold): Likewise.
38294 [C99-based-standards] (wcstoll): Likewise.
38295 [C99-based-standards] (wcstoull): Likewise.
38296 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
38297 macro-int-constant. Specify type.
38298 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
38299 constraint on value.
38300 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38301 Specify type.
38302 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
38303 Specify value.
38304 [ISO C standards]: Do not allow headers.
38305 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
38306 wcs[abcdefghijklmnopqrstuvwxyz]*.
38307 [ISO C standards] (*_t): Do not allow.
38308 * conform/data/wctype.h-data [C99-based standards] (iswblank):
38309 Expect function.
38310 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
38311 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
38312 Specify type.
38313 [ISO C standards]: Do not allow headers.
38314 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
38315 is[abcdefghijklmnopqrstuvwxyz]*.
38316 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
38317 to[abcdefghijklmnopqrstuvwxyz]*.
38318 [ISO C standards] (*_t): Do not allow.
38319 * conform/data/stdalign.h-data: New file.
38320 * conform/data/stdbool.h-data: Likewise.
38321 * conform/data/stdnoreturn.h-data: Likewise.
38322
38323 2012-11-07 Roland McGrath <roland@hack.frob.com>
38324
38325 [BZ #14815]
38326 * manual/filesys.texi (Directory Entries): Typo fix.
38327 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
38328
38329 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
38330
38331 * elf/elf.h (EM_AARCH64): New macro.
38332 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
38333 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
38334 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
38335 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
38336 (R_AARCH64_TLSDESC): Likewise.
38337 (NT_ARM_TLS): Likewise.
38338 (NT_ARM_HW_BREAK): Likewise.
38339 (NT_ARM_HW_WATCH): Likewise.
38340
38341 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38342
38343 [BZ #14811]
38344 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
38345 (__ieee754_powl): Saturate nonzero exponents with absolute value
38346 below 0x1p-79 to +/- 0x1p-79.
38347 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
38348 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
38349 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
38350 nonzero exponents with absolute value below 0x1p-32 to +/-
38351 0x1p-32.
38352 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
38353 (__ieee754_powl): Saturate nonzero exponents with absolute value
38354 below 0x1p-79 to +/- 0x1p-79.
38355 * math/libm-test.inc (pow_test): Add more tests.
38356
38357 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38358
38359 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
38360 _dl_s390_cap_flags with kernel. Increase string length.
38361 (_dl_s390_platforms): Add z196 and zEC12.
38362
38363 2012-11-07 Joseph Myers <joseph@codesourcery.com>
38364
38365 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
38366 Change XOPEN21K to XOPEN2K.
38367
38368 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
38369
38370 * string/memmove.c: Use memcpy when possible.
38371
38372 2012-11-06 Andreas Jaeger <aj@suse.de>
38373
38374 * po/eo.po: Update from translation team.
38375
38376 2012-11-06 Joseph Myers <joseph@codesourcery.com>
38377
38378 [BZ #14793]
38379 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
38380 exponent and small x and y exponents, scale x or y up. Increase
38381 by 2 the exponent used in scaling up.
38382 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38383 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38384 * math/libm-test.inc (fma_test): Add more tests.
38385 (fma_test_towardzero): Likewise.
38386 (fma_test_downward): Likewise.
38387 (fma_test_upward): Likewise.
38388
38389 2012-11-05 Joseph Myers <joseph@codesourcery.com>
38390
38391 [BZ #14805]
38392 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
38393 fenv_t *.
38394
38395 [BZ #14801]
38396 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
38397 namespace for names of struct fields.
38398 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
38399 fenv_t fields.
38400 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38401 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
38402
38403 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
38404
38405 [BZ #3665]
38406 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
38407
38408 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
38409
38410 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
38411 PTR_DEMANGLE.
38412
38413 [BZ #5246]
38414 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
38415 PTR_DEMANGLE.
38416
38417 2012-11-04 Joseph Myers <joseph@codesourcery.com>
38418
38419 [BZ #14797]
38420 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
38421 definitely overflow as x * y not x * y + z.
38422 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38423 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38424 * math/libm-test.inc (fma_test): Add more tests.
38425 (fma_test_towardzero): Likewise.
38426 (fma_test_downward): Likewise.
38427 (fma_test_upward): Likewise.
38428
38429 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
38430
38431 [BZ #157]
38432
38433 * include/stub-tag.h: Remove file.
38434 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
38435 '#include' of it.
38436 * manual/maint.texi (Porting): Don't reference it.
38437 * Makerules ($(objpfx)stubs): Likewise.
38438 * dirent/closedir.c: Don't include <stub-tag.h>.
38439 * dirent/dirfd.c: Likewise.
38440 * dirent/fdopendir.c: Likewise.
38441 * dirent/getdents.c: Likewise.
38442 * dirent/getdents64.c: Likewise.
38443 * dirent/opendir.c: Likewise.
38444 * dirent/readdir.c: Likewise.
38445 * dirent/readdir64.c: Likewise.
38446 * dirent/readdir64_r.c: Likewise.
38447 * dirent/readdir_r.c: Likewise.
38448 * dirent/rewinddir.c: Likewise.
38449 * dirent/seekdir.c: Likewise.
38450 * dirent/telldir.c: Likewise.
38451 * gmon/profil.c: Likewise.
38452 * grp/setgroups.c: Likewise.
38453 * inet/if_index.c: Likewise.
38454 * io/access.c: Likewise.
38455 * io/chdir.c: Likewise.
38456 * io/chmod.c: Likewise.
38457 * io/chown.c: Likewise.
38458 * io/close.c: Likewise.
38459 * io/dup.c: Likewise.
38460 * io/dup2.c: Likewise.
38461 * io/dup3.c: Likewise.
38462 * io/euidaccess.c: Likewise.
38463 * io/faccessat.c: Likewise.
38464 * io/fchdir.c: Likewise.
38465 * io/fchmod.c: Likewise.
38466 * io/fchmodat.c: Likewise.
38467 * io/fchown.c: Likewise.
38468 * io/fchownat.c: Likewise.
38469 * io/fcntl.c: Likewise.
38470 * io/flock.c: Likewise.
38471 * io/fstatfs.c: Likewise.
38472 * io/fstatfs64.c: Likewise.
38473 * io/fstatvfs.c: Likewise.
38474 * io/fstatvfs64.c: Likewise.
38475 * io/futimens.c: Likewise.
38476 * io/fxstat.c: Likewise.
38477 * io/fxstat64.c: Likewise.
38478 * io/fxstatat.c: Likewise.
38479 * io/fxstatat64.c: Likewise.
38480 * io/getcwd.c: Likewise.
38481 * io/isatty.c: Likewise.
38482 * io/lchmod.c: Likewise.
38483 * io/lchown.c: Likewise.
38484 * io/link.c: Likewise.
38485 * io/linkat.c: Likewise.
38486 * io/lseek.c: Likewise.
38487 * io/lseek64.c: Likewise.
38488 * io/lxstat64.c: Likewise.
38489 * io/mkdir.c: Likewise.
38490 * io/mkdirat.c: Likewise.
38491 * io/mkfifo.c: Likewise.
38492 * io/mkfifoat.c: Likewise.
38493 * io/open.c: Likewise.
38494 * io/open64.c: Likewise.
38495 * io/openat.c: Likewise.
38496 * io/openat64.c: Likewise.
38497 * io/pipe.c: Likewise.
38498 * io/pipe2.c: Likewise.
38499 * io/poll.c: Likewise.
38500 * io/posix_fadvise.c: Likewise.
38501 * io/posix_fadvise64.c: Likewise.
38502 * io/posix_fallocate.c: Likewise.
38503 * io/posix_fallocate64.c: Likewise.
38504 * io/read.c: Likewise.
38505 * io/readlink.c: Likewise.
38506 * io/readlinkat.c: Likewise.
38507 * io/rmdir.c: Likewise.
38508 * io/sendfile.c: Likewise.
38509 * io/sendfile64.c: Likewise.
38510 * io/statfs.c: Likewise.
38511 * io/statfs64.c: Likewise.
38512 * io/statvfs.c: Likewise.
38513 * io/statvfs64.c: Likewise.
38514 * io/symlink.c: Likewise.
38515 * io/symlinkat.c: Likewise.
38516 * io/ttyname.c: Likewise.
38517 * io/ttyname_r.c: Likewise.
38518 * io/umask.c: Likewise.
38519 * io/unlink.c: Likewise.
38520 * io/unlinkat.c: Likewise.
38521 * io/utime.c: Likewise.
38522 * io/utimensat.c: Likewise.
38523 * io/write.c: Likewise.
38524 * io/xmknod.c: Likewise.
38525 * io/xmknodat.c: Likewise.
38526 * io/xstat.c: Likewise.
38527 * io/xstat64.c: Likewise.
38528 * login/getpt.c: Likewise.
38529 * login/grantpt.c: Likewise.
38530 * login/unlockpt.c: Likewise.
38531 * math/e_acoshl.c: Likewise.
38532 * math/e_acosl.c: Likewise.
38533 * math/e_asinl.c: Likewise.
38534 * math/e_atan2l.c: Likewise.
38535 * math/e_atanhl.c: Likewise.
38536 * math/e_coshl.c: Likewise.
38537 * math/e_expl.c: Likewise.
38538 * math/e_fmodl.c: Likewise.
38539 * math/e_gammal_r.c: Likewise.
38540 * math/e_hypotl.c: Likewise.
38541 * math/e_j0l.c: Likewise.
38542 * math/e_j1l.c: Likewise.
38543 * math/e_jnl.c: Likewise.
38544 * math/e_lgammal_r.c: Likewise.
38545 * math/e_log10l.c: Likewise.
38546 * math/e_log2l.c: Likewise.
38547 * math/e_logl.c: Likewise.
38548 * math/e_powl.c: Likewise.
38549 * math/e_rem_pio2l.c: Likewise.
38550 * math/e_sinhl.c: Likewise.
38551 * math/e_sqrtl.c: Likewise.
38552 * math/fclrexcpt.c: Likewise.
38553 * math/fedisblxcpt.c: Likewise.
38554 * math/feenablxcpt.c: Likewise.
38555 * math/fegetenv.c: Likewise.
38556 * math/fegetexcept.c: Likewise.
38557 * math/fegetround.c: Likewise.
38558 * math/feholdexcpt.c: Likewise.
38559 * math/fesetenv.c: Likewise.
38560 * math/fesetround.c: Likewise.
38561 * math/feupdateenv.c: Likewise.
38562 * math/fgetexcptflg.c: Likewise.
38563 * math/fraiseexcpt.c: Likewise.
38564 * math/fsetexcptflg.c: Likewise.
38565 * math/ftestexcept.c: Likewise.
38566 * math/k_cosl.c: Likewise.
38567 * math/k_rem_pio2l.c: Likewise.
38568 * math/k_sinl.c: Likewise.
38569 * math/k_tanl.c: Likewise.
38570 * math/s_asinhl.c: Likewise.
38571 * math/s_atanl.c: Likewise.
38572 * math/s_cbrtl.c: Likewise.
38573 * math/s_erfl.c: Likewise.
38574 * math/s_expm1l.c: Likewise.
38575 * math/s_log1pl.c: Likewise.
38576 * math/s_tanhl.c: Likewise.
38577 * misc/acct.c: Likewise.
38578 * misc/brk.c: Likewise.
38579 * misc/chflags.c: Likewise.
38580 * misc/chroot.c: Likewise.
38581 * misc/fchflags.c: Likewise.
38582 * misc/fgetxattr.c: Likewise.
38583 * misc/flistxattr.c: Likewise.
38584 * misc/fremovexattr.c: Likewise.
38585 * misc/fsetxattr.c: Likewise.
38586 * misc/fsync.c: Likewise.
38587 * misc/ftruncate.c: Likewise.
38588 * misc/futimes.c: Likewise.
38589 * misc/futimesat.c: Likewise.
38590 * misc/getdomain.c: Likewise.
38591 * misc/getdtsz.c: Likewise.
38592 * misc/gethostid.c: Likewise.
38593 * misc/gethostname.c: Likewise.
38594 * misc/getloadavg.c: Likewise.
38595 * misc/getpagesize.c: Likewise.
38596 * misc/getsysstats.c: Likewise.
38597 * misc/getxattr.c: Likewise.
38598 * misc/gtty.c: Likewise.
38599 * misc/ioctl.c: Likewise.
38600 * misc/lgetxattr.c: Likewise.
38601 * misc/listxattr.c: Likewise.
38602 * misc/llistxattr.c: Likewise.
38603 * misc/lremovexattr.c: Likewise.
38604 * misc/lsetxattr.c: Likewise.
38605 * misc/lutimes.c: Likewise.
38606 * misc/madvise.c: Likewise.
38607 * misc/mincore.c: Likewise.
38608 * misc/mlock.c: Likewise.
38609 * misc/mlockall.c: Likewise.
38610 * misc/mmap.c: Likewise.
38611 * misc/mprotect.c: Likewise.
38612 * misc/msync.c: Likewise.
38613 * misc/munlock.c: Likewise.
38614 * misc/munlockall.c: Likewise.
38615 * misc/munmap.c: Likewise.
38616 * misc/preadv.c: Likewise.
38617 * misc/preadv64.c: Likewise.
38618 * misc/ptrace.c: Likewise.
38619 * misc/pwritev.c: Likewise.
38620 * misc/pwritev64.c: Likewise.
38621 * misc/readv.c: Likewise.
38622 * misc/reboot.c: Likewise.
38623 * misc/remap_file_pages.c: Likewise.
38624 * misc/removexattr.c: Likewise.
38625 * misc/revoke.c: Likewise.
38626 * misc/select.c: Likewise.
38627 * misc/setdomain.c: Likewise.
38628 * misc/setegid.c: Likewise.
38629 * misc/seteuid.c: Likewise.
38630 * misc/sethostid.c: Likewise.
38631 * misc/sethostname.c: Likewise.
38632 * misc/setregid.c: Likewise.
38633 * misc/setreuid.c: Likewise.
38634 * misc/setxattr.c: Likewise.
38635 * misc/sstk.c: Likewise.
38636 * misc/stty.c: Likewise.
38637 * misc/swapoff.c: Likewise.
38638 * misc/swapon.c: Likewise.
38639 * misc/sync.c: Likewise.
38640 * misc/syncfs.c: Likewise.
38641 * misc/syscall.c: Likewise.
38642 * misc/truncate.c: Likewise.
38643 * misc/ualarm.c: Likewise.
38644 * misc/usleep.c: Likewise.
38645 * misc/ustat.c: Likewise.
38646 * misc/utimes.c: Likewise.
38647 * misc/vhangup.c: Likewise.
38648 * misc/writev.c: Likewise.
38649 * posix/_exit.c: Likewise.
38650 * posix/alarm.c: Likewise.
38651 * posix/execve.c: Likewise.
38652 * posix/fexecve.c: Likewise.
38653 * posix/fork.c: Likewise.
38654 * posix/fpathconf.c: Likewise.
38655 * posix/getaddrinfo.c: Likewise.
38656 * posix/getegid.c: Likewise.
38657 * posix/geteuid.c: Likewise.
38658 * posix/getgid.c: Likewise.
38659 * posix/getgroups.c: Likewise.
38660 * posix/getlogin.c: Likewise.
38661 * posix/getlogin_r.c: Likewise.
38662 * posix/getpgid.c: Likewise.
38663 * posix/getpid.c: Likewise.
38664 * posix/getppid.c: Likewise.
38665 * posix/getresgid.c: Likewise.
38666 * posix/getresuid.c: Likewise.
38667 * posix/getsid.c: Likewise.
38668 * posix/getuid.c: Likewise.
38669 * posix/glob64.c: Likewise.
38670 * posix/nanosleep.c: Likewise.
38671 * posix/pathconf.c: Likewise.
38672 * posix/pause.c: Likewise.
38673 * posix/posix_madvise.c: Likewise.
38674 * posix/pread.c: Likewise.
38675 * posix/pread64.c: Likewise.
38676 * posix/pwrite.c: Likewise.
38677 * posix/pwrite64.c: Likewise.
38678 * posix/sched_getaffinity.c: Likewise.
38679 * posix/sched_getp.c: Likewise.
38680 * posix/sched_gets.c: Likewise.
38681 * posix/sched_primax.c: Likewise.
38682 * posix/sched_primin.c: Likewise.
38683 * posix/sched_rr_gi.c: Likewise.
38684 * posix/sched_setaffinity.c: Likewise.
38685 * posix/sched_setp.c: Likewise.
38686 * posix/sched_sets.c: Likewise.
38687 * posix/sched_yield.c: Likewise.
38688 * posix/setgid.c: Likewise.
38689 * posix/setlogin.c: Likewise.
38690 * posix/setpgid.c: Likewise.
38691 * posix/setresgid.c: Likewise.
38692 * posix/setresuid.c: Likewise.
38693 * posix/setsid.c: Likewise.
38694 * posix/setuid.c: Likewise.
38695 * posix/sleep.c: Likewise.
38696 * posix/spawni.c: Likewise.
38697 * posix/sysconf.c: Likewise.
38698 * posix/times.c: Likewise.
38699 * posix/wait.c: Likewise.
38700 * posix/wait3.c: Likewise.
38701 * posix/wait4.c: Likewise.
38702 * posix/waitpid.c: Likewise.
38703 * resolv/gai_sigqueue.c: Likewise.
38704 * resource/getpriority.c: Likewise.
38705 * resource/getrlimit.c: Likewise.
38706 * resource/getrusage.c: Likewise.
38707 * resource/nice.c: Likewise.
38708 * resource/setpriority.c: Likewise.
38709 * resource/setrlimit.c: Likewise.
38710 * resource/ulimit.c: Likewise.
38711 * rt/aio_cancel.c: Likewise.
38712 * rt/aio_fsync.c: Likewise.
38713 * rt/aio_read.c: Likewise.
38714 * rt/aio_sigqueue.c: Likewise.
38715 * rt/aio_suspend.c: Likewise.
38716 * rt/aio_write.c: Likewise.
38717 * rt/clock_getres.c: Likewise.
38718 * rt/clock_gettime.c: Likewise.
38719 * rt/clock_nanosleep.c: Likewise.
38720 * rt/clock_settime.c: Likewise.
38721 * rt/lio_listio.c: Likewise.
38722 * rt/mq_close.c: Likewise.
38723 * rt/mq_getattr.c: Likewise.
38724 * rt/mq_notify.c: Likewise.
38725 * rt/mq_open.c: Likewise.
38726 * rt/mq_receive.c: Likewise.
38727 * rt/mq_send.c: Likewise.
38728 * rt/mq_setattr.c: Likewise.
38729 * rt/mq_timedreceive.c: Likewise.
38730 * rt/mq_timedsend.c: Likewise.
38731 * rt/mq_unlink.c: Likewise.
38732 * rt/shm_open.c: Likewise.
38733 * rt/shm_unlink.c: Likewise.
38734 * rt/timer_create.c: Likewise.
38735 * rt/timer_delete.c: Likewise.
38736 * rt/timer_getoverr.c: Likewise.
38737 * rt/timer_gettime.c: Likewise.
38738 * rt/timer_settime.c: Likewise.
38739 * setjmp/__longjmp.c: Likewise.
38740 * setjmp/setjmp.c: Likewise.
38741 * signal/kill.c: Likewise.
38742 * signal/killpg.c: Likewise.
38743 * signal/raise.c: Likewise.
38744 * signal/sigaction.c: Likewise.
38745 * signal/sigaltstack.c: Likewise.
38746 * signal/sigblock.c: Likewise.
38747 * signal/sigignore.c: Likewise.
38748 * signal/sigintr.c: Likewise.
38749 * signal/signal.c: Likewise.
38750 * signal/sigpause.c: Likewise.
38751 * signal/sigpending.c: Likewise.
38752 * signal/sigqueue.c: Likewise.
38753 * signal/sigreturn.c: Likewise.
38754 * signal/sigset.c: Likewise.
38755 * signal/sigsetmask.c: Likewise.
38756 * signal/sigstack.c: Likewise.
38757 * signal/sigsuspend.c: Likewise.
38758 * signal/sigtimedwait.c: Likewise.
38759 * signal/sigvec.c: Likewise.
38760 * signal/sigwait.c: Likewise.
38761 * signal/sigwaitinfo.c: Likewise.
38762 * signal/sysv_signal.c: Likewise.
38763 * socket/accept.c: Likewise.
38764 * socket/accept4.c: Likewise.
38765 * socket/bind.c: Likewise.
38766 * socket/connect.c: Likewise.
38767 * socket/getpeername.c: Likewise.
38768 * socket/getsockname.c: Likewise.
38769 * socket/getsockopt.c: Likewise.
38770 * socket/isfdtype.c: Likewise.
38771 * socket/listen.c: Likewise.
38772 * socket/recv.c: Likewise.
38773 * socket/recvfrom.c: Likewise.
38774 * socket/recvmsg.c: Likewise.
38775 * socket/send.c: Likewise.
38776 * socket/sendmsg.c: Likewise.
38777 * socket/sendto.c: Likewise.
38778 * socket/setsockopt.c: Likewise.
38779 * socket/shutdown.c: Likewise.
38780 * socket/sockatmark.c: Likewise.
38781 * socket/socket.c: Likewise.
38782 * socket/socketpair.c: Likewise.
38783 * stdio-common/ctermid.c: Likewise.
38784 * stdio-common/cuserid.c: Likewise.
38785 * stdio-common/remove.c: Likewise.
38786 * stdio-common/rename.c: Likewise.
38787 * stdio-common/renameat.c: Likewise.
38788 * stdio-common/tempname.c: Likewise.
38789 * stdlib/getcontext.c: Likewise.
38790 * stdlib/makecontext.c: Likewise.
38791 * stdlib/setcontext.c: Likewise.
38792 * stdlib/swapcontext.c: Likewise.
38793 * stdlib/system.c: Likewise.
38794 * streams/fattach.c: Likewise.
38795 * streams/fdetach.c: Likewise.
38796 * streams/getmsg.c: Likewise.
38797 * streams/getpmsg.c: Likewise.
38798 * streams/putmsg.c: Likewise.
38799 * streams/putpmsg.c: Likewise.
38800 * sysdeps/unix/bsd/getpt.c: Likewise.
38801 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
38802 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
38803 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38805 Likewise.
38806 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
38807 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38808 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38809 * sysvipc/msgctl.c: Likewise.
38810 * sysvipc/msgget.c: Likewise.
38811 * sysvipc/msgrcv.c: Likewise.
38812 * sysvipc/msgsnd.c: Likewise.
38813 * sysvipc/semctl.c: Likewise.
38814 * sysvipc/semget.c: Likewise.
38815 * sysvipc/semop.c: Likewise.
38816 * sysvipc/semtimedop.c: Likewise.
38817 * sysvipc/shmat.c: Likewise.
38818 * sysvipc/shmctl.c: Likewise.
38819 * sysvipc/shmdt.c: Likewise.
38820 * sysvipc/shmget.c: Likewise.
38821 * termios/tcdrain.c: Likewise.
38822 * termios/tcflow.c: Likewise.
38823 * termios/tcflush.c: Likewise.
38824 * termios/tcgetattr.c: Likewise.
38825 * termios/tcgetpgrp.c: Likewise.
38826 * termios/tcsendbrk.c: Likewise.
38827 * termios/tcsetattr.c: Likewise.
38828 * termios/tcsetpgrp.c: Likewise.
38829 * time/adjtime.c: Likewise.
38830 * time/clock.c: Likewise.
38831 * time/getitimer.c: Likewise.
38832 * time/gettimeofday.c: Likewise.
38833 * time/setitimer.c: Likewise.
38834 * time/settimeofday.c: Likewise.
38835 * time/stime.c: Likewise.
38836 * time/time.c: Likewise.
38837
38838 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
38839
38840 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
38841 /usr/old/bin.
38842
38843 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
38844 instead of spaces.
38845 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
38846
38847 2012-11-03 Joseph Myers <joseph@codesourcery.com>
38848
38849 [BZ #14796]
38850 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
38851 FE_TONEAREST before applying Dekker multiplication and Knuth
38852 addition. Clear inexact exceptions and check for exact zero
38853 results afterwards.
38854 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38855 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38856 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38857 * math/libm-test.inc (fma_test): Add more tests.
38858 (fma_test_towardzero): Likewise.
38859 (fma_test_downward): Likewise.
38860 (fma_test_upward): Likewise.
38861 * sysdeps/generic/math_private.h (default_libc_fesetround): New
38862 function.
38863 (libc_fesetround): New macro.
38864 (libc_fesetroundf): Likewise.
38865 (libc_fesetroundl): Likewise.
38866 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
38867 function.
38868 (libc_fesetround_387): Likewise.
38869 (libc_fesetroundf): New macro.
38870 (libc_fesetround): Likewise.
38871 (libc_fesetroundl): Likewise.
38872 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
38873 function.
38874 (libc_fesetroundf): New macro.
38875 (libc_fesetround): Likewise.
38876 (libc_fesetroundl): Likewise.
38877 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
38878 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
38879 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
38880 libm_hidden_ver.
38881 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
38882 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
38883 libm_hidden_def.
38884 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
38885 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
38886 libm_hidden_ver.
38887 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
38888 libm_hidden_def.
38889
38890 [BZ #3439]
38891 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
38892 integer constant usable in #if and use that to give value to enum
38893 constant.
38894 (FE_DIVBYZERO): Likewise.
38895 (FE_UNDERFLOW): Likewise.
38896 (FE_OVERFLOW): Likewise.
38897 (FE_INVALID): Likewise.
38898 (FE_INVALID_SNAN): Likewise.
38899 (FE_INVALID_ISI): Likewise.
38900 (FE_INVALID_IDI): Likewise.
38901 (FE_INVALID_ZDZ): Likewise.
38902 (FE_INVALID_IMZ): Likewise.
38903 (FE_INVALID_COMPARE): Likewise.
38904 (FE_INVALID_SOFTWARE): Likewise.
38905 (FE_INVALID_SQRT): Likewise.
38906 (FE_INVALID_INTEGER_CONVERSION): Likewise.
38907 (FE_TONEAREST): Likewise.
38908 (FE_TOWARDZERO): Likewise.
38909 (FE_UPWARD): Likewise.
38910 (FE_DOWNWARD): Likewise.
38911 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
38912 (FE_DIVBYZERO): Likewise.
38913 (FE_OVERFLOW): Likewise.
38914 (FE_UNDERFLOW): Likewise.
38915 (FE_INEXACT): Likewise.
38916 (FE_TONEAREST): Likewise.
38917 (FE_DOWNWARD): Likewise.
38918 (FE_UPWARD): Likewise.
38919 (FE_TOWARDZERO): Likewise.
38920 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
38921 (FE_UNDERFLOW): Likewise.
38922 (FE_OVERFLOW): Likewise.
38923 (FE_DIVBYZERO): Likewise.
38924 (FE_INVALID): Likewise.
38925 (FE_TONEAREST): Likewise.
38926 (FE_TOWARDZERO): Likewise.
38927 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
38928 (FE_OVERFLOW): Likewise.
38929 (FE_UNDERFLOW): Likewise.
38930 (FE_DIVBYZERO): Likewise.
38931 (FE_INEXACT): Likewise.
38932 (FE_TONEAREST): Likewise.
38933 (FE_TOWARDZERO): Likewise.
38934 (FE_UPWARD): Likewise.
38935 (FE_DOWNWARD): Likewise.
38936 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
38937 (FE_DIVBYZERO): Likewise.
38938 (FE_OVERFLOW): Likewise.
38939 (FE_UNDERFLOW): Likewise.
38940 (FE_INEXACT): Likewise.
38941 (FE_TONEAREST): Likewise.
38942 (FE_DOWNWARD): Likewise.
38943 (FE_UPWARD): Likewise.
38944 (FE_TOWARDZERO): Likewise.
38945
38946 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
38947
38948 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
38949
38950 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
38951
38952 * scripts/cross-test-ssh.sh (command): Use newlines to separate
38953 commands. Quote $PWD.
38954 (blacklist_exports): Don't use remove_newlines. Replace "declare
38955 -x" by "export".
38956 (remove_newlines): Remove.
38957
38958 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
38959
38960 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
38961 * stdlib/stdlib.h (atof): Moved to ...
38962 * include/bits/stdlib-float.h: Here. New file.
38963 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
38964 * stdlib/bits/stdlib-float.h: New file.
38965 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
38966 -mno-sse -mno-mmx.
38967 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
38968 <xmmintrin.h>.
38969
38970 2012-11-02 Joseph Myers <joseph@codesourcery.com>
38971
38972 * conform/conformtest.pl (@headers): Add fenv.h.
38973 * conform/data/fenv.h-data: New file.
38974 * include/fenv.h [_ISOMAC]: Disable all contents of file except
38975 include of <math/fenv.h>.
38976
38977 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
38978 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
38979 && !UNIX98]. Enables tests for XOPEN2K8.
38980 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
38981 POSIX2008]: Likewise.
38982
38983 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
38984 (struct rusage): Do not expect type or its members.
38985
38986 [BZ #3439]
38987 * math/math.h (FP_NAN): Define macro to integer constant usable in
38988 #if and use that to give value to enum constant.
38989 (FP_INFINITE): Likewise.
38990 (FP_ZERO): Likewise.
38991 (FP_SUBNORMAL): Likewise.
38992 (FP_NORMAL): Likewise.
38993
38994 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
38995
38996 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
38997 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
38998 arguments.
38999
39000 2012-11-02 Roland McGrath <roland@hack.frob.com>
39001
39002 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
39003 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
39004 autoconf-time if not.
39005 * configure.in: Remove AC_PREREQ.
39006
39007 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39008
39009 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
39010 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
39011 of the internal implementation.
39012
39013 2012-11-02 Joseph Myers <joseph@codesourcery.com>
39014
39015 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
39016 except include of <misc/sys/syslog.h>.
39017
39018 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
39019
39020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
39021 function returns with a NULL context exit with zero.
39022
39023 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39024
39025 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
39026
39027 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
39028
39029 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
39030 (run_program_cmd): This.
39031 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39032 (tst_langinfo): New variable. Use it.
39033
39034 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
39035
39036 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
39037 floating point opcodes.
39038
39039 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39040
39041 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
39042 variable.
39043
39044 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
39045
39046 * sysdeps/mach/hurd/powerpc: Remove directory.
39047 * sysdeps/mach/powerpc: Likewise.
39048
39049 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
39050
39051 * scripts/check-local-headers.sh: Ignore c++ headers.
39052
39053 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39054
39055 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
39056 __libc_cleanup_region_start argument.
39057
39058 2012-11-01 Joseph Myers <joseph@codesourcery.com>
39059
39060 [BZ #14784]
39061 [BZ #14785]
39062 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
39063 x * y using scaling, not as x * y + z.
39064 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39065 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39066 * math/libm-test.inc (fma_test): Add more tests.
39067 (fma_test_towardzero): Likewise.
39068 (fma_test_downward): Likewise.
39069 (fma_test_upward): Likewise.
39070
39071 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
39072
39073 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
39074
39075 2012-10-31 Joseph Myers <joseph@codesourcery.com>
39076
39077 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
39078 New variable.
39079
39080 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
39081
39082 * rt/tst-shm.c (worker): Correct checking for mmap failure.
39083
39084 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39085
39086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39087 Fix sort order.
39088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39089 Likewise.
39090
39091 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
39092
39093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39094 Fix the order of the list for glibc 2.17.
39095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39096 Likewise.
39097
39098 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
39099
39100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39101
39102 2012-10-31 Joseph Myers <joseph@codesourcery.com>
39103
39104 [BZ #14610]
39105 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
39106 for low part of x being zero before using __atanl (y).
39107 * math/libm-test.inc (atan2_test): Add another test.
39108
39109 * manual/install.texi (Configuring and compiling): Document
39110 general use of test-wrapper and test-wrapper-env.
39111 * INSTALL: Regenerated.
39112
39113 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
39114 (__fma): Do not extract and scale down low bits on after-rounding
39115 systems when result rounded to normal precision would have normal
39116 exponent.
39117 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
39118 (__fmal): Do not extract and scale down low bits on after-rounding
39119 systems when result rounded to normal precision would have normal
39120 exponent.
39121 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
39122 (__fmal): Do not extract and scale down low bits on after-rounding
39123 systems when result rounded to normal precision would have normal
39124 exponent.
39125 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
39126 macro.
39127 (fma_test): Add more tests.
39128 (fma_test_towardzero): Likewise.
39129 (fma_test_downward): Likewise.
39130 (fma_test_upward): Likewise.
39131
39132 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
39133
39134 * sysdeps/i386/tininess.h: Renamed to ...
39135 * sysdeps/x86/tininess.h: This.
39136 * sysdeps/x86_64/tininess.h: Removed.
39137
39138 2012-10-30 Joseph Myers <joseph@codesourcery.com>
39139
39140 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
39141 input. Use $(build-program-cmd).
39142 ($(objpfx)tst-array1-static.out): Likewise.
39143 ($(objpfx)tst-array2.out): Likewise.
39144 ($(objpfx)tst-array3.out): Likewise.
39145 ($(objpfx)tst-array4.out): Likewise.
39146 ($(objpfx)tst-array5.out): Likewise.
39147 ($(objpfx)tst-array5-static.out): Likewise.
39148
39149 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
39150
39151 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
39152 if defined.
39153
39154 * nss/nsswitch.h (nss_interface_function): Provide new
39155 macro for use with NSS functions.
39156 * grp/initgroups.c: Use new macro.
39157 * nss/getXXbyYY.c: Likewise.
39158 * nss/getXXbyYY_r.c: Likewise.
39159 * nss/getXXent.c: Likewise.
39160 * nss/getXXent_r.c: Likewise.
39161 * sysdeps/posix/getaddrinfo.c: Likewise.
39162
39163 2012-10-30 Andreas Jaeger <aj@suse.de>
39164
39165 * po/ru.po: Update Russion translation from translation project.
39166
39167 2012-10-30 Joseph Myers <joseph@codesourcery.com>
39168
39169 [BZ #14152]
39170 [BZ #14783]
39171 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
39172 result and shift together with sticky bit instead of replicating
39173 round-to-nearest rounding.
39174 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39175 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39176 * math/libm-test.inc (fma_test): Add more tests. Do not permit
39177 missing underflow exceptions.
39178 (fma_test_towardzero): Add more tests.
39179 (fma_test_downward): Likewise.
39180 (fma_test_upward): Likewise.
39181
39182 [BZ #14047]
39183 * sysdeps/generic/tininess.h: New file.
39184 * sysdeps/i386/tininess.h: Likewise.
39185 * sysdeps/sh/tininess.h: Likewise.
39186 * sysdeps/x86_64/tininess.h: Likewise.
39187 * stdlib/tst-strtod-underflow.c: Likewise.
39188 * stdlib/tst-tininess.c: Likewise.
39189 * stdlib/strtod_l.c: Include <tininess.h>.
39190 (round_and_return): Do not set errno for exact underflow cases.
39191 Force an underflow exception when setting errno for underflow.
39192 Determine underflow based on rounding to normal precision if
39193 TININESS_AFTER_ROUNDING.
39194 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
39195 ERANGE for exact underflow cases.
39196 * stdlib/Makefile (tests): Add tst-tininess and
39197 tst-strtod-underflow.
39198 ($(objpfx)tst-tininess): Use $(link-libm).
39199 ($(objpfx)tst-strtod-underflow): Likewise.
39200
39201 2012-10-30 Andreas Jaeger <aj@suse.de>
39202
39203 [BZ#14767]
39204 * elf/Makefile (tests): Remove conditional for have-initfini-array
39205 since this is now always required and the variable does not exist
39206 anymore.
39207 (tests-static): Likewise.
39208 (modules-names): Likewise.
39209
39210 * po/eo.po: Add Esperanto translation from translation project.
39211
39212 * elf/tst-array1.c (fini_array): Make writeable so that it can be
39213 merged with constructor/destructor.
39214 (init_array): Likewise.
39215 * elf/tst-array2dep.c (fini_array): Likewise.
39216 (init_array): Likewise.
39217
39218 2012-10-29 Mike Frysinger <vapier@gentoo.org>
39219
39220 * manual/message.texi: Delete @cartouche tags.
39221
39222 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
39223
39224 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
39225 EOPNOTSUPP.
39226 * sysdeps/mach/hurd/fsync.c: Likewise.
39227
39228 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
39229 [_POSIX_REALTIME_SIGNALS]: Change condition to
39230 [_POSIX_REALTIME_SIGNALS > 0].
39231
39232 2012-10-27 Andreas Jaeger <aj@suse.de>
39233
39234 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
39235 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
39236 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
39237 [__WORDSIZE != 64]: Likewise.
39238
39239 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
39240
39241 * iconvdata/tst-table.sh: Remove ${SHELL}.
39242 * iconvdata/tst-tables.sh: Likewise.
39243
39244 2012-10-25 David S. Miller <davem@davemloft.net>
39245
39246 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39247 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
39248 of strtoull.
39249
39250 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
39251 ifunc-impl-list.c
39252 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39253 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
39254 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
39255 file.
39256
39257 2012-10-25 Roland McGrath <roland@hack.frob.com>
39258
39259 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39260 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
39261 __getdirentries.
39262
39263 2012-10-25 Joseph Myers <joseph@codesourcery.com>
39264 Jim Blandy <jimb@codesourcery.com>
39265
39266 * scripts/cross-test-ssh.sh: New file.
39267 * manual/install.texi (Configuring and compiling): Document use of
39268 cross-test-ssh.sh.
39269 * INSTALL: Regenerated.
39270
39271 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
39272
39273 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
39274 EOPNOTSUPP.
39275
39276 2012-10-25 Joseph Myers <joseph@codesourcery.com>
39277
39278 * Makeconfig (run-program-prefix): Fix comment.
39279
39280 2012-10-24 Joseph Myers <joseph@codesourcery.com>
39281 Jim Blandy <jimb@codesourcery.com>
39282
39283 * Makeconfig (test-wrapper): New variable,
39284 (test-wrapper-env): Likewise.
39285 [$(cross-compiling) = yes && $(test-wrapper) != ""]
39286 (run-built-tests): Define to yes.
39287 (run-program-prefix): Use $(test-wrapper).
39288 (built-program-cmd): Likewise.
39289 * Rules (make-test-out): Use $(test-wrapper-env) and
39290 $(host-built-program-cmd).
39291 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
39292 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
39293 tst-pathopt.sh.
39294 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
39295 $(test-wrapper-env) to tst-rtld-load-self.sh.
39296 ($(objpfx)order2.out): Use $(test-wrapper).
39297 ($(objpfx)tst-initorder.out): Likewise.
39298 ($(objpfx)tst-initorder2.out): Likewise.
39299 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
39300 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
39301 (test_wrapper_env): New variable. Use it to run ld.so.
39302 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
39303 Use it to run ld.so.
39304 (test_wrapper_env): Likewise.
39305 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
39306 $(test-wrapper) to run-iconv-test.sh.
39307 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
39308 (ICONV): Use $test_wrapper.
39309 * posix/Makefile ($(objpfx)globtest.out): Pass
39310 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
39311 globtest.sh, not $(run-program-prefix).
39312 * posix/globtest.sh (run_via_rtld_prefix): New variable.
39313 (test_wrapper): Likewise.
39314 (test_wrapper_env): Likewise. Use it to run globtest with HOME
39315 set together with run_via_rtld_prefix.
39316 (run_program_prefix): Define in terms of test_wrapper and
39317 run_via_rtld_prefix.
39318
39319 2012-10-24 Roland McGrath <roland@hack.frob.com>
39320
39321 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
39322 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
39323 Targets removed.
39324
39325 [BZ #14743]
39326 * include/time.h: Remove librt_hidden_proto (clock_gettime).
39327 Declare __clock_getres, __clock_gettime, __clock_settime,
39328 __clock_nanosleep, and __clock_getcpuclockid.
39329 * rt/clock_gettime.c: Define __clock_gettime as an alias.
39330 Remove librt_hidden_def (clock_gettime).
39331 * sysdeps/unix/clock_gettime.c: Likewise.
39332 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
39333 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
39334 * rt/clock_getres.c: Define __clock_getres as an alias.
39335 * sysdeps/posix/clock_getres.c: Likewise.
39336 * rt/clock_settime.c: Define __clock_settime as an alias.
39337 * sysdeps/unix/clock_settime.c: Likewise.
39338 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
39339 * sysdeps/unix/clock_nanosleep.c: Likewise.
39340 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
39341 * rt/clock-compat.c: New file.
39342 * rt/Makefile (librt-routines): Add clock-compat and move
39343 $(clock-routines) to ...
39344 (routines): ... here, new variable.
39345 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
39346 Don't add get_clockfreq here.
39347 * rt/Versions (libc: GLIBC_2.17): New version set.
39348 Add clock_* symbols here.
39349 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
39350 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
39351 (GLIBC_2.17): Add clock_* symbols.
39352 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39353 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39354 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39356 Likewise.
39357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39358 Likewise.
39359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39361 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39362 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39363 * NEWS: Mention the move.
39364
39365 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39366 Use __open, __read, __close rather than their public counterparts.
39367 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
39368 (__get_clockfreq_via_cpuinfo): Likewise.
39369 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
39370 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
39371
39372 * config.h.in (HAVE_IFUNC): New #undef.
39373 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
39374 was successful.
39375 * configure: Regenerated.
39376
39377 2012-10-24 Mike Frysinger <vapier@gentoo.org>
39378
39379 * configure.in: Move READELF check to start of file.
39380 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
39381 libc_cv_asm_gnu_indirect_function in the process.
39382 * configure: Regenerated.
39383
39384 2012-10-24 Mike Frysinger <vapier@gentoo.org>
39385
39386 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
39387 send the output to /dev/null.
39388 (libc_cv_cc_with_libunwind): Likewise.
39389 (libc_cv_as_noexecstack): Likewise.
39390 * configure: Regenerate.
39391
39392 2012-10-24 Joseph Myers <joseph@codesourcery.com>
39393
39394 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
39395
39396 * posix/globtest.sh (TMPDIR): Do not set.
39397 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
39398 (testout): Likewise.
39399
39400 2012-10-24 Andreas Jaeger <aj@suse.de>
39401
39402 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
39403 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
39404 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
39405 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
39406 posix_fadvise64, posix_fallocate64.
39407
39408 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
39409 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
39410 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
39411 Likewise.
39412 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
39413 Likewise.
39414 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
39415
39416 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
39417 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
39418 <bits/fcntl-linux.h>.
39419 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
39420
39421 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
39422 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
39423 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
39424 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
39425 [__WORDSIZE != 64]: Likewise.
39426
39427 2012-10-23 Joseph Myers <joseph@codesourcery.com>
39428
39429 * Makeconfig (run-built-tests): New variable.
39430 * Rules [$(cross-compiling) = yes]: Change condition to
39431 [$(run-built-tests) = no].
39432 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
39433 to [$(run-built-tests) = yes].
39434 * elf/Makefile [$(cross-compiling) = no]: Likewise
39435 * grp/Makefile [$(cross-compiling) = no]: Likewise.
39436 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
39437 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
39438 * intl/Makefile [$(cross-compiling) = no]: Likewise.
39439 * io/Makefile [$(cross-compiling) = no]: Likewise.
39440 * libio/Makefile [$(cross-compiling) = no]: Likewise.
39441 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
39442 * misc/Makefile [$(cross-compiling) = no]: Likewise.
39443 * posix/Makefile [$(cross-compiling) = no]: Likewise.
39444 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
39445 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
39446 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
39447 * string/Makefile [$(cross-compiling) = no]: Likewise.
39448
39449 * posix/Makefile ($(objpfx)globtest.out): Pass
39450 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
39451 $(rtld-installed-name).
39452 * posix/globtest.sh (elf_objpfx): Remove variable.
39453 (rtld_installed_name): Likewise.
39454 (library_path): Likewise.
39455 (run_program_prefix): New variable. Use for running globtest
39456 binary.
39457
39458 2012-10-23 Jim Blandy <jimb@codesourcery.com>
39459 Joseph Myers <joseph@codesourcery.com>
39460
39461 * Makeconfig (host-built-program-cmd): New variable.
39462 * elf/Makefile (tst-stackguard1-ARGS): Use
39463 $(host-built-program-cmd).
39464 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
39465 (tst-spawn-ARGS): Likewise.
39466 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
39467
39468 2012-10-23 Joseph Myers <joseph@codesourcery.com>
39469 Jim Blandy <jimb@codesourcery.com>
39470
39471 * Makeconfig (run-via-rtld-prefix): New variable.
39472 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
39473 (built-program-cmd): Likewise.
39474
39475 2012-10-22 Andreas Jaeger <aj@suse.de>
39476
39477 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
39478 __O_RSYNC if it exists, otherwise to O_SYNC.
39479
39480 2012-10-22 Jim Blandy <jimb@codesourcery.com>
39481 Joseph Myers <joseph@codesourcery.com>
39482
39483 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
39484 /dev/null.
39485 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
39486 from /dev/null
39487 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
39488 /dev/null.
39489
39490 2012-10-22 Andreas Jaeger <aj@suse.de>
39491
39492 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
39493 Define always.
39494 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
39495
39496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39497 bits/fcntl-linux.h.
39498
39499 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
39500 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
39501
39502 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
39503 to __O_LARGEFILE.
39504 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
39505 to __O_LARGEFILE.
39506
39507 2012-10-21 Jim Blandy <jimb@codesourcery.com>
39508 Joseph Myers <joseph@codesourcery.com>
39509
39510 * config.make.in (NM): New variable.
39511
39512 2012-10-21 Andreas Jaeger <aj@suse.de>
39513
39514 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
39515 definitions and declarations that are provided by
39516 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
39517
39518 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39519
39520 [BZ #14683]
39521 * elf/Makefile (tests-static): Add tst-leaks1-static.
39522 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
39523 ($(objpfx)tst-leaks1-static): New rule.
39524 ($(objpfx)tst-leaks1-static-mem): Likewise.
39525 (tst-leaks1-static-ENV): New macro.
39526 * elf/dl-open.c (dl_open_worker): Check the main application
39527 only if SHARED is defined.
39528 * elf/tst-leaks1-static.c: New file.
39529
39530 2012-10-20 Andreas Jaeger <aj@suse.de>
39531
39532 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
39533 generic values for Linux.
39534 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
39535 and declarations that are provided by <bits/fcntl-linux.h> and
39536 include <bits/fcntl-linux.h>.
39537 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
39538 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
39539
39540 2012-10-20 Roland McGrath <roland@hack.frob.com>
39541
39542 * io/fcntl.h: Move include of <bits/types.h> to the top and
39543 include it unconditionally.
39544
39545 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
39546
39547 * wcsmbs/Makefile (tests-ifunc): New variable.
39548 (tests): Add $(tests-ifunc).
39549 * wcsmbs/test-wcschr-ifunc.c: New file.
39550 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
39551 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
39552 * wcsmbs/test-wcslen-ifunc.c: Likewise.
39553 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
39554 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
39555
39556 * string/Makefile (tests-ifunc): New variable.
39557 (tests): Add $(tests-ifunc).
39558 * string/test-memccpy.c (TEST_NAME): New macro.
39559 * string/test-memchr.c (TEST_NAME): Likewise.
39560 * string/test-memcmp.c (TEST_NAME): Likewise.
39561 * string/test-memcpy.c (TEST_NAME): Likewise.
39562 * string/test-memmem.c (TEST_NAME): Likewise.
39563 * string/test-memmove.c (TEST_NAME): Likewise.
39564 * string/test-memset.c (TEST_NAME): Likewise.
39565 * string/test-rawmemchr.c (TEST_NAME): Likewise.
39566 * string/test-stpcpy.c (TEST_NAME): Likewise.
39567 * string/test-stpncpy.c (TEST_NAME): Likewise.
39568 * string/test-strcasecmp.c (TEST_NAME): Likewise.
39569 * string/test-strcasestr.c (TEST_NAME): Likewise.
39570 * string/test-strcat.c (TEST_NAME): Likewise.
39571 * string/test-strchr.c (TEST_NAME): Likewise.
39572 * string/test-strcmp.c(TEST_NAME): Likewise.
39573 * string/test-strcpy.c (TEST_NAME): Likewise.
39574 * string/test-strcspn.c (TEST_NAME): Likewise.
39575 * string/test-strlen.c (TEST_NAME): Likewise.
39576 * string/test-strncasecmp.c (TEST_NAME): Likewise.
39577 * string/test-strncmp.c (TEST_NAME): Likewise.
39578 * string/test-strncpy.c (TEST_NAME): Likewise.
39579 * string/test-strnlen.c (TEST_NAME): Likewise.
39580 * string/test-strpbrk.c (TEST_NAME): Likewise.
39581 * string/test-strrchr.c (TEST_NAME): Likewise.
39582 * string/test-strspn.c (TEST_NAME): Likewise.
39583 * string/test-strstr.c (TEST_NAME): Likewise.
39584 * string/test-bcopy-ifunc.c: New file.
39585 * string/test-bzero-ifunc.c: Likewise.
39586 * string/test-memccpy-ifunc.c: Likewise.
39587 * string/test-memchr-ifunc.c: Likewise.
39588 * string/test-memcmp-ifunc.c: Likewise.
39589 * string/test-memcpy-ifunc.c: Likewise.
39590 * string/test-memmem-ifunc.c: Likewise.
39591 * string/test-memmove-ifunc.c: Likewise.
39592 * string/test-mempcpy-ifunc.c: Likewise.
39593 * string/test-memset-ifunc.c: Likewise.
39594 * string/test-rawmemchr-ifunc.c: Likewise.
39595 * string/test-stpcpy-ifunc.c: Likewise.
39596 * string/test-stpncpy-ifunc.c: Likewise.
39597 * string/test-strcasecmp-ifunc.c: Likewise.
39598 * string/test-strcasestr-ifunc.c: Likewise.
39599 * string/test-strcat-ifunc.c: Likewise.
39600 * string/test-strchr-ifunc.c: Likewise.
39601 * string/test-strchrnul-ifunc.c: Likewise.
39602 * string/test-strcmp-ifunc.c: Likewise.
39603 * string/test-strcpy-ifunc.c: Likewise.
39604 * string/test-strcspn-ifunc.c: Likewise.
39605 * string/test-strlen-ifunc.c: Likewise.
39606 * string/test-strncasecmp-ifunc.c: Likewise.
39607 * string/test-strncat-ifunc.c: Likewise.
39608 * string/test-strncmp-ifunc.c: Likewise.
39609 * string/test-strncpy-ifunc.c: Likewise.
39610 * string/test-strnlen-ifunc.c: Likewise.
39611 * string/test-strpbrk-ifunc.c: Likewise.
39612 * string/test-strrchr-ifunc.c: Likewise.
39613 * string/test-strspn-ifunc.c: Likewise.
39614 * string/test-strstr-ifunc.c: Likewise.
39615
39616 * debug/Makefile (tests-ifunc): New variable.
39617 (tests): Add $(tests-ifunc).
39618 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
39619 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
39620 * debug/test-stpcpy_chk-ifunc.c: New file.
39621 * debug/test-strcpy_chk-ifunc.c: Likewise.
39622
39623 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
39624
39625 [BZ #13601]
39626 * elf/dl-load.c (open_verify): Retry read if the entire ELF
39627 header is not read in.
39628
39629 2012-10-19 Joseph Myers <joseph@codesourcery.com>
39630
39631 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
39632 script to $(SHELL) as $<. Pass $(common-objpfx) to script
39633 directly. Pass built executable to script as
39634 $(built-program-cmd).
39635 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
39636 $testprogram without using LD_LIBRARY_PATH and $ldso.
39637
39638 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
39639 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
39640 $(rtld-installed-name).
39641 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
39642 (rtld_installed_name): Likewise.
39643 (library_path): Likewise.
39644 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
39645 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
39646 $(run-program-prefix) to tst-tables.sh.
39647 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
39648 it to run tst-table-from and tst-table-to.
39649 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
39650 Pass it to tst-table.sh.
39651 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
39652 $(run-program-prefix) to tst-gettext.sh.
39653 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
39654 tst-translit.sh.
39655 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
39656 tst-gettext2.sh.
39657 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
39658 to run tst-gettext.
39659 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
39660 to run tst-gettext2.
39661 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
39662 to run tst-translit.
39663 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
39664 $(run-program-prefix) to tst-mtrace.sh.
39665 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
39666 to run tst-mtrace.
39667 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
39668 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
39669 $(rtld-installed-name).
39670 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
39671 (rtld_installed_name): Likewise.
39672 (run_program_prefix): New variable. Use it to run wordexp-test.
39673
39674 * Makeconfig (ARCH): Remove all definitions.
39675 (machine): Likewise.
39676 [ARCH]: Remove conditional code.
39677 [!objdir]: Give error.
39678 [!objdir] (objpfx): Remove.
39679 [!objdir] (common-objpfx): Likewise.
39680 [!objdir] (common-objdir): Likewise.
39681 * configure.in (config_makefile): Remove. Hardcode Makefile in
39682 AC_CONFIG_FILES call.
39683 * configure: Regenerated.
39684
39685 [BZ #13888]
39686 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
39687 or TMPDIR.
39688 (testout): Likewise.
39689
39690 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
39691 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
39692 $(rtld-installed-name).
39693 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
39694 (rtld_installed_name): Likwise.
39695 (runit): Remove function.
39696 (run_getconf): New variable, Use it for running getconf binary.
39697
39698 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
39699
39700 [BZ #14716]
39701 * string/test-memmem.c (check_result): New function.
39702 (do_one_test): Use it.
39703 (check1): New function.
39704 (test_main): Use it.
39705
39706 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
39707
39708 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
39709
39710 2012-10-18 Joseph Myers <joseph@codesourcery.com>
39711
39712 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
39713 (_G_LSEEK64): Likewise.
39714 (_G_MMAP64): Likewise.
39715 (_G_FSTAT64): Likewise.
39716 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
39717 (_G_LSEEK64): Likewise.
39718 (_G_MMAP64): Likewise.
39719 (_G_FSTAT64): Likewise.
39720 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
39721 unconditional. Call __mmap64 directly.
39722 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
39723 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
39724 __lseek64 directly.
39725 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
39726 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
39727 __mmap64 directly.
39728 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
39729 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
39730 __lseek64 directly.
39731 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
39732 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
39733 __lseek64 directly.
39734 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
39735 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
39736 __lseek64 directly.
39737 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
39738 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
39739 __fxstat64 directly.
39740 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
39741 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
39742 unconditional.
39743 (freopen64) [!_G_OPEN64]: Remove conditional code.
39744 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
39745 unconditional.
39746 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
39747 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
39748 unconditional.
39749 (ftello64) [!_G_LSEEK64]: Remove conditional code.
39750 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
39751 unconditional.
39752 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39753 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
39754 unconditional.
39755 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
39756 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
39757 unconditional.
39758 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39759 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
39760 unconditional.
39761 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
39762 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
39763 unconditional.
39764 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
39765
39766 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
39767
39768 [BZ #12140]
39769 * manual/memory.texi (Malloc Tunable Parameters): Add note
39770 about free list pointers overwriting some perturb bytes.
39771 Wording suggested by Roland McGrath.
39772
39773 2012-10-17 Joseph Myers <joseph@codesourcery.com>
39774
39775 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
39776 (lgamma_test): Likewise.
39777 (tgamma_test): Likewise.
39778
39779 2012-10-16 Florian Weimer <fweimer@redhat.com>
39780
39781 [BZ #14700]
39782 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
39783 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
39784
39785 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
39786
39787 * NEWS: Mention BZ #14716.
39788 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
39789 when removing AVAILABLE1_USES_J macro.
39790
39791 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
39792
39793 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
39794 (__bswap_64): __uint64_t for unsigned 64-bit int.
39795
39796 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
39797
39798 * include/string.h (memmem): Declare libc hidden alias.
39799 * string/memmem.c (memmem): Define libc hidden alias.
39800 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
39801 __read, __close instead of open, read, close.
39802
39803 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
39804
39805 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
39806 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
39807 global and hidden.
39808 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
39809 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
39810 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
39811 Likewise.
39812 (__rawmemchr_sse2): Likewise.
39813 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
39814 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
39815 (__strchr_sse2): Likewise.
39816 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
39817 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
39818 (__strcasecmp_sse2): Likewise.
39819 (__strncasecmp_sse2): Likewise.
39820 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
39821 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
39822 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
39823 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
39824 (__strrchr_sse2): Likewise.
39825 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
39826 ifunc-impl-list.c.
39827 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
39828 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
39829 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
39830 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39831 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
39832 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
39833 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39834 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39835 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
39836 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
39837 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
39838 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
39839 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
39840 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
39841 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
39842 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
39843 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
39844 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
39845 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
39846 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
39847 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
39848 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
39849 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
39850 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39851 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
39852 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39853 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
39854 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39855 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
39856 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
39857
39858 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
39859 global and hidden.
39860 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
39861 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
39862 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
39863 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
39864 Likewise.
39865 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
39866 Likewise.
39867 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
39868 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
39869 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
39870 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
39871 ifunc-impl-list.c.
39872 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39873 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39874 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39875 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39876 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39877 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39878 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39879 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39880 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39881 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39882 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39883 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39884 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39885 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
39886 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
39887 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39888 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
39889 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
39890 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39891 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39892 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39893 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39894 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39895 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39896 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39897 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
39898 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
39899 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
39900 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
39901 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39902 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
39903 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39904 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39905 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
39906 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39907 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39908 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39909 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39910 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39911 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39912 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
39913
39914 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
39915 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
39916 * include/ifunc-impl-list.h: New file.
39917 * misc/ifunc-impl-list.c: Likewise.
39918 * misc/Makefile (routines): Add ifunc-impl-list.
39919 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
39920 * string/test-string.h: Include <ifunc-impl-list.h>.
39921 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
39922 TEST_NAME]: New variables.
39923 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
39924 are defined.
39925 (test_init): Call __libc_ifunc_impl_list to initialize
39926 func_list if TEST_IFUNC and TEST_NAME are defined.
39927
39928 * string/Makefile (strop-tests): Add bcopy and bzero.
39929 * string/test-bcopy.c: New file.
39930 * string/test-bzero.c: Likewise.
39931 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
39932 defined.
39933 * string/test-memset.c: Support bzero test if TEST_BZERO is
39934 defined.
39935 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
39936 __libc_memmove.
39937 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
39938 __libc_memset.
39939 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
39940 of memset.
39941
39942 2012-10-10 Joseph Myers <joseph@codesourcery.com>
39943
39944 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
39945 * configure: Regenerated.
39946
39947 * Makeconfig (+link-static-before-libc): Don't include
39948 $(link-static-libc).
39949
39950 * libio/libio.h (_IO_pos_t): Remove.
39951
39952 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
39953
39954 * NEWS: Add note about FIPS mode. Wording suggested by Roland
39955 McGrath.
39956
39957 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
39958
39959 * crypt/crypt-entry.c: Include fips-private.h.
39960 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
39961 * crypt/md5c-test.c (main): Tolerate disabled MD5.
39962 * sysdeps/unix/sysv/linux/fips-private.h: New file.
39963 * sysdeps/generic/fips-private.h: New file, dummy fallback.
39964
39965 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
39966
39967 * crypt/crypt-private.h: Include stdbool.h.
39968 (_ufc_setup_salt_r): Return bool.
39969 * crypt/crypt-entry.c: Include errno.h.
39970 (__crypt_r): Return NULL with EINVAL for bad salt.
39971 * crypt/crypt_util.c (bad_for_salt): New.
39972 (_ufc_setup_salt_r): Check that salt is long enough and within
39973 the specified alphabet.
39974 * crypt/badsalttest.c: New file.
39975 * crypt/Makefile (tests): Add it.
39976 ($(objpfx)badsalttest): New.
39977
39978 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
39979
39980 * NEWS: Add entry for BZ #14602.
39981
39982 2012-10-09 Joseph Myers <joseph@codesourcery.com>
39983
39984 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
39985 type-generic.
39986 * math/libm-test.inc: Update comment listing what functions and
39987 macros are tested.
39988 (isgreater_test): New function.
39989 (isgreaterequal_test): Likewise.
39990 (isless_test): Likewise.
39991 (islessequal_test): Likewise.
39992 (islessgreater_test): Likewise.
39993 (isunordered_test): Likewise.
39994 (main): Call the new functions.
39995
39996 2012-10-09 Roland McGrath <roland@hack.frob.com>
39997
39998 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
39999 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
40000 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
40001 * sysdeps/i386/configure: Regenerated.
40002 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
40003 * sysdeps/mach/configure: Regenerated.
40004 * sysdeps/mach/hurd/configure: Regenerated.
40005 * sysdeps/powerpc/configure: Regenerated.
40006 * sysdeps/powerpc/powerpc32/configure: Regenerated.
40007 * sysdeps/powerpc/powerpc64/configure: Regenerated.
40008 * sysdeps/s390/s390-32/configure: Regenerated.
40009 * sysdeps/s390/s390-64/configure: Regenerated.
40010 * sysdeps/sh/configure: Regenerated.
40011 * sysdeps/sparc/configure: Regenerated.
40012 * sysdeps/unix/sysv/linux/configure: Regenerated.
40013 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40014 * sysdeps/x86_64/configure: Regenerated.
40015
40016 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
40017 defined. Don't check if MAP is NULL.
40018
40019 2012-10-09 Joseph Myers <joseph@codesourcery.com>
40020
40021 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
40022 (_G_stat64): Likewise.
40023 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
40024 (_G_stat64): Likewise.
40025 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
40026 instead of struct _G_stat64.
40027 * libio/fileops.c (mmap_remap_check): Likewise.
40028 (decide_maybe_mmap): Likewise.
40029 (_IO_new_file_seekoff): Likewise.
40030 (_IO_file_stat): Likewise.
40031 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
40032 _G_off64_t.
40033 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
40034 instead of struct _G_stat64.
40035 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40036
40037 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
40038
40039 [BZ #14602]
40040 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40041 Replace with ...
40042 (CHECK_EOL): New macro.
40043 (two_way_short_needle): Check beginning of haystack for EOL. Use
40044 CHECK_EOL.
40045 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40046 Replace with CHECK_EOL.
40047 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40048 Replace with CHECK_EOL.
40049
40050 2012-10-08 Joseph Myers <joseph@codesourcery.com>
40051
40052 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
40053 type-generic.
40054 * math/libm-test.inc: Update comment listing what functions and
40055 macros are tested.
40056 (finite_test): New function.
40057 (isinf_test): Likewise.
40058 (isnan_test): Likewise.
40059 (fpclassify_test): Test subnormal input.
40060 (isfinite_test): Likewise.
40061 (isnormal_test): Likewise.
40062 (main): Call the new functions.
40063
40064 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
40065
40066 [BZ #14660]
40067 * Makerules (%.dynsym): Force C locale when running
40068 $(OBJDUMP) --dynamic-syms.
40069
40070 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
40071
40072 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
40073 <stdint.h>.
40074
40075 2012-10-06 David S. Miller <davem@davemloft.net>
40076
40077 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
40078 upper 32-bits of the length value in %o2 since we use branch-on-register
40079 tests which consider the entire 64-bit register.
40080
40081 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
40082
40083 * string/test-strstr.c (check2): Add a test for page boundary.
40084
40085 2012-10-05 David S. Miller <davem@davemloft.net>
40086
40087 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
40088 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
40089 file.
40090 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40091 sysdep_routines.
40092 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40093 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
40094 and bzero when HWCAP_SPARC_CRYPTO is present.
40095
40096 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
40097
40098 [BZ #14602]
40099 * string/test-strstr.c (check2): New function.
40100 (test_main): Call check2.
40101
40102 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
40103 and bug-strchr1.
40104 * string/bug-strcasestr1.c (do_test): Moved to ...
40105 * string/test-strcasestr.c (check1): Here. New function.
40106 (do_one_test): Break out result checking code into ...
40107 (check_result): This. New function.
40108 (do_one_test): Call check_result.
40109 (test_main): Call check1.
40110 * string/bug-strchr1.c (do_test): Moved to ...
40111 * string/test-strchr.c (check1): Here. New function.
40112 (do_one_test): Break out result checking code into ...
40113 (check_result): This. New function.
40114 (do_one_test): Call check_result.
40115 (test_main): Call check1.
40116 * string/bug-strstr1.c (main): Moved to ...
40117 * string/test-strstr.c (check1): Here. New function.
40118 (do_one_test): Break out result checking code into ...
40119 (check_result): This. New function.
40120 (do_one_test): Call check_result.
40121 (test_main): Call check1.
40122 * string/bug-strcasestr1.c: Removed.
40123 * string/bug-strchr1.c: Likewise.
40124 * string/bug-strstr1.c: Likewise.
40125
40126 * elf/Makefile (dl-routines): Add hwcaps.
40127 * elf/dl-support.c (_dl_important_hwcaps): Removed.
40128 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
40129 (_dl_important_hwcaps): Moved to ...
40130 * elf/dl-hwcaps.c: Here. New file.
40131 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
40132
40133 [BZ #14557]
40134 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
40135 if IS_IN_rtld isn't defined.
40136
40137 * elf/dl-support.c (_dl_sysinfo_map): New.
40138 Include "get-dynamic-info.h" and "setup-vdso.h".
40139 (_dl_non_dynamic_init): Call setup_vdso.
40140 * elf/dynamic-link.h: Don't include <assert.h>.
40141 (elf_get_dynamic_info): Moved to ...
40142 * elf/get-dynamic-info.h: Here. New file.
40143 * elf/dynamic-link.h: Include "get-dynamic-info.h".
40144 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
40145 * elf/setup-vdso.h: Here. New file.
40146 * elf/rtld.c: Include "setup-vdso.h".
40147 (dl_main): Call setup_vdso.
40148
40149 2012-10-05 Joseph Myers <joseph@codesourcery.com>
40150
40151 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
40152 creal in comment listing functions tested. List finite, isinf,
40153 isnan, isless, islessequal, isgreater, isgreaterequal,
40154 islessgreater, isunordered, lgamma_r and pow10 as functions and
40155 macros not tested. Mention which functions not tested are aliases
40156 for other functions. Fix typo. Note that signs of NaNs are not
40157 tested.
40158
40159 * scripts/config.guess: Update from config.git.
40160 * scripts/config.sub: Likewise.
40161
40162 2012-10-04 Roland McGrath <roland@hack.frob.com>
40163
40164 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
40165 * misc/madvise.c (madvise): Renamed to __madvise.
40166 Make madvise a weak alias.
40167 * include/sys/mman.h: Declare __madvise.
40168 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
40169 * sysdeps/unix/syscalls.list
40170 (madvise): Make __madvise the strong name, and madvise a weak alias.
40171 * sysdeps/unix/sysv/linux/syscalls.list
40172 (madvise, mmap): Remove redundant entries.
40173 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
40174 * malloc/malloc.c (mtrim): Likewise.
40175 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
40176
40177 2012-10-03 Roland McGrath <roland@hack.frob.com>
40178
40179 * sysdeps/mach/hurd/dl-cache.c: File removed.
40180 * config.h.in (USE_LDCONFIG): New #undef.
40181 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
40182 * configure: Regenerated.
40183 * elf/Makefile (dl-routines): Add dl-cache only under
40184 [$(use-ldconfig) = yes].
40185 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
40186 cache on [USE_LDCONFIG].
40187 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
40188 [USE_LDCONFIG].
40189 * elf/rtld.c (dl_main): Likewise.
40190
40191 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
40192
40193 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
40194 _SC_LEVEL4_CACHE_LINESIZE.
40195
40196 2012-10-03 Roland McGrath <roland@hack.frob.com>
40197
40198 * sysdeps/unix/bsd/confstr.h: File removed.
40199
40200 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
40201
40202 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
40203 sys/sdt-config.h.
40204
40205 2012-10-02 Roland McGrath <roland@hack.frob.com>
40206
40207 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
40208 Make 'mapoff' field ElfW(Off) rather than off_t.
40209
40210 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
40211
40212 * nscd/Makefile: Remove nscd-cflags and all its users.
40213 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
40214 (CFLAGS-nonlib): Add compiler flags for nscd modules.
40215
40216 [BZ #10631]
40217 * malloc.c (malloc_printerr): Clarify error message.
40218
40219 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
40220
40221 [BZ #14648]
40222 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40223 Set bit_FMA_Usable if FMA is supported.
40224 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
40225 macro.
40226 (bit_FMA4_Usable): Updated.
40227 (index_FMA_Usable): New macro.
40228 (CPUID_FMA): Likewise
40229 (HAS_FMA): Defined with bit_FMA_Usable.
40230
40231 2012-10-01 Roland McGrath <roland@hack.frob.com>
40232
40233 * bits/types.h (__swblk_t): Type removed.
40234 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
40235 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
40236 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40237 (__SWBLK_T_TYPE): Likewise.
40238 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40239 (__SWBLK_T_TYPE): Likewise.
40240 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40241 (__SWBLK_T_TYPE): Likewise.
40242 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40243 (__SWBLK_T_TYPE): Likewise.
40244
40245 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
40246 Honza Horak <hhorak@redhat.com>
40247
40248 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
40249 (xdr_mapname): Use YPMAXMAP as maxsize.
40250 (xdr_peername): Use YPMAXPEER as maxsize.
40251 (xdr_keydat): Use YPAXRECORD as maxsize.
40252 (xdr_valdat): Use YPMAXRECORD as maxsize.
40253
40254 2012-10-01 Roland McGrath <roland@hack.frob.com>
40255
40256 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
40257
40258 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
40259 * csu/init-first.c: ... here.
40260 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
40261 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
40262 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40263 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40264 * sysdeps/i386/init-first.c: File removed.
40265 * sysdeps/sh/init-first.c: File removed.
40266
40267 2012-10-01 Joseph Myers <joseph@codesourcery.com>
40268
40269 [BZ #14645]
40270 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
40271 if x * y might underflow to zero and z is zero.
40272 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40273 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40274 * math/libm-test.inc (min_subnorm_value): New variable.
40275 (fma_test): Add more tests.
40276 (fma_test_towardzero): Likewise.
40277 (fma_test_downward): Likewise
40278 (fma_test_upward): Likewise.
40279 (initialize): Set min_subnorm_value.
40280
40281 2012-09-29 Joseph Myers <joseph@codesourcery.com>
40282
40283 [BZ #14638]
40284 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
40285 0 + 0.
40286 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
40287 mode for addition resulting in exact zero.
40288 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
40289 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
40290 exact 0 + 0.
40291 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40292 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40293 * math/libm-test.inc (fma_test): Add more tests.
40294 (fma_test_towardzero): New function.
40295 (fma_test_downward): Likewise.
40296 (fma_test_upward): Likewise.
40297 (main): Call the new functions.
40298
40299 2012-09-28 David S. Miller <davem@davemloft.net>
40300
40301 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
40302
40303 2012-09-28 Roland McGrath <roland@hack.frob.com>
40304
40305 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
40306 instead of SIGALRM.
40307
40308 * sysdeps/gnu/_G_config.h: Moved to ...
40309 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
40310 * sysdeps/mach/hurd/_G_config.h: Moved to ...
40311 * sysdeps/generic/_G_config.h: ... here.
40312
40313 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
40314
40315 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
40316
40317 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
40318 Conditionalize target on [libnss_test1.so-version].
40319
40320 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
40321
40322 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
40323 (elfobjdir): Move out of conditionals.
40324
40325 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
40326 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
40327 (__nss_lookup_function): Conditionalize label remove_from_tree on
40328 [!DO_STATIC_NSS || SHARED], matching its only use.
40329
40330 2012-09-28 David S. Miller <davem@davemloft.net>
40331
40332 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
40333 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
40334 file.
40335 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40336 sysdep_routines.
40337 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40338 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
40339 when HWCAP_SPARC_CRYPTO is present.
40340
40341 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40342
40343 * io/tst-mknodat.c: Create a FIFO instead of a socket.
40344
40345 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
40346
40347 [BZ #6530]
40348 * stdio-common/vfprintf.c (process_string_arg): Revert
40349 2000-07-22 change.
40350
40351 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
40352
40353 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
40354 for testcase.
40355 * stdio-common/tst-sprintf.c: Include <locale.h>
40356 (main): Test sprintf's handling of incomplete multibyte
40357 characters.
40358
40359 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
40360
40361 * elf/dl-runtime.c (VERSYMIDX): Removed.
40362 * elf/dl-version.c (VERSYMIDX): Likewise.
40363 * elf/do-rel.h (VERSYMIDX): Likewise.
40364 (VALIDX): Likewise.
40365 * elf/dynamic-link.h (VERSYMIDX): Likewise.
40366 * elf/rtld.c (VALIDX): Likewise.
40367 (ADDRIDX): Likewise.
40368 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
40369 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
40370 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
40371 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
40372 (VALIDX): Likewise.
40373 (ADDRIDX): Likewise.
40374
40375 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40376
40377 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
40378
40379 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
40380
40381 [BZ #11438]
40382 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
40383 to global scope.
40384 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
40385 addresses are in the same scope as 192.0.2/24.
40386 * posix/gai.conf: Document new scope table defaults.
40387
40388 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40389
40390 [BZ #5298]
40391 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
40392 for ftell. Compute offsets from write pointers instead.
40393 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40394
40395 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40396
40397 [BZ #14543]
40398 * libio/Makefile (tests): New test case tst-fseek.
40399 * libio/tst-fseek.c: New test case to verify that fseek/ftell
40400 combination works in wide mode.
40401 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
40402 state when the external buffer state changes.
40403
40404 2012-09-27 David S. Miller <davem@davemloft.net>
40405
40406 [BZ #14376]
40407 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
40408 pass reloc->r_addend in as the 'high' argument to
40409 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
40410
40411 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40412
40413 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
40414
40415 * rt/tst-aio2.c: Include <pthread.h>.
40416 * rt/tst-aio3.c: Likewise.
40417
40418 2012-09-27 Steve Ellcey <sellcey@mips.com>
40419
40420 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
40421
40422 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
40423
40424 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
40425 contents on [SHARED].
40426
40427 2012-09-26 Marek Polacek <polacek@redhat.com>
40428
40429 [BZ #14530]
40430 [BZ #13741]
40431 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
40432 for C++ and GCC <4.3 as well as for non GCC compilers.
40433
40434 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
40435
40436 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40437
40438 2012-09-25 Roland McGrath <roland@hack.frob.com>
40439
40440 * Makefile.in (all, install): Declare with .PHONY.
40441 Reported by Michael Hope <michael.hope@linaro.org>.
40442
40443 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40444
40445 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
40446 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
40447 system header.
40448 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
40449 Likewise.
40450 (sydep_routines): Add the new and the internal functions.
40451 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
40452 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
40453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
40454 (GLIBC_2.17): Add the new function.
40455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40456 (GLIBC_2.17): Likewise.
40457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
40458 (GLIBC_2.17): Likewise.
40459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
40460 (GLIBC_2.17): Likewise.
40461 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
40462
40463 2012-09-25 Alan Modra <amodra@gmail.com>
40464
40465 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
40466 Add release barrier before setting once_control to say
40467 initialisation is done. Add hints on lwarx. Use macro in
40468 place of isync.
40469 (clear_once_control): Add release barrier.
40470
40471 2012-09-25 Joseph Myers <joseph@codesourcery.com>
40472
40473 [BZ #13629]
40474 * math/s_clog.c (__clog): Handle more values close to |z| = 1
40475 specially.
40476 * math/s_clog10.c (__clog10): Likewise.
40477 * math/s_clog10f.c (__clog10f): Likewise.
40478 * math/s_clog10l.c (__clog10l): Likewise.
40479 * math/s_clogf.c (__clogf): Likewise.
40480 * math/s_clogl.c (__clogl): Likewise.
40481 * math/Makefile (libm-calls): Add x2y2m1.
40482 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
40483 (__x2y2m1): Likewise.
40484 (__x2y2m1l): Likewise.
40485 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
40486 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
40487 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
40488 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
40489 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
40490 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
40491 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
40492 * sysdeps/i386/fpu/libm-test-ulps: Update.
40493 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40494
40495 [BZ #14621]
40496 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
40497 int as type of variable DEPTH.
40498 (glob): Use size_t instead of int as type of variables NEWCOUNT
40499 and OLD_PATHC.
40500
40501 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40502
40503 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
40504 Add s_sincosf-sse2.
40505 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
40506 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
40507 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
40508 macros for using routine as __sincosf_ia32.
40509 Use macro for function declaration and weak_alias.
40510 * sysdeps/i386/fpu/libm-test-ulps: Update.
40511
40512 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
40513 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40514
40515 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
40516 subnormal argument.
40517 * math/s_cexpf.c (__cexpf): Likewise.
40518 * math/s_csinf.c (__csinf): Likewise.
40519 * math/s_csinhf.c (__csinhf): Likewise.
40520 * math/s_ctanf.c (__ctanf): Likewise.
40521 * math/s_ctanhf.c (__ctanhf): Likewise.
40522 * math/s_ccosh.c (__ccoshf): Likewise.
40523 * math/s_cexp.c (__cexpl): Likewise.
40524 * math/s_csin.c (__csin): Likewise.
40525 * math/s_csinh.c (__csinh): Likewise.
40526 * math/s_ctan.c (__ctan): Likewise.
40527 * math/s_ctanh.c (ctanh): Likewise.
40528 * math/s_ccoshl.c (__ccoshl): Likewise.
40529 * math/s_cexpl.c (__cexpl): Likewise.
40530 * math/s_csinl.c (__csinl): Likewise.
40531 * math/s_csinhl.c (__csinhl): Likewise.
40532 * math/s_ctanl.c (__ctanl): Likewise.
40533 * math/s_ctanhl.c (__ctanhl): Likewise.
40534
40535 2012-09-25 Joseph Myers <joseph@codesourcery.com>
40536
40537 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
40538 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
40539 (_IO_off_t): Define to __off_t, not _G_off_t.
40540 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
40541 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
40542 (_IO_wint_t): Define to wint_t, not _G_wint_t.
40543 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
40544 type of __dummy and __dummy2 fields.
40545 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
40546 (_G_ssize_t): Likewise.
40547 (_G_off_t): Likewise.
40548 (_G_pid_t): Likewise.
40549 (_G_uid_t): Likewise.
40550 (_G_wchar_t): Likewise.
40551 (_G_wint_t): Likewise.
40552 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
40553 (_G_ssize_t): Likewise.
40554 (_G_off_t): Likewise.
40555 (_G_pid_t): Likewise.
40556 (_G_uid_t): Likewise.
40557 (_G_wchar_t): Likewise.
40558 (_G_wint_t): Likewise.
40559 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
40560 (_G_ssize_t): Likewise.
40561 (_G_off_t): Likewise.
40562 (_G_pid_t): Likewise.
40563 (_G_uid_t): Likewise.
40564 (_G_wchar_t): Likewise.
40565 (_G_wint_t): Likewise.
40566
40567 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40568
40569 * malloc/arena.c: Include malloc-sysdep.h.
40570 (shrink_heap): Use check_may_shrink_heap to decide if madvise
40571 is sufficient to shrink the heap or an unmap is needed.
40572 * sysdeps/generic/malloc-sysdep.h: New file. Define
40573 new function check_may_shrink_heap.
40574 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
40575 new function check_may_shrink_heap.
40576
40577 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40578
40579 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
40580 comments.
40581
40582 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
40583
40584 * catgets/test-gencat.sh: Add "set -e".
40585 * elf/tst-pathopt.sh: Likewise.
40586 * grp/tst_fgetgrent.sh: Likewise.
40587 * iconvdata/run-iconv-test.sh: Likewise.
40588 * intl/tst-gettext.sh: Likewise.
40589 * intl/tst-gettext2.sh: Likewise.
40590 * intl/tst-gettext4.sh: Likewise.
40591 * intl/tst-gettext6.sh: Likewise.
40592 * intl/tst-translit.sh: Likewise.
40593 * io/ftwtest-sh: Likewise.
40594 * libio/test-freopen.sh: Likewise.
40595 * malloc/tst-mtrace.sh: Likewise.
40596 * posix/globtest.sh: Likewise.
40597 * posix/tst-getconf.sh: Likewise.
40598 * posix/wordexp-tst.sh: Likewise.
40599 * stdio-common/tst-printf.sh: Likewise.
40600 * stdio-common/tst-unbputc.sh: Likewise.
40601 * stdlib/tst-fmtmsg.sh: Likewise.
40602 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40603 * catgets/Makefile: Do not specify -e option when running
40604 testsuite shell scripts.
40605 * elf/Makefile: Likewise.
40606 * grp/Makefile: Likewise.
40607 * iconvdata/Makefile: Likewise.
40608 * intl/Makefile: Likewise.
40609 * io/Makefile: Likewise.
40610 * libio/Makefile: Likewise.
40611 * malloc/Makefile: Likewise.
40612 * posix/Makefile: Likewise.
40613 * stdio-common/Makefile: Likewise.
40614 * stdlib/Makefile: Likewise.
40615 * sysdeps/x86_64/Makefile: Likewise.
40616
40617 * io/ftwtest-sh: Add copyright header.
40618 * posix/globtest.sh: Likewise.
40619 * posix/tst-getconf.sh: Likewise.
40620 * posix/wordexp-tst.sh: Likewise.
40621 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
40622
40623 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
40624
40625 [BZ #13679]
40626 * Makeconfig (+link): Defined as $(+link-static) if
40627 $(build-shared) isn't yes.
40628 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
40629 isn't yes.
40630 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
40631
40632 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
40633
40634 [BZ #14562]
40635 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
40636 new chunk size with MALLOC_ALIGN_MASK.
40637
40638 2012-09-24 Joseph Myers <joseph@codesourcery.com>
40639
40640 [BZ #5044]
40641 * stdio-common/printf_fphex.c: Include <stdbool.h> and
40642 <rounding-mode.h>.
40643 (__printf_fphex): Determine rounding using get_rounding_mode and
40644 round_away.
40645 * stdio-common/tst-printf-round.c (struct hex_test): New
40646 structure.
40647 (hex_tests): New variable.
40648 (test_hex_in_one_mode): New function.
40649 (do_test): Also run tests for hex float output.
40650
40651 2012-09-21 Joseph Myers <joseph@codesourcery.com>
40652
40653 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40654 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40655 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
40656 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
40657 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
40658 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
40659 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40660 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
40661
40662 2012-09-20 Joseph Myers <joseph@codesourcery.com>
40663
40664 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
40665 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
40666 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
40667 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
40668
40669 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
40670
40671 [BZ #14579]
40672 * elf/rtld.c (dl_main): Limit the check for self loading to normal
40673 mode only.
40674 * elf/tst-rtld-load-self.sh: New test.
40675 * elf/Makefile: Run it.
40676
40677 2012-09-18 Joseph Myers <joseph@codesourcery.com>
40678
40679 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
40680 (tst-writev-ENV): Remove.
40681 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
40682
40683 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
40684
40685 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
40686
40687 2012-09-17 Joseph Myers <joseph@codesourcery.com>
40688
40689 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
40690 unconditional.
40691 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
40692 Likewise.
40693 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
40694 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
40695 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
40696 Likewise.
40697
40698 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
40699
40700 [BZ #14587]
40701 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
40702 * config.make.in (have-cpp-asm-debuginfo): Removed.
40703 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
40704 * configure: Regenerated.
40705
40706 2012-09-14 Joseph Myers <joseph@codesourcery.com>
40707
40708 [BZ #5044]
40709 * stdio-common/printf_fp.c: Include <stdbool.h> and
40710 <rounding-mode.h>.
40711 (___printf_fp): Determine rounding using get_rounding_mode and
40712 round_away.
40713 * stdio-common/tst-printf-round.c: New file.
40714 * stdio-common/Makefile (tests): Add tst-printf-round.
40715 (link-libm): New variable.
40716 ($(objpfx)tst-printf-round): Depend in $(link-libm).
40717
40718 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
40719
40720 [BZ #14576]
40721 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
40722 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
40723 Likewise.
40724 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
40725 Likewise.
40726
40727 2012-09-13 Joseph Myers <joseph@codesourcery.com>
40728
40729 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
40730 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40731 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40732 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
40733
40734 2012-09-12 Joseph Myers <joseph@codesourcery.com>
40735
40736 [BZ #14518]
40737 * include/rounding-mode.h: New file.
40738 * sysdeps/generic/get-rounding-mode.h: Likewise.
40739 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
40740 * stdlib/strtod_l.c: Include <rounding-mode.h>.
40741 (MAX_VALUE): New macro.
40742 (MIN_VALUE): Likewise.
40743 (overflow_value): New function.
40744 (underflow_value): Likewise.
40745 (round_and_return): Use overflow_value and underflow_value to
40746 determine return values in overflow and underflow cases. Use
40747 round_away to determine rounding depending on rounding mode.
40748 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
40749 determine return values in overflow and underflow cases.
40750 * stdlib/tst-strtod-round.c: Include <fenv.h>.
40751 (struct test_results): New structure.
40752 (struct test): Use struct test_results to store expected results
40753 for all rounding modes.
40754 (TEST): Include expected results for all rounding modes.
40755 (test_in_one_mode): New function.
40756 (do_test): Use test_in_one_mode to compute and check results.
40757 Check results for all rounding modes.
40758 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
40759 $(link-libm).
40760
40761 2012-12-09 Allan McRae <allan@archlinux.org>
40762
40763 * sysdeps/i386/fpu/libm-test-ulps: Update
40764
40765 2012-09-11 Joseph Myers <joseph@codesourcery.com>
40766
40767 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
40768 (_G_int32_t): Likewise.
40769 (_G_uint16_t): Likewise.
40770 (_G_uint32_t): Likewise.
40771 (_G_HAVE_BOOL): Likewise.
40772 (_G_HAVE_ATEXIT): Likewise.
40773 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40774 (_G_HAVE_IO_FILE_OPEN): Likewise.
40775 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
40776 (_G_int32_t): Likewise.
40777 (_G_uint16_t): Likewise.
40778 (_G_uint32_t): Likewise.
40779 (_G_HAVE_BOOL): Likewise.
40780 (_G_HAVE_ATEXIT): Likewise.
40781 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40782 (_G_HAVE_IO_FILE_OPEN): Likewise.
40783 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
40784 (_G_int32_t): Likewise.
40785 (_G_uint16_t): Likewise.
40786 (_G_uint32_t): Likewise.
40787 (_G_HAVE_BOOL): Likewise.
40788 (_G_HAVE_ATEXIT): Likewise.
40789 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
40790 (_G_HAVE_IO_FILE_OPEN): Likewise.
40791
40792 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
40793
40794 * csu/libc-tls.c: Update copyright years.
40795
40796 2012-09-10 Joseph Myers <joseph@codesourcery.com>
40797
40798 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
40799 [!_G_USING_THUNKS]: Remove conditional code.
40800 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
40801 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
40802
40803 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
40804 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
40805 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40806 (_G_VTABLE_LABEL_PREFIX): Likewise.
40807 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40808 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40809 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40810 (_G_VTABLE_LABEL_PREFIX): Likewise.
40811 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40812 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
40813 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
40814 (_G_VTABLE_LABEL_PREFIX): Likewise.
40815 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
40816
40817 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
40818
40819 * libio/Makefile: Include ../Makeconfig before tests.
40820 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
40821 only if $(build-shared) is yes.
40822
40823 * iconv/gconv_db.c: Update copyright years.
40824
40825 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40826
40827 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
40828 unwind info if defined PIC. Fix special cases description.
40829 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
40830
40831 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
40832 DP_HI_MASK entry.
40833 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
40834
40835 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
40836
40837 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
40838
40839 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
40840 is NULL.
40841
40842 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
40843 (LDLIBS-tst-chk4): This.
40844 (LDFLAGS-tst-chk5): Renamed to ...
40845 (LDLIBS-tst-chk5): This.
40846 (LDFLAGS-tst-chk6): Renamed to ...
40847 (LDLIBS-tst-chk6): This.
40848 (LDFLAGS-tst-lfschk4): Renamed to ...
40849 (LDLIBS-tst-lfschk4): This.
40850 (LDFLAGS-tst-lfschk5): Renamed to ...
40851 (LDLIBS-tst-lfschk5): This.
40852 (LDFLAGS-tst-lfschk6): Renamed to ...
40853 (LDLIBS-tst-lfschk6): This.
40854
40855 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
40856 on $(common-objpfx)soversions.mk.
40857
40858 2012-09-07 Joseph Myers <joseph@codesourcery.com>
40859
40860 [BZ #10014]
40861 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
40862 example host name.
40863
40864 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
40865
40866 * malloc/arena.c (arena_get_retry): New function that gets
40867 another arena for the caller to try its request on.
40868 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
40869 current arena cannot fulfill the request.
40870 (__libc_memalign): Likewise.
40871 (__libc_memalign): Likewise.
40872 (__libc_pvalloc): Likewise.
40873 (__libc_calloc): Likewise.
40874
40875 2012-09-05 John Tobey <john.tobey@gmail.com>
40876
40877 [BZ #13542]
40878 * manual/arith.texi (Operations on Complex): Fix description
40879 of carg branch cut.
40880
40881 2012-09-06 Joseph Myers <joseph@codesourcery.com>
40882
40883 [BZ #10014]
40884 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
40885 host name.
40886
40887 [BZ #10038]
40888 * manual/memory.texi (Memory): Make order of menu items match
40889 order of sections.
40890
40891 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40892
40893 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
40894 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
40895 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
40896
40897 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40898
40899 * csu/libc-tls.c (static_dtv): Renamed to ...
40900 (_dl_static_dtv): This. Make it global.
40901 (_dl_initial_dtv): Removed.
40902 (__libc_setup_tls): Updated.
40903 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
40904 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
40905 DL_INITIAL_DTV.
40906
40907 2012-09-06 Petr Machata <pmachata@redhat.com>
40908
40909 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
40910 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
40911 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
40912 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
40913
40914 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40915
40916 [BZ #14545]
40917 * csu/libc-tls.c (_dl_initial_dtv): New variable.
40918 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
40919 freeing dtv[-1].
40920
40921 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
40922
40923 [BZ #14544]
40924 * Makeconfig (link-static-before-libc): Replace $(+prector)
40925 with $(+prectorT).
40926 (link-static-after-libc): Replace $(+postctor) with
40927 $(+postctorT).
40928 (link-bounded): Replace $(+prector)/$(+postctor) with
40929 $(+prectorT)/$(+postctorT).
40930 (+prectorT): New macro.
40931 (+postctorT): Likewise.
40932
40933 2012-09-06 Joseph Myers <joseph@codesourcery.com>
40934
40935 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
40936 (round_str): Handle values above the maximum for IBM long double
40937 as inexact.
40938 * stdlib/tst-strtod-round.c (tests): Regenerated.
40939
40940 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40941
40942 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
40943 assembler flag.
40944 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
40945 zarch_nohighgprs around the zarch optimized routines.
40946 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
40947 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
40948 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
40949 for zarch.
40950
40951 2012-09-05 David S. Miller <davem@davemloft.net>
40952
40953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40954
40955 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
40956 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
40957 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
40958 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40959 entries.
40960
40961 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
40962
40963 * malloc/arena.c: Fold copyright years.
40964 * malloc/mcheck.c, malloc/memusage.c: Likewise.
40965
40966 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
40967
40968 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
40969
40970 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
40971
40972 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
40973
40974 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
40975
40976 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
40977 change internal state upon failure.
40978
40979 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
40980
40981 * malloc/mcheck.c (mcheck_check_all): Fix typo.
40982 * malloc/memusage.c (mmap): Likewise.
40983 (mmap64, mremap): Likewise. Adjust name in comment.
40984
40985 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40986
40987 * libio/fileops.c: Fix typos in comments.
40988 * libio/oldfileops.c: Likewise.
40989 * libio/wfileops.c: Likewise.
40990
40991 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40992
40993 [BZ #1349]
40994 * malloc/Makefile (tests): Add tst-malloc-usable test case.
40995 (tst-malloc-usable-ENV): Set environment for test case.
40996 * malloc/hooks.c (malloc_check_get_size): New function to get
40997 requested size.
40998 * malloc/malloc.c (musable): Use malloc_check_get_size.
40999 * malloc/tst-malloc-usable.c: New test case.
41000
41001 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
41002
41003 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
41004
41005 2012-09-05 Allan McRae <allan@archlinux.org>
41006
41007 [BZ #13966]
41008 * configure.in (CXX_SYSINCLUDES): Use compiler output to
41009 determine header location.
41010 * configure: Regenerated.
41011
41012 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
41013
41014 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
41015 float format.
41016 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
41017 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
41018 format.
41019 (test): Regenerate.
41020
41021 2012-09-04 David S. Miller <davem@davemloft.net>
41022
41023 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
41024 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
41025 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
41026
41027 2012-09-04 Florian Weimer <fweimer@redhat.com>
41028
41029 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
41030 failures.
41031
41032 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
41033
41034 2012-09-04 Joseph Myers <joseph@codesourcery.com>
41035
41036 [BZ #9914]
41037 * libio/iogetdelim.c: Include <limits.h>.
41038 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
41039 + len + 1 would overflow.
41040
41041 2012-09-03 Andreas Jaeger <aj@suse.de>
41042
41043 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41044 * sysdeps/i386/fpu/libm-test-ulps: Update.
41045
41046 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41047
41048 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41049 Add s_sinf-sse2, s_conf-sse2.
41050
41051 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
41052 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
41053 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
41054 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
41055
41056 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
41057 for using routine as __sinf_ia32.
41058 Use macro for function declaration and weak_alias.
41059 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
41060 for using routine as __cosf_ia32.
41061 Use macro for function declaration and weak_alias.
41062
41063 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
41064 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
41065
41066 * sysdeps/x86_64/fpu/s_sinf.S: New file.
41067 * sysdeps/x86_64/fpu/s_cosf.S: New file.
41068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41069
41070 * math/libm-test.inc (cos_test): Add more test cases.
41071 (sin_test): Likewise.
41072 (sincos_test): Likewise.
41073
41074 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41075
41076 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
41077 (IFUNC_RESOLVE): Make pointers to the specialized implementations
41078 hidden.
41079 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41080
41081 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
41082
41083 [BZ #14538]
41084 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
41085 first element of the GOT.
41086 (elf_machine_load_address): Return the difference between
41087 the runtime address of _DYNAMIC and elf_machine_dynamic ().
41088
41089 2012-09-01 Allan McRae <allan@archlinux.org>
41090
41091 [BZ #13412]
41092 * configure.in (AWK): Require gawk version 3.0 or later.
41093 * configure: Regenerated.
41094
41095 2012-09-01 Joseph Myers <joseph@codesourcery.com>
41096
41097 * sysdeps/unix/sysv/linux/kernel-features.h
41098 (__ASSUME_POSIX_CPU_TIMERS): Remove.
41099 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41100 [__NR_clock_getres]: Make code unconditional.
41101 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
41102 (clock_getcpuclockid): Remove code left unreachable by removal of
41103 conditionals.
41104 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
41105 code unconditional.
41106 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41107 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41108 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
41109 Make code unconditional.
41110 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41111 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41112 * sysdeps/unix/sysv/linux/clock_settime.c
41113 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
41114 conditional code.
41115 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
41116 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41117
41118 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
41119
41120 [BZ #14476]
41121 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
41122 scripts/test-installation.pl.
41123
41124 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
41125 and $ld_so_version if it is set.
41126
41127 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
41128
41129 [BZ #14516]
41130 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
41131 failure if reading from procfs failed.
41132 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
41133
41134 2012-08-27 Joseph Myers <joseph@codesourcery.com>
41135
41136 * sysdeps/unix/sysv/linux/kernel-features.h
41137 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
41138 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41139 Remove conditional code.
41140 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41141 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
41142 Remove conditional code.
41143 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41144 * sysdeps/unix/sysv/linux/i386/fxstat.c
41145 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41146 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41147 * sysdeps/unix/sysv/linux/i386/fxstatat.c
41148 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41149 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41150 * sysdeps/unix/sysv/linux/i386/lxstat.c
41151 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41152 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41153 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
41154 Remove conditional code.
41155 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41156 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41157 Remove conditional code.
41158 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41159 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
41160 <kernel-features.h>.
41161 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
41162 Remove.
41163 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
41164 Remove conditional code.
41165 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41166 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
41167 Remove conditional.
41168
41169 2012-08-27 Mike Frysinger <vapier@gentoo.org>
41170
41171 [BZ #5400]
41172 * NEWS: Add fixed bug number.
41173
41174 2012-08-27 Joseph Myers <joseph@codesourcery.com>
41175
41176 [BZ #14519]
41177 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
41178 underflowing exponent in case of negative sign.
41179 * stdlib/tst-strtod-round-data: Add more tests.
41180 * stdlib/tst-strtod-round.c (tests): Regenerated.
41181
41182 [BZ #3479]
41183 * stdlib/strtod_l.c (NDIG): Remove.
41184 (HEXNDIG): Likewise.
41185 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
41186 smallest representable value.
41187 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
41188 lie within an exact representation of 1/2 ulp of the result.
41189 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
41190 unconditionally.
41191 (TENS_P9_IDX): Define unconditionally.
41192 (TENS_P9_SIZE): Likewise.
41193 (TENS_P10_IDX): Likewise.
41194 (TENS_P10_SIZE): Likewise.
41195 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
41196 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
41197 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
41198 entries for 10^2^13 and 10^2^14.
41199 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
41200 (TENS_P13_IDX): Define.
41201 (TENS_P13_SIZE): Likewise.
41202 (TENS_P14_IDX): Likewise.
41203 (TENS_P14_SIZE): Likewise.
41204 (_fpioconst_pow10): Change array size to
41205 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
41206 unconditional.
41207 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
41208 1024]: Add entries for 10^2^13 and 10^2^14.
41209 [LAST_POW10 > _LAST_POW10]: Remove #error.
41210 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
41211 (_fpioconst_pow10): Change array size to
41212 FPIOCONST_POW10_ARRAY_SIZE.
41213 * stdlib/gen-fpioconst.c: New file.
41214 * stdlib/gen-tst-strtod-round.c: Likewise.
41215 * stdlib/tst-strtod-round-data: Likewise.
41216 * stdlib/tst-strtod-round.c: Likewise.
41217 * stdlib/Makefile (tests): Add tst-strtod-round.
41218
41219 [BZ #14459]
41220 * stdlib/strtod_l.c: Include <stdint.h>.
41221 (NDEBUG): Do not define.
41222 (round_and_return): Change EXPONENT parameter to type intmax_t.
41223 Rearrange calculations to avoid internal overflow possibilities.
41224 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
41225 Rearrange calculations to avoid internal overflow possibilities.
41226 Assert that number fits inside MPNSIZE limbs.
41227 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
41228 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
41229 calculations and add assertions to avoid internal overflow
41230 possibilities. Add casts to avoid signed/unsigned operations.
41231 * stdlib/tst-strtod-overflow.c: New file.
41232 * stdlib/Makefile (tests): Add tst-strtod-overflow.
41233
41234 2012-08-25 Marek Polacek <polacek@redhat.com>
41235
41236 * time/time.h: Fix some typos in comments.
41237
41238 2012-08-23 Roland McGrath <roland@hack.frob.com>
41239
41240 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
41241 * posix/tst-rfc3484-2.c: Likewise.
41242 * posix/tst-rfc3484-3.c: Likewise.
41243
41244 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
41245
41246 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
41247 (EF_ARM_ABI_FLOAT_HARD): Likewise.
41248
41249 2012-08-23 Joseph Myers <joseph@codesourcery.com>
41250
41251 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
41252 #include of fxstatat64.c.
41253
41254 2012-08-22 Roland McGrath <roland@hack.frob.com>
41255
41256 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
41257 * shadow/getspent_r.c: Likewise.
41258 * shadow/getspnam.c: Likewise.
41259 * shadow/getspnam_r.c: Likewise.
41260 * gshadow/getsgent.c: Likewise.
41261 * gshadow/getsgent_r.c: Likewise.
41262 * gshadow/getsgnam.c: Likewise.
41263 * gshadow/getsgnam_r.c: Likewise.
41264 * inet/getnetbyad.c: Likewise.
41265 * inet/getnetbyad_r.c: Likewise.
41266 * inet/getnetbynm.c: Likewise.
41267 * inet/getnetbynm_r.c: Likewise.
41268 * inet/getnetent.c: Likewise.
41269 * inet/getnetent_r.c: Likewise.
41270 * inet/getproto.c: Likewise.
41271 * inet/getproto_r.c: Likewise.
41272 * inet/getprtent.c: Likewise.
41273 * inet/getprtent_r.c: Likewise.
41274 * inet/getprtname.c: Likewise.
41275 * inet/getprtname_r.c: Likewise.
41276 * inet/getrpcbyname.c: Likewise.
41277 * inet/getrpcbyname_r.c: Likewise.
41278 * inet/getrpcbynumber.c: Likewise.
41279 * inet/getrpcbynumber_r.c: Likewise.
41280 * inet/getrpcent.c: Likewise.
41281 * inet/getrpcent_r.c: Likewise.
41282 * inet/getaliasent.c: Likewise.
41283 * inet/getaliasent_r.c: Likewise.
41284 * inet/getaliasname.c: Likewise.
41285 * inet/getaliasname_r.c: Likewise.
41286 * nscd/getgrgid_r.c: Likewise.
41287 * nscd/getgrnam_r.c: Likewise.
41288 * nscd/gethstbyad_r.c: Likewise.
41289 * nscd/gethstbynm3_r.c: Likewise.
41290 * nscd/getpwnam_r.c: Likewise.
41291 * nscd/getpwuid_r.c: Likewise.
41292 * nscd/getsrvbynm_r.c: Likewise.
41293 * nscd/getsrvbypt_r.c: Likewise.
41294 * nscd/gai.c: Likewise.
41295
41296 * configure.in (build_nscd): New substituted variable, set
41297 by --disable-build-nscd and defaults to $use_nscd.
41298 * configure: Regenerated.
41299 * config.make.in (build-nscd): New substituted variable.
41300 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
41301 Change conditional to require [$(build-nscd) = yes] as well.
41302 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
41303
41304 [BZ# 13696]
41305 * configure.in (use_nscd): New substituted variable, set by
41306 --disable-nscd. If enabled, define USE_NSCD.
41307 * configure: Regenerated.
41308 * config.h.in: Add USE_NSCD.
41309 * config.make.in (use-nscd): New substituted variable.
41310 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
41311 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
41312 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
41313 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
41314 (CFLAGS-getgrnam_r.c): Likewise.
41315 (CFLAGS-initgroups.c): Likewise.
41316 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
41317 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
41318 Variables removed.
41319 * inet/getnetgrent_r.c
41320 (nscd_setnetgrent): New function, broken out of ...
41321 (setnetgrent): ... here. Call it.
41322 (innetgr): Conditionalize nscd bits on [USE_NSCD].
41323 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
41324 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
41325 * nscd/Makefile (routines, aux): Move definitions after include of
41326 Makeconfig. Conditionalize on [$(use-nscd) != no].
41327 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
41328 Conditionalize on [USE_NSCD].
41329 (is_nscd, nscd_init_cb): Likewise.
41330 (nss_load_library): Conditionalize init callback on [USE_NSCD].
41331 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
41332 * nss/nss_db/db-init.c: Likewise.
41333 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
41334 [USE_NSCD].
41335 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
41336 (make_request): Use it.
41337 (cache_valid_p): New function.
41338 (__check_pf): Use it.
41339 * NEWS: Add item for --disable-nscd.
41340
41341 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
41342
41343 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
41344 to support sed >= 4.2.1-20-ga9bf076.
41345 * configure: Regenerated.
41346
41347 2012-08-22 Roland McGrath <roland@hack.frob.com>
41348
41349 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
41350 Conditionalize whole body on [IREL].
41351
41352 2012-08-22 Jeff Law <law@redhat.com>
41353
41354 [BZ #14505]
41355 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
41356 if the family is PF_UNSPEC.
41357
41358 2012-08-22 Mike Frysinger <vapier@gentoo.org>
41359
41360 * Makerules (lib-version): Rename from V.
41361 (install-lib-nosubdir): Change V to lib-version.
41362
41363 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
41364
41365 [BZ #14252]
41366 * powerpc32/power6/wcschr.c: New file.
41367 * powerpc32/power6/wcscpy.c: New file.
41368 * powerpc32/power6/wcsrchr.c: New file.
41369 * powerpc64/power6/wcschr.c: New file.
41370 * powerpc64/power6/wcscpy.c: New file.
41371 * powerpc64/power6/wcsrchr.c: New file.
41372
41373 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41374
41375 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
41376 (two_way_short_needle): Use it.
41377 * string/strstr.c (AVAILABLE1_USES_J): Define.
41378 * string/strcasestr.c: Likewise.
41379
41380 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
41381 array references.
41382 * string/strcasestr.c (TOLOWER): Make side-effect safe.
41383
41384 [BZ #11607]
41385 * NEWS: Add an entry.
41386 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
41387 define their defaults.
41388 (two_way_short_needle): Detect end-of-string on-the-fly.
41389 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
41390 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
41391 * string/bug-strcasestr1.c: New test.
41392 * string/Makefile: Run it.
41393
41394 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
41395
41396 [BZ #11607]
41397 * string/str-two-way.h (two_way_short_needle): Optimize matching of
41398 the first character.
41399
41400 2012-08-21 Roland McGrath <roland@hack.frob.com>
41401
41402 * csu/elf-init.c (__libc_csu_irel): Function removed.
41403 * csu/libc-start.c (apply_irel): New function.
41404 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
41405
41406 2012-08-21 Joseph Myers <joseph@codesourcery.com>
41407
41408 * sysdeps/unix/sysv/linux/kernel-features.h
41409 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
41410 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
41411 <kernel-features.h>.
41412 [__NR_fadvise64_64]: Make code unconditional.
41413 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
41414 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41415 !__NR_fadvise64_64)]: Likewise.
41416 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
41417 !__NR_fadvise64_64))]: Likewise.
41418 [__NR_fadvise64]: Make code unconditional.
41419 [!__NR_fadvise64]: Remove conditional code.
41420 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
41421 <kernel-features.h>.
41422 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41423 unconditional.
41424 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41425 conditional code.
41426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
41427 not include <kernel-features.h>.
41428 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41429 unconditional.
41430 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41431 conditional code.
41432 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
41433 include <kernel-features.h>.
41434 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
41435 unconditional.
41436 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
41437 conditional code.
41438
41439 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
41440
41441 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
41442 slight instruction rearrangements per scrollpipe analysis.
41443 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
41444
41445 2012-08-20 Roland McGrath <roland@hack.frob.com>
41446
41447 * manual/syslog.texi (syslog; vsyslog, closelog):
41448 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
41449 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
41450
41451 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
41452 DSOCAPS to match condition on defining it.
41453
41454 2012-08-20 Joseph Myers <joseph@codesourcery.com>
41455
41456 * sysdeps/unix/sysv/linux/kernel-features.h
41457 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
41458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
41459 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41460 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
41462 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41463 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
41465 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
41466 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
41467
41468 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
41469 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
41470
41471 * sysdeps/unix/sysv/linux/kernel-features.h
41472 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
41473 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
41474 unconditional.
41475 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41476 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
41477 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41478 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41479 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
41480 Make code unconditional.
41481 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41482 (__mmap64) [!__NR_mmap2]: Likewise.
41483 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
41484 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
41485 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41486 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
41487 [__NR_mmap2]: Make code unconditional.
41488 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
41489 (__mmap64) [!__NR_mmap2]: Likewise.
41490
41491 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41492
41493 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
41494
41495 2012-08-18 Andreas Jaeger <aj@suse.de>
41496
41497 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
41498
41499 2012-08-18 Mike Frysinger <vapier@gentoo.org>
41500
41501 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
41502 * include/unistd.h (__have_sock_cloexec): Likewise.
41503 (__have_pipe2): Likewise.
41504 (__have_dup3): Likewise.
41505
41506 2012-08-18 Mike Frysinger <vapier@gentoo.org>
41507
41508 [BZ #9685]
41509 * include/unistd.h (__have_pipe2): Change define into an extern int.
41510 (__have_dup3): Likewise.
41511 * socket/have_sock_cloexec.c: Include fcntl.h.
41512 (__have_pipe2): New variable.
41513 (__have_dup3): Likewise.
41514
41515 2012-08-17 Mike Frysinger <vapier@gentoo.org>
41516
41517 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
41518
41519 2012-08-17 Marek Polacek <polacek@redhat.com>
41520
41521 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
41522 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
41523
41524 2012-08-17 Roland McGrath <roland@hack.frob.com>
41525
41526 * configure.in: Add AC_SUBST for sysheaders.
41527 * configure: Regenerated.
41528 * config.make.in (sysheaders): New substituted variable.
41529
41530 * sysdeps/unix/mkfifo.c: Moved ...
41531 * sysdeps/posix/mkfifo.c: ... here.
41532 * sysdeps/unix/mkfifoat.c: Moved ...
41533 * sysdeps/posix/mkfifoat.c: ... here.
41534
41535 * sysdeps/unix/utime.c: Moved ...
41536 * sysdeps/posix/utime.c: ... here.
41537
41538 * sysdeps/unix/time.c: Moved ...
41539 * sysdeps/posix/time.c: ... here.
41540 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
41541 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
41542
41543 * sysdeps/unix/nice.c: Moved ...
41544 * sysdeps/posix/nice.c: ... here.
41545
41546 * sysdeps/unix/alarm.c: Moved ...
41547 * sysdeps/posix/alarm.c: ... here.
41548
41549 * intl/Makefile ($(codeset_mo)): Depend on the input file.
41550
41551 2012-08-17 Jeff Law <law@redhat.com>
41552
41553 * intl/Makefile (codeset_mo): New variable.
41554 ($(codeset_mo)): New target.
41555 (tst-codeset.out): Depend on that. Remove explicit rule.
41556 (tst-gettext3.out, tst-gettext5.out): Likewise.
41557 (LOCPATH-ENV, tst-codeset-ENV): New variables.
41558 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
41559 * intl/tst-codeset.sh: Remove.
41560 * intl/tst-gettext3.sh: Likewise.
41561 * intl/tst-gettext5.sh: Likewise.
41562
41563 2012-08-17 Roland McGrath <roland@hack.frob.com>
41564
41565 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
41566 * sysdeps/unix/syscalls.list: ... here.
41567
41568 * sysdeps/posix/getaddrinfo.c
41569 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
41570 (gaiconf_init, gaiconf_reload): Use them.
41571 [!_STATBUF_ST_NSEC]
41572 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
41573 Define using time_t rather than struct timespec.
41574
41575 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
41576 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
41577 Macros removed.
41578 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
41579 [!NO_THREADS].
41580 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
41581 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
41582 Likewise.
41583
41584 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
41585 __libc_cleanup_push argument.
41586
41587 * bits/param.h: New file.
41588 * misc/sys/param.h: New file.
41589 * include/sys/param.h: New file.
41590 * misc/Makefile (headers): Add bits/param.h.
41591 * sysdeps/generic/sys/param.h: File removed.
41592 * sysdeps/unix/sysv/linux/bits/param.h: New file.
41593 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
41594 * sysdeps/mach/hurd/bits/param.h: New file.
41595 * sysdeps/mach/hurd/sys/param.h: File removed.
41596
41597 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
41598 last change.
41599
41600 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
41601 [_IO_MTSAFE_IO].
41602 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
41603 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
41604 New macros.
41605
41606 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
41607 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
41608 rather than -D_IO_MTSAFE_IO conditionally.
41609 * stdio-common/Makefile (CPPFLAGS): Likewise.
41610 * wcsmbs/Makefile (CPPFLAGS): Likewise.
41611 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
41612 Use $(libio-mtsafe).
41613 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
41614 of -D_IO_MTSAFE_IO.
41615 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
41616 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
41617 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
41618 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
41619 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
41620 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
41621 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
41622 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
41623 (CFLAGS-fread_u_chk.c): Likewise.
41624 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
41625 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
41626 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
41627 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
41628 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
41629 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
41630 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
41631 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
41632 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
41633
41634 * libio/Makefile: Test [$(libc-reentrant) = yes]
41635 instead of [$(filter %REENTRANT, $(defines)) nonempty].
41636
41637 * Makeconfig
41638 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
41639 * sysdeps/pthread/configure: File removed.
41640 * sysdeps/pthread/Makeconfig: New file.
41641 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
41642 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
41643
41644 2012-08-16 Gary Benson <gbenson@redhat.com>
41645
41646 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
41647 unmapping the first object in a namespace.
41648
41649 2012-08-16 Roland McGrath <roland@hack.frob.com>
41650
41651 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
41652 (__internal_setnetgrent): ... this. Add internal_function to
41653 definition. Add libc_hidden_def.
41654 (setnetgrent): Update caller.
41655 (internal_endnetgrent): Renamed to ...
41656 (__internal_endnetgrent): ... this. Add internal_function to
41657 definition. Add libc_hidden_def.
41658 (endnetgrent): Update caller.
41659 (internal_getnetgrent_r): Renamed to ...
41660 (__internal_getnetgrent_r): ... this. Add internal_function to
41661 definition. Add libc_hidden_def.
41662 (__getnetgrent_r): Update caller.
41663 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
41664
41665 2012-08-16 Joseph Myers <joseph@codesourcery.com>
41666
41667 * stdlib/longlong.h: Update from GCC.
41668
41669 2012-08-16 Roland McGrath <roland@hack.frob.com>
41670
41671 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
41672 on _QL, which is set by umul_ppmm but never used.
41673 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
41674 variables, which are set by GMP macros but never used.
41675 * stdio-common/_itowa.c (_itowa): Likewise.
41676 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
41677 * stdlib/mod_1.c (mpn_mod_1): Likewise.
41678
41679 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
41680
41681 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
41682 struct La_sh_regs is not constant.
41683 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
41684 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
41685 and struct La_sparc64_regs are not constant.
41686
41687 2012-08-16 Joseph Myers <joseph@codesourcery.com>
41688
41689 * sysdeps/unix/sysv/linux/kernel-features.h
41690 (__ASSUME_POSIX_TIMERS): Remove.
41691 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41692 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41693 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
41694 Make code unconditional.
41695 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41696 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
41697 Make code unconditional.
41698 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41699 * sysdeps/unix/sysv/linux/clock_nanosleep.c
41700 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
41701 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41702 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
41703 Make code unconditional.
41704 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
41705 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
41706 (__libc_missing_posix_timers): Remove.
41707
41708 2012-08-15 Roland McGrath <roland@hack.frob.com>
41709
41710 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
41711 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
41712
41713 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
41714
41715 * elf/dl-sym.c: Include <stdlib.h>.
41716
41717 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
41718 constants, which avoids warnings in 32-bit builds.
41719
41720 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
41721 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
41722
41723 * misc/lseek.c: File moved to ...
41724 * io/lseek.c: ... here.
41725
41726 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
41727
41728 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
41729 shifting LEN more than 31 bits at once.
41730
41731 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41732
41733 [BZ #14195]
41734 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
41735 segmentation fault for a case of two empty input strings.
41736 * string/test-strncasecmp.c (check1): Renamed to...
41737 (bz12205): ...this.
41738 (bz14195): Add new testcase for two empty input strings and N > 0.
41739 (test_main): Call new testcase, adapt for renamed function.
41740
41741 2012-08-15 Andreas Jaeger <aj@suse.de>
41742
41743 [BZ #14090]
41744 * crypt/md5test2.c: New test, based on test supplied by Serge
41745 Belyshev <belyshev@depni.sinp.msu.ru>.
41746 * crypt/Makefile (xtests): Add md5test-giant..
41747 * crypt/Makefile ($(objpfx)md5test-giant): Add.
41748
41749 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
41750
41751 [BZ #14090]
41752 * crypt/md5.c (md5_process_block): Don't assume the buffer
41753 length is less than 2**32.
41754 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
41755 length is less than 2**64.
41756
41757 2012-08-15 Roland McGrath <roland@hack.frob.com>
41758
41759 * string/str-two-way.h: Include <sys/param.h>.
41760 (MAX): Macro removed.
41761
41762 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
41763 Move #define and #undef of memmove to just before and after
41764 including <string.h>.
41765
41766 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
41767 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
41768 and after including <string.h>. Move declarations of
41769 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
41770 to before #include "string/memmove.c".
41771
41772 * include/dirent.h: Declare __getdirentries.
41773
41774 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
41775 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
41776
41777 2012-08-14 Mike Frysinger <vapier@gentoo.org>
41778
41779 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
41780 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
41781 * sysdeps/i386/configure: Regenerated.
41782 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
41783 STABS_CURRENT_FILE, and STABS_FUN.
41784 (END): Remove call to STABS_FUN_END.
41785 (STABS_CURRENT_FILE1): Delete.
41786 (STABS_CURRENT_FILE): Likewise.
41787 (STABS_FUN): Likewise.
41788 (STABS_FUN_END): Likewise.
41789 (STABS_FUN2): Likewise.
41790 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
41791 * sysdeps/x86_64/configure: Regenerated.
41792
41793 2012-08-14 Roland McGrath <roland@hack.frob.com>
41794
41795 * elf/dl-open.c: Include <atomic.h>.
41796 * elf/dl-lookup.c: Likewise.
41797
41798 2012-08-14 Joseph Myers <joseph@codesourcery.com>
41799
41800 * sysdeps/unix/sysv/linux/kernel-features.h
41801 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
41802 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
41803 unconditionally.
41804 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
41805 unconditionally.
41806 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
41807 condition on __ASSUME_CLONE_THREAD_FLAGS.
41808
41809 2012-08-14 Andreas Jaeger <aj@suse.de>
41810
41811 * sysdeps/i386/fpu/libm-test-ulps: Update.
41812
41813 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
41814
41815 * include/atomic.h (atomic_exchange_and_add): Split into ...
41816 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
41817 New atomic macros.
41818
41819 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
41820
41821 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41822
41823 2012-08-13 Jeff Law <law@redhat.com>
41824
41825 * manual/stdio.texi (snprintf): Clarify handling of the trailing
41826 null byte in the output string.
41827
41828 2012-08-10 Joseph Myers <joseph@codesourcery.com>
41829
41830 * sysdeps/unix/sysv/linux/kernel-features.h
41831 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
41832 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
41833 (__ASSUME_ARG_MAX_STACK_BASED): Define.
41834 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
41835 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
41836 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
41837 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
41838
41839 2012-08-09 Jeff Law <law@redhat.com>
41840
41841 [BZ #13939]
41842 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
41843 When avoid_arena is set, don't retry in the that arena. Pick the
41844 next one, whatever it might be.
41845 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
41846 (arena_lock): Pass in new parameter to arena_get2.
41847 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
41848 arena_get2.
41849 (__libc_malloc): Unify retrying after main arena failure with
41850 __libc_memalign version.
41851 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
41852
41853 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
41854
41855 [BZ #14166]
41856 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
41857 to __redirect_strstr.
41858 (__strstr_sse42): Use typeof __redirect_strstr.
41859 (__strstr_ia32): Likewise.
41860 (__libc_strstr): New prototype.
41861 (strstr): Renamed to ...
41862 (__libc_strstr): This.
41863 (strstr): New strong alias of __libc_strstr.
41864 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
41865 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
41866 __redirect_time.
41867 Include <time.h>.
41868 (__libc_time): New prototype.
41869 (time_ifunc): Replace time with __libc_time.
41870 (time): New strong alias and hidden definition of __libc_time.
41871 (__GI_time): Remove strong alias.
41872 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
41873 Include <stddef.h>.
41874 (memmove): Redefined to __redirect_memmove.
41875 (__memmove_sse2): Use typeof __redirect_memmove.
41876 (__memmove_ssse3): Likewise.
41877 (__memmove_ssse3_back): Likewise.
41878 (__libc_memmove): New prototype.
41879 (memmove): Renamed to ...
41880 (__libc_memmove): This.
41881 (memmove): New strong alias of __libc_memmove.
41882
41883 2012-08-08 Mark Salter <msalter@redhat.com>
41884
41885 * elf/elf.h
41886 (R_MN10300_TLS_GD): Define.
41887 (R_MN10300_TLS_LD): Likewise.
41888 (R_MN10300_TLS_LDO): Likewise.
41889 (R_MN10300_TLS_GOTIE): Likewise.
41890 (R_MN10300_TLS_IE): Likewise.
41891 (R_MN10300_TLS_LE): Likewise.
41892 (R_MN10300_TLS_DTPMOD): Likewise.
41893 (R_MN10300_TLS_DTPOFF): Likewise.
41894 (R_MN10300_TLS_TPOFF): Likewise.
41895 (R_MN10300_SYM_DIFF): Likewise.
41896 (R_MN10300_ALIGN): Likewise.
41897 (R_MN10300_NUM): Update.
41898
41899 2012-08-08 Joseph Myers <joseph@codesourcery.com>
41900
41901 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
41902 Remove.
41903
41904 2012-08-08 Roland McGrath <roland@hack.frob.com>
41905
41906 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
41907
41908 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
41909 sysdeps/unix -> sysdeps/posix move.
41910 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
41911
41912 2012-08-07 Allan McRae <allan@archlinux.org>
41913
41914 [BZ #14303]
41915 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
41916 (SUNOS_CPP): Likewise.
41917 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
41918 not found.
41919 (open_input): Call CPP using execvp.
41920
41921 2012-08-07 Joseph Myers <joseph@codesourcery.com>
41922
41923 * sysdeps/unix/sysv/linux/kernel-features.h
41924 (__ASSUME_PROT_GROWSUPDOWN): Remove.
41925 (__ASSUME_NO_CLONE_DETACHED): Likewise.
41926 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
41927 (__ASSUME_WAITID_SYSCALL): Likewise.
41928 * sysdeps/unix/sysv/linux/dl-execstack.c
41929 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
41930 code unconditional.
41931 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
41932 conditional code.
41933 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
41934 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
41935 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
41936 code.
41937 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
41938 unconditional.
41939 [__ASSUME_WAITID_SYSCALL]: Likewise.
41940 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
41941
41942 2012-08-07 Roland McGrath <roland@hack.frob.com>
41943
41944 * sysdeps/unix/closedir.c: Renamed to ...
41945 * sysdeps/posix/closedir.c: ... here.
41946 * sysdeps/unix/dirfd.c: Renamed to ...
41947 * sysdeps/posix/dirfd.c: ... here.
41948 * sysdeps/unix/dirstream.h: Renamed to ...
41949 * sysdeps/posix/dirstream.h: ... here.
41950 * sysdeps/unix/fdopendir.c: Renamed to ...
41951 * sysdeps/posix/fdopendir.c: ... here.
41952 * sysdeps/unix/opendir.c: Renamed to ...
41953 * sysdeps/posix/opendir.c: ... here.
41954 * sysdeps/unix/readdir.c: Renamed to ...
41955 * sysdeps/posix/readdir.c: ... here.
41956 * sysdeps/unix/readdir_r.c: Renamed to ...
41957 * sysdeps/posix/readdir_r.c: ... here.
41958 * sysdeps/unix/rewinddir.c: Renamed to ...
41959 * sysdeps/posix/rewinddir.c: ... here.
41960 * sysdeps/unix/seekdir.c: Renamed to ...
41961 * sysdeps/posix/seekdir.c: ... here.
41962 * sysdeps/unix/telldir.c: Renamed to ...
41963 * sysdeps/posix/telldir.c: ... here.
41964 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
41965 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
41966 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
41967 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
41968
41969 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
41970 * bits/fcntl.h: ... here.
41971
41972 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
41973 not 0.
41974 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
41975 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
41976 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
41977 (struct flock): Move l_start, l_len to the beginning.
41978 Use __pid_t for l_pid.
41979 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
41980 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
41981 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
41982 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
41983 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
41984 [__USE_LARGEFILE64] (struct flock64): New type.
41985 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
41986
41987 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
41988 * bits/dirent.h: ... here.
41989
41990 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
41991 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
41992
41993 2012-08-07 Joseph Myers <joseph@codesourcery.com>
41994
41995 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41996 Change from 2.6.0 to 2.6.16.
41997 * sysdeps/unix/sysv/linux/configure: Regenerated.
41998 * sysdeps/unix/sysv/linux/kernel-features.h
41999 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
42000 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
42001 version.
42002 (__ASSUME_UTIMES): Likewise.
42003 (__ASSUME_CLONE_STOPPED): Remove.
42004 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
42005 architectures, not kernel version.
42006 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
42007 (__ASSUME_NO_CLONE_DETACHED): Likewise.
42008 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42009 (__ASSUME_WAITID_SYSCALL): Likewise.
42010 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
42011 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
42012 * README: State 2.6.16 as minimum Linux kernel version. Do not
42013 refer to older versions.
42014
42015 2012-08-06 Roland McGrath <roland@hack.frob.com>
42016
42017 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
42018 Define alphasort64 as an alias.
42019 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
42020 Define versionsort64 as an alias.
42021 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
42022 Define scandir64 as an alias.
42023 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
42024 Define scandirat64 as an alias.
42025 * dirent/alphasort64.c (alphasort64):
42026 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
42027 * dirent/versionsort64.c: Likewise.
42028 * dirent/scandir64.c: Likewise.
42029 * dirent/scandirat64.c: Likewise.
42030 * sysdeps/wordsize-64/alphasort.c: File removed.
42031 * sysdeps/wordsize-64/alphasort64.c: File removed.
42032 * sysdeps/wordsize-64/scandir.c: File removed.
42033 * sysdeps/wordsize-64/scandir64.c: File removed.
42034 * sysdeps/wordsize-64/scandirat.c: File removed.
42035 * sysdeps/wordsize-64/scandirat64.c: File removed.
42036 * sysdeps/wordsize-64/versionsort.c: File removed.
42037 * sysdeps/wordsize-64/versionsort64.c: File removed.
42038 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
42039 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
42040 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
42041 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
42042 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
42043 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
42044 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
42045 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
42046
42047 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
42048 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42049 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
42050 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42051 [defined __arch64__ || defined __sparcv9]
42052 (__INO_T_MATCHES_INO64_T): New macro.
42053 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42054 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
42055 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
42056 * sysdeps/unix/sysv/linux/bits/dirent.h
42057 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
42058 (_DIRENT_MATCHES_DIRENT64): New macro.
42059
42060 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
42061 Define lockf64 as an alias.
42062 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
42063 Define fseeko64 as an alias.
42064 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
42065 Define ftello64 as an alias.
42066 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
42067 Define _IO_fgetpos64 and fgetpos64 as aliases.
42068 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
42069 Define _IO_fsetpos64 and fsetpos64 as aliases.
42070 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
42071 Conditionalize body on this.
42072 * libio/fseeko64.c: Likewise.
42073 * libio/ftello64.c: Likewise.
42074 * libio/iofgetpos64.c: Likewise.
42075 * libio/iofsetpos64.c: Likewise.
42076 * sysdeps/wordsize-64/lockf.c: File removed.
42077 * sysdeps/wordsize-64/lockf64.c: File removed.
42078 * sysdeps/wordsize-64/fseeko.c: File removed.
42079 * sysdeps/wordsize-64/fseeko64.c: File removed.
42080 * sysdeps/wordsize-64/ftello.c: File removed.
42081 * sysdeps/wordsize-64/ftello64.c: File removed.
42082 * sysdeps/wordsize-64/iofgetpos.c: File removed.
42083 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
42084 * sysdeps/wordsize-64/iofsetpos.c: File removed.
42085 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
42086 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
42087 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
42088 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
42089 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
42090 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
42091 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
42092 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
42093 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
42094 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
42095 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
42096
42097 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42098 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42099 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
42100 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42101 [defined __arch64__ || defined __sparcv9]
42102 (__OFF_T_MATCHES_OFF64_T): New macro.
42103 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42104 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42105 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42106 (__OFF_T_MATCHES_OFF64_T): New macro.
42107
42108 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42109
42110 * stdlib/secure-getenv.c (__secure_getenv): Replace
42111 GLIBC_2_16 with GLIBC_2_17.
42112
42113 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
42114
42115 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
42116 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42117
42118 2012-08-03 David S. Miller <davem@davemloft.net>
42119
42120 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42121
42122 2012-08-03 Joseph Myers <joseph@codesourcery.com>
42123
42124 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
42125 Remove.
42126 (__ASSUME_CORRECT_SI_PID): Likewise.
42127 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
42128 (__ASSUME_TMPFS_NAME): Likewise.
42129 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
42130 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
42131 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
42132 (HAVE_AUX_SECURE): Make definition unconditional.
42133 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
42134 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
42135
42136 2012-08-03 Roland McGrath <roland@hack.frob.com>
42137
42138 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
42139 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
42140 * sysdeps/mach/hurd/eloop-threshold.h: New file.
42141 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42142 __eloop_threshold instead of SYMLOOP_MAX.
42143
42144 * sysdeps/generic/eloop-threshold.h: New file.
42145 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
42146 of MAXSYMLINKS.
42147 * elf/chroot_canon.c (chroot_canon): Likewise.
42148
42149 2012-08-03 Joseph Myers <joseph@codesourcery.com>
42150
42151 [BZ #13717]
42152 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42153 Change to 2.6.0 everywhere.
42154 * sysdeps/unix/sysv/linux/configure: Regenerated.
42155 * sysdeps/unix/sysv/linux/kernel-features.h
42156 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
42157 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
42158 kernel versions.
42159 (__ASSUME_POSIX_TIMERS): Define unconditionally.
42160 (__ASSUME_FUTEX_REQUEUE): Remove.
42161 (__ASSUME_STATFS64): Define unconditionally.
42162 (__ASSUME_AT_SECURE): Likewise.
42163 (__ASSUME_CORRECT_SI_PID): Likewise.
42164 (__ASSUME_TGKILL): Define without depending on kernel version for
42165 i386.
42166 (__ASSUME_UTIMES): Likewise.
42167 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
42168 kernel version.
42169 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
42170 (__ASSUME_TMPFS_NAME): Likewise.
42171 * README: Update reference to Linux kernel versions.
42172
42173 2012-08-02 Marek Polacek <polacek@redhat.com>
42174
42175 [BZ# 14150]
42176 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
42177 libc_cv_asm_type_prefix with %.
42178 * configure: Regenerated.
42179 * include/libc-symbols.h: Remove comment about
42180 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42181 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
42182 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
42183 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
42184 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
42185 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42186 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
42187 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
42188 * elf/tst-unique2mod1.c: Likewise.
42189 * elf/tst-unique1mod2.c: Likewise.
42190 * elf/tst-unique1mod1.c: Likewise.
42191 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
42192 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
42193 Replace ASM_TYPE_DIRECTIVE with .type.
42194 * sysdeps/s390/s390-64/sysdep.h: Likewise.
42195 * sysdeps/i386/sysdep.h: Likewise.
42196 * sysdeps/x86_64/sysdep.h: Likewise.
42197 * sysdeps/sh/sysdep.h: Likewise.
42198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
42199 Do not define ASM_TYPE_DIRECTIVE.
42200 * sysdeps/powerpc/sysdep.h: Likewise.
42201 * sysdeps/powerpc/powerpc32/sysdep.h:
42202 Replace ASM_TYPE_DIRECTIVE with .type.
42203 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
42204 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
42205 * sysdeps/i386/fpu/e_powf.S: Likewise.
42206 * sysdeps/i386/fpu/e_expl.S: Likewise.
42207 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42208 * sysdeps/i386/fpu/e_acosh.S: Likewise.
42209 * sysdeps/i386/fpu/e_pow.S: Likewise.
42210 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
42211 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42212 * sysdeps/i386/fpu/s_expm1.S: Likewise.
42213 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
42214 * sysdeps/i386/fpu/e_log2.S: Likewise.
42215 * sysdeps/i386/fpu/e_log2l.S: Likewise.
42216 * sysdeps/i386/fpu/e_scalb.S: Likewise.
42217 * sysdeps/i386/fpu/e_powl.S: Likewise.
42218 * sysdeps/i386/fpu/e_log10f.S: Likewise.
42219 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
42220 * sysdeps/i386/fpu/e_logl.S: Likewise.
42221 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
42222 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
42223 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
42224 * sysdeps/i386/fpu/e_log2f.S: Likewise.
42225 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42226 * sysdeps/i386/fpu/e_log.S: Likewise.
42227 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42228 * sysdeps/i386/fpu/e_logf.S: Likewise.
42229 * sysdeps/i386/fpu/e_log10l.S: Likewise.
42230 * sysdeps/i386/fpu/e_atanh.S: Likewise.
42231 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
42232 * sysdeps/i386/fpu/e_log10.S: Likewise.
42233 * sysdeps/i386/fpu/s_frexp.S: Likewise.
42234 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42235 * sysdeps/i386/fpu/s_asinh.S: Likewise.
42236 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
42237 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42238 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
42239 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
42240 * sysdeps/i386/i686/strtok.S: Likewise.
42241 * sysdeps/i386/i386-mcount.S: Likewise.
42242 * sysdeps/i386/strtok.S: Likewise.
42243 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
42244 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
42245 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
42246 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
42247 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
42248 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
42249 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
42250 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
42251 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
42252 * sysdeps/x86_64/_mcount.S: Likewise.
42253 * sysdeps/x86_64/strtok.S: Likewise.
42254 * sysdeps/sh/_mcount.S: Likewise.
42255
42256 2012-08-01 Roland McGrath <roland@hack.frob.com>
42257
42258 * libio/iofopen.c: Include <fcntl.h>.
42259 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
42260 (_IO_fopen64, fopen64): Define as aliases.
42261 * libio/iofopen64.c: Include <fcntl.h>.
42262 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
42263 Conditionalize body on this.
42264 * sysdeps/wordsize-64/iofopen.c: File removed.
42265 * sysdeps/wordsize-64/iofopen64.c: File removed.
42266
42267 2012-08-01 Marek Polacek <polacek@redhat.com>
42268
42269 * libc/Makeconfig: Use elf in place of binfmt-subdir.
42270 Use dlfcn directly instead of a variable.
42271 (binfmt-subdir): Do not define.
42272 (dlfcn): Likewise.
42273
42274 2012-08-01 Joseph Myers <joseph@codesourcery.com>
42275
42276 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
42277 Remove all definitions.
42278 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
42279 <kernel-features.h>.
42280 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42281 (miss_F_GETOWN_EX): Remove all definitions.
42282 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
42283 macro definition.
42284 [!__ASSUME_FCNTL64]: Remove conditional code.
42285 [__ASSUME_FCNTL64]: Make code unconditional.
42286 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
42287 <kernel-features.h>.
42288 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
42289 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
42290 (lockf64) [__NR_fcntl64]: Make code unconditional.
42291 (lockf64) [__ASSUME_FCNTL64]: Likewise.
42292
42293 * sysdeps/unix/sysv/linux/kernel-features.h
42294 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
42295 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
42296 Make code unconditional.
42297 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42298 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
42300 [__NR_vfork]: Make code unconditional.
42301 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42302 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
42304 [__NR_vfork]: Make code unconditional.
42305 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
42306 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
42307
42308 2012-08-01 Roland McGrath <roland@hack.frob.com>
42309
42310 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
42311 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
42312
42313 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42314 Define mkstemp64 as an alias.
42315 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42316 Define mkstemps64 as an alias.
42317 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42318 Define mkostemp64 as an alias.
42319 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
42320 Define mkostemps64 as an alias.
42321 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
42322 Conditionalize body on this.
42323 * misc/mkostemp64.c: Likewise.
42324 * misc/mkostemps64.c: Likewise.
42325 * misc/mkstemps64.c: Likewise.
42326 * sysdeps/wordsize-64/mkstemp64.c: File removed.
42327 * sysdeps/wordsize-64/mkostemp64.c: File removed.
42328 * sysdeps/wordsize-64/mkostemp.c: File removed.
42329 * sysdeps/wordsize-64/mkstemp.c: File removed.
42330 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
42331 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
42332 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
42333 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
42334
42335 [BZ #14138]
42336 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
42337 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
42338 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
42339 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
42340
42341 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
42342 compat_symbol macros from <shlib-compat.h> rather than the underlying
42343 default_symbol_version and symbol_version macros, so that DEFAULT
42344 lines in shlib-versions are respected.
42345 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
42346
42347 2012-08-01 Florian Weimer <fweimer@redhat.com>
42348
42349 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
42350 Declare with warn_unused_result.
42351 (setgid, setregid, setegid, setresgid): Likewise.
42352 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
42353 Likewise.
42354 * WUR-REPORT: Remove set*id functions.
42355
42356 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
42357
42358 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
42359
42360 2012-07-31 Roland McGrath <roland@hack.frob.com>
42361
42362 [BZ #10191]
42363 * include/sys/socket.h (__libc_accept, __libc_accept4):
42364 Add attribute_hidden.
42365 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
42366
42367 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
42368 use of PTR_MANGLE.
42369 * inet/getnetgrent_r.c (setup): Likewise.
42370
42371 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
42372
42373 2012-07-31 David S. Miller <davem@davemloft.net>
42374
42375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42376
42377 2012-07-31 Joseph Myers <joseph@codesourcery.com>
42378
42379 [BZ #13629]
42380 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
42381 value between 1.0 and 2.0 and smaller part has absolute value less
42382 than 1.0.
42383 * math/s_clog10.c (__clog10): Likewise.
42384 * math/s_clog10f.c (__clog10f): Likewise.
42385 * math/s_clog10l.c (__clog10l): Likewise.
42386 * math/s_clogf.c (__clogf): Likewise.
42387 * math/s_clogl.c (__clogl): Likewise.
42388 * math/libm-test.inc (clog_test): Add more tests.
42389 (clog10_test): Likewise.
42390 * sysdeps/i386/fpu/libm-test-ulps: Update.
42391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42392
42393 2012-07-31 Florian Weimer <fweimer@redhat.com>
42394
42395 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
42396 Exit with zero in case no suitable GID is found, and write a
42397 message to standard error.
42398
42399 2012-07-30 Roland McGrath <roland@hack.frob.com>
42400
42401 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
42402 rather than to 1.
42403 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
42404 (MAXPATHLEN): Removed.
42405 (NOGROUP, NODEV): New macros.
42406 (setbit, clrbit, isset, isclr): New macros.
42407 (howmany, roundup, powerof2): New macros.
42408 (DEV_BSIZE): New macro.
42409
42410 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
42411 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
42412
42413 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
42414 definition on [!__NO_LONG_DOUBLE_MATH].
42415
42416 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
42417 PTR_MANGLE and PTR_DEMANGLE.
42418
42419 * socket/accept4.c (accept4): Rename to __libc_accept4.
42420 Define accept4 as a weak alias.
42421
42422 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
42423 on [_DIRENT_HAVE_D_TYPE].
42424 * io/ftw.c (ftw_dir): Likewise.
42425
42426 * io/xmknod.c (__xmknod): Don't check PATH for being null.
42427
42428 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
42429
42430 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
42431 Use the BSD numbers rather than the arbitrary ones we had.
42432 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
42433 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
42434 (SIGXCPU, SIGXFSZ): New macros.
42435 (_NSIG): Now 32.
42436
42437 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
42438 initializer on [_LIBC_REENTRANT].
42439
42440 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
42441 definitions inside [_POSIX_MAPPED_FILES].
42442
42443 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
42444
42445 * dirent/opendir.c: Include <fcntl.h>.
42446
42447 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
42448 (__libc_getspecific): Likewise.
42449 (__libc_key_create): Likewise.
42450
42451 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
42452 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
42453 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
42454 (tmpfile64): Define as alias.
42455 * sysdeps/wordsize-64/tmpfile.c: File removed.
42456 * sysdeps/wordsize-64/tmpfile64.c: File removed.
42457 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
42458 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
42459
42460 * stdio-common/vfscanf.c: Include <stdbool.h>.
42461 * nss/makedb.c: Likewise.
42462 * stdio-common/_i18n_number.h: Likewise.
42463 * argp/argp-help.c: Likewise.
42464 * posix/wordexp.c: Likewise.
42465 * sysdeps/posix/spawni.c: Likewise.
42466 * nss/nss_files/files-initgroups.c: Likewise.
42467 * stdio-common/reg-modifier.c: Include <stdlib.h>.
42468 * nss/nss_files/files-initgroups.c: Likewise.
42469 * nss/nss_db/db-netgrp.c: Likewise.
42470 * nss/nss_db/db-initgroups.c: Likewise.
42471 * io/fchmodat.c: Include <sys/stat.h>.
42472
42473 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
42474 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
42475
42476 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
42477 [HAVE_MMAP].
42478
42479 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
42480 Add multiple inclusion protection.
42481
42482 2012-07-27 David S. Miller <davem@davemloft.net>
42483
42484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42485
42486 2012-07-27 Gary Benson <gbenson@redhat.com>
42487
42488 [BZ #14298]
42489 * elf/rtld.c: Include <stap-probe.h>.
42490 (dl_main): Added static probes "init_start" and "init_complete".
42491 * elf/dl-load.c: Include <stap-probe.h>.
42492 (lose): Take new parameter "nsid".
42493 Added static probe "map_failed".
42494 (_dl_map_object_from_fd): Pass namespace id to lose.
42495 Added static probe "map_start".
42496 (open_verify): Pass namespace id to lose.
42497 * elf/dl-open.c: Include <stap-probe.h>.
42498 (dl_open_worker) Added static probes "map_complete", "reloc_start"
42499 and "reloc_complete".
42500 * elf/dl-close.c: Include <stap-probe.h>.
42501 (_dl_close_worker): Added static probes "unmap_start" and
42502 "unmap_complete".
42503 * elf/rtld-debugger-interface.txt: New file documenting the above.
42504
42505 2012-07-26 Roland McGrath <roland@hack.frob.com>
42506
42507 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
42508 rather than a string variable.
42509 * sunrpc/rpc_main.c (h_output): Likewise.
42510 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
42511
42512 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
42513
42514 * inet/check_native.c: New file.
42515
42516 2012-07-26 Joseph Myers <joseph@codesourcery.com>
42517
42518 [BZ #13629]
42519 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
42520 if larger part has absolute value 1.0.
42521 * math/s_clog10.c (__clog10): Likewise.
42522 * math/s_clog10f.c (__clog10f): Likewise.
42523 * math/s_clog10l.c (__clog10l): Likewise.
42524 * math/s_clogf.c (__clogf): Likewise.
42525 * math/s_clogl.c (__clogl): Likewise.
42526 * math/libm-test.inc (clog_test): Add more tests.
42527 (clog10_test): Likewise.
42528 * sysdeps/i386/fpu/libm-test-ulps: Update.
42529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42530
42531 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
42532 (pltexit): Likewise.
42533 (La_regs): Likewise.
42534 (La_retval): Likewise.
42535 (int_retval): Likewise.
42536 Update #error for removed macros to refer only to definitions in
42537 tst-audit.h.
42538 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
42539 macro.
42540 (pltexit): Likewise.
42541 (La_regs): Likewise.
42542 (La_retval): Likewise.
42543 (int_retval): Likewise.
42544 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
42545 macro.
42546 (pltexit): Likewise.
42547 (La_regs): Likewise.
42548 (La_retval): Likewise.
42549 (int_retval): Likewise.
42550 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
42551 macro.
42552 (pltexit): Likewise.
42553 (La_regs): Likewise.
42554 (La_retval): Likewise.
42555 (int_retval): Likewise.
42556 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
42557 macro.
42558 (pltexit): Likewise.
42559 (La_regs): Likewise.
42560 (La_retval): Likewise.
42561 (int_retval): Likewise.
42562 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
42563 macro.
42564 (pltexit): Likewise.
42565 (La_regs): Likewise.
42566 (La_retval): Likewise.
42567 (int_retval): Likewise.
42568 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
42569 macro.
42570 (pltexit): Likewise.
42571 (La_regs): Likewise.
42572 (La_retval): Likewise.
42573 (int_retval): Likewise.
42574 * sysdeps/generic/tst-audit.h: Update comment to refer only to
42575 macro definitions in tst-audit.h.
42576 * sysdeps/i386/tst-audit.h: New file.
42577 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
42578 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
42579 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
42580 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
42581 * sysdeps/sh/tst-audit.h: Likewise.
42582 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
42583 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
42584 * sysdeps/x86_64/tst-audit.h: Likewise.
42585
42586 2012-07-26 Andreas Jaeger <aj@suse.de>
42587
42588 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
42589 ptrace.
42590
42591 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
42592 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
42593 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
42594 PTRACE_O_MASK.
42595 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
42596 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
42597 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
42598
42599 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
42600 value.
42601
42602 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
42603 _sigsys.
42604 (si_call_addr, si_syscall, si_arch): Define new macro.
42605 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
42606 _sigsys.
42607 (si_call_addr, si_syscall, si_arch): Define new marcro.
42608 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
42609 _sigsys.
42610 (si_call_addr, si_syscall, si_arch): Define new macro.
42611 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
42612 _sigsys.
42613 (si_call_addr, si_syscall, si_arch): Define new macro.
42614
42615 2012-07-25 Joseph Myers <joseph@codesourcery.com>
42616
42617 [BZ #13717]
42618 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42619 Change to 2.4.21 where previously 2.4.1.
42620 * sysdeps/unix/sysv/linux/configure: Regenerated.
42621 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
42622 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
42623 Linux kernel version.
42624 (__ASSUME_STD_AUXV): Remove.
42625 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
42626 kernel version.
42627 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
42628 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
42629 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
42630 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
42631 (__ASSUME_NETLINK_SUPPORT): Likewise.
42632 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
42633 (__no_netlink_support): Remove conditional definition.
42634 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
42635 Remove.
42636 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42637 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
42638 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
42639 (if_nameindex_ioctl): Remove.
42640 (if_nameindex_netlink): Do not handle __no_netlink_support.
42641 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42642 code.
42643 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
42644 Remove conditional code.
42645 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
42646 code.
42647 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
42648 unconditional.
42649 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
42650 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
42651 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
42652 Remove.
42653 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
42654 [!__ASSUME_STD_AUXV]: Remove conditional code.
42655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
42656 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
42657 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
42658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
42659 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
42660 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42661 code.
42662 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
42664 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
42665 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42666 conditional code.
42667 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
42668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
42669 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
42670 code.
42671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
42672 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
42673 conditional code.
42674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
42675 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42676 code unconditional.
42677 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42678 conditional code.
42679 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42680 unconditional.
42681 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42682 conditional code.
42683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42684 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42685 unconditional.
42686 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42687 conditional code.
42688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
42689 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42690 code unconditional.
42691 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42692 conditional code.
42693 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42694 unconditional.
42695 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42696 conditional code.
42697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
42698 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
42699 code unconditional.
42700 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42701 conditional code.
42702 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
42703 unconditional.
42704 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
42705 conditional code.
42706
42707 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
42708
42709 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
42710 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
42711 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
42712 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
42713 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
42714 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
42715 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
42716 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
42717 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
42718 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
42719 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
42720 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
42721 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
42722 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
42723 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
42724 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
42725 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
42726 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
42727 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
42728 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
42729 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
42730 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
42731 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42732
42733 2012-07-25 Florian Weimer <fweimer@redhat.com>
42734
42735 * Versions.def: Add GLIBC_2.17.
42736 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
42737 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
42738 Introduce __libc_secure_getenv.
42739 * stdlib/Versions (2.17): Add secure_getenv
42740 (GLIBC_PRIVATE): Add __libc_secure_getenv.
42741 * stdlib/secure-getenv.c: Rename __secure_getenv to
42742 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
42743 symbol __secure_getenv for GLIBC_2.0.
42744 * stdlib/tst-secure-getenv.c: New.
42745 * stdlib/Makefile (tests): Add testcase.
42746 * manual/startup.texi (Environment Access): Document
42747 secure_getenv.
42748 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
42749 __libc_secure_getenv.
42750 * inet/ruserpass.c (ruserpass): Likewise.
42751 * malloc/mtrace.c (mtrace): Likewise.
42752 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
42753 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
42754 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
42755 * sysdeps/posix/tempname.c: Likewise. Evaluate
42756 HAVE_SECURE_GETENV.
42757 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
42758 __secure_getenv to __libc_secure_getenv.
42759 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
42760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42761 Likewise.
42762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42763 Likewise.
42764 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
42765 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
42766 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
42767 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
42768 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
42769 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
42770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
42771
42772 2012-07-25 Joseph Myers <joseph@codesourcery.com>
42773
42774 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
42775 (struct La_i86_retval): Likewise.
42776 (struct La_x86_64_regs): Likewise.
42777 (struct La_x86_64_retval): Likewise.
42778 (struct La_x32_regs): Likewise.
42779 (struct La_x32_retval): Likewise.
42780 (struct La_ppc32_regs): Likewise.
42781 (struct La_ppc32_retval): Likewise.
42782 (struct La_ppc64_regs): Likewise.
42783 (struct La_ppc64_retval): Likewise.
42784 (struct La_sh_regs): Likewise.
42785 (struct La_sh_retval): Likewise.
42786 (struct La_s390_32_regs): Likewise.
42787 (struct La_s390_32_retval): Likewise.
42788 (struct La_s390_64_regs): Likewise.
42789 (struct La_s390_64_retval): Likewise.
42790 (struct La_sparc32_regs): Likewise.
42791 (struct La_sparc32_retval): Likewise.
42792 (struct La_sparc64_regs): Likewise.
42793 (struct La_sparc64_retval): Likewise.
42794 (struct audit_ifaces): Remove architecture-specific pltenter and
42795 pltexit members.
42796 * sysdeps/i386/ldsodefs.h: New file.
42797 * sysdeps/powerpc/ldsodefs.h: Likewise.
42798 * sysdeps/s390/ldsodefs.h: Likewise.
42799 * sysdeps/sh/ldsodefs.h: Likewise.
42800 * sysdeps/sparc/ldsodefs.h: Likewise.
42801 * sysdeps/x86_64/ldsodefs.h: Likewise.
42802
42803 2012-07-25 Marek Polacek <polacek@redhat.com>
42804
42805 [BZ #6808]
42806 * math/libm-test.inc (yn_test): Add another test.
42807 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
42808 to ERANGE when the result is +-Inf.
42809 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42810 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
42811 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
42812 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
42813
42814 2012-07-24 Joseph Myers <joseph@codesourcery.com>
42815
42816 * conform/data/time.h-data (NULL): Use macro-constant. Require
42817 equal to 0.
42818 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
42819 clock_t.
42820 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
42821
42822 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
42823
42824 * configure.in <sysdeps resolving>: Correct printing
42825 Implies_before.
42826 * configure: Regenerate.
42827
42828 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
42829
42830 * math/w_ilogb.c: Include <limits.h>.
42831 * math/w_ilogbl.c: Likewise.
42832
42833 2012-07-20 Joseph Myers <joseph@codesourcery.com>
42834
42835 * manual/lang.texi (__va_copy): Document primarily as ISO C99
42836 va_copy. Document allowing for unavailable va_copy only as
42837 pre-C99 compatibility.
42838 * manual/string.texi (Copying and Concatenation): Use va_copy
42839 instead of __va_copy in concat example.
42840
42841 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
42842
42843 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
42844 (__sendto): Use create_address_port. Initialize APORT and deallocate
42845 it if not null.
42846
42847 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
42848 with O_NOLINK passed to __file_name_lookup.
42849
42850 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
42851 with O_NOLINK passed to __file_name_lookup.
42852
42853 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
42854 negative N or less than NGIDS.
42855
42856 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
42857 type to string_t. Set ERANGE as errno and return it if NAME is not big
42858 enough. Use memcpy instead of strncpy.
42859
42860 2012-07-20 Joseph Myers <joseph@codesourcery.com>
42861
42862 * elf/Makefile (check-data): Remove.
42863 (localplt.data): New vpath directive.
42864 ($(objpfx)check-localplt.out): Use localplt.data from vpath
42865 instead of $(check-data).
42866 * scripts/data/localplt-generic.data: Move to ...
42867 * sysdeps/generic/localplt.data: ... here.
42868 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
42869 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
42870 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
42871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
42872 ... here.
42873 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
42874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
42875 ... here.
42876 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
42877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
42878 ... here.
42879 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
42880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
42881 ... here.
42882 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
42883 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
42884 ... here.
42885 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
42886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
42887 ... here.
42888
42889 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42890
42891 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
42892 PPC32 and PPC64 files.
42893 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
42894 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
42895
42896 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42897
42898 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
42899 __makecontext_ret to ...
42900 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
42901 ... here and call exit if uc_link is NULL. New file.
42902 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
42903 __makecontext_ret.S.
42904 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
42905 __makecontext_ret to ...
42906 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
42907 ... here and call exit if uc_link is NULL. New file.
42908 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
42909 __makecontext_ret.S.
42910
42911 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42912
42913 * elf/elf.h (R_390_IRELATIVE): New definition.
42914 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
42915 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
42916 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
42917 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
42918 (elf_machine_lazy_rel): Likewise.
42919 * sysdeps/s390/dl-irel.h: New file.
42920 * sysdeps/s390/s390-64/memcpy.S: New asm code.
42921 * sysdeps/s390/s390-64/memset.S: New asm code.
42922 * sysdeps/s390/s390-64/memcmp.S: New asm code.
42923 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
42924 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
42925 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
42926 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
42927 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
42928 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
42929 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
42930 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
42931 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
42932 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
42933 * sysdeps/s390/s390-32/memcpy.S: New asm code.
42934 * sysdeps/s390/s390-32/memset.S: New asm code.
42935 * sysdeps/s390/s390-32/memcmp.S: New asm code.
42936
42937 2012-07-17 Marek Polacek <polacek@redhat.com>
42938
42939 [BZ #14349]
42940 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
42941 * sysdeps/s390/s390-64/configure.in: Likewise.
42942 * sysdeps/sparc/configure.in: Likewise.
42943 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
42944 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
42945 * sysdeps/i386/configure.in: Likewise.
42946 * sysdeps/x86_64/configure.in: Likewise.
42947 * sysdeps/sh/configure.in: Likewise.
42948 * sysdeps/s390/s390-32/configure: Regenerated.
42949 * sysdeps/s390/s390-64/configure: Likewise.
42950 * sysdeps/x86_64/configure: Likewise.
42951 * sysdeps/sh/configure: Likewise.
42952 * sysdeps/powerpc/powerpc64/configure: Likewise.
42953 * sysdeps/powerpc/powerpc32/configure: Likewise.
42954 * sysdeps/sparc/configure: Likwise.
42955 * sysdeps/i386/configure: Likewise.
42956
42957 * elf/dl-open.c: Comment fixes.
42958
42959 2012-07-17 Joseph Myers <joseph@codesourcery.com>
42960
42961 * Makefile [CXX] (check-data): Remove.
42962 [CXX] (c++-types.data): New vpath directive.
42963 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
42964 vpath. Do not allow for C++ type data being missing.
42965 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
42966 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
42967 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
42968 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
42969 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
42970 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
42971 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
42972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
42973 ... here.
42974 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
42975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
42976 ... here.
42977 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
42978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
42979 ... here.
42980 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
42981 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
42982 ... here.
42983 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
42984 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
42985 ... here.
42986 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
42987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
42988 ... here.
42989 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
42990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
42991 ... here.
42992 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
42993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
42994
42995 * elf/tls-macros.h (TLS_LE): Move architecture-specific
42996 definitions to architecture-specific files.
42997 (TLS_IE): Likewise.
42998 (TLS_LD): Likewise.
42999 (TLS_GD): Likewise.
43000 * sysdeps/i386/tls-macros.h: New file.
43001 * sysdeps/powerpc/tls-macros.h: Likewise.
43002 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
43003 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
43004 * sysdeps/sh/tls-macros.h: Likewise.
43005 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
43006 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
43007 * sysdeps/x86_64/tls-macros.h: Likewise.
43008
43009 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
43010
43011 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
43012 zero value for regular exit case.
43013
43014 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
43015 (__start_context): Preserve zero value for regular exit case.
43016
43017 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
43018 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43019
43020 * manual/setjmp.texi (setcontext): Clarify normal process
43021 termination when uc_link is the null pointer.
43022 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
43023 exit call.
43024
43025 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
43026
43027 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
43028 preprocessor. Test for each exception mask separately.
43029
43030 2012-07-16 Andreas Jaeger <aj@suse.de>
43031
43032 * po/ru.po: Update from translation team.
43033
43034 2012-07-15 Joseph Myers <joseph@codesourcery.com>
43035
43036 * conform/data/string.h-data (NULL): Use macro-constant. Require
43037 equal to 0.
43038 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43039 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43040 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
43041 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
43042 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43043
43044 2012-07-13 Andreas Jaeger <aj@suse.de>
43045
43046 * po/fr.po: Update from translation team.
43047
43048 2012-07-12 Marek Polacek <polacek@redhat.com>
43049
43050 [BZ #14173]
43051 * math/libm-test.inc (yn_test): Add test for BZ #14173.
43052 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
43053 loop condition.
43054
43055 2012-07-12 Joseph Myers <joseph@codesourcery.com>
43056
43057 [BZ #13717]
43058 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43059 Change to 2.4.1 where previously 2.4.0.
43060 * sysdeps/unix/sysv/linux/configure: Regenerated.
43061 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
43062 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
43063 version.
43064 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
43065 (__ASSUME_AT_CLKTCK): Remove.
43066 (__ASSUME_AT_PAGESIZE): Likewise.
43067 (__ASSUME_AT_XID): Likewise.
43068 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
43069 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
43070 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
43071 unconditionally.
43072 (HAVE_AUX_PAGESIZE): Likewise.
43073 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
43074 [__ASSUME_AT_CLKTCK]: Make code unconditional.
43075 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
43076
43077 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
43078
43079 [BZ #14307]
43080 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
43081 the temporary buffer used to invoke __gethostbyname2_r,
43082 __gethostbyaddr_r and gethostbyname4_r to make room for struct
43083 host_data / struct gaih_addrtuple.
43084 * resolv/nss_dns/dns-host.c (global scope): Move definition of
43085 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
43086 header file nss/nsswitch.h.
43087 * nss/nsswitch.h (global scope): Add definition of implementation
43088 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
43089 resolv/nss_dns/dns-host.c).
43090
43091 2012-07-11 Andreas Jaeger <aj@suse.de>
43092
43093 * po/fr.po: Update from translation team.
43094
43095 * po/sv.po: Update from translation team
43096 * po/fr.po: Another update from translation team.
43097
43098 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43099
43100 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
43101 for subnormals or multiply small sinh result by itself.
43102 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43104
43105 2012-07-11 David S. Miller <davem@davemloft.net>
43106
43107 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43108
43109 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
43110
43111 [BZ #14347]
43112 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
43113 (INTERNAL_MARK): Shift it here.
43114
43115 2012-07-10 Marek Polacek <polacek@redhat.com>
43116
43117 [BZ #14151]
43118 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
43119 libc_cv_asm_global_directive with .globl.
43120 * configure: Regenerated.
43121 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
43122 with .globl.
43123 * sysdeps/i386/configure: Regenerated.
43124 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
43125 with .globl.
43126 * sysdeps/x86_64/configure: Regenerated.
43127 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
43128 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
43129 * elf/tst-unique2mod2.c: Likewise.
43130 * elf/tst-unique2mod1.c: Likewise.
43131 * elf/tst-unique1mod2.c: Likewise.
43132 * elf/tst-unique1mod1.c: Likewise.
43133 * sysdeps/s390/s390-32/sysdep.h: Likewise.
43134 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43135 * sysdeps/s390/s390-64/sysdep.h: Likewise.
43136 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43137 * sysdeps/mach/sysdep.h: Likewise.
43138 * sysdeps/i386/sysdep.h: Likewise.
43139 * sysdeps/i386/i386-mcount.S: Likewise.
43140 * sysdeps/x86_64/_mcount.S: Likewise.
43141 * sysdeps/x86_64/sysdep.h: Likewise.
43142 * sysdeps/sh/_mcount.S: Likewise.
43143 * sysdeps/sh/sysdep.h: Likewise.
43144 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
43145 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
43146 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
43147 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43148 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
43149 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
43150 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
43151 * locale/localeinfo.h: Likewise.
43152 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
43153 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
43154
43155 2012-07-09 Roland McGrath <roland@hack.frob.com>
43156
43157 [BZ #14336]
43158 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
43159 system".
43160 * manual/message.texi (The Uniforum approach): Likewise.
43161 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
43162 (glibc iconv Implementation): Likewise.
43163
43164 2012-07-09 Joseph Myers <joseph@codesourcery.com>
43165
43166 [BZ #14337]
43167 * math/s_clog.c (__clog): Avoid scaling a value down where that
43168 could result in underflow.
43169 * math/s_clog10.c (__clog10): Likewise.
43170 * math/s_clog10f.c (__clog10f): Likewise.
43171 * math/s_clog10l.c (__clog10l): Likewise.
43172 * math/s_clogf.c (__clogf): Likewise.
43173 * math/s_clogl.c (__clogl): Likewise.
43174 * math/libm-test.inc (clog_test): Add more tests.
43175 (clog10_test): Likewise.
43176 * sysdeps/i386/fpu/libm-test-ulps: Update.
43177 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43178
43179 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
43180
43181 [BZ #14283]
43182 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
43183 by 7 not 8 to examine high bit of fractional part.
43184
43185 [BZ #14042]
43186 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
43187 for call to __mcount_internal.
43188 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
43189 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
43190 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
43191
43192 2012-07-06 Joseph Myers <joseph@codesourcery.com>
43193
43194 [BZ #14154]
43195 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
43196 approximation for values within 0x1p-13f of an odd multiple of
43197 pi/4.
43198 * math/libm-test.inc (tan_test): Do not allow spurious underflow
43199 exception. Add more tests.
43200 * sysdeps/i386/fpu/libm-test-ulps: Update.
43201
43202 [BZ #6778]
43203 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
43204 inputs and return -1 for them. Do not check for +Inf in case not
43205 reachable for +Inf.
43206 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
43207 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
43208 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43209 and return -1 for them. Do not check for +Inf in case not
43210 reachable for +Inf.
43211 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
43212 define.
43213 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
43214 and return -1 for them. Do not check for +Inf in case not
43215 reachable for +Inf.
43216 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
43217 spurious underflow.
43218 * sysdeps/i386/fpu/libm-test-ulps: Update.
43219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43220
43221 2012-07-06 Mike Frysinger <vapier@gentoo.org>
43222
43223 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
43224
43225 2012-07-05 Joseph Myers <joseph@codesourcery.com>
43226
43227 [BZ #14157]
43228 [BZ #14331]
43229 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
43230 could result in spurious underflow. Scale down values above
43231 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
43232 * math/s_csqrtf.c (__csqrtf): Likewise.
43233 * math/s_csqrtl.c (__csqrtl): Likewise.
43234 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
43235 spurious underflow.
43236 * sysdeps/i386/fpu/libm-test-ulps: Update.
43237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43238
43239 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
43240
43241 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
43242 xopen-msg.sed.
43243 * catgets/xopen-msg.awk: New file.
43244 * catgets/xopen-msg.sed: Removed.
43245
43246 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
43247 po2text.sed.
43248 * intl/po2test.awk: New file.
43249 * intl/po2test.sed: Removed.
43250
43251 2012-07-04 Joseph Myers <joseph@codesourcery.com>
43252
43253 [BZ #14328]
43254 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
43255 or multiply small sinh result by itself.
43256 * math/s_ctanf.c (__ctanf): Likewise.
43257 * math/s_ctanh.c (__ctanh): Likewise.
43258 * math/s_ctanhf.c (__ctanhf): Likewise.
43259 * math/s_ctanhl.c (__ctanhl): Likewise.
43260 * math/s_ctanl.c (__ctanl): Likewise.
43261 * math/libm-test.inc (ctan_test_tonearest): New function.
43262 (ctan_test_towardzero): Likewise.
43263 (ctan_test_downward): Likewise.
43264 (ctan_test_upward): Likewise.
43265 (ctanh_test_tonearest): Likewise.
43266 (ctanh_test_towardzero): Likewise.
43267 (ctanh_test_downward): Likewise.
43268 (ctanh_test_upward): Likewise.
43269 (main): Call these new functions.
43270 * sysdeps/i386/fpu/libm-test-ulps: Update.
43271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43272
43273 2012-07-03 Mike Frysinger <vapier@gentoo.org>
43274
43275 * .gitignore: Delete /ports entry.
43276
43277 2012-07-03 Andreas Jaeger <aj@suse.de>
43278
43279 * po/bg.po: Update from translation team.
43280 * po/cs.po: Likewise.
43281 * po/de.po: Likewise.
43282 * po/hr.po: Likewise.
43283 * po/nl.pl: Likewise.
43284 * po/pl.po: Likewise.
43285 * po/vi.po: Likewise.
43286
43287 2012-07-03 Joseph Myers <joseph@codesourcery.com>
43288
43289 * Makeconfig [!+link] (+link-before-libc): New variable.
43290 [!+link] (+link-after-libc): Likewise.
43291 [!+link] (+link-tests): Likewise.
43292 [!+link] (+link): Define in terms of $(+link-before-libc) and
43293 $(+link-after-libc).
43294 [!+link-static] (+link-static-before-libc): New variable.
43295 [!+link-static] (+link-static-after-libc): Likewise.
43296 [!+link-static] (+link-static-tests): Likewise.
43297 [!+link-static] (+link-static): Define in terms of
43298 $(+link-static-before-libc) and $(+link-static-after-libc).
43299 [build-shared] (link-libc-before-gnulib): New variable.
43300 [build-shared] (link-libc-tests): Likewise.
43301 [build-shared] (link-libc): Define in terms of
43302 $(link-libc-before-gnulib).
43303 [!build-shared] (link-libc-tests): New variable.
43304 (link-libc-static-tests): New variable.
43305 [!gnulib] (gnulib-arch): New variable.
43306 [!gnulib] (gnulib-tests): Likewise.
43307 [!gnulib] (static-gnulib-arch): Likewise.
43308 [!gnulib] (static-gnulib-tests): Likewise.
43309 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
43310 Define with "=" instead of ":=".
43311 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
43312 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
43313 * Rules (binaries-all-notests): New variable.
43314 (binaries-all-tests): Likewise.
43315 (binaries-static-notests): Likewise.
43316 (binaries-static-tests): Likewise.
43317 (binaries-all): Define using $(binaries-all-notests) and
43318 $(binaries-all-tests).
43319 (binaries-static): Define using $(binaries-static-notests) and
43320 $(binaries-static-tests).
43321 (binaries-shared-tests): New variable.
43322 (binaries-shared-notests): Likewise.
43323 (binaries-shared): Remove variable.
43324 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
43325 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
43326 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
43327 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
43328 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
43329 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
43330 * elf/Makefile (sln-modules): New variable.
43331 (extra-objs): Add $(sln-modules:=.o).
43332 (ldconfig-modules): Add static-stubs.
43333 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
43334 * elf/static-stubs.c: New file.
43335
43336 [BZ #14283]
43337 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
43338 by 7 not 8 to examine high bit of fractional part. Use volatile
43339 variables when splitting into final array of floats if
43340 __FLT_EVAL_METHOD__ != 0.
43341 * math/libm-test.inc (cos_test): Add another test.
43342 (sin_test): Likewise.
43343 * sysdeps/i386/fpu/libm-test-ulps: Update.
43344
43345 [BZ #14273]
43346 * math/libm-test.inc (cosh_test): Add more tests.
43347
43348 * version.h (RELEASE): Set to "development".
43349 (VERSION): Set to "2.16.90".
43350
43351 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
43352
43353 * NEWS: Update copyright. Remove last-updated date.
43354 Mention math library bug fixes and timezone data changes.
43355 * README: Mention GNU/Hurd, x32, and HPPA support status.
43356
43357 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
43358
43359 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
43360
43361 2012-06-27 Andreas Jaeger <aj@suse.de>
43362
43363 * manual/contrib.texi (Contributors): Add Samuel Thibault.
43364
43365 2012-06-25 Andreas Jaeger <aj@suse.de>
43366
43367 * sysdeps/s390/fpu/libm-test-ulps: Update.
43368
43369 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
43370 Thomas Schwinge <thomas@codesourcery.com>
43371
43372 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
43373 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
43374 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
43375 fanotify_mark.
43376
43377 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
43378
43379 * sysdeps/mach/start.c: Remove file.
43380 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
43381 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
43382 * sysdeps/sh/init-first.c: Likewise.
43383
43384 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
43385 registers for frame unwinding purposes, add CFI directives.
43386 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43387 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
43388 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
43389 Likewise.
43390
43391 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
43392 __fortify_fail returning.
43393 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
43394
43395 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
43396 sysdeps/sh/____longjmp_chk.S.
43397 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
43398 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
43399 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
43400 (gen-as-const-headers): Append sigaltstack-offsets.sym.
43401
43402 * sysdeps/sh/abort-instr.h: New file.
43403 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
43404 process in case exit returns.
43405
43406 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
43407 initialize the GOT register before use.
43408
43409 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
43410 calculation of ARGC > 4.
43411
43412 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
43413 meaningful names to some local labels.
43414
43415 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43416 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43417
43418 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
43419 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
43420 (__arch_compare_and_exchange_val_16_acq): Likewise.
43421 (__arch_compare_and_exchange_val_32_acq): Likewise.
43422 (atomic_exchange_and_add): Fix gUSA sequence.
43423 (atomic_add): Likewise.
43424 (atomic_add_negative): Likewise.
43425 (atomic_add_zero): Likewise.
43426 (atomic_bit_test_set): Likewise.
43427
43428 2012-06-22 Andreas Schwab <schwab@redhat.com>
43429
43430 [BZ #13579]
43431 * include/link.h (struct link_map): Add l_free_initfini.
43432 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
43433 l_initfini.
43434 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
43435 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
43436 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
43437 set.
43438
43439 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
43440
43441 * configure.in: Use AC_LANG_SOURCE.
43442 * configure: Regenerate.
43443
43444 2012-06-22 Roland McGrath <roland@hack.frob.com>
43445
43446 * configure.in (libc_cv_localstatedir): New substituted variable.
43447 * configure: Regenerated.
43448 * config.make.in (localstatedir): New variable, substituted from
43449 libc_cv_localstatedir.
43450 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
43451 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
43452 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
43453 * sysdeps/gnu/configure: Regenerated.
43454
43455 2012-06-21 Jeff Law <law@redhat.com>
43456
43457 [BZ #14277]
43458 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
43459 free. Simplify list management for _LIBC case.
43460
43461 2012-06-21 Joseph Myers <joseph@codesourcery.com>
43462
43463 [BZ #14273]
43464 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
43465 Clear sign bit of 64-bit integer value before comparing against
43466 overflow value.
43467
43468 * sysdeps/mach/configure: Regenerated.
43469
43470 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
43471
43472 [BZ #14278]
43473 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
43474
43475 2012-06-21 Jeff Law <law@redhat.com>
43476
43477 [BZ #13882]
43478 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
43479 uint16_t for elements in the "seen" array to avoid char overflows.
43480 * elf/dl-fini.c (_dl_sort_fini): Likewise.
43481 * elf/dl-open.c (dl_open_worker): Likewise.
43482
43483 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
43484
43485 * scripts/list-sources.sh: Scan PORTS for translations.
43486 * po/libc.pot: Regenerated.
43487
43488 2012-06-21 Andreas Jaeger <aj@suse.de>
43489
43490 [BZ #12194]
43491 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
43492 warning.
43493 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
43494 * bits/byteswap-16.h (__bswap_16): Likewise.
43495 * bits/byteswap.h (__bswap_constant_16): Likewise.
43496
43497 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
43498
43499 [BZ #14117]
43500 * sysdeps/i386/fpu_control.h: Removed.
43501 * sysdeps/x86_64/fpu_control.h: Moved to ...
43502 * sysdeps/x86/fpu_control.h: Here.
43503
43504 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
43505 (_FPU_SETCW): Likewise.
43506
43507 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
43508
43509 [BZ #14117]
43510 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
43511 * sysdeps/x86/fpu/bits/mathinline.h: This.
43512 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
43513
43514 [BZ #14050]
43515 [BZ #14117]
43516 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
43517 functions if __x86_64__ is defined.
43518
43519 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
43520
43521 * string/endian.h: Add !__ASSEMBLER__ condition for including
43522 conversion interfaces.
43523
43524 2012-06-15 Joseph Myers <joseph@codesourcery.com>
43525
43526 [BZ #14241]
43527 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
43528 of ABS(x) in calculating zero to negative powers other than odd
43529 integers.
43530 * math/libm-test.inc (pow_test): Add more tests.
43531
43532 2012-06-15 Andreas Jaeger <aj@suse.de>
43533
43534 * manual/contrib.texi (Contributors): Update entry of Liubov
43535 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
43536 Machado Filho.
43537
43538 2012-06-15 Cyril Hrubis <metan@ucw.cz>
43539
43540 * string/string.h: Add __wur to GNU version of strerror_r.
43541
43542 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
43543
43544 [BZ #14229]
43545 * string/Makefile (tests): Add tst-strtok_r.
43546 * string/tst-strtok_r.c: New file.
43547 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
43548 RAX_LP/RDX_LP on SAVE_PTR.
43549
43550 2012-06-14 Roland McGrath <roland@hack.frob.com>
43551
43552 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
43553
43554 2012-06-14 Joseph Myers <joseph@codesourcery.com>
43555
43556 * libm_test.inc (csqrt_test): Allow more spurious underflow
43557 exceptions.
43558 (j0_test): Likewise.
43559 (j1_test): Likewise.
43560 (y0_test): Likewise.
43561 (y1_test): Likewise.
43562
43563 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
43564
43565 * po/Makefile (libc.pot): Use UTF-8 charset.
43566
43567 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
43568
43569 [BZ #14210]
43570 Suppress sign-conversion warning from FD_SET.
43571 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
43572 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
43573 not unsigned long int.
43574 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
43575
43576 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
43577
43578 [BZ #14050]
43579 [BZ #14117]
43580 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
43581 __extern_always_inline instead of __extern_inline.
43582 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
43583 (__signbit): Likewise.
43584 (__signbitl): Support C++ namespace.
43585 (lrintf): New inline function.
43586 (lrint): Likewise.
43587 (llrintf): Likewise.
43588 (llrint): Likewise.
43589 (fmaxf): Likewise.
43590 (fmax): Likewise.
43591 (fminf): Likewise.
43592 (fmin): Likewise.
43593 (rint): Likewise.
43594 (rintf): Likewise.
43595 (ceil): Likewise.
43596 (ceilf): Likewise.
43597 (floor): Likewise.
43598 (floorf): Likewise.
43599 (nearbyint): Likewise.
43600 (nearbyintf): Likewise.
43601
43602 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
43603
43604 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
43605 non-default versions.
43606
43607 2012-06-11 Roland McGrath <roland@hack.frob.com>
43608
43609 [BZ #14218]
43610 * manual/argp.texi (Argp): Reword argp_parse description slightly.
43611
43612 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
43613
43614 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
43615 (FE_UPWARD, FE_DOWNWARD): Don't define.
43616 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
43617 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
43618
43619 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
43620 reading it.
43621 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
43622 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43623
43624 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
43625
43626 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
43627 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
43628 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
43629 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
43630
43631 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
43632
43633 [BZ #14117]
43634 * sysdeps/i386/fpu/bits/fenv.h: Removed.
43635 * sysdeps/i386/fpu/Implies: New file.
43636 * sysdeps/x86_64/fpu/Implies: Likewise.
43637 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
43638 * sysdeps/x86/fpu/bits/fenv.h: This.
43639
43640 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
43641 __SSE_MATH__.
43642
43643 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
43644
43645 [BZ #14134]
43646 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
43647 character 0xffff that matches the last element of the
43648 conversion table.
43649
43650 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43651
43652 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
43653 fmodl commit.
43654
43655 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43656
43657 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
43658 values higher than 25.6283.
43659
43660 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43661
43662 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
43663 subnormal exponent extraction and add some __builtin_expect.
43664 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
43665 Fix for subnormal mantissa calculation.
43666
43667 2012-06-04 Mike Frysinger <vapier@gentoo.org>
43668
43669 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
43670 cpu2 is -1 and errno is not ENOSYS.
43671
43672 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
43673
43674 [BZ #14117]
43675 * sysdeps/i386/i486/bits/string.h: Renamed to ...
43676 * sysdeps/x86/bits/string.h: This.
43677 * sysdeps/x86_64/bits/string.h: Removed.
43678
43679 * sysdeps/i386/i486/bits/string.h: Define inline functions only
43680 if not compiling for x86-64, but compiling for >= i486.
43681
43682 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
43683 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
43684
43685 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
43686 New macro from Linux kernel 3.4.0.
43687 (FP_XSTATE_MAGIC2): Likewise.
43688 (FP_XSTATE_MAGIC2_SIZE): Likewise.
43689 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
43690 (struct _fpx_sw_bytes): New struct.
43691 (struct _xsave_hdr): Likewise.
43692 (struct _ymmh_state): Likewise.
43693 (struct _xstate): Likewise.
43694
43695 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
43696 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
43697 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
43698 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
43699 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
43700 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
43701
43702 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
43703 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
43704 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
43705 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
43706 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
43707 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
43708
43709 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43710
43711 [BZ #13743]
43712 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
43713 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
43714 (sysdep_headers): Include sys/platform/ppc.h.
43715 * sysdeps/powerpc/test-gettimebase.c: Test for
43716 __ppc_get_timebase() to catch future ISA opcode/insn changes.
43717 * manual/Makefile (appendices): Include platform.texi.
43718 * manual/contrib.texi (Contributors): Update @node pointers.
43719 * manual/maint.texi (Maintenance): Likewise.
43720 (Platform): New node.
43721 * manual/platform.texi: New file. Document the new features.
43722
43723 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43724 Jakub Jelinek <jakub@redhat.com>
43725
43726 [BZ #14188]
43727 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
43728 where __builtin_expect is unavailable.
43729
43730 2012-06-03 David S. Miller <davem@davemloft.net>
43731
43732 * stdlib/longlong.h: Updated from GCC.
43733
43734 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
43735
43736 [BZ #14042]
43737 * sysdeps/powerpc/powerpc32/mcount.c: New file.
43738 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
43739 __mcount_internal.
43740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
43741 (GLIBC_2.16): Likewise.
43742
43743 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43744
43745 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
43746
43747 2012-06-01 Joseph Myers <joseph@codesourcery.com>
43748
43749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
43750 (default-abi): New variable.
43751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
43752 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
43753 variable.
43754 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
43755 Likewise.
43756 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
43757 Likewise.
43758 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
43759 Likewise.
43760
43761 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
43762 definition. Document in comment.
43763
43764 2012-06-01 David S. Miller <davem@davemloft.net>
43765
43766 * stdlib/longlong.h: Updated from GCC.
43767
43768 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43769
43770 [BZ #14117]
43771 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
43772 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
43773 sys/debugreg.h sys/io.h here.
43774 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
43775 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
43776 sys/io.h.
43777 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
43778 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
43779 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
43780 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
43781 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
43782 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
43783
43784 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
43785 Define only if __x86_64__ is defined.
43786
43787 2012-06-01 Joseph Myers <joseph@codesourcery.com>
43788
43789 [BZ #14048]
43790 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
43791 Use int64_t for variable i.
43792 * math/libm-test.inc (fmod_test): Add more tests.
43793
43794 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
43795 z computation is not scheduled after fetestexcept.
43796 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
43797 Use math_force_eval instead of asm to ensure calculation scheduled
43798 before exception test.
43799 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
43800 Ensure a1 + u.d computation is not scheduled after fetestexcept.
43801
43802 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
43803
43804 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
43805 computation is not scheduled after fetestexcept.
43806
43807 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
43808
43809 [BZ #14117]
43810 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
43811 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
43812
43813 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43814
43815 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
43816 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43817
43818 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
43819
43820 [BZ #14117]
43821 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
43822 <bits/wordsize.h>.
43823 (__WCHAR_MIN): Support __WORDSIZE == 64.
43824 (__WCHAR_MAX): Likewise.
43825
43826 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
43827 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
43828
43829 [BZ #14183]
43830 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
43831 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
43832
43833 [BZ #14117]
43834 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
43835 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
43836
43837 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
43838 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
43839
43840 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
43841 Defined to 1 if __x86_64__ isn't defined.
43842 (_STAT_VER_LINUX_OLD): New.
43843 (st_atime): Remove duplicate.
43844 (st_mtime): Likewise.
43845 (st_ctime): Likewise.
43846
43847 2012-05-31 David S. Miller <davem@davemloft.net>
43848
43849 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
43850 entries.
43851
43852 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
43853
43854 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
43855 gen-libm-test.pl.
43856
43857 [BZ #14132]
43858 * elf/dl-reloc.c: Include <_itoa.h>.
43859 (_dl_reloc_bad_type): Remove use of INTUSE.
43860 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
43861 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
43862 * stdio-common/psiginfo.c (psiginfo): Likewise.
43863 * stdio-common/psignal.c (psignal): Likewise.
43864 * string/strsignal.c (strsignal): Likewise.
43865 * include/signal.h (_sys_siglist): Declare hidden proto.
43866 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
43867 INTVARDEF with libc_hidden_data_def.
43868 * stdio-common/itoa-udigits.c: Likewise.
43869 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
43870 (_itoa_lower_digits_internal): Remove declaration.
43871 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
43872 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
43873 (_sys_sigabbrev_internal): Remove aliases.
43874 (_sys_siglist): Define hidden alias.
43875
43876 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
43877
43878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43879 bits/sysctl.h.
43880
43881 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
43882
43883 [BZ #14117]
43884 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
43885 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
43886
43887 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
43888 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
43889 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
43890 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
43891 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
43892 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
43893
43894 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
43895 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
43896 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
43897
43898 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
43899 with __addr.
43900 (insw): Likewise.
43901 (insl): Likewise.
43902 (outsb): Likewise.
43903 (outsw): Likewise.
43904 (outsl): Likewise.
43905
43906 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
43907 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
43908 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
43909
43910 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
43911 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
43912 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
43913 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
43914 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
43915 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
43916
43917 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
43918 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
43919
43920 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
43921 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
43922
43923 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
43924 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
43925 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
43926
43927 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
43928 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
43929 to ...
43930 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
43931
43932 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
43933 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
43934 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
43935
43936 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
43937 for x86-64.
43938 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
43939
43940 2012-05-31 Joseph Myers <joseph@codesourcery.com>
43941
43942 * math/math.h (M_El): Use two more decimal places.
43943 (M_LOG2El): Likewise.
43944 (M_LOG10El): Likewise.
43945 (M_LN2l): Likewise.
43946 (M_LN10l): Likewise.
43947 (M_PIl): Likewise.
43948 (M_PI_2l): Likewise.
43949 (M_PI_4l): Likewise.
43950 (M_1_PIl): Likewise.
43951 (M_2_PIl): Likewise.
43952 (M_2_SQRTPIl): Likewise.
43953 (M_SQRT2l): Likewise.
43954 (M_SQRT1_2l): Likewise.
43955
43956 2012-05-31 David S. Miller <davem@davemloft.net>
43957
43958 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
43959 values between float registers.
43960 * sysdeps/sparc/sparc64/memset.S: Likewise.
43961 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43962
43963 2012-05-31 Mike Frysinger <vapier@gentoo.org>
43964
43965 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
43966 -D_FORTIFY_SOURCE=1.
43967 (CPPFLAGS-tst-longjmp_chk.c): Define.
43968 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
43969 (CPPFLAGS-tst-longjmp_chk2.c): Define.
43970 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
43971 CFLAGS-tst-wchar-h.c.
43972
43973 2012-05-31 Marek Polacek <polacek@redhat.com>
43974
43975 [BZ #14132]
43976 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
43977 __endmntent_internal): Remove declaration.
43978 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
43979 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
43980 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
43981
43982 2012-05-30 David S. Miller <davem@davemloft.net>
43983
43984 * sysdeps/sparc/sparc32/soft-fp/q_util.c
43985 (___Q_simulate_exceptions): Use real FP ops rather than writing
43986 into the %fsr.
43987 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
43988 Likewise.
43989
43990 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
43991
43992 [BZ #14117]
43993 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
43994 * sysdeps/x86/bits/xtitypes.h: This.
43995
43996 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
43997 * sysdeps/x86/bits/wordsize.h: This.
43998
43999 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
44000 * sysdeps/x86/bits/huge_vall.h: This.
44001
44002 * sysdeps/i386/bits/select.h: Removed.
44003 * sysdeps/x86_64/bits/select.h: Renamed to ...
44004 * sysdeps/x86/bits/select.h: This.
44005
44006 * sysdeps/i386/bits/setjmp.h: Removed.
44007 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
44008 * sysdeps/x86/bits/setjmp.h: This.
44009
44010 * sysdeps/i386/bits/mathdef.h: Removed.
44011 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
44012 * sysdeps/x86/bits/mathdef.h: This.
44013
44014 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
44015
44016 [BZ #14132]
44017 * include/sys/socket.h (__connect_internal)
44018 (__libc_sa_len_internal): Remove declaration.
44019 (__connect, __libc_sa_len): Declare hidden_proto.
44020 (SA_LEN): Remove use of INTUSE.
44021 * socket/connect.c: Add libc_hidden_def.
44022 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
44023 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
44024 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
44025 alias.
44026 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44027 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
44028 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
44029 of adding _internal alias.
44030
44031 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44032
44033 [BZ #14117]
44034 * sysdeps/i386/bits/link.h: Removed.
44035 * sysdeps/i386/bits/linkmap.h: Likewise.
44036 * sysdeps/x86_64/bits/link.h: Renamed to ...
44037 * sysdeps/x86/bits/link.h: This.
44038 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
44039 * sysdeps/x86/bits/linkmap.h: This.
44040
44041 * sysdeps/i386/bits/endian.h: Removed.
44042 * sysdeps/x86_64/bits/endian.h: Renamed to ...
44043 * sysdeps/x86/bits/endian.h: This.
44044
44045 * sysdeps/i386/bits/byteswap.h: Removed.
44046 * sysdeps/i386/bits/byteswap-16.h: Likewise.
44047 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
44048 * sysdeps/x86/bits/byteswap.h: This.
44049 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
44050 * sysdeps/x86/bits/byteswap-16.h: This.
44051 * sysdeps/i386/Implies: Add x86.
44052 * sysdeps/x86_64/Implies: Likewise.
44053
44054 2012-05-30 David S. Miller <davem@davemloft.net>
44055
44056 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
44057 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
44058 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44059 (FP_TRAPPING_EXCEPTIONS): Define.
44060 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44061 (FP_TRAPPING_EXCEPTIONS): Define.
44062 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
44063 subnormals only when inexact has been signalled or underflow
44064 exceptions are enabled.
44065 (_FP_PACK_CANONICAL): Likewise.
44066
44067 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44068
44069 [BZ #14183]
44070 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
44071 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
44072
44073 2012-05-30 Richard Henderson <rth@twiddle.net>
44074
44075 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
44076 with #ifndef NOT_IN_libc.
44077
44078 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
44079 marked to avoid plt entry.
44080
44081 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
44082
44083 [BZ #14112]
44084 * Makeconfig (default-abi): New macro.
44085 (abi-includes): Likewise.
44086 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
44087 $(abi-$(default-abi)-lib-soname) for soname if defined.
44088 ($(common-objpfx)gnu/lib-names.stmp): Generate from
44089 abi-variants.
44090 * Makefile (installed-stubs): Likewise.
44091 * include/stubs-biarch.h: Removed.
44092 * scripts/lib-names.awk: Only handle one library at a time.
44093 * scripts/soversions.awk: Remove WORDSIZE support.
44094 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
44095 entries.
44096 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
44097 Removed.
44098 (syscall-list-default-condition): Likewise.
44099 (syscall-list-default-condition): Likewise.
44100 (syscall-list-includes): Likewise.
44101 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
44102 syscall-list-* with abi-*. Handle undefined abi-variants.
44103 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
44104 * sysdeps/unix/sysv/linux/i386/Implies: New file.
44105 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
44106 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
44107 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
44108 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
44109 Removed.
44110 (syscall-list-32-options): Likewise.
44111 (syscall-list-32-condition): Likewise.
44112 (syscall-list-64-options): Likewise.
44113 (syscall-list-64-condition): Likewise.
44114 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
44115 macro.
44116 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
44117 Renamed to ...
44118 (abi-*): This.
44119 (abi-64-ld-soname): New macro.
44120 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
44121 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
44122 Renamed to ...
44123 (abi-*): This.
44124 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
44125 * sysdeps/x86_64/x32/shlib-versions: Likewise.
44126
44127 2012-05-30 Joseph Myers <joseph@codesourcery.com>
44128
44129 * sysdeps/unix/sysv/linux/kernel-features.h
44130 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
44131 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
44132 include <kernel-features.h>.
44133 [!__NR_ftruncate64]: Remove conditional code.
44134 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44135 [__NR_ftruncate64]: Make code unconditional.
44136 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44137 * sysdeps/unix/sysv/linux/truncate64.c: Do not
44138 include <kernel-features.h>.
44139 [!__NR_ftruncate64]: Remove conditional code.
44140 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44141 [__NR_ftruncate64]: Make code unconditional.
44142 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
44144 include <kernel-features.h>.
44145 [!__NR_ftruncate64]: Remove conditional code.
44146 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44147 [__NR_ftruncate64]: Make code unconditional.
44148 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44150 include <kernel-features.h>.
44151 [!__NR_ftruncate64]: Remove conditional code.
44152 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44153 [__NR_ftruncate64]: Make code unconditional.
44154 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44155
44156 * configure.in (libc_cv_fpie): Weaken to a compile test using
44157 LIBC_TRY_CC_OPTION.
44158 * configure: Regenerated.
44159
44160 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44161
44162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
44163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
44164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
44165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44166 Refreshed.
44167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
44168 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
44169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
44170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
44171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
44172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44173 Refreshed.
44174
44175 2012-05-27 David S. Miller <davem@davemloft.net>
44176
44177 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
44178 (___Q_zero): New.
44179 (__Q_simulate_exceptions): Return void. Change to simulate
44180 exceptions by writing into the %fsr.
44181 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
44182 (__Qp_handle_exceptions): Likewise.
44183 (numbers): Delete.
44184 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
44185 __Qp_handle_exceptions.
44186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
44187 __Qp_handle_exceptions.
44188 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44189 as unused and give dummy FP_RND_NEAREST initializer.
44190 (FP_INHIBIT_RESULTS): Define.
44191 (___Q_simulate_exceptions): Update declaration.
44192 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
44193 formatting.
44194 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44195 as unused and give dummy FP_RND_NEAREST initializer.
44196 (__Qp_handle_exceptions): Update declaration.
44197 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
44198 formatting.
44199
44200 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
44201
44202 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
44203 the temporary FPU control word.
44204 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
44205 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
44206 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
44207 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44208 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44209 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
44210 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
44211 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44212 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
44213 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
44214 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44215
44216 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
44217
44218 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
44219 fields.
44220
44221 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
44222
44223 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
44224 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
44225 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
44226 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
44227 Likewise.
44228 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
44229 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
44230 Likewise.
44231
44232 2012-05-27 Ulrich Drepper <drepper@gmail.com>
44233
44234 * po/h.po: Update from translation team.
44235
44236 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
44237
44238 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
44239
44240 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
44241 handling of denormals.
44242 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44243 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44244 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44245 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44246 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44247 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
44248 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
44249 Likewise.
44250
44251 2012-05-26 Marek Polacek <polacek@redhat.com>
44252
44253 [BZ #14152]
44254 * math/libm-test.inc (fma_test): Don't always expect underflow
44255 exception.
44256
44257 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44258
44259 [BZ #12416]
44260 * elf/tst-execstack.c: Include stackinfo.h.
44261 (do_test): Adjust test case to ensure that pthread_getattr_np
44262 behaviour remains the same after marking stack executable.
44263
44264 2012-05-25 Joseph Myers <joseph@codesourcery.com>
44265
44266 * sysdeps/unix/sysv/linux/kernel-features.h
44267 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
44268 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
44269 kernel-features.h.
44270 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44271 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44272 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
44273 kernel-features.h.
44274 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
44275 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
44276
44277 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
44278
44279 * configure.in: Define the default includes to being none.
44280 * configure: Regenerated.
44281
44282 2012-05-25 Roland McGrath <roland@hack.frob.com>
44283
44284 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
44285 * sysdeps/x86_64/setjmp.S: Likewise.
44286 * sysdeps/i386/bsd-setjmp.S: Likewise.
44287 * sysdeps/i386/bsd-_setjmp.S: Likewise.
44288 * sysdeps/i386/setjmp.S: Likewise.
44289 * sysdeps/i386/__longjmp.S: Likewise.
44290 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
44291 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
44292
44293 * include/stap-probe.h: New file.
44294 * configure.in: Handle --enable-systemtap.
44295 * configure: Regenerated.
44296 * config.h.in (USE_STAP_PROBE): New #undef.
44297 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
44298 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
44299 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
44300
44301 2012-05-25 Joseph Myers <joseph@codesourcery.com>
44302
44303 [BZ #13717]
44304 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44305 to 2.4.0 where earlier.
44306 * sysdeps/unix/sysv/linux/configure: Regenerated.
44307 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
44308 <kernel-features.h>.
44309 [__ASSUME_32BITUIDS]: Make code unconditional.
44310 [!__ASSUME_32BITUIDS]: Remove conditional code.
44311 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
44312 <kernel-features.h>.
44313 [__ASSUME_32BITUIDS]: Make code unconditional.
44314 [!__ASSUME_32BITUIDS]: Remove conditional code.
44315 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
44316 [__ASSUME_32BITUIDS]: Make code unconditional.
44317 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
44318 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
44319 <kernel-features.h>.
44320 [__ASSUME_32BITUIDS]: Make code unconditional.
44321 [!__ASSUME_32BITUIDS]: Remove conditional code.
44322 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
44323 <kernel-features.h>.
44324 [__ASSUME_32BITUIDS]: Make code unconditional.
44325 [!__ASSUME_32BITUIDS]: Remove conditional code.
44326 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
44327 <kernel-features.h>.
44328 [__ASSUME_32BITUIDS]: Make code unconditional.
44329 [!__ASSUME_32BITUIDS]: Remove conditional code.
44330 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
44331 <kernel-features.h>.
44332 [__ASSUME_32BITUIDS]: Make code unconditional.
44333 [!__ASSUME_32BITUIDS]: Remove conditional code.
44334 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
44335 <kernel-features.h>.
44336 [__ASSUME_32BITUIDS]: Make code unconditional.
44337 [!__ASSUME_32BITUIDS]: Remove conditional code.
44338 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
44339 <kernel-features.h>.
44340 [__ASSUME_32BITUIDS]: Make code unconditional.
44341 [!__ASSUME_32BITUIDS]: Remove conditional code.
44342 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
44343 <kernel-features.h>.
44344 [__ASSUME_32BITUIDS]: Make code unconditional.
44345 [!__ASSUME_32BITUIDS]: Remove conditional code.
44346 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
44347 <kernel-features.h>.
44348 [__ASSUME_32BITUIDS]: Make code unconditional.
44349 [!__ASSUME_32BITUIDS]: Remove conditional code.
44350 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
44351 <kernel-features.h>.
44352 [__ASSUME_32BITUIDS]: Make code unconditional.
44353 [!__ASSUME_32BITUIDS]: Remove conditional code.
44354 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
44355 <kernel-features.h>.
44356 [__ASSUME_32BITUIDS]: Make code unconditional.
44357 [!__ASSUME_32BITUIDS]: Remove conditional code.
44358 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
44359 <kernel-features.h>.
44360 [__NR_setresgid] (__setresgid): Do not declare.
44361 [__ASSUME_32BITUIDS]: Make code unconditional.
44362 [!__ASSUME_32BITUIDS]: Remove conditional code.
44363 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
44364 <kernel-features.h>.
44365 [__NR_setresuid] (__setresuid): Do not declare.
44366 [__ASSUME_32BITUIDS]: Make code unconditional.
44367 [!__ASSUME_32BITUIDS]: Remove conditional code.
44368 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
44369 <kernel-features.h>.
44370 [__ASSUME_32BITUIDS]: Make code unconditional.
44371 [!__ASSUME_32BITUIDS]: Remove conditional code.
44372 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
44373 <kernel-features.h>.
44374 [__ASSUME_32BITUIDS]: Make code unconditional.
44375 [!__ASSUME_32BITUIDS]: Remove conditional code.
44376 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
44377 <kernel-features.h>.
44378 [__ASSUME_32BITUIDS]: Make code unconditional.
44379 [!__ASSUME_32BITUIDS]: Remove conditional code.
44380 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
44381 <kernel-features.h>.
44382 [__ASSUME_32BITUIDS]: Make code unconditional.
44383 [!__ASSUME_32BITUIDS]: Remove conditional code.
44384 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
44385 <kernel-features.h>.
44386 [__ASSUME_32BITUIDS]: Make code unconditional.
44387 [!__ASSUME_32BITUIDS]: Remove conditional code.
44388 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
44389 <kernel-features.h>.
44390 [__ASSUME_32BITUIDS]: Make code unconditional.
44391 [!__ASSUME_32BITUIDS]: Remove conditional code.
44392 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
44393 <kernel-features.h>.
44394 [__ASSUME_32BITUIDS]: Make code unconditional.
44395 [!__ASSUME_32BITUIDS]: Remove conditional code.
44396 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
44397 <kernel-features.h>.
44398 [__ASSUME_32BITUIDS]: Make code unconditional.
44399 [!__ASSUME_32BITUIDS]: Remove conditional code.
44400 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
44401 <kernel-features.h>.
44402 [__ASSUME_32BITUIDS]: Make code unconditional.
44403 [!__ASSUME_32BITUIDS]: Remove conditional code.
44404 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
44405 <kernel-features.h>.
44406 [__ASSUME_32BITUIDS]: Make code unconditional.
44407 [!__ASSUME_32BITUIDS]: Remove conditional code.
44408 * sysdeps/unix/sysv/linux/kernel-features.h
44409 (__ASSUME_SETRESUID_SYSCALL): Remove.
44410 (__ASSUME_SETRESGID_SYSCALL): Likewise.
44411 (__ASSUME_32BITUIDS): Likewise.
44412 (__ASSUME_LDT_WORKS): Likewise.
44413 (__ASSUME_O_DIRECTORY): Likewise.
44414 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
44415 architecture but not kernel version.
44416 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
44417 (__ASSUME_MMAP2_SYSCALL): Likewise.
44418 (__ASSUME_STAT64_SYSCALL): Likewise.
44419 (__ASSUME_IPC64): Likewise.
44420 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
44421 <kernel-features.h>.
44422 [__ASSUME_32BITUIDS]: Make code unconditional.
44423 [!__ASSUME_32BITUIDS]: Remove conditional code.
44424 * sysdeps/unix/sysv/linux/opendir.c: Do not include
44425 <kernel-features.h>.
44426 [__ASSUME_O_DIRECTORY]: Make code unconditional.
44427 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
44428 132096]: Remove conditional code.
44429 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
44430 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
44431 <kernel-features.h>.
44432 [__ASSUME_32BITUIDS]: Make code unconditional.
44433 [!__ASSUME_32BITUIDS]: Remove conditional code.
44434 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
44435 <kernel-features.h>.
44436 [__ASSUME_32BITUIDS]: Make code unconditional.
44437 [!__ASSUME_32BITUIDS]: Remove conditional code.
44438 * sysdeps/unix/sysv/linux/setegid.c: Do not include
44439 <kernel-features.h>.
44440 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
44441 unconditional.
44442 (__setresgid): Do not declare.
44443 [__ASSUME_32BITUIDS]: Make code unconditional.
44444 [!__ASSUME_32BITUIDS]: Remove conditional code.
44445 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
44446 <kernel-features.h>.
44447 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
44448 unconditional.
44449 (__setresuid): Do not declare.
44450 [__ASSUME_32BITUIDS]: Make code unconditional.
44451 [!__ASSUME_32BITUIDS]: Remove conditional code.
44452 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
44453 <kernel-features.h>.
44454 [__ASSUME_32BITUIDS]: Make code unconditional.
44455 [!__ASSUME_32BITUIDS]: Remove conditional code.
44456 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
44457 <kernel-features.h>.
44458 [__ASSUME_32BITUIDS]: Make code unconditional.
44459 [!__ASSUME_32BITUIDS]: Remove conditional code.
44460
44461 2012-05-25 Richard Henderson <rth@twiddle.net>
44462
44463 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
44464 dl_hwcap to ifunc resolver.
44465 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
44466 elf_ifunc_invoke.
44467 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
44468 dl_hwcap to ifunc resolver.
44469 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
44470
44471 2012-05-24 Joseph Myers <joseph@codesourcery.com>
44472
44473 [BZ #14153]
44474 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
44475 for |x| <= 2**-26, not 2**-57.
44476 * math/libm-test.inc (acos_test): Do not allow spurious underflow
44477 exception.
44478
44479 2012-05-24 Jeff Law <law@redhat.com>
44480
44481 * stdio-common/Makefile (tests): Add bug25.
44482 * stdio-common/bug25.c: New test.
44483
44484 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
44485
44486 [BZ #13576]
44487 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
44488 multiple of MALLOC_ALIGNMENT in size.
44489 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
44490
44491 2012-05-24 Joseph Myers <joseph@codesourcery.com>
44492
44493 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
44494 Require >= 256.
44495 (FILENAME_MAX): Use macro-int-constant.
44496 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
44497 (_IOFBF): Use macro-int-constant.
44498 (_IOLBF): Likewise.
44499 (_IONBF): Likewise.
44500 (SEEK_CUR): Likewise.
44501 (SEEK_END): Likewise.
44502 (SEEK_SET): Likewise.
44503 (TMP_MAX): Likewise.
44504 (EOF): Use macro-int-constant. Require < 0.
44505 (NULL): Use macro-constant. Require == 0.
44506 (stdin): Require type to be FILE *.
44507 (stdout): Likewise.
44508 (stderr): Likewise.
44509 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
44510 macro-int-constant.
44511 (EXIT_SUCCESS): Likewise.
44512 (NULL): Use macro-constant. Require == 0.
44513 (RAND_MAX): Use macro-int-constant.
44514 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
44515 [C99-based standards] (strtof): Require function.
44516 [C99-based standards] (strtold): Likewise.
44517 [C99-based standards] (strtoll): Likewise.
44518 [C99-based standards] (strtoull): Likewise.
44519 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
44520 [ISO || ISO99 || ISO11] (limits.h): Likewise.
44521 [ISO || ISO99 || ISO11] (math.h): Likewise.
44522 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
44523 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
44524 [ISO || ISO99 || ISO11] (*_t): Do not allow.
44525
44526 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
44527
44528 [BZ #14132]
44529 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
44530 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
44531 * intl/dgettext.c (DCGETTEXT): Likewise.
44532 * intl/gettext.c (DCGETTEXT): Likewise.
44533 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
44534 * posix/regex_internal.h (gettext): Likewise.
44535 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
44536 Remove declaration.
44537 * include/argz.h (__argz_count_internal)
44538 (__argz_stringify_internal): Remove declaration.
44539 (__argz_count, __argz_stringify): Declare hidden proto.
44540 * intl/dcgettext.c: Remove use of INTDEF.
44541 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
44542 * string/argz-stringify.c: Likewise.
44543 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44544 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44545 Declare hidden proto.
44546 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
44547 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
44548 Declare hidden proto.
44549 * include/stdio.h (__asprintf_internal): Don't declare.
44550 (__asprintf): Don't define as macro. Declare hidden proto.
44551 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
44552 (__fsetlocking): Declare hidden proto.
44553 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
44554 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
44555 hidden proto.
44556 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
44557 (_IO_setlinebuf): Remove use of INTUSE.
44558 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
44559 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
44560 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
44561 Remove declaration.
44562 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
44563 (_IO_do_flush): Remove use of INTUSE.
44564 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
44565 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
44566 (_IO_adjust_column, _IO_least_wmarker)
44567 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
44568 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
44569 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
44570 (_IO_default_doallocate, _IO_wdefault_doallocate)
44571 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
44572 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
44573 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
44574 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
44575 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
44576 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
44577 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
44578 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
44579 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
44580 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
44581 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
44582 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
44583 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
44584 proto.
44585 (_IO_flush_all_internal, _IO_adjust_column_internal)
44586 (_IO_default_uflow_internal, _IO_default_finish_internal)
44587 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
44588 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
44589 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
44590 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
44591 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
44592 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
44593 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
44594 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
44595 (_IO_file_close_internal, _IO_file_close_it_internal)
44596 (_IO_file_underflow_internal, _IO_file_overflow_internal)
44597 (_IO_file_init_internal, _IO_file_attach_internal)
44598 (_IO_file_fopen_internal, _IO_file_read_internal)
44599 (_IO_file_sync_internal, _IO_file_seek_internal)
44600 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
44601 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
44602 (_IO_str_underflow_internal, _IO_str_overflow_internal)
44603 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
44604 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
44605 (_IO_list_all_internal, _IO_link_in_internal)
44606 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
44607 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
44608 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
44609 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
44610 (_IO_do_write_internal, _IO_padn_internal)
44611 (_IO_getline_info_internal, _IO_getline_internal)
44612 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
44613 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
44614 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
44615 (_IO_vfscanf_internal, _IO_vfprintf_internal)
44616 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
44617 (_IO_init_internal, _IO_un_link_internal): Don't declare.
44618 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
44619 with libc_hidden_ver, remove use of INTUSE.
44620 * libio/genops.c: Likewise.
44621 * libio/freopen.c: Likewise.
44622 * libio/freopen64.c: Likewise.
44623 * libio/iofclose.c: Likewise.
44624 * libio/iofdopen.c: Likewise.
44625 * libio/iofflush.c: Likewise.
44626 * libio/iofflush_u.c: Likewise.
44627 * libio/iofgets.c: Likewise.
44628 * libio/iofgets_u.c: Likewise.
44629 * libio/iofopen.c: Likewise.
44630 * libio/iofopncook.c: Likewise.
44631 * libio/iofread.c: Likewise.
44632 * libio/iofread_u.c: Likewise.
44633 * libio/ioftell.c: Likewise.
44634 * libio/iofwrite.c: Likewise.
44635 * libio/iogetline.c: Likewise.
44636 * libio/iogets.c: Likewise.
44637 * libio/iogetwline.c: Likewise.
44638 * libio/iopadn.c: Likewise.
44639 * libio/iopopen.c: Likewise.
44640 * libio/ioseekoff.c: Likewise.
44641 * libio/ioseekpos.c: Likewise.
44642 * libio/iosetbuffer.c: Likewise.
44643 * libio/iosetvbuf.c: Likewise.
44644 * libio/ioungetc.c: Likewise.
44645 * libio/ioungetwc.c: Likewise.
44646 * libio/iovdprintf.c: Likewise.
44647 * libio/iovsprintf.c: Likewise.
44648 * libio/iovsscanf.c: Likewise.
44649 * libio/memstream.c: Likewise.
44650 * libio/obprintf.c: Likewise.
44651 * libio/oldfileops.c: Likewise.
44652 * libio/oldiofclose.c: Likewise.
44653 * libio/oldiofdopen.c: Likewise.
44654 * libio/oldiofopen.c: Likewise.
44655 * libio/oldiopopen.c: Likewise.
44656 * libio/oldstdfiles.c: Likewise.
44657 * libio/putc.c: Likewise.
44658 * libio/setbuf.c: Likewise.
44659 * libio/setlinebuf.c: Likewise.
44660 * libio/stdfiles.c: Likewise.
44661 * libio/strops.c: Likewise.
44662 * libio/vasprintf.c: Likewise.
44663 * libio/vscanf.c: Likewise.
44664 * libio/vsnprintf.c: Likewise.
44665 * libio/vswprintf.c: Likewise.
44666 * libio/wfiledoalloc.c: Likewise.
44667 * libio/wfileops.c: Likewise.
44668 * libio/wgenops.c: Likewise.
44669 * libio/wmemstream.c: Likewise.
44670 * libio/wstrops.c: Likewise.
44671 * libio/__fpurge.c: Likewise.
44672 * libio/__fsetlocking.c: Likewise.
44673 * assert/assert.c: Likewise.
44674 * debug/fgets_chk.c: Likewise.
44675 * debug/fgets_u_chk.c: Likewise.
44676 * debug/fread_chk.c: Likewise.
44677 * debug/fread_u_chk.c: Likewise.
44678 * debug/gets_chk.c: Likewise.
44679 * debug/obprintf_chk.c: Likewise.
44680 * debug/vasprintf_chk.c: Likewise.
44681 * debug/vdprintf_chk.c: Likewise.
44682 * debug/vsnprintf_chk.c: Likewise.
44683 * debug/vsprintf_chk.c: Likewise.
44684 * malloc/mtrace.c: Likewise.
44685 * misc/error.c: Likewise.
44686 * misc/syslog.c: Likewise.
44687 * stdio-common/asprintf.c: Likewise.
44688 * stdio-common/fxprintf.c: Likewise.
44689 * stdio-common/getw.c: Likewise.
44690 * stdio-common/isoc99_fscanf.c: Likewise.
44691 * stdio-common/isoc99_scanf.c: Likewise.
44692 * stdio-common/isoc99_vfscanf.c: Likewise.
44693 * stdio-common/isoc99_vscanf.c: Likewise.
44694 * stdio-common/isoc99_vsscanf.c: Likewise.
44695 * stdio-common/printf-prs.c: Likewise.
44696 * stdio-common/printf_fp.c: Likewise.
44697 * stdio-common/printf_fphex.c: Likewise.
44698 * stdio-common/printf_size.c: Likewise.
44699 * stdio-common/putw.c: Likewise.
44700 * stdio-common/scanf.c: Likewise.
44701 * stdio-common/sprintf.c: Likewise.
44702 * stdio-common/tmpfile.c: Likewise.
44703 * stdio-common/vfprintf.c: Likewise.
44704 * stdio-common/vfscanf.c: Likewise.
44705 * stdlib/strfmon_l.c: Likewise.
44706 * sunrpc/openchild.c: Likewise.
44707 * sunrpc/xdr_stdio.c: Likewise.
44708 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
44709 * sysdeps/mach/hurd/tmpfile.c: Likewise.
44710
44711 2012-05-24 Roland McGrath <roland@hack.frob.com>
44712
44713 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
44714
44715 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
44716 in the third column, to generate for the shared library an IFUNC
44717 that uses _dl_vdso_vsym.
44718 * Makerules (COMPILE.c, compile-stdin.c): New variables.
44719 * Makeconfig (object-suffixes-noshared): New variable.
44720
44721 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
44722 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
44723 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
44724 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
44725
44726 [BZ #14132]
44727 * include/sys/time.h (__gettimeofday): Remove macro.
44728 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
44729 * time/gettimeofday.c (__gettimeofday): Remove #undef.
44730 Remove INTDEF.
44731 (__gettimeofday): Add libc_hidden_def.
44732 (gettimeofday): Add libc_hidden_weak.
44733 * sysdeps/mach/gettimeofday.c: Likewise.
44734 * sysdeps/posix/gettimeofday.c: Likewise.
44735 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
44736 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
44737 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
44738 (__gettimeofday_internal): Remove strong_alias.
44739 (__gettimeofday): Add libc_hidden_def.
44740 (gettimeofday): Add libc_hidden_weak.
44741 * sysdeps/unix/syscalls.list (gettimeofday):
44742 Remove __gettimeofday_internal alias.
44743
44744 2012-05-24 Daniel Jacobowitz <drow@false.org>
44745 H.J. Lu <hongjiu.lu@intel.com>
44746
44747 [BZ #12495]
44748 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
44749 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
44750 (largebin_index_32_big): New.
44751 (largebin_index): Use it for 16-byte alignment.
44752 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
44753 correction with front_misalign.
44754
44755 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
44756
44757 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
44758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
44759 Likewise.
44760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
44761 Likewise.
44762 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
44763 Likewise.
44764 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
44765 Likewise.
44766 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
44767 Likewise.
44768 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
44769 Likewise.
44770 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
44771 Likewise.
44772 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
44773 Likewise.
44774 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
44775 Likewise.
44776 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
44777 Likewise.
44778 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
44779 Likewise.
44780 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
44781 Likewise.
44782
44783 * scripts/data/c++-types-x32-linux-gnu.data: New file.
44784 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
44785
44786 2012-05-24 Joseph Myers <joseph@codesourcery.com>
44787
44788 [BZ #10846]
44789 [BZ #14036]
44790 * math/libm-test.inc (exp_test): Add test from bug 14036.
44791 (pow_test): Add test from bug 10846.
44792
44793 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
44794 and other flags.
44795 (special_function): Do not include flags in test name.
44796 (parse_args): Likewise.
44797 * sysdeps/i386/fpu/libm-test-ulps: Update.
44798 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44799 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
44800 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
44801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44802
44803 * math/gen-libm-test.pl (%beautify): Add entries for underflow
44804 exceptions.
44805 * math/libm-test.inc ("Philosophy"): Update comment about
44806 exception testing.
44807 (UNDERFLOW_EXCEPTION): New macro.
44808 (UNDERFLOW_EXCEPTION_OK): Likewise.
44809 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
44810 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
44811 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
44812 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
44813 (INVALID_EXCEPTION_OK): Update value.
44814 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44815 (OVERFLOW_EXCEPTION_OK): Likewise.
44816 (IGNORE_ZERO_INF_SIGN): Likewise.
44817 (test_exceptions): Handle underflow exceptions.
44818 (acos_test): Update for underflow exception expectations.
44819 (cexp_test): Likewise.
44820 (clog_test): Likewise.
44821 (clog10_test): Likewise.
44822 (csqrt_test): Likewise.
44823 (ctan_test): Likewise.
44824 (ctanh_test): Likewise.
44825 (exp_test): Likewise.
44826 (exp10_test): Likewise.
44827 (exp2_test): Likewise.
44828 (expm1_test): Likewise.
44829 (fma_test): Likewise.
44830 (j0_test): Likewise.
44831 (jn_test): Likewise.
44832 (nexttoward_test): Likewise.
44833 (pow_test): Likewise.
44834 (scalbn_test): Likewise.
44835 (scalbln_test): Likewise.
44836 (tan_test): Likewise.
44837 (y1_test): Likewise.
44838 * sysdeps/i386/fpu/libm-test-ulps: Update.
44839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44840
44841 2012-05-23 David S. Miller <davem@davemloft.net>
44842
44843 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44844 (__libc_sigaction): Remove unused local variables.
44845
44846 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
44847
44848 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
44849
44850 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
44851
44852 mktime: avoid signed integer overflow
44853 * time/mktime.c (__mktime_internal): Do not mishandle the case
44854 where diff == INT_MIN.
44855
44856 mktime: simplify computation of average
44857 * time/mktime.c (ranged_convert): Use new time_t_avg function
44858 instead of rolling our own (probably-slower) code.
44859
44860 mktime: do not assume signed right shift propagates sign bit
44861 * time/mktime.c (isdst_differ): New static function.
44862 (__mktime_internal): No need to normalize tm_isdst now.
44863 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
44864 tm_isdst values.
44865
44866 mktime: merge another wrapv change from gnulib
44867 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
44868 from some compilers.
44869
44870 mktime: remove incorrect attempt at unusual arithmetics
44871 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
44872 The code didn't really work on such machines anyway.
44873 (TYPE_MINIMUM): Assume two's complement.
44874 (twos_complement_arithmetic): Verify that long_int and time_t
44875 are two's complement (or unsigned, in the latter case).
44876
44877 mktime: check signed shifts on long_int and time_t, too
44878 * time/mktime.c (SHR): Check that shifts work as desired
44879 on the types long_int and time_t too, as SHR is used on
44880 such types.
44881
44882 mktime: do not assume 'long' is wide enough
44883 * time/mktime.c (verify): Move decl up.
44884 (long_int): New type.
44885 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
44886 to remove assumption in the code that 'long' is wide enough to
44887 store year values. This assumption is not true on x32 and on
44888 some non-glibc platforms.
44889
44890 mktime: merge wrapv change from gnulib
44891 * time/mktime.c (WRAPV): New macro.
44892 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
44893 (guess_time_tm, __mktime_internal): Do not assume that signed
44894 integer overflow wraps around; modern compilers generate code
44895 where this assumption is no longer valid.
44896
44897 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
44898
44899 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
44900 Replace "jmp L(pseudo_end)" with "ret".
44901 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
44902 Likewise.
44903
44904 2012-05-23 Andreas Jaeger <aj@suse.de>
44905
44906 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
44907 * sysdeps/unix/sysv/linux/poll.c: Remove file.
44908
44909 2012-05-23 Andreas Jaeger <aj@suse.de>
44910 Maximilian Attems <max@stro.at>
44911
44912 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
44913 New macros.
44914
44915 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
44916
44917 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
44918 code so that pseudo_end is just ret and the stack pointer is
44919 correct also for static library in error case.
44920
44921 2012-05-23 Joseph Myers <joseph@codesourcery.com>
44922
44923 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
44924 move to syscalls.list.
44925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
44926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44929
44930 * manual/install.texi (Running make install): Do not mention Linux
44931 kernel version for which pt_chown is not needed.
44932 (Linux): Do not mention problems with nscd with 2.0 kernels.
44933 * INSTALL: Regenerated.
44934
44935 2012-05-23 Andreas Jaeger <aj@suse.de>
44936
44937 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
44938 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
44939 macro.
44940 * sysdeps/unix/sysv/linux/s390/bits/mman.h
44941 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44942 * sysdeps/unix/sysv/linux/sh/bits/mman.h
44943 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44944 * sysdeps/unix/sysv/linux/i386/bits/mman.h
44945 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44946 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
44947 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44948 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
44949 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
44950 * sysdeps/unix/sysv/linux/bits/in.h
44951 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
44952
44953 2012-05-22 Roland McGrath <roland@hack.frob.com>
44954
44955 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
44956 (PREPARE_VERSION): Just use assert instead, it will be elided
44957 under [NDEBUG] anyway.
44958
44959 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44960
44961 * sysdeps/unix/sysv/linux/Makefile: Include
44962 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
44963 (sysdep_routines): Remove sysctl.
44964 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
44965 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
44966 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
44967 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
44968 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
44969
44970 2012-05-22 Andreas Jaeger <aj@suse.de>
44971
44972 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
44973 that pseudo_end is just ret and the stack pointer is correct also
44974 for static library in error case.
44975
44976 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
44977
44978 [BZ #14122]
44979 * nss/nsswitch.c (defconfig_entries): New variable.
44980 (__nss_database_lookup): Don't leak defconfig entries.
44981 (nss_parse_service_list): Don't leak on error paths.
44982 (free_database_entries): New function.
44983 (free_defconfig): New function.
44984 (free_mem): Move common code to free_database_entries.
44985
44986 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
44987
44988 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
44989 Add arch_prctl.
44990 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
44991
44992 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44993 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
44994 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
44995 New macro.
44996 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
44997 (INTERNAL_SYSCALL_TYPES): Likewise.
44998 (LOAD_ARGS_TYPES_[1-6]): Likewise.
44999 (LOAD_REGS_TYPES_[1-6]): Likewise.
45000 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
45001 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
45002
45003 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45004
45005 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
45006 copysignl for GLIBC_2_0.
45007 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
45008 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
45009 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
45010 logbl for GLIBC_2_0.
45011 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
45012 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
45013
45014 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45015
45016 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
45017 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45018
45019 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45020 Use "neg %eax".
45021
45022 * time/mktime.c: Update copyright years.
45023
45024 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
45025
45026 mktime: merge comment-quoting-style change from gnulib
45027 * time/mktime.c: Quote 'like this' in comments.
45028 The GNU coding standards suggest that we no longer quote `like this',
45029 as "`" and "'" are typically rendered asymmetrically nowadays.
45030 The typical gnulib style is to quote 'like this' when quoting
45031 code, and "like this" when quoting English.
45032
45033 * time/mktime.c (compile-command): Add "-I.".
45034
45035 mktime: merge mktime-internal.h change from gnulib
45036 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
45037
45038 mktime: merge time_r change from gnulib
45039 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
45040
45041 mktime: merge DEBUG change from gnulib
45042 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
45043 case system <time.h> has a #define.
45044
45045 mktime: merge <sys/types.h> change from gnulib
45046 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
45047 since <time.t> is now guaranteed to define time_t.
45048
45049 mktime: merge HAVE_CONFIG_H change from gnulib
45050 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
45051
45052 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
45053
45054 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45055 Use "neg %eax".
45056
45057 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
45058 __rlim_t cast.
45059 (struct rusage): Use anonymous union to pad each field to
45060 __syscall_slong_t.
45061
45062 2012-05-21 David S. Miller <davem@davemloft.net>
45063
45064 * Makefules (o-iterator): Remove .s cases.
45065 (compile-command.s): Delete.
45066 (COMPILE.s): Delete.
45067 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
45068
45069 2012-05-21 Joseph Myers <joseph@codesourcery.com>
45070
45071 * configure.in (libc_cv_predef_stack_protector): Only consider
45072 "foobar" and "__stack_chk_fail" lines in libc_undefs.
45073 * configure: Regenerated.
45074
45075 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45076
45077 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45078 New macro. Use R*LP on int and pointer.
45079 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
45080 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
45081 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
45082 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
45083
45084 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
45085 [__WORDSIZE_TIME64_COMPAT32] instead of
45086 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
45087 (struct utmp): Likewise.
45088 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
45089 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
45090 Renamed to ...
45091 (__WORDSIZE_TIME64_COMPAT32): This.
45092 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
45093 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
45094 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
45095 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
45096 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
45097 (__WORDSIZE_TIME64_COMPAT32): New macro.
45098
45099 2012-05-21 Andreas Jaeger <aj@suse.de>
45100
45101 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
45102 only if [SHARED]. Add prototype for __wcschr_ia32.
45103
45104 2012-05-21 Roland McGrath <roland@hack.frob.com>
45105
45106 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
45107 of %rbp unmolested in the jmp_buf while mangling the low bits.
45108 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
45109 unmolested high bits of %rbp while demangling the low bits.
45110 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45111
45112 2012-05-21 Andreas Jaeger <aj@suse.de>
45113
45114 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
45115 * sunrpc/svc_simple.c: Use it for registerrpc.
45116 * sunrpc/xcrypt.c: Use it for passwd2des.
45117
45118 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
45119
45120 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45121
45122 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
45123 Don't define if [__SYSCALL_WORDSIZE != 32].
45124 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
45125 New macro.
45126
45127 2012-05-21 Bruno Haible <bruno@clisp.org>
45128 Andreas Jaeger <aj@suse.de>
45129
45130 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
45131 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
45132 inptr and inend for must_buffer_ch.
45133 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
45134 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
45135 * stdio-common/Makefile (tests): Remove bug15.
45136 (bug15-ENV): Remove macro.
45137 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
45138 anymore.
45139
45140 2012-05-19 Andreas Jaeger <aj@suse.de>
45141 Roland McGrath <roland@hack.frob.com>
45142
45143 * manual/contrib.texi: Completely rewritten. It contains now an
45144 alphabetical list of contributors and their contributions.
45145
45146 2012-05-21 Richard Henderson <rth@twiddle.net>
45147
45148 * misc/getauxval.c (__getauxval): Use unsigned long int.
45149 * misc/sys/auxv.h: Include <sys/cdefs.h>.
45150 (getauxval): Use unsigned long int.
45151
45152 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
45153
45154 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45155
45156 2012-05-21 Roland McGrath <roland@hack.frob.com>
45157
45158 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
45159 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
45160 __alignof__ (long double).
45161
45162 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45163
45164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45165
45166 2012-05-20 Richard Henderson <rth@twiddle.net>
45167
45168 * misc/getauxval.c: New file.
45169 * misc/sys/auxv.h: New file.
45170 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
45171 (routines): Add getauxval.
45172 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
45173 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
45174 * elf/dl-sysdep.c (_dl_auxv): Remove.
45175 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
45176 * elf/dl-support.c (_dl_auxv): New variable.
45177 (_dl_aux_init): Initialize it.
45178 * manual/startup.texi (Auxiliary Vector): New node.
45179 * sysdeps/generic/bits/hwcap.h: New file.
45180 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
45181 * sysdeps/powerpc/sysdep.h: ... here. Include it.
45182 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
45183 * sysdeps/sparc/sysdep.h: ... here. Include it.
45184 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
45185 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
45186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45187 Update.
45188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
45189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
45190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
45191 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
45192 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45194 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
45195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
45196
45197 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45198
45199 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45200
45201 2012-05-19 David S. Miller <davem@davemloft.net>
45202
45203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45204
45205 2012-05-19 Joseph Myers <joseph@codesourcery.com>
45206
45207 [BZ #14123]
45208 * math/s_ccosh.c: Include <float.h>
45209 (__ccosh): Avoid internal overflow calculating sinh and cosh
45210 values before multiplying by sin and cos values.
45211 * math/s_ccoshf.c: Likewise.
45212 * math/s_ccoshl.c: Likewise.
45213 * math/s_csin.c: Likewise.
45214 * math/s_csinf.c: Likewise.
45215 * math/s_csinl.c: Likewise.
45216 * math/s_csinh.c: Likewise.
45217 * math/s_csinhf.c: Likewise.
45218 * math/s_csinhl.c: Likewise.
45219 * math/libm-test.inc (ccos_test): Add more tests.
45220 (ccosh_test): Likewise.
45221 (csin_test): Likewise.
45222 (csinh_test): Likewise.
45223 * sysdeps/i386/fpu/libm-test-ulps: Update.
45224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45225
45226 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
45227
45228 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
45229 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
45230
45231 * sysdeps/x86_64/x32/_itoa.h: Add comment.
45232
45233 2012-05-19 Joseph Myers <joseph@codesourcery.com>
45234
45235 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
45236 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
45237 * sysdeps/powerpc/soft-fp/Versions: Likewise.
45238 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
45239 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
45240 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
45241 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
45242 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
45243 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
45244 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
45245 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
45246 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
45247 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
45248 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
45249 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
45250 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
45251 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
45252 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
45253 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
45254 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
45255 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
45256 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
45257 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
45258 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
45259 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
45260 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
45261 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
45262 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
45263 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
45264 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
45265 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
45266
45267 2012-05-18 Andreas Jaeger <aj@suse.de>
45268
45269 * csu/.gitignore: Delete.
45270
45271 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45272
45273 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
45274 (timex): Use __syscall_slong_t.
45275
45276 2012-05-18 Andreas Jaeger <aj@suse.de>
45277 Carlos O'Donell <carlos_odonell@mentor.com>
45278
45279 * manual/install.texi (Configuring and compiling): Update
45280 description about files modified in the source directory.
45281 * INSTALL: Regenerated.
45282
45283 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45284
45285 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
45286 value. Use "or" to set return value to -1.
45287 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
45288 negate return value.
45289
45290 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45291
45292 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
45293 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
45294 failure if the compiler has Graphite support disabled.
45295 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
45296 Likewise.
45297 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
45298 (CFLAGS-memmove.c): Likewise.
45299 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
45300 Likewise.
45301
45302 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
45303
45304 * sysdeps/x86_64/x32/_itoa.h: New file.
45305
45306 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
45307 getdents system call only if kernel and user dirents have the
45308 same d_ino and d_off.
45309
45310 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45311 LLONG_MAX != LONG_MAX.
45312 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45313 (_fitoa_word): Likewise.
45314
45315 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
45316 years.
45317 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
45318 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
45319 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
45320
45321 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
45322 include <bits/wordsize.h>. Check __x86_64__ instead of
45323 __WORDSIZE.
45324 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
45325 if __x86_64__ is defined. Use anonymous union on fpstate.
45326
45327 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
45328 anonymous union.
45329
45330 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
45331
45332 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45333 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
45334 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
45335 Refer to _rtld_local_ro instead of _rtld_global_ro.
45336 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
45337 Likewise.
45338 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
45339 Likewise.
45340 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
45341 Likewise.
45342 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
45343 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
45344 of _rtld_global, and rtld_progname instead of _dl_argv[0].
45345
45346 * sysdeps/powerpc/powerpc32/dl-machine.c
45347 (__elf_machine_runtime_setup) [PROF]: Don't reference
45348 _dl_prof_resolve.
45349
45350 2012-05-18 Andreas Jaeger <aj@suse.de>
45351
45352 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
45353 function only available for GCCs before 3.4 since GCC 3.4
45354 introduced a builtin.
45355 (lrint): Likewise.
45356 (llrintf): Likewise.
45357 (llrint): Likewise.
45358 (fmaxf): Likewise.
45359 (fmax): Likewise.
45360 (fminf): Likewise.
45361 (fmin): Likewise.
45362 (rint): Likewise.
45363 (rintf): Likewise.
45364 (nearbyint): Likewise.
45365 (nearbyintf): Likewise.
45366 (ceil): Likewise.
45367 (ceilf): Likewise.
45368 (floor): Likewise.
45369 (floorf): Likewise.
45370
45371 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45372
45373 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
45374 on both fields and cast pointer to __syscall_ulong_t.
45375
45376 * bits/types.h (__fsword_t): New type.
45377 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
45378 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
45379 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45380 (__FSWORD_T_TYPE): Likewise.
45381 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45382 (__FSWORD_T_TYPE): Likewise.
45383 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45384 (__FSWORD_T_TYPE): Likewise.
45385 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
45386 (__FSWORD_T_TYPE): Likewise.
45387 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
45388 __SWORD_TYPE with __fsword_t.
45389 (statfs64): Likewise.
45390
45391 2012-05-17 David S. Miller <davem@davemloft.net>
45392
45393 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
45394
45395 2012-05-17 Andreas Jaeger <aj@suse.de>
45396
45397 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
45398 warning.
45399
45400 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45401
45402 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
45403
45404 2012-05-17 Andreas Jaeger <aj@suse.de>
45405
45406 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
45407 when it is used.
45408
45409 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45410
45411 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
45412
45413 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
45414
45415 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
45416 * sysdeps/x86_64/tst-mallocalign1.c: New file.
45417
45418 2012-05-17 Andreas Jaeger <aj@suse.de>
45419 Carlos O'Donell <carlos_odonell@mentor.com>
45420
45421 [BZ #14059]
45422 * sysdeps/x86_64/multiarch/init-arch.h
45423 (bit_YMM_Usable): Rename to...
45424 (bit_AVX_Usable): ... this.
45425 (bit_FMA4_Usable): New macro.
45426 (bit_XMM_state): New macro.
45427 (bit_YMM_state): New macro.
45428 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
45429 [__ASSEMBLER__] (index_AVX_Usable): ... this.
45430 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
45431 (CPUID_OSXSAVE): New macro.
45432 (CPUID_AVX): New macro.
45433 (CPUID_FMA4): New macro.
45434 (index_YMM_Usable): Rename to...
45435 (index_AVX_Usable): ... this.
45436 (HAS_AVX): Use HAS_ARCH_FEATURE.
45437 (HAS_FMA4): Likewise.
45438 (HAS_YMM_USABLE): Remove.
45439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45440 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
45441 are present.
45442 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
45443 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
45444 * sysdeps/x86_64/multiarch/Makefile: Likewise.
45445 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
45446 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
45447
45448 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
45449
45450 * math/libm-test.c: Support platforms without multiple rounding modes.
45451 * math/bug-nextafter.c: Support platforms without FP exceptions.
45452 * math/bug-nexttoward.c: Likewise.
45453 * math/test-fenv.c: Likewise.
45454 * math/test-misc.c: Likewise.
45455 * stdlib/bug-getcontext.c: Likewise.
45456
45457 2012-05-17 Andreas Jaeger <aj@suse.de>
45458
45459 * manual/examples/search.c (critter_cmp): Change signature to
45460 avoid warnings.
45461 * manual/string.texi (Collation Functions): Likewise.
45462
45463 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45464
45465 * bits/types.h: Fold copyright years.
45466 * bits/typesizes.h: Likewise.
45467 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
45468 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45469 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
45470 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
45471 * time/time.h: Likewise.
45472
45473 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
45474
45475 [BZ #208]
45476 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
45477 in instead of returning them. Return void.
45478 (__libc_mallinfo): Accumulate over all arenas.
45479 (__malloc_stats): Adjust for change in int_mallinfo interface.
45480
45481 2012-05-16 Roland McGrath <roland@hack.frob.com>
45482
45483 [BZ #10375]
45484 * configure.in (NM): Add AC_CHECK_TOOL for it.
45485 (libc_extra_cflags): New substituted variable.
45486 Check for -fstack-protector being used implicitly.
45487 * configure: Regenerated.
45488 * config.make.in (config-extra-cflags): New variable,
45489 gets @libc_extra_cflags@.
45490 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
45491
45492 [BZ #10375]
45493 * configure.in: Check for _FORTIFY_SOURCE being predefined.
45494 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
45495 * configure: Regenerated.
45496 * config.make.in (CPPUNDEFS): New substituted variable.
45497 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
45498 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
45499 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
45500
45501 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45502
45503 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
45504 (mq_attr): Use __syscall_slong_t.
45505
45506 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45507
45508 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
45509 Check __x86_64__ instead of __WORDSIZE.
45510 (_STAT_VER_LINUX): Likewise.
45511 (stat): Check __x86_64__ instead of __WORDSIZE. Use
45512 __syscall_ulong_t and __syscall_slong_t.
45513 (stat64): Likewise.
45514
45515 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45516
45517 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
45518
45519 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45520
45521 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
45522
45523 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45524
45525 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
45526 __syscall_ulong_t.
45527
45528 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
45529 include <bits/wordsize.h>. Check __x86_64__ instead of
45530 __WORDSIZE.
45531 (greg_t): Use "__extension__ long long int" if __x86_64__ is
45532 defined.
45533 (mcontext_t): Replace "unsigned long" with "unsigned long long".
45534
45535 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
45536 include <bits/wordsize.h>. Check __x86_64__ instead of
45537 __WORDSIZE.
45538 (user_regs_struct): Use "__extension__ unsigned long long"
45539 instead of "unsigned long" if __x86_64__ is defined.
45540 (user): Likewise. Pad after pointer field if __ILP32__ is
45541 defined.
45542
45543 2012-05-16 Joseph Myers <joseph@codesourcery.com>
45544
45545 * configure.in (makeinfo): Require version 4.5 or later. Allow
45546 versions 5 to 9.
45547 * configure: Regenerated.
45548 * manual/install.texi (texinfo): Increase version requirement to
45549 4.5 or later.
45550 * INSTALL: Regenerated.
45551
45552 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
45553
45554 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
45555
45556 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
45557
45558 * sysdeps/x86_64/x32/ffs.c: New file.
45559
45560 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
45561 __syscall_ulong_t.
45562 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
45563 defined. Use __syscall_ulong_t.
45564 (shminfo): Use __syscall_ulong_t.
45565 (shm_info): Likewise.
45566
45567 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
45568 __syscall_ulong_t.
45569
45570 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
45571 <bits/wordsize.h>.
45572 (msgqnum_t): Use __syscall_ulong_t.
45573 (msglen_t): Likewise.
45574 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
45575 __syscall_ulong_t.
45576
45577 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
45578 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45579
45580 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
45581
45582 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
45583 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
45584
45585 * sysvipc/sys/msg.h (msgbuf): Replace long int with
45586 __syscall_slong_t.
45587
45588 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
45589 include <bits/wordsize.h>. Check __x86_64__ instead of
45590 __WORDSIZE.
45591
45592 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
45593 "unsigned long long int" if __x86_64__ is defined.
45594 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
45595
45596 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
45597 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
45598 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
45599
45600 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
45601 <stdint.h>.
45602 (GET_PC): Cast to uintptr_t first.
45603 (GET_FRAME): Likewise.
45604 (GET_STACK): Likewise.
45605
45606 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
45607 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
45608 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
45609 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
45610 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
45611 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
45612 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
45613 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
45614 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
45615 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
45616 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
45617 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
45618 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
45619 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
45620 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
45621 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
45622 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
45623 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
45624 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
45625 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
45626 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
45627 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
45628 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
45629 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
45630 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
45631 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
45632 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
45633 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
45634 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
45635
45636 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
45637
45638 * Makerules (+depfiles): Also collect depfiles from .oS in
45639 $(extra-objs).
45640 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
45641 .oS, $(libnldbl-routines)).
45642
45643 * Makerules (native-compile-mkdep-flags): Define.
45644 * sunrpc/Makefile (extra-objs): Add $(addprefix
45645 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
45646 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
45647 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
45648 calling $(make-target-directory).
45649
45650 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45651
45652 * bits/types.h (__snseconds_t): Removed.
45653 * time/time.h (struct timespec): Replace __snseconds_t with
45654 __syscall_slong_t.
45655 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
45656 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
45657 Likewise.
45658 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45659 (__SNSECONDS_T_TYPE): Likewise.
45660 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45661 (__SNSECONDS_T_TYPE): Likewise.
45662 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45663 (__SNSECONDS_T_TYPE): Likewise.
45664
45665 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45666
45667 * sysdeps/mach/hurd/bits/typesizes.h
45668 (__SYSCALL_SLONG_TYPE): New macro.
45669 (__SYSCALL_ULONG_TYPE): Likewise.
45670
45671 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45672
45673 * bits/types.h (__syscall_slong_t): New type.
45674 (__syscall_ulong_t): Likewise.
45675
45676 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
45677 (__SYSCALL_ULONG_TYPE): Likewise.
45678 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45679 (__SYSCALL_SLONG_TYPE): Likewise.
45680 (__SYSCALL_ULONG_TYPE): Likewise.
45681 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45682 (__SYSCALL_SLONG_TYPE): Likewise.
45683 (__SYSCALL_ULONG_TYPE): Likewise.
45684 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45685 (__SYSCALL_SLONG_TYPE): Likewise.
45686 (__SYSCALL_ULONG_TYPE): Likewise.
45687
45688 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45689
45690 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
45691 Add sigaltstack-offsets.sym.
45692 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
45693 <sigaltstack-offsets.h>.
45694 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
45695 longjmp_msg pointer.
45696 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
45697 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
45698 signal stack.
45699 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
45700
45701 2012-05-15 Joseph Myers <joseph@codesourcery.com>
45702
45703 * elf/stackguard-macros.h: Remove file.
45704 * sysdeps/generic/stackguard-macros.h: New file.
45705 * sysdeps/i386/stackguard-macros.h: Likewise.
45706 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45707 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45708 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45709 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45710 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45711 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45712 * sysdeps/x86_64/stackguard-macros.h: Likewise.
45713 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
45714 <elf/stackguard-macros.h>.
45715
45716 [BZ #14109]
45717 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
45718 __aligned__ in attribute.
45719 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
45720 (gregset_t): Likewise.
45721
45722 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45723
45724 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
45725 * sysdeps/x86_64/64/Implies-after: Here. New file.
45726 * sysdeps/x86_64/x32/Implies-after: New file.
45727
45728 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45729
45730 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
45731 and access return value for _dl_profile_fixup. Use R10_LP to
45732 load frame size.
45733
45734 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45735
45736 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
45737
45738 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45739
45740 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
45741 * sysdeps/x86_64/x32/sysdep.h: New file.
45742
45743 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45744
45745 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
45746 * sysdeps/x86_64/setjmp.S: Likewise.
45747
45748 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45749
45750 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
45751 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
45752 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
45753 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
45754 remove unused global constant.
45755
45756 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
45757
45758 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
45759 include of <not-cancel.h>.
45760
45761 2012-05-15 Roland McGrath <roland@hack.frob.com>
45762
45763 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
45764
45765 2012-05-15 Jeff Law <law@redhat.com>
45766 Andreas Jaeger <aj@suse.de>
45767
45768 [BZ #13594]
45769 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
45770 out from...
45771 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
45772 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
45773 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
45774 code changing __hst_map_handle.map.
45775
45776 2012-05-15 Roland McGrath <roland@hack.frob.com>
45777
45778 * configure.in (sysnames): Look for Implies-before and Implies-after
45779 files.
45780 * configure: Regenerated.
45781
45782 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45783
45784 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
45785 8-byte data alignment with LP_SIZE alignment.
45786
45787 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45788
45789 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
45790 into R10_LP.
45791
45792 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45793
45794 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
45795
45796 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45797
45798 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
45799 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
45800 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
45801 Likewise.
45802 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
45803
45804 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45805
45806 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
45807 (stackinfo_sub_sp): Likewise.
45808
45809 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45810
45811 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
45812 RAX_LP.
45813
45814 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45815
45816 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
45817 into R*_LP.
45818
45819 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45820
45821 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
45822 sizes into R*_LP.
45823
45824 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45825
45826 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
45827
45828 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45829
45830 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
45831 into R11_LP and load __x86_64_shared_cache_size_half into
45832 R8_LP.
45833
45834 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
45835
45836 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
45837 R8_LP.
45838
45839 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45840
45841 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
45842 logb for POWER7.
45843 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
45844 logbf for POWER7.
45845 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
45846 logbl for POWER7.
45847 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
45848 powerpc32/power7/fpu/s_logb.c via #include.
45849 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
45850 powerpc32/power7/fpu/s_logbf.c via #include.
45851 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
45852 powerpc32/power7/fpu/s_logbl.c via #include.
45853
45854 2012-05-15 Joseph Myers <joseph@codesourcery.com>
45855
45856 * README.libm: Remove file.
45857
45858 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45859
45860 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
45861 count for x32. Use R*_LP and omit operand-size suffix.
45862
45863 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45864
45865 * shlib-versions: Move x86_64-.*-linux.* entries to ...
45866 * sysdeps/x86_64/64/shlib-versions: Here. New file.
45867 * sysdeps/x86_64/x32/shlib-versions: New file.
45868
45869 2012-05-14 Roland McGrath <roland@hack.frob.com>
45870
45871 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
45872 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
45873 Use _dl_fatal_printf instead.
45874
45875 2012-05-14 Joseph Myers <joseph@codesourcery.com>
45876
45877 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
45878 set if not set by the user. Do not allow for being unset.
45879 * sysdeps/unix/sysv/linux/configure: Regenerated.
45880
45881 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45882
45883 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
45884 the `q' suffix from lea and replace .quad with ASM_ADDR.
45885
45886 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45887
45888 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
45889 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
45890 instead of $17.
45891 (PTR_DEMANGLE): Likewise.
45892
45893 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45894
45895 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
45896 (LP_OP): Likewise.
45897 (ASM_ADDR): Likewise.
45898 (RAX_LP): Likewise.
45899 (RBP_LP): Likewise.
45900 (RBX_LP): Likewise.
45901 (RCX_LP): Likewise.
45902 (RDI_LP): Likewise.
45903 (RSI_LP): Likewise.
45904 (RSP_LP): Likewise.
45905 (R8_LP): Likewise.
45906 (R9_LP): Likewise.
45907 (R10_LP): Likewise.
45908 (R10_LP): Likewise.
45909 (R11_LP): Likewise.
45910 (R12_LP): Likewise.
45911 (R13_LP): Likewise.
45912 (R14_LP): Likewise.
45913 (R15_LP): Likewise.
45914
45915 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
45916
45917 * sysdeps/x86_64/x32/dl-machine.h: New file.
45918
45919 2012-05-14 Andreas Jaeger <aj@suse.de>
45920
45921 * manual/Makefile (subdir): Remove export of subdir.
45922 (all): Remove target.
45923 (.PHONY): Remove all from list.
45924 (mkinstalldirs): Remove.
45925 (.PHONY): Remove installdirs from list.
45926 ($(inst_infodir)/libc.info): Use make-target-directory.
45927 (installdirs): Remove.
45928 (subdir_%): Remove.
45929 (glibc-targets): Remove.
45930 (lib): Remove.
45931 (stubs): Remove.
45932 ($(objpfx)stubs ../po/manual.pot): Remove.
45933 ($(objpfx)stamp%): Remove.
45934 (make-target-directory): Remove.
45935 (subdir_install): Remove.
45936 (routines): Remove.
45937 (aux): Remove.
45938 (sources): Remove.
45939 (objects): Remove.
45940 (headers): Remove.
45941
45942 [BZ #13750]
45943 * manual/.gitignore: Remove, it's not needed anymore.
45944 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
45945 all files in it.
45946 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
45947 directory.
45948 (texis): Renamed to $(objpfx)texis.
45949 (texis-path): New, contains path to generated files.
45950 (chapters.%): Use texis-path for complete path, add extra argument
45951 libc-texinfo.sh.
45952 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
45953 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
45954 (summary,texi, stamp-summary): Use complete path of
45955 files. Generate files in build dir.
45956 (dir-add.texi): Build in build dir.
45957 (libm-err.texi,stamp-libm-err): Likewise.
45958 (version.texi, stamp-version): Likewise.
45959 (.%c.texi): Likewise.
45960 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
45961 (mostlyclean): Remove target.
45962 (realclean): Remove target.
45963 (generated): Add new variable with contents from mostlyclean and
45964 realclean, remove entries duplicated in common-mostlyclean, add
45965 stamp-libm-err and stamp-version.
45966 (generated-dirs): Add libc directory.
45967 ($(inst_infodir)/libc.info): Install files from build dir.
45968
45969 * manual/install.texi (Configuring and compiling): Adjust since
45970 the info files are not part of the tar ball anymore.
45971
45972 2012-05-14 Andreas Jaeger <aj@suse.de>
45973
45974 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
45975 variable.
45976
45977 2012-05-14 Joseph Myers <joseph@codesourcery.com>
45978
45979 [BZ #13717]
45980 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45981 to 2.2.0 where earlier.
45982 * sysdeps/unix/sysv/linux/configure: Regenerated.
45983 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
45984 Remove conditional code.
45985 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
45986 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
45987 Remove conditional code.
45988 [!__NR_lchown]: Likewise.
45989 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
45990 [__NR_lchown]: Likewise.
45991 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
45992 comment referencing __ASSUME_LCHOWN_SYSCALL.
45993 * sysdeps/unix/sysv/linux/i386/sigaction.c
45994 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
45995 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
45996 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
45997 Remove conditional code.
45998 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
45999 (__protocol_available): Remove #if 0 code.
46000 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
46001 conditional code.
46002 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
46003 * sysdeps/unix/sysv/linux/kernel-features.h
46004 (__ASSUME_GETCWD_SYSCALL): Don't define.
46005 (__ASSUME_REALTIME_SIGNALS): Likewise.
46006 (__ASSUME_PREAD_SYSCALL): Likewise.
46007 (__ASSUME_PWRITE_SYSCALL): Likewise.
46008 (__ASSUME_POLL_SYSCALL): Likewise.
46009 (__ASSUME_LCHOWN_SYSCALL): Likewise.
46010 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
46011 non-SPARC.
46012 (__ASSUME_SIOCGIFNAME): Don't define.
46013 (__ASSUME_MSG_NOSIGNAL): Likewise.
46014 (__ASSUME_SENDFILE): Define unconditionally.
46015 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
46016 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
46017 conditional code.
46018 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
46019 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
46020 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46021 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46022 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
46023 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46024 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
46026 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46027 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
46029 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46030 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
46032 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46033 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
46035 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46036 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
46038 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46039 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
46041 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46042 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
46044 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46045 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
46047 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46048 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46049 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
46050 Remove conditional code.
46051 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46052 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46053 Remove conditional code.
46054 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46055 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
46056 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
46057 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46058 Remove conditional code.
46059 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46060 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
46061 Remove conditional code.
46062 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46063 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
46064 Remove conditional code.
46065 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46066 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46067 Remove conditional code.
46068 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46069 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46070 Remove conditional code.
46071 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46072 * sysdeps/unix/sysv/linux/sh/pwrite64.c
46073 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46074 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46075 * sysdeps/unix/sysv/linux/sigaction.c
46076 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46077 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46078 * sysdeps/unix/sysv/linux/sigpending.c
46079 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46080 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46081 * sysdeps/unix/sysv/linux/sigprocmask.c
46082 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46083 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46084 * sysdeps/unix/sysv/linux/sigsuspend.c
46085 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46086 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46087 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46088 (__libc_missing_rt_sigs): Remove.
46089 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
46090 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
46091 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
46092 Remove conditional code.
46093 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
46094 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
46095 return 1.
46096 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
46097 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
46098 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
46099 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
46100
46101 2012-05-14 Andreas Jaeger <aj@suse.de>
46102
46103 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
46104 it's not used in glibc.
46105 (__coshm1): Likewise.
46106 (__acosh1p): Likewise.
46107 (__sgn): Likewise.
46108
46109 * manual/string.texi (Copying and Concatenation): Add missing
46110 variable in concat example.
46111 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46112
46113 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46114
46115 [BZ #14103]
46116 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
46117 __builtin_clzl with __builtin_clzll.
46118
46119 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
46120
46121 [BZ #14104]
46122 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
46123 libc_freeres_ptr.
46124
46125 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
46126
46127 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
46128 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
46129 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
46130 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
46131
46132 2012-05-14 Mike Frysinger <vapier@gentoo.org>
46133
46134 * NEWS: Update ia64 info.
46135
46136 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
46137
46138 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
46139 used as bcopy.
46140
46141 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
46142
46143 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
46144 * sysdeps/unix/syscalls.list (dup3): Likewise.
46145 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
46146 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
46147
46148 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46149
46150 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
46151 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
46152
46153 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
46154
46155 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
46156 thread pointer.
46157 (TLS_IE): Use mov/add instead of movq/addq to load thread
46158 pointer.
46159 (TLS_GD_PREFIX): New.
46160 (TLS_GD): Use it.
46161
46162 2012-05-11 David S. Miller <davem@davemloft.net>
46163
46164 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
46165 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
46166 (_FPU_SETCW): Likewise.
46167
46168 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46169
46170 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
46171 is 32-byte aligned.
46172
46173 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
46174
46175 [BZ #11837]
46176 * iconvdata/gb18030.c: Update tables.
46177 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
46178 characters specially.
46179 (BODY for TO_LOOP): Add encoding of missing ranges.
46180
46181 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
46182
46183 [BZ #13673]
46184 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
46185 * sysdeps/mach/hurd/dup3.c: Likewise.
46186 * sysdeps/mach/hurd/readlinkat.c: Likewise.
46187 * sysdeps/powerpc/memmove.c:: Likewise.
46188
46189 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46190
46191 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
46192 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
46193
46194 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46195
46196 * elf/elf.h (R_X86_64_RELATIVE64): New.
46197 (R_X86_64_NUM): Updated.
46198 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
46199 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
46200 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
46201 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
46202 tst-quad1pie tst-quad2pie
46203 (modules-names): Add tst-quadmod1 tst-quadmod2.
46204 ($(objpfx)tst-quad1): New dependency.
46205 ($(objpfx)tst-quad2): Likewise.
46206 ($(objpfx)tst-quad1pie): Likewise.
46207 ($(objpfx)tst-quad2pie): Likewise.
46208 * sysdeps/x86_64/tst-quad1.c: New file.
46209 * sysdeps/x86_64/tst-quad1pie.c: New file.
46210 * sysdeps/x86_64/tst-quad2.c: Likewise.
46211 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
46212 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
46213 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
46214 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
46215 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
46216
46217 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46218
46219 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
46220 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
46221 * streams/stropts.h (t_scalar_t): Define type.
46222
46223 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
46224 (_PATH_PRESERVE): Set to "/var/lib".
46225 (_PATH_RWHODIR): Set to "/var/spool/rwho".
46226
46227 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
46228 instead of int.
46229
46230 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
46231 if __dir_mkfile succeeded.
46232
46233 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
46234 checking for _hurd_dtablesize. Unlock it right after having
46235 finished _hurd_dtable allocation.
46236
46237 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46238
46239 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
46240 * sysdeps/mach/hurd/configure: Regenerated.
46241 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
46242 special-casing to...
46243 * sysdeps/gnu/configure.in: ... this new file.
46244 * sysdeps/unix/sysv/linux/configure: Regenerated.
46245 * sysdeps/gnu/configure: New generated file.
46246
46247 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
46248 for Linux: use nsec instead of usec, as well as:
46249 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
46250 members of type struct timespec.
46251 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
46252 New macros.
46253 (struct stat64): Likewise.
46254 (_STATBUF_ST_NSEC): New macro.
46255 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
46256
46257 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
46258 __strtoul_internal rather than strtoul.
46259
46260 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46261
46262 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
46263 and reject them.
46264
46265 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46266
46267 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
46268 which preserves existing values.
46269 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
46270
46271 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46272
46273 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
46274 TIMEOUT values. Return EINVAL for NFDS values either negative or
46275 greater than FD_SETSIZE.
46276
46277 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46278
46279 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
46280 allocated, call __vm_protect to finish enabling the existing space, and
46281 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
46282 allocate the remainder.
46283
46284 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46285
46286 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
46287 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
46288
46289 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46290
46291 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
46292 sysdeps/mach/hurd/readlink.c.
46293
46294 * posix/tst-sysconf.c (posix_options): Only use
46295 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
46296 _POSIX_SYNCHRONIZED_IO when they are defined
46297 * sysdeps/mach/hurd/bits/posix_opt.h:
46298 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
46299 (_XOPEN_REALTIME): Undefine macro.
46300 (_XOPEN_REALTIME_THREADS): Undefine macro.
46301 (_XOPEN_SHM): Undefine macro.
46302 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
46303 macro to -1.
46304 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
46305 macro to -1.
46306 (_POSIX_ASYNC_IO): Undefine macro.
46307 (_POSIX_PRIORITIZED_IO): Undefine macro.
46308 (_POSIX_SPIN_LOCKS): Define macro to -1.
46309
46310 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
46311 SA_NODEFER, SA_RESETHAND.
46312 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
46313 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
46314 F_DUPFD_CLOEXEC.
46315
46316 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46317
46318 * elf/Makefile (pldd-modules): Define unconditionally.
46319
46320 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46321
46322 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
46323
46324 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46325
46326 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
46327 Return ENOENT when name is empty.
46328 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
46329
46330 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46331
46332 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
46333
46334 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
46335
46336 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46337
46338 Fix mlock in all cases except non-readable pages.
46339 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
46340 instead of VM_PROT_ALL as parameter to __vm_wire function.
46341
46342 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
46343 (__mkdir): When path is `/', just fail with EEXIST.
46344 * sysdeps/mach/hurd/mkdirat.c: Likewise.
46345
46346 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46347
46348 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
46349 <sys/uio.h> (for writev).
46350 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
46351 and <sys/param.h> (for MIN).
46352
46353 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
46354
46355 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
46356 REQUESTED_TIME. Properly set the remaining time and return EINTR
46357 if interrupted.
46358
46359 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46360
46361 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
46362 Depend on against $(link-rpcuserlibs).
46363
46364 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46365
46366 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
46367 (__libc_stack_end): Do not use attribute_relro.
46368 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
46369 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
46370 to libthread-provided value.
46371 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
46372 attribute_relro.
46373
46374 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46375
46376 [BZ #3748]
46377 * bits/libc-lock.h (__libc_once_get): New macro.
46378 * sysdeps/mach/bits/libc-lock.h: Likewise.
46379 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
46380 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
46381 instead of using implementation details.
46382
46383 * libio/fileops.c: Unconditionally include <kernel-features.h>.
46384 * libio/freopen.c: Likewise.
46385 * libio/freopen64.c: Likewise.
46386 * misc/syslog.c: Likewise.
46387 * nscd/connections.c: Likewise.
46388 * nscd/netgroupcache.c: Likewise.
46389 * sysdeps/posix/getcwd.c: Likewise.
46390
46391 2012-05-10 Roland McGrath <roland@hack.frob.com>
46392
46393 * math/w_ilogbf.c: Add #include <limits.h>.
46394
46395 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46396
46397 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
46398 path instead of returning without unlocking.
46399
46400 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
46401 immediate-write ioctls.
46402 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
46403
46404 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46405
46406 * sysdeps/mach/hurd/i386/init-first.c (init): Use
46407 __builtin_frame_address instead of making assumptions about the
46408 location of the return address relative to DATA. Force early load of
46409 the return address.
46410 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
46411 __builtin_frame_address.
46412
46413 dup3 for GNU Hurd.
46414 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
46415 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
46416 implement dup3 and do some further code clean-ups.
46417 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
46418 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
46419
46420 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46421
46422 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
46423
46424 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
46425 HURD_CRITICAL_END around holding _hurd_dtable_lock.
46426 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
46427 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
46428 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
46429 d->port.lock.
46430
46431 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
46432 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
46433 when handler == SIG_ERR, not when handler != SIG_ERR.
46434
46435 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46436
46437 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
46438 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
46439 definitions.
46440
46441 accept4 for GNU Hurd.
46442 * include/sys/socket.h (__libc_accept4): New prototype.
46443 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
46444 to implement __libc_accept4.
46445 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
46446 __libc_accept4.
46447 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
46448
46449 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
46450 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
46451 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
46452 signal-defines.sym.
46453
46454 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46455
46456 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
46457
46458 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
46459
46460 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
46461 assertion on O_CLOEXEC flag.
46462 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
46463 * hurd/intern-fd.c: Likewise.
46464 * hurd/port2fd.c: Likewise.
46465
46466 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
46467
46468 [BZ #3906]
46469 * bits/in.h (IPV6_PKTINFO): Define new macro.
46470 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
46471
46472 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46473
46474 [BZ #13954]
46475 [BZ #13955]
46476 [BZ #13956]
46477 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
46478 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
46479 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
46480 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
46481 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46482 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
46483 * math/libm-test.inc (logb_test) : Additional logb tests.
46484
46485 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
46486 Andreas Jaeger <aj@suse.de>
46487
46488 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
46489 * configure: Regenerated.
46490 * config.h.in (LINK_OBSOLETE_RPC): New macro.
46491 * config.make.in (link-obsolete-rpc): New substituted variable.
46492 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
46493 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
46494 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46495 (shared-only-routines): Don't set it under [link-obsolete-rpc],
46496 so that libc.a contains the symbols.
46497 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
46498 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
46499 * sunrpc/auth_none.c: Likewise.
46500 * sunrpc/auth_unix.c: Likewise.
46501 * sunrpc/authdes_prot.c: Likewise.
46502 * sunrpc/authuxprot.c: Likewise.
46503 * sunrpc/clnt_gen.c: Likewise.
46504 * sunrpc/clnt_perr.c: Likewise.
46505 * sunrpc/clnt_raw.c: Likewise.
46506 * sunrpc/clnt_simp.c: Likewise.
46507 * sunrpc/clnt_tcp.c: Likewise.
46508 * sunrpc/clnt_udp.c: Likewise.
46509 * sunrpc/clnt_unix.c: Likewise.
46510 * sunrpc/des_crypt.c: Likewise.
46511 * sunrpc/des_soft.c: Likewise.
46512 * sunrpc/get_myaddr.c: Likewise.
46513 * sunrpc/key_call.c: Likewise.
46514 * sunrpc/key_prot.c: Likewise.
46515 * sunrpc/netname.c: Likewise.
46516 * sunrpc/pm_getmaps.c: Likewise.
46517 * sunrpc/pm_getport.c: Likewise.
46518 * sunrpc/pmap_clnt.c: Likewise.
46519 * sunrpc/pmap_prot.c: Likewise.
46520 * sunrpc/pmap_prot2.c: Likewise.
46521 * sunrpc/pmap_rmt.c: Likewise.
46522 * sunrpc/publickey.c: Likewise.
46523 * sunrpc/rpc_cmsg.c: Likewise.
46524 * sunrpc/rpc_common.c: Likewise.
46525 * sunrpc/rpc_dtable.c: Likewise.
46526 * sunrpc/rpc_prot.c: Likewise.
46527 * sunrpc/rpc_thread.c: Likewise.
46528 * sunrpc/rtime.c: Likewise.
46529 * sunrpc/svc.c: Likewise.
46530 * sunrpc/svc_auth.c: Likewise.
46531 * sunrpc/svc_raw.c: Likewise.
46532 * sunrpc/svc_run.c: Likewise.
46533 * sunrpc/svc_tcp.c: Likewise.
46534 * sunrpc/svc_udp.c: Likewise.
46535 * sunrpc/svc_unix.c: Likewise.
46536 * sunrpc/svcauth_des.c: Likewise.
46537 * sunrpc/xcrypt.c: Likewise.
46538 * sunrpc/xdr.c: Likewise.
46539 * sunrpc/xdr_array.c: Likewise.
46540 * sunrpc/xdr_float.c: Likewise.
46541 * sunrpc/xdr_intXX_t.c: Likewise.
46542 * sunrpc/xdr_mem.c: Likewise.
46543 * sunrpc/xdr_rec.c: Likewise.
46544 * sunrpc/xdr_ref.c: Likewise.
46545 * sunrpc/xdr_sizeof.c: Likewise.
46546 * sunrpc/xdr_stdio.c: Likewise.
46547
46548 2012-05-10 Roland McGrath <roland@hack.frob.com>
46549
46550 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
46551 change. Update copyright years.
46552
46553 2012-05-10 Joseph Myers <joseph@codesourcery.com>
46554
46555 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
46556
46557 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
46558 Joseph Myers <joseph@codesourcery.com>
46559 Paul Pluzhnikov <ppluzhnikov@google.com>
46560
46561 [BZ #14012]
46562 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
46563 requiring rpcgen.
46564 [cross-compiling] (extra-libs): Likewise.
46565 [cross-compiling] (extra-libs-others): Likewise.
46566 [cross-compiling] (librpcsvc-routines): Likewise.
46567 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
46568 [cross-compiling] (omit-deps): Likewise.
46569 (sunrpc-CPPFLAGS): New variable.
46570 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
46571 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
46572 (cross-rpcgen-objs): New variable.
46573 (extra-objs): Append $(cross-rpcgen-objs).
46574 ($(cross-rpcgen-objs)): New rule.
46575 ($(objpfx)cross-rpcgen): Likewise.
46576 (rpcgen-cmd): Define to use $(built-program-file). Expand
46577 comment.
46578 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
46579 ($(objpfx)x%.stmp): Likewise.
46580 * sunrpc/proto.h [IS_IN_build] (_): Define.
46581 [IS_IN_build] (_libc_intl_domainname): Likewise.
46582
46583 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
46584
46585 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
46586 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
46587 and R_X86_64_TPOFF64.
46588
46589 2012-05-10 Joseph Myers <joseph@codesourcery.com>
46590
46591 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
46592 sysdeps/unix/sysv/syscalls.list.
46593 (stime): Likewise.
46594 (utime): Likewise.
46595 * sysdeps/unix/sysv/syscalls.list: Remove file.
46596
46597 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
46598
46599 [BZ #3440]
46600 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
46601 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
46602 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
46603 (__LC_IDENTIFICATION): Make these macros useful in #if
46604 expressions, as required by C99.
46605
46606 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
46607
46608 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
46609 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
46610 after this.
46611
46612 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
46613
46614 * stdlib/longlong.h: Updated from GCC.
46615
46616 2012-05-09 Andreas Jaeger <aj@suse.de>
46617
46618 * nscd/nscd.c (run_modes): Make named enum, reorder so that
46619 default is first entry.
46620 (run_mode): Set type.
46621 (main): Remove informal message about syslog.
46622 (options): Fix typo.
46623
46624 [BZ #14053]
46625 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
46626 to asm.
46627 (lrint): Likewise.
46628 (llrintf): Likewise.
46629 (llrint): Likewise.
46630 (rint): Likewise.
46631 (rintf): Likewise.
46632 (nearbyint): Likewise.
46633 (nearbyintf): Likewise.
46634
46635 2012-05-09 Andreas Jaeger <aj@suse.de>
46636 Pedro Alves <palves@redhat.com>
46637
46638 * nscd/nscd.c (run_mode): Use enum.
46639 (main): Cleanup coding style issue.
46640
46641 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
46642 Andreas Jaeger <aj@suse.de>
46643
46644 * nscd/nscd.c (go_background): Replaced with...
46645 (run_mode): ... this.
46646 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
46647 (options): Add -F --foreground.
46648 (main): Implement it.
46649 (parse_opt): Parse it.
46650
46651 2012-05-09 Andreas Jaeger <aj@suse.de>
46652
46653 [BZ #14083]
46654 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
46655 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
46656 -Wconversion warning.
46657 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
46658 Likewise.
46659
46660 2012-05-09 Joseph Myers <joseph@codesourcery.com>
46661
46662 * conform/data/locale.h-data (NULL): Use macro-constant. Require
46663 == 0.
46664 (LC_ALL): Use macro-int-constant.
46665 (LC_COLLATE): Likewise.
46666 (LC_CTYPE): Likewise.
46667 (LC_MESSAGES): Likewise.
46668 (LC_MONETARY): Likewise.
46669 (LC_NUMERIC): Likewise.
46670 (LC_TIME): Likewise.
46671 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
46672 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46673 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46674 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
46675 Specify type.
46676 [C99-based standards] (float_t): Expect type.
46677 [C99-based standards] (double_t): Expect type.
46678 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
46679 type.
46680 [C99-based standards] (HUGE_VALL): Likewise.
46681 [C99-based standards] (INFINITY): Likewise.
46682 [C99-based standards] (NAN): Likewise.
46683 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
46684 [C99-based standards] (FP_NAN): Likewise.
46685 [C99-based standards] (FP_NORMAL): Likewise.
46686 [C99-based standards] (FP_SUBNORMAL): Likewise.
46687 [C99-based standards] (FP_ZERO): Likewise.
46688 [C99-based standards] (FP_FAST_FMA): Use
46689 optional-macro-int-constant. Specify type. Require == 1.
46690 [C99-based standards] (FP_FAST_FMAF): Likewise.
46691 [C99-based standards] (FP_FAST_FMAL): Likewise.
46692 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
46693 [C99-based standards] (FP_ILOGBNAN): Likewise.
46694 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
46695 Specify type.
46696 [C99-based standards] (MATH_ERREXCEPT): Likewise.
46697 [C99-based standards] (math_errhandling): Specify type.
46698 [ISO99 || ISO11] (signgam): Do not allow.
46699 [non-C99-based standards] (copysignf): Do not allow.
46700 [non-C99-based standards] (exp2f): Likewise.
46701 [non-C99-based standards] (log2f): Likewise.
46702 [non-C99-based standards] (modff): Allow.
46703 [non-C99-based standards] (erff): Do not allow.
46704 [non-C99-based standards] (erfcf): Likewise.
46705 [non-C99-based standards] (gammaf): Likewise.
46706 [non-C99-based standards] (hypotf): Likewise.
46707 [non-C99-based standards] (j0f): Likewise.
46708 [non-C99-based standards] (j1f): Likewise.
46709 [non-C99-based standards] (jnf): Likewise.
46710 [non-C99-based standards] (lgammaf): Likewise.
46711 [non-C99-based standards] (tgammaf): Likewise.
46712 [non-C99-based standards] (y0f): Likewise.
46713 [non-C99-based standards] (y1f): Likewise.
46714 [non-C99-based standards] (ynf): Likewise.
46715 [non-C99-based standards] (isnanf): Likewise.
46716 [non-C99-based standards] (acoshf): Likewise.
46717 [non-C99-based standards] (asinhf): Likewise.
46718 [non-C99-based standards] (atanhf): Likewise.
46719 [non-C99-based standards] (cbrtf): Likewise.
46720 [non-C99-based standards] (expm1f): Likewise.
46721 [non-C99-based standards] (ilogbf): Likewise.
46722 [non-C99-based standards] (log1pf): Likewise.
46723 [non-C99-based standards] (logbf): Likewise.
46724 [non-C99-based standards] (nextafterf): Likewise.
46725 [non-C99-based standards] (remainderf): Likewise.
46726 [non-C99-based standards] (rintf): Likewise.
46727 [non-C99-based standards] (scalbf): Likewise.
46728 [non-C99-based standards] (copysignl): Likewise.
46729 [non-C99-based standards] (exp2l): Likewise.
46730 [non-C99-based standards] (log2l): Likewise.
46731 [non-C99-based standards] (modfl): Allow.
46732 [non-C99-based standards] (erfl): Do not allow.
46733 [non-C99-based standards] (erfcl): Likewise.
46734 [non-C99-based standards] (gammal): Likewise.
46735 [non-C99-based standards] (hypotl): Likewise.
46736 [non-C99-based standards] (j0l): Likewise.
46737 [non-C99-based standards] (j1l): Likewise.
46738 [non-C99-based standards] (jnl): Likewise.
46739 [non-C99-based standards] (lgammal): Likewise.
46740 [non-C99-based standards] (tgammal): Likewise.
46741 [non-C99-based standards] (y0l): Likewise.
46742 [non-C99-based standards] (y1l): Likewise.
46743 [non-C99-based standards] (ynl): Likewise.
46744 [non-C99-based standards] (isnanl): Likewise.
46745 [non-C99-based standards] (acoshl): Likewise.
46746 [non-C99-based standards] (asinhl): Likewise.
46747 [non-C99-based standards] (atanhl): Likewise.
46748 [non-C99-based standards] (cbrtl): Likewise.
46749 [non-C99-based standards] (expm1l): Likewise.
46750 [non-C99-based standards] (ilogbl): Likewise.
46751 [non-C99-based standards] (log1pl): Likewise.
46752 [non-C99-based standards] (logbl): Likewise.
46753 [non-C99-based standards] (nextafterl): Likewise.
46754 [non-C99-based standards] (remainderl): Likewise.
46755 [non-C99-based standards] (rintl): Likewise.
46756 [non-C99-based standards] (scalbl): Likewise.
46757 [ISO || ISO99 || ISO11] (*_t): Do not allow.
46758 [non-C99-based standards] (FP_*): Do not allow.
46759 [C99-based standards] (FP_*): Change to
46760 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
46761 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46762 allow.
46763 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
46764 (SIG_ERR): Likewise.
46765 [X/Open-based standards] (SIG_HOLD): Likewise.
46766 (SIG_IGN): Likewise.
46767 (SIGABRT): Use macro-int-constant. Specify type. Require
46768 positive value.
46769 (SIGFPE): Likewise.
46770 (SIGILL): Likewise.
46771 (SIGINT): Likewise.
46772 (SIGSEGV): Likewise.
46773 (SIGTER): Likewise.
46774 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
46775 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
46776 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
46777 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
46778 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
46779 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
46780 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
46781 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
46782 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
46783 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
46784 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
46785 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
46786 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
46787 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
46788 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
46789 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
46790 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
46791 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
46792 [X/Open-based standards] (SIGTRAP): Likewise.
46793 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
46794 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
46795 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
46796 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
46797 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
46798 allow.
46799
46800 2012-05-08 Ian Wienand <ianw@vmware.com>
46801
46802 [BZ #14080]
46803 * time/tzset.c (__tzset_parse_tz): Update default rules for
46804 daylight time changes in the Energy Policy Act of 2005.
46805
46806 2012-05-09 Andreas Jaeger <aj@suse.de>
46807
46808 [BZ #13983]
46809 * elf/ldconfig.c (parse_conf): Change string to make clear that
46810 ldconfig only issued a warning if ld.so.conf does not exist.
46811
46812 2012-05-08 David S. Miller <davem@davemloft.net>
46813
46814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
46815 movxtod instead of popping the value on the stack.
46816
46817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46818
46819 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
46820
46821 * config.h.in: Add HAVE_ARM_PCS_VFP.
46822
46823 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
46824
46825 [BZ #13979]
46826 * include/features.h: Warn if user requests __FORTIFY_SOURCE
46827 checking but the checks are disabled for any reason.
46828
46829 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
46830
46831 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
46832 and ELF64_R_TYPE with ELFW(R_TYPE).
46833
46834 2012-05-08 Joseph Myers <joseph@codesourcery.com>
46835
46836 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
46837 (ulimit): Likewise.
46838
46839 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
46840 (settimeofday): Likewise.
46841
46842 2012-05-08 Mike Frysinger <vapier@gentoo.org>
46843
46844 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
46845 a struct th_u2 inside the union, and move tu_block/tu_code into
46846 a new th_u3 union of tu_block/tu_code inside of that. Move
46847 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
46848 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
46849 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
46850 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
46851 (th_stuff): Change to th_u1.tu_stuff.
46852 (th_data): Define.
46853 (th_msg): Change to th_u1.th_u2.tu_data.
46854
46855 2012-05-07 David S. Miller <davem@davemloft.net>
46856
46857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46858
46859 [BZ #14074]
46860 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
46861 (SETUP_PIC_REG): Use it.
46862 (SETUP_PIC_REG_LEAF): Use it.
46863
46864 2012-05-07 Joseph Myers <joseph@codesourcery.com>
46865
46866 [BZ #13885]
46867 [BZ #13923]
46868 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46869 USE_AS_EXPM1L.
46870 (EXPL_FINITE): Likewise.
46871 (FLDLOG): Likewise.
46872 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46873 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46874 e_expl.S.
46875 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46876 USE_AS_EXPM1L.
46877 (EXPL_FINITE): Likewise.
46878 (FLDLOG): Likewise.
46879 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
46880 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
46881 e_expl.S.
46882 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
46883 test of -max_value argument for long double.
46884 * sysdeps/i386/fpu/libm-test-ulps: Update.
46885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46886
46887 2012-05-06 David S. Miller <davem@davemloft.net>
46888
46889 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
46890 quad soft-float symbols whose references which are compiler
46891 generated.
46892 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
46893
46894 2012-05-06 Joseph Myers <joseph@codesourcery.com>
46895
46896 [BZ #13884]
46897 [BZ #13914]
46898 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46899 USE_AS_EXP10L.
46900 (EXPL_FINITE): Likewise.
46901 (FLDLOG): Likewise.
46902 (c0): Likewise.
46903 (c1): Likewise.
46904 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
46905 Adjust comments for base varying.
46906 (__expl_finite): Change alias to EXPL_FINITE.
46907 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
46908 e_expl.S.
46909 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
46910 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
46911 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46912 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
46913 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
46914 USE_AS_EXP10L.
46915 (EXPL_FINITE): Likewise.
46916 (FLDLOG): Likewise.
46917 (c0): Likewise.
46918 (c1): Likewise.
46919 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
46920 Adjust comments for base varying.
46921 (__expl_finite): Change alias to EXPL_FINITE.
46922 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
46923 tests for bugs.
46924 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46925
46926 [BZ #14064]
46927 * math/libm-test.inc (check_float_internal): Correct ulp
46928 calculation for subnormal expected results.
46929
46930 2012-05-06 Andreas Jaeger <aj@suse.de>
46931
46932 * Makeconfig (+math-flags): New, set to -frounding-math.
46933 (+cflags): Add +math-flags so that all of glibc gets compiled with
46934 it.
46935
46936 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
46937
46938 2012-05-05 Joseph Myers <joseph@codesourcery.com>
46939
46940 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
46941 Disable one test.
46942
46943 [BZ #13787]
46944 [BZ #13922]
46945 [BZ #14036]
46946 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
46947 (__ieee754_expl): Allow for and saturate large arguments.
46948 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
46949 (u_threshold): Likewise.
46950 (__exp): Call __ieee754_exp before checking for overflow and
46951 underflow.
46952 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
46953 (u_threshold): Likewise.
46954 (__expf): Call __ieee754_expf before checking for overflow and
46955 underflow.
46956 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
46957 (u_threshold): Likewise.
46958 (__expl): Call __ieee754_expl before checking for overflow and
46959 underflow.
46960 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
46961 (__ieee754_expl): Allow for and saturate large arguments.
46962 * math/libm-test.inc (exp_test): Add another test. Do not allow
46963 missing overflow exception on overflow.
46964 (expm1_test): Do not allow missing overflow exception on overflow.
46965
46966 * sysdeps/i386/fpu/e_expl.c: Move to ...
46967 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
46968 rather than using inline asm.
46969 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
46970 * sysdeps/x86_64/fpu/e_expl.S: Copy from
46971 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
46972
46973 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
46974 (nice): Likewise.
46975 (poll): Likewise.
46976 (signal): Likewise.
46977 (time): Likewise.
46978 (times): Likewise.
46979
46980 2012-05-04 Joseph Myers <joseph@codesourcery.com>
46981
46982 * sysdeps/unix/syscalls.list (adjtime): Add entry from
46983 sysdeps/unix/common/syscalls.list.
46984 (fchmod): Likewise.
46985 (fchown): Likewise.
46986 (ftruncate): Likewise.
46987 (getrusage): Likewise.
46988 (gettimeofday): Likewise.
46989 (setpgid): Likewise.
46990 (setregid): Likewise.
46991 (setreuid): Likewise.
46992 (sigaction): Likewise.
46993 (truncate): Likewise.
46994 (vhangup): Likewise.
46995 * sysdeps/unix/common/syscalls.list: Remove file.
46996 * sysdeps/unix/bsd/Implies: Don't include unix/common.
46997 * sysdeps/unix/sysv/linux/Implies: Likewise.
46998
46999 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
47000
47001 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
47002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
47003 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
47004 Moved to ...
47005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47006 Here.
47007 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
47008 to ...
47009 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
47010 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
47011 to ...
47012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
47013 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
47014 to ...
47015 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
47016 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
47017 to ...
47018 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
47019 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
47020 to ...
47021 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
47022 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
47023 to ...
47024 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
47025 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
47026 to ...
47027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47028 Here.
47029 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
47030 to ...
47031 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
47032 Here.
47033 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
47034 to ...
47035 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
47036 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
47037 Moved to ...
47038 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
47039 Here.
47040 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
47041 to ...
47042 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
47043
47044 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47045
47046 * sysdeps/unix/common/bits/dirent.h: Remove file.
47047 * sysdeps/unix/common/bits/fcntl.h: Likewise.
47048
47049 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
47050 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
47051 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
47052 * sysdeps/unix/bsd/isatty.c: Likewise.
47053 * sysdeps/unix/bsd/tcdrain.c: Likewise.
47054 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
47055 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
47056
47057 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47058
47059 [BZ #13563]
47060 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
47061 long double comparison inaccuracies.
47062 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47064
47065 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
47066
47067 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
47068 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
47069
47070 2012-05-04 Joseph Myers <joseph@codesourcery.com>
47071
47072 [BZ #14049]
47073 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
47074 nonzero digits before rounding a hex value.
47075 * stdlib/tst-strtod.c (tests): Add another test.
47076
47077 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47078
47079 * sysdeps/s390/fpu/libm-test-ulps: Update.
47080
47081 2012-05-03 Andreas Jaeger <aj@suse.de>
47082
47083 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
47084 does not get optimized out.
47085 (malloc_opt_barrier): New.
47086
47087 2012-05-03 Andreas Jaeger <aj@suse.de>
47088 Roland McGrath <roland@hack.frob.com>
47089
47090 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
47091 intermediate file deletion.
47092 (generated): Add .symlist files.
47093
47094 2012-05-03 Joseph Myers <joseph@codesourcery.com>
47095
47096 [BZ #13775]
47097 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
47098 Redirect under this condition.
47099 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47100 [__USE_GNU] (__dprintf_chk): Not under this condition.
47101 [__USE_GNU] (__vdprintf_chk): Likewise.
47102 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
47103 under this condition.
47104 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47105 [__USE_XOPEN2K8] (dprintf): Define under this condition.
47106 [__USE_XOPEN2K8] (vdprintf): Likewise.
47107 [__USE_GNU] (__dprintf_chk): Not under this condition.
47108 [__USE_GNU] (__vdprintf_chk): Likewise.
47109 [__USE_GNU] (dprintf): Likewise.
47110 [__USE_GNU] (vdprintf): Likewise.
47111
47112 2012-05-03 Roland McGrath <roland@hack.frob.com>
47113
47114 * elf/Makefile (common-generated): Set this instead of generated for
47115 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
47116 $(all-built-dso)-derived lists.
47117
47118 2012-05-03 Andreas Jaeger <aj@suse.de>
47119
47120 * sysdeps/i386/fpu/libm-test-ulps: Update.
47121
47122 * FAQ: Removed.
47123 * FAQ.in: Likewise.
47124 * scripts/gen-FAQ.pl: Likewise.
47125 * manual/install.texi (Installation): Point to online location of
47126 FAQ.
47127 * Makefile (files-for-dist): Remove FAQ.
47128 (FAQ): Remove.
47129
47130 2012-05-02 Allan McRae <allan@archlinux.org>
47131
47132 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
47133 (LDFLAGS-reldepmod5.so): Likewise.
47134 (LDFLAGS-reldep6mod1.so): Likewise.
47135 (LDFLAGS-reldep6mod4.so): Likewise.
47136 (LDFLAGS-reldep8mod3.so): Likewise.
47137 (LDFLAGS-unload4mod1.so): Likewise.
47138 (LDFLAGS-unload4mod2.so): Likewise.
47139 (LDFLAGS-tst-initorder): Likewise.
47140 (LDFLAGS-tst-initordera2.so): Likewise.
47141 (LDFLAGS-tst-initordera3.so): Likewise.
47142 (LDFLAGS-tst-initordera4.so): Likewise.
47143 (LDFLAGS-tst-initorderb2.so): Likewise.
47144 (LDFLAGS-noload): Likewise.
47145 (LDFLAGS-next): Likewise.
47146 (LDFLAGS-order2mod1.so): Likewise.
47147 (LDFLAGS-order2mod2.so): Likewise.
47148 (LDFLAGS-tst-initorder2): Likewise.
47149 (LDFLAGS-tst-initorder2a.so): Likewise.
47150 (LDFLAGS-tst-initorder2b.so): Likewise.
47151 (LDFLAGS-tst-initorder2c.so): Likewise.
47152 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
47153
47154 2012-05-02 David S. Miller <davem@davemloft.net>
47155
47156 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47157
47158 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
47159
47160 [BZ #14055]
47161 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
47162
47163 2012-05-02 Andreas Jaeger <aj@suse.de>
47164
47165 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
47166 since we manipulate rounding mode.
47167 (CPPFLAGS-test-idouble.c): Likewise.
47168 (CPPFLAGS-test-ifloat.c): Likewise.
47169 (CFLAGS-test-ldouble.c): Likewise.
47170 (CFLAGS-test-double.c): Likewise.
47171 (CFLAGS-test-float.c): Likewise.
47172 (CFLAGS-test-misc.c): Likewise.
47173 (CFLAGS-test-test-fenv.c): Likewise.
47174
47175 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47176
47177 [BZ #2550]
47178 [BZ #2570]
47179 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
47180 comparisons to determine direction to adjust input.
47181
47182 2012-05-01 Roland McGrath <roland@hack.frob.com>
47183
47184 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
47185 output to the target.
47186
47187 * scripts/localplt.awk: New file.
47188 * elf/Makefile ($(objpfx)check-localplt): Target removed.
47189 (check-localplt-CFLAGS): Variable removed.
47190 ($(all-built-dso:=.jmprel)): New static pattern rule.
47191 (generated): Add those targets.
47192 (localplt-built-dso): New variable.
47193 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
47194
47195 * elf/check-localplt.c: File removed.
47196
47197 * scripts/check-execstack.awk: New file.
47198 * elf/Makefile ($(objpfx)check-execstack): Target removed.
47199 (check-execstack-CFLAGS): Variable removed.
47200 ($(objpfx)check-execstack.h): Target removed.
47201 ($(objpfx)execstack-default): New target.
47202 (generated): Add that instead of check-execstack.h.
47203 ($(all-built-dso:=.phdr)): New static pattern rule.
47204 (generated): Add those targets.
47205 * elf/check-execstack.c: File removed.
47206
47207 * scripts/check-textrel.awk: New file.
47208 * elf/Makefile ($(objpfx)check-textrel): Target removed.
47209 (check-textrel-CFLAGS): Variable removed.
47210 (all-built-dso): Use := to define.o
47211 ($(all-built-dso:=.dyn)): New static pattern rule.
47212 (generated): Add those targets.
47213 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
47214 * config.make.in (READELF): New substituted variable.
47215 * elf/check-textrel.c: File removed.
47216
47217 2012-05-01 Joseph Myers <joseph@codesourcery.com>
47218
47219 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47220 allow.
47221 * conform/data/ctype.h-data [C99-based standards] (isblank):
47222 Expect function.
47223 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
47224 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
47225 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47226 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
47227 Specify type. Require positive value.
47228 (EILSEQ): Likewise.
47229 (ERANGE): Likewise.
47230 [ISO || POSIX] (EILSEQ): Do not expect.
47231 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
47232 Specify type. Require positive value.
47233 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
47234 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
47235 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
47236 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
47237 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
47238 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
47239 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
47240 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
47241 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
47242 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
47243 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
47244 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
47245 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
47246 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
47247 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
47248 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
47249 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
47250 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
47251 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
47252 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
47253 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
47254 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
47255 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
47256 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
47257 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
47258 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
47259 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
47260 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
47261 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
47262 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
47263 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
47264 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
47265 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
47266 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
47267 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
47268 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
47269 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
47270 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
47271 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
47272 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
47273 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
47274 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
47275 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
47276 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
47277 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
47278 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
47279 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
47280 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
47281 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
47282 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
47283 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
47284 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
47285 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
47286 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
47287 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
47288 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
47289 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
47290 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
47291 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
47292 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
47293 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
47294 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
47295 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
47296 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
47297 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
47298 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
47299 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
47300 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
47301 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
47302 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
47303 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
47304 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
47305 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
47306 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
47307 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
47308 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
47309 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
47310 Require >= 2.
47311 (FLT_ROUNDS): Expect as macro, not constant.
47312 (FLT_MANT_DIG): Use macro-int-constant.
47313 (DBL_MANT_DIG): Likewise.
47314 (LDBL_MANT_DIG): Likewise.
47315 (FLT_DIG): Likewise.
47316 (DBL_DIG): Likewise.
47317 (LDBL_DIG): Likewise.
47318 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
47319 (DBL_MIN_EXP): Likewise.
47320 (LDBL_MIN_EXP): Likewise.
47321 (FLT_MAX_EXP): Use macro-int-constant.
47322 (DBL_MAX_EXP): Likewise.
47323 (LDBL_MAX_EXP): Likewise.
47324 (FLT_MAX_10_EXP): Likewise.
47325 (DBL_MAX_10_EXP): Likewise.
47326 (LDBL_MAX_10_EXP): Likewise.
47327 (FLT_MAX): Use macro-constant.
47328 (DBL_MAX): Likewise.
47329 (LDBL_MAX): Likewise.
47330 (FLT_EPSILON): Use macro-constant. Give upper bound.
47331 (DBL_EPSILON): Likewise.
47332 (LDBL_EPSILON): Likewise.
47333 (FLT_MIN): Likewise.
47334 (DBL_MIN): Likewise.
47335 (LDBL_MIN): Likewise.
47336 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
47337 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
47338 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
47339 [ISO11] (FLT_HAS_SUBNORM): Likewise.
47340 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
47341 [ISO11] (DBL_DECIMAL_DIG): Likewise.
47342 [ISO11] (FLT_DECIMAL_DIG): Likewise.
47343 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
47344 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
47345 [ISO11] (FLT_TRUE_MIN): Likewise.
47346 [ISO11] (LDBL_TRUE_MIN): Likewise.
47347 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47348 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
47349 (SCHAR_MIN): Use macro-int-constant. Specify type.
47350 (SCHAR_MAX): Likewise.
47351 (UCHAR_MAX): Likewise.
47352 (CHAR_MIN): Likewise.
47353 (CHAR_MAX): Likewise.
47354 (MB_LEN_MAX): Use macro-int-constant.
47355 (SHRT_MIN): Use macro-int-constant. Specify type.
47356 (SHRT_MAX): Likewise.
47357 (USHRT_MAX): Likewise.
47358 (INT_MAX): Likewise.
47359 (INT_MIN): Use macro-int-constant. Specify type. Make upper
47360 bound negative.
47361 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
47362 bound with "U".
47363 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47364 bound with "L".
47365 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
47366 bound negative. Suffix upper bound with "L".
47367 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
47368 bound with "UL".
47369 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
47370 Specify type.
47371 [C99-based standards] (LLONG_MAX): Likewise.
47372 [C99-based standards] (ULLONG_MAX): Likewise.
47373 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
47374 == 0.
47375 [ISO11] (max_align_t): Require type.
47376 [ISO || ISO99 || ISO11] (*_t): Do not allow.
47377
47378 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
47379 from $CFLAGS, without defining away __attribute__ calls.
47380 (checknamespace): Use $CFLAGS_namespace.
47381
47382 * conform/conformtest.pl (@keywords): Only include C99 keywords
47383 for standards based on C99 or C11.
47384
47385 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
47386 Disable tests.
47387 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
47388 UNIX98]: Likewise.
47389
47390 * conform/conformtest.pl: Handle "macro-int-constant" and test for
47391 usability of symbols in #if.
47392
47393 * conform/conformtest.pl: If macro or constant types start
47394 "promoted:", expect the symbol to be of the following type
47395 promoted by the integer promotions.
47396
47397 * conform/conformtest.pl: Parse all "constant" and "macro" lines
47398 in one place. Also handle "macro-constant".
47399
47400 * conform/conformtest.pl: Only accept expected macro values with
47401 "==". Parse all "macro" lines in one place.
47402 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
47403
47404 * conform/conformtest.pl: Handle braced types on "constant" lines
47405 instead of handling "typed-constant".
47406 * conform/data/signal.h-data: Use "constant" instead of
47407 "typed-constant".
47408
47409 * conform/conformtest.pl: Handle "optional-" at start of lines in
47410 one place rather than duplicating several cases. Handle each
47411 format of "macro" line with initial "optional-".
47412
47413 * conform/conformtest.pl: Only accept expected constant or
47414 optional-constant values with "==". Parse all "constant" lines in
47415 one place. Parse all "optional-constant" lines in one place.
47416 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
47417 * conform/data/fmtmsg.h-data: Likewise.
47418 * conform/data/netinet/in.h-data: Likewise.
47419 * conform/data/tar.h-data: Likewise.
47420 * conform/data/limits.h-data: Use "==" form on "constant" and
47421 "optional-constant" lines.
47422
47423 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
47424 Use -std=c99 for XOPEN2K.
47425 (@knownproblems): Remove.
47426 (newtoken): Don't check %isknown.
47427
47428 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
47429 Do not expect macro.
47430 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
47431 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
47432 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
47433 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
47434 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
47435 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
47436 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
47437 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
47438 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
47439 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
47440 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
47441 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
47442 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
47443 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
47444 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
47445 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
47446 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
47447 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
47448 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
47449 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
47450 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
47451 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
47452 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
47453 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
47454 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
47455 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
47456 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
47457 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
47458 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
47459 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
47460 [XPG3] (acosh): Likewise.
47461 [XPG3] (asinh): Likewise.
47462 [XPG3] (atanh): Likewise.
47463 [XPG3] (cbrt): Likewise.
47464 [XPG3] (expm1): Likewise.
47465 [XPG3] (ilogb): Likewise.
47466 [XPG3] (log1p): Likewise.
47467 [XPG3] (logb): Likewise.
47468 [XPG3] (nextafter): Likewise.
47469 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
47470 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
47471 [XPG3] (remainder): Likewise.
47472 [XPG3] (rint): Likewise.
47473 [XPG3 || XPG4 || UNIX98] (round): Likewise.
47474 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
47475 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
47476 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
47477 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
47478 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
47479 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
47480 [UNIX98 || XOPEN2K] (scalb): Expect.
47481 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
47482 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
47483 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
47484 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
47485 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
47486 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
47487 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
47488 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
47489 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
47490 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
47491 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
47492 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
47493 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
47494 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
47495 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
47496 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
47497 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
47498 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
47499 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
47500 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
47501 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
47502 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
47503 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
47504 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
47505 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
47506 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
47507 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
47508 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
47509 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
47510 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
47511 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
47512 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
47513 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
47514 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
47515 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
47516 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
47517 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
47518 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
47519 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
47520 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
47521 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
47522 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
47523 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
47524 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
47525 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
47526 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
47527 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
47528 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
47529 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
47530 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
47531 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
47532 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
47533 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
47534 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
47535 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
47536 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
47537 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
47538 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
47539 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
47540 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
47541 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
47542 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
47543 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
47544 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
47545 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
47546 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
47547 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
47548 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
47549 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
47550 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
47551 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
47552 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
47553 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
47554 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
47555 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
47556 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
47557 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
47558 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
47559 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
47560 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
47561 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
47562 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
47563 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
47564 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
47565 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
47566 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
47567 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
47568 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
47569 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
47570 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
47571 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
47572 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
47573 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
47574 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
47575 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
47576 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
47577 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
47578 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
47579 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
47580 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
47581 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
47582 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
47583 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
47584 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
47585 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
47586 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
47587 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
47588 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
47589 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
47590 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
47591 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
47592 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
47593 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
47594 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
47595 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
47596 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
47597 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
47598 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
47599 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
47600 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
47601 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
47602 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
47603 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
47604 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
47605 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
47606 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
47607 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
47608 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
47609 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
47610 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
47611 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
47612 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
47613 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
47614 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
47615 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
47616 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
47617 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
47618
47619 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
47620 _XOPEN_SOURCE_EXTENDED for XPG4.
47621
47622 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
47623
47624 * Makeconfig (localtime): Remove variable.
47625 (inst_localtime-file): Likewise.
47626
47627 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47628
47629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
47630 Update.
47631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
47632 Update.
47633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
47634 Update.
47635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47636 Update.
47637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
47638 Update.
47639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
47640 Update.
47641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
47642 Update.
47643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
47644 Update.
47645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47646 Update.
47647
47648 2012-05-01 Joseph Myers <joseph@codesourcery.com>
47649
47650 [BZ #2550]
47651 [BZ #2570]
47652 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
47653 comparisons to determine direction to adjust input.
47654 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
47655 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
47656 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
47657 Likewise.
47658 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
47659 Likewise.
47660 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
47661 Likewise.
47662 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
47663 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
47664 Likewise.
47665 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
47666 Likewise.
47667 * math/libm-test.inc (nexttoward_test): Add more tests.
47668
47669 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
47670
47671 [BZ #14040]
47672 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
47673 in version GLIBC_2.1, not GLIBC_2.0.
47674 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
47675 Likewise.
47676
47677 2012-04-30 Joseph Myers <joseph@codesourcery.com>
47678
47679 [BZ #13942]
47680 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
47681 (1 - x) * (1 + x).
47682 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47683 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
47684 * math/libm-test.inc (acos_test): Add more tests.
47685 (asin_test): Likewise.
47686 * sysdeps/i386/fpu/libm-test-ulps: Update.
47687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47688
47689 [BZ #14034]
47690 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
47691 of square root.
47692 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
47693 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
47694 * math/libm-test.inc (acos_test_tonearest): New function.
47695 (acos_test_towardzero): Likewise.
47696 (acos_test_downward): Likewise.
47697 (acos_test_upward): Likewise.
47698 (asin_test_tonearest): Likewise.
47699 (asin_test_towardzero): Likewise.
47700 (asin_test_downward): Likewise.
47701 (asin_test_upward): Likewise.
47702 (main): Call the new functions.
47703 * sysdeps/i386/fpu/libm-test-ulps: Update.
47704 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47705
47706 [BZ #13884]
47707 [BZ #13924]
47708 * math/e_exp10.c: Include <float.h>.
47709 (__ieee754_exp10): Handle underflow here rather than multiplying
47710 large negative argument by M_LN10.
47711 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
47712 of __ieee754_expf.
47713 * math/e_exp10l.c: Include <float.h>.
47714 (__ieee754_exp10l): Handle underflow here rather than multiplying
47715 large negative argument by M_LN10l.
47716 * math/libm-test.inc (exp10_test): Add another test. Do not allow
47717 spurious overflow exception on underflow.
47718
47719 2012-04-29 Marek Polacek <polacek@redhat.com>
47720
47721 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
47722 (__fortify_function): New macro.
47723 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
47724 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
47725 __extern_always_inline.
47726 * libio/bits/stdio2.h: Likewise.
47727 * libio/bits/stdio.h: Likewise.
47728 * string/string.h: Likewise.
47729 * string/bits/string3.h: Likewise.
47730 * include/stdio.h: Likewise.
47731 * stdlib/bits/stdlib.h: Likewise.
47732 * stdlib/stdlib.h: Likewise.
47733 * rt/bits/mqueue2.h: Likewise.
47734 * rt/mqueue.h: Likewise.
47735 * posix/bits/unistd.h: Likewise.
47736 * posix/unistd.h: Likewise.
47737 * io/bits/poll2.h: Likewise.
47738 * io/bits/fcntl2.h: Likewise.
47739 * io/fcntl.h: Likewise.
47740 * io/sys/poll.h: Likewise.
47741 * misc/bits/syslog.h: Likewise.
47742 * misc/bits/syslog-ldbl.h: Likewise.
47743 * misc/sys/syslog.h: Likewise.
47744 * socket/bits/socket2.h: Likewise.
47745 * socket/sys/socket.h: Likewise.
47746 * debug/tst-chk1.c: Likewise.
47747 * wcsmbs/bits/wchar2.h: Likewise.
47748 * wcsmbs/bits/wchar-ldbl.h: Likewise.
47749 * wcsmbs/wchar.h: Likewise.
47750
47751 2012-04-29 Andreas Jaeger <aj@suse.de>
47752
47753 * Makerules (tests): Remove enable-check-abi protection.
47754 (check-abi-warn): Remove.
47755 (check-abi-%): Remove check-abi-warn usage.
47756
47757 * configure.in: Remove check-abi configure option.
47758 * configure: Regenerated.
47759 * config.make.in (enable-check-abi): Remove.
47760
47761 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
47762
47763 [BZ #14033]
47764 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
47765 double functions to double *_finite functions.
47766
47767 [BZ #13941]
47768 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
47769 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
47770 LDBL_MIN_EXP.
47771 * stdio-common/Makefile (tests): Add tst-sprintf3.
47772 * stdio-common/tst-sprintf3.c: New file.
47773
47774 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
47775 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
47776
47777 2012-04-28 Joseph Myers <joseph@codesourcery.com>
47778
47779 * conform/conformtest.pl: Remove duplicate typed-constant
47780 handling.
47781
47782 2012-04-28 David S. Miller <davem@davemloft.net>
47783
47784 * Makerules (%.abilist): Add vpath on sysdep_dirs.
47785 (check-abi-%): Remove AWK script prerequisite and explicit
47786 abilist directory.
47787 (check-abi): Rewrite to just diff the symlist with the abilist.
47788 (config-tls, config-abi-config): Delete, no longer used.
47789 (update-abi-%): Remove AWK script and explicit abilist directory.
47790 (update-abi): Rewrite to simply compare and conditionally copy the
47791 symlist and the sysdep abilist file. Remove update-abi-config
47792 checks.
47793 * abilist/ld.abilist: Remove.
47794 * abilist/libBrokenLocale.abilist: Remove.
47795 * abilist/libanl.abilist: Remove.
47796 * abilist/libcrypt.abilist: Remove.
47797 * abilist/libdl.abilist: Remove.
47798 * abilist/librt.abilist: Remove.
47799 * abilist/libthread_db.abilist: Remove.
47800 * abilist/libutil.abilist: Remove.
47801 * scripts/extract-abilist.awk: Remove.
47802 * scripts/merge-abilist.awk: Remove.
47803 * sysdeps/generic/libcidn.abilist: New file.
47804 * sysdeps/generic/libnss_compat.abilist: New file.
47805 * sysdeps/generic/libnss_db.abilist: New file.
47806 * sysdeps/generic/libnss_dns.abilist: New file.
47807 * sysdeps/generic/libnss_files.abilist: New file.
47808 * sysdeps/generic/libnss_hesiod.abilist: New file.
47809 * sysdeps/generic/libnss_nis.abilist: New file.
47810 * sysdeps/generic/libnss_nisplus.abilist: New file.
47811 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
47812 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
47813 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
47814 file.
47815 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
47816 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
47817 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
47818 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
47819 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
47820 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
47821 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
47822 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
47823 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
47824 file.
47825 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
47826 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
47827 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
47828 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
47829 file.
47830 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
47831 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
47832 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
47833 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
47834 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
47835 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
47836 file.
47837 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
47838 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
47839 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
47840 file.
47841 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
47842 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
47843 New file.
47844 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
47845 New file.
47846 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
47847 New file.
47848 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
47849 New file.
47850 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
47851 New file.
47852 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
47853 New file.
47854 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
47855 New file.
47856 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
47857 New file.
47858 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
47859 New file.
47860 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
47861 New file.
47862 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
47863 New file.
47864 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
47865 New file.
47866 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
47867 New file.
47868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
47869 file.
47870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
47871 New file.
47872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
47873 New file.
47874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
47875 file.
47876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
47877 New file.
47878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
47879 New file.
47880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
47881 file.
47882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
47883 New file.
47884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47885 New file.
47886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
47887 New file.
47888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
47889 New file.
47890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
47891 New file.
47892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
47893 New file.
47894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
47895 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
47896 file.
47897 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
47898 New file.
47899 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
47900 file.
47901 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
47902 file.
47903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
47904 file.
47905 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
47906 file.
47907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
47908 file.
47909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47910 New file.
47911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
47912 file.
47913 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
47914 file.
47915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47916 New file.
47917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
47918 file.
47919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
47920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
47921 file.
47922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47923 New file.
47924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
47925 file.
47926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
47927 file.
47928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
47929 file.
47930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
47931 file.
47932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
47933 file.
47934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47935 New file.
47936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
47937 file.
47938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
47939 file.
47940 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
47941 New file.
47942 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
47943 file.
47944 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
47945 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
47946 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
47947 file.
47948 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
47949 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
47950 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
47951 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
47952 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
47953 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
47954 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
47955 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
47956 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
47957 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
47958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
47959 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
47960 file.
47961 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
47962 New file.
47963 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
47964 file.
47965 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
47966 file.
47967 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
47968 file.
47969 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
47970 file.
47971 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
47972 file.
47973 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47974 New file.
47975 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
47976 New file.
47977 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
47978 file.
47979 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
47980 New file.
47981 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
47982 file.
47983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
47984 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
47985 file.
47986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
47987 New file.
47988 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
47989 file.
47990 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
47991 file.
47992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
47993 file.
47994 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
47995 file.
47996 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
47997 file.
47998 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47999 New file.
48000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48001 New file.
48002 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
48003 file.
48004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48005 New file.
48006 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
48007 file.
48008
48009 2012-04-28 Joseph Myers <joseph@codesourcery.com>
48010
48011 * conform/conformtest.pl: Fix typo in handling typed-constant from
48012 allow-header.
48013
48014 2012-04-27 Joseph Myers <joseph@codesourcery.com>
48015
48016 * README: Cut down references to pre-2.6 Linux kernels and
48017 Linuxthreads. Update lists of configurations in libc and ports
48018 and sort alphabetically. Say "or newer" with Linux kernel version
48019 requirements.
48020
48021 * config.h.in [IS_IN_build]: Allow compiling without optimization.
48022
48023 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
48024
48025 [BZ #887]
48026 * math/libm-test.inc (logb_test_downward): New test to expose
48027 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
48028 rounding mode.
48029
48030 2012-04-27 Joseph Myers <joseph@codesourcery.com>
48031
48032 [BZ #14027]
48033 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
48034 to be done.
48035 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
48036 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
48037
48038 2012-04-26 Joseph Myers <joseph@codesourcery.com>
48039
48040 * sysdeps/unix/i386/brk.S: Remove file.
48041 * sysdeps/unix/i386/dl-brk.S: Likewise.
48042 * sysdeps/unix/i386/pipe.S: Likewise.
48043 * sysdeps/unix/i386/sigreturn.S: Likewise.
48044 * sysdeps/unix/i386/syscall.S: Likewise.
48045 * sysdeps/unix/i386/vfork.S: Likewise.
48046 * sysdeps/unix/i386/wait.S: Likewise.
48047
48048 * sysdeps/unix/common/tcsendbrk.c: Move to ...
48049 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
48050
48051 * configure.in (arm*-none*): Do not allow without
48052 --enable-hacker-mode.
48053 (netbsd*): Remove case setting base_os.
48054 (386bsd*): Likewise.
48055 (freebsd*): Likewise.
48056 (bsdi*): Likewise.
48057 (osf*): Likewise.
48058 (sunos*): Likewise.
48059 (ultrix*): Likewise.
48060 (newsos*): Likewise.
48061 (dynix*): Likewise.
48062 (*bsd*): Likewise.
48063 (sysv*): Likewise.
48064 (isc*): Likewise.
48065 (esix*): Likewise.
48066 (sco*): Likewise.
48067 (minix*): Likewise.
48068 (irix4*): Likewise.
48069 (irix6*): Likewise.
48070 (solaris[2-9]*): Likewise.
48071 (none): Likewise.
48072 * configure: Regenerated.
48073
48074 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48075
48076 [BZ #11521]
48077 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
48078 overflow or cancellation in calculating denominator.
48079 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
48080 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
48081 down expression to avoid unexpected rounding in newer GCCs.
48082 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
48083
48084 2012-04-26 David S. Miller <davem@davemloft.net>
48085
48086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
48087 long-double compat symbols.
48088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
48092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48093 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
48094 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
48095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
48096 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
48097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
48098 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
48099 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
48100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48101
48102 2012-04-25 David S. Miller <davem@davemloft.net>
48103
48104 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
48105 HWCAP_* values only after the memory barriers have been defined.
48106 (atomic_full_barrier): Define.
48107 (atomic_read_barrier): Define.
48108 (atomic_write_barrier): Define.
48109
48110 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
48111
48112 * shlib-versions: Add libgcc_s version information.
48113 * sysdeps/generic/libgcc_s.h: Remove.
48114 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
48115 libgcc_s.h.
48116 * sysdeps/gnu/unwind-resume.c: Likewise.
48117 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
48118
48119 2012-04-25 David S. Miller <davem@davemloft.net>
48120
48121 * sysdeps/unix/sparc/brk.S: Delete.
48122 * sysdeps/unix/sparc/dl-brk.S: Delete.
48123 * sysdeps/unix/sparc/pipe.S: Delete.
48124 * sysdeps/unix/sparc/sysdep.S: Delete.
48125 * sysdeps/unix/sparc/sysdep.h: Delete.
48126 * sysdeps/unix/sparc/vfork.S: Delete.
48127 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
48128 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
48129 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
48130 (ret_ERRVAL, r0, r1, MOVE): Define.
48131 (JUMPTARGET): Remove.
48132 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
48133 sysdeps/unix/sparc/sysdep.h
48134 (ENTRY, END): Remove.
48135 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48136
48137 2012-04-25 Joseph Myers <joseph@codesourcery.com>
48138
48139 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
48140 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
48141 -DIS_IN_build.
48142
48143 * timezone/README: Update upstream location and email address for
48144 tzcode and tzdata.
48145 * timezone/zdump.c: Update from tzcode 2012b.
48146 * timezone/zic.c: Likewise.
48147
48148 * configure.in (libc_cv_as_needed): Remove test.
48149 * configure: Regenerated.
48150 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
48151 conditional definition.
48152 [$(have-as-needed) != yes] (no-as-needed): Likewise.
48153 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
48154 * config.make.in (have-as-needed): Remove variable.
48155
48156 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
48157 Paul Pluzhnikov <ppluzhnikov@google.com>
48158
48159 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
48160 strings correctly.
48161
48162 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
48163
48164 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
48165 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
48166 * sysdeps/sh/strlen.S: Likewise.
48167
48168 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48169
48170 * sysdeps/unix/fork.S: Remove file.
48171 * sysdeps/unix/i386/fork.S: Likewise.
48172 * sysdeps/unix/sparc/fork.S: Likewise.
48173
48174 * sysdeps/unix/system.c: Remove file.
48175 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
48176
48177 * sysdeps/unix/getegid.S: Remove file.
48178 * sysdeps/unix/geteuid.S: Likewise.
48179
48180 2012-04-24 Roland McGrath <roland@hack.frob.com>
48181
48182 * scripts/check-localplt.awk: New file.
48183 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
48184 of diff.
48185 * scripts/data/localplt-generic.data: Add a comment.
48186
48187 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
48188 NODE when __dir_mkfile failed.
48189 * sysdeps/mach/hurd/symlinkat.c: Likewise.
48190 Reported by Ludovic Courtès <ludo@gnu.org>.
48191
48192 2012-04-24 Andreas Jaeger <aj@suse.de>
48193
48194 * Makerules (common-clean): Also remove gen-as-const-headers
48195 files.
48196
48197 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48198
48199 * Makerules (native-compile): Do not change working directory for
48200 build. Use $(OUTPUT_OPTION) in command.
48201 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
48202
48203 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48204
48205 [BZ #13886]
48206 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
48207 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
48208 * math/libm-test.inc (floor_test): Add more tests.
48209 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
48210
48211 2012-04-24 Joseph Myers <joseph@codesourcery.com>
48212
48213 * sysdeps/unix/getdents.c: Remove file.
48214 * sysdeps/unix/sysv/getdents.c: Likewise.
48215 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
48216
48217 * sysdeps/unix/syscalls.list (madvise): Add syscall from
48218 sysdeps/unix/mman/syscalls.list.
48219 (mmap): Likewise.
48220 (mprotect): Likewise.
48221 (msync): Likewise.
48222 (munmap): Likewise.
48223 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
48224 * sysdeps/unix/mman/syscalls.list: Remove.
48225 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
48226
48227 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
48228 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
48229 * configure: Regenerated.
48230 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
48231 $(libgcc_s_suffix).
48232 * config.make.in (libgcc_s_suffix): Remove variable.
48233
48234 2012-04-23 Joseph Myers <joseph@codesourcery.com>
48235
48236 * sysdeps/unix/sysv/gethostname.c: Move to ...
48237 * sysdeps/posix/gethostname.c: ... here.
48238
48239 * sysdeps/unix/execve.S: Remove file.
48240
48241 * sysdeps/unix/_exit.S: Remove file.
48242
48243 2012-04-23 Andreas Jaeger <aj@suse.de>
48244
48245 [BZ #13739]
48246 * manual/Makefile: Remove make dist support, there's no
48247 need for a stand-alone documentation tar ball.
48248 (TEXI2DVI): Define always, it's not in Makeconfig.
48249 (dist): Removed.
48250 (tar-it): Removed.
48251 (edition): Removed.
48252 (glibc-doc-$(edition).tar): Removed
48253 (%.Z): Removed.
48254 (%.gz): Removed.
48255 (%.uu): Removed.
48256 (ETAGS): Remove, it's in Makeconfig.
48257 (move-if-change): Remove, it's in Makeconfig.
48258
48259 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
48260
48261 [BZ #13970]
48262 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
48263 (strtod, strtof, strtold, strtol, strtoul, strtoq)
48264 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
48265 (strtod_l, strtof_l, strtold_l): Remove __wur.
48266 It is not necessarily an error to ignore strtol's return value.
48267 One can reliably look at the stored endptr to decide whether
48268 the number had valid syntax.
48269
48270 2012-04-21 Andreas Jaeger <aj@suse.de>
48271
48272 [BZ #13739]
48273 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
48274
48275 2012-04-21 Joseph Myers <joseph@codesourcery.com>
48276
48277 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
48278 * sysdeps/unix/sysv/Versions: Remove file.
48279
48280 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
48281
48282 [BZ #13927]
48283 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48284
48285 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
48286
48287 [BZ #7064]
48288 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
48289 version from __vm86.
48290
48291 2012-04-20 Joseph Myers <joseph@codesourcery.com>
48292
48293 * sysdeps/unix/common/lxstat.c: Remove file.
48294 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
48295
48296 * sysdeps/unix/sysv/Makefile: Remove file.
48297
48298 * sysdeps/unix/sysv/direct.h: Remove file.
48299
48300 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
48301 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
48302 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
48303 * sysdeps/unix/sysv/bits/signum.h: Likewise.
48304 * sysdeps/unix/sysv/bits/stat.h: Likewise.
48305 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
48306 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
48307
48308 * sysdeps/unix/sysv/setrlimit.c: Remove file.
48309
48310 * sysdeps/unix/xmknod.c: Remove file.
48311 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
48312
48313 * sysdeps/unix/sysv/settimeofday.c: Remove file.
48314
48315 * sysdeps/unix/sysv/i386/time.S: Remove file.
48316
48317 * sysdeps/unix/fxstat.c: Remove file.
48318 * sysdeps/unix/xstat.c: Likewise.
48319 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
48320
48321 * sysdeps/unix/sysv/sigaction.c: Remove file.
48322
48323 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
48324 (sysdep_headers): Remove variable.
48325 [termio.h not in sysdep_headers] (generated): Likewise.
48326 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
48327 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
48328 * sysdeps/unix/sysv/tcdrain.c: Likewise.
48329 * sysdeps/unix/sysv/tcflow.c: Likewise.
48330 * sysdeps/unix/sysv/tcflush.c: Likewise.
48331 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
48332 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
48333 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
48334 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
48335 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
48336
48337 * sysdeps/unix/siglist.c: Remove file.
48338
48339 * sysdeps/unix/getppid.S: Remove file.
48340
48341 * sysdeps/unix/mkdir.c: Remove file.
48342 * sysdeps/unix/rmdir.c: Likewise.
48343
48344 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
48345
48346 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
48347 ERR_MAX value.
48348 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
48349 errlist-compat value.
48350
48351 2012-04-18 David S. Miller <davem@davemloft.net>
48352
48353 * sysdeps/generic/memcopy.h (reg_char): Delete.
48354 * debug/strcat_chk.c: Use char, not reg_char.
48355 * debug/strcpy_chk.c: Likewise.
48356 * debug/strncat_chk.c: Likewise.
48357 * debug/strncpy_chk.c: Likewise.
48358 * string/memchr.c: Likewise.
48359 * string/memrchr.c: Likewise.
48360 * string/rawmemchr.c: Likewise.
48361 * string/strcat.c: Likewise.
48362 * string/strchr.c: Likewise.
48363 * string/strchrnul.c: Likewise.
48364 * string/strcmp.c: Likewise.
48365 * string/strcpy.c: Likewise.
48366 * string/strncat.c: Likewise.
48367 * string/strncmp.c: Likewise.
48368 * string/strncpy.c: Likewise.
48369
48370 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48371
48372 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
48373 __builtin_memcopy is called when src and dest ranges are known to not
48374 overlap.
48375
48376 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48377
48378 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
48379 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
48380 fwd_align_merge macro call.
48381 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
48382 bwd_align_merge macro call.
48383 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48384
48385 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
48386
48387 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
48388 bwd_align_merge macros.
48389 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
48390 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
48391 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48392
48393 2012-04-18 David S. Miller <davem@davemloft.net>
48394
48395 * sysdeps/sparc/sparc64/memcopy.h: Delete.
48396
48397 2012-04-18 Andreas Jaeger <aj@suse.de>
48398
48399 [BZ# 6794]
48400 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
48401 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
48402 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48403
48404 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
48405 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
48406 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48407
48408 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
48409 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
48410 Adjust for changed ldbl-128 files.
48411
48412 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
48413 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
48414 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
48415
48416 2012-04-17 David S. Miller <davem@davemloft.net>
48417
48418 * sysdeps/sparc/sparc32/memcopy.h: Delete.
48419
48420 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
48421
48422 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
48423 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
48424 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
48425 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
48426 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48427 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
48428
48429 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48430
48431 [BZ #6794]
48432 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
48433 * math/libm-test.inc: Add ilogb errno and exception tests.
48434 * math/w_ilogb.c: New file: ilogb wrapper.
48435 * math/w_ilogbf.c: New file: ilogbf wrapper.
48436 * math/w_ilogbl.c: New file: ilogbl wrapper.
48437 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
48438 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
48439 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
48440 exception being thrown with 0.0 as argument.
48441 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
48442 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
48443 exception being thrown with 0.0 as argument.
48444 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
48445 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48446 exception being thrown with 0.0 as argument.
48447 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
48448 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
48449 exception being thrown with 0.0 as argument.
48450 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
48451 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
48452 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
48453 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
48454 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
48455 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
48456 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
48457 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
48458 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
48459
48460 2012-04-17 Petr Baudis <pasky@ucw.cz>
48461
48462 * include/sys/uio.h: Change __vector to __iovec to avoid clash
48463 with altivec.
48464
48465 2012-04-16 Marek Polacek <polacek@redhat.com>
48466
48467 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
48468
48469 2012-04-16 Marek Polacek <polacek@redhat.com>
48470
48471 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
48472 operands of fdivp instruction.
48473
48474 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48475
48476 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
48477 * elf/tst-auditmod3b.c: Likewise.
48478 * elf/tst-auditmod4b.c: Likewise.
48479 * elf/tst-auditmod5b.c: Likewise.
48480 * elf/tst-auditmod6b.c: Likewise.
48481 * elf/tst-auditmod6c.c: Likewise.
48482 * elf/tst-auditmod7b.c: Likewise.
48483 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
48484 * sysdeps/x86_64/preconfigure.in: Likewise.
48485 * sysdeps/x86_64/preconfigure: Regenerated.
48486
48487 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
48488
48489 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
48490 __ILP32__.
48491
48492 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
48493
48494 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48495 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
48496
48497 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
48498
48499 [BZ #13973]
48500 * locale/iso-639.def: Fix gl language name. Spotted by
48501 Yaron Shahrabani.
48502
48503 2012-04-12 Roland McGrath <roland@hack.frob.com>
48504
48505 [BZ #2074]
48506 * libio/libio.h (__io_write_fn): Update comment.
48507
48508 2012-04-12 Petr Baudis <pasky@ucw.cz>
48509
48510 [BZ #2074]
48511 * stdio.texi (Hook Functions): The user provided writer function
48512 is not allowed to return -1.
48513
48514 2012-04-11 David S. Miller <davem@davemloft.net>
48515
48516 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48517
48518 2012-04-11 Mike Frysinger <vapier@gentoo.org>
48519
48520 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
48521 Add a leading slash to rtkaio.
48522
48523 2012-04-11 Jim Meyering <meyering@redhat.com>
48524
48525 [BZ #11959]
48526 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
48527 It is not necessarily an error to ignore fwrite's return
48528 value. One can reliably use ferror to test for errors after
48529 the fact.
48530
48531 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48532
48533 * bits/types.h (__snseconds_t): New type.
48534 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
48535
48536 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
48537 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
48538 (__SNSECONDS_T_TYPE): Likewise.
48539 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
48540 (__SNSECONDS_T_TYPE): Likewise.
48541 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
48542 (__SNSECONDS_T_TYPE): Likewise.
48543
48544 2012-04-10 Andreas Jaeger <aj@suse.de>
48545
48546 [BZ #2636]
48547 * manual/time.texi (Processor Time): Return type of times is
48548 elapsed real time since an arbitrary point in the past.
48549 (CPU Time): Move CLK_TCK from here...
48550 (Processor Time): ...to here. Correct description.
48551 * manual/conf.texi (Constants for Sysconf): Correct description of
48552 _SC_CLK_TCK.
48553
48554 2012-04-10 David S. Miller <davem@davemloft.net>
48555
48556 [BZ #13967]
48557 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
48558 where the is a gap between DT_REL(A) and DT_JMPREL.
48559
48560 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
48561
48562 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
48563 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48564 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48565
48566 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
48567
48568 * elf/dl-support.c (_dl_inhibit_cache): New variable.
48569 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
48570 (dl_main): Handle --inhibit-cache.
48571 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
48572 _dl_inhibit_cache.
48573 * elf/dl-load.c (_dl_map_object): Use it.
48574 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
48575
48576 2012-04-09 Joseph Myers <joseph@codesourcery.com>
48577
48578 [BZ #13872]
48579 * sysdeps/i386/fpu/e_powl.S (p78): New object.
48580 (__ieee754_powl): Saturate large exponents rather than testing for
48581 overflow of y*log2(x).
48582 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48583 * math/libm-test.inc (pow_test): Do not permit spurious overflow
48584 exceptions.
48585
48586 [BZ #11521]
48587 * math/s_ctan.c: Include <float.h>.
48588 (__ctan): Avoid internal overflow or cancellation in calculating
48589 denominator.
48590 * math/s_ctanf.c: Likewise.
48591 * math/s_ctanl.c: Likewise.
48592 * math/s_ctanh.c: Likewise.
48593 * math/s_ctanhf.c: Likewise.
48594 * math/s_ctanhl.c: Likewise.
48595 * math/libm-test.inc (ctan_test): Add more tests.
48596 (ctanh_test): Likewise.
48597 * sysdeps/i386/fpu/libm-test-ulps: Update.
48598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48599
48600 2012-04-09 Andreas Jaeger <aj@suse.de>
48601
48602 [BZ #6894]
48603 * manual/filesys.texi (Directory Entries): Mention that d_namlen
48604 is an optional BSD extension.
48605
48606 [BZ #10254]
48607 * manual/stdio.texi (Opening Streams): Document additional fopen
48608 parameters.
48609
48610 2012-04-09 Roland McGrath <roland@hack.frob.com>
48611
48612 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
48613 %eax without telling the compiler.
48614
48615 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
48616
48617 [BZ # 13963]
48618 * manual/install.texi: Use sourceware.org.
48619
48620 2012-04-09 Joseph Myers <joseph@codesourcery.com>
48621
48622 [BZ #13873]
48623 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
48624 (__ieee754_pow): Generate overflow and underflow using huge*huge
48625 and tiny*tiny rather than just returning constant infinity or zero
48626 for large exponents.
48627 * math/libm-test.inc (pow_test): Require overflow exceptions for
48628 applicable cases of large exponents.
48629
48630 [BZ #706]
48631 * sysdeps/i386/fpu/e_pow.S (p10): New object.
48632 (__ieee754_pow): Use iterative multiplication algorithm only for
48633 integer exponents with absolute value below 1024. Check for odd
48634 integer exponents when using algorithm for real exponents.
48635 * math/libm-test.inc (pow_test): Add more tests.
48636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48637
48638 2012-04-08 Joseph Myers <joseph@codesourcery.com>
48639
48640 [BZ #13705]
48641 * math/libm-test.inc (exp_test): Do not allow overflow exception
48642 on underflow test.
48643
48644 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
48645
48646 [BZ #13705]
48647 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
48648 instead of __kernel_standard_f.
48649
48650 2012-04-08 Mike Frysinger <vapier@gentoo.org>
48651
48652 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
48653 * sysdeps/x86_64/memset_chk.S: Likewise.
48654
48655 2012-04-08 Andreas Jaeger <aj@suse.de>
48656
48657 [BZ #10153]
48658 * manual/startup.texi (Environment Access): Describe return value
48659 for putenv and setenv.
48660
48661 [BZ #6895]
48662 * manual/filesys.texi (Directory Entries): Add description for
48663 DT_LNK.
48664
48665 [BZ #6890]
48666 * manual/filesys.texi (Directory Entries): Clarify that it's file
48667 system not operating system in the description of DT_UNKNOWN.
48668
48669 [BZ #6578]
48670 * manual/syslog.texi (closelog): Fix reference, it's openlog.
48671
48672 2012-04-08 Stephen Compall <s11@member.fsf.org>
48673
48674 [BZ #6649]
48675 * manual/llio.texi (Opening and Closing Files): Add cross
48676 reference to explain mode argument.
48677
48678 2012-04-07 Mike Frysinger <vapier@gentoo.org>
48679
48680 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
48681 * sysdeps/x86_64/memset_chk.S: Likewise.
48682
48683 2012-04-07 David S. Miller <davem@davemloft.net>
48684
48685 * elf/elf.h (R_SPARC_WDISP10): Define.
48686 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
48687 R_SPARC_SIZE32.
48688 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
48689 R_SPARC_SIZE64 and R_SPARC_H34.
48690
48691 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
48692
48693 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
48694 conditions and remove no longer applicable assertion.
48695
48696 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48697
48698 * bits/byteswap.h: Include <features.h>.
48699 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
48700 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
48701
48702 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
48703
48704 * bits/byteswap.h (__bswap_16): Removed.
48705 Include <bits/byteswap-16.h> to get __bswap_16.
48706 * sysdeps/i386/bits/byteswap.h: Likewise.
48707 * sysdeps/s390/bits/byteswap.h: Likewise.
48708 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48709 * bits/byteswap-16.h: New file.
48710 * sysdeps/i386/bits/byteswap-16.h: Likewise.
48711 * sysdeps/s390/bits/byteswap-16.h: Likewise.
48712 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
48713 * string/Makefile (headers): Add bits/byteswap-16.h.
48714
48715 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
48716
48717 [BZ #13895]
48718 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
48719 extra indirection.
48720 * nss/Makefile (tests-static, tests): Add tst-nss-static.
48721 * nss/tst-nss-static.c: New.
48722
48723 2012-04-06 Robert Millan <rmh@gnu.org>
48724
48725 [BZ #6486]
48726 * manual/llio.texi (File Position Primitive): lseek
48727 refers to WHENCE when it really means OFFSET.
48728
48729 2012-04-06 Andreas Jaeger <aj@suse.de>
48730
48731 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
48732 strncmp declarations.
48733
48734 * abilist/libc.abilist: Add __poll and __ppoll.
48735
48736 2012-04-05 David S. Miller <davem@davemloft.net>
48737
48738 * scripts/check-local-headers.sh: Accept a host triplet in the
48739 path matched by the exclude regexp.
48740
48741 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
48742 definition.
48743 * sysdeps/powerpc/powerpc32/dl-machine.h
48744 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
48745 * sysdeps/s390/s390-32/dl-machine.h
48746 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48747 * sysdeps/sparc/sparc32/dl-machine.h
48748 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48749 * sysdeps/sparc/sparc64/dl-machine.h
48750 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
48751
48752 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
48753 lazy binding.
48754 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
48755 undefined symbol errors.
48756
48757 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
48758 DT_NEEDED entries.
48759
48760 2012-04-05 Michael Matz <matz@suse.de>
48761
48762 [BZ #13592]
48763 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
48764
48765 2012-04-05 Andreas Jaeger <aj@suse.de>
48766
48767 [BZ #13908]
48768 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
48769 comment.
48770
48771 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48772
48773 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
48774 which ROUND is no valid rounding mode.
48775
48776 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48777
48778 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
48779 read again.
48780 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
48781
48782 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48783
48784 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
48785 an exception using FPU order intentionally.
48786
48787 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
48788
48789 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
48790 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
48791 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
48792 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
48793
48794 2012-04-05 Simon Josefsson <simon@josefsson.org>
48795
48796 [BZ #12340]
48797 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
48798 EINVAL when BUFLEN is too smal.
48799
48800 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
48801
48802 [BZ #13553]
48803 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
48804 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
48805
48806 2012-04-03 Andreas Jaeger <aj@suse.de>
48807
48808 [BZ #13938]
48809 * manual/setjmp.texi (System V contexts): Fix sentence.
48810
48811 [BZ #13926]
48812 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
48813 New macro for this case.
48814 [!__GNUC__] (__bswap_64): New inline function for this case.
48815 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48816 * bits/byteswap.h: Likewise.
48817 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
48818 ull, guard with __GLIBC_HAVE_LONG_LONG.
48819
48820 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
48821 __GLIBC_HAVE_LONG_LONG.
48822
48823 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
48824 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
48825
48826 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48827
48828 [BZ #13691]
48829 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
48830 inptr and inend, rather than using last_ch.
48831
48832 2012-04-02 David S. Miller <davem@davemloft.net>
48833
48834 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
48835 * stdio-common/printf-parse.h (read_int): Change return type to
48836 'int', return -1 on INT_MAX overflow.
48837 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
48838 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
48839 overflows INT_MAX. Check for overflow of in-format-string precision
48840 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
48841 SIZE_MAX not INT_MAX for integer overflow test.
48842 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
48843 skip the construct in the format string but do not record anything.
48844 * stdio-common/bug22.c: Adjust to test both width/prevision
48845 INT_MAX overflow as well as total length INT_MAX overflow. Check
48846 explicitly for proper errno values.
48847
48848 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
48849
48850 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
48851 CHAR_MAX.
48852 * string/test-strcmp.c [! WIDE]: Likewise.
48853 * time/tst-mktime2.c: Likewise for INT_MAX.
48854 * string/test-string.h: #include <sys/param.h> for MIN.
48855
48856 * csu/init-first.c (__libc_init_first): Call __ctype_init.
48857 * sysdeps/i386/init-first.c (init): Likewise.
48858 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
48859 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
48860 * sysdeps/sh/init-first.c (init): Likewise.
48861
48862 2012-04-01 Ulrich Drepper <drepper@gmail.com>
48863
48864 * po/ru.po: Update from translation team.
48865 * po/vi.po: Likewise.
48866
48867 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
48868
48869 * resolv/nss_dns/dns-host.c: Merge copyright years.
48870
48871 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48872
48873 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
48874 Optimize memcpy with prefetch if
48875 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
48876 src, dst pointers have unequal 16 byte alignments.
48877
48878 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
48879
48880 [BZ #13928]
48881 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
48882 from a CNAME entry and return the minimum ttl for the query.
48883 (gaih_getanswer_slice): Likewise.
48884
48885 2012-03-30 Jeff Law <law@redhat.com>
48886
48887 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
48888 due to long keys.
48889 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
48890 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
48891
48892 * resolv/nss_dns/dns-host.c: Update copyright year.
48893
48894 2012-03-30 Ulrich Drepper <drepper@gmail.com>
48895
48896 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
48897 requests to save a system call. Fix check that all bytes are sent.
48898
48899 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
48900 comments for sendmmsg.
48901
48902 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
48903
48904 [BZ #13691]
48905 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
48906 with only 1 character between 0x0041 and 0x01b0.
48907 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
48908 * wcsmbs/tst-mbsnrtowcs.c: New file.
48909
48910 2012-03-29 David S. Miller <davem@davemloft.net>
48911
48912 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
48913 small copies by hand.
48914
48915 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
48916
48917 [BZ #13761]
48918 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
48919 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
48920 group memberships.
48921
48922 2012-03-28 David S. Miller <davem@davemloft.net>
48923
48924 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
48925 that branches into memcpy.
48926 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48927 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
48928 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
48929 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
48930 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
48931 bits.
48932 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
48933 implementation too.
48934 * sysdeps/sparc/mempcpy.S: New file.
48935
48936 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
48937 the IFUNC routine in the libc case.
48938 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48939
48940 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
48941 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
48942 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
48943 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
48944 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
48945 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
48946 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
48947 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
48948
48949 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
48950 loop to 256 bytes instead of 64 bytes and fix test signedness.
48951
48952 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
48953 * sysdeps/sparc/sparc32/Makefile: rather than here...
48954 * sysdeps/sparc/sparc64/Makefile: and here.
48955
48956 2012-03-28 Ulrich Drepper <drepper@gmail.com>
48957
48958 * malloc/mallocbug.c: Avoid warnings about unused variables.
48959
48960 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
48961
48962 [BZ #13760]
48963 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
48964 in the right place. Discard and retry query if response is
48965 larger than input buffer size.
48966
48967 2012-03-28 Joseph Myers <joseph@codesourcery.com>
48968
48969 [BZ #369]
48970 [BZ #2678]
48971 [BZ #3866]
48972 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
48973 x for large integer exponent.
48974 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48975 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
48976 sign of result as needed afterwards.
48977 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48978 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
48979 result for underflowing pow the same as for overflow.
48980 (__kernel_standard_l): Handle powl overflow and underflow here
48981 rather than calling __kernel_standard.
48982 * math/libm-test.inc (pow_test): Add more tests.
48983
48984 [BZ #3868]
48985 [BZ #13879]
48986 [BZ #13910]
48987 [BZ #13911]
48988 [BZ #13912]
48989 [BZ #13913]
48990 [BZ #13915]
48991 [BZ #13916]
48992 [BZ #13917]
48993 [BZ #13918]
48994 [BZ #13919]
48995 [BZ #13920]
48996 [BZ #13921]
48997 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
48998 * sysdeps/ieee754/k_standard.c: Include <float.h>.
48999 (__kernel_standard_l): New function.
49000 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
49001 __kernel_standard.
49002 * math/w_acosl.c (__acosl): Likewise.
49003 * math/w_asinl.c (__asinl): Likewise.
49004 * math/w_atan2l.c (__atan2l): Likewise.
49005 * math/w_atanhl.c (__atanhl): Likewise.
49006 * math/w_coshl.c (__coshl): Likewise.
49007 * math/w_exp10l.c (__exp10l): Likewise.
49008 * math/w_exp2l.c (__exp2l): Likewise.
49009 * math/w_fmodl.c (__fmodl): Likewise.
49010 * math/w_hypotl.c (__hypotl): Likewise.
49011 * math/w_j0l.c (__j0l, __y0l): Likewise.
49012 * math/w_j1l.c (__j1l, __y1l): Likewise.
49013 * math/w_jnl.c (__jnl, __ynl): Likewise.
49014 * math/w_lgammal.c (__lgammal): Likewise.
49015 * math/w_log10l.c (__log10l): Likewise.
49016 * math/w_log2l.c (__log2l): Likewise.
49017 * math/w_logl.c (__logl): Likewise.
49018 * math/w_powl.c (__powl): Likewise.
49019 * math/w_remainderl.c (__remainderl): Likewise.
49020 * math/w_scalbl.c (sysv_scalbl): Likewise.
49021 * math/w_sinhl.c (__sinhl): Likewise.
49022 * math/w_sqrtl.c (__sqrtl): Likewise.
49023 * math/w_tgammal.c (__tgammal): Likewise.
49024 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
49025 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
49026 * math/libm-test.inc (acos_test): Add more tests.
49027 (acosh_test): Likewise.
49028 (asin_test): Likewise.
49029 (atanh_test): Likewise.
49030 (exp_test): Likewise.
49031 (exp10_test): Likewise.
49032 (exp2_test): Likewise.
49033 (expm1_test): Likewise.
49034 (lgamma_test): Likewise.
49035 (log_test): Likewise.
49036 (log10_test): Likewise.
49037 (log1p_test): Likewise.
49038 (log2_test): Likewise.
49039 (pow_test): Do not allow some spurious overflow exceptions.
49040 (sqrt_test): Add more tests.
49041 (tgamma_test): Likewise.
49042 (y0_test): Likewise.
49043 (y1_test): Likewise.
49044 (yn_test): Likewise.
49045
49046 2012-03-27 Anton Blanchard <anton@samba.org>
49047
49048 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
49049 MAP_HUGETLB.
49050 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49051 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49052 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49053
49054 2012-03-27 David S. Miller <davem@davemloft.net>
49055
49056 * conform/Makefile: Run run-conformtest.sh using $(BASH).
49057
49058 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
49059 have-as-vis3 check.
49060
49061 2012-03-27 Andreas Jaeger <aj@suse.de>
49062
49063 * sysdeps/x86_64/elf/configure.in: Moved to ...
49064 * sysdeps/x86_64/configure.in: ... here.
49065 * sysdeps/x86_64/elf/start.S: Moved to ...
49066 * sysdeps/x86_64/start.S: ... here.
49067 * sysdeps/x86_64/elf/configure: Delete.
49068
49069 * sysdeps/x86_64/configure.in: Merge contents from
49070 sysdeps/i386/configure.in (without i686 check).
49071
49072 * sysdeps/i386/elf/Versions: Merge into ...
49073 * sysdeps/i386/Versions: ... this.
49074 * sysdeps/i386/elf/Versions: Delete file.
49075 * sysdeps/i386/elf/start.S: Moved to ...
49076 * sysdeps/i386/start.S: ...here.
49077 * sysdeps/i386/elf/configure.in: Merge into...
49078 * sysdeps/i386/configure.in: ...here.
49079 * sysdeps/i386/elf/configure.in: Delete file.
49080 * sysdeps/i386/elf/configure: Delete file.
49081
49082 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
49083 * debug/backtracesyms.c: ... here.
49084 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
49085 * debug/backtracesymsfd.c: ... here.
49086 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
49087 * sysdeps/generic/ifunc-sel.h: ... here.
49088
49089 * sysdeps/unix/i386/start.c: Delete file.
49090 * sysdeps/unix/sparc/start.c: Delete file.
49091 * sysdeps/unix/start.c: Delete file.
49092
49093 * sysdeps/sh/elf/configure.in: Moved to ...
49094 * sysdeps/sh/configure.in: ... here.
49095 * sysdeps/sh/elf/start.S: Moved to ...
49096 * sysdeps/sh/start.S: ... here.
49097 * sysdeps/sh/elf/configure: Delete file.
49098
49099 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
49100 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
49101 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
49102 * sysdeps/powerpc/powerpc64/entry.h: ... here.
49103 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
49104 * sysdeps/powerpc/powerpc64/start.S: here.
49105 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
49106 * sysdeps/powerpc/powerpc64/Makefile: ... this.
49107 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
49108 * sysdeps/powerpc/powerpc64/configure.in: ... this.
49109 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
49110
49111 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
49112 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
49113 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
49114 * sysdeps/powerpc/powerpc32/start.S: ... here.
49115 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
49116 * sysdeps/powerpc/powerpc32/configure.in: ... this.
49117 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
49118
49119 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
49120 * sysdeps/powerpc/ifunc-sel.h: ... here.
49121 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
49122 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
49123
49124 * sysdeps/sparc/elf/configure.in: Moved to ...
49125 * sysdeps/sparc/configure.in: ... here.
49126 * sysdeps/sparc/elf/configure: Delete file.
49127 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
49128 * sysdeps/sparc/sparc32/start.S: ... here.
49129 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
49130 * sysdeps/sparc/sparc64/start.S: ... here.
49131 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
49132 * sysdeps/sparc/sparc32/Makefile: ... this.
49133 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
49134 * sysdeps/sparc/sparc64/Makefile: ... this.
49135
49136 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
49137 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
49138 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
49139 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
49140 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
49141 * sysdeps/s390/s390-32/setjmp.S: ... here.
49142 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
49143 * sysdeps/s390/s390-32/configure.in: ... here.
49144 * sysdeps/s390/s390-32/elf/configure: Delete file.
49145 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
49146 * sysdeps/s390/s390-32/start.S: ... here.
49147
49148 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
49149 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
49150 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
49151 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
49152 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
49153 * sysdeps/s390/s390-64/setjmp.S: ... here.
49154 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
49155 * sysdeps/s390/s390-64/configure.in: ... here
49156 * sysdeps/s390/s390-64/elf/configure: Delete file.
49157 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
49158 * sysdeps/s390/s390-64/start.S: ... here.
49159 * sysdeps/s390/s390-64/elf/configure: Delete.
49160
49161 * configure.in: Remove support for elf directories in sysdeps.
49162
49163 * configure: Regenerated.
49164 * sysdeps/i386/configure: Regenerated.
49165 * sysdeps/powerpc/powerpc32/configure: Regenerated.
49166 * sysdeps/powerpc/powerpc64/configure: Regenerated.
49167 * sysdeps/s390/s390-32/configure: Regenerated.
49168 * sysdeps/s390/s390-64/configure: Regenerated.
49169 * sysdeps/sh/configure: Regenerated.
49170 * sysdeps/sparc/configure: Regenerated.
49171 * sysdeps/x86_64/configure: Regenerated.
49172
49173 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
49174
49175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49176
49177 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
49178 denormal result into account.
49179
49180 2012-03-25 Roland McGrath <roland@hack.frob.com>
49181
49182 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
49183 Reported by Allan McRae <allan@archlinux.org>.
49184
49185 2012-03-23 Jeff Law <law@redhat.com>
49186
49187 * nss/getnssent.c (__nss_getent): Fix typo.
49188
49189 2012-03-23 David S. Miller <davem@davemloft.net>
49190
49191 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49192
49193 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
49194
49195 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
49196 to pad to uint64_t for each field.
49197 (dl_tls_index): Replace unsigned long with uint64_t.
49198
49199 2012-03-23 Daniel Jacobowitz <dmj@google.com>
49200 Paul Pluzhnikov <ppluzhnikov@google.com>
49201
49202 [BZ #6528]
49203 * grp/Makefile (otherlibs): Don't set it.
49204 * inet/Makefile (otherlibs): Likewise.
49205 * login/Makefile (otherlibs): Likewise.
49206 * nscd/Makefile (otherlibs): Likewise.
49207 * posix/Makefile (otherlibs): Likewise.
49208 * pwd/Makefile (otherlibs): Likewise.
49209 * rt/Makefile (otherlibs): Likewise.
49210 * sunrpc/Makefile (otherlibs): Likewise.
49211 * nss/Makefile (otherlibs): Likewise.
49212 Add libnss_files to routines and static-only-routines.
49213 ($(objpfx)getent): Remove rule.
49214 * resolv/Makefile: Add libnss_dns and libresolv to routines and
49215 static-only-routines.
49216
49217 2012-03-22 Joseph Myers <joseph@codesourcery.com>
49218
49219 [BZ #13892]
49220 * math/s_cexp.c: Include <float.h>.
49221 (__cexp): Handle exp result overflowing not necessarily
49222 overflowing both real and imaginary parts of result.
49223 * math/s_cexpf.c: Likewise.
49224 * math/s_cexpl.c: Likewise.
49225 * math/libm-test.inc (cexp_test): Add more tests.
49226 * sysdeps/i386/fpu/libm-test-ulps: Update.
49227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49228
49229 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49230
49231 * include/link.h (ELFW): New macro.
49232 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
49233 Replace ELF64_R_TYPE with ELFW(R_TYPE).
49234
49235 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49236
49237 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
49238 with uint64_t.
49239
49240 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49241
49242 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
49243 declaration.
49244 (struct La_x32_retval): Likewise.
49245
49246 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
49247
49248 * sysdeps/x86_64/preconfigure.in: New file.
49249 * sysdeps/x86_64/preconfigure: New generated file.
49250
49251 2012-03-22 Joseph Myers <joseph@codesourcery.com>
49252
49253 [BZ #13824]
49254 * math/e_exp2l.c: Include <float.h>.
49255 (__ieee754_exp2l): Handle overflow and underflow cases
49256 separately. Only pass fractional part of argument to
49257 __ieee754_expl.
49258 * math/libm-test.inc (exp2_test): Add more tests.
49259
49260 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
49261 negating x to take absolute value.
49262 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
49263 Likewise.
49264 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49265 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
49266 Likewise.
49267 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
49268 computing low part if x was negated.
49269 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49270
49271 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49272
49273 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
49274 la_x32_gnu_pltexit.
49275 (pltexit): Cast int_retval to ptrdiff_t.
49276 * elf/tst-auditmod3b.c: Likewise.
49277 * elf/tst-auditmod4b.c: Likewise.
49278 * elf/tst-auditmod5b.c: Likewise.
49279 * elf/tst-auditmod6b.c: Likewise.
49280 * elf/tst-auditmod6c.c: Likewise.
49281 * elf/tst-auditmod7b.c: Likewise.
49282
49283 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
49284 and x32_gnu_pltexit.
49285
49286 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
49287 __ELF_NATIVE_CLASS.
49288 (La_x32_regs): New macro.
49289 (La_x32_retval): Likewise.
49290 (la_x32_gnu_pltenter): New function prototype.
49291 (la_x32_gnu_pltexit): Likewise.
49292
49293 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
49294
49295 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
49296 exponent.
49297
49298 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49299
49300 * configure.in (libc_cv_cc_nofma): Check for option to disable
49301 generation of FMA instructions.
49302 * configure: Regenerate.
49303 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
49304 * sysdeps/ieee754/dbl-64/Makefile: New file.
49305 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
49306 Remove brandred-fma4.
49307 (CFLAGS-brandred-fma4.c): Remove.
49308 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
49309 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
49310 define.
49311 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
49312 define.
49313
49314 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49315
49316 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
49317 LLONG_MAX != LONG_MAX.
49318 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49319 (_fitoa_word): Likewise.
49320 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
49321 LLONG_MAX != LONG_MAX.
49322 * stdio-common/_itowa.h: Include <_itoa.h>.
49323 (_itowa_word): Use _ITOA_WORD_TYPE on value.
49324 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
49325 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
49326 only if not defined.
49327 (_ITOA_WORD_TYPE): Likewise.
49328 (_itoa_word): Use _ITOA_WORD_TYPE on value.
49329 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
49330
49331 2012-03-21 David S. Miller <davem@davemloft.net>
49332
49333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49334
49335 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
49336
49337 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
49338 of x86_64 when setting libc_cv_slibdir, libdir and
49339 libc_cv_localedir.
49340 * sysdeps/unix/sysv/linux/configure: Regenerated.
49341
49342 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49343
49344 * manual/lang.texi (Old Varargs): Remove section.
49345 (How Variadic): Update menu.
49346 (va_start): Do not mention varargs.h.
49347
49348 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49349 Joseph Myers <joseph@codesourcery.com>
49350
49351 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
49352 link test.
49353 * configure: Regenerated.
49354
49355 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
49356
49357 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
49358 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
49359 conformtest.pl
49360
49361 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49362
49363 * NOTES: Remove.
49364 * Makefile (files-for-dist): Remove NOTES.
49365 (NOTES): Remove rule.
49366 * README: Don't refer to NOTES.
49367 * manual/creature.texi: Don't include macros.texi.
49368 * manual/intro.texi (creature.texi): Remove comment referring to
49369 NOTES.
49370
49371 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
49372 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
49373 * configure: Regenerated.
49374 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
49375 LIBC_TRY_CC_OPTION.
49376 (libc_cv_as_i686): Likewise.
49377 (libc_cv_cc_avx): Likewise.
49378 (libc_cv_cc_sse2avx): Likewise.
49379 (libc_cv_cc_fma4): Likewise.
49380 (libc_cv_cc_novzeroupper): Likewise.
49381 * sysdeps/i386/configure: Regenerated.
49382
49383 [BZ #13883]
49384 * sysdeps/i386/fpu/s_cexp.S: Remove.
49385 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49386 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49387 * math/libm-test.inc (cexp_test): Add more tests.
49388 * sysdeps/i386/fpu/libm-test-ulps: Update.
49389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49390
49391 2012-03-21 Allan McRae <allan@archlinux.org>
49392
49393 * timezone/Makefile: Do not install iso3166.tab and zone.tab
49394
49395 2012-03-21 Joseph Myers <joseph@codesourcery.com>
49396
49397 [BZ #13871]
49398 * math/w_exp2.c: Do not include <float.h>.
49399 (o_threshold, u_threshold): Remove.
49400 (__exp2): Calculate result before checking finiteness and calling
49401 __kernel_standard.
49402 * math/w_exp2f.c: Likewise.
49403 * math/w_exp2l.c: Likewise.
49404 * math/libm-test.inc (exp2_test): Require overflow exception for
49405 1e6 input.
49406
49407 [BZ #3866]
49408 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
49409 range of signed 64-bit integers before using fistpll. Remove
49410 checks for whether integers fit in mantissa bits.
49411 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
49412 the range of signed 32-bit integers before using fistpl. Remove
49413 checks for whether integers fit in mantissa bits.
49414 * sysdeps/i386/fpu/e_powl.S (p64): New object.
49415 (__ieee754_powl): Test for y outside the range of signed 64-bit
49416 integers before using fistpll. Reduce 64-bit values to 63-bit
49417 ones as needed.
49418 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
49419 divide-by-zero is raised for zero to large negative powers.
49420 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
49421 (__ieee754_powl): Test for y outside the range of signed 64-bit
49422 integers before using fistpll. Reduce 64-bit values to 63-bit
49423 ones as needed.
49424 * math/libm-test.inc (pow_test): Add more tests.
49425
49426 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49427
49428 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
49429 <stdio-common/_itoa.h>.
49430 * debug/segfault.c: Likewise.
49431 * elf/dl-cache.c: Likewise.
49432 * elf/dl-minimal.c: Likewise.
49433 * elf/dl-misc.c: Likewise.
49434 * elf/dl-sysdep.c: Likewise.
49435 * elf/dl-version.c: Likewise.
49436 * elf/rtld.c: Likewise.
49437 * hurd/hurdsock.c: Likewise.
49438 * hurd/lookup-retry.c: Likewise.
49439 * malloc/malloc.c: Likewise.
49440 * malloc/mtrace.c: Likewise.
49441 * nscd/nscd_getgr_r.c: Likewise.
49442 * nscd/nscd_getpw_r.c: Likewise.
49443 * nscd/nscd_getserv_r.c: Likewise.
49444 * posix/getopt_init.c: Likewise.
49445 * posix/wordexp.c: Likewise.
49446 * stdio-common/_itoa.c: Likewise.
49447 * stdio-common/printf_fphex.c: Likewise.
49448 * stdio-common/vfprintf.c: Likewise.
49449 * string/_strerror.c: Likewise.
49450 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
49451 * sysdeps/i386/i686/hp-timing.h: Likewise.
49452 * sysdeps/mach/_strerror.c: Likewise.
49453 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
49454 * sysdeps/mach/hurd/sethostid.c: Likewise.
49455 * sysdeps/mach/hurd/xmknodat.c: Likewise.
49456 * sysdeps/mach/xpg-strerror.c: Likewise.
49457 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
49458 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
49459 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
49460 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
49461 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
49462 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
49463 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
49464 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
49465 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
49466 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
49467 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
49468 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49469 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
49470 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
49471 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
49472 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
49473 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
49474 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
49475 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49476 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49477 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
49478
49479 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
49480
49481 * stdio-common/_itoa.h: Moved to ...
49482 * sysdeps/generic/_itoa.h: Here.
49483
49484 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
49485
49486 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
49487 instead of "_itoa.h" and "_itowa.h".
49488 * stdio-common/vfprintf.: Likewise.
49489
49490 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49491
49492 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
49493 <bits/wordsize.h>.
49494 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
49495 (__signbit): Likwise.
49496 (llrintf): Likwise.
49497 (llrint): Likwise.
49498
49499 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
49500
49501 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
49502 __WORDSIZE != 64.
49503
49504 2012-03-20 Joseph Myers <joseph@codesourcery.com>
49505
49506 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
49507 OVERFLOW_EXCEPTION_OK.
49508 * math/libm-test.inc ("Philosophy"): Update comment about
49509 exception testing.
49510 (OVERFLOW_EXCEPTION): Define.
49511 (OVERFLOW_EXCEPTION_OK): Likewise.
49512 (INVALID_EXCEPTION_OK): Renumber.
49513 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49514 (IGNORE_ZERO_INF_SIGN): Likewise.
49515 (test_exceptions): Handle FE_OVERFLOW.
49516 (exp10_test): Expect overflow exceptions.
49517 (exp2_test): Likewise.
49518 (expm1_test): Likewise.
49519 (nextafter_test): Likewise.
49520 (pow_test): Likewise.
49521 (scalbn_test): Likewise.
49522 (scalbln_test): Likewise.
49523
49524 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49525
49526 * sysdeps/x86_64/bits/atomic.h
49527 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
49528 64bit integer.
49529 (atomic_exchange_acq): Likewise.
49530 (__arch_exchange_and_add_body): Likewise.
49531 (__arch_add_body): Likewise.
49532 (atomic_add_negative): Likewise.
49533 (atomic_add_zero): Likewise.
49534
49535 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49536
49537 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
49538 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
49539
49540 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49541
49542 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
49543 Check __x86_64__ instead of __WORDSIZE.
49544
49545 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49546
49547 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
49548
49549 2012-03-19 David S. Miller <davem@davemloft.net>
49550
49551 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49552
49553 * sysdeps/sparc/fpu/fenv_private.h: New file.
49554 * sysdeps/sparc/fpu/math_private.h: Use it.
49555 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
49556 Remove.
49557 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
49558 (libc_feholdexcept_setroundl): Remove.
49559 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
49560 Remove.
49561 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
49562 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
49563
49564 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49565
49566 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
49567 int64_t instead of long int.
49568 (INSERT_WORDS64): Likwise.
49569
49570 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
49571
49572 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
49573 _Unwind_GetCFA return to _Unwind_Ptr first.
49574
49575 2012-03-19 Joseph Myers <joseph@codesourcery.com>
49576
49577 [BZ #13629]
49578 * math/s_clog.c: Include <float.h>.
49579 (__clog): Scale large or subnormal inputs.
49580 * math/s_clogf.c: Likewise.
49581 * math/s_clogl.c: Likewise.
49582 * math/s_clog10.c: Include <float.h>.
49583 (M_LOG10_2): Define.
49584 (__clog10): Scale large or subnormal inputs.
49585 * math/s_clog10f.c: Likewise.
49586 * math/s_clog10l.c: Likewise.
49587 * math/libm-test.inc (clog_test): Add more tests.
49588 (clog10_test): Likewise.
49589 * sysdeps/i386/fpu/libm-test-ulps: Update.
49590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49591
49592 [BZ #11451]
49593 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
49594 x and y.
49595 * math/libm-test.inc (atan2_test): Add another test.
49596
49597 * Makerules (common-objdir-compile): Remove.
49598 * sysdeps/unix/Makefile (config-generated): Do not add
49599 $(unix-generated) to variable.
49600 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
49601 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
49602 Remove rule.
49603 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
49604 Likewise.
49605 [generic bits/local_lim.h] (before-compile): Do not append to
49606 variable.
49607 [generic bits/local_lim.h] (common-generated): Likewise.
49608 [generic sys/param.h] (before-compile): Do not append to variable.
49609 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
49610 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
49611 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
49612 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
49613 include.
49614 [generic sys/param.h] (sys/param.h-includes): Remove variable.
49615 [generic sys/param.h] (sys/param.h-includes): Remove rule.
49616 [generic sys/param.h] ($(addprefix
49617 $(common-objpfx),$(sys/param.h-includes))): Likewise.
49618 [generic sys/param.h] (common-generated): Do not append to
49619 variable.
49620 [generic sys/param.h] (sysdep_headers): Likewise.
49621 [generic bits/errno.h] (before-compile): Do not append to
49622 variable.
49623 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
49624 rule.
49625 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
49626 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
49627 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
49628 [generic bits/errno.h] (common-generated): Do not append to
49629 variable.
49630 [generic bits/ioctls.h] (before-compile): Do not append to
49631 variable.
49632 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
49633 rule.
49634 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
49635 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
49636 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
49637 rule.
49638 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
49639 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
49640 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
49641 [generic bits/ioctls.h] (common-generated): Do not append to
49642 variable.
49643 [generic sys/syscall.h] (syscall.h): Remove variable.
49644 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
49645 rule.
49646 [generic sys/syscall.h] (before-compile): Do not append to
49647 variable.
49648 [generic sys/syscall.h] (common-generated): Likewise.
49649 * sysdeps/unix/errnos-tmpl.c: Remove file.
49650 * sysdeps/unix/errnos.awk: Likewise.
49651 * sysdeps/unix/ioctls-tmpl.c: Likewise.
49652 * sysdeps/unix/ioctls.awk: Likewise.
49653 * sysdeps/unix/mk-local_lim.c: Likewise.
49654 * sysdeps/unix/snarf-ioctls: Likewise.
49655
49656 2012-03-19 Richard Henderson <rth@twiddle.net>
49657
49658 * sysdeps/i386/fpu/fenv_private.h: New file.
49659 * sysdeps/i386/fpu/math_private.h: Use it.
49660 (math_opt_barrier, math_force_eval): Remove.
49661 (libc_feholdexcept_setround_53bit): Remove.
49662 (libc_feupdateenv_53bit): Remove.
49663 * sysdeps/x86_64/fpu/math_private.h: Likewise.
49664 (math_opt_barrier, math_force_eval): Remove.
49665 (libc_feholdexcept): Remove.
49666 (libc_feholdexcept_setround): Remove.
49667 (libc_fetestexcept, libc_fesetenv): Remove.
49668 (libc_feupdateenv_test): Remove.
49669 (libc_feupdateenv, libc_feholdsetround): Remove.
49670 (libc_feresetround): Remove.
49671
49672 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
49673 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
49674
49675 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
49676 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
49677 (libc_feupdateenv_testl): New.
49678 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
49679 (libc_feupdateenv_testf): New.
49680 (libc_feupdateenv): Use libc_feupdateenv_test.
49681 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
49682 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
49683
49684 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
49685 (libc_feholdsetroundf, libc_feholdsetroundl): New.
49686 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
49687 (libc_feresetround_noex): New.
49688 (libc_feresetround_noexf): New.
49689 (libc_feresetround_noexl): New.
49690 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
49691 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
49692 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
49693 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
49694 SET_RESTORE_ROUND.
49695 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
49696 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
49697 (__cos): Likewise.
49698 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
49699 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
49700 SET_RESTORE_ROUND_NOEX.
49701 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
49702 SET_RESTORE_ROUND_NOEXF.
49703 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
49704 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
49705 (libc_feholdsetroundf): New.
49706 (libc_feresetround, libc_feresetroundf): New.
49707
49708 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
49709 (libc_feholdexcept_setround_53bit): Convert from macro to function.
49710 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
49711
49712 * sysdeps/generic/math_private.h: Include <fenv.h>.
49713 (default_libc_feholdexcept): New.
49714 (default_libc_feholdexcept_setround): New.
49715 (default_libc_fesetenv, default_libc_feupdateenv): New.
49716 (libc_feholdexcept): Only define if undefined.
49717 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
49718 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
49719 (libc_feholdexcept_setroundl): Likewise.
49720 (libc_feholdexcept_setround_53bit): Likewise.
49721 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
49722 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
49723 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
49724 (libc_feupdateenv_53bit): Likewise.
49725 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
49726 (libc_feholdexcept): Convert from macro to inline function.
49727 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
49728 (libc_fesetenv, libc_feupdateenv): Likewise.
49729
49730 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
49731 not previously defined.
49732 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
49733 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
49734 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
49735 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
49736 * sysdeps/ieee754/flt-32/math_private.h: New file.
49737 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
49738 math_private.h below SET_FLOAT_WORD.
49739 (__isnan, __isinf_ns, __finite): Remove.
49740 (__isnanf, __isinf_nsf, __finitef): Remove.
49741
49742 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
49743
49744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49745
49746 2012-03-17 David S. Miller <davem@davemloft.net>
49747
49748 [BZ #6471]
49749 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
49750 for 2.16.
49751
49752 2012-03-16 David S. Miller <davem@davemloft.net>
49753
49754 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
49755 warnings.
49756
49757 [BZ #6471]
49758 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
49759 properly.
49760 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
49761 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
49762 sysdep_routines when subdir is sysvipc.
49763 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
49764 __getshmlba helper.
49765
49766 * sysdeps/sparc/fpu/libm-test/ulps: Update.
49767
49768 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49769
49770 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
49771 [__LP64__].
49772
49773 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49774
49775 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
49776 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
49777 (__lround): Renamed to ...
49778 (__llround): This. Replace long int with long long int.
49779 Define lround functions as aliases of llround functions.
49780 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
49781
49782 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49783
49784 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
49785 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
49786 adresses to uintptr_t. Replace "long int" and "unsigned long
49787 int" with "greg_t" on va_arg.
49788
49789 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49790
49791 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
49792 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
49793
49794 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
49795 Move e_machine check before EI_CLASS check. Handle x32
49796 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
49797 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
49798 SKIP_EM_IA_64 and include
49799 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
49800
49801 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
49802 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
49803 (add_system_dir): New macro.
49804
49805 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
49806 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
49807
49808 2012-03-16 Joseph Myers <joseph@codesourcery.com>
49809
49810 [BZ #2551]
49811 [BZ #2552]
49812 [BZ #2553]
49813 [BZ #2554]
49814 [BZ #2562]
49815 [BZ #2563]
49816 [BZ #2565]
49817 [BZ #2566]
49818 [BZ #2576]
49819 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
49820 (y0): Likewise.
49821 * math/w_j0f.c (j0f): Likewise.
49822 (y0f): Likewise.
49823 * math/w_j0l.c (__j0l): Likewise.
49824 (__y0l): Likewise.
49825 * math/w_j1.c (j1): Likewise.
49826 (y1): Likewise.
49827 * math/w_j1f.c (j1f): Likewise.
49828 (y1f): Likewise.
49829 * math/w_j1l.c (__j1l): Likewise.
49830 (__y1l): Likewise.
49831 * math/w_jn.c (jn): Likewise.
49832 (yn): Likewise.
49833 * math/w_jnf.c (jnf): Likewise.
49834 (ynf): Likewise.
49835 * math/w_jnl.c (__jnl): Likewise.
49836 (__ynl): Likewise.
49837 * math/libm-test.inc (j0_test): Add more tests.
49838 (j1_test): Likewise.
49839 (jn_test): Likewise. Add trailing semicolon to existing test.
49840 (y0_test): Likewise.
49841 (y1_test): Likewise.
49842 * sysdeps/i386/fpu/libm-test-ulps: Update.
49843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49844
49845 [BZ #13851]
49846 [BZ #13854]
49847 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
49848 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
49849 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
49850 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
49851 (__tanl): Set errno for infinite argument.
49852 * sysdeps/i386/fpu/mptan.c: Remove.
49853 * sysdeps/i386/fpu/s_tan.S: Likewise.
49854 * sysdeps/i386/fpu/s_tanl.S: Likewise.
49855 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
49856 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
49857 * math/libm-test.inc (tan_test): Add more tests and enable more
49858 tests for double and long double.
49859 * sysdeps/i386/fpu/libm-test-ulps: Update.
49860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49861
49862 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
49863
49864 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
49865 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
49866
49867 2012-03-16 Roland McGrath <roland@hack.frob.com>
49868
49869 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
49870 * configure.in: Use it for both main tree and add-ons.
49871 * configure: Regenerated.
49872
49873 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
49874
49875 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
49876
49877 2012-03-16 Joseph Myers <joseph@codesourcery.com>
49878
49879 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
49880 in comment.
49881
49882 [BZ #13851]
49883 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
49884 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
49885 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
49886 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
49887 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
49888 infinite argument.
49889 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
49890 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
49891 != 0 for prec == 2.
49892 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
49893 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
49894 * sysdeps/i386/fpu/s_cosl.S: Likewise.
49895 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
49896 * sysdeps/i386/fpu/s_sinl.S: Likewise.
49897 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
49898 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
49899 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
49900 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
49901 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
49902 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
49903 * math/libm-test.inc (cos_test): Add more tests and enable more
49904 tests for long double.
49905 (sin_test): Likewise.
49906 (sincos_test): Likewise.
49907 * sysdeps/i386/fpu/libm-test-ulps: Update.
49908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49909
49910 2012-03-16 David S. Miller <davem@davemloft.net>
49911
49912 * sysdeps/sparc/fpu/math_private.h: New file.
49913
49914 2012-03-15 David S. Miller <davem@davemloft.net>
49915
49916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
49917 file.
49918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
49919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
49920 file.
49921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
49922 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
49923 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
49924 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
49925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
49926 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
49927 sysdep routines.
49928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
49929
49930 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
49931 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
49932
49933 * sysdeps/sparc/sparc-ifunc.h: New file.
49934 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
49935 sparc-ifunc.h
49936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
49937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
49938 Likewise.
49939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
49940 Likewise.
49941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
49942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
49943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49944 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
49945 Likewise.
49946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
49948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
49950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
49951 Likewise.
49952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
49953 Likewise.
49954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
49956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
49957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
49958 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
49959 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
49960 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
49961 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
49962 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
49963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
49964 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
49965 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
49966 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
49967 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
49968 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
49969 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
49970 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
49971 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
49972 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
49973 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
49974 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
49975 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
49976 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
49977 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
49978
49979 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
49980
49981 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
49982 scaling.
49983 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49984
49985 2012-03-15 Andreas Jaeger <aj@suse.de>
49986
49987 [BZ #13852]
49988 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
49989 ieee754/flt-32 implementation for sin, cos and sincos.
49990 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
49991 * sysdeps/i386/fpu/s_cosf.S: Likewise.
49992 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
49993 * sysdeps/i386/fpu/s_sinf.S: Likewise.
49994 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
49995 ieee754/flt-32 implementation for tan.
49996
49997 * math/libm-test.inc (cos_test): Enable some large input tests for
49998 float as well
49999 (sin_test): Likewise.
50000 (sincos_test): Likewise.
50001 (tan_test): Add tests for large input.
50002
50003 * sysdeps/i386/fpu/libm-test-ulps: Update.
50004
50005 2012-03-15 Andreas Jaeger <aj@suse.de>
50006
50007 [BZ #13658]
50008 * math/libm-test.inc (cos_test): Add more test cases.
50009 (sin_test): Likewise.
50010 (sincos_test): Likewise.
50011
50012 2012-03-15 Andreas Jaeger <aj@suse.de>
50013
50014 [BZ #13837]
50015 * math/libm-test.inc (cos_test): Add a test case for large input
50016 value.
50017 (sin_test): Likewise.
50018 (sincos_test): Likewise.
50019
50020 2012-03-15 Andreas Jaeger <aj@suse.de>
50021 Joseph Myers <joseph@codesourcery.com>
50022
50023 [BZ #13658]
50024 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
50025 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
50026 * sysdeps/i386/fpu/branred.c: Likewise.
50027 * sysdeps/i386/fpu/dosincos.c: Likewise.
50028 * sysdeps/i386/fpu/mpa.c: Likewise.
50029 * sysdeps/i386/fpu/s_cos.S: Likewise.
50030 * sysdeps/i386/fpu/s_sin.S: Likewise.
50031 * sysdeps/i386/fpu/s_sincos.S: Likewise.
50032 * sysdeps/i386/fpu/sincos32.c: Likewise.
50033
50034 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
50035 Define.
50036 (libc_feupdateenv_53bit): Define.
50037 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
50038 Define.
50039 (libc_feupdateenv_53bit): Define.
50040
50041 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
50042 53 bit (without extend i386 double precision).
50043
50044 * math/libm-test.inc (sincos_test): Add tests for large input.
50045 (sin): Likewise.
50046 (cos): Likewise.
50047
50048 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
50049
50050 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
50051
50052 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50053
50054 2012-03-15 David S. Miller <davem@davemloft.net>
50055
50056 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
50057 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
50058 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
50059 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
50060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
50061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
50062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
50063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
50064 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
50065 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
50066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
50067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
50068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
50069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
50070 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
50071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
50072 file.
50073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
50074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
50075 file.
50076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
50077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
50078 file.
50079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
50080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
50081 file.
50082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
50083 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
50084 fmin/fmax sysdep routines.
50085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50086
50087 2012-03-14 David S. Miller <davem@davemloft.net>
50088
50089 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
50090 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
50091 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
50092 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
50093 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
50094 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
50095 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
50096 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
50097 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
50098 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
50099 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
50100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
50101 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
50102 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
50103 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
50104 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
50105 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
50106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
50107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
50108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
50109 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
50110 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
50111 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
50112 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
50113 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
50114 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
50115 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
50116 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
50117 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
50118 routines.
50119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
50120 file.
50121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
50122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
50123 file.
50124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
50125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
50126 file.
50127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
50128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
50129 file.
50130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
50131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
50132 file.
50133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
50134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
50135 file.
50136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
50137 file.
50138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
50139 file.
50140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
50141 file.
50142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
50143 New file.
50144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
50145 file.
50146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
50147 file.
50148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
50149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
50150 file.
50151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
50152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
50153 file.
50154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
50155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
50156 file.
50157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
50158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
50159 VIS3 routines.
50160
50161 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50162 New file.
50163
50164 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50165
50166 * sysdeps/sparc/configure.in: New file.
50167 * sysdeps/sparc/configure: Generate.
50168 * configure.in (libc_cv_sparc_as_vis3): Substitute.
50169 * configure: Regenerate.
50170 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
50171 * config.make.in (have-as-vis3): New.
50172 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
50173 available use -Av9d instead of -Av9a.
50174 * sysdeps/sparc/sparc64/Makefile: Likewise.
50175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
50176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
50177 New file.
50178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
50179 file.
50180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
50181 New file.
50182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
50183 file.
50184 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
50185 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
50186 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
50187 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
50188 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
50189
50190 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
50191 fzeros/fnegs to load 0x80000000 into a float register instead of
50192 using the stack.
50193 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
50194
50195 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50196
50197 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50198 bits/syscall.h.
50199 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
50200 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
50201 ($(inst_includedir)/bits/syscall.h): Remove rule.
50202 ($(objpfx)bits/syscall.d): Include instead of
50203 $(objpfx)syscall-list.d.
50204 (generated): Change syscall-list.h and syscall-list.d to
50205 bits/syscall.h and bits/syscall.d.
50206
50207 2012-03-14 Roland McGrath <roland@hack.frob.com>
50208
50209 [BZ #13846]
50210 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
50211
50212 2012-03-14 Joseph Myers <joseph@codesourcery.com>
50213
50214 [BZ #13841]
50215 * math/s_csqrt.c: Include <float.h>.
50216 (__csqrt): Scale large or subnormal inputs.
50217 * math/s_csqrtf.c: Likewise.
50218 * math/s_csqrtl.c: Likewise.
50219 * math/libm-test.inc (csqrt_test): Add more tests.
50220 * sysdeps/i386/fpu/libm-test-ulps: Update.
50221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50222
50223 [BZ #13840]
50224 * math/libm-test.inc (hypot_test): Add more tests.
50225
50226 2012-03-13 David S. Miller <davem@davemloft.net>
50227
50228 [BZ #13840]
50229 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
50230 double-precision for the calculation instead of scaling.
50231
50232 2012-03-13 Joseph Myers <joseph@codesourcery.com>
50233
50234 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
50235 manipulate bits before adding and subtracting TWO52[sx].
50236 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
50237 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
50238 Likewise.
50239 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
50240
50241 2012-03-13 David S. Miller <davem@davemloft.net>
50242
50243 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
50244 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
50245 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
50246 rtld-global-offsets.h
50247 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50248
50249 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
50250 large parameters.
50251
50252 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
50253
50254 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
50255 'err' in the ifdef scope in which it is actually used.
50256
50257 * nss/nss_db/db-init.c: Include string.h
50258
50259 2012-03-12 David S. Miller <davem@davemloft.net>
50260
50261 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50262 masking out of the most significant byte of random value used.
50263 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50264 Fix coding style in previous change.
50265
50266 * sysdeps/unix/sysv/linux/kernel-features.h
50267 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
50268 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
50269 expression.
50270 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
50271 later.
50272
50273 2012-03-11 David S. Miller <davem@davemloft.net>
50274
50275 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
50276 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
50277 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
50278 for 'resultvar' otherwise things get truncated on 64-bit.
50279
50280 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50281 Fix masking out of the most significant byte of random value used.
50282
50283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50284
50285 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
50286
50287 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50288
50289 2012-03-09 David S. Miller <davem@davemloft.net>
50290
50291 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
50292 variables with appropriate CPP guards.
50293 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
50294 from the frame pointer, not the stack pointer. Correct layout
50295 comments. Fix test on resulting framesize and the management of
50296 the outregs buffer for pltexit. Preserve floating point return
50297 values across _dl_call_pltexit call.
50298 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
50299 framesize and the management of the outregs buffer for pltexit.
50300 Preserve floating point return values across _dl_call_pltexit
50301 call.
50302 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
50303 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
50304 (la_sparc64_gnu_pltexit): New functions.
50305 (print_exit): Fix format string for return register value.
50306
50307 2012-03-10 Joseph Myers <joseph@codesourcery.com>
50308
50309 * sunrpc/Makefile (others): Add rpcgen.
50310 ($(objpfx)rpcgen): Remove special build rule and dependency on
50311 libc.
50312 * sunrpc/rpcgen.c: New file.
50313
50314 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
50315
50316 [BZ #13673]
50317 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
50318 * stdio-common/bug-vfprintf-nargs.c: Likewise.
50319 * sysdeps/i386/crti.S: Likewise.
50320 * sysdeps/i386/crtn.S: Likewise.
50321 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
50322 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
50323 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
50324 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
50325 * sysdeps/sh/crti.S: Likewise.
50326 * sysdeps/sh/crtn.S: Likewise.
50327 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
50328
50329 [BZ #13673]
50330 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
50331 with URL.
50332 * locale/programs/locfile-kw.gperf: Likewise.
50333 * locale/programs/charmap-kw.h: Regenerated.
50334 * locale/programs/locfile-kw.h: Likewise.
50335
50336 [BZ #13673]
50337 * intl/plural.y: Replace FSF snail mail address with URL.
50338 * intl/plural.c: Regenerated.
50339
50340 2012-03-09 Richard Henderson <rth@twiddle.net>
50341
50342 * include/math_private.h: Remove file.
50343 * math/math_private.h: Move file ...
50344 * sysdeps/generic/math_private.h: ... here.
50345
50346 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
50347 * sysdeps/powerpc/fpu/math_private.h: Likewise.
50348 * sysdeps/x86_64/fpu/math_private.h: Likewise.
50349
50350 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
50351 and <math_private.h>.
50352 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50353 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50354 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50355 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50356 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50357 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
50358 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50359 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50360 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
50361 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50362 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50363 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50364 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
50365 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50366 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
50367 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
50368 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50369 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50370 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
50371 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
50372 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50373 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
50374 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
50375 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50376 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
50377 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
50378 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
50379 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50380 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50381 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50382 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
50383 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50384 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
50385 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50386 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50387 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50388 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50389 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50390 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50391 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50392 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
50393 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50394 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50395 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
50396 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
50397 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50398 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
50399 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
50400 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50401 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
50402 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
50403 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
50404 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
50405 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
50406 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
50407 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
50408 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50409 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50410 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
50411 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
50412 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50413 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
50414 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50415 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
50416 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
50417 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50418 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50419 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50420 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
50421 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
50422 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50423 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50424 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50425 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50426 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
50427 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
50428 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
50429 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50430 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
50431 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
50432 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50433 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
50434 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50435 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
50436 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50437 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50438 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
50439 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
50440 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
50441 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
50442 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
50443 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
50444 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50445 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
50446 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
50447 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
50448 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50449 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
50450 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50451 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
50452 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
50453 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
50454 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
50455 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
50456 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50457 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
50458 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
50459 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
50460 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50461 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50462 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50463 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50464 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
50465 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50466 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
50467 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50468 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50469 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
50470 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50471 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50472 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50473 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
50474 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50475 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
50476 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50477 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
50478 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
50479 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
50480 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
50481 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
50482 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
50483 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50484 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50485 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
50486 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
50487 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
50488 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50489 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
50490 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
50491 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
50492 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50493 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
50494 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50495 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
50496 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
50497 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
50498 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
50499 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
50500 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
50501 * sysdeps/ieee754/k_standard.c: Likewise.
50502 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
50503 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
50504 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
50505 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
50506 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
50507 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
50508 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
50509 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
50510 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
50511 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
50512 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50513 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
50514 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
50515 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
50516 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
50517 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
50518 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50519 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
50520 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
50521 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
50522 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
50523 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
50524 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50525 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
50526 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50527 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
50528 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
50529 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
50530 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
50531 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50532 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50533 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
50534 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
50535 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
50536 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50537 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
50538 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
50539 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
50540 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
50541 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
50542 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50543 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50544 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50545 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
50546 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50547 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50548 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
50549 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
50550 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
50551 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50552 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50553 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50554 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
50555 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
50556 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50557 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50558 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
50559 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
50560 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
50561 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
50562 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50563 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50564 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
50565 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
50566 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
50567 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
50568 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
50569 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
50570 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
50571 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
50572 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
50573 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50574 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
50575 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
50576 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
50577 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
50578 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
50579 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
50580 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50581 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50582 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50583 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50584 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
50585 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
50586 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
50587 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
50588 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
50589 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
50590 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
50591 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
50592 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
50593 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
50594 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
50595 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50596 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
50597 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
50598 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
50599 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
50600 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
50601 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
50602 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
50603 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
50604 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50605 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
50606 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
50607 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50608 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50609 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
50610 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
50611 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
50612 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
50613 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
50614 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
50615 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
50616 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
50617 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50618 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
50619 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
50620 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50621 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
50622 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50623 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
50624 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50625 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
50626 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
50627 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
50628 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50629 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
50630 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
50631 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50632 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50633 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50634 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50635 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50636 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
50637 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
50638 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
50639 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50640 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50641 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
50642 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
50643 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50644 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
50645 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
50646 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
50647 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50648 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50649 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
50650 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
50651 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
50652 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50653 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50654 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50655 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50656 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
50657 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
50658 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
50659 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
50660 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
50661 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50662 * sysdeps/ieee754/s_lib_version.c: Likewise.
50663 * sysdeps/ieee754/s_matherr.c: Likewise.
50664 * sysdeps/ieee754/s_signgam.c: Likewise.
50665 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50666 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50667 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
50668 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
50669 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
50670 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50671 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
50672 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
50673 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
50674 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
50675 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50676 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
50677 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
50678 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
50679 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
50680 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
50681 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
50682 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
50683 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
50684 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50685 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50686
50687 2012-03-09 Joseph Myers <joseph@codesourcery.com>
50688
50689 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
50690 * sunrpc/rpc_main.c: Likewise.
50691 * sunrpc/rpc_svcout.c: Likewise.
50692
50693 2012-03-09 David S. Miller <davem@davemloft.net>
50694
50695 * include/math_private.h: New file.
50696
50697 2012-03-09 Joseph Myers <joseph@codesourcery.com>
50698
50699 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
50700 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
50701 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
50702 from <bits/socket_type.h>.
50703 (enum __socket_type): Don't define here.
50704 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
50705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50706 bits/socket_type.h.
50707
50708 [BZ #13566]
50709 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
50710 checking __USE_GNU.
50711
50712 * Makerules ($(inst_includedir)/%.h): New rule.
50713 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
50714 (install-others): Remove variable setting.
50715 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
50716
50717 2012-03-08 Richard Henderson <rth@twiddle.net>
50718
50719 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
50720 from macro to inline function; merge with the
50721 !__LIBC_INTERNAL_MATH_INLINES version.
50722 (__ieee754_sqrtf): Likewise.
50723
50724 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
50725 to inline function.
50726 (__rintf, __floor, __floorf): Likewise.
50727
50728 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
50729 macro to inline function.
50730 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
50731
50732 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
50733 not <math/math_private.h>.
50734
50735 2012-03-08 David S. Miller <davem@davemloft.net>
50736
50737 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
50738 copyright year.
50739 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
50740
50741 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
50742
50743 * resolv/gai_misc.c (handle_requests): Fix struct timespec
50744 normalization.
50745 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
50746 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
50747
50748 2012-03-08 Ulrich Drepper <drepper@gmail.com>
50749
50750 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
50751 be defined individually, they must be defined as a block. Define
50752 S for printing a string instead of hidint the different by using a
50753 macro for adding the 'l'.
50754 * stdio-common/tst-fphex-wide.c: Adjust.
50755
50756 2012-03-07 Marek Polacek <polacek@redhat.com>
50757
50758 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
50759
50760 2012-03-08 Marek Polacek <polacek@redhat.com>
50761
50762 [BZ #13806]
50763 * stdio-common/Makefile (tests): Add tst-fphex-wide.
50764 * stdio-common/tst-fphex.c: Define a few macros to make the
50765 test reusable. Use them.
50766 * stdio-common/tst-fphex-wide.c: New file.
50767
50768 2012-03-08 Joseph Myers <joseph@codesourcery.com>
50769
50770 [BZ #6911]
50771 * manual/macros.texi (gnusystems): New macro.
50772 (nongnusystems): Likewise.
50773 (gnulinuxhurdsystems): Likewise.
50774 (gnuhurdsystems): Likewise..
50775 (gnulinuxsystems): Likewise.
50776 * manual/charset.texi: Use new macros or @theglibc{} to refer to
50777 variants of the GNU system, not "GNU system".
50778 * manual/conf.texi: Likewise.
50779 * manual/errno.texi: Likewise. Update example of errno macro
50780 expansion.
50781 * manual/filesys.texi: Likewise.
50782 (getumask): Document as specific to GNU/Hurd.
50783 * manual/install.texi: Likewise. Reword some references to
50784 GNU/Linux.
50785 * manual/intro.texi: Likewise.
50786 * manual/io.texi: Likewise.
50787 (File Name Portability): Detail which constraints are inapplicable
50788 to all GNU systems and which are only inapplicable to GNU/Hurd.
50789 * manual/job.texi: Likewise.
50790 * manual/llio.texi: Likewise.
50791 (O_NOCTTY): Document as present on GNU/Linux.
50792 * manual/maint.texi: Likewise.
50793 * manual/memory.texi: Likewise.
50794 * manual/pattern.texi: Likewise.
50795 * manual/pipe.texi: Likewise.
50796 * manual/process.texi: Likewise.
50797 * manual/resource.texi: Likewise.
50798 (RUSAGE_CHILDREN): Remove statement about specifying a particular
50799 child on GNU/Hurd.
50800 * manual/setjmp.texi: Likewise.
50801 * manual/signal.texi: Likewise.
50802 * manual/startup.texi: Likewise.
50803 * manual/stdio.texi: Likewise.
50804 * manual/terminal.texi: Likewise.
50805 (ONLCR): Document as POSIX.
50806 (OXTABS): Document availability on GNU/Linux as XTABS.
50807 (ONOEOT): Document availability separately from other bits.
50808 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
50809 * manual/time.texi: Likewise.
50810 * manual/users.texi: Likewise.
50811 * INSTALL: Regenerated.
50812 * sysdeps/gnu/errlist.c: Regenerated.
50813
50814 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
50815 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
50816 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
50817 puts.
50818 * configure: Regenerated.
50819
50820 2012-03-07 Joseph Myers <joseph@codesourcery.com>
50821
50822 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
50823 default includes instead of AC_HEADER_CHECK.
50824 * sysdeps/i386/configure: Regenerated.
50825
50826 [BZ #10716]
50827 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
50828 * math/s_cacoshf.c (__cacoshf): Likewise.
50829 * math/s_cacoshl.c (__cacoshl): Likewise.
50830 * math/s_casinh.c (__casinh): Set signs of result from argument.
50831 * math/s_casinhf.c (__casinhf): Likewise.
50832 * math/s_casinhl.c (__casinhl): Likewise.
50833 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
50834 (casinh_test): Add more tests.
50835 * sysdeps/i386/fpu/libm-test-ulps: Update.
50836 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50837
50838 2012-03-07 Ulrich Drepper <drepper@gmail.com>
50839
50840 * po/zh_TW.po: Update from translation team.
50841
50842 * login/Makefile (distribute): Remove variable.
50843 * catgets/Makefile: Likewise.
50844 * mach/Makefile: Likewise.
50845 * malloc/Makefile: Likewise.
50846 * misc/Makefile: Likewise.
50847 * iconv/Makefile: Likewise.
50848 * nscd/Makefile: Likewise.
50849 * hurd/Makefile: Likewise.
50850 * manual/Makefile: Likewise.
50851 * locale/Makefile: Likewise.
50852 * intl/Makefile: Likewise.
50853 * conform/Makefile: Likewise.
50854 * nss/Makefile: Likewise.
50855 * time/Makefile: Likewise.
50856 * soft-fp/Makefile: Likewise.
50857 * dirent/Makefile: Likewise.
50858 * gmon/Makefile: Likewise.
50859 * po/Makefile: Likewise.
50860 * rt/Makefile: Likewise.
50861 * socket/Makefile: Likewise.
50862 * math/Makefile: Likewise.
50863 * signal/Makefile: Likewise.
50864 * debug/Makefile: Likewise.
50865 * elf/Makefile: Likewise.
50866 * timezone/Makefile: Likewise.
50867 * stdlib/Makefile: Likewise.
50868 * iconvdata/Makefile: Likewise.
50869 * sunrpc/Makefile: Likewise.
50870 * io/Makefile: Likewise.
50871 * argp/Makefile: Likewise.
50872 * inet/Makefile: Likewise.
50873 * hesiod/Makefile: Likewise.
50874 * grp/Makefile: Likewise.
50875 * csu/Makefile: Likewise.
50876 * wctype/Makefile: Likewise.
50877 * crypt/Makefile: Likewise.
50878 * libio/Makefile: Likewise.
50879 * string/Makefile: Likewise.
50880 * nis/Makefile: Likewise.
50881 * resolv/Makefile: Likewise.
50882 * stdio-common/Makefile: Likewise.
50883 * wcsmbs/Makefile: Likewise.
50884 * dlfcn/Makefile: Likewise.
50885 * posix/Makefile: Likewise.
50886
50887 [BZ #6959]
50888 * timezone/Makefile: Don't install timezone files, just the programs
50889 and scripts.
50890
50891 2012-03-06 Ulrich Drepper <drepper@gmail.com>
50892
50893 * nss/databases.def: Add missing gshadow entry.
50894
50895 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
50896
50897 2012-03-06 Marek Polacek <polacek@redhat.com>
50898
50899 [BZ #13726]
50900 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
50901 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
50902 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
50903 * stdio-common/tst-long-dbl-fphex.c: New file.
50904
50905 2012-03-06 David S. Miller <davem@davemloft.net>
50906
50907 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
50908 (set_obp_int): New function.
50909 (get_obp_int): New function.
50910 (__get_clockfreq_via_dev_openprom): Likewise.
50911 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
50912 Avoid unused variable warnings on 'val' and use builtin_expect.
50913 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
50914 __builtin_expect.
50915 (INLINE_CLONE_SYSCALL): Likewise.
50916
50917 2012-03-05 David S. Miller <davem@davemloft.net>
50918
50919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50920
50921 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
50922
50923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50924
50925 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
50926 only for |x| >= 40.
50927 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
50928
50929 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
50930
50931 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
50932 Replace gettimeofday with __vdso_gettimeofday.
50933
50934 * sysdeps/unix/sysv/linux/x86_64/init-first.c
50935 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
50936 __vdso_clock_gettime and __vdso_getcpu.
50937
50938 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
50939 time with __vdso_time.
50940
50941 2012-03-05 Joseph Myers <joseph@codesourcery.com>
50942
50943 * manual/lang.texi (size_t): Note types to which size_t may be
50944 equivalent with the GNU C Library, but do not describe when
50945 differences between them are significant.
50946
50947 2012-03-05 Andreas Jaeger <aj@suse.de>
50948
50949 * sysdeps/i386/fpu/libm-test-ulps: Update.
50950
50951 2012-03-05 Joseph Myers <joseph@codesourcery.com>
50952
50953 [BZ #3976]
50954 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
50955 (__ieee754_pow): Save and restore rounding mode and use
50956 round-to-nearest for main computations.
50957 * math/libm-test.inc (pow_test_tonearest): New function.
50958 (pow_test_towardzero): Likewise.
50959 (pow_test_downward): Likewise.
50960 (pow_test_upward): Likewise.
50961 (main): Call the new functions.
50962 * sysdeps/i386/fpu/libm-test-ulps: Update.
50963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50964
50965 [BZ #3976]
50966 * math/libm-test.inc (cosh_test_tonearest): New function.
50967 (cosh_test_towardzero): Likewise.
50968 (cosh_test_downward): Likewise.
50969 (cosh_test_upward): Likewise.
50970 (sinh_test_tonearest): Likewise.
50971 (sinh_test_towardzero): Likewise.
50972 (sinh_test_downward): Likewise.
50973 (sinh_test_upward): Likewise.
50974 (main): Call the new functions.
50975 * sysdeps/i386/fpu/libm-test-ulps: Update.
50976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50977
50978 2012-03-05 Tom de Vries <tom@codesourcery.com>
50979
50980 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
50981 default stack guard is set in last bytes.
50982 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
50983
50984 2012-03-05 Kees Cook <keescook@chromium.org>
50985
50986 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
50987
50988 [BZ #13656]
50989 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
50990 possibly allocate from heap instead of stack.
50991 * stdio-common/bug-vfprintf-nargs.c: New file.
50992 * stdio-common/Makefile (tests): Add nargs overflow test.
50993
50994 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
50995
50996 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50997
50998 2012-03-03 Marek Polacek <polacek@redhat.com>
50999
51000 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
51001 * math/math_private.h: Likewise.
51002 * stdlib/tst-strtod.c: Likewise.
51003 * sysdeps/i386/i486/bits/atomic.h: Likewise.
51004 * sysdeps/x86_64/bits/atomic.h: Likewise.
51005
51006 2012-03-02 David S. Miller <davem@davemloft.net>
51007
51008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
51009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
51010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
51011 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
51012 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
51013 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
51014 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
51015 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
51016
51017 2012-03-02 Roland McGrath <roland@hack.frob.com>
51018
51019 [BZ #13792]
51020 * manual/examples/README: New file, says the example source files
51021 can be used under GPL>=2.
51022 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
51023 line containing just "*/".
51024 * manual/examples/add.c: Add copyright header (GPL>=2).
51025 * manual/examples/argp-ex1.c: Likewise.
51026 * manual/examples/argp-ex2.c: Likewise.
51027 * manual/examples/argp-ex3.c: Likewise.
51028 * manual/examples/argp-ex4.c: Likewise.
51029 * manual/examples/atexit.c: Likewise.
51030 * manual/examples/db.c: Likewise.
51031 * manual/examples/dir.c: Likewise.
51032 * manual/examples/dir2.c: Likewise.
51033 * manual/examples/execinfo.c: Likewise.
51034 * manual/examples/filecli.c: Likewise.
51035 * manual/examples/filesrv.c: Likewise.
51036 * manual/examples/fmtmsgexpl.c: Likewise.
51037 * manual/examples/genpass.c: Likewise.
51038 * manual/examples/inetcli.c: Likewise.
51039 * manual/examples/inetsrv.c: Likewise.
51040 * manual/examples/isockad.c: Likewise.
51041 * manual/examples/longopt.c: Likewise.
51042 * manual/examples/memopen.c: Likewise.
51043 * manual/examples/memstrm.c: Likewise.
51044 * manual/examples/mkfsock.c: Likewise.
51045 * manual/examples/mkisock.c: Likewise.
51046 * manual/examples/mygetpass.c: Likewise.
51047 * manual/examples/pipe.c: Likewise.
51048 * manual/examples/popen.c: Likewise.
51049 * manual/examples/rprintf.c: Likewise.
51050 * manual/examples/search.c: Likewise.
51051 * manual/examples/select.c: Likewise.
51052 * manual/examples/setjmp.c: Likewise.
51053 * manual/examples/sigh1.c: Likewise.
51054 * manual/examples/sigusr.c: Likewise.
51055 * manual/examples/stpcpy.c: Likewise.
51056 * manual/examples/strdupa.c: Likewise.
51057 * manual/examples/strftim.c: Likewise.
51058 * manual/examples/strncat.c: Likewise.
51059 * manual/examples/subopt.c: Likewise.
51060 * manual/examples/swapcontext.c: Likewise.
51061 * manual/examples/termios.c: Likewise.
51062 * manual/examples/testopt.c: Likewise.
51063 * manual/examples/testpass.c: Likewise.
51064 * manual/examples/timeval_subtract.c: Likewise.
51065
51066 [BZ #13792]
51067 * manual/time.texi (Elapsed Time): Move timeval_subtract example
51068 function to ...
51069 * manual/timeval_subtract.c.texi: ... here, new file.
51070
51071 2012-03-02 David S. Miller <davem@davemloft.net>
51072
51073 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
51074
51075 2012-03-02 Joseph Myers <joseph@codesourcery.com>
51076
51077 [BZ #3976]
51078 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
51079 (__sin): Save and restore rounding mode and use round-to-nearest
51080 for all computations.
51081 (__cos): Save and restore rounding mode and use round-to-nearest
51082 for all computations.
51083 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
51084 <fenv.h>.
51085 (tan): Save and restore rounding mode and use round-to-nearest for
51086 all computations.
51087 * math/libm-test.inc (cos_test_tonearest): New function.
51088 (cos_test_towardzero): Likewise.
51089 (cos_test_downward): Likewise.
51090 (cos_test_upward): Likewise.
51091 (sin_test_tonearest): Likewise.
51092 (sin_test_towardzero): Likewise.
51093 (sin_test_downward): Likewise.
51094 (sin_test_upward): Likewise.
51095 (tan_test_tonearest): Likewise.
51096 (tan_test_towardzero): Likewise.
51097 (tan_test_downward): Likewise.
51098 (tan_test_upward): Likewise.
51099 (main): Call the new functions.
51100 * sysdeps/i386/fpu/libm-test-ulps: Update.
51101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51102
51103 [BZ #10135]
51104 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
51105 small n, then large n, before computing and testing k+n.
51106 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51107 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
51108 Likewise.
51109 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
51110 Likewise.
51111 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
51112 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
51113 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
51114 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
51115 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51116 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51117 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
51118 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
51119 * math/libm-test.inc (scalbn_test): Add more tests.
51120 (scalbln_test): Likewise.
51121
51122 * manual/filesys.texi (mode_t): Describe constraints on size and
51123 signedness, not exact equivalence to a particular type.
51124 (ino_t): Likewise.
51125 (ino64_t): Likewise.
51126 (dev_t): Likewise.
51127 (nlink_t): Likewise.
51128 (blkcnt_t): Likewise.
51129 (blkcnt64_t): Likewise.
51130 * manual/llio.texi (off_t): Likewise.
51131
51132 [BZ #3976]
51133 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
51134 (__ieee754_exp): Save and restore rounding mode and use
51135 round-to-nearest for all computations.
51136 * math/libm-test.inc (exp_test_tonearest): New function.
51137 (exp_test_towardzero): Likewise.
51138 (exp_test_downward): Likewise.
51139 (exp_test_upward): Likewise.
51140 (main): Call the new functions.
51141 * sysdeps/i386/fpu/libm-test-ulps: Update.
51142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51143
51144 2012-03-01 Chris Demetriou <cgd@google.com>
51145
51146 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
51147 have predictable order.
51148
51149 2012-03-01 David S. Miller <davem@davemloft.net>
51150
51151 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
51152
51153 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
51154 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
51155 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
51156 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
51157
51158 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
51159 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
51160 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
51161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
51162 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
51163 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
51164 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
51165 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
51166 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
51167
51168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
51169
51170 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
51171 * sysdeps/sparc/fpu/libm-test-ulps: to here.
51172 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
51173
51174 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
51175 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51176 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51177 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
51178 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
51179 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
51180 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
51181 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51182 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51183 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
51184 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
51185 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51187 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51188 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51189 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51190 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
51191 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
51192 * sysdeps/sparc/elf/configure: Regenerated.
51193
51194 2012-03-01 Joseph Myers <joseph@codesourcery.com>
51195
51196 * configure.in (AS, LD): Require binutils 2.20 or later.
51197 * configure: Regenerated.
51198 * manual/install.texi (Tools for Compilation): Give binutils 2.20
51199 as required minimum version.
51200 * INSTALL: Regenerated.
51201
51202 [BZ #2541]
51203 [BZ #4108]
51204 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
51205 before squaring exponent.
51206 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
51207 bottom long double and 27 bits of top long double before squaring
51208 exponent.
51209 * math/libm-test.inc (erfc_test): Add more tests.
51210 * sysdeps/i386/fpu/libm-test-ulps: Update.
51211 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51213
51214 2012-03-01 Kai Tietz <ktietz@redhat.com>
51215
51216 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
51217 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
51218 containing bit-fields.
51219 * soft-fp/extended.h (_FP_UNION_E): Likewise.
51220 * soft-fp/single.h (_FP_UNION_S): Likewise.
51221 * soft-fp/double.h (_FP_UNION_D): Likewise.
51222
51223 2012-02-29 Joseph Myers <joseph@codesourcery.com>
51224
51225 [BZ #13786]
51226 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
51227 not include ../strcmp.S.
51228 [USE_AS_STRNCASECMP_L]: Likewise.
51229 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
51230 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
51231 * sysdeps/i386/i686/multiarch/strncase_l-c.c
51232 (__strncasecmp_l_ia32): Define as alias to
51233 __strncasecmp_l_nonascii.
51234
51235 [BZ #5794]
51236 * math/libm-test.inc (expm1_test): Add test for bug 5794.
51237 * sysdeps/i386/fpu/libm-test-ulps: Update.
51238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51239
51240 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
51241 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51242
51243 2012-02-29 Jeff Law <law@redhat.com>
51244
51245 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
51246 out of bounds read.
51247
51248 2012-02-29 Marek Polacek <polacek@redhat.com>
51249
51250 [BZ #13706]
51251 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
51252 * elf/Makefile: Add rules to run tst-unused-dep.out.
51253
51254 2012-02-28 David S. Miller <davem@davemloft.net>
51255
51256 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
51257 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
51258 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
51259 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
51260 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
51261 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
51262
51263 2012-02-29 Joseph Myers <joseph@codesourcery.com>
51264
51265 * math/libm-test.inc (llround_test): Move one test from
51266 lround_test. Use TEST_f_L in moved test.
51267 (lround_test): Move misplaced test to llround_test. Add testcase
51268 from bug 2561.
51269
51270 2012-02-28 Ulrich Drepper <drepper@gmail.com>
51271
51272 * sysdeps/x86_64/fpu/e_expf.S: New file.
51273 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
51274
51275 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
51276
51277 [BZ #13637]
51278 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
51279 of remain_len that may cause incomplete multi-byte character and
51280 false match.
51281 * posix/bug-regex33.c: New file.
51282 * posix/Makefile (tests): Add bug-regex33.
51283
51284 2012-02-28 Joseph Myers <joseph@codesourcery.com>
51285
51286 * manual/macros.texi: New file.
51287 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
51288 * manual/libc.texinfo: Include macros.texi.
51289 * manual/creatute.texi: Likewise.
51290 * manual/install.texi: Likewise.
51291 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
51292 @glibcadj{} in references to the GNU C Library.
51293 * manual/charset.texi: Likewise.
51294 * manual/conf.texi: Likewise.
51295 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
51296 when not using those macros.
51297 * manual/creature.texi: Likewise.
51298 * manual/crypt.texi: Likewise.
51299 * manual/errno.texi: Likewise.
51300 * manual/filesys.texi: Likewise.
51301 * manual/header.texi: Likewise.
51302 * manual/install.texi: Likewise.
51303 * manual/intro.texi: Likewise.
51304 * manual/io.texi: Likewise.
51305 * manual/job.texi: Likewise.
51306 * manual/lang.texi: Likewise.
51307 * manual/libc.texiinfo: Likewise.
51308 * manual/llio.texi: Likewise.
51309 * manual/locale.texi: Likewise.
51310 * manual/maint.texi: Likewise.
51311 * manual/math.texi: Likewise.
51312 * manual/memory.texi: Likewise.
51313 * manual/message.texi: Likewise.
51314 * manual/nss.texi: Likewise.
51315 * manual/pattern.texi: Likewise.
51316 * manual/process.texi: Likewise.
51317 * manual/resource.texi: Likewise.
51318 * manual/search.texi: Likewise.
51319 * manual/setjmp.texi: Likewise.
51320 * manual/signal.texi: Likewise.
51321 * manual/socket.texi: Likewise.
51322 * manual/startup.texi: Likewise.
51323 * manual/stdio.texi: Likewise.
51324 * manual/string.texi: Likewise.
51325 * manual/sysinfo.texi: Likewise.
51326 * manual/syslog.texi: Likewise.
51327 * manual/terminal.texi: Likewise.
51328 * manual/time.texi: Likewise.
51329 * manual/users.texi: Likewise.
51330 * INSTALL: Regenerated.
51331 * NOTES: Regenerated.
51332 * sysdeps/gnu/errlist.c: Regenerated.
51333
51334 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
51335
51336 * include/dirent.h: Include <dirstream.h> before
51337 <dirent/dirent.h>.
51338
51339 2012-02-28 David S. Miller <davem@davemloft.net>
51340
51341 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
51342 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
51343 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
51344 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
51345
51346 2012-02-27 David S. Miller <davem@davemloft.net>
51347
51348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
51349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
51350 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
51351 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
51352
51353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
51354 frame pointer instead of stack pointer relative arg slot.
51355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51356 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51357 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51358
51359 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
51360
51361 [BZ #3992]
51362 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
51363
51364 2012-02-27 David S. Miller <davem@davemloft.net>
51365
51366 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
51367 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
51368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
51369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
51370 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
51371 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
51372 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
51373 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
51374
51375 2012-02-27 Joseph Myers <joseph@codesourcery.com>
51376
51377 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
51378 later. Allow versions 5-9.
51379 * configure: Regenerated.
51380 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
51381 required minimum version and 4.6 as recommended version. Do not
51382 mention bugs in GCC 2.7 and 2.8.
51383 * INSTALL: Regenerated.
51384
51385 2012-02-27 David S. Miller <davem@davemloft.net>
51386
51387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
51388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
51389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
51390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
51391 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
51392 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
51393 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
51394 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
51395
51396 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
51397 manipulate bits before adding and subtracting TWO112[sx].
51398 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
51399
51400 2012-02-27 Roland McGrath <roland@hack.frob.com>
51401
51402 [BZ #13775]
51403 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
51404 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
51405 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
51406 being in POSIX, because they are in 1003.1-2008.
51407
51408 * rt/tst-aio.c: Include <fcntl.h>.
51409 * rt/tst-aio7.c: Likewise.
51410 * rt/tst-aio64.c: Likewise.
51411
51412 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
51413
51414 2012-02-27 Joseph Myers <joseph@codesourcery.com>
51415
51416 * manual/install.texi (--with-headers): Describe headers as
51417 interface headers, not private headers.
51418 (Specific advice for GNU/Linux systems): Describe use of headers
51419 from "make headers_install", not private headers from older
51420 kernels.
51421 * INSTALL: Regenerated.
51422 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
51423 Change to 2.6.19.
51424 * sysdeps/unix/sysv/linux/configure: Regenerated.
51425
51426 * manual/llio.texi (fclean): Remove documentation.
51427
51428 * manual/Makefile (libc-texi-generated): New variable. Include
51429 version.texi.
51430 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
51431 $(libc-texi-generated), not duplicated list of files.
51432 (version.texi, stamp-version): New rules.
51433 (realclean): Remove $(libc-texi-generated), not individual files
51434 from that list. Do not remove dir-add.texinfo.
51435 * manual/libc.texinfo: Comment out uses of edition numbers and
51436 references to printed manual. Remove last-updated dates.
51437 (EDITION): Comment out.
51438 (ISBN): Likewise.
51439 (VERSION, UPDATED): Remove.
51440 (version.texi): Include.
51441
51442 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
51443
51444 * sysdeps/posix/spawni.c: Include <signal.h>.
51445 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
51446 * sysdeps/pthread/aio_fsync.c: Likewise.
51447
51448 2012-02-26 Ulrich Drepper <drepper@gmail.com>
51449
51450 * conform/Makefile (tests): Run only when not cross-compiling and
51451 when fast-check is not defined.
51452
51453 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
51454 * conform/data/limits.h-data: Fixes for POSIX2008.
51455 * conform/run-conformtest.sh: Run all tests.
51456 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
51457 headers.
51458 * include/bits/dlfcn.h: Likewise.
51459 * include/langinfo.h: Likewise.
51460 * include/monetary.h: Likewise.
51461 * include/sys/poll.h: Likewise.
51462
51463 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
51464 for __USE_GNU.
51465 * posix/spawn.h: Define __need_sigset_t.
51466 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
51467 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
51468 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
51469 to get sigevent_t only.
51470 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
51471 only for __USE_GNU.
51472 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51473 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51474 process_vm_writev only for __USE_GNU.
51475 * termios/termios.h: Declare tcgetsid also for POSIX2008.
51476
51477 * conform/Makefile: For now ignore errors from run-conformtest.
51478 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
51479 POSIX to avoid namespace pollution. Don't prepend headers.
51480 * conform/data/aio.h-data: Fixes for POSIX testing.
51481 * conform/data/fcntl.h-data: Likewise.
51482 * conform/data/glob.h-data: Likewise.
51483 * conform/data/grp.h-data: Likewise.
51484 * conform/data/pthread.h-data: Likewise.
51485 * conform/data/pwd.h-data: Likewise.
51486 * conform/data/signal.h-data: Likewise.
51487 * conform/data/spawn.h-data: Likewise.
51488 * conform/data/stdio.h-data: Likewise.
51489 * conform/data/stdlib.h-data: Likewise.
51490 * conform/data/stropts.h-data: Likewise.
51491 * conform/data/sys/mman.h-data: Likewise.
51492 * conform/data/sys/stat.h-data: Likewise.
51493 * conform/data/sys/types.h-data: Likewise.
51494 * conform/data/sys/wait.h-data: Likewise.
51495 * conform/data/time.h-data: Likewise.
51496 * conform/data/unistd.h-data: Likewise.
51497 * conform/data/utime.h-data: Likewise.
51498
51499 * io/sys/stat.h: fchmod was always in POSIX.
51500 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
51501 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
51502 * rt/aio.h: Define __need_timespec before including <time.h>.
51503 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
51504 struct. Add forward declaration of pthread_attr_t and use it in
51505 sigevent.
51506 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
51507 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51508 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
51509 always remove CLK_TCK definition.
51510
51511 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
51512
51513 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
51514
51515 2012-02-25 Ulrich Drepper <drepper@gmail.com>
51516
51517 * conform/run-conformtest.sh: New file.
51518 * conform/Makefile: Run run-conformtest for tests.
51519 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
51520 support.
51521
51522 * conform/data/uchar.h-data: New file.
51523 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
51524 * conform/data/arpa/inet.h-data: Likewise.
51525 * conform/data/assert.h-data: Likewise.
51526 * conform/data/complex.h-data: Likewise.
51527 * conform/data/cpio.h-data: Likewise.
51528 * conform/data/ctype.h-data: Likewise.
51529 * conform/data/dirent.h-data: Likewise.
51530 * conform/data/dlfcn.h-data: Likewise.
51531 * conform/data/errno.h-data: Likewise.
51532 * conform/data/fcntl.h-data: Likewise.
51533 * conform/data/float.h-data: Likewise.
51534 * conform/data/fmtmsg.h-data: Likewise.
51535 * conform/data/fnmatch.h-data: Likewise.
51536 * conform/data/ftw.h-data: Likewise.
51537 * conform/data/glob.h-data: Likewise.
51538 * conform/data/grp.h-data: Likewise.
51539 * conform/data/iconv.h-data: Likewise.
51540 * conform/data/inttypes.h-data: Likewise.
51541 * conform/data/langinfo.h-data: Likewise.
51542 * conform/data/libgen.h-data: Likewise.
51543 * conform/data/limits.h-data: Likewise.
51544 * conform/data/locale.h-data: Likewise.
51545 * conform/data/math.h-data: Likewise.
51546 * conform/data/monetary.h-data: Likewise.
51547 * conform/data/mqueue.h-data: Likewise.
51548 * conform/data/ndbm.h-data: Likewise.
51549 * conform/data/net/if.h-data: Likewise.
51550 * conform/data/netdb.h-data: Likewise.
51551 * conform/data/netinet/in.h-data: Likewise.
51552 * conform/data/nl_types.h-data: Likewise.
51553 * conform/data/poll.h-data: Likewise.
51554 * conform/data/pthread.h-data: Likewise.
51555 * conform/data/pwd.h-data: Likewise.
51556 * conform/data/regex.h-data: Likewise.
51557 * conform/data/sched.h-data: Likewise.
51558 * conform/data/search.h-data: Likewise.
51559 * conform/data/semaphore.h-data: Likewise.
51560 * conform/data/setjmp.h-data: Likewise.
51561 * conform/data/signal.h-data: Likewise.
51562 * conform/data/spawn.h-data: Likewise.
51563 * conform/data/stdarg.h-data: Likewise.
51564 * conform/data/stdio.h-data: Likewise.
51565 * conform/data/stdlib.h-data: Likewise.
51566 * conform/data/string.h-data: Likewise.
51567 * conform/data/strings.h-data: Likewise.
51568 * conform/data/stropts.h-data: Likewise.
51569 * conform/data/sys/ipc.h-data: Likewise.
51570 * conform/data/sys/mman.h-data: Likewise.
51571 * conform/data/sys/msg.h-data: Likewise.
51572 * conform/data/sys/resource.h-data: Likewise.
51573 * conform/data/sys/select.h-data: Likewise.
51574 * conform/data/sys/sem.h-data: Likewise.
51575 * conform/data/sys/shm.h-data: Likewise.
51576 * conform/data/sys/socket.h-data: Likewise.
51577 * conform/data/sys/stat.h-data: Likewise.
51578 * conform/data/sys/statvfs.h-data: Likewise.
51579 * conform/data/sys/time.h-data: Likewise.
51580 * conform/data/sys/timeb.h-data: Likewise.
51581 * conform/data/sys/times.h-data: Likewise.
51582 * conform/data/sys/types.h-data: Likewise.
51583 * conform/data/sys/uio.h-data: Likewise.
51584 * conform/data/sys/un.h-data: Likewise.
51585 * conform/data/sys/utsname.h-data: Likewise.
51586 * conform/data/sys/wait.h-data: Likewise.
51587 * conform/data/syslog.h-data: Likewise.
51588 * conform/data/tar.h-data: Likewise.
51589 * conform/data/termios.h-data: Likewise.
51590 * conform/data/utime.h-data: Likewise.
51591 * conform/data/utmpx.h-data: Likewise.
51592 * conform/data/varargs.h-data: Likewise.
51593 * conform/data/wchar.h-data: Likewise.
51594 * conform/data/wctype.h-data: Likewise.
51595 * conform/data/wordexp.h-data: Likewise.
51596
51597 * include/stropts.h: New file.
51598 * include/uchar.h: New file.
51599 * include/aio.h: Changes to allow conformtest.pl to use the headers.
51600 * include/assert.h: Likewise.
51601 * include/ctype.h: Likewise.
51602 * include/dirent.h: Likewise.
51603 * include/dlfcn.h: Likewise.
51604 * include/fcntl.h: Likewise.
51605 * include/fnmatch.h: Likewise.
51606 * include/glob.h: Likewise.
51607 * include/grp.h: Likewise.
51608 * include/libio.h: Likewise.
51609 * include/locale.h: Likewise.
51610 * include/math.h: Likewise.
51611 * include/net/if.h: Likewise.
51612 * include/netdb.h: Likewise.
51613 * include/netinet/in.h: Likewise.
51614 * include/pthread.h: Likewise.
51615 * include/pwd.h: Likewise.
51616 * include/regex.h: Likewise.
51617 * include/sched.h: Likewise.
51618 * include/search.h: Likewise.
51619 * include/setjmp.h: Likewise.
51620 * include/signal.h: Likewise.
51621 * include/stdio.h: Likewise.
51622 * include/stdlib.h: Likewise.
51623 * include/string.h: Likewise.
51624 * include/sys/cdefs.h: Likewise.
51625 * include/sys/mman.h: Likewise.
51626 * include/sys/msg.h: Likewise.
51627 * include/sys/resource.h: Likewise.
51628 * include/sys/select.h: Likewise.
51629 * include/sys/socket.h: Likewise.
51630 * include/sys/stat.h: Likewise.
51631 * include/sys/statvfs.h: Likewise.
51632 * include/sys/time.h: Likewise.
51633 * include/sys/times.h: Likewise.
51634 * include/sys/uio.h: Likewise.
51635 * include/sys/utsname.h: Likewise.
51636 * include/sys/wait.h: Likewise.
51637 * include/termios.h: Likewise.
51638 * include/time.h: Likewise.
51639 * include/ulimit.h: Likewise.
51640 * include/unistd.h: Likewise.
51641 * include/utime.h: Likewise.
51642 * include/wchar.h: Likewise.
51643 * include/wctype.h: Likewise.
51644 * include/wordexp.h: Likewise.
51645
51646 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
51647
51648 * time/time.h: TIME_UTC must be a macro.
51649 Make timespec_get available for ISO C11 only as well.
51650
51651 2012-02-24 Ulrich Drepper <drepper@gmail.com>
51652
51653 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
51654 Reported by Peng Haitao <penght@cn.fujitsu.com>.
51655
51656 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51657
51658 * configure.in: Use -o not -a in test for unsupported multi-arch.
51659
51660 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51661
51662 * manual/texinfo.tex: Update to version 2012-01-19.16.
51663
51664 2012-02-24 Joseph Myers <joseph@codesourcery.com>
51665
51666 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
51667
51668 2012-02-24 Roland McGrath <roland@hack.frob.com>
51669
51670 [BZ #13738]
51671 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
51672 * manual/fdl-1.3.texi: New file.
51673 * manual/fdl-1.1.texi: File removed.
51674
51675 [BZ #13738]
51676 * manual/libc.texinfo (FDL_VERSION): New @set.
51677 Use it for mention of FDL in cover text.
51678 (Documentation License): Use it in @include file name.
51679
51680 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51681 Roland McGrath <roland@hack.frob.com>
51682
51683 [BZ #5461]
51684 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
51685 (not LONG_LONG_MAX and LONG_LONG_MIN.
51686 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
51687 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
51688 name.
51689 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
51690
51691 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51692
51693 [BZ #2547]
51694 [BZ #11365]
51695 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
51696 manipulate bits before adding and subtracting TWO23[sx].
51697 * math/libm-test.inc (nearbyint_test): Add more tests.
51698
51699 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51700
51701 [BZ #2548]
51702 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
51703 bits before adding and subtracting TWO23[sx].
51704 * math/libm-test.inc (rint_test): Add more tests.
51705 (rint_test_tonearest): Likewise.
51706 (rint_test_towardzero): Likewise.
51707 (rint_test_downward): Likewise.
51708 (rint_test_upward: Likewise.
51709
51710 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51711
51712 [BZ #10110]
51713 * include/stdc-predef.h: New file. Extracted from features.h.
51714 * include/features.h: Include stdc-predef.h.
51715 * Makefile (headers): Add stdc-predef.h.
51716 * CONFORMANCE (Compiler limitations): Update.
51717
51718 2012-02-22 Joseph Myers <joseph@codesourcery.com>
51719
51720 * manual/libc.texinfo (VERSION, UPDATED): Revert.
51721
51722 2012-02-21 David S. Miller <davem@davemloft.net>
51723
51724 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
51725 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51726
51727 2012-02-20 David S. Miller <davem@davemloft.net>
51728
51729 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
51730 using a normal save/restore sequence, rather than allocating a
51731 dummy stack frame just to store a frame pointer and restore.
51732 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51733
51734 2012-02-21 Joseph Myers <joseph@codesourcery.com>
51735
51736 * manual/install.texi: Fix stray word in line-wrapped comment.
51737
51738 2012-02-20 David S. Miller <davem@davemloft.net>
51739
51740 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
51741 both binutils and gcc support GOTDATA.
51742
51743 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
51744 "rd %pc" in the PIC register setup sequences.
51745
51746 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
51747 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
51748 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51749 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
51750 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51751 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
51752 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51753 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51754 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
51755 (SYSCALL_ERROR_HANDLER): Likewise.
51756 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51757 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51758 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
51759 (SYSCALL_ERROR_HANDLER): Likewise.
51760
51761 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
51762 (HAVE_GCC_GOTDATA): New.
51763 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
51764 relocation support in both binutils and gcc.
51765 * sysdeps/sparc/elf/configure: Regenerate.
51766
51767 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
51768 * sysdeps/sparc/sparc32/elf/configure: Delete.
51769 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
51770 * sysdeps/sparc/sparc64/elf/configure: Delete.
51771 * sysdeps/sparc/elf/configure.in: New file.
51772 * sysdeps/sparc/elf/configure: Generate.
51773
51774 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
51775 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
51776 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51777 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
51778 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
51779
51780 2012-02-21 Joseph Myers <joseph@codesourcery.com>
51781
51782 * manual/install.texi: Do not mention specific glibc version
51783 numbers.
51784 * manual/libc.texinfo (VERSION, UPDATED): Update.
51785 (@copying): Use @copyright{} and range of years.
51786
51787 2012-02-21 Joseph Myers <joseph@codesourcery.com>
51788
51789 [BZ #13695]
51790 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
51791 [crti.S not in sysdirs] (generated): Do not append.
51792 [crti.S not in sysdirs] (omit-deps): Likewise.
51793 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
51794 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
51795 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
51796 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
51797 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
51798 Likewise.
51799 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
51800 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
51801 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
51802 * csu/defs.awk: Remove file.
51803 * sysdeps/generic/initfini.c: Likewise.
51804 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
51805 variable.
51806 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
51807 Likewise.
51808
51809 2012-02-20 Joseph Myers <joseph@codesourcery.com>
51810
51811 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
51812 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
51813 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
51814 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
51815 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51816 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
51817 <bits/epoll.h>.
51818 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
51819 (__EPOLL_PACKED): Define to empty if not defined by
51820 <bits/epoll.h>.
51821 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
51822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51823 bits/epoll.h.
51824
51825 2012-02-20 Joseph Myers <joseph@codesourcery.com>
51826
51827 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
51828 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
51829 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
51830 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
51831 <bits/timerfd.h>.
51832 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
51833 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51834 bits/timerfd.h.
51835
51836 2012-02-20 Joseph Myers <joseph@codesourcery.com>
51837
51838 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
51839 in C locale.
51840 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51841 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51842 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
51843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51844
51845 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
51846
51847 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51848 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
51849
51850 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
51851
51852 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
51853 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
51854 defined.
51855 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
51856 Likewise.
51857 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
51858 entry for 2.16.
51859
51860 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
51861
51862 * math/w_acos.c: Use non-signaling floating-point comparisons.
51863 * math/w_acosf.c: Likewise.
51864 * math/w_acosh.c: Likewise.
51865 * math/w_acoshf.c: Likewise.
51866 * math/w_acoshl.c: Likewise.
51867 * math/w_acosl.c: Likewise.
51868 * math/w_asin.c: Likewise.
51869 * math/w_asinf.c: Likewise.
51870 * math/w_asinl.c: Likewise.
51871 * math/w_atanh.c: Likewise.
51872 * math/w_atanhf.c: Likewise.
51873 * math/w_atanhl.c: Likewise.
51874 * math/w_exp2.c: Likewise.
51875 * math/w_exp2f.c: Likewise.
51876 * math/w_exp2l.c: Likewise.
51877 * math/w_j0.c: Likewise.
51878 * math/w_j0f.c: Likewise.
51879 * math/w_j0l.c: Likewise.
51880 * math/w_j1.c: Likewise.
51881 * math/w_j1f.c: Likewise.
51882 * math/w_j1l.c: Likewise.
51883 * math/w_jn.c: Likewise.
51884 * math/w_jnf.c: Likewise.
51885 * math/w_log.c: Likewise.
51886 * math/w_log10.c: Likewise.
51887 * math/w_log10f.c: Likewise.
51888 * math/w_log10l.c: Likewise.
51889 * math/w_log2.c: Likewise.
51890 * math/w_log2f.c: Likewise.
51891 * math/w_log2l.c: Likewise.
51892 * math/w_logf.c: Likewise.
51893 * math/w_logl.c: Likewise.
51894 * math/w_sqrt.c: Likewise.
51895 * math/w_sqrtf.c: Likewise.
51896 * math/w_sqrtl.c: Likewise.
51897 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51898 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
51899 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51900 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51901 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51902
51903 2012-02-19 Joseph Myers <joseph@codesourcery.com>
51904
51905 [BZ #9739]
51906 * manual/string.texi (strnlen): Use correct parameter name in
51907 equivalent expression.
51908
51909 2012-02-19 Joseph Myers <joseph@codesourcery.com>
51910
51911 [BZ #11174]
51912 * manual/users.texi (seteuid): Consistently use neweuid for
51913 argument name.
51914
51915 2012-02-19 Joseph Myers <joseph@codesourcery.com>
51916
51917 [BZ #13704]
51918 * manual/nss.texi (Services in the NSS configuration): Correct
51919 list of services in example configuration file.
51920
51921 2012-02-19 Nick Bowler <nbowler@draconx.ca>
51922
51923 [BZ #11322]
51924 * manual/arith.texi: Remove statements about negative zero
51925 behaving identically to zero.
51926
51927 2012-02-18 Joseph Myers <joseph@codesourcery.com>
51928
51929 [BZ #5993]
51930 * manual/install.texi: Do not document upgrading from libc5.
51931
51932 2012-02-18 Joseph Myers <joseph@codesourcery.com>
51933
51934 [BZ #4596]
51935 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
51936
51937 2012-02-18 David S. Miller <davem@davemloft.net>
51938
51939 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
51940 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
51941 %o7 across the call.
51942 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
51943 instead.
51944 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
51945 SETUP_PIC_REG_LEAF.
51946 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51947 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
51948 * sysdeps/sparc/crtn.S: Likewise.
51949
51950 2012-02-17 Ulrich Drepper <drepper@gmail.com>
51951
51952 * aout/Makefile: Remove.
51953
51954 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
51955
51956 [BZ #13058]
51957 * manual/examples/argp-ex1.c (main): Format definition in GNU
51958 style.
51959 * manual/examples/argp-ex2.c (main): Likewise.
51960 * manual/examples/argp-ex3.c (main): Likewise.
51961 * manual/examples/argp-ex4.c (main): Likewise.
51962 * manual/examples/longopt.c (main): Use new-style prototype
51963 definition.
51964 * manual/examples/strncat.c (main): Specify return type and use
51965 (void) for arguments.
51966 * manual/examples/subopt.c (main): Use char **argv argument.
51967
51968 2012-02-17 Joseph Myers <joseph@codesourcery.com>
51969
51970 [BZ #5077]
51971 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
51972 rounding modes.
51973
51974 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
51975
51976 [BZ #6907]
51977 * manual/string.texi (strchr): Change when strchrnul is
51978 recommended.
51979
51980 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
51981
51982 [BZ #174]
51983 * manual/locale.texi (setlocale): Document LOCPATH.
51984
51985 2012-02-17 Joseph Myers <joseph@codesourcery.com>
51986
51987 [BZ #10210]
51988 * manual/process.texi (execle): Move @dots{} before last argument.
51989
51990 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
51991
51992 [BZ #12047]
51993 * manual/charset.texi (Generic Charset Conversion): Fix typo
51994 (LC_TYPE -> LC_CTYPE).
51995
51996 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
51997
51998 [BZ #5805]
51999 * manual/arith.texi (scalbn): Use @var{} on parameter names.
52000 (scalbnf): Likewise.
52001 (scalbnl): Likewise.
52002 (scalbln): Likewise.
52003 (scalblnf): Likewise.
52004 (scalblnl): Likewise.
52005 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
52006 (vwarnx): Likewise.
52007 (verr): Likewise.
52008 (verrx): Likewise.
52009 * manual/filesys.texi (telldir): Use braces around return type.
52010 * manual/llio.texi (mmap): Add space after comma.
52011 (mmap64): Likewise.
52012 * manual/math.texi (jn): Use @var{} on parameter names.
52013 (jnf): Likewise.
52014 (jnl): Likewise.
52015 (yn): Likewise.
52016 (ynf): Likewise.
52017 (ynl): Likewise.
52018 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
52019 line.
52020 * manual/resource.texi (ulimit): Use @dots{} instead of literal
52021 "...".
52022 (sched_get_priority_min): Remove semicolon on @deftypefun line.
52023 (sched_get_priority_max): Likewise.
52024 * manual/signal.texi (sigvec): Add space after comma.
52025 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
52026 names.
52027 (if_indextoname): Likewise.
52028 (if_freenameindex): Likewise.
52029 (sendto): Use ',' instead of '.' in prototype.
52030 * manual/startup.texi (syscall): Use @dots{} instead of literal
52031 "...".
52032 * manual/stdio.texi (__fpending): Separate initial words of
52033 paragraph from @deftypefun line.
52034 * manual/syslog.texi (syslog): Use @dots{} instead of literal
52035 "...".
52036 (vsyslog): Use @var{} on parameter names.
52037 * manual/terminal.texi (stty): Use @var{} on parameter names.
52038 * manual/users.texi (getutmp): Use @var{} on parameter names.
52039 (getutmpx): Likewise.
52040
52041 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52042
52043 [BZ #6884]
52044 * manual/stdio.texi (fopen): Fix typos in description of
52045 ",ccs=STRING".
52046
52047 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
52048
52049 [BZ #4026]
52050 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
52051 get clock_id definition.
52052
52053 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
52054
52055 [BZ #4822]
52056 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
52057 (madvise): Cast every argument to void on its own.
52058
52059 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52060
52061 [BZ #9902]
52062 * manual/startup.texi (Exit Status): Fix typo.
52063
52064 2012-02-17 Joseph Myers <joseph@codesourcery.com>
52065
52066 [BZ #10140]
52067 * manual/examples/argp-ex1.c: Include <stdlib.h>.
52068 * manual/examples/argp-ex2.c: Likewise.
52069 * manual/examples/argp-ex3.c: Likewise.
52070
52071 2012-02-16 Richard Henderson <rth@redhat.com>
52072
52073 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
52074 * sysdeps/s390/s390-32/initfini.c: Remove.
52075 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
52076 * sysdeps/s390/s390-64/initfini.c: Remove.
52077
52078 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
52079
52080 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
52081 compiler output for sysdeps/generic/initfini.c.
52082 * sysdeps/sh/elf/initfini.c: Remove file.
52083
52084 2012-02-16 David S. Miller <davem@davemloft.net>
52085
52086 [BZ #11494]
52087 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
52088
52089 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
52090 * sysdeps/sparc/crti.S: New file.
52091 * sysdeps/sparc/crtn.S: New file.
52092 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
52093 * sysdeps/sparc/sparc64/Makefile: Likewise.
52094
52095 2012-02-15 Mike Frysinger <vapier@gentoo.org>
52096
52097 [BZ #3335]
52098 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
52099
52100 2012-02-15 Roland McGrath <roland@hack.frob.com>
52101
52102 [BZ #4822]
52103 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
52104
52105 * mach/devstream.c (cookie_io_functions_t): Macro removed.
52106 (write, read, close): Likewise.
52107 Patch by Aurelien Jarno <aurelien@aurel32.net>.
52108
52109 2012-02-15 Joseph Myers <joseph@codesourcery.com>
52110
52111 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
52112 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
52113 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
52114 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
52115 <bits/signalfd.h>.
52116 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
52117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52118 bits/signalfd.h.
52119
52120 2012-02-14 Marek Polacek <polacek@redhat.com>
52121
52122 * sysdeps/x86_64/crti.S: New file.
52123 * sysdeps/x86_64/crtn.S: New file.
52124 * sysdeps/x86_64/elf/initfini.c: Remove file.
52125
52126 2012-02-13 Joseph Myers <joseph@codesourcery.com>
52127
52128 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
52129 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
52130 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
52131 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
52132 <bits/inotify.h>.
52133 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
52134 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52135 bits/inotify.h.
52136
52137 2012-02-13 Joseph Myers <joseph@codesourcery.com>
52138
52139 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
52140 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
52141 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
52142 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
52143 <bits/eventfd.h>.
52144 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
52145 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52146 bits/eventfd.h.
52147
52148 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
52149
52150 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
52151 __feraiseexcept instead of feraiseexcept.
52152
52153 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
52154 nanosleep invocations.
52155 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
52156 strings, and add error checking for a nanosleep invocations.
52157
52158 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
52159
52160 Replace FSF snail mail address with URLs, as per GNU coding standards.
52161 Most of the snail mail addresses were wrong anyway, and omitting
52162 them makes the source code easier to maintain. Almost all of the
52163 changes are to license notices and to locale LC_IDENTIFICATION
52164 addresses, except for this one:
52165 * manual/libc.texinfo: In "Published by", give the FSF's URL,
52166 not its snail mail address.
52167
52168 2012-02-09 Richard Henderson <rth@twiddle.net>
52169
52170 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
52171 of kernel-features.h.
52172
52173 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
52174
52175 2012-02-08 Marek Polacek <polacek@redhat.com>
52176
52177 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
52178 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
52179 * sysdeps/gnu/_G_config.h: Likewise.
52180 * sysdeps/generic/_G_config.h: Likewise.
52181
52182 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
52183
52184 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
52185 tests.
52186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52187
52188 * sysdeps/powerpc/powerpc32/crti.S: New file.
52189 * sysdeps/powerpc/powerpc32/crtn.S: New file.
52190 * sysdeps/powerpc/powerpc64/crti.S: New file.
52191 * sysdeps/powerpc/powerpc64/crtn.S: New file.
52192
52193 * Makeconfig (have-initfini): Don't set.
52194 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
52195 * configure.in (nopic_initfini): Don't substitute.
52196 * config.h.in (HAVE_INITFINI): Don't #undef.
52197 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
52198 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
52199
52200 2012-02-08 Joseph Myers <joseph@codesourcery.com>
52201
52202 Support crti.S and crtn.S provided directly by architectures.
52203 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
52204 [crti.S in sysdirs] (omit-deps): Likewise.
52205 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
52206 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
52207 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
52208 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
52209 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
52210 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
52211 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
52212 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
52213 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
52214 compiler output for sysdeps/generic/initfini.c.
52215 * sysdeps/i386/elf/Makefile: Remove file.
52216 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
52217
52218 2012-02-07 Marek Polacek <polacek@redhat.com>
52219
52220 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
52221 * sysdeps/gnu/_G_config.h: Likewise.
52222 * sysdeps/mach/hurd/_G_config.h: Likewise.
52223
52224 2012-02-07 Marek Polacek <polacek@redhat.com>
52225
52226 * math/Makefile (tests): Add tst-CMPLX2.
52227 * math/tst-CMPLX2.c: New file.
52228
52229 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
52230
52231 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52232
52233 * math/libm-test.inc (jn_test): Add missing L suffix.
52234
52235 2012-02-06 Marek Polacek <polacek@redhat.com>
52236
52237 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
52238 * sysdeps/i386/fpu/e_powf.S: Likewise.
52239 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52240 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
52241 * sysdeps/i386/fpu/e_acosh.S: Likewise.
52242 * sysdeps/i386/fpu/e_pow.S: Likewise.
52243 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
52244 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52245 * sysdeps/i386/fpu/s_expm1.S: Likewise.
52246 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
52247 * sysdeps/i386/fpu/e_log2.S: Likewise.
52248 * sysdeps/i386/fpu/e_log2l.S: Likewise.
52249 * sysdeps/i386/fpu/e_scalb.S: Likewise.
52250 * sysdeps/i386/fpu/e_powl.S: Likewise.
52251 * sysdeps/i386/fpu/s_log1p.S: Likewise.
52252 * sysdeps/i386/fpu/e_log10f.S: Likewise.
52253 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
52254 * sysdeps/i386/fpu/e_logl.S: Likewise.
52255 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
52256 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
52257 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
52258 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
52259 * sysdeps/i386/fpu/e_log2f.S: Likewise.
52260 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52261 * sysdeps/i386/fpu/e_log.S: Likewise.
52262 * sysdeps/i386/fpu/s_cexp.S: Likewise.
52263 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52264 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
52265 * sysdeps/i386/fpu/e_logf.S: Likewise.
52266 * sysdeps/i386/fpu/e_log10l.S: Likewise.
52267 * sysdeps/i386/fpu/e_atanh.S: Likewise.
52268 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
52269 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
52270 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
52271 * sysdeps/i386/fpu/e_log10.S: Likewise.
52272 * sysdeps/i386/fpu/s_frexp.S: Likewise.
52273 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52274 * sysdeps/i386/fpu/s_asinh.S: Likewise.
52275 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
52276 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52277 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
52278 * sysdeps/i386/asm-syntax.h: Likewise.
52279 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52280 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52281 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52282 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
52283 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
52284 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52285 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
52286 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
52287 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52288 * sysdeps/powerpc/sysdep.h: Likewise.
52289 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
52290 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
52291
52292 2012-02-06 Joseph Myers <joseph@codesourcery.com>
52293
52294 [BZ #411]
52295 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
52296
52297 2012-02-06 Joseph Myers <joseph@codesourcery.com>
52298
52299 * sysdeps/i386/sysdep.h: Include <features.h>.
52300 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
52301 version.
52302
52303 2012-02-05 Joseph Myers <joseph@codesourcery.com>
52304
52305 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
52306 Define.
52307 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
52308 LOAD_PIC_REG_STR.
52309
52310 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52311
52312 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
52313 (SETUP_PIC_REG): Use GET_PC_THUNK.
52314 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
52315 macro.
52316
52317 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52318
52319 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
52320 for non-PIC compilation.
52321 (SETUP_PIC_REG): Add .p2align directive.
52322 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
52323 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
52324 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
52325 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
52326 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
52327 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
52328 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
52329 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52330 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
52331 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
52332 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
52333 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
52334 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
52335 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
52336 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
52337 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
52338 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
52339 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
52340 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
52341 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
52342 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
52343 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
52344 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
52345 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
52346 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
52347 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
52348 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52349 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
52350 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
52351 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
52352 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
52353 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52354 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
52355 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
52356 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
52357 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
52358 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
52359 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
52360 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
52361 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
52362 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
52363
52364 2012-02-03 Joseph Myers <joseph@codesourcery.com>
52365
52366 * math/tst-CMPLX.c: Include <stdio.h>.
52367
52368 2012-01-31 Joseph Myers <joseph@codesourcery.com>
52369
52370 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
52371 float.
52372 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52373 * sysdeps/sparc/bits/mathdef.h: Likewise.
52374
52375 2012-01-31 Marek Polacek <polacek@redhat.com>
52376
52377 * libio/libio.h: Don't define _PARAMS.
52378 * locale/programs/config.h: Don't define PARAMS.
52379 * stdlib/strtol_l.c: Likewise.
52380 (__strtol_l): Remove PARAMS from the prototype.
52381
52382 2012-01-31 Ulrich Drepper <drepper@gmail.com>
52383
52384 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
52385 names. Just use the correct names. Remove unnecessary wrapper
52386 functions.
52387 * malloc/arena.c: Likewise.
52388 * malloc/hooks.c: Likewise.
52389
52390 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
52391 ARENA_TEST says not to. Simplify test for creation of a new arena.
52392 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
52393
52394 2012-01-30 Ulrich Drepper <drepper@gmail.com>
52395
52396 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
52397 into tail calls.
52398 (update_get_addr): New function.
52399 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
52400 GET_ADDR_MODULE parameter.
52401
52402 2012-01-30 Joseph Myers <joseph@codesourcery.com>
52403
52404 * crypt/cert.c: Remove __STDC__ conditionals.
52405 * crypt/crypt-entry.c: Likewise.
52406 * crypt/crypt_util.c: Likewise.
52407 * libio/filedoalloc.c: Likewise.
52408 * libio/fileops.c: Likewise.
52409 * libio/genops.c: Likewise.
52410 * libio/iofclose.c: Likewise.
52411 * libio/iofdopen.c: Likewise.
52412 * libio/iofopen.c: Likewise.
52413 * libio/iofopen64.c: Likewise.
52414 * libio/iogetdelim.c: Likewise.
52415 * libio/iopopen.c: Likewise.
52416 * libio/obprintf.c: Likewise.
52417 * libio/oldfileops.c: Likewise.
52418 * libio/oldiofclose.c: Likewise.
52419 * libio/oldiofdopen.c: Likewise.
52420 * libio/oldiofopen.c: Likewise.
52421 * libio/oldiopopen.c: Likewise.
52422 * libio/wfiledoalloc.c: Likewise.
52423 * libio/wgenops.c: Likewise.
52424 * locale/programs/xmalloc.c: Likewise.
52425 * misc/syslog.c: Likewise.
52426 * stdio-common/xbug.c: Likewise.
52427 * string/memchr.c: Likewise.
52428 * string/memcmp.c: Likewise.
52429 * string/memrchr.c: Likewise.
52430 * string/rawmemchr.c: Likewise.
52431 * sysdeps/posix/getcwd.c: Likewise.
52432 * time/strftime_l.c: Likewise.
52433
52434 2012-01-30 Joseph Myers <joseph@codesourcery.com>
52435
52436 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
52437 * config.make.in (config-cflags-sse2avx): Define.
52438 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
52439 Fix typo.
52440
52441 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
52442
52443 * scripts/config.guess: Update from upstream config git repository.
52444 * scripts/config.sub: Likewise.
52445
52446 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
52447
52448 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
52449 (EM_NUM): Update.
52450 (R_TILEPRO_*, R_TILEGX_*): New macros.
52451
52452 * scripts/firstversions.awk: Fix bug in version range handling.
52453
52454 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
52455
52456 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
52457
52458 * include/sys/epoll.h: New file.
52459 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
52460 libc_hidden_def.
52461
52462 2012-01-28 Ulrich Drepper <drepper@gmail.com>
52463
52464 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
52465 Avoid unnecessary __WORDSIZE == 64 test.
52466 (fmaxf): Use VEX format if possible.
52467 (fmax): Likewise.
52468 (fminf): Likewise.
52469 (fmin): Likewise.
52470
52471 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
52472 * math/math_private.h: Remove libc_fegetround* and
52473 libc_fesetround*.
52474 * sysdeps/i386/configure.in: Check for -msse2avx.
52475 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
52476 also if SSE2AVX is defined.
52477 Remove libc_fegetround* and libc_fesetround*.
52478 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
52479 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
52480 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
52481 of HAS_YMM_USABLE.
52482 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52483 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52484 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52485 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52486 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52487
52488 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
52489
52490 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52491
52492 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
52493 size is not set.
52494 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52495
52496 2012-01-27 Ulrich Drepper <drepper@gmail.com>
52497
52498 [BZ #13618]
52499 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
52500 relocation.
52501 * Makeconfig (libm): Define.
52502 * elf/Makefile: Add rules to build and run tst-relsort1.
52503 * elf/tst-relsort1.c: New file.
52504 * elf/tst-relsort1mod1.c: New file.
52505 * elf/tst-relsort1mod2.c: New file.
52506
52507 2012-01-27 Joseph Myers <joseph@codesourcery.com>
52508
52509 * math/s_ldexp.c: Remove __STDC__ conditionals.
52510 * math/s_ldexpf.c: Likewise.
52511 * math/s_ldexpl.c: Likewise.
52512 * math/s_nextafter.c: Likewise.
52513 * math/s_nexttowardf.c: Likewise.
52514 * math/s_significand.c: Likewise.
52515 * math/s_significandf.c: Likewise.
52516 * math/s_significandl.c: Likewise.
52517 * math/w_jnl.c: Likewise.
52518 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
52519 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
52520 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
52521 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
52522 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
52523 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52524 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
52525 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
52526 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
52527 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
52528 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
52529 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52530 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
52531 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
52532 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
52533 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
52534 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
52535 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
52536 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52537 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52538 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52539 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52540 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52541 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52542 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52543 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52544 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52545 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52546 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
52547 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52548 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52549 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
52550 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52551 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
52552 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
52553 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52554 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
52555 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
52556 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
52557 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
52558 * sysdeps/ieee754/k_standard.c: Likewise.
52559 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52560 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52561 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
52562 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
52563 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
52564 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
52565 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52566 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
52567 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
52568 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
52569 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
52570 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
52571 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
52572 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
52573 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
52574 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
52575 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
52576 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52577 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52578 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
52579 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52580 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52581 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
52582 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
52583 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52584 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
52585 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52586 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52587 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52588 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
52589 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
52590 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
52591 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
52592 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
52593 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
52594 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
52595 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
52596 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
52597 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
52598 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
52599 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
52600 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
52601 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
52602 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
52603 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
52604 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52605 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52606 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52607 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
52608 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
52609 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
52610 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52611 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52612 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
52613 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
52614 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
52615 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
52616 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52617 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52618 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52619 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
52620 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
52621 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
52622 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52623 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
52624 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
52625 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
52626 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
52627 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
52628 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
52629 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
52630 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
52631 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
52632 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
52633 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
52634 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
52635 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
52636 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
52637 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
52638 * sysdeps/ieee754/s_matherr.c: Likewise.
52639 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
52640 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
52641 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52642 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52643
52644 2012-01-26 Joseph Myers <joseph@codesourcery.com>
52645
52646 * crypt/md5.h: Remove __STDC__ conditionals.
52647 * libio/libioP.h: Likewise.
52648 * locale/programs/config.h: Likewise.
52649 * sysdeps/generic/sysdep.h: Likewise.
52650 * sysdeps/i386/asm-syntax.h: Likewise.
52651 * sysdeps/s390/asm-syntax.h: Likewise.
52652 * sysdeps/unix/sysdep.h: Likewise.
52653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
52654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
52655
52656 2012-01-26 Joseph Myers <joseph@codesourcery.com>
52657
52658 * libio/libio.h: Remove __STDC__ conditionals.
52659 * malloc/obstack.h: Likewise.
52660 * math/complex.h: Likewise.
52661 * math/math.h: Likewise.
52662 * sysdeps/generic/_G_config.h: Likewise.
52663 * sysdeps/gnu/_G_config.h: Likewise.
52664 * sysdeps/mach/hurd/_G_config.h: Likewise.
52665 * sysdeps/powerpc/bits/mathdef.h: Likewise.
52666 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
52667 * sysdeps/sparc/bits/mathdef.h: Likewise.
52668
52669 2012-01-26 Ulrich Drepper <drepper@gmail.com>
52670
52671 [BZ #13583]
52672 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
52673 Clean up HAS_* macros.
52674 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
52675 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
52676 possible.
52677 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
52678 HAS_AVX.
52679 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52680 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52681 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52682 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52683 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52684
52685 2012-01-25 Joseph Myers <joseph@codesourcery.com>
52686
52687 * elf/tst-unique3.cc (gets): Remove declaration.
52688 * elf/tst-unique3lib.cc (gets): Likewise.
52689 * elf/tst-unique3lib2.cc (gets): Likewise.
52690 * elf/tst-unique4.cc (gets): Likewise.
52691
52692 2012-01-24 Ulrich Drepper <drepper@gmail.com>
52693
52694 * include/stdio.h: Add C++ protection. Add gets declarations and
52695 definitions.
52696 * debug/tst-chk1.c: Don't declare gets here.
52697 * stdio-common/tst-gets.c: Likewise.
52698
52699 2012-01-24 Joseph Myers <joseph@codesourcery.com>
52700
52701 * posix/glob: Remove directory.
52702
52703 2012-01-24 Joseph Myers <joseph@codesourcery.com>
52704
52705 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
52706
52707 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
52708
52709 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
52710 of the non-standard EPFNOSUPPORT.
52711
52712 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
52713
52714 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
52715 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
52716 ANYWHERE set to 1 only on KERN_NO_SPACE error.
52717
52718 2012-01-21 Ulrich Drepper <drepper@gmail.com>
52719
52720 * wcsmbs/uchar.h: Test __STDC_VERSION__.
52721
52722 2012-01-20 Ulrich Drepper <drepper@gmail.com>
52723
52724 * nscd/aicache.c (addhstaiX): Do not cache negative results of
52725 transient errors.
52726 * nscd/grpcache.c (cache_addgr): Likewise.
52727 * nscd/hstcache.c (cache_addhst): Likewise.
52728 * nscd/initgrcache.c (addinitgroupsX): Likewise.
52729 * nscd/pwdcache.c (cache_addpw): Likewise.
52730 * nscd/servicescache.c (cache_addserv): Likewise.
52731
52732 2012-01-16 Ulrich Drepper <drepper@gmail.com>
52733
52734 * malloc/malloc.c: Various cleanups.
52735 * malloc/hooks.c: Likewise.
52736
52737 * stdlib/Makefile (tests): Add bug-fmtmsg1.
52738 * stdlib/bug-fmtmsg1.c: New file.
52739
52740 * stdlib/fmtmsg.c (init): Add missing unlock.
52741 Patch by Peng Haitao <penght@cn.fujitsu.com>.
52742
52743 2012-01-12 Marek Polacek <polacek@redhat.com>
52744
52745 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
52746 and _GNU_SOURCE.
52747
52748 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52749
52750 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
52751 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
52752 macro to ensure uniqueness of label name.
52753 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52754 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52755
52756 2012-01-11 Ulrich Drepper <drepper@gmail.com>
52757
52758 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
52759
52760 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
52761 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
52762 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
52763 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
52764
52765 2012-01-10 Ulrich Drepper <drepper@gmail.com>
52766
52767 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
52768
52769 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
52770 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
52771 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
52772
52773 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
52774
52775 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
52776 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
52777 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
52778 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
52779
52780 * math/bits/math-finite.h: Add ldexp support.
52781
52782 2012-01-10 Marek Polacek <polacek@redhat.com>
52783
52784 * locale/programs/localedef.h (show_archive_content): Add noreturn
52785 attribute.
52786
52787 2012-01-09 Ulrich Drepper <drepper@gmail.com>
52788
52789 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
52790
52791 2012-01-08 Ulrich Drepper <drepper@gmail.com>
52792
52793 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
52794
52795 * io/Makefile (headers): Add bits/poll2.h.
52796
52797 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
52798
52799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
52800 typo #include statement.
52801
52802 2012-01-08 Ulrich Drepper <drepper@gmail.com>
52803
52804 * include/sys/cdefs.h: Define __attribute_alloc_size.
52805 * catgets/gencat.c: Add alloc_size attribute and apply consistently
52806 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
52807 * elf/pldd.c: Likewise.
52808 * iconv/iconv_charmap.c: Likewise.
52809 * iconv/iconvconfig.c: Likewise.
52810 * iconv/strtab.c: Likewise.
52811 * locale/programs/locale.c: Likewise.
52812 * locale/programs/localedef.h: Likewise.
52813 * locale/programs/simple-hash.c: Likewise.
52814 * nscd/nscd.h: Likewise.
52815 * nss/makedb.c: Likewise.
52816 * sysdeps/generic/ldconfig.h: Likewise.
52817 * locale/programs/localedef.c: Remove xmalloc prototype.
52818 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
52819
52820 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
52821
52822 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
52823 appropriate.
52824
52825 2012-01-08 Ulrich Drepper <drepper@gmail.com>
52826
52827 * math/Makefile (tests): Add tst-CMPLX.
52828 * math/tst-CMPLX.c: New file.
52829
52830 * math/complex.h (CMPLXL): Fix typo.
52831
52832 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
52833 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
52834 GLIBC_2.16.
52835 * debug/tst-chk1.c: Add poll and ppoll tests.
52836 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
52837 * include/sys/poll.h: Add hidden proto for ppoll.
52838 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
52839 * sysdeps/mach/hurd/ppoll.c: Likewise.
52840 * io/ppoll.c: Likewise.
52841 * debug/poll_chk.c: New file.
52842 * debug/ppoll_chk.c: New file.
52843 * include/bits/poll2.h: New file.
52844 * io/bits/poll2.h: New file.
52845
52846 [BZ #1350]
52847 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
52848
52849 * configure.in: static is always set to yes. Remove.
52850 * config.make.in: Don't set build-static.
52851 * Makeconfig: Remove use of build-static.
52852 * dlfcn/Makefile: Likewise.
52853 * elf/Makefile: Likewise.
52854 * math/Makefile: Likewise.
52855 * misc/Makefile: Likewise.
52856 * nptl/Makefile: Likewise.
52857 * sysdeps/mach/hurd/Makefile: Likewise.
52858
52859 * configure.in: PWD_P is not used anymore.
52860 * config.make.in: Remove PWD_P entry.
52861
52862 * configure.in: Remove last remnants of RANLIB.
52863 No need to check for signed size_t anymore.
52864 Don't set libc_commonpagesize and libc_relro_required here for Alpha
52865 and IA-64.
52866 Remove __builtin_expect test because we require at least gcc 3.4.
52867 * aclocal.m4: Likewise.
52868
52869 * wcsmbs/mbrtoc16.c: Implement using towc function.
52870 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
52871 * wcsmbs/wcsmbsload.c: Likewise.
52872 * iconv/gconv_simple.c: Likewise.
52873 * iconv/gconv_int.h: Likewise.
52874 * iconv/gconv_builtin.h: Likewise.
52875 * iconv/iconv_prog.c: Remove CHAR16 handling.
52876
52877 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
52878
52879 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
52880
52881 * configure.in: Remove --with-elf and --enable-bounded options.
52882 Dont set base_machine for ia64. More non-ELF conditions removed.
52883 Remove testing and setting of leading underscore information.
52884 * config.make.in (build-bounded): Set to no.
52885 * config.h.in: Remove NO_UNDERSCORES entry.
52886 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
52887 them.
52888 * csu/start.c: Remove !NO_UNDERSCORE code.
52889 * locale/localeinfo.h: Likewise.
52890 * sysdeps/generic/machine-gmon.h: Likewise.
52891 * sysdeps/generic/sysdep.h: Likewise.
52892 * sysdeps/i386/sysdep.h: Likewise.
52893 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
52894 * sysdeps/mach/sysdep.h: Likewise.
52895 * sysdeps/s390/s390-32/sysdep.h: Likewise.
52896 * sysdeps/s390/s390-64/sysdep.h: Likewise.
52897 * sysdeps/sh/sysdep.h: Likewise.
52898 * sysdeps/sparc/sparc32/alloca.S: Likewise.
52899 * sysdeps/unix/i386/sysdep.S: Likewise.
52900 * sysdeps/unix/sparc/start.c: Likewise.
52901 * sysdeps/unix/sparc/sysdep.S: Likewise.
52902 * sysdeps/unix/sparc/sysdep.h: Likewise.
52903 * sysdeps/unix/start.c: Likewise.
52904 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52905 * sysdeps/x86_64/sysdep.h: Likewise.
52906
52907 2012-01-07 Ulrich Drepper <drepper@gmail.com>
52908
52909 [BZ #13553]
52910 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
52911 for non-gcc.
52912 * argp/argp-fmtstream.h: Use const instead __const.
52913 * argp/argp.h: Likewise.
52914 * assert/assert.h: Likewise.
52915 * bits/fenv.h: Likewise.
52916 * bits/sched.h: Likewise.
52917 * bits/sigset.h: Likewise.
52918 * bits/sigthread.h: Likewise.
52919 * catgets/nl_types.h: Likewise.
52920 * conform/data/pthread.h-data: Likewise.
52921 * crypt/crypt-private.h: Likewise.
52922 * crypt/crypt.h: Likewise.
52923 * crypt/crypt_util.c: Likewise.
52924 * ctype/ctype.h: Likewise.
52925 * debug/execinfo.h: Likewise.
52926 * debug/mbsnrtowcs_chk.c: Likewise.
52927 * debug/mbsrtowcs_chk.c: Likewise.
52928 * debug/wcsnrtombs_chk.c: Likewise.
52929 * debug/wcsrtombs_chk.c: Likewise.
52930 * debug/wcstombs_chk.c: Likewise.
52931 * dirent/dirent.h: Likewise.
52932 * dlfcn/dlfcn.h: Likewise.
52933 * elf/neededtest4.c: Likewise.
52934 * grp/grp.h: Likewise.
52935 * gshadow/gshadow.h: Likewise.
52936 * iconv/gconv.h: Likewise.
52937 * iconv/gconv_int.h: Likewise.
52938 * iconv/gconv_simple.c: Likewise.
52939 * iconv/iconv.h: Likewise.
52940 * iconv/loop.c: Likewise.
52941 * iconv/skeleton.c: Likewise.
52942 * include/aio.h: Likewise.
52943 * include/aliases.h: Likewise.
52944 * include/argz.h: Likewise.
52945 * include/arpa/inet.h: Likewise.
52946 * include/assert.h: Likewise.
52947 * include/dirent.h: Likewise.
52948 * include/dlfcn.h: Likewise.
52949 * include/execinfo.h: Likewise.
52950 * include/fcntl.h: Likewise.
52951 * include/fenv.h: Likewise.
52952 * include/glob.h: Likewise.
52953 * include/grp.h: Likewise.
52954 * include/libintl.h: Likewise.
52955 * include/mntent.h: Likewise.
52956 * include/netdb.h: Likewise.
52957 * include/pwd.h: Likewise.
52958 * include/rpc/netdb.h: Likewise.
52959 * include/sched.h: Likewise.
52960 * include/search.h: Likewise.
52961 * include/shadow.h: Likewise.
52962 * include/signal.h: Likewise.
52963 * include/stdio.h: Likewise.
52964 * include/stdlib.h: Likewise.
52965 * include/string.h: Likewise.
52966 * include/sys/socket.h: Likewise.
52967 * include/sys/stat.h: Likewise.
52968 * include/sys/statfs.h: Likewise.
52969 * include/sys/statvfs.h: Likewise.
52970 * include/sys/syslog.h: Likewise.
52971 * include/sys/time.h: Likewise.
52972 * include/sys/uio.h: Likewise.
52973 * include/time.h: Likewise.
52974 * include/unistd.h: Likewise.
52975 * include/utmp.h: Likewise.
52976 * include/wchar.h: Likewise.
52977 * include/wctype.h: Likewise.
52978 * inet/aliases.h: Likewise.
52979 * inet/arpa/inet.h: Likewise.
52980 * inet/netinet/ether.h: Likewise.
52981 * inet/netinet/in.h: Likewise.
52982 * intl/libintl.h: Likewise.
52983 * io/bits/fcntl2.h: Likewise.
52984 * io/fcntl.h: Likewise.
52985 * io/ftw.h: Likewise.
52986 * io/sys/poll.h: Likewise.
52987 * io/sys/stat.h: Likewise.
52988 * io/sys/statfs.h: Likewise.
52989 * io/sys/statvfs.h: Likewise.
52990 * io/utime.h: Likewise.
52991 * libio/bits/stdio.h: Likewise.
52992 * libio/bits/stdio2.h: Likewise.
52993 * libio/libio.h: Likewise.
52994 * libio/libioP.h: Likewise.
52995 * libio/stdio.h: Likewise.
52996 * locale/lc-ctype.c: Likewise.
52997 * locale/locale.h: Likewise.
52998 * login/utmp.h: Likewise.
52999 * malloc/arena.c: Likewise.
53000 * malloc/malloc.c: Likewise.
53001 * malloc/malloc.h: Likewise.
53002 * malloc/mcheck.c: Likewise.
53003 * malloc/mtrace.c: Likewise.
53004 * math/bits/mathcalls.h: Likewise.
53005 * math/fenv.h: Likewise.
53006 * math/math_private.h: Likewise.
53007 * misc/bits/error.h: Likewise.
53008 * misc/bits/syslog.h: Likewise.
53009 * misc/err.h: Likewise.
53010 * misc/error.h: Likewise.
53011 * misc/fstab.h: Likewise.
53012 * misc/mntent.h: Likewise.
53013 * misc/regexp.h: Likewise.
53014 * misc/search.h: Likewise.
53015 * misc/sgtty.h: Likewise.
53016 * misc/sys/mman.h: Likewise.
53017 * misc/sys/syslog.h: Likewise.
53018 * misc/sys/uio.h: Likewise.
53019 * misc/sys/xattr.h: Likewise.
53020 * misc/ttyent.h: Likewise.
53021 * nis/rpcsvc/ypclnt.h: Likewise.
53022 * nss/nss.h: Likewise.
53023 * posix/bits/unistd.h: Likewise.
53024 * posix/fnmatch.h: Likewise.
53025 * posix/glob.h: Likewise.
53026 * posix/sched.h: Likewise.
53027 * posix/spawn.h: Likewise.
53028 * posix/sys/wait.h: Likewise.
53029 * posix/unistd.h: Likewise.
53030 * posix/wordexp.h: Likewise.
53031 * pwd/pwd.h: Likewise.
53032 * resolv/netdb.h: Likewise.
53033 * resource/sys/resource.h: Likewise.
53034 * rt/aio.h: Likewise.
53035 * rt/bits/mqueue2.h: Likewise.
53036 * rt/mqueue.h: Likewise.
53037 * shadow/shadow.h: Likewise.
53038 * signal/signal.h: Likewise.
53039 * socket/send.c: Likewise.
53040 * socket/sendto.c: Likewise.
53041 * socket/sys/socket.h: Likewise.
53042 * stdio-common/printf.h: Likewise.
53043 * stdlib/bits/stdlib.h: Likewise.
53044 * stdlib/fmtmsg.h: Likewise.
53045 * stdlib/monetary.h: Likewise.
53046 * stdlib/stdlib.h: Likewise.
53047 * stdlib/ucontext.h: Likewise.
53048 * streams/stropts.h: Likewise.
53049 * string/argz.h: Likewise.
53050 * string/bits/string2.h: Likewise.
53051 * string/string.h: Likewise.
53052 * string/strings.h: Likewise.
53053 * sunrpc/rpc/auth.h: Likewise.
53054 * sunrpc/rpc/auth_des.h: Likewise.
53055 * sunrpc/rpc/clnt.h: Likewise.
53056 * sunrpc/rpc/netdb.h: Likewise.
53057 * sunrpc/rpc/pmap_clnt.h: Likewise.
53058 * sunrpc/rpc/xdr.h: Likewise.
53059 * sysdeps/generic/inttypes.h: Likewise.
53060 * sysdeps/generic/net/if.h: Likewise.
53061 * sysdeps/generic/sys/swap.h: Likewise.
53062 * sysdeps/gnu/net/if.h: Likewise.
53063 * sysdeps/gnu/utmpx.h: Likewise.
53064 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
53065 * sysdeps/i386/i486/bits/string.h: Likewise.
53066 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
53067 * sysdeps/s390/bits/string.h: Likewise.
53068 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
53069 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
53070 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
53071 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
53072 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
53073 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
53074 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
53075 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
53076 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
53077 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
53078 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
53079 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53080 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
53081 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53082 * sysdeps/unix/sysv/linux/readv.c: Likewise.
53083 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
53084 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53085 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53086 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
53087 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
53088 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53089 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
53090 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
53091 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
53092 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
53093 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
53094 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
53095 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53096 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
53097 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
53098 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
53099 * sysvipc/sys/ipc.h: Likewise.
53100 * sysvipc/sys/msg.h: Likewise.
53101 * sysvipc/sys/sem.h: Likewise.
53102 * sysvipc/sys/shm.h: Likewise.
53103 * termios/termios.h: Likewise.
53104 * time/sys/time.h: Likewise.
53105 * time/time.h: Likewise.
53106 * wcsmbs/bits/wchar2.h: Likewise.
53107 * wcsmbs/uchar.h: Likewise.
53108 * wcsmbs/wchar.h: Likewise.
53109 * wctype/wctype.h: Likewise.
53110
53111 [BZ #13551]
53112 * Makeconfig: Remove all but ELF support including AIX support.
53113 * Makerules: Likewise.
53114 * config.h.in: Likewise.
53115 * config.make.in: Likewise.
53116 * configure: Likewise.
53117 * configure.in: Likewise.
53118 * csu/Makefile: Likewise.
53119 * csu/version.c: Likewise.
53120 * debug/Makefile: Likewise.
53121 * dlfcn/Makefile: Likewise.
53122 * elf/Makefile: Likewise.
53123 * extra-lib.mk: Likewise.
53124 * iconv/Makefile: Likewise.
53125 * include/libc-symbols.h: Likewise.
53126 * include/shlib-compat.h: Likewise.
53127 * resolv/Makefile: Likewise.
53128 * resolv/res_libc.c: Likewise.
53129 * rt/Makefile: Likewise.
53130 * sysdeps/i386/asm-syntax.h: Likewise.
53131 * sysdeps/i386/sysdep.h: Likewise.
53132 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53133 * sysdeps/mach/sysdep.h: Likewise.
53134 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
53135 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
53136 * sysdeps/s390/asm-syntax.h: Likewise.
53137 * sysdeps/s390/s390-32/sysdep.h: Likewise.
53138 * sysdeps/s390/s390-64/sysdep.h: Likewise.
53139 * sysdeps/sh/sysdep.h: Likewise.
53140 * sysdeps/unix/sparc/sysdep.h: Likewise.
53141 * sysdeps/wordsize-32/divdi3.c: Likewise.
53142 * sysdeps/x86_64/sysdep.h: Likewise.
53143
53144 * argp/Versions: Remove _argp_unlock_xxx.
53145
53146 [BZ #13559]
53147 * abilist/ld.abilist: Update. Adjust for removal of tls option.
53148 * abilist/libBrokenLocale.abilist: Likewise.
53149 * abilist/libanl.abilist: Likewise.
53150 * abilist/libc.abilist: Likewise.
53151 * abilist/libcrypt.abilist: Likewise.
53152 * abilist/libdl.abilist: Likewise.
53153 * abilist/libm.abilist: Likewise.
53154 * abilist/libnsl.abilist: Likewise.
53155 * abilist/libpthread.abilist: Likewise.
53156 * abilist/libresolv.abilist: Likewise.
53157 * abilist/librt.abilist: Likewise.
53158 * abilist/libthread_db.abilist: Likewise.
53159 * abilist/libutil.abilist: Likewise.
53160 * abilist/libnss_db.abilist: New file.
53161
53162 * scripts/abilist.awk: Add support for indirect functions.
53163
53164 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
53165
53166 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
53167
53168 * shlib-versions: Remove entries for ports architectures.
53169
53170 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
53171 files in ports.
53172 * elf/stackguard-macros.h: Remove support for IA-64.
53173 * elf/tst-auditmod1.c: Likewise.
53174 * sysdeps/generic/ldsodefs.h: Likewise.
53175
53176 * sysdeps/unix/sysv/linux/configure.in: Ports should define
53177 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
53178 configure files.
53179
53180 [BZ #13552]
53181 * configure.in: Remove --enable-omitfp support.
53182 * FAQ.in: Adjust.
53183 * config.make.in: Likewise.
53184 * Makeconfig: Likewise.
53185 * manual/install.texi: Likewise.
53186
53187 In case anyone cares, the IA-64 architecture could move to ports.
53188 * sysdeps/ia64/*: Removed.
53189 * sysdeps/unix/sysv/linux/ia64/*: Removed.
53190 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
53191
53192 [BZ #13555]
53193 * configure.in: Remove entries for unsupported architectures.
53194
53195 [BZ #13533]
53196 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
53197 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
53198 routines.
53199 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
53200 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
53201 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
53202 fall back to using wcrtomb.
53203 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
53204 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
53205 renaming.
53206 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
53207 * wcsmbs/tst-c16c32-1.c: New file.
53208
53209 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
53210 local variable.
53211
53212 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
53213
53214 * elf/tst-unique3.cc: Add explicit declaration of gets.
53215 * elf/tst-unique3lib.cc: Likewise.
53216 * elf/tst-unique3lib2.cc: Likewise.
53217 * elf/tst-unique4.cc: Likewise.
53218
53219 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
53220
53221 2012-01-06 Joseph Myers <joseph@codesourcery.com>
53222
53223 [BZ #13566]
53224 * assert/assert.h (static_assert): Don't define for C++.
53225 * libio/stdio.h (gets): Do declare for C++ <= C++11.
53226 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
53227
53228 2012-01-03 Ulrich Drepper <drepper@gmail.com>
53229
53230 * iconv/loop.c (single loop): Fix assertion in storing of
53231 remaining bytes.
53232
53233 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
53234
53235 2012-01-01 Ulrich Drepper <drepper@gmail.com>
53236
53237 * posix/getconf.c: Update copyright year.
53238 * nss/getent.c: Likewise.
53239 * nss/makedb.c: Likewise.
53240 * iconv/iconvconfig.c: Likewise.
53241 * iconv/iconv_prog.c: Likewise.
53242 * elf/ldconfig.c: Likewise.
53243 * elf/pldd.c: Likewise.
53244 * elf/sotruss.ksh: Likewise.
53245 * catgets/gencat.c: Likewise.
53246 * csu/version.c: Likewise.
53247 * elf/ldd.bash.in: Likewise.
53248 * elf/sprof.c (print_version): Likewise.
53249 * locale/programs/locale.c: Likewise.
53250 * locale/programs/localedef.c: Likewise.
53251 * login/programs/pt_chown.c: Likewise.
53252 * nscd/nscd.c (print_version): Likewise.
53253 * debug/xtrace.sh: Likewise.
53254 * malloc/memusage.sh: Likewise.
53255 * malloc/mtrace.pl: Likewise.
53256 * debug/catchsegv.sh: Likewise.
53257
53258 2011-12-30 Jakub Jelinek <jakub@redhat.com>
53259
53260 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
53261 pure attribute.
53262
53263 2011-12-24 Ulrich Drepper <drepper@gmail.com>
53264
53265 [BZ #13533]
53266 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
53267 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
53268 transformations.
53269 * iconv/gconv_int.h: Likewise.
53270 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
53271 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
53272 from libc for GLIBC_2.16.
53273 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
53274 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
53275 * wcsmbs/uchar.h: Really define mbstate_t.
53276 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
53277 * wcsmbs/c16rtomb.c: New file.
53278 * wcsmbs/mbrtoc16.c: New file.
53279 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
53280 for C/POSIX locale.
53281 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
53282 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
53283
53284 * wcsmbs/wchar.h: Add missing __restrict.
53285
53286 2011-12-23 Ulrich Drepper <drepper@gmail.com>
53287
53288 [BZ #13532]
53289 * time/Makefile (routines): Add timespec_get.
53290 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
53291 * time/time.h: Define TIME_UTC and declare timespec_get. Define
53292 timespec for ISO C11.
53293 * time/timespec_get.c: New file.
53294 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
53295 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
53296
53297 [BZ #13531]
53298 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
53299 * stdlib/stdlib.h: Declare aligned_alloc.
53300 * Versions.def: Add GLIBC_2.16 for libc.
53301 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
53302
53303 [BZ 13527]
53304 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
53305 ISO C11.
53306
53307 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
53308 code.
53309
53310 [BZ #13528]
53311 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
53312
53313 [BZ #13529]
53314 * assert/assert.h (static_assert): Define.
53315
53316 * version.h: Update for 2.16 development version.
53317
53318 [BZ #13526]
53319 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
53320 _ISOC11_SOURCE.
53321
53322 * version.h (RELEASE): Bump for 2.15 release.
53323 * include/features.h (__GLIBC_MINOR__): Bump to 15.
53324
53325 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
53326 Patch by Marek Polacek <mpolacek@redhat.com>.
53327
53328 * bits/byteswap.h: Protect long long constants with __extension__.
53329 * sysdeps/i386/bits/byteswap.h: Likewise.
53330 * sysdeps/ia64/bits/byteswap.h: Likewise.
53331 * sysdeps/s390/bits/byteswap.h: Likewise.
53332 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53333
53334 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53335
53336 [BZ #13540]
53337 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
53338 destination buffer.
53339 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
53340
53341 2011-12-23 Marek Polacek <polacek@redhat.com>
53342
53343 * elf/dl-addr.c (determine_info): Add inline keyword.
53344 * elf/tst-auditmod4b.c (check_avx): Likewise.
53345 * elf/tst-auditmod6b.c (check_avx): Likewise.
53346 * elf/tst-auditmod6c.c (check_avx): Likewise.
53347 * elf/tst-auditmod7b.c (check_avx): Likewise.
53348
53349 2011-12-23 Ulrich Drepper <drepper@gmail.com>
53350
53351 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
53352 !__SSE_MATH__.
53353
53354 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53355
53356 [BZ #13540]
53357 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
53358 processing for last bytes.
53359
53360 2011-08-06 Bruno Haible <bruno@clisp.org>
53361
53362 [BZ #13061]
53363 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
53364 U+0385, not to U+1FEE.
53365
53366 [BZ #13062]
53367 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
53368 entry for U+00A5 U+0301.
53369
53370 2011-12-22 Ulrich Drepper <drepper@gmail.com>
53371
53372 [BZ #13166]
53373 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
53374 buffer for the output is too small.
53375
53376 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
53377 optimization.
53378
53379 [BZ #13185]
53380 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
53381 SSE flags if possible.
53382
53383 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53384
53385 [BZ #13540]
53386 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
53387 processing for last bytes.
53388
53389 2011-12-22 Joseph Myers <joseph@codesourcery.com>
53390
53391 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
53392 (syscall-list-default-options, syscall-list-default-condition)
53393 (syscall-list-includes): Define.
53394 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
53395 list of ABIs and options and #if conditions for each ABI. Do not
53396 handle common syscalls between ABIs specially.
53397 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
53398 Remove.
53399 (syscall-list-variants, syscall-list-32bit-options)
53400 (syscall-list-32bit-condition, syscall-list-64bit-options)
53401 (syscall-list-64bit-condition): Define.
53402 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
53403 (syscall-list-variants, syscall-list-32bit-options)
53404 (syscall-list-32bit-condition, syscall-list-64bit-options)
53405 (syscall-list-64bit-condition): Define.
53406 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
53407 Remove.
53408 (syscall-list-variants, syscall-list-32bit-options)
53409 (syscall-list-32bit-condition, syscall-list-64bit-options)
53410 (syscall-list-64bit-condition): Define.
53411 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
53412 Remove.
53413 (syscall-list-variants, syscall-list-32bit-options)
53414 (syscall-list-32bit-condition, syscall-list-64bit-options)
53415 (syscall-list-64bit-condition): Define.
53416
53417 2011-12-22 Ulrich Drepper <drepper@gmail.com>
53418
53419 * locale/iso-639.def: Add brx entry.
53420
53421 [BZ #13328]
53422 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
53423 Proposed by Mariusz_Cukr <marcukr@op.pl>.
53424
53425 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
53426 __feraiseexcept_renamed.
53427
53428 2011-12-21 Ulrich Drepper <drepper@gmail.com>
53429
53430 [BZ #13538]
53431 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
53432 EPOLLET with unsigned values.
53433 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53434 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53435
53436 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
53437 to large cancellation.
53438 * math/s_cacoshf.c: Likewise.
53439 * math/s_cacoshl.c: Likewise.
53440
53441 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
53442
53443 [BZ #13305]
53444 [BZ #12786]
53445 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
53446 * math/s_cacoshf.c: Likewise.
53447 * math/s_cacoshl.c: Likewise.
53448
53449 2011-12-21 Ulrich Drepper <drepper@gmail.com>
53450
53451 [BZ #13439]
53452 * iconv/gconv.h: Define __GCONV_SWAP.
53453 * iconvdata/unicode.c: The swap bit must be stored in __flags.
53454 * iconvdata/utf-16.c: Likewise.
53455 * iconvdata/utf-32.c: Likewise.
53456
53457 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
53458
53459 [BZ #13524]
53460 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
53461 numerator after shifting it by one limb.
53462
53463 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
53464
53465 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
53466 under [__USE_EXTERN_INLINES].
53467
53468 2011-12-17 Ulrich Drepper <drepper@gmail.com>
53469
53470 [BZ #13446]
53471 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
53472
53473 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53474
53475 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
53476 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
53477 optimized code.
53478 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
53479 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
53480 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
53481 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
53482 for strncasecmp/strncasecmp_l compilation.
53483 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
53484 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
53485
53486 2011-12-08 Marek Polacek <mpolacek@redhat.com>
53487
53488 [BZ #13484]
53489 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
53490 of __asm__.
53491
53492 2011-12-17 Ulrich Drepper <drepper@gmail.com>
53493
53494 [BZ #13506]
53495 * time/tzfile.c (__tzfile_read): Check values from file header.
53496
53497 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
53498
53499 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
53500 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
53501 * powerpc/powerpc32/dl-start.S: Likewise.
53502 * powerpc/powerpc32/elf/start.S: Likewise.
53503 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
53504 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
53505 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
53506 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
53507 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
53508 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
53509 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
53510 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
53511 * powerpc/powerpc32/fpu/s_round.S: Likewise.
53512 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
53513 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
53514 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
53515 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
53516 * powerpc/powerpc32/memset.S: Likewise.
53517 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
53518 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
53519 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
53520 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
53521 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
53522 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
53523 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
53524 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
53525 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
53526 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
53527 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
53528 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53529 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53530
53531 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53532
53533 * math/libm-test.inc: Added more nearbyint tests.
53534 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
53535 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
53536 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
53537 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
53538
53539 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
53540
53541 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
53542 FD_CLOEXEC.
53543
53544 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53545
53546 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
53547 Add wcscpy-ssse3 wcscpy-c.
53548 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
53549 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
53550 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
53551 * sysdeps/x86_64/wcschr.S: New file.
53552 * sysdeps/x86_64/wcsrchr.S: New file.
53553 * string/test-strcmp.c: Remove checking of wcscmp function for
53554 wrong alignments.
53555 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
53556 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
53557 wcsrchr-sse2 wcsrchr-c.
53558 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
53559 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
53560 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
53561 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
53562 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
53563 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
53564 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
53565 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
53566 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
53567 * wcsmbc/wcschr.c (WCSCHR): New macro.
53568
53569 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53570
53571 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
53572 * wcsmbs/test-wcsrchr.c: New file.
53573 * string/test-strrchr.c: Add wcsrchr support.
53574 (WIDE): New macro.
53575 * wcsmbs/test-wcscpy.c: New file.
53576 * string/test-strcpy.c: Add wcscpy support.
53577 (WIDE): New macro.
53578
53579 2011-12-10 Ulrich Drepper <drepper@gmail.com>
53580
53581 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
53582 the inner loop.
53583
53584 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
53585
53586 [BZ #13472]
53587 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
53588
53589 2011-12-04 Ulrich Drepper <drepper@gmail.com>
53590
53591 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
53592 Minor optimizations.
53593
53594 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
53595 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
53596 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
53597
53598 2011-12-03 Ulrich Drepper <drepper@gmail.com>
53599
53600 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
53601 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
53602 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
53603 for gcc to avoid warnings.
53604 * inet/Makefile (tests): Add tst-checks.
53605 * inet/tst-checks.c: New file.
53606
53607 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
53608 warning.
53609
53610 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
53611 __wmemcmp_sse2.
53612
53613 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
53614 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
53615
53616 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
53617
53618 2011-12-02 Ulrich Drepper <drepper@gmail.com>
53619
53620 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
53621 problem.
53622
53623 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
53624
53625 2011-11-29 Joseph Myers <joseph@codesourcery.com>
53626
53627 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
53628 conditional on GCC version.
53629 (__arch_compare_and_exchange_val_8_acq)
53630 (__arch_compare_and_exchange_val_16_acq)
53631 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
53632 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
53633 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
53634
53635 2011-12-02 Joseph Myers <joseph@codesourcery.com>
53636
53637 * sysdeps/sh/backtrace.c: New file.
53638
53639 2011-12-02 Andreas Schwab <schwab@redhat.com>
53640
53641 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
53642 parenthesis.
53643
53644 2011-12-01 Andreas Schwab <schwab@redhat.com>
53645
53646 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
53647 falling back to utime.
53648
53649 2011-11-30 Andreas Schwab <schwab@redhat.com>
53650
53651 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
53652 expectations for float.
53653
53654 2011-11-29 Andreas Schwab <schwab@redhat.com>
53655
53656 * locale/weight.h (findidx): Add parameter len.
53657 * locale/weightwc.h (findidx): Likewise.
53658 * posix/fnmatch_loop.c (FCT): Adjust caller.
53659 * posix/regcomp.c (build_equiv_class): Likewise.
53660 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
53661 * posix/regexec.c (check_node_accept_bytes): Likewise.
53662 * string/strcoll_l.c (STRCOLL): Likewise.
53663 * string/strxfrm_l.c (STRXFRM): Likewise.
53664
53665 2011-11-17 Ulrich Drepper <drepper@gmail.com>
53666
53667 * Makefile.in: Remove CVSOPT handling.
53668 * configure.in: Remove use of AC_REVISION.
53669 * iconvdata/Makefile (distribute): No need to filter out CVS.
53670 * scripts/list-sources.sh: Remove CVS, subversion and monotone
53671 handling.
53672
53673 2011-11-16 Andreas Schwab <schwab@redhat.com>
53674
53675 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
53676 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
53677 [USE_AS_STRNCASECMP_L]: Likewise.
53678 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
53679 NO_TLS_DIRECT_SEG_REFS.
53680 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
53681 Fix argument offsets for non-PIC.
53682 [USE_AS_STRNCASECMP_L]: Likewise.
53683 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
53684 NO_TLS_DIRECT_SEG_REFS.
53685
53686 2011-11-15 Ulrich Drepper <drepper@gmail.com>
53687
53688 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
53689 O_CLOEXEC.
53690 * locale/loadlocale.c (_nl_load_locale): Likewise.
53691
53692 2011-11-15 Andreas Schwab <schwab@redhat.com>
53693
53694 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
53695 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
53696 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
53697 (SYSCALL_GETTIME): Set errno on error.
53698
53699 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
53700 count references to noai6ai_cached.
53701
53702 2011-11-15 Ulrich Drepper <drepper@gmail.com>
53703
53704 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
53705
53706 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
53707 FD_CLOEXEC for /proc/self/maps.
53708
53709 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
53710 FD_CLOEXEC for /proc/meminfo.
53711
53712 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
53713 gai.conf.
53714
53715 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
53716 FD_CLOEXEC for given file.
53717
53718 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
53719
53720 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
53721 FD_CLOEXEC for /etc/hosts.
53722 (_gethtent): Likewise.
53723
53724 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
53725
53726 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
53727 cancellation and set FD_CLOEXEC for /etc/netgroup.
53728
53729 * nss/nss_files/files-key.c (search): Don't allow cancellation when
53730 reading /etc/publickey.
53731
53732 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
53733 allow cancellation when reading /etc/group.
53734
53735 * nss/nss_files/files-alias.c (internal_setent): Don't allow
53736 cancellation.
53737 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
53738
53739 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
53740 when using data file.
53741
53742 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
53743
53744 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
53745 (write_nis_obj): Use "c" and "e" in fopen.
53746
53747 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
53748
53749 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
53750
53751 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
53752
53753 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
53754
53755 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
53756 locale.alias.
53757
53758 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
53759
53760 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
53761
53762 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
53763
53764 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
53765 file parsing and set FD_CLOEXEC.
53766
53767 2011-11-14 Ulrich Drepper <drepper@gmail.com>
53768
53769 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
53770
53771 2011-11-14 Andreas Schwab <schwab@redhat.com>
53772
53773 * malloc/arena.c (arena_get2): Don't call reused_arena when
53774 _int_new_arena failed.
53775
53776 2011-11-14 Ulrich Drepper <drepper@gmail.com>
53777
53778 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
53779 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
53780 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
53781 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53782 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53783 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
53784 to compile strcasecmp and strncasecmp.
53785 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
53786 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
53787
53788 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
53789
53790 2011-11-13 Ulrich Drepper <drepper@gmail.com>
53791
53792 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
53793 locale-defines.sym to gen-as-const-headers.
53794 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
53795 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
53796 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
53797 to compile strcasecmp and strncasecmp.
53798 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
53799 strcasecmp_l and strncasecmp_l.
53800 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
53801 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
53802 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
53803 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
53804 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
53805 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
53806 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
53807 * sysdeps/i386/i686/multiarch/strncase.S: New file.
53808 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
53809 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
53810 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
53811
53812 2011-11-12 Ulrich Drepper <drepper@gmail.com>
53813
53814 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
53815 result of SYSDEP_GETTIME_CPU to retval.
53816 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
53817 parameter list to macro. Remove trailing semicolon. Adjust users.
53818
53819 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
53820 variable.
53821
53822 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
53823 mantissa words.
53824 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
53825
53826 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
53827 from unused variable.
53828
53829 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
53830 DWARF definitions.
53831 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
53832 for assembling.
53833
53834 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
53835 over namespaces.
53836
53837 * sunrpc/rpc_prot.c (rejected): Fix case value.
53838
53839 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
53840 unsigned long long int to avoid warnings in shift.
53841
53842 * posix/regex_internal.c (re_string_reconstruct): Actually use result
53843 of use of trans.
53844 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
53845 variable tmp.
53846
53847 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
53848 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
53849 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
53850
53851 * nis/nis_table.c (nis_list): Use variable of correct type for
53852 result of __follow_path call.
53853
53854 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53855
53856 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
53857 of math functions ceil, trunc, floor, round, and sqrt, when
53858 avaliable on the platform.
53859 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
53860 name clash.
53861 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53862 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53863 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53864
53865 2011-10-30 Marek Polacek <mpolacek@redhat.com>
53866
53867 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
53868 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
53869
53870 2011-11-11 Roland McGrath <roland@hack.frob.com>
53871
53872 * include/unistd.h: Fix __readlink return type.
53873 Reported by Chris Metcalf <cmetcalf@tilera.com>.
53874
53875 2011-11-11 Ulrich Drepper <drepper@gmail.com>
53876
53877 * stdlib/ucontext.h: Undo last change for makecontext.
53878
53879 2011-11-11 Andreas Schwab <schwab@redhat.com>
53880
53881 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
53882
53883 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
53884 * setjmp/setjmp.h: Mark functions as non-leaf.
53885 * setjmp/bits/setjmp2.h: Likewise.
53886 * stdlib/ucontext.h: Likewise.
53887
53888 2011-11-10 Andreas Schwab <schwab@redhat.com>
53889
53890 * malloc/arena.c (_int_new_arena): Don't increment narenas.
53891 (reused_arena): Don't check arena limit.
53892 (arena_get2): Atomically check arena limit.
53893
53894 2011-11-08 Ulrich Drepper <drepper@gmail.com>
53895
53896 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
53897 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
53898
53899 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
53900 instructions.
53901
53902 2011-11-07 Andreas Schwab <schwab@redhat.com>
53903
53904 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
53905 handler when locking.
53906
53907 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53908 Fix size of allocated buffer.
53909
53910 2011-11-04 Andreas Schwab <schwab@redhat.com>
53911
53912 [BZ #10103]
53913 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
53914 declarations for long double functions.
53915 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
53916
53917 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
53918
53919 2011-11-03 Andreas Schwab <schwab@redhat.com>
53920
53921 * nscd/nscd.c (main): Don't start AVC thread until credentials are
53922 installed.
53923
53924 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
53925 is disabled.
53926
53927 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
53928
53929 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
53930
53931 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
53932
53933 * include/alloca.h (stackinfo_alloca_round): Define.
53934 (extend_alloca): Use it.
53935 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
53936 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
53937 here.
53938
53939 * scripts/check-local-headers.sh: Ignore libaudit.h.
53940
53941 * nscd/Makefile (extra-objs): Make recursively expanded.
53942
53943 2011-11-01 Ulrich Drepper <drepper@gmail.com>
53944
53945 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
53946 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53947
53948 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
53949 * posix/tst-rfc3484-2.c: Likewise.
53950 * posix/tst-rfc3484-3.c: Likewise.
53951
53952 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
53953 process_vm_writev.
53954 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
53955 process_vm_writev.
53956 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
53957 process_vm_writev from libc using GLIBC_2.15 version.
53958
53959 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
53960
53961 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
53962
53963 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
53964 stack usage.
53965
53966 2011-10-31 Ulrich Drepper <drepper@gmail.com>
53967
53968 [BZ #13367]
53969 * nss/getent.c (initgroups_keys): Show error message in case no group
53970 names are given.
53971
53972 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
53973 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
53974 __bump_nl_timestamp.
53975 * nscd/connections (nscd_init): When host database is served open
53976 netlink socket and request notification about configuration changes.
53977 (main_loop_poll): Track netlink file descriptor and bump timestamp
53978 in case data becomes available.
53979 (main_loop_epoll): Likewise.
53980 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
53981 (database_pers_head): Add extra_data fileds.
53982 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
53983 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
53984 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
53985 Adjust caller.
53986 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
53987 in6ai data, call __free_in6ai.
53988 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
53989 Add -DHAVE_NETLINK.
53990 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
53991 interface information. Reuse previous data if netlink timestamp
53992 is not changed.
53993 (__bump_nl_timestamp): New function.
53994 (__free_in6ai): New function.
53995
53996 2011-10-30 Ulrich Drepper <drepper@gmail.com>
53997
53998 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
53999 close_not_cancel_no_status here.
54000 (__check_pf): Reorganize code a bit to not call close twice if OOM.
54001
54002 2011-10-29 Ulrich Drepper <drepper@gmail.com>
54003
54004 [BZ #13276]
54005 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
54006 return value.
54007
54008 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
54009 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
54010 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
54011
54012 2011-07-03 Andreas Jaeger <aj@suse.de>
54013
54014 [BZ #10709]
54015 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
54016 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
54017 * math/libm-test.inc (sin_test): Add test case.
54018
54019 2011-10-29 Ulrich Drepper <drepper@gmail.com>
54020
54021 [BZ #13337]
54022 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
54023 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54024
54025 * elf/chroot_canon.c (chroot_canon): Cleanups.
54026
54027 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
54028
54029 [BZ #13335]
54030 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
54031 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54032
54033 * string/test-strchr.c: Make usable for strchrnul testing.
54034 * string/test-strchrnul.c: New file.
54035 * string/Makefile (strop-tests): Add strchrnul.
54036
54037 * po/it.po: Update from translation team.
54038 * po/es.po: Likewise.
54039
54040 2011-10-28 Ulrich Drepper <drepper@gmail.com>
54041
54042 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
54043 the three constants needed as parameters. Drop the others.
54044 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
54045 __m128i_strloadu_tolower.
54046 Create and initialize variable zero and use it in all the places
54047 where _mm_setzero_si128 was used.
54048
54049 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
54050 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
54051 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
54052 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
54053 anymore.
54054 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
54055 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
54056 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
54057 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
54058 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
54059 __mpranred, __mptan.
54060 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
54061 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
54062 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
54063 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
54064 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
54065 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
54066 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
54067 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
54068 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
54069
54070 2011-10-28 Andreas Schwab <schwab@redhat.com>
54071
54072 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
54073 redefine if SHARED.
54074 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
54075
54076 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
54077 wide char related routines to wcsmbs subdir.
54078
54079 2011-10-27 Andreas Schwab <schwab@redhat.com>
54080
54081 [BZ #13344]
54082 * misc/sys/cdefs.h (__THROWNL): Define.
54083 * posix/unistd.h: Use __THREADNL instead of __THREAD
54084 for memory synchronization functions.
54085
54086 2011-10-26 Roland McGrath <roland@hack.frob.com>
54087
54088 [BZ #13349]
54089 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
54090 doesn't exist.
54091 * manual/stdio.texi (Obstack Streams): Node removed.
54092
54093 2011-10-26 Andreas Schwab <schwab@redhat.com>
54094
54095 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
54096 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54097 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54098
54099 * math/math_private.h (math_force_eval): Allow non-addressable
54100 arguments.
54101 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
54102
54103 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54104
54105 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
54106 file is not needed.
54107
54108 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
54109 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
54110 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54111 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54112 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54113 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54114 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54115 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
54116 Add AVX variants.
54117 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
54118 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
54119 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
54120 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
54121 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
54122 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
54123 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
54124 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
54125 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
54126 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
54127 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
54128 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
54129 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
54130 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
54131 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
54132 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
54133 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
54134 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
54135 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
54136
54137 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
54138 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
54139
54140 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
54141 place. Use VEX encoding when compiling for AVX.
54142
54143 2011-10-25 Andreas Schwab <schwab@redhat.com>
54144
54145 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
54146 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54147
54148 * string/test-strchr.c (do_test): Don't generate NUL bytes.
54149
54150 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54151
54152 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
54153 useless if() expression.
54154 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54155 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54156 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54157 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54158 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54159 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54160 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54161 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54162 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54163 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54164 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54165 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54166 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54167 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54168 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54169 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54170 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54171 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54172 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54173
54174 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
54175
54176 2011-10-25 Andreas Schwab <schwab@redhat.com>
54177
54178 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
54179 condition.
54180 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54181
54182 2011-10-25 Ulrich Drepper <drepper@gmail.com>
54183
54184 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
54185 .text section. Avoid duplicate constants.
54186 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54187 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54188 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54189 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54190 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54191 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54192 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54193 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54194 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
54195 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
54196 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
54197 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
54198 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
54199 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
54200 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
54201 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
54202 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
54203 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
54204 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
54205 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54206 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
54207 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
54208 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
54209 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
54210 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
54211 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
54212 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
54213 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
54214 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
54215 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
54216 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
54217 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
54218 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54219 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
54220 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
54221 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
54222 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
54223 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
54224 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
54225 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
54226 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
54227 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
54228 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
54229 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
54230 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
54231
54232 2011-10-24 Ulrich Drepper <drepper@gmail.com>
54233
54234 * sysdeps/x86_64/dla.h: Move to ...
54235 * sysdeps/x86_64/fpu/dla.h: ...here.
54236 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
54237 situations. Use __builtin_fma only for gcc 4.6 and up.
54238
54239 * config.make.in: Add have-mfma4 entry.
54240 * configure.in: Substitute libc_cv_cc_fma4.
54241 * math/Makefile (dbl-only-routines): Add sincostab.
54242 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
54243 Use __sincostab not sincos.
54244 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
54245 name is a macro.
54246 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54247 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54248 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54249 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
54250 using __copysign.
54251 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
54252 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
54253 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
54254 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
54255 and __inv.
54256 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
54257 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
54258 __copysign.
54259 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
54260 define aliases when function name is a macro.
54261 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
54262 sysdeps/ieee754/dbl-64/sincos.tbl.
54263 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
54264 fma4-enabled routines.
54265 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
54266 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
54267 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
54268 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
54269 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
54270 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
54271 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
54272 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
54273 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
54274 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
54275 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
54276 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
54277 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
54278 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
54279 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
54280 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
54281 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
54282 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
54283 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
54284 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
54285 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
54286 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
54287 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
54288 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
54289 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
54290 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
54291 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
54292 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
54293 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
54294 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
54295
54296 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
54297 rename.
54298 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54299 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54300 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54301 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54302 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54303 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54304 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54305 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54306
54307 2011-10-24 Andreas Schwab <schwab@redhat.com>
54308
54309 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
54310
54311 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54312
54313 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
54314
54315 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
54316 prediction.
54317 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
54318
54319 * string/strnlen.c: Don't define STRNLEN, reverse logic.
54320 Remove unused variable magic_bits.
54321 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
54322
54323 * string/strnlen.c: Define and use STRNLEN macro.
54324 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
54325 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
54326 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
54327 * wcsmbs/wcslen.c: Define and use WCSLEN.
54328 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
54329 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
54330 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
54331 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
54332 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
54333 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
54334 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
54335
54336 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54337
54338 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54339 strnlen-sse2-no-bsf.
54340 Rename strlen-no-bsf to strlen-sse2-no-bsf.
54341 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
54342 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
54343 Add strnlen support.
54344 (USE_AS_STRNLEN): New macro.
54345 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
54346 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
54347 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
54348 * sysdeps/x86_64/wcslen.S: New file.
54349
54350 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
54351
54352 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
54353 XMM-moves are used for copying on small sizes.
54354
54355 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54356
54357 * wcsmbs/Makefile (strop-tests): Add wcschr.
54358 * wcsmbs/test-wcschr.c: New file.
54359 * string/test-strchr.c: Update.
54360 Add wcschr support.
54361 (WIDE): New macro.
54362
54363 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54364
54365 * wcsmbs/Makefile (strop-tests): Add wcslen.
54366 * wcsmbs/test-wcslen.c: New file.
54367 * string/test-strlen.c: Update.
54368 Add wcslen support.
54369 (WIDE): New macro.
54370
54371 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54372
54373 * po/it.po: Update from translation team.
54374
54375 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54376
54377 * sysdeps/x86_64/wcscmp.S: Update.
54378 Fix wrong comparison semantics.
54379 wcscmp shall use signed comparison not unsigned.
54380 Don't use substraction to avoid overflow bug.
54381 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
54382 * wcsmbc/wcscmp.c: Likewise.
54383 * string/test-strcmp.c: Likewise.
54384 Add new tests to check cases with negative values.
54385
54386 2011-10-23 Ulrich Drepper <drepper@gmail.com>
54387
54388 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
54389 * sysdeps/x86_64/dla.h: ...here. New file.
54390 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
54391 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54392 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54393 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54394 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54395 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54396 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54397 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54398 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54399
54400 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
54401
54402 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
54403 __ynl_finite aliases.
54404
54405 2011-10-22 Ulrich Drepper <drepper@gmail.com>
54406
54407 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54408
54409 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
54410 define DLA_FMA.
54411 [DLA_FMA] (EMULV): Use DLA_FMA.
54412 [DLA_FMA] (MUL12): Use EMULV.
54413 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
54414 that are not needed.
54415 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54416 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54417 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54418 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54419 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54420 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
54421 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
54422
54423 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
54424
54425 * math/s_nan.c: Undef __nan.
54426 * math/s_nanf.c: Undef __nanf.
54427 * math/s_nanl.c: Undef __nanl.
54428 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
54429 "math_private.h".
54430
54431 2011-10-22 Ulrich Drepper <drepper@gmail.com>
54432
54433 * math/s_catan.c: Add branch predictions.
54434 * math/s_catanf.c: Likewise.
54435 * math/s_catanh.c: Likewise.
54436 * math/s_catanhf.c: Likewise.
54437 * math/s_catanhl.c: Likewise.
54438 * math/s_catanl.c: Likewise.
54439 * math/s_cexp.c: Likewise.
54440 * math/s_cexpf.c: Likewise.
54441 * math/s_cexpl.c: Likewise.
54442 * math/s_clog.c: Likewise.
54443 * math/s_clog10.c: Likewise.
54444 * math/s_clog10f.c: Likewise.
54445 * math/s_clog10l.c: Likewise.
54446 * math/s_clogf.c: Likewise.
54447 * math/s_clogl.c: Likewise.
54448 * math/s_csqrt.c: Likewise.
54449 * math/s_csqrtf.c: Likewise.
54450 * math/s_csqrtl.c: Likewise.
54451 * math/s_ctanf.c: Likewise.
54452 * math/s_ctanh.c: Likewise.
54453 * math/s_ctanhf.c: Likewise.
54454 * math/s_ctanhl.c: Likewise.
54455 * math/s_ctanl.c: Likewise.
54456
54457 * math/math_private.h: Define __nan, __nanf, __nanl.
54458 * math/s_cacosh.c: Include <math_private.h>.
54459 * math/s_cacoshl.c: Likewise.
54460 * math/s_casinh.c: Likewise.
54461 * math/s_casinhf.c: Likewise.
54462 * math/s_casinhl.c: Likewise.
54463 * math/s_ccos.c: Rely entire on ccosh.
54464 * math/s_ccosf.c: Rely entire on ccoshf.
54465 * math/s_ccosl.c: Rely entirely on ccoshl.
54466 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
54467 Remove tests for FE_INVALID.
54468 * math/s_ccoshf.c: Likewise.
54469 * math/s_ccoshl.c: Likewise.
54470 * math/s_csin.c: Likewise.
54471 * math/s_csinf.c: Likewise.
54472 * math/s_csinh.c Likewise.
54473 * math/s_csinhf.c: Likewise.
54474 * math/s_csinhl.c: Likewise.
54475 * math/s_csinl.c: Likewise.
54476 * math/s_ctan.c: Likewise.
54477 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
54478 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
54479 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
54480
54481 2011-10-21 Ulrich Drepper <drepper@gmail.com>
54482
54483 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
54484 compilation problems.
54485
54486 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
54487 __builtin_expect.
54488
54489 2011-10-20 Ulrich Drepper <drepper@gmail.com>
54490
54491 * sysdeps/i386/configure.in: Test for -mfma4 option.
54492 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
54493 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
54494 COMMON_CPUID_INDEX_80000001.
54495 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
54496 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
54497 use it if FMA3 is not supported.
54498 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
54499
54500 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
54501 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
54502
54503 2011-10-20 Andreas Schwab <schwab@redhat.com>
54504
54505 [BZ #12892]
54506 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
54507 it would create a cycle with a link time dependency.
54508
54509 2011-10-19 Ulrich Drepper <drepper@gmail.com>
54510
54511 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
54512 instruction.
54513 * string/Makefile (strop-tests): Add rawmemchr.
54514 * string/test-rawmemchr.c: New file.
54515
54516 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
54517 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
54518 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
54519 when compiling str{,n}casecmp and when AVX is available. Hook up
54520 new optimized code in initializers.
54521
54522 2011-10-19 Andreas Schwab <schwab@redhat.com>
54523
54524 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
54525 __feraiseexcept instead of feraiseexcept.
54526
54527 2011-10-18 Ulrich Drepper <drepper@gmail.com>
54528
54529 * math/math_private.h: Define defaults for libc_fetestexcept and
54530 libc_feupdateenv.
54531 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
54532 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
54533 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54534 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54535 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
54536 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54537 libc_fetestexcept and libc_feupdateenv.
54538
54539 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
54540 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
54541 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
54542 * sysdeps/x86_64/fpu/math_private.h: Define special version of
54543 libc_feholdexcept_setround.
54544
54545 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
54546 Add s_nearbyint-c and s_nearbyintf-c.
54547 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
54548 nearbyintf inlines.
54549 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
54550 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
54551 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
54552 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
54553
54554 * math/math_private.h: Define defaults for libc_fegetround,
54555 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
54556 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
54557 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
54558 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
54559 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
54560 standard functions.
54561 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54562 Remove comments and hacks for old compiler versions.
54563 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
54564 libc_fegetround, libc_fesetround, libc_feholdexcept, and
54565 libc_feholdexceptl.
54566
54567 2011-10-18 Andreas Schwab <schwab@redhat.com>
54568
54569 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
54570 (__feraiseexcept_renamed): Add __NTH.
54571 (feraiseexcept): Add __NTH. Rename local variables to fix
54572 namespace violations.
54573
54574 2011-10-17 Ulrich Drepper <drepper@gmail.com>
54575
54576 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
54577
54578 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
54579
54580 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
54581 recently added interfaces.
54582 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
54583
54584 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
54585 about macro parameter expansion.
54586
54587 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
54588 __NO_MATH_INLINES is defined. Cleanups.
54589
54590 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
54591 and __floorf is target has SSE4.1.
54592 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
54593 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
54594 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
54595 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
54596
54597 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
54598 name.
54599 (floorf): Likewise.
54600
54601 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
54602
54603 2011-10-17 Andreas Schwab <schwab@redhat.com>
54604
54605 * misc/sys/cdefs.h: Fix last change.
54606
54607 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
54608 database lookup.
54609
54610 2011-10-16 Ulrich Drepper <drepper@gmail.com>
54611
54612 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
54613
54614 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
54615 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54616 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
54617 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54618 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54619 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
54620 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54621 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54622 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
54623 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
54624 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
54625 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
54626 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
54627 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
54628 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
54629 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
54630 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
54631 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
54632 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
54633 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
54634 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
54635 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
54636
54637 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
54638 ceil, ceilf, floor, floorf.
54639
54640 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
54641 Perform IRELATIVE relocations last.
54642
54643 * elf/do-rel.h: Add another parameter nrelative, replacing the
54644 local variable with the same name. Change name of the function
54645 to end in Rel or Rela (uppercase).
54646 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
54647 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
54648 elf_dynamic_do_##reloc function.
54649
54650 2011-10-15 Ulrich Drepper <drepper@gmail.com>
54651
54652 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
54653 is sufficient, at least on modern CPUs.
54654
54655 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
54656
54657 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
54658 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
54659
54660 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
54661 __expl_finite.
54662 * math/bits/math-finite.h: Add entries for exp.
54663 * math/e_expl.c: Add __*_finite alias.
54664 * sysdeps/i386/fpu/e_exp.S: Likewise.
54665 * sysdeps/i386/fpu/e_expf.S: Likewise.
54666 * sysdeps/i386/fpu/e_expl.c: Likewise.
54667 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54668 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
54669 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
54670 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
54671 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
54672 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
54673 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
54674
54675 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
54676 is sufficient, at least on modern CPUs.
54677
54678 * ctype/ctype-info.c (__ctype_init): Define.
54679 * include/ctype.h (__ctype_init): Declare.
54680 (__ctype_b_loc): The variable is always initialized.
54681 (__ctype_toupper_loc): Likewise.
54682 (__ctype_tolower_loc): Likewise.
54683 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
54684 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
54685
54686 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
54687
54688 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
54689
54690 * configure.in: Also look in $cxxmachine/include for C++ system
54691 headers.
54692
54693 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54694
54695 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
54696 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
54697 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
54698 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
54699 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
54700 (USE_AS_WMEMCMP): New macro.
54701 Fixing indents.
54702 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
54703 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
54704 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
54705 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
54706 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54707 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
54708 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
54709 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
54710 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
54711 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
54712 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
54713 (USE_AS_WMEMCMP): New macro.
54714 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
54715 * sysdeps/string/test-memcmp.c: Update.
54716 Fix simple_wmemcmp.
54717 Add new tests.
54718 * wcsmbs/wmemcmp.c: Update.
54719 (WMEMCMP): New macro.
54720 Fix overflow bug.
54721
54722 2011-10-12 Andreas Jaeger <aj@suse.de>
54723
54724 [BZ #13268]
54725 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
54726
54727 2011-10-15 Ulrich Drepper <drepper@gmail.com>
54728
54729 * libio/iofwide.c (do_length): Avoid warning.
54730
54731 * ctype/ctype.h (__isctype_f): Add missing __THROW.
54732
54733 2011-10-14 Ulrich Drepper <drepper@gmail.com>
54734
54735 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
54736
54737 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
54738 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
54739 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
54740 * sysdeps/i386/i686/fpu/e_log.S: New file.
54741 * sysdeps/i386/i686/fpu/e_logf.S: New file.
54742 * sysdeps/i386/i686/fpu/e_logl.S: New file.
54743
54744 * ctype/ctype.h: Add support for inlined isXXX functions when
54745 compiling C++ code.
54746
54747 2011-10-14 Andreas Schwab <schwab@redhat.com>
54748
54749 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54750
54751 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
54752
54753 2011-10-13 Roland McGrath <roland@hack.frob.com>
54754
54755 [BZ #13291]
54756 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
54757
54758 2011-10-13 Andreas Schwab <schwab@redhat.com>
54759
54760 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
54761 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
54762 feraiseexcept.
54763
54764 * sysdeps/x86_64/memrchr.S: Check for zero size.
54765
54766 * string/stratcliff.c: Add memrchr tests.
54767
54768 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54769
54770 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54771 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
54772 rawmemchr-sse2 rawmemchr-sse2-bsf.
54773 * sysdeps/i386/i686/multiarch/memchr.S: New file.
54774 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
54775 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
54776 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
54777 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
54778 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
54779 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
54780 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
54781 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
54782 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
54783 * string/memrchr.c (MEMRCHR): New macro.
54784
54785 2011-10-12 Ulrich Drepper <drepper@gmail.com>
54786
54787 Add integration with gcc's -ffinite-math-only and optimize wrapper
54788 functions in libm.
54789 * Versions.def: Define GLIBC_2.15 version for libm.
54790 * math/Makefile (headers): Add bits/math-finite.h.
54791 * math/bits/math-finite.h: New file.
54792 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
54793 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
54794 * math/e_acoshl.c: Add __*_finite alias.
54795 * math/e_acosl.c: Likewise.
54796 * math/e_asinl.c: Likewise.
54797 * math/e_atan2l.c: Likewise.
54798 * math/e_atanhl.c: Likewise.
54799 * math/e_coshl.c: Likewise.
54800 * math/e_exp10.c: Likewise.
54801 * math/e_exp10f.c: Likewise.
54802 * math/e_exp10l.c: Likewise.
54803 * math/e_exp2l.c: Likewise.
54804 * math/e_fmodl.c: Likewise.
54805 * math/e_gammal_r.c: Likewise.
54806 * math/e_hypotl.c: Likewise.
54807 * math/e_j0l.c: Likewise.
54808 * math/e_j1l.c: Likewise.
54809 * math/e_jnl.c: Likewise.
54810 * math/e_lgammal_r.c: Likewise.
54811 * math/e_log10l.c: Likewise.
54812 * math/e_log2l.c: Likewise.
54813 * math/e_logl.c: Likewise.
54814 * math/e_powl.c: Likewise.
54815 * math/e_sinhl.c: Likewise.
54816 * math/e_sqrtl.c: Likewise.
54817 * math/e_scalb.c: Completely rewritten and optimized.
54818 * math/e_scalbf.c: Likewise.
54819 * math/e_scalbl.c: Likewise.
54820 * math/w_acos.c: Likewise.
54821 * math/w_acosf.c: Likewise.
54822 * math/w_acosl.c: Likewise.
54823 * math/w_acosh.c: Likewise.
54824 * math/w_acoshf.c: Likewise.
54825 * math/w_acoshl.c: Likewise.
54826 * math/w_asin.c: Likewise.
54827 * math/w_asinf.c: Likewise.
54828 * math/w_asinl.c: Likewise.
54829 * math/w_atan2.c: Likewise.
54830 * math/w_atan2f.c: Likewise.
54831 * math/w_atan2l.c: Likewise.
54832 * math/w_atanh.c: Likewise.
54833 * math/w_atanhf.c: Likewise.
54834 * math/w_atanhl.c: Likewise.
54835 * math/w_exp10.c: Likewise.
54836 * math/w_exp10f.c: Likewise.
54837 * math/w_exp10l.c: Likewise.
54838 * math/w_fmod.c: Likewise.
54839 * math/w_fmodf.c: Likewise.
54840 * math/w_fmodl.c: Likewise.
54841 * math/w_j0.c: Likewise.
54842 * math/w_j0f.c: Likewise.
54843 * math/w_j0l.c: Likewise.
54844 * math/w_j1.c: Likewise.
54845 * math/w_j1f.c: Likewise.
54846 * math/w_j1l.c: Likewise.
54847 * math/w_jn.c: Likewise.
54848 * math/w_jnf.c: Likewise.
54849 * math/w_log.c: Likewise.
54850 * math/w_logf.c: Likewise.
54851 * math/w_logl.c: Likewise.
54852 * math/w_log10.c: Likewise.
54853 * math/w_log10f.c: Likewise.
54854 * math/w_log10l.c: Likewise.
54855 * math/w_log2.c: Likewise.
54856 * math/w_log2f.c: Likewise.
54857 * math/w_log2l.c: Likewise.
54858 * math/w_pow.c: Likewise.
54859 * math/w_powf.c: Likewise.
54860 * math/w_powl.c: Likewise.
54861 * math/w_remainder.c: Likewise.
54862 * math/w_remainderf.c: Likewise.
54863 * math/w_remainderl.c: Likewise.
54864 * math/w_scalb.c: Likewise.
54865 * math/w_scalbf.c: Likewise.
54866 * math/w_scalbl.c: Likewise.
54867 * math/w_sqrt.c: Likewise.
54868 * math/w_sqrtf.c: Likewise.
54869 * math/w_sqrtl.c: Likewise.
54870 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
54871 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
54872 used.
54873 * math/math_private.h: Declare __kernel_standard_f.
54874 * math/w_cosh.c: Remove cruft and optimize a bit.
54875 * math/w_coshf.c: Likewise.
54876 * math/w_coshl.c: Likewise.
54877 * math/w_exp2.c: Likewise.
54878 * math/w_exp2f.c: Likewise.
54879 * math/w_exp2l.c: Likewise.
54880 * math/w_hypot.c: Likewise.
54881 * math/w_hypotf.c: Likewise.
54882 * math/w_hypotl.c: Likewise.
54883 * math/w_lgamma.c: Likewise.
54884 * math/w_lgamma_r.c: Likewise.
54885 * math/w_lgammaf.c: Likewise.
54886 * math/w_lgammaf_r.c: Likewise.
54887 * math/w_lgammal.c: Likewise.
54888 * math/w_lgammal_r.c: Likewise.
54889 * math/w_sinh.c: Likewise.
54890 * math/w_sinhf.c: Likewise.
54891 * math/w_sinhl.c: Likewise.
54892 * math/w_tgamma.c: Likewise.
54893 * math/w_tgammaf.c: Likewise.
54894 * math/w_tgammal.c: Likewise.
54895 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
54896 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54897 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
54898 Minor optimizations. Pretty printing. Remove cruft.
54899 * sysdeps/i386/fpu/e_acosf.S: Likewise.
54900 * sysdeps/i386/fpu/e_acosh.S: Likewise.
54901 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
54902 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
54903 * sysdeps/i386/fpu/e_acosl.c: Likewise.
54904 * sysdeps/i386/fpu/e_asin.S: Likewise.
54905 * sysdeps/i386/fpu/e_asinf.S: Likewise.
54906 * sysdeps/i386/fpu/e_atan2.S: Likewise.
54907 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
54908 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
54909 * sysdeps/i386/fpu/e_atanh.S: Likewise.
54910 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
54911 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
54912 * sysdeps/i386/fpu/e_exp10.S: Likewise.
54913 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
54914 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
54915 * sysdeps/i386/fpu/e_exp2.S: Likewise.
54916 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
54917 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
54918 * sysdeps/i386/fpu/e_fmod.S: Likewise.
54919 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
54920 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
54921 * sysdeps/i386/fpu/e_hypot.S: Likewise.
54922 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
54923 * sysdeps/i386/fpu/e_log.S: Likewise.
54924 * sysdeps/i386/fpu/e_log10.S: Likewise.
54925 * sysdeps/i386/fpu/e_log10f.S: Likewise.
54926 * sysdeps/i386/fpu/e_log10l.S: Likewise.
54927 * sysdeps/i386/fpu/e_log2.S: Likewise.
54928 * sysdeps/i386/fpu/e_log2f.S: Likewise.
54929 * sysdeps/i386/fpu/e_log2l.S: Likewise.
54930 * sysdeps/i386/fpu/e_logf.S: Likewise.
54931 * sysdeps/i386/fpu/e_logl.S: Likewise.
54932 * sysdeps/i386/fpu/e_pow.S: Likewise.
54933 * sysdeps/i386/fpu/e_powf.S: Likewise.
54934 * sysdeps/i386/fpu/e_powl.S: Likewise.
54935 * sysdeps/i386/fpu/e_remainder.S: Likewise.
54936 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
54937 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
54938 * sysdeps/i386/fpu/e_scalb.S: Likewise.
54939 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
54940 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
54941 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
54942 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
54943 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
54944 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
54945 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54946 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54947 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
54948 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
54949 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
54950 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
54951 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
54952 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54953 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
54954 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
54955 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
54956 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54957 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
54958 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
54959 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54960 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
54961 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
54962 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
54963 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
54964 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
54965 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
54966 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
54967 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
54968 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
54969 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
54970 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
54971 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
54972 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
54973 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
54974 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54975 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
54976 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54977 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
54978 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
54979 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
54980 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
54981 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
54982 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
54983 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
54984 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
54985 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
54986 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
54987 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
54988 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
54989 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
54990 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
54991 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
54992 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
54993 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
54994 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
54995 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
54996 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
54997 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54998 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
54999 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55000 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55001 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55002 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55003 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55004 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55005 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55006 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55007 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55008 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55009 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55010 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55011 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55012 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
55013 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55014 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55015 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55016 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55017 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55018 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55019 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55020 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55021 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55022 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55023 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55024 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55025 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55026 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
55027 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55028 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55029 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55030 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55031 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55032 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55033 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55034 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55035 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55036 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55037 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55038 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55039 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55040 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55041 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
55042 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
55043 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
55044 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
55045 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
55046 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
55047 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
55048 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55049 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55050 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55051 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55052 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
55053 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55054 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
55055 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
55056 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
55057 (__isnanf): Likewise.
55058 (__isinf_ns): Likewise.
55059 (__isinf_nsf): Likewise.
55060 (__finite): Likewise.
55061 (__finitef): Likewise.
55062 (__ieee754_sqrt): Define as macro.
55063 (__ieee754_sqrtf): Define as macro.
55064 (__ieee754_sqrtl): Define as macro.
55065 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
55066 inlined copy.
55067 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
55068 __FINITE_MATH_ONLY__ consistent.
55069 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
55070
55071 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
55072
55073 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
55074 of rawmemchr.
55075
55076 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
55077
55078 2011-10-09 Ulrich Drepper <drepper@gmail.com>
55079
55080 * po/ja.po: Update from translation team.
55081
55082 2011-10-08 Roland McGrath <roland@hack.frob.com>
55083
55084 * locale/programs/locarchive.c (prepare_address_space): New function.
55085 (create_archive, enlarge_archive, open_archive): Use it.
55086
55087 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
55088 inside [SHARED], where it is used.
55089
55090 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
55091
55092 * nss/getent.c (netgroup_keys): Remove unused variable.
55093 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55094
55095 2011-10-08 Ulrich Drepper <drepper@gmail.com>
55096
55097 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
55098 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
55099 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
55100 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
55101 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
55102 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
55103 * math/Makefile (libm-calls): Add s_isinf_ns.
55104 * math/divtc3.c: Use __isinf_nsl instead of isinf.
55105 * math/multc3.c: Likewise.
55106 * math/s_casin.c: Likewise.
55107 * math/s_casinf.c: Likewise.
55108 * math/s_casinl.c: Likewise.
55109 * math/s_ccos.c: Likewise.
55110 * math/s_ccosf.c: Likewise.
55111 * math/s_ccosl.c: Likewise.
55112 * math/s_ctan.c: Likewise.
55113 * math/s_ctanf.c: Likewise.
55114 * math/s_ctanh.c: Likewise.
55115 * math/s_ctanhf.c: Likewise.
55116 * math/s_ctanhl.c: Likewise.
55117 * math/s_ctanl.c: Likewise.
55118 * math/w_fmod.c: Likewise.
55119 * math/w_fmodf.c: Likewise.
55120 * math/w_fmodl.c: Likewise.
55121 * math/w_remainder.c: Likewise.
55122 * math/w_remainderf.c: Likewise.
55123 * math/w_remainderl.c: Likewise.
55124 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
55125 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
55126 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
55127 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
55128 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
55129 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
55130 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
55131 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
55132
55133 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
55134 of the number.
55135 * stdio-common/printf_fphex.c: Likewise.
55136 * stdio-common/printf_size.c: Likewise.
55137
55138 * math/e_exp10.c: Include math_private.h using <...> not "...".
55139 * math/e_exp10f.c: Likewise.
55140 * math/e_exp10l.c: Likewise.
55141 * math/e_exp2l.c: Likewise.
55142 * math/e_j0l.c: Likewise.
55143 * math/e_j1l.c: Likewise.
55144 * math/e_jnl.c: Likewise.
55145 * math/e_lgammal_r.c: Likewise.
55146 * math/e_rem_pio2l.c: Likewise.
55147 * math/e_scalb.c: Likewise.
55148 * math/e_scalbf.c: Likewise.
55149 * math/e_scalbl.c: Likewise.
55150 * math/k_cosl.c: Likewise.
55151 * math/k_sinl.c: Likewise.
55152 * math/k_tanl.c: Likewise.
55153 * math/s_cacoshf.c: Likewise.
55154 * math/s_catan.c: Likewise.
55155 * math/s_catanf.c: Likewise.
55156 * math/s_catanh.c: Likewise.
55157 * math/s_catanhf.c: Likewise.
55158 * math/s_catanhl.c: Likewise.
55159 * math/s_catanl.c: Likewise.
55160 * math/s_ccosh.c: Likewise.
55161 * math/s_ccoshf.c: Likewise.
55162 * math/s_ccoshl.c: Likewise.
55163 * math/s_cexp.c: Likewise.
55164 * math/s_cexpf.c: Likewise.
55165 * math/s_cexpl.c: Likewise.
55166 * math/s_clog.c: Likewise.
55167 * math/s_clog10.c: Likewise.
55168 * math/s_clog10f.c: Likewise.
55169 * math/s_clog10l.c: Likewise.
55170 * math/s_clogf.c: Likewise.
55171 * math/s_clogl.c: Likewise.
55172 * math/s_csin.c: Likewise.
55173 * math/s_csinf.c: Likewise.
55174 * math/s_csinh.c: Likewise.
55175 * math/s_csinhf.c: Likewise.
55176 * math/s_csinhl.c: Likewise.
55177 * math/s_csinl.c: Likewise.
55178 * math/s_csqrt.c: Likewise.
55179 * math/s_csqrtf.c: Likewise.
55180 * math/s_csqrtl.c: Likewise.
55181 * math/s_ctan.c: Likewise.
55182 * math/s_ctanf.c: Likewise.
55183 * math/s_ctanh.c: Likewise.
55184 * math/s_ctanhf.c: Likewise.
55185 * math/s_ctanhl.c: Likewise.
55186 * math/s_ctanl.c: Likewise.
55187 * math/s_ldexp.c: Likewise.
55188 * math/s_ldexpf.c: Likewise.
55189 * math/s_ldexpl.c: Likewise.
55190 * math/s_significand.c: Likewise.
55191 * math/s_significandf.c: Likewise.
55192 * math/s_significandl.c: Likewise.
55193 * math/w_acos.c: Likewise.
55194 * math/w_acosf.c: Likewise.
55195 * math/w_acosh.c: Likewise.
55196 * math/w_acoshf.c: Likewise.
55197 * math/w_acoshl.c: Likewise.
55198 * math/w_acosl.c: Likewise.
55199 * math/w_asin.c: Likewise.
55200 * math/w_asinf.c: Likewise.
55201 * math/w_asinl.c: Likewise.
55202 * math/w_atan2.c: Likewise.
55203 * math/w_atan2f.c: Likewise.
55204 * math/w_atan2l.c: Likewise.
55205 * math/w_atanh.c: Likewise.
55206 * math/w_atanhf.c: Likewise.
55207 * math/w_atanhl.c: Likewise.
55208 * math/w_cosh.c: Likewise.
55209 * math/w_coshf.c: Likewise.
55210 * math/w_coshl.c: Likewise.
55211 * math/w_dremf.c: Likewise.
55212 * math/w_exp10.c: Likewise.
55213 * math/w_exp10f.c: Likewise.
55214 * math/w_exp10l.c: Likewise.
55215 * math/w_exp2.c: Likewise.
55216 * math/w_exp2f.c: Likewise.
55217 * math/w_fmod.c: Likewise.
55218 * math/w_fmodf.c: Likewise.
55219 * math/w_fmodl.c: Likewise.
55220 * math/w_hypot.c: Likewise.
55221 * math/w_hypotf.c: Likewise.
55222 * math/w_hypotl.c: Likewise.
55223 * math/w_j0.c: Likewise.
55224 * math/w_j0f.c: Likewise.
55225 * math/w_j0l.c: Likewise.
55226 * math/w_j1.c: Likewise.
55227 * math/w_j1f.c: Likewise.
55228 * math/w_j1l.c: Likewise.
55229 * math/w_jn.c: Likewise.
55230 * math/w_jnf.c: Likewise.
55231 * math/w_jnl.c: Likewise.
55232 * math/w_lgamma.c: Likewise.
55233 * math/w_lgamma_r.c: Likewise.
55234 * math/w_lgammaf.c: Likewise.
55235 * math/w_lgammaf_r.c: Likewise.
55236 * math/w_lgammal.c: Likewise.
55237 * math/w_lgammal_r.c: Likewise.
55238 * math/w_log.c: Likewise.
55239 * math/w_log10.c: Likewise.
55240 * math/w_log10f.c: Likewise.
55241 * math/w_log10l.c: Likewise.
55242 * math/w_log2.c: Likewise.
55243 * math/w_log2f.c: Likewise.
55244 * math/w_log2l.c: Likewise.
55245 * math/w_logf.c: Likewise.
55246 * math/w_logl.c: Likewise.
55247 * math/w_pow.c: Likewise.
55248 * math/w_powf.c: Likewise.
55249 * math/w_powl.c: Likewise.
55250 * math/w_remainder.c: Likewise.
55251 * math/w_remainderf.c: Likewise.
55252 * math/w_remainderl.c: Likewise.
55253 * math/w_scalb.c: Likewise.
55254 * math/w_scalbf.c: Likewise.
55255 * math/w_scalbl.c: Likewise.
55256 * math/w_sinh.c: Likewise.
55257 * math/w_sinhf.c: Likewise.
55258 * math/w_sinhl.c: Likewise.
55259 * math/w_sqrt.c: Likewise.
55260 * math/w_sqrtf.c: Likewise.
55261 * math/w_sqrtl.c: Likewise.
55262 * math/w_tgamma.c: Likewise.
55263 * math/w_tgammaf.c: Likewise.
55264 * math/w_tgammal.c: Likewise.
55265
55266 * po/ja.po: Update from translation team.
55267
55268 2011-09-29 Andreas Jaeger <aj@suse.de>
55269
55270 [BZ #13179]
55271 * sunrpc/netname.c (netname2host): Fix logic.
55272
55273 [BZ #6779]
55274 [BZ #6783]
55275 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
55276 correctly.
55277 * math/w_remainder.c (__remainder): Likewise.
55278 * math/w_remainderf.c (__remainderf): Likewise.
55279 * math/libm-test.inc (remainder_test): Add test cases.
55280
55281 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55282
55283 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
55284 sdiv_qrnnd.
55285
55286 2011-10-07 Ulrich Drepper <drepper@gmail.com>
55287
55288 * string/test-memcmp.c: Avoid unncessary #defines.
55289 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55290
55291 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55292
55293 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
55294 Use new sse2 version for core i3 - i7 as it's faster
55295 than sse42 version.
55296 (bit_Prefer_PMINUB_for_stringop): New.
55297 * sysdeps/x86_64/rawmemchr.S: Update.
55298 Replace with faster SSE2 version.
55299 * sysdeps/x86_64/memrchr.S: New file.
55300 * sysdeps/x86_64/memchr.S: Update.
55301 Replace with faster SSE2 version.
55302
55303 2011-09-12 Marek Polacek <mpolacek@redhat.com>
55304
55305 * elf/dl-load.c (lose): Add cast to avoid warning.
55306
55307 2011-10-07 Ulrich Drepper <drepper@gmail.com>
55308
55309 * po/ca.po: Update from translation team.
55310
55311 * inet/getnetgrent_r.c: Hook up nscd.
55312 * nscd/Makefile (routines): Add nscd_netgroup.
55313 (nscd-modules): Add netgroupcache.
55314 (CFLAGS-netgroupcache.c): Define.
55315 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
55316 (cache_search): Add const to second parameter.
55317 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
55318 INNETGR.
55319 (dbs): Add netgrdb entry.
55320 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
55321 (verify_persistent_db): Handle netgrdb.
55322 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
55323 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
55324 GETFDNETGR.
55325 (netgroup_response_header): Define.
55326 (innetgroup_response_header): Define.
55327 (datahead): Add netgroup_response_header and innetgroup_response_header
55328 elements.
55329 * nscd/nscd.conf: Add entries for netgroup cache.
55330 * nscd/nscd.h (dbtype): Add netgrdb.
55331 (_PATH_NSCD_NETGROUP_DB): Define.
55332 (netgroup_iov_disabled): Declare.
55333 (xmalloc, xcalloc, xrealloc): Move declarations here.
55334 (cache_search): Adjust prototype.
55335 Add netgroup-related prototypes.
55336 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
55337 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
55338 (__nscd_innetgr): Declare.
55339 * nscd/selinux.c (perms): Use access_vector_t as element type and
55340 add netgroup-related initializers.
55341 * nscd/netgroupcache.c: New file.
55342 * nscd/nscd_netgroup.c: New file.
55343 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
55344 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
55345 For four parameters use innetgr.
55346 * nss/nss_files/files-init.c: Add definition and callback for netgr.
55347 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
55348 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
55349 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
55350
55351 * nscd/connections.c (register_traced_file): Don't register file
55352 for disabled databases.
55353
55354 2011-10-06 Ulrich Drepper <drepper@gmail.com>
55355
55356 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
55357
55358 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
55359 from tree and freeing node.
55360
55361 2011-09-25 Jiri Olsa <jolsa@redhat.com>
55362
55363 * nss/nsswitch.c (__nss_database_lookup): Handle
55364 nss_parse_service_list out of memory case.
55365
55366 2011-09-15 Jiri Olsa <jolsa@redhat.com>
55367
55368 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
55369 out of memory case.
55370
55371 2011-10-04 Andreas Schwab <schwab@redhat.com>
55372
55373 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
55374 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
55375 pass it down.
55376 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
55377 elf_machine_rela, elf_machine_lazy_rel.
55378 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
55379 (ELF_DYNAMIC_DO_REL): Likewise.
55380 (ELF_DYNAMIC_DO_RELA): Likewise.
55381 (ELF_DYNAMIC_RELOCATE): Likewise.
55382 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
55383 to ELF_DYNAMIC_DO_REL.
55384 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
55385 (dl_main): In trace mode always set __RTLD_NOIFUNC.
55386 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
55387 elf_machine_rela.
55388 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
55389 skip_ifunc, don't call ifunc function if non-zero.
55390 (elf_machine_rela): Likewise.
55391 (elf_machine_lazy_rel): Likewise.
55392 (elf_machine_lazy_rela): Likewise.
55393 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
55394 (elf_machine_lazy_rel): Likewise.
55395 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
55396 Likewise.
55397 (elf_machine_lazy_rel): Likewise.
55398 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55399 Likewise.
55400 (elf_machine_lazy_rel): Likewise.
55401 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
55402 (elf_machine_lazy_rel): Likewise.
55403 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
55404 (elf_machine_lazy_rel): Likewise.
55405 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55406 (elf_machine_lazy_rel): Likewise.
55407 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
55408 (elf_machine_lazy_rel): Likewise.
55409 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
55410 (elf_machine_lazy_rel): Likewise.
55411 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55412 (elf_machine_lazy_rel): Likewise.
55413
55414 2011-09-28 Ulrich Drepper <drepper@gmail.com>
55415
55416 * nss/nss_files/files-init.c (_nss_files_init): Use static
55417 initialization for all the *_traced_file variables.
55418
55419 2011-09-28 Andreas Schwab <schwab@redhat.com>
55420
55421 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55422
55423 2011-09-27 Roland McGrath <roland@hack.frob.com>
55424
55425 [BZ #13226]
55426 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
55427
55428 2011-09-27 Andreas Schwab <schwab@redhat.com>
55429
55430 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
55431 Reread the line before reparsing it.
55432
55433 2011-09-26 Andreas Schwab <schwab@redhat.com>
55434
55435 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
55436
55437 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
55438 Maxim Kuvyrkov <maxim@codesourcery.com>
55439 Joseph Myers <joseph@codesourcery.com>
55440
55441 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
55442 if needed for __stack_chk_guard.
55443
55444 2011-09-19 Roland McGrath <roland@hack.frob.com>
55445
55446 * sysdeps/posix/spawni.c (script_execute): Always define it.
55447 It will be optimized away if unused.
55448 (maybe_script_execute): New function.
55449 (__spawni): Call it.
55450
55451 * Makerules: Don't include tls.make.
55452 (config-tls): Always set to thread.
55453 * tls.make.c: File removed.
55454
55455 2011-09-19 Mike Frysinger <vapier@gentoo.org>
55456
55457 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
55458 * config.make.in (CPPFLAGS-config): New substituted variable.
55459
55460 2011-09-15 Ulrich Drepper <drepper@gmail.com>
55461
55462 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
55463
55464 [BZ #13192]
55465 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
55466 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
55467
55468 2011-09-15 Roland McGrath <roland@hack.frob.com>
55469
55470 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
55471 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
55472 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55473 (CALL_FAIL): Likewise.
55474 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
55475 (CALL_FAIL): Macro removed.
55476 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
55477
55478 2011-09-15 Ulrich Drepper <drepper@gmail.com>
55479
55480 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
55481 for __FINITE_MATH_ONLY__ == 1.
55482
55483 2011-09-15 Andreas Schwab <schwab@redhat.com>
55484
55485 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
55486 __ieee754_sqrt instead of sqrt.
55487 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
55488 __ieee754_sqrtf instead of sqrtf.
55489 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
55490 __floorf instead of floorf.
55491 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
55492 __floorf, __truncf instead of floorf, truncf.
55493
55494 2011-09-14 Ulrich Drepper <drepper@gmail.com>
55495
55496 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
55497
55498 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
55499 __extern_always_inline.
55500 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
55501 32-bit.
55502
55503 2011-09-14 Andreas Schwab <schwab@redhat.com>
55504
55505 * elf/rtld.c (dl_main): Also relocate in dependency order when
55506 doing symbol dependency testing.
55507
55508 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
55509
55510 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55511 Always define `refsym'.
55512
55513 2011-09-13 Andreas Schwab <schwab@redhat.com>
55514
55515 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
55516 (__FD_ELT): Renamed from __FDELT.
55517 * misc/bits/select2.h (__FD_ELT): Likewise.
55518 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
55519 __FD_MASK instead of __FDELT, __FDMASK.
55520 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55521 Likewise.
55522 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
55523 Likewise.
55524
55525 * elf/Makefile (gen-ldd): Fix pattern.
55526
55527 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
55528 (init_tls): Likewise.
55529
55530 2011-09-12 Ulrich Drepper <drepper@gmail.com>
55531
55532 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
55533
55534 2011-09-12 Andreas Schwab <schwab@redhat.com>
55535
55536 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
55537 `struct cmsghdr *' instead of `void *'.
55538 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
55539 Likewise.
55540
55541 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
55542
55543 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
55544 if non-absolute.
55545 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
55546 ldd_rewrite_script.
55547
55548 2011-09-11 Ulrich Drepper <drepper@gmail.com>
55549
55550 * configure.in: Remove --with-tls option.
55551 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
55552 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
55553 out in case it is missing.
55554 * sysdeps/ia64/elf/configure.in: Likewise.
55555 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
55556 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
55557 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
55558 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
55559 * sysdeps/sh/elf/configure.in: Likewise.
55560 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
55561 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
55562 * sysdeps/x86_64/elf/configure.in: Likewise.
55563 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
55564 * sysdeps/mach/hurd/tls.h: Likewise.
55565
55566 [BZ #13067]
55567 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
55568
55569 [BZ #13090]
55570 * configure.in: Fix use of AC_INIT.
55571
55572 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
55573
55574 2011-09-10 Ulrich Drepper <drepper@gmail.com>
55575
55576 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
55577 __set_errno.
55578 * malloc/hooks.c: Likewise.
55579
55580 [BZ #11929]
55581 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
55582 variables statically.
55583 (narenas): Initialize.
55584 (list_lock): Initialize.
55585 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
55586 initializtion of main_arena and list_lock. Small cleanups.
55587 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
55588 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
55589 Add initializers to main_arena and mp_.
55590 (malloc_state): Remove pagesize member. Change all users to use
55591 GLRO(dl_pagesize).
55592
55593 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
55594 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
55595 is always initialized.
55596
55597 * malloc/malloc.c: Removed unused configurations and dead code.
55598 * malloc/arena.c: Likewise.
55599 * malloc/hooks.c: Likewise.
55600 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
55601
55602 * include/tls.h: Removed. USE___THREAD must always be defined.
55603 * bits/libc-tsd.h: Don't handle !USE___THREAD.
55604 * elf/dl-libc.c: Likewise.
55605 * elf/dl-tsd.c: Likewise.
55606 * include/errno.h: Likewise.
55607 * include/netdb.h: Likewise.
55608 * include/resolv.h: Likewise.
55609 * inet/herrno-loc.c: Likewise.
55610 * inet/herrno.c: Likewise.
55611 * malloc/arena.c: Likewise.
55612 * malloc/hooks.c: Likewise.
55613 * malloc/malloc.c: Likewise.
55614 * resolv/res-state.c: Likewise.
55615 * resolv/res_libc.c: Likewise.
55616 * sysdeps/i386/dl-machine.h: Likewise.
55617 * sysdeps/ia64/dl-machine.h: Likewise.
55618 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
55619 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55620 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
55621 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
55622 * sysdeps/sh/dl-machine.h: Likewise.
55623 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
55624 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
55625 * sysdeps/unix/i386/sysdep.S: Likewise.
55626 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
55627 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
55628 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
55629 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
55630 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
55631 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
55632 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
55633 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
55634 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55635 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
55636 * sysdeps/unix/x86_64/sysdep.S: Likewise.
55637 * sysdeps/x86_64/dl-machine.h: Likewise.
55638 * tls.make.c: Likewise.
55639
55640 * configure.in: Remove --with-__thread option. Make tests for
55641 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
55642 tls_model attribute fail if no support is available. Remove
55643 USE_IN_LIBIO.
55644 * Makeconfig: Adjust for dropped configure option. All features are
55645 now mandatory.
55646 * Makerules: Likewise.
55647 * Versions.def: Likewise.
55648 * argp/argp-fmtstream.c: Likewise.
55649 * argp/argp-fmtstream.h: Likewise.
55650 * argp/argp-help.c: Likewise.
55651 * assert/assert.c: Likewise.
55652 * config.h.in: Likewise.
55653 * config.make.in: Likewise.
55654 * configure: Likewise.
55655 * configure.in: Likewise.
55656 * csu/Versions: Likewise.
55657 * csu/init.c: Likewise.
55658 * elf/tst-audit2.c: Likewise.
55659 * elf/tst-tls10.c: Likewise.
55660 * elf/tst-tls10.h: Likewise.
55661 * elf/tst-tls11.c: Likewise.
55662 * elf/tst-tls12.c: Likewise.
55663 * elf/tst-tls14.c: Likewise.
55664 * elf/tst-tlsmod11.c: Likewise.
55665 * elf/tst-tlsmod12.c: Likewise.
55666 * elf/tst-tlsmod13.c: Likewise.
55667 * elf/tst-tlsmod13a.c: Likewise.
55668 * elf/tst-tlsmod14a.c: Likewise.
55669 * elf/tst-tlsmod15b.c: Likewise.
55670 * elf/tst-tlsmod16a.c: Likewise.
55671 * elf/tst-tlsmod16b.c: Likewise.
55672 * elf/tst-tlsmod7.c: Likewise.
55673 * elf/tst-tlsmod8.c: Likewise.
55674 * elf/tst-tlsmod9.c: Likewise.
55675 * gmon/gmon.c: Likewise.
55676 * grp/fgetgrent_r.c: Likewise.
55677 * grp/putgrent.c: Likewise.
55678 * hurd/fopenport.c: Likewise.
55679 * include/libc-symbols.h: Likewise.
55680 * include/tls.h: Likewise.
55681 * intl/gettextP.h: Likewise.
55682 * intl/loadinfo.h: Likewise.
55683 * locale/global-locale.c: Likewise.
55684 * locale/localeinfo.h: Likewise.
55685 * mach/devstream.c: Likewise.
55686 * malloc/arena.c: Likewise.
55687 * malloc/set-freeres.c: Likewise.
55688 * misc/err.c: Likewise.
55689 * misc/getttyent.c: Likewise.
55690 * misc/mntent_r.c: Likewise.
55691 * posix/getopt.c: Likewise.
55692 * posix/wordexp.c: Likewise.
55693 * pwd/fgetpwent_r.c: Likewise.
55694 * resolv/Versions: Likewise.
55695 * resolv/res_hconf.c: Likewise.
55696 * shadow/fgetspent_r.c: Likewise.
55697 * shadow/putspent.c: Likewise.
55698 * stdio-common/printf_fphex.c: Likewise.
55699 * stdio-common/tmpfile.c: Likewise.
55700 * stdlib/abort.c: Likewise.
55701 * stdlib/fmtmsg.c: Likewise.
55702 * sunrpc/auth_unix.c: Likewise.
55703 * sunrpc/clnt_perr.c: Likewise.
55704 * sunrpc/clnt_tcp.c: Likewise.
55705 * sunrpc/clnt_udp.c: Likewise.
55706 * sunrpc/clnt_unix.c: Likewise.
55707 * sunrpc/openchild.c: Likewise.
55708 * sunrpc/svc_simple.c: Likewise.
55709 * sunrpc/svc_tcp.c: Likewise.
55710 * sunrpc/svc_udp.c: Likewise.
55711 * sunrpc/svc_unix.c: Likewise.
55712 * sunrpc/xdr.c: Likewise.
55713 * sunrpc/xdr_array.c: Likewise.
55714 * sunrpc/xdr_rec.c: Likewise.
55715 * sunrpc/xdr_ref.c: Likewise.
55716 * sunrpc/xdr_stdio.c: Likewise.
55717
55718 2011-09-09 Ulrich Drepper <drepper@gmail.com>
55719
55720 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55721
55722 2011-07-03 Andreas Jaeger <aj@suse.de>
55723
55724 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
55725 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
55726 regenerate with gen-libm-tests.pl.
55727
55728 2010-05-12 Petr Baudis <pasky@suse.cz>
55729
55730 [BZ #11589]
55731 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
55732 around j0() zero points by switching to j1().
55733 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55734 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55735 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
55736 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55737
55738 2011-09-09 Ulrich Drepper <drepper@gmail.com>
55739
55740 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
55741 instead of 0.
55742 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
55743 instead of 0.
55744 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55745 Patch in part by Pavel Roskin <proski@gnu.org>.
55746
55747 [BZ #13138]
55748 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
55749 realloc.
55750 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
55751 Free memory block if necessary.
55752
55753 [BZ #12847]
55754 * libio/genops.c (INTDEF): For string streams the _lock pointer can
55755 be NULL. Don't lock in this case.
55756
55757 2011-09-09 Roland McGrath <roland@hack.frob.com>
55758
55759 * elf/elf.h (ELFOSABI_GNU): New macro.
55760 (ELFOSABI_LINUX): Define to that.
55761
55762 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
55763
55764 * string/strncat.c (strncat): Undef the symbol in case it has been
55765 defined in bits/string.h.
55766
55767 2011-09-09 Ulrich Drepper <drepper@gmail.com>
55768
55769 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
55770
55771 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
55772 link map.
55773
55774 2011-08-17 Andreas Jaeger <aj@suse.de>
55775
55776 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
55777
55778 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
55779 Ian Lance Taylor <iant@google.com>
55780
55781 * math/libm-test.inc (lround_test): New testcase.
55782 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
55783
55784 2011-09-08 Ulrich Drepper <drepper@gmail.com>
55785
55786 * Makefile: Remove support for automatic cvs check-ins.
55787 * Makerules: Likewise.
55788 * config.make.in: Likewise.
55789 * configure.in: Likewise.
55790 * intl/Makefile: Likewise.
55791 * locale/Makefile: Likewise.
55792 * po/Makefile: Likewise.
55793 * posix/Makefile: Likewise.
55794 * sysdeps/gnu/Makefile: Likewise.
55795 * sysdeps/mach/hurd/Makefile: Likewise.
55796 * sysdeps/sparc/sparc32/Makefile: Likewise.
55797
55798 [BZ #13118]
55799 * posix/Makefile (bug-regex32-ENV): Define.
55800 Patch by John Stanley <jpsinthemix@verizon.net>.
55801
55802 * misc/Makefile (headers): Add bits/select2.h.
55803 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
55804 * misc/bits/select2.h: New file.
55805 * include/bits/select2.h: New file.
55806 * debug/Makefile (routines): Add fdelt_chk.
55807 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
55808 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
55809 FD_ISSET.
55810 * debug/fdelt_chk.c: New file.
55811
55812 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
55813 * wcsmbs/test-wmemcmp.c: Likewise.
55814 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
55815 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
55816
55817 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55818
55819 * string/Makefile (strop-tests): Add memcmp.
55820 * string/test-wmemcmp.c: New file.
55821 * string/test-memcmp.c: Add wmemcmp support.
55822
55823 2011-09-08 Roland McGrath <roland@hack.frob.com>
55824
55825 [BZ #13153]
55826 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
55827 2011-07-19 change.
55828
55829 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
55830 garbage value in a __mach_port_mod_refs call in the cases of the
55831 task-self and thread-self ports.
55832
55833 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
55834
55835 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
55836
55837 2011-09-08 Andreas Schwab <schwab@redhat.com>
55838
55839 * elf/dl-load.c (lose): Check for non-null L.
55840
55841 2011-09-07 Ulrich Drepper <drepper@gmail.com>
55842
55843 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
55844
55845 * elf/dl-libc.c (dlerror_run): Pass back error code from
55846 dl_catch_error.
55847
55848 [BZ #13123]
55849 * elf/dl-load.c (lose): Free l_origin if it is valid.
55850
55851 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
55852 names.
55853 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
55854 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55855 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
55856 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55857 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
55858 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
55859
55860 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55861
55862 * sysdeps/powerpc/fpu/e_hypot.c: New file.
55863 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
55864 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
55865 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
55866 * sysdeps/powerpc/fpu/k_cosf.c: New file.
55867 * sysdeps/powerpc/fpu/k_sinf.c: New file.
55868 * sysdeps/powerpc/fpu/s_cosf.c: New file.
55869 * sysdeps/powerpc/fpu/s_sinf.c: New file.
55870 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
55871 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
55872
55873 2011-08-15 Alan Modra <amodra@gmail.com>
55874
55875 [BZ #13092]
55876 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
55877 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
55878 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
55879 ppc_mcount to static-only-routines.
55880 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
55881 __mcount_internal.
55882 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
55883 __mcount_internal with usual JUMPTARGET. Remove useless nop.
55884
55885 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
55886
55887 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
55888 for finite and infinity parameters.
55889
55890 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
55891
55892 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
55893 and add nop instructions for throughput optimization.
55894 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55895
55896 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
55897
55898 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
55899 aligned copy for power7 with vector-scalar instructions.
55900 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
55901
55902 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
55903
55904 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
55905 AVX check.
55906
55907 2011-09-07 Andreas Schwab <schwab@redhat.com>
55908
55909 [BZ #13144]
55910 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
55911 last change.
55912
55913 2011-09-07 Ulrich Drepper <drepper@gmail.com>
55914
55915 * sysdeps/unix/sysv/linux/x86_64/init-first.c
55916 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
55917 syscall wrapper around clock_gettime in __vdso_clock_gettime.
55918 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
55919 clock_gettime.
55920
55921 2011-09-06 Ulrich Drepper <drepper@gmail.com>
55922
55923 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
55924 Forgot to demangle the pointer.
55925
55926 * sysdeps/i386/sysdep.h: Define atom_text_section.
55927 * sysdeps/x86_64/sysdep.h: Likewise.
55928 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
55929 section with atom_text_section.
55930 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
55931 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
55932 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
55933 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55934 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
55935
55936 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
55937 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
55938 already be defined. Change to take two parameters and don't assign
55939 result to variable. Adjust all users.
55940 Define INTERNAL_GETTIME if not already defined.
55941 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
55942 call.
55943 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
55944 HAVE_CLOCK_GETTIME_VSYSCALL.
55945 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
55946
55947 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
55948 gettimeofday vsyscall, just use time.
55949
55950 2011-09-06 Andreas Schwab <schwab@redhat.com>
55951
55952 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
55953 <errno.h>.
55954
55955 2011-09-06 Ulrich Drepper <drepper@gmail.com>
55956
55957 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
55958 syscall on x86-64.
55959 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
55960 syscall.
55961 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
55962 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
55963 syscall if possible.
55964
55965 2011-09-05 Ulrich Drepper <drepper@gmail.com>
55966
55967 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
55968 e_ident. Don't pass to find_mapsXX.
55969 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
55970
55971 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55972
55973 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55974 strchr-sse2-no-bsf strrchr-sse2-no-bsf
55975 * sysdeps/x86_64/multiarch/strchr.S: Update.
55976 Check bit_slow_BSF bit.
55977 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
55978 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
55979 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
55980
55981 2011-09-05 Ulrich Drepper <drepper@gmail.com>
55982
55983 [BZ #13134]
55984 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
55985 before glibc 2.15.
55986 (tryshell): Define.
55987 (__spawni): Change last parameter to be flag. Test
55988 SPAWN_XFLAGS_USE_PATH flag to use path or not.
55989 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
55990 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
55991 * posix/spawni.c: Likewise.
55992 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
55993 * posix/spawnp.c: Likewise. Change normal version to use
55994 SPAWN_XFLAGS_USE_PATH.
55995 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
55996 SPAWN_XFLAGS_TRY_SHELL.
55997
55998 [BZ #13150]
55999 * posix/glob.h: Remove gcc 1.x support.
56000
56001 [BZ #13068]
56002 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
56003
56004 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56005
56006 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56007 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
56008 strrchr-sse2-bsf
56009 * sysdeps/i386/i686/multiarch/strchr.S: New file.
56010 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
56011 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
56012 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
56013 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
56014 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
56015
56016 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56017
56018 * sysdeps/x86_64/wcscmp.S: New file.
56019
56020 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
56021 wcscmp-c wcscmp-sse2
56022 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
56023 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
56024 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
56025 * wcsmbs/wcscmp.c: Allow renaming.
56026
56027 2011-09-05 David S. Miller <davem@davemloft.net>
56028
56029 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
56030 stack slot, rather than the struct return pointer slot.
56031 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
56032 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
56033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
56034 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
56035
56036 2011-09-05 Ulrich Drepper <drepper@gmail.com>
56037
56038 * po/ja.po: Update from translation team.
56039
56040 [BZ #13144]
56041 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
56042 kernel in 64-bit binaries.
56043
56044 2011-09-01 David S. Miller <davem@davemloft.net>
56045
56046 * elf/elf.h (HWCAP_SPARC_*): Move to..
56047 * sysdeps/sparc/sysdep.h: this new file and add new values.
56048 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
56049 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
56050 _DL_HWCAP_COUNT to 24.
56051 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56052 entries.
56053 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
56054 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
56055 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
56056 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
56057 instead of magic constants.
56058 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56059
56060 2011-08-31 David S. Miller <davem@davemloft.net>
56061
56062 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
56063 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
56064 Reimplement to do errno handling inline.
56065 (SYSCALL_ERROR_HANDLER): New macro.
56066 (__SYSCALL_STRING): Do not do errno handling in asm.
56067 (__CLONE_SYSCALL_STRING): Delete.
56068 (__INTERNAL_SYSCALL_STRING): Delete.
56069 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
56070 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
56071 (PSEUDO): Reimplement to do errno handling inline.
56072 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
56073 (SYSCALL_ERROR_HANDLER): New macro.
56074 (__SYSCALL_STRING): Do not do errno handling in asm.
56075 (__CLONE_SYSCALL_STRING): Delete.
56076 (__INTERNAL_SYSCALL_STRING): Delete.
56077 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
56078 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
56079 i386.
56080 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
56081 (inline_syscall*): Add 'err' argument.
56082 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
56083 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
56084 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
56085 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
56086
56087 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
56088 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56089
56090 2011-08-30 Andreas Schwab <schwab@redhat.com>
56091
56092 * elf/rtld.c (dl_main): Relocate objects in dependency order.
56093
56094 2011-08-29 Jiri Olsa <jolsa@redhat.com>
56095
56096 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
56097 directive.
56098
56099 2011-08-24 David S. Miller <davem@davemloft.net>
56100
56101 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
56102
56103 2011-08-24 Andreas Schwab <schwab@redhat.com>
56104
56105 * elf/Makefile: Add rules to build and run unload8 test.
56106 * elf/unload8.c: New file.
56107 * elf/unload8mod1.c: New file.
56108 * elf/unload8mod1x.c: New file.
56109 * elf/unload8mod2.c: New file.
56110 * elf/unload8mod3.c: New file.
56111
56112 * elf/dl-close.c (_dl_close_worker): Reset private search list if
56113 it wasn't used.
56114
56115 2011-08-23 David S. Miller <davem@davemloft.net>
56116
56117 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
56118 subtract stack bias.
56119 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
56120 %sp not %fp in calculations.
56121 (_JMPBUF_UNWINDS_ADJ): Likewise.
56122
56123 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
56124 (aio_suspend): Call it to force an exception region around the
56125 AIO_MISC_WAIT() invocation.
56126
56127 2011-08-23 Andreas Schwab <schwab@redhat.com>
56128
56129 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
56130 backslash.
56131
56132 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
56133
56134 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
56135 protection macro.
56136 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
56137 and <dl-machine.h>.
56138 (Elf64_FuncDesc): Remove.
56139
56140 2011-08-22 David S. Miller <davem@davemloft.net>
56141
56142 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
56143 sigaltstack check, add missing cfi directives.
56144 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
56145 missing cfi directives, and sigaltstack handling.
56146
56147 2011-08-16 Andreas Schwab <schwab@redhat.com>
56148
56149 [BZ #11724]
56150 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
56151 object is seen twice.
56152 * elf/dl-fini.c (_dl_sort_fini): Likewise.
56153
56154 * elf/Makefile (distribute): Add tst-initorder2.c.
56155 (tests): Add tst-initorder2.
56156 (modules-names): Add tst-initorder2a tst-initorder2b
56157 tst-initorder2c tst-initorder2d. Add rules to build them.
56158 ($(objpfx)tst-initorder2.out): New rule.
56159 * elf/tst-initorder2.c: New file.
56160 * elf/tst-initorder2.exp: New file.
56161
56162 2011-08-22 Andreas Schwab <schwab@redhat.com>
56163
56164 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
56165
56166 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
56167 dependencies back to end of function.
56168
56169 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56170 $(elfobjdir)/ld.so.
56171
56172 2011-08-21 Ulrich Drepper <drepper@gmail.com>
56173
56174 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
56175 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
56176 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
56177 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
56178 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
56179 of __vdso_gettimeofday.
56180 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
56181 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
56182 attribute_hidden.
56183 (_libc_vdso_platform_setup): Remove initialization of
56184 __vdso_gettimeofday and __vdso_time.
56185
56186 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56187
56188 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
56189 and fgetc_unlocked.
56190 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
56191 getc_unlocked.
56192
56193 * elf/dl-open.c (add_to_global): Report additions to the global scope
56194 for LD_DEBUG=scopes.
56195 (dl_open_worker): Also print scope of newly loaded dependencies.
56196 (_dl_show_scope): Indicate if there is no scope.
56197
56198 [BZ #13114]
56199 * stdio-common/Makefile (tests): Add bug24.
56200 * stdio-common/bug24.c: New file.
56201
56202 2011-08-19 Andreas Jaeger <aj@suse.de>
56203
56204 [BZ #13114]
56205 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
56206 non-existant file when using close-on-exec mode.
56207
56208 2011-08-20 Ulrich Drepper <drepper@gmail.com>
56209
56210 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
56211 the very first instruction.
56212
56213 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
56214 the CFI state in the end.
56215 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
56216 inclusion of dl-trampoline.h.
56217 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
56218
56219 2011-08-19 Andreas Schwab <schwab@redhat.com>
56220
56221 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
56222 expectations for long double.
56223
56224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
56225 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
56226
56227 2011-08-14 David S. Miller <davem@davemloft.net>
56228
56229 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
56230 artificual limit depends upon the system page size.
56231
56232 2011-08-17 Ulrich Drepper <drepper@gmail.com>
56233
56234 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
56235 * resolv/Makefile: Define CFLAGS-libresolv.
56236
56237 2011-08-17 Andreas Schwab <schwab@redhat.com>
56238
56239 * nss/makedb.c (compute_tables): Make variables used in nested
56240 function static.
56241
56242 2011-08-17 Ulrich Drepper <drepper@gmail.com>
56243
56244 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
56245 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
56246 if buffer was too small.
56247
56248 * elf/pldd.c (main): Attach to all threads in the process.
56249 Rewrite /proc handling to use *at functions.
56250
56251 2011-08-16 Ulrich Drepper <drepper@gmail.com>
56252
56253 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
56254 specifies first scope to show.
56255 (dl_open_worker): Update callers. Move printing scope of new
56256 object to before the relocation.
56257 * elf/rtld.c (dl_main): Update _dl_show_scope call.
56258 * sysdeps/generic/ldsodefs.h: Update declaration.
56259
56260 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
56261 string for the scope number.
56262
56263 2011-08-14 Ulrich Drepper <drepper@gmail.com>
56264
56265 * nscd/servicescache.c (cache_addserv): Make sure written is always
56266 initialized.
56267
56268 2011-08-14 Roland McGrath <roland@hack.frob.com>
56269
56270 * sysdeps/i386/i486/bits/atomic.h
56271 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
56272 statement expression, so as to suppress "set but not used" warning.
56273 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
56274
56275 * string/strncat.c (STRNCAT): Use prototype definition.
56276
56277 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
56278 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
56279 -Iprograms here.
56280 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
56281 (localedef-modules): Add localedef.
56282 (locale-modules): Add locale.
56283
56284 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
56285 * elf/rtld.c (dl_main): Invert order of assignment in last change,
56286 to avoid a warning.
56287
56288 2011-08-14 David S. Miller <davem@davemloft.net>
56289
56290 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
56291 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
56292
56293 2011-08-13 Ulrich Drepper <drepper@gmail.com>
56294
56295 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
56296 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
56297 * elf/rtld.c (dl_main): Set l_name of vDSO.
56298 Call _dl_show_scope when DL_DEBUG_SCOPES.
56299 (process_dl_debug): Recognize scopes flag and also set it for all.
56300 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
56301 Declare _dl_show_scope.
56302
56303 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
56304 (do_dlopen): Pass caller_dlopen to dl_open.
56305 (__libc_dlopen_mode): Initialize caller_dlopen.
56306
56307 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
56308 of libc. Make tolower call locale-independent. Optimize a bit by
56309 using isdigit instead of isalnum.
56310 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
56311
56312 2011-08-12 Ulrich Drepper <drepper@gmail.com>
56313
56314 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
56315 was a dependency or dynamically loaded.
56316
56317 2011-08-11 Ulrich Drepper <drepper@gmail.com>
56318
56319 * intl/l10nflist.c: Allow architecture-specific pop function.
56320 * sysdeps/x86_64/l10nflist.c: New file.
56321
56322 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
56323 classification.
56324
56325 2011-08-10 Andreas Schwab <schwab@redhat.com>
56326
56327 * include/dirent.h: Add libc_hidden_proto for scandirat and
56328 scandirat64. Don't declare __scandirat64.
56329 * dirent/scandirat.c: Add libc_hidden_def.
56330 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
56331 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
56332
56333 2011-08-10 David S. Miller <davem@davemloft.net>
56334
56335 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
56336 enum.
56337 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56338 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56339 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56340
56341 2011-08-09 Ulrich Drepper <drepper@gmail.com>
56342
56343 * Versions.def [libc]: Add GLIBC_2.15.
56344 * dirent/Makefile (routines): Add scandirat and scandirat64.
56345 * dirent/Versions [libc]: Export scandirat and scandirat64 for
56346 GLIBC_2.15.
56347 * dirent/dirent.h: Declare scandirat and scandirat64.
56348 * dirent/scandirat.c: New file.
56349 * dirent/scandirat64.c: New file.
56350 * sysdeps/wordsize-64/scandirat.c: New file.
56351 * sysdeps/wordsize-64/scandirat64.c: New file.
56352 * dirent/opendir.c: Define opendirat.
56353 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
56354 using scandirat.
56355 * dirent/scandir64.c: Adjust for scandir.c change.
56356 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
56357 __scandirat64, and __scandir_cancel_handler.
56358 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
56359 additional parameter and use openat instead of open (outside of ld.so).
56360 Add new __opendir as wrapper around __opendirat.
56361 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
56362 here without requiring old scandirat implementation.
56363
56364 2011-08-08 Ulrich Drepper <drepper@gmail.com>
56365
56366 * dirent/scandir.c (cancel_handler): Renamed to
56367 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
56368 defined. Adjust users.
56369 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
56370 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
56371
56372 2011-08-04 Ulrich Drepper <drepper@gmail.com>
56373
56374 * string/test-string.h (IMPL): Use __STRING to expand name and then
56375 stringify it.
56376
56377 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
56378 of cleanups.
56379
56380 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56381
56382 * string/Makefile: Update.
56383 (strop-tests): Append strncat.
56384 * string/test-wcscmp.c: New file.
56385 New comprehensive test for wcscmp.
56386 * string/test-strcmp.c: Update.
56387 (WIDE): New define.
56388
56389 2011-07-22 Andreas Schwab <schwab@redhat.com>
56390
56391 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
56392 line.
56393
56394 2011-07-26 Andreas Schwab <schwab@redhat.com>
56395
56396 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56397 encoding to ACE if AI_IDN.
56398
56399 2011-08-01 Jakub Jelinek <jakub@redhat.com>
56400
56401 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
56402 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
56403
56404 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56405
56406 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
56407 Fix overflow bug in strncat.
56408 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
56409
56410 * string/test-strncat.c: Update.
56411 Add new tests for checking overflow bugs.
56412
56413 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56414
56415 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56416 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
56417 * sysdeps/i386/i686/multiarch/strcat.S: New file.
56418 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
56419 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
56420 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
56421 * sysdeps/i386/i686/multiarch/strncat.S: New file.
56422 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
56423 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
56424
56425 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
56426 (USE_AS_STRCAT): Define.
56427 Add strcat and strncat support.
56428 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56429
56430 2011-07-25 Andreas Schwab <schwab@redhat.com>
56431
56432 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
56433 __n bigger than INT_MAX+1.
56434 (__strncmp_g): Likewise.
56435
56436 2011-07-23 Ulrich Drepper <drepper@gmail.com>
56437
56438 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
56439 * libio/stido.h: Likewise.
56440
56441 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
56442 (AF_NFC): Define.
56443 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
56444 (AF_NFC): Define.
56445
56446 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
56447 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
56448 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
56449 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
56450 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
56451
56452 [BZ #13021]
56453 * scripts/test-installation.pl: Don't expect libnss_test1 to be
56454 installed.
56455
56456 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
56457 typo.
56458 (_dl_x86_64_save_sse): Likewise.
56459
56460 2011-07-22 Ulrich Drepper <drepper@gmail.com>
56461
56462 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
56463 OSXSAVE.
56464 (_dl_x86_64_save_sse): Likewise.
56465
56466 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
56467
56468 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
56469
56470 2011-07-21 Andreas Schwab <schwab@redhat.com>
56471
56472 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
56473 change.
56474 (_dl_x86_64_save_sse): Use correct AVX check.
56475
56476 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
56477
56478 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
56479 bug in strncpy/strncat.
56480 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
56481
56482 2011-07-21 Ulrich Drepper <drepper@gmail.com>
56483
56484 * string/tester.c (test_strcat): Add tests for different alignments
56485 of source and destination.
56486 (test_strncat): Likewise.
56487
56488 2011-07-20 Ulrich Drepper <drepper@gmail.com>
56489
56490 [BZ #12852]
56491 * posix/glob.c (glob): Check passed in values before using them in
56492 expressions to avoid some overflows.
56493 (glob_in_dir): Likewise.
56494
56495 [BZ #13007]
56496 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
56497 check for AVX enablement so that we don't crash with old kernels and
56498 new hardware.
56499 * elf/tst-audit4.c: Add same checks here.
56500 * elf/tst-audit6.c: Likewise.
56501
56502 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
56503
56504 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
56505
56506 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
56507
56508 2011-07-20 Ulrich Drepper <drepper@gmail.com>
56509
56510 * po/cs.po: Update from translation team.
56511 * po/bg.po: Likewise.
56512
56513 2011-07-12 Marek Polacek <mpolacek@redhat.com>
56514
56515 * misc/sys/cdefs.h: Add support for const attribute.
56516 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
56517 to gnu_dev_{major,minor,makedev} functions.
56518
56519 2011-07-20 Marek Polacek <mpolacek@redhat.com>
56520
56521 * intl/dcigettext.c (get_output_charset): Add missing bracket.
56522
56523 2011-07-20 Andreas Schwab <schwab@redhat.com>
56524
56525 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
56526 strlen results.
56527
56528 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56529
56530 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
56531 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
56532 register in order to avoid conflicts with the soft frame pointer
56533 being held in r11 when necessary.
56534 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
56535 (INTERNAL_VSYSCALL_NCS): Likewise.
56536
56537 2011-07-14 Marek Polacek <mpolacek@redhat.com>
56538
56539 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
56540 * elf/dl-fini.c (_dl_fini): Adjust caller.
56541 * elf/dl-close.c (_dl_close_worker): Likewise.
56542 * sysdeps/generic/ldsodefs.h: Adjust declaration.
56543
56544 2011-07-15 Marek Polacek <mpolacek@redhat.com>
56545
56546 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
56547 "aux_cache->nlibs < 0".
56548
56549 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
56550 in the reload-count case.
56551
56552 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
56553
56554 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56555 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
56556 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
56557 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
56558 * sysdeps/x86_64/multiarch/strcat.S: New file.
56559 * sysdeps/x86_64/multiarch/strncat.S: New file.
56560 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
56561 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
56562 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
56563 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
56564 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
56565 (USE_AS_STRCAT): Define.
56566 Add strcat and strncat support.
56567 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56568 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
56569 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
56570 * string/strncat.c: Update.
56571 (USE_AS_STRNCAT): Define.
56572 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56573 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
56574 and i7.
56575 * sysdeps/x86_64/multiarch/init-arch.h
56576 (bit_Prefer_PMINUB_for_stringop): New.
56577 (index_Prefer_PMINUB_for_stringop): Likewise.
56578 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
56579 bit_Prefer_PMINUB_for_stringop.
56580
56581 2011-07-19 Ulrich Drepper <drepper@gmail.com>
56582
56583 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
56584 buffer64.
56585 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
56586 of casting of buffer.
56587 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
56588 buffer32 and buffer64.
56589 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
56590 writes instead of casting of buffer.
56591 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
56592 buffer32.
56593 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
56594 casting of buffer.
56595
56596 2011-07-19 Andreas Schwab <schwab@redhat.com>
56597
56598 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
56599
56600 2011-07-19 Ulrich Drepper <drepper@gmail.com>
56601
56602 * nscd/nscd.c (termination_handler): Don't do anything for a database
56603 if it has not yet been initialized.
56604
56605 2011-07-18 Ulrich Drepper <drepper@gmail.com>
56606
56607 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56608
56609 2011-07-15 Marek Polacek <mpolacek@redhat.com>
56610
56611 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
56612
56613 2011-07-18 Ulrich Drepper <drepper@gmail.com>
56614
56615 * po/nl.po: Update from translation team.
56616 * po/sv.po: Likewise.
56617
56618 2011-07-16 Roland McGrath <roland@hack.frob.com>
56619
56620 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
56621 now disallowed by GCC.
56622
56623 * configure.in (use-default-link): Default to yes if a test -shared
56624 link meets our qualifications.
56625 * configure: Regenerated.
56626
56627 * config.make.in (output-format): New variable.
56628 * configure.in: Check for ld --print-output-format support.
56629 * configure: Regenerated.
56630 * Makerules ($(common-objpfx)format.lds)
56631 [$(output-format) != unknown]: Just use $(output-format),
56632 instead of the linker-script munging.
56633
56634 2011-07-14 Roland McGrath <roland@hack.frob.com>
56635
56636 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
56637 of $(common-objpfx)shlib.lds.
56638 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
56639
56640 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
56641 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
56642
56643 * configure.in (-z relro check): Adjust test code to add a large
56644 writable data section after it.
56645 * configure: Regenerated.
56646
56647 2011-07-11 Roland McGrath <roland@hack.frob.com>
56648
56649 * configure.in (-z relro check): Fix test code to make the variable
56650 truly const.
56651 * configure: Regenerated.
56652
56653 2011-07-11 Ulrich Drepper <drepper@gmail.com>
56654
56655 * nscd/nscd.h (struct traced_file): Define.
56656 (struct database_dyn): Remove inotify_descr, reset_res, and filename
56657 elements. Add traced_files.
56658 (inotify_fd): Declare.
56659 (register_traced_file): Declare.
56660 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
56661 (inotify_fd): Export.
56662 (resolv_conf_descr): Remove.
56663 (nscd_init): Move inotify descriptor creation to main.
56664 Don't register files for notification here.
56665 (register_traced_file): New function.
56666 (invalidate_cache): Don't use reset_res to determine whether to call
56667 res_init, go through the list of registered files.
56668 (main_loop_poll): The inotify descriptors are now stored in the
56669 structures for the traced files.
56670 (main_loop_epoll): Likewise
56671 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
56672 to __nss_disable_nscd.
56673 * nscd/cache.c (prune_cache): There is no single inotify descriptor
56674 for a database anymore. Check the records for all the registered
56675 files instead.
56676 * nss/Makefile (libnss_files-routines): Add files-init.
56677 (libnss_db-routines): Add db-init.
56678 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
56679 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
56680 * nss/nss_db/db-init.c: New file.
56681 * nss/nss_files/files-init.c: New file.
56682 * nss/nsswitch.c (nss_load_library): New function. Broken out of
56683 __nss_lookup_function.
56684 (__nss_lookup_function): Call nss_load_library.
56685 (nss_load_all_libraries): New function.
56686 (__nss_disable_nscd): Take parameter with callback function for files
56687 to register. Set is_nscd. Load all the DSOs for the NSS modules
56688 used for the cached services.
56689 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
56690 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
56691 options for features to all the files in nscd.
56692
56693 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
56694
56695 2011-07-10 Roland McGrath <roland@hack.frob.com>
56696
56697 * csu/elf-init.c (__libc_csu_init): Comment typo.
56698
56699 2011-07-09 Ulrich Drepper <drepper@gmail.com>
56700
56701 * po/pl.po: Update from translation team.
56702 * po/ja.po: Likewise.
56703 * po/ru.po: Likewise.
56704 * po/ko.po: Likewise.
56705 * po/fr.po: Likewise.
56706
56707 2011-07-09 Roland McGrath <roland@hack.frob.com>
56708
56709 * configure.in (.ctors/.dtors header and trailer check):
56710 Use an empirical test on a built program.
56711 * configure: Regenerated.
56712
56713 * configure.in (-z relro check): Use an empirical test on a built DSO.
56714 Detect, but do not require, on ia64.
56715 * configure: Regenerated.
56716
56717 * configure.in (READELF): Find it with AC_CHECK_TOOL.
56718 Update tests that use readelf to use $READELF instead.
56719 * configure: Regenerated.
56720
56721 2011-07-08 Ulrich Drepper <drepper@gmail.com>
56722
56723 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
56724 if the result is not used.
56725
56726 2011-07-05 Andreas Jaeger <aj@suse.de>
56727
56728 [BZ#9696]
56729 * stdlib/tst-strtod.c: Add testcase.
56730
56731 2011-07-07 Ulrich Drepper <drepper@gmail.com>
56732
56733 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
56734 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
56735 The latter has a higher limit. Take additional parameter to pass to
56736 the new function.
56737 (__pathconf): Pass file to __statfs_link_max.
56738 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
56739 __statfs_link_max.
56740 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
56741 __statfs_link_max.
56742
56743 [BZ #12868]
56744 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
56745 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56746 Handle Lustre.
56747 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
56748 (__statfs_filesize_max): Likewise.
56749 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
56750
56751 2011-07-05 Andreas Jaeger <aj@suse.de>
56752
56753 * resolv/res_comp.c (dn_skipname): Remove unused variable.
56754
56755 2011-07-06 Marek Polacek <mpolacek@redhat.com>
56756
56757 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
56758 `status' variable.
56759 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
56760 Likewise.
56761
56762 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
56763
56764 * Makefile (strop-tests): Add strncat.
56765 * string/test-strncat.c: New file.
56766
56767 2011-06-30 Marek Polacek <mpolacek@redhat.com>
56768
56769 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
56770
56771 2011-06-21 Andreas Jaeger <aj@suse.de>
56772
56773 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
56774 Copy rule from iconvdata/Makefile.
56775
56776 2011-07-06 Ulrich Drepper <drepper@gmail.com>
56777
56778 [BZ #12922]
56779 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
56780 but no long options are defined, just return 'W'.
56781
56782 2011-06-22 Marek Polacek <mpolacek@redhat.com>
56783
56784 [BZ #9696]
56785 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
56786
56787 2011-07-06 Ulrich Drepper <drepper@gmail.com>
56788
56789 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
56790 netgroups to read.
56791 (innetgr): Likewise.
56792
56793 2011-07-05 Roland McGrath <roland@hack.frob.com>
56794
56795 * config.make.in (install_root): Default to $(DESTDIR).
56796
56797 2011-07-05 Ulrich Drepper <drepper@gmail.com>
56798
56799 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
56800
56801 2011-07-02 Roland McGrath <roland@hack.frob.com>
56802
56803 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
56804
56805 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
56806 containing directory rather than embedding absolute directory names.
56807
56808 * scripts/check-local-headers.sh: Rewritten using awk.
56809 Match by word, not by line. Print error messages for matches.
56810 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
56811
56812 * Makerules [shlib-lds-flags empty]:
56813 ($(common-objpfx)libc_pic.opts): New target.
56814 ($(common-objpfx)libc_pic.os.clean): New target.
56815 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
56816
56817 * config.make.in (OBJCOPY): New variable.
56818 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
56819 * configure: Regenerated.
56820
56821 * config.make.in (use-default-link): New variable.
56822 * configure.in (use_default_link): Grok --with-default-link to set it.
56823 * configure: Regenerated.
56824 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
56825 (shlib-lds, shlib-lds-flags): Define to empty.
56826
56827 * Makerules (shlib-lds): New variable.
56828 (shlib-lds-flags): New variable.
56829 (build-shlib, build-moduile, build-module-asneeded): Use it.
56830 ($(common-objpfx)libc.so): Use $(shlib-lds).
56831 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
56832 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
56833
56834 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
56835 DT_FLAGS/DT_FLAGS_1 with zero flags.
56836
56837 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
56838 linker script munging.
56839
56840 2011-07-02 Ulrich Drepper <drepper@gmail.com>
56841
56842 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
56843 as 128-bit value.
56844 * crypt/sha512.c (sha512_process_block): Perform total addition using
56845 128-bit if possible.
56846 (__sha512_finish_ctx): Likewise.
56847 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
56848 as 64-bit value.
56849 * crypt/sha256.c (SWAP64): Define.
56850 (sha256_process_block): Perform total addition using 64-bit if
56851 possible.
56852 (__sha256_finish_ctx): Likewise.
56853
56854 2011-07-01 Ulrich Drepper <drepper@gmail.com>
56855
56856 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
56857 * nscd/initgrcache.c (addinitgroupsX): Likewise.
56858 * nscd/hstcache.c (cache_addhst): Likewise.
56859 * nscd/grpcache.c (cache_addgr): Likewise.
56860 * nscd/aicache.c (addhstaiX): Likewise
56861 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
56862
56863 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
56864
56865 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
56866 * nscd/initgrcache.c (addinitgroupsX): Likewise.
56867 * nscd/hstcache.c (cache_addhst): Likewise.
56868 * nscd/grpcache.c (cache_addgr): Likewise.
56869 * nscd/aicache.c (addhstaiX): Likewise
56870
56871 2011-07-01 Andreas Schwab <schwab@redhat.com>
56872
56873 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
56874 domain only when needed.
56875
56876 2011-06-30 Andreas Schwab <schwab@redhat.com>
56877
56878 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
56879 is always restored.
56880
56881 2011-06-29 Ulrich Drepper <drepper@gmail.com>
56882
56883 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
56884 are re-adding the entry.
56885 * nscd/servicescache.c (cache_addserv): Likewise.
56886
56887 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
56888
56889 * sysdeps/generic/dl-irel.h: fix protection against multiple
56890 inclusions.
56891 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
56892
56893 2011-06-28 Ulrich Drepper <drepper@gmail.com>
56894
56895 [BZ #12935]
56896 * malloc/memusage.sh: Fix quoting in message.
56897 * debug/xtrace.sh: Likewise.
56898
56899 * configure.in: Remove support for --experimental-malloc option, make
56900 it the default.
56901 * config.make.in: Likewise.
56902 * malloc/Makefile: Likewise.
56903
56904 2011-06-27 Andreas Schwab <schwab@redhat.com>
56905
56906 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
56907 two-byte characters.
56908
56909 2011-06-27 Roland McGrath <roland@hack.frob.com>
56910
56911 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
56912 AC_CACHE_CHECK invocation.
56913 * configure: Regenerated.
56914
56915 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
56916
56917 2011-06-27 Ulrich Drepper <drepper@gmail.com>
56918
56919 [BZ #12350]
56920 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
56921 bit from old_res_options.
56922
56923 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
56924
56925 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
56926 value type for setfct.
56927
56928 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
56929
56930 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
56931 __gettimeofday instead of gettimeofday.
56932
56933 2011-06-26 Ulrich Drepper <drepper@gmail.com>
56934
56935 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
56936
56937 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
56938
56939 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
56940
56941 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
56942 info.
56943
56944 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
56945
56946 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56947 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56948 strcpy-sse2-unaligned strncpy-sse2-unaligned
56949 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
56950 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
56951 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
56952 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
56953 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
56954 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
56955 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
56956 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
56957 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
56958 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
56959 (STRCPY): Support SSE2 and SSSE3 versions.
56960
56961 2011-06-24 Ulrich Drepper <drepper@gmail.com>
56962
56963 [BZ #12874]
56964 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
56965 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
56966 kernels which artificially limit size of requests.
56967
56968 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
56969
56970 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56971 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
56972 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
56973 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
56974 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
56975 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
56976 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
56977 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
56978 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
56979 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
56980 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
56981 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
56982 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
56983 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
56984 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
56985 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56986 Enable unaligned load optimization for Intel Core i3, i5 and i7
56987 processors.
56988 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
56989 Define.
56990 (index_Fast_Unaligned_Load): Define.
56991 (HAS_FAST_UNALIGNED_LOAD): Define.
56992
56993 2011-06-23 Marek Polacek <mpolacek@redhat.com>
56994
56995 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
56996
56997 2011-06-22 Ulrich Drepper <drepper@gmail.com>
56998
56999 [BZ #12907]
57000 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
57001 until it is clear that the information is realy needed.
57002 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
57003
57004 2011-06-22 Andreas Schwab <schwab@redhat.com>
57005
57006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
57007
57008 2011-06-22 Ulrich Drepper <drepper@gmail.com>
57009
57010 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57011 /sys/devices/system/cpu/online if it is usable.
57012
57013 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
57014 reading the information from the /proc filesystem to once a second.
57015
57016 2011-06-21 Andreas Jaeger <aj@suse.de>
57017
57018 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
57019 NULL after inclusion of kernel headers.
57020
57021 2011-06-21 Ulrich Drepper <drepper@gmail.com>
57022
57023 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
57024 calls to internal_setent.
57025
57026 [BZ #12885]
57027 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
57028 addresses using gethostbyname4_r ignore IPv4 addresses.
57029
57030 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
57031 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
57032
57033 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
57034
57035 2011-06-20 David S. Miller <davem@davemloft.net>
57036
57037 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
57038 inclusions.
57039 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
57040
57041 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
57042 (elf_irel): Use it.
57043 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
57044 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
57045 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
57046 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
57047 * sysdeps/x86_64/dl-irel.h: Likewise.
57048
57049 * elf/dl-runtime.c: Use elf_ifunc_invoke.
57050 * elf/dl-sym.c: Likewise.
57051
57052 2011-06-15 Ulrich Drepper <drepper@gmail.com>
57053
57054 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
57055 need to dereference resplen2.
57056
57057 2011-06-14 Andreas Schwab <schwab@redhat.com>
57058
57059 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
57060
57061 2011-06-15 Ulrich Drepper <drepper@gmail.com>
57062
57063 * Makeconfig: Define vardbdir and inst_vardbdir.
57064 * nss/Makefile: Add rules to install db-Makefile.
57065
57066 * nss/nss_db/db-XXX.c: Cleanup.
57067
57068 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
57069 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
57070 GLIBC_PRIVATE.
57071 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
57072 * nss/makedb.c: Implement -g option to specify that value strings
57073 are generated and should not be added to table iterated over for
57074 get*ent calls.
57075 * nss/nss_db/db-initgroups.c: New file.
57076
57077 * nss/getent.c: Add support for initgroups lookups through getgrouplist
57078 interface.
57079
57080 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
57081 (internal_getgrouplist): Adjust to name change.
57082 Update use_initgroups_entry if this is not the first call.
57083 * nss/databases.def: Add initgroups entry.
57084
57085 * nss/makedb.c (compute_tables): Check result of multiple hash table
57086 sizes to minimize maximum chain length.
57087
57088 2011-06-14 Ulrich Drepper <drepper@gmail.com>
57089
57090 * Versions.def: Add entry for libnss_db.
57091 * shlib-versions: Likewise.
57092 * nss/Makefile: Add rules to build libnss_db.
57093 * nss/Versions: Add libnss_db information. Organize libnss_files
57094 entries better.
57095 * nss/db-Makefile: Add gshadow support. Change rules for the new
57096 makedb progra. Some minor improvements to generate smaller files.
57097 * nss/nss_db/nss_db.h: Move NSS database header data structures to
57098 here from...
57099 * nss/makedb.c: ...here.
57100 Improve database format to be smaller and require less memory at
57101 runtime.
57102 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
57103 db anymore.
57104 * nss/nss_db/db-netgrp.c: Likewise.
57105 * nss/nss_db/db-open.c: Likewise.
57106 * nss/nss_files/flies-XXX.x: Adjust comments.
57107 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
57108 * nss/nss_files/files-grp.c: Likewise.
57109 * nss/nss_files/files-hosts.c: Likewise.
57110 * nss/nss_files/files-network.c: Likewise.
57111 * nss/nss_files/files-proto.c: Likewise.
57112 * nss/nss_files/files-pwd.c: Likewise.
57113 * nss/nss_files/files-rpc.c: Likewise.
57114 * nss/nss_files/files-service.c: Likewise.
57115 * nss/nss_files/files-sgrp.c: Likewise.
57116 * nss/nss_files/files-spwd.c: Likewise.
57117 * nss/nss_db/db-alias.c: Removed.
57118 * nss/nss_db/dummy-db.h: Removed.
57119
57120 2011-06-02 Ulrich Drepper <drepper@gmail.com>
57121
57122 * nss/makedb.c: Rewritten to not use database library.
57123 * nss/Makefile: Update to build new makedb program.
57124
57125 2011-06-14 Andreas Jaeger <aj@suse.de>
57126
57127 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
57128 memset declaration.
57129
57130 2011-06-10 Andreas Schwab <schwab@redhat.com>
57131
57132 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
57133 tmpbuf.
57134
57135 2011-06-10 Roland McGrath <roland@hack.frob.com>
57136
57137 * Makerules (shlib.lds): Fail if the linker script comes out empty.
57138 * elf/Makefile ($(objpfx)ld.so): Likewise.
57139
57140 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
57141 Don't list ld.so twice in dependencies.
57142
57143 * posix/bug-regex31.c: Include <stdlib.h>.
57144
57145 * nscd/hstcache.c (cache_addhst): Remove unused variable.
57146
57147 * nis/nss_compat/compat-spwd.c
57148 (getspent_next_nss_netgr): Remove unused variable.
57149 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
57150
57151 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
57152 nonmembers" output to use the right array.
57153
57154 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
57155
57156 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
57157
57158 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
57159 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
57160 * catgets/gencat.c (read_input_file): Likewise.
57161 * locale/programs/locarchive.c (enlarge_archive): Likewise.
57162
57163 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
57164 variable definition inside #if's controlling its use.
57165
57166 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
57167
57168 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
57169
57170 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
57171
57172 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
57173 unreachable code.
57174
57175 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
57176
57177 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
57178 * configure: Regenerated.
57179
57180 * Makerules: Revert last change.
57181 * elf/Makefile: Likewise.
57182
57183 2011-06-09 Roland McGrath <roland@hack.frob.com>
57184
57185 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
57186 * elf/Makefile ($(objpfx)librtld.os): Likewise.
57187 (reloc-link): Likewise.
57188
57189 2011-06-09 Ulrich Drepper <drepper@gmail.com>
57190
57191 * elf/Makefile: Add rules to build pldd.
57192 * elf/pldd.c: New file.
57193 * elf/pldd-xx.c: New file.
57194
57195 2011-06-07 Ulrich Drepper <drepper@gmail.com>
57196
57197 * version.h: Update for 2.15 development version.
57198
57199 2011-06-07 David S. Miller <davem@davemloft.net>
57200
57201 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
57202 ifuncs.
57203 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
57204 elf_machine_lazy_rel): Likewise.
57205 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57206 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
57207 elf_machine_lazy_rel): Likewise.
57208 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
57209 dl_hwcap via passed in argument.
57210 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
57211 Likewise.
57212
57213 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57214
57215 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
57216
57217 2011-06-06 Roland McGrath <roland@hack.frob.com>
57218
57219 [BZ #12849]
57220 * manual/fdl-1.1.texi: New file, verbatim from:
57221 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
57222 * manual/lgpl-2.1.texi: New file, verbatim from:
57223 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
57224 * manual/Makefile (licenses): New variable, list those new file names.
57225 (texis): Use it.
57226 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
57227
57228 * manual/fdl.texi: File removed.
57229 * manual/lesser.texi: File removed.
57230 * manual/libc.texinfo (Copying, Documentation License):
57231 Use new @include file names, put @appendix directive before @include.
57232
57233 2011-06-04 Jakub Jelinek <jakub@redhat.com>
57234
57235 [BZ #12841]
57236 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
57237 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
57238 (mq_open): Add __NTH.
57239
57240 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
57241
57242 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57243 Assume Intel Core i3/i5/i7 processor if AVX is available.
57244
57245 2011-05-31 Ulrich Drepper <drepper@gmail.com>
57246
57247 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
57248 typo.
57249
57250 2011-05-31 Andreas Schwab <schwab@redhat.com>
57251
57252 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
57253 memory. Use alloca_account. Fix memory leak when retrying.
57254
57255 2011-05-31 Ulrich Drepper <drepper@gmail.com>
57256
57257 * version.h (RELEASE): Bump for 2.14 release.
57258 * include/features.h (__GLIBC_MINOR__): Bump to 14.
57259
57260 * config.make.in (RANLIB): Remove entry.
57261
57262 2011-05-30 Ulrich Drepper <drepper@gmail.com>
57263
57264 * po/Makefile (po-sed-cmd): Add ksh to extensions.
57265 (libc.pot): Work around missing support for .ksh extension in xgettext.
57266
57267 [BZ #12684]
57268 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
57269 if both request failed.
57270 (send_dg): In case of server errors clear resplen or *resplen2.
57271
57272 [BZ #12454]
57273 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
57274 when there are multiple maps.
57275 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
57276 (_dl_fini): Remove test here.
57277
57278 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
57279
57280 2011-05-29 Ulrich Drepper <drepper@gmail.com>
57281
57282 [BZ #12350]
57283 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
57284 bit from old_res_options.
57285 (gaih_inet): Likewise.
57286
57287 [BZ #11099]
57288 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
57289 as signed.
57290
57291 * resolv/res_init.c (res_setoptions): Make the code more compact.
57292
57293 [BZ #11558]
57294 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
57295 set RES_USEVC.
57296
57297 [BZ #11634]
57298 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
57299
57300 * malloc/malloc.h: Mark malloc hook variables as deprecated.
57301
57302 [BZ #11781]
57303 * malloc/malloc.h: Declare malloc hook variables as volatile.
57304
57305 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
57306 in last patch.
57307
57308 [BZ #11799]
57309 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
57310 raise in the comment.
57311 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
57312 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
57313 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
57314
57315 2011-05-28 Ulrich Drepper <drepper@gmail.com>
57316
57317 [BZ #12811]
57318 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
57319 grow the buffers more if it already has to be sufficient.
57320 (build_wcs_upper_buffer): Likewise.
57321 * posix/regexec.c (check_matching): Likewise.
57322 (clean_state_log_if_needed): Likewise.
57323 (extend_buffers): Don't enlarge buffers beyond size of the input
57324 buffer.
57325 Patches mostly by Emil Wojak <emil@wojak.eu>.
57326 * posix/bug-regex32.c: New file.
57327 * posix/Makefile (tests): Add bug-regex32.
57328
57329 * locale/findlocale.c (_nl_find_locale): Return right away if
57330 _nl_explode_name failed.
57331 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
57332
57333 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
57334
57335 * debug/xtrace.sh: Unify messages.
57336 * malloc/memusage.sh: Likewise.
57337
57338 [BZ #12813]
57339 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
57340 time symbol from vDSO. Substitute with vsyscall if not available.
57341 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
57342 __vdso_time.
57343
57344 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
57345 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
57346 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
57347 Add sendmmsg and internal_sendmmsg.
57348 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
57349 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
57350 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
57351
57352 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
57353 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
57354 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
57355
57356 2011-05-27 Ulrich Drepper <drepper@gmail.com>
57357
57358 [BZ #12813]
57359 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
57360 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
57361 available.
57362 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
57363 __vdso_getcpu.
57364
57365 [BZ #12814]
57366 * iconvdata/Makefile (tests): Add bug-iconv9.
57367 * iconvdata/bug-iconv9.c: New file.
57368
57369 2011-05-27 Andreas Schwab <schwab@redhat.com>
57370
57371 [BZ #12814]
57372 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
57373
57374 2011-05-25 Jakub Jelinek <jakub@redhat.com>
57375
57376 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57377 (struct user_regs_struct): Change intcs field back to cs.
57378
57379 2011-05-25 Ulrich Drepper <drepper@gmail.com>
57380
57381 * po/ja.po: Update from translation team.
57382
57383 2011-05-23 Ulrich Drepper <drepper@gmail.com>
57384
57385 [BZ #12795]
57386 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
57387 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
57388
57389 2011-05-20 Andreas Schwab <schwab@redhat.com>
57390
57391 * stdlib/longlong.h: Update from GCC.
57392
57393 2011-05-23 Andreas Schwab <schwab@redhat.com>
57394
57395 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
57396 parameter name.
57397 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
57398 Add parameter name.
57399 (__sysconf): Pass it down.
57400
57401 2011-05-22 Ulrich Drepper <drepper@gmail.com>
57402
57403 [BZ #12671]
57404 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
57405 some situations.
57406 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57407 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
57408 add in in __libc_use_alloca calls. Adjust callers.
57409 (glob): Use malloc in some situations.
57410
57411 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
57412 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
57413 pltexit.
57414
57415 2011-05-21 Ulrich Drepper <drepper@gmail.com>
57416
57417 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
57418 and CLOCK_BOOTTIME_ALARM.
57419
57420 [BZ #12782]
57421 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
57422 is returned.
57423
57424 * string/_strerror.c (__strerror_r): Print negative errors as signed
57425 numbers.
57426
57427 [BZ #12777]
57428 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
57429 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
57430 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
57431
57432 * configure.in: Fix typo in redirection and correct removal of test
57433 files in two cases.
57434
57435 [BZ #12788]
57436 * locale/setlocale.c (new_composite_name): Fix test to check for
57437 identical name of all categories.
57438
57439 [BZ #12792]
57440 * libio/filedoalloc.c (local_isatty): New function.
57441 (_IO_file_doallocate): Use local_isatty.
57442 * stdio-common/perror.c (perror): In case a new stream is used
57443 forward the stream error.
57444 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
57445 error flag.
57446
57447 2011-05-20 Ulrich Drepper <drepper@gmail.com>
57448
57449 [BZ #11869]
57450 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
57451 alloca.
57452 * include/alloca.h (extend_alloca_account): Define.
57453
57454 [BZ #11857]
57455 * posix/regex.h: Fix comments with documentation of user-accessible
57456 fields after compilation and describe correct free'ing of pattern
57457 after re_compile_pattern.
57458 Patch by Reuben Thomas <rrt@sc3d.org>.
57459
57460 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
57461
57462 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
57463 and -mno-altivec to prevent the compiler from using Altivec and/or
57464 VSX instructions when the corresponding registers are not available.
57465
57466 2011-05-19 Andreas Schwab <schwab@redhat.com>
57467
57468 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
57469
57470 2011-05-19 Ulrich Drepper <drepper@gmail.com>
57471
57472 * libio/freopen.c (freopen): Use __dup2, not dup2.
57473 * libio/freopen64.c (freopen64): Likewise.
57474
57475 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
57476
57477 [BZ #12775]
57478 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
57479 * math/Makefile (tests): Add test-powl.
57480 (CFLAGS-test-powl.c): Define.
57481 * math/test-powl.c: New file.
57482
57483 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
57484
57485 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
57486
57487 2011-05-17 Ulrich Drepper <drepper@gmail.com>
57488
57489 [BZ #11837]
57490 * iconvdata/gb18030.c: Update to GB18020-2005.
57491
57492 2011-05-16 Ulrich Drepper <drepper@gmail.com>
57493
57494 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
57495 RE_SYNTAX_POSIX_AWK): Update to match recent development.
57496 Patch by Aharon Robbins <arnold@skeeve.com>.
57497
57498 [BZ #11892]
57499 * stdlib/putenv.c (putenv): Don't always create copy of the variable
57500 on the stack.
57501
57502 [BZ #11895]
57503 * misc/pselect.c (__pselect): Handle timeout value errors hidden
57504 through underflows.
57505
57506 [BZ #12766]
57507 * misc/error.c (error_at_line): Ensure file_name and old_file_name
57508 point to strings before performing equality test for error_one_per_line
57509 mode.
57510
57511 [BZ #11697]
57512 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
57513
57514 [BZ #11820]
57515 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
57516 (struct user_fpregs_struct): Avoid __uint*_t types.
57517
57518 [BZ #6420]
57519 * malloc/mtrace.c (tr_where): Add additional parameter to point to
57520 symbol info. Use it instead of calling _dl_addr locally.
57521 (lock_and_info): New function.
57522 (tr_freehook): Call lock_and_info and pass symbol info as additional
57523 parameter to tr_where.
57524 (tr_mallochook): Likewise.
57525 (tr_reallochook): Likewise.
57526 (tr_memalignhook): Likewise.
57527
57528 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
57529 used and couldn't be at all thread-safe.
57530
57531 2011-05-15 Ulrich Drepper <drepper@gmail.com>
57532
57533 * libio/freopen.c (freopen): Don't close old file descriptor
57534 before the new one is opened. Instead dup the new file descriptor
57535 to the old one after the new stream is created.
57536 * libio/freopen64.c (freopen64): Likewise.
57537 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
57538 * libio/fileops.c (_IO_new_file_close_it): Handle new
57539 _IO_FLAGS2_NOCLOSE flag.
57540 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
57541 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
57542 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
57543 _IO_FLAGS2_NOCLOSE flag.
57544 * include/unistd.h: Add hidden_proto for dup3.
57545 Define __have_dup3.
57546 * io/dup3.c: Define hidden symbol.
57547 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
57548
57549 [BZ #7101]
57550 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
57551 when an incomplete long option is used.
57552 * posix/tst-getopt_long1.c: New file.
57553 * posix/Makefile (tests): Add tst-getopt_long1.
57554
57555 [BZ #10138]
57556 * scripts/config.guess: Update from autoconf-2.68.
57557 * scripts/config.sub: Likewise.
57558
57559 [BZ #10157]
57560 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
57561 tests into ...
57562 (has_cpuclock): ...this. New function.
57563 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
57564 macro here based on has_cpuclock code.
57565
57566 [BZ #10149]
57567 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57568 First byte (not low byte) is now always NUL.
57569 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
57570
57571 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57572 Use non-cancelable interfaces.
57573
57574 [BZ #9809]
57575 * locale/iso-639.def: Add entry for Sorani.
57576
57577 [BZ #11901]
57578 * include/stdlib.h: Move include protection to the right place.
57579 Define abort_msg_s. Declare __abort_msg with it.
57580 * stdlib/abort.c (__abort_msg): Adjust type.
57581 * assert/assert.c (__assert_fail_base): New function. Majority
57582 of code from __assert_fail. Allocate memory for __abort_msg with
57583 mmap.
57584 (__assert_fail): Now call __assert_fail_base.
57585 * assert/assert-perr.c: Remove bulk of implementation. Use
57586 __assert_fail_base.
57587 * include/assert.hL Declare __assert_fail_base.
57588 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
57589 mmap.
57590 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
57591
57592 2011-05-14 Ulrich Drepper <drepper@gmail.com>
57593
57594 [BZ #11952]
57595 [BZ #12453]
57596 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
57597 until all modules are registered in the DTV.
57598 * elf/Makefile: Add rules to build and run tst-tls19.
57599 * elf/tst-tls19.c: New file.
57600 * elf/tst-tls19mod1.c: New file.
57601 * elf/tst-tls19mod2.c: New file.
57602 * elf/tst-tls19mod3.c: New file.
57603 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
57604
57605 [BZ #12083]
57606 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
57607 correctly.
57608
57609 [BZ #12601]
57610 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
57611 two-byte sequence errors.
57612 * iconvdata/Makefile (tests): Add bug-iconv8.
57613 * iconvdata/bug-iconv8.c: New file.
57614
57615 [BZ #12626]
57616 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
57617 buf2 definition.
57618
57619 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
57620
57621 [BZ #12432]
57622 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
57623 (dummy_getcfa): New function.
57624 (init): Get _Unwind_GetCFA address, use dummy if not found.
57625 (backtrace_helper): In recursion check, also check whether CFA changes.
57626 (__backtrace): Completely initialize arg.
57627
57628 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
57629 storing incomplete byte sequence in state object. Avoid testing for
57630 guaranteed too small input if we know there is enough data available.
57631
57632 2011-05-11 Andreas Schwab <schwab@redhat.com>
57633
57634 * Makeconfig (+link-pie): Indent.
57635 * Rules (binaries-pie): Define if $(have-fpie) and
57636 $(build-shared).
57637 (binaries-shared): Also filter out $(binaries-pie).
57638 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
57639 * nscd/Makefile (others-pie): Add nscd.
57640 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
57641 ($(objpfx)nscd): Remove command override.
57642 * login/Makefile (others-pie): Add pt_chown.
57643 ($(objpfx)pt_chown): Remove command override.
57644 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
57645 remove command overrides.
57646
57647 2011-05-13 Ulrich Drepper <drepper@gmail.com>
57648
57649 * libio/tst_putwc.c: Fix error messages.
57650
57651 [BZ #12724]
57652 * libio/fileops.c (_IO_new_file_close_it): Always flush when
57653 currently writing and seek to current position when not.
57654 * libio/Makefile (tests): Add bug-fclose1.
57655 * libio/bug-fclose1.c: New file.
57656
57657 2011-05-12 Ulrich Drepper <drepper@gmail.com>
57658
57659 [BZ #12511]
57660 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
57661 don't set DF_1_NODELETE here.
57662 (do_lookup_x): When entering new entry test for copy relocation
57663 and if necessary set DF_1_NODELETE flag.
57664 * elf/tst-unique4.cc: New file.
57665 * elf/tst-unique4.h: New file.
57666 * elf/tst-unique4lib.cc: New file.
57667 * elf/Makefile: Add rules to build and run tst-unique4.
57668 Patch by Piotr Bury <pbury@goahead.com>.
57669
57670 2011-05-11 Ulrich Drepper <drepper@gmail.com>
57671
57672 [BZ #12052]
57673 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
57674
57675 [BZ #12625]
57676 * misc/mntent_r.c (addmntent): Flush the stream after the output
57677
57678 [BZ #12393]
57679 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
57680 (is_trusted_path_normalize): Skip initial colon. Append slash
57681 to empty buffer. Duplicate is_trusted_path code but allow
57682 constructed patch to be prefix.
57683 (is_dst): Allow $ORIGIN followed by /.
57684 (_dl_dst_substitute): Correct clearing of check_for_trusted.
57685 Correct testing of result of is_trusted_path_normalize
57686 (decompose_rpath): Fix warning.
57687
57688 2011-05-10 Ulrich Drepper <drepper@gmail.com>
57689
57690 [BZ #11257]
57691 * grp/initgroups.c (internal_getgrouplist): When we found the service
57692 list through the initgroups entry in nsswitch.conf do not always
57693 continue on a successful lookup. Don't always use the
57694 __nss_group_database value if it is set.
57695 * nss/nsswitch.conf (initgroups): Change action for successful db
57696 lookup to continue for compatibility.
57697
57698 2011-05-09 Ulrich Drepper <drepper@gmail.com>
57699
57700 [BZ #11532]
57701 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
57702 and CP774 modules.
57703 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
57704 and CP774 modules.
57705 * iconvdata/tst-tables.sh: Likewise.
57706 * iconvdata/cp770.c: New file.
57707 * iconvdata/cp771.c: New file.
57708 * iconvdata/cp772.c: New file.
57709 * iconvdata/cp773.c: New file.
57710 * iconvdata/cp774.c: New file.
57711 * iconvdata/testdata/CP770: New file.
57712 * iconvdata/testdata/CP770..UTF8: New file.
57713 * iconvdata/testdata/CP771: New file.
57714 * iconvdata/testdata/CP771..UTF8: New file.
57715 * iconvdata/testdata/CP772: New file.
57716 * iconvdata/testdata/CP772..UTF8: New file.
57717 * iconvdata/testdata/CP773: New file.
57718 * iconvdata/testdata/CP773..UTF8: New file.
57719 * iconvdata/testdata/CP774: New file.
57720 * iconvdata/testdata/CP774..UTF8: New file.
57721
57722 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
57723 END CHARMAP line.
57724 * iconvdata/gen-8bit-gap.sh: Likewise.
57725 * iconvdata/gen-8bit.sh: Likewise.
57726
57727 * locale/iso-639.def: Add ary entry.
57728
57729 [BZ #11258]
57730 * locale/C-translit.h.in: Add U20A1 transliteration.
57731
57732 [BZ #12178]
57733 * locale/iso-639.def: Add wae entry.
57734 Patch by Kevin Bortis <bortis@translate-wae.ch>.
57735
57736 [BZ #12545]
57737 * locale/programs/localedef.c (construct_output_path): Use ssize_t
57738 for n.
57739
57740 [BZ #12711]
57741 * locale/C-translit.h.in: Add entry for U20B9.
57742 Patch by pravin.d.s@gmail.com.
57743
57744 2011-05-08 Ulrich Drepper <drepper@gmail.com>
57745
57746 [BZ #12713]
57747 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
57748 ENAMETOOLONG use generic getcwd.
57749 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
57750 in rtld. Use *stat64.
57751 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
57752 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
57753 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
57754 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
57755 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
57756 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
57757 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
57758 __fstatat64 macros.
57759 * include/dirent.h: Add libc_hidden_proto for rewinddir.
57760 * dirent/rewinddir.c: Add libc_hidden_def.
57761 * sysdeps/mach/hurd/rewinddir.c: Likewise.
57762 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
57763
57764 * include/dirent.h (__alloc_dir): Add flags parameter.
57765 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
57766 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
57767 __alloc_dir.
57768 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
57769 from fdopendir if O_CLOEXEC is already set.
57770
57771 2011-03-15 Alan Modra <amodra@gmail.com>
57772
57773 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
57774 l_tls_firstbyte_offset non-zero. Save padding offset in
57775 l_tls_firstbyte_offset for later use.
57776 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
57777 freeing static tls block.
57778
57779 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
57780
57781 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
57782 where #ifdef was intended. The intent is to prevent ARG_MAX from
57783 being defined by the kernel headers.
57784
57785 2011-05-07 Ulrich Drepper <drepper@gmail.com>
57786
57787 [BZ #12734]
57788 * resolv/resolv.h: Define RES_NOTLDQUERY.
57789 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
57790 no-tld-query and set RES_NOTLDQUERY.
57791 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
57792 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
57793 modern BIND to search name as TLD unless forbidden.
57794
57795 2011-05-07 Petr Baudis <pasky@suse.cz>
57796 Ulrich Drepper <drepper@gmail.com>
57797
57798 [BZ #12393]
57799 * elf/dl-load.c (fillin_rpath): Move trusted path check...
57800 (is_trusted_path): ...to here.
57801 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
57802 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
57803 using is_trusted_path_normalize() in setuid scripts.
57804
57805 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
57806
57807 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
57808 __BEGIN/__END_DECLS.
57809
57810 2011-05-06 Ulrich Drepper <drepper@gmail.com>
57811
57812 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
57813 NSS_STATUS_NOTFOUND if no record was found.
57814
57815 2011-05-05 Andreas Schwab <schwab@redhat.com>
57816
57817 * sunrpc/Makefile (headers): Add rpc/netdb.h.
57818 (headers-not-in-tirpc): Remove rpc/netdb.h
57819 * resolv/netdb.h: Revert last change.
57820
57821 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
57822
57823 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
57824 circular dependency between libgcc.a and libc.a.
57825
57826 2011-05-05 Andreas Schwab <schwab@redhat.com>
57827
57828 * resolv/netdb.h: Don't include <rpc/netdb.h>.
57829 * nis/Makefile: Don't install rpcsvc/*.
57830 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
57831 instead of <rpc/types.h>.
57832 (MAXHOSTNAMELEN): Define.
57833
57834 2011-05-03 Andreas Schwab <schwab@redhat.com>
57835
57836 * elf/ldconfig.c (add_dir): Don't crash on empty path.
57837
57838 2011-04-28 Maciej Babinski <mbabinski@google.com>
57839
57840 [BZ #12714]
57841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
57842 gethostbyname4_r when IPv6 results are possible.
57843
57844 2011-05-02 Ulrich Drepper <drepper@gmail.com>
57845
57846 [BZ #12723]
57847 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
57848 _PC_PIPE_BUF handling.
57849
57850 2011-04-30 Bruno Haible <bruno@clisp.org>
57851
57852 [BZ #12717]
57853 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
57854 * resolv/netdb.h (getnameinfo): Change type of flags parameter
57855 to 'int'.
57856 * inet/getnameinfo.c (getnameinfo): Likewise.
57857
57858 2011-04-29 Ulrich Drepper <drepper@gmail.com>
57859
57860 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
57861 to groups setting in database lookup.
57862 * nss/nsswitch.conf: Add initgroups entry.
57863
57864 2011-04-22 Ulrich Drepper <drepper@gmail.com>
57865
57866 [BZ #12685]
57867 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
57868 mode string.
57869 Patch by Eric Blake <eblake@redhat.com>.
57870
57871 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
57872
57873 * sunrpc/Makefile (need-export-routines): Add svc_run.
57874 (routines): Remove svc_run.
57875 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
57876 * sunrpc/clnt_perr.c (clnt_perrno): Export.
57877 * sunrpc/svc_run.c (svc_run): Likewise.
57878 * sunrpc/svc_udp.c (svcudp_create): Likewise.
57879
57880 2011-04-21 Ulrich Drepper <drepper@gmail.com>
57881
57882 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
57883 problem in reallocation in last patch.
57884
57885 2011-04-20 Ulrich Drepper <drepper@gmail.com>
57886
57887 * sunrpc/Makefile: Move inclusion of Rules.
57888
57889 2011-04-19 Ulrich Drepper <drepper@gmail.com>
57890
57891 * nss/nss_files/files-initgroups.c: New file.
57892 * nss/Makefile (libnss_files-routines): Add files-initgroups.
57893 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
57894 _nss_files_initgroups_dyn.
57895
57896 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
57897
57898 * elf/elf.h (R_ARM_IRELATIVE): Define.
57899
57900 2011-04-19 Ulrich Drepper <drepper@gmail.com>
57901
57902 * po/ru.po: Update from translation team.
57903
57904 2011-04-17 Ulrich Drepper <drepper@gmail.com>
57905
57906 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
57907 dependencies.
57908
57909 2011-02-06 Mike Frysinger <vapier@gentoo.org>
57910
57911 [BZ #12653]
57912 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
57913 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
57914 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
57915 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
57916 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
57917
57918 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
57919
57920 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
57921 differing bytes.
57922 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57923 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57924 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57925
57926 2011-04-17 Ulrich Drepper <drepper@gmail.com>
57927
57928 [BZ #12420]
57929 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
57930 storing it.
57931 * stdlib/bug-getcontext.c: New file.
57932 * stdlib/Makefile: Add rules to build and run bug-getcontext.
57933
57934 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57935
57936 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
57937 instructions into .machine "z9-109".
57938 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
57939 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
57940
57941 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57942
57943 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
57944 between environment variables and auxiliary vector.
57945
57946 2011-04-16 Ulrich Drepper <drepper@gmail.com>
57947
57948 * Makefile: Add rules to build linkobj/libc.so.
57949 * include/libc-symbols.h: Define libc_hidden_nolink.
57950 * include/rpc/auth.h: Mark functions which are to be hidden.
57951 * include/rpc/auth_des.h: Likewise.
57952 * include/rpc/auth_unix.h: Likewise.
57953 * include/rpc/clnt.h: Likewise.
57954 * include/rpc/des_crypt.h: Likewise.
57955 * include/rpc/key_prot.h: Likewise.
57956 * include/rpc/pmap_clnt.h: Likewise.
57957 * include/rpc/pmap_prot.h: Likewise.
57958 * include/rpc/pmap_rmt.h: Likewise.
57959 * include/rpc/rpc_msg.h: Likewise.
57960 * include/rpc/svc.h: Likewise.
57961 * include/rpc/svc_auth.h: Likewise.
57962 * include/rpc/xdr.h: Likewise.
57963 * nis/Makefile: Link all DSOs against linkobj/libc.so.
57964 * nss/Makefile: Likewise.
57965 * sunrpc/Makefile: Don't install headers. Build library with normal
57966 entry points. Don't build rpcinfo. Link RPC tests appropriately.
57967 * sunrpc/auth_des.c: Hide exported symbols by default, export some
57968 for the compat linking library. Remove use of INTDEF/INTUSE.
57969 * sunrpc/auth_none.c: Likewise.
57970 * sunrpc/auth_unix.c: Likewise.
57971 * sunrpc/authdes_prot.c: Likewise.
57972 * sunrpc/authuxprot.c: Likewise.
57973 * sunrpc/clnt_gen.c: Likewise.
57974 * sunrpc/clnt_perr.c: Likewise.
57975 * sunrpc/clnt_raw.c: Likewise.
57976 * sunrpc/clnt_simp.c: Likewise.
57977 * sunrpc/clnt_tcp.c: Likewise.
57978 * sunrpc/clnt_udp.c: Likewise.
57979 * sunrpc/clnt_unix.c: Likewise.
57980 * sunrpc/des_crypt.c: Likewise.
57981 * sunrpc/des_soft.c: Likewise.
57982 * sunrpc/get_myaddr.c: Likewise.
57983 * sunrpc/key_call.c: Likewise.
57984 * sunrpc/key_prot.c: Likewise.
57985 * sunrpc/netname.c: Likewise.
57986 * sunrpc/pm_getmaps.c: Likewise.
57987 * sunrpc/pm_getport.c: Likewise.
57988 * sunrpc/pmap_clnt.c: Likewise.
57989 * sunrpc/pmap_prot.c: Likewise.
57990 * sunrpc/pmap_prot2.c: Likewise.
57991 * sunrpc/pmap_rmt.c: Likewise.
57992 * sunrpc/publickey.c: Likewise.
57993 * sunrpc/rpc_cmsg.c: Likewise.
57994 * sunrpc/rpc_common.c: Likewise.
57995 * sunrpc/rpc_dtable.c: Likewise.
57996 * sunrpc/rpc_prot.c: Likewise.
57997 * sunrpc/rpc_thread.c: Likewise.
57998 * sunrpc/rtime.c: Likewise.
57999 * sunrpc/svc.c: Likewise.
58000 * sunrpc/svc_auth.c: Likewise.
58001 * sunrpc/svc_authux.c: Likewise.
58002 * sunrpc/svc_raw.c: Likewise.
58003 * sunrpc/svc_run.c: Likewise.
58004 * sunrpc/svc_simple.c: Likewise.
58005 * sunrpc/svc_tcp.c: Likewise.
58006 * sunrpc/svc_udp.c: Likewise.
58007 * sunrpc/svc_unix.c: Likewise.
58008 * sunrpc/svcauth_des.c: Likewise.
58009 * sunrpc/xcrypt.c: Likewise.
58010 * sunrpc/xdr.c: Likewise.
58011 * sunrpc/xdr_array.c: Likewise.
58012 * sunrpc/xdr_float.c: Likewise.
58013 * sunrpc/xdr_intXX_t.c: Likewise.
58014 * sunrpc/xdr_mem.c: Likewise.
58015 * sunrpc/xdr_rec.c: Likewise.
58016 * sunrpc/xdr_ref.c: Likewise.
58017 * sunrpc/xdr_sizeof.c: Likewise.
58018 * sunrpc/xdr_stdio.c: Likewise.
58019
58020 2011-04-10 Ulrich Drepper <drepper@gmail.com>
58021
58022 [BZ #12650]
58023 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
58024 * sysdeps/ia64/dl-tls.h: Likewise.
58025 * sysdeps/powerpc/dl-tls.h: Likewise.
58026 * sysdeps/s390/dl-tls.h: Likewise.
58027 * sysdeps/sh/dl-tls.h: Likewise.
58028 * sysdeps/sparc/dl-tls.h: Likewise.
58029 * sysdeps/x86_64/dl-tls.h: Likewise.
58030 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
58031
58032 2011-03-14 Andreas Schwab <schwab@redhat.com>
58033
58034 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
58035 rpath element also skip the following colon.
58036 (expand_dynamic_string_token): Add is_path parameter and pass
58037 down to DL_DST_REQUIRED and _dl_dst_substitute.
58038 (decompose_rpath): Call expand_dynamic_string_token with
58039 non-zero is_path. Ignore empty rpaths.
58040 (_dl_map_object_from_fd): Call expand_dynamic_string_token
58041 with zero is_path.
58042
58043 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
58044
58045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58046 Make cancelable.
58047
58048 2011-04-09 Ulrich Drepper <drepper@gmail.com>
58049
58050 [BZ #12655]
58051 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
58052 Patch by Filipe David Manana <fdmanana@apache.org>.
58053
58054 2011-04-07 Andreas Schwab <schwab@redhat.com>
58055
58056 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
58057 Maintain aligned stack.
58058 (CHECK_RSP): Remove unused macro.
58059
58060 2011-04-03 Ulrich Drepper <drepper@gmail.com>
58061
58062 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
58063 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
58064
58065 2011-04-02 Ulrich Drepper <drepper@gmail.com>
58066
58067 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
58068
58069 * include/features.h: Mention __USE_XOPEN2K8 in comment.
58070
58071 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
58072
58073 [BZ #12518]
58074 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
58075 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
58076 * sysdeps/x86_64/memmove.c: New file.
58077 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
58078 (memcpy): Renamed to ...
58079 (__new_memcpy): This.
58080 (memcpy): Provide GLIBC_2_14 memcpy.
58081 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
58082 (memcpy): Provide GLIBC_2_2_5 memcpy.
58083
58084 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58085
58086 [BZ #12631]
58087 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
58088
58089 2011-03-30 Andreas Schwab <schwab@redhat.com>
58090
58091 * misc/syncfs.c: New file.
58092 * misc/Makefile (routines): Add syncfs.
58093 * posix/unistd.h: Declare syncfs.
58094 * sysdeps/unix/syscalls.list: Add syncfs.
58095
58096 2011-04-01 Andreas Schwab <schwab@redhat.com>
58097
58098 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
58099 open_by_handle_at.
58100 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58101 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58102 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58103 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58104 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58105 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
58106 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58107
58108 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58109
58110 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
58111 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58112 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
58113 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58114 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58115 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58116 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58117
58118 * io/Makefile: Compile fallocate.c, fallocate64.c, and
58119 sync_file_range.c with -fexceptions.
58120 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
58121 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
58122 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
58123 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
58124 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
58125 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58126 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
58127 sync_file_range as cancellation point
58128 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
58129 now a wrapper around __call_sync_file_range with cancellation handling.
58130 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
58131 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
58132 function name to __call_sync_file_range.
58133 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
58134 Add call_sync_file_range.
58135
58136 2011-04-01 Andreas Schwab <schwab@redhat.com>
58137
58138 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58139 bits/timex.h.
58140
58141 2011-04-01 Ulrich Drepper <drepper@gmail.com>
58142
58143 * iconv/iconv.h: Fix typo in comment.
58144 * io/fcntl.h: Likewise.
58145 * libio/stdio.h: Likewise.
58146 * posix/spawn.h: Likewise.
58147 * posix/unistd.h: Likewise.
58148 * stdlib/stdlib.h: Likewise.
58149 * time/time.h: Likewise.
58150 * wcsmbs/wchar.h: Likewise.
58151
58152 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
58153 open_by_handle): Add.
58154 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
58155 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
58156 Augment a few comments.
58157 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58158 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58159 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58160 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58161 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58162 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
58163 open_by_handle.
58164
58165 * io/fcntl.h (AT_EMPTY_PATH): Define.
58166
58167 2011-03-30 Ulrich Drepper <drepper@gmail.com>
58168
58169 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
58170 * sysdeps/unix/sysv/linux/bits/time.h: New file.
58171 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
58172 to...
58173 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
58174 * Versions.def: Add GLIBC_2.14.
58175 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
58176 Export.
58177
58178 2011-03-22 Ulrich Drepper <drepper@gmail.com>
58179
58180 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
58181 round counter.
58182 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58183
58184 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
58185
58186 [BZ #12597]
58187 * string/test-strncmp.c (do_page_test): New function.
58188 (check2): Likewise.
58189 (test_main): Call check2.
58190 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
58191
58192 2011-03-20 Ulrich Drepper <drepper@gmail.com>
58193
58194 [BZ #12587]
58195 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
58196 Handle cache information in CPU leaf 4.
58197 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58198
58199 2011-03-18 Ulrich Drepper <drepper@gmail.com>
58200
58201 [BZ #12583]
58202 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
58203 character representation.
58204 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
58205
58206 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
58207
58208 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
58209 END(__isnan) to END(__isnanf) to match function entry point/label
58210 EALIGN(__isnanf,...).
58211
58212 2011-03-10 Jakub Jelinek <jakub@redhat.com>
58213
58214 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
58215
58216 2011-03-10 Ulrich Drepper <drepper@gmail.com>
58217
58218 [BZ #12510]
58219 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
58220 copy from the symbol referenced in the relocation to initialize the
58221 used variable.
58222 Patch by Piotr Bury <pbury@goahead.com>.
58223 * elf/Makefile: Add rules to build and tst-unique3.
58224 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
58225 * elf/tst-unique3.cc: New file.
58226 * elf/tst-unique3.h: New file.
58227 * elf/tst-unique3lib.cc: New file.
58228 * elf/tst-unique3lib2.cc: New file.
58229
58230 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
58231
58232 2011-03-10 Mike Frysinger <vapier@gentoo.org>
58233
58234 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
58235 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
58236 to _start.
58237
58238 2011-03-06 Ulrich Drepper <drepper@gmail.com>
58239
58240 * elf/dl-load.c (_dl_map_object): If we are looking for the first
58241 to-be-loaded object along a path to loader is ld.so.
58242
58243 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58244 Ulrich Drepper <drepper@gmail.com>
58245
58246 * sysdeps/x86_64/memset.S: After aligning destination, code
58247 branches to different locations depending on the value of
58248 misalignment, when multiarch is enabled. Fix this.
58249
58250 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
58251
58252 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
58253 Set _x86_64_preferred_memory_instruction for AMD processsors.
58254 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58255 Set bit_Prefer_SSE_for_memop for AMD processors.
58256
58257 2011-03-04 Ulrich Drepper <drepper@gmail.com>
58258
58259 * libio/fmemopen.c (fmemopen): Optimize a bit.
58260
58261 2011-03-03 Andreas Schwab <schwab@redhat.com>
58262
58263 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
58264
58265 2011-03-03 Roland McGrath <roland@redhat.com>
58266
58267 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
58268
58269 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
58270
58271 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
58272 __bzero_ultra1 instead of __memset_ultra1.
58273
58274 2011-02-23 Andreas Schwab <schwab@redhat.com>
58275 Ulrich Drepper <drepper@gmail.com>
58276
58277 [BZ #12509]
58278 * include/link.h (struct link_map): Add l_orig_initfini.
58279 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
58280 returning unsuccessfully.
58281 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
58282 close of a file loaded at startup, restore the original l_initfini
58283 list.
58284 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
58285 list, store the pointer.
58286 * elf/Makefile ($(objpfx)noload-mem): New rule.
58287 (noload-ENV): Define.
58288 (tests): Add $(objpfx)noload-mem.
58289 * elf/noload.c: Include <memcheck.h>.
58290 (main): Call mtrace. Close all opened handles.
58291
58292 2011-02-17 Andreas Schwab <schwab@redhat.com>
58293
58294 [BZ #12454]
58295 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
58296 dependencies are missing.
58297
58298 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
58299
58300 Fix __if_freereq crash: Unlike the generic version which uses free,
58301 Hurd needs munmap.
58302 * sysdeps/mach/hurd/ifreq.h: New file.
58303
58304 2011-01-27 Petr Baudis <pasky@suse.cz>
58305 Ulrich Drepper <drepper@gmail.com>
58306
58307 [BZ 12445]#
58308 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
58309 to extend_alloca().
58310 * stdio-common/bug23.c: New file.
58311 * stdio-common/Makefile (tests): Add bug23.
58312
58313 2010-09-28 Andreas Schwab <schwab@redhat.com>
58314 Ulrich Drepper <drepper@gmail.com>
58315
58316 [BZ #12489]
58317 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
58318 before performing relro protection. At old place add assertion
58319 to make sure nothing changed.
58320
58321 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
58322 Glauber de Oliveira Costa <glommer@gmail.com>
58323
58324 * elf/elf.h: Add new ARM TLS relocs.
58325
58326 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
58327
58328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
58329 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
58330 cast from r3.
58331 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
58332 'tests' variable.
58333 * sysdeps/wordsize-64/tst-writev.c: New file.
58334
58335 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
58336
58337 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
58338 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
58339 insns in _dl_start to prevent a TOC reference before relocs are
58340 resolved.
58341
58342 2011-02-15 Ulrich Drepper <drepper@gmail.com>
58343
58344 [BZ #12469]
58345 * Makeconfig: Remove RANLIB definition.
58346 * Makerules: Don't use RANLIB.
58347 * aclocal.m4: Remove ranlib test.
58348 * configure.in: No need to check for ranlib.
58349 * elf/rtld-Rules: Don't use RANLIB.
58350
58351 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
58352
58353 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
58354 protection macro.
58355 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
58356 inclusion protection macro.
58357
58358 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
58359 SIGRTMIN and SIGRTMAX and print information in that case only when
58360 SIGRTMIN is defined.
58361
58362 2011-02-11 Jakub Jelinek <jakub@redhat.com>
58363
58364 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
58365 arginfo fn returning -1.
58366
58367 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
58368 and thousands string is zero terminated.
58369
58370 2011-02-03 Andreas Schwab <schwab@redhat.com>
58371
58372 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
58373 sysdeps/unix/sysv/linux/bits/socket.h.
58374
58375 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
58376
58377 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
58378 (__CPU_COUNT): Remove old macros.
58379 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
58380 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
58381 (__CPU_ALLOC, __CPU_FREE): Add macros.
58382 (__sched_cpualloc, __sched_cpufree): Add declarations.
58383
58384 2011-02-05 Ulrich Drepper <drepper@gmail.com>
58385
58386 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
58387 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
58388 * nscd/aicache.c (addhstaiX): Return timeout of added value.
58389 (readdhstai): Return value of addhstaiX call.
58390 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
58391 (addgrbyX): Return value returned by cache_addgr.
58392 (readdgrbyname): Return value returned by addgrbyX.
58393 (readdgrbygid): Likewise.
58394 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
58395 (addpwbyX): Return value returned by cache_addpw.
58396 (readdpwbyname): Return value returned by addhstbyX.
58397 (readdpwbyuid): Likewise.
58398 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
58399 (addservbyX): Return value returned by cache_addserv.
58400 (readdservbyname): Return value returned by addservbyX:
58401 (readdservbyport): Likewise.
58402 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
58403 (addhstbyX): Return value returned by cache_addhst.
58404 (readdhstbyname): Return value returned by addhstbyX.
58405 (readdhstbyaddr): Likewise.
58406 (readdhstbynamev6): Likewise.
58407 (readdhstbyaddrv6): Likewise.
58408 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
58409 (readdinitgroups): Return value returned by addinitgroupsX.
58410 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
58411 (prune_cache): Keep track of timeout value of re-added entries.
58412 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
58413 * nscd/nscd.h: Adjust prototypes of readd* functions.
58414
58415 2011-02-04 Roland McGrath <roland@redhat.com>
58416
58417 * nis/nis_server.c (nis_servstate): Use the right name for 0.
58418 (nis_stats): Likewise.
58419 * nis/nis_modify.c (nis_modify): Likewise.
58420 * nis/nis_remove.c (nis_remove): Likewise.
58421 * nis/nis_add.c (nis_add): Likewise.
58422
58423 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
58424
58425 * posix/fnmatch_loop.c: Add some consts.
58426
58427 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
58428
58429 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
58430
58431 [BZ #12460]
58432 * config.make.in (config-cflags-novzeroupper): Define.
58433 * configure.in: Substitute libc_cv_cc_novzeroupper.
58434 * elf/Makefile (AVX-CFLAGS): Define.
58435 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
58436 (CFLAGS-tst-auditmod4a.c): Likewise.
58437 (CFLAGS-tst-auditmod4b.c): Likewise.
58438 (CFLAGS-tst-auditmod6b.c): Likewise.
58439 (CFLAGS-tst-auditmod6c.c): Likewise.
58440 (CFLAGS-tst-auditmod7b.c): Likewise.
58441 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
58442
58443 2011-02-02 Ulrich Drepper <drepper@gmail.com>
58444
58445 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
58446 function to the callback.
58447 Patch partly by Jiri Olsa <jolsa@redhat.com>.
58448
58449 2011-02-02 Andreas Schwab <schwab@redhat.com>
58450
58451 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
58452 of errno.
58453
58454 2011-01-19 Ulrich Drepper <drepper@gmail.com>
58455
58456 [BZ #11724]
58457 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
58458 of constructors.
58459 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
58460 of destructors.
58461 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
58462
58463 [BZ #11724]
58464 * elf/Makefile: Add rules to build and run new test.
58465 * elf/tst-initorder.c: New file.
58466 * elf/tst-initorder.exp: New file.
58467 * elf/tst-initordera1.c: New file.
58468 * elf/tst-initordera2.c: New file.
58469 * elf/tst-initordera3.c: New file.
58470 * elf/tst-initordera4.c: New file.
58471 * elf/tst-initorderb1.c: New file.
58472 * elf/tst-initorderb2.c: New file.
58473 * elf/tst-order-a1.c: New file.
58474 * elf/tst-order-a2.c: New file.
58475 * elf/tst-order-a3.c: New file.
58476 * elf/tst-order-a4.c: New file.
58477 * elf/tst-order-b1.c: New file.
58478 * elf/tst-order-b2.c: New file.
58479 * elf/tst-order-main.c: New file.
58480 New test case by George Gensure <werkt0@gmail.com>.
58481
58482 2010-10-01 Andreas Schwab <schwab@redhat.com>
58483
58484 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
58485 decoding ACE if AI_CANONIDN.
58486
58487 2011-01-18 Ulrich Drepper <drepper@gmail.com>
58488
58489 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
58490
58491 2011-01-17 Ulrich Drepper <drepper@gmail.com>
58492
58493 * version.h (RELEASE): Bump for 2.13 release.
58494 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
58495
58496 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
58497
58498 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
58499 MADV_NOHUGEPAGE.
58500 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
58501 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
58502 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
58503 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
58504 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
58505 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58506
58507 * posix/getconf.c: Update copyright year.
58508 * catgets/gencat.c: Likewise.
58509 * csu/version.c: Likewise.
58510 * debug/catchsegv.sh: Likewise.
58511 * debug/xtrace.sh: Likewise.
58512 * elf/ldconfig.c: Likewise.
58513 * elf/ldd.bash.in: Likewise.
58514 * elf/sprof.c (print_version): Likewise.
58515 * iconv/iconv_prog.c: Likewise.
58516 * iconv/iconvconfig.c: Likewise.
58517 * locale/programs/locale.c: Likewise.
58518 * locale/programs/localedef.c: Likewise.
58519 * malloc/memusage.sh: Likewise.
58520 * malloc/mtrace.pl: Likewise.
58521 * nscd/nscd.c (print_version): Likewise.
58522 * nss/getent.c: Likewise.
58523
58524 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
58525 PF_CAIF, and PF_ALG.
58526 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58527
58528 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
58529
58530 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
58531 (modules-names): Use them.
58532 (ifunc-test-modules, ifunc-pie-tests): Define.
58533 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
58534 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
58535 (test-extras): Likewise.
58536 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
58537 $(compile-command.c).
58538 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
58539 (all-built-dso): Define.
58540 (check-textrel.out, check-execstack.out): Depend on it.
58541
58542 * configure.in: Don't override --enable-multi-arch.
58543
58544 2011-01-15 Ulrich Drepper <drepper@gmail.com>
58545
58546 [BZ #6812]
58547 * nscd/hstcache.c (tryagain): Define.
58548 (cache_addhst): Return tryagain not notfound for temporary errors.
58549 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
58550 failed.
58551
58552 2011-01-14 Ulrich Drepper <drepper@gmail.com>
58553
58554 [BZ #10563]
58555 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
58556 to make the syscall.
58557 * sysdeps/unix/sysv/linux/setgroups.c: New file.
58558
58559 [BZ #12378]
58560 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
58561 and fall back to matching as normal character if the string ends before
58562 the matching ']' is found. This is what POSIX requires.
58563 * posix/testfnm.c: Adjust test result.
58564 * posix/globtest.sh: Adjust test result. Add new test.
58565 * posix/tst-fnmatch.input: Likewise.
58566 * posix/tst-fnmatch2.c: Add new test.
58567
58568 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
58569
58570 * elf/Makefile (check-execstack): Revert last change. Depend on
58571 check-execstack.h.
58572 (check-execstack.h): New target.
58573 (generated): Add check-execstack.h.
58574 * elf/check-execstack.c: Include "check-execstack.h".
58575 (main): Revert last change.
58576 (handle_file): Return zero if GNU_STACK is absent and
58577 DEFAULT_STACK_PERMS doesn't include PF_X.
58578
58579 2011-01-13 Ulrich Drepper <drepper@gmail.com>
58580
58581 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
58582 in child fails because the descriptor is already closed.
58583 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
58584 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
58585 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
58586
58587 [BZ #12397]
58588 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
58589 syscall.
58590
58591 [BZ #10484]
58592 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
58593 temporary buffer used to handle multi lookups locally.
58594 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
58595
58596 2011-01-12 Ulrich Drepper <drepper@gmail.com>
58597
58598 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
58599 loader is ld.so.
58600
58601 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
58602
58603 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
58604 alignment for SSE2.
58605
58606 2011-01-12 Ulrich Drepper <drepper@gmail.com>
58607
58608 [BZ #12394]
58609 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
58610 characters. When rounding increased number of integer digits recompute
58611 number of groups.
58612 * stdio-common/tst-grouping.c: New file.
58613 * stdio-common/Makefile: Add rules to build and run tst-grouping.
58614
58615 2011-01-09 Ulrich Drepper <drepper@gmail.com>
58616
58617 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
58618 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
58619
58620 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
58621 void.
58622 * bits/select.h: Likewise.
58623
58624 2011-01-08 Ulrich Drepper <drepper@gmail.com>
58625
58626 * po/ja.po: Update from translation team.
58627
58628 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
58629
58630 [BZ #11155]
58631 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
58632 implementation just like for lxstat, fxstatat, et al.
58633
58634 2010-12-27 Jim Meyering <meyering@redhat.com>
58635
58636 [BZ #12348]
58637 * posix/regexec.c (build_trtable): Return failure indication upon
58638 calloc failure. Otherwise, re_search_internal could infloop on OOM.
58639
58640 2010-12-25 Ulrich Drepper <drepper@gmail.com>
58641
58642 [BZ #12201]
58643 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
58644 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
58645 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
58646 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
58647
58648 [BZ #12207]
58649 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
58650
58651 [BZ #12204]
58652 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
58653 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
58654
58655 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
58656
58657 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
58658 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
58659 script has SORT_BY_INIT_PRIORITY.
58660 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
58661 NO_CTORS_DTORS_SECTIONS is defined.
58662 * elf/soinit.c: Likewise.
58663 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
58664 NO_CTORS_DTORS_SECTIONS is defined.
58665 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
58666 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
58667 * sysdeps/sh/init-first.c: Likewise.
58668 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
58669
58670 2010-12-24 Ulrich Drepper <drepper@gmail.com>
58671
58672 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
58673 always use the slow path.
58674
58675 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
58676
58677 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
58678 similar rule which adds the sysdep directories to the header search in
58679 order to pick up the correct platform stackinfo.h.
58680 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
58681 perform test if it is, otherwise return successfully without testing.
58682 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
58683 DEFAULT_STACK_PERMS define in stackinfo.h.
58684 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
58685 defined in stackinfo.h.
58686 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
58687 DEFAULT_STACK_PERMS defined in stackinfo.h.
58688 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
58689 * sysdeps/ia64/stackinfo.h: Likewise.
58690 * sysdeps/s390/stackinfo.h: Likewise.
58691 * sysdeps/sh/stackinfo.h: Likewise.
58692 * sysdeps/sparc/stackinfo.h: Likewise.
58693 * sysdeps/x86_64/stackinfo.h: Likewise.
58694 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
58695 PF_X for powerpc64. Retain PF_X for powerpc32.
58696
58697 2010-12-19 Ulrich Drepper <drepper@gmail.com>
58698
58699 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
58700 accurately.
58701 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
58702 GETDENTS_64BIT_ALIGNED.
58703
58704 2010-12-14 Ulrich Drepper <dreper@gmail.com>
58705
58706 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
58707
58708 2010-12-10 Andreas Schwab <schwab@redhat.com>
58709
58710 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
58711 _GNU_SOURCE.
58712
58713 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
58714 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
58715 Remove __restrict.
58716 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
58717 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
58718
58719 2010-12-09 Ulrich Drepper <drepper@gmail.com>
58720
58721 [BZ #11655]
58722 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
58723 are initialized.
58724
58725 2010-12-09 Jakub Jelinek <jakub@redhat.com>
58726
58727 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
58728
58729 2010-12-03 Ulrich Drepper <drepper@gmail.com>
58730
58731 * po/it.po: Update from translation team.
58732
58733 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
58734
58735 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
58736 unused codes.
58737
58738 2010-11-30 Ulrich Drepper <drepper@gmail.com>
58739
58740 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
58741
58742 2010-11-24 Andreas Schwab <schwab@redhat.com>
58743
58744 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
58745 specially.
58746 (gaih_getanswer_slice): Likewise.
58747
58748 2010-10-20 Jakub Jelinek <jakub@redhat.com>
58749
58750 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
58751
58752 2010-05-31 Petr Baudis <pasky@suse.cz>
58753
58754 [BZ #11149]
58755 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
58756 silently even in the chroot mode.
58757
58758 2010-11-22 Ulrich Drepper <drepper@gmail.com>
58759
58760 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
58761 last patch a bit. Pretty printing
58762
58763 2010-05-31 Petr Baudis <pasky@suse.cz>
58764
58765 [BZ #10085]
58766 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
58767 initialization of skip_initgroups_dyn.
58768
58769 2010-11-19 Ulrich Drepper <drepper@gmail.com>
58770
58771 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
58772 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
58773
58774 2010-11-16 Ulrich Drepper <drepper@gmail.com>
58775
58776 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
58777
58778 2010-11-11 Andreas Schwab <schwab@redhat.com>
58779
58780 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
58781 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
58782 (tst-fnmatch-ENV): Set MALLOC_TRACE.
58783 ($(objpfx)tst-fnmatch-mem): New rule.
58784 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
58785 * posix/tst-fnmatch.c (main): Call mtrace.
58786
58787 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
58788
58789 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58790 Support Intel processor model 6 and model 0x2c.
58791
58792 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
58793
58794 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
58795 signed comparison.
58796
58797 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
58798
58799 [BZ #12205]
58800 * string/test-strncasecmp.c (check_result): New function.
58801 (do_one_test): Use it.
58802 (check1): New function.
58803 (test_main): Use it.
58804 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
58805 Support strcasecmp and strncasecmp.
58806
58807 2010-11-08 Ulrich Drepper <drepper@gmail.com>
58808
58809 [BZ #12194]
58810 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
58811 * sysdeps/x86_64/bits/byteswap.h: Likewise.
58812
58813 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
58814
58815 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
58816 IFUNC support.
58817 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58818 memset-x86-64.
58819 * sysdeps/x86_64/multiarch/bzero.S: New file.
58820 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
58821 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
58822 * sysdeps/x86_64/multiarch/memset.S: New file.
58823 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
58824 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58825 Set bit_Prefer_SSE_for_memop for Intel processors.
58826 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
58827 Define.
58828 (index_Prefer_SSE_for_memop): Define.
58829 (HAS_PREFER_SSE_FOR_MEMOP): Define.
58830
58831 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
58832
58833 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
58834 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
58835
58836 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
58837
58838 [BZ #12191]
58839 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58840 (__x86_64_raw_data_cache_size_half): Likewise.
58841 (__x86_64_raw_shared_cache_size): Likewise.
58842 (__x86_64_raw_shared_cache_size_half): Likewise.
58843
58844 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
58845 (__x86_64_raw_data_cache_size_half): Likewise.
58846 (__x86_64_raw_shared_cache_size): Likewise.
58847 (__x86_64_raw_shared_cache_size_half): Likewise.
58848 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
58849 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
58850 and __x86_64_raw_shared_cache_size_half. Round
58851 __x86_64_data_cache_size_half, __x86_64_data_cache_size
58852 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
58853 to multiple of 256 bytes.
58854
58855 2010-11-03 Ulrich Drepper <drepper@gmail.com>
58856
58857 [BZ #12167]
58858 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
58859 of inacessible symlinks. Verify result of symlink before returning it.
58860 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
58861 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
58862
58863 2010-10-28 Erich Ritz <erichritz@gmail.com>
58864
58865 * math/math.h (isinf): Fix typo in comment.
58866
58867 2010-11-01 Ulrich Drepper <drepper@gmail.com>
58868
58869 * po/da.po: Update from translation team.
58870
58871 2010-10-26 Ulrich Drepper <drepper@gmail.com>
58872
58873 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
58874 is added to the list.
58875
58876 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
58877 Ulrich Drepper <drepper@gmail.com>
58878
58879 * elf/dl-object.c (_dl_new_object): Don't append the new object to
58880 the global list here. Move code to...
58881 (_dl_add_to_namespace_list): ...here. New function.
58882 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
58883 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
58884 * elf/dl-load.c (lose): Don't remove the element from the list.
58885 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
58886 (_dl_map_object): Likewise.
58887
58888 2010-10-25 Ulrich Drepper <drepper@gmail.com>
58889
58890 [BZ #12159]
58891 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
58892 into all bytes of SSE register.
58893 Patch by Richard Li <richardpku@gmail.com>.
58894
58895 2010-10-24 Ulrich Drepper <drepper@gmail.com>
58896
58897 [BZ #12140]
58898 * malloc/malloc.c (_int_free): Fill correct number of bytes when
58899 perturbing.
58900
58901 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
58902
58903 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
58904 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
58905 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
58906 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
58907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
58908 submachine.
58909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
58910
58911 2010-10-22 Andreas Schwab <schwab@redhat.com>
58912
58913 * include/dlfcn.h (__RTLD_SECURE): Define.
58914 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
58915 mode & __RTLD_SECURE instead.
58916 (open_path): Rename preloaded parameter to secure.
58917 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
58918 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
58919 * elf/dl-deps.c (openaux): Likewise.
58920 * elf/rtld.c (struct map_args): Remove is_preloaded.
58921 (map_doit): Don't use it.
58922 (dl_main): Likewise.
58923 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
58924 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
58925
58926 2010-09-09 Andreas Schwab <schwab@redhat.com>
58927
58928 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
58929 (sysd-rules-targets): Remove duplicates.
58930 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
58931 rtld-%.$o dependency.
58932
58933 2010-10-18 Andreas Schwab <schwab@redhat.com>
58934
58935 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
58936 _dl_map_object do it.
58937
58938 2010-10-19 Ulrich Drepper <drepper@gmail.com>
58939
58940 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
58941 fast fma builtins, define the macros in the C99 standard.
58942 (FP_FAST_FMAF): Likewise.
58943 (FP_FAST_FMAL): Likewise.
58944 * sysdeps/x86_64/bits/mathdef.h: Likewise.
58945
58946 * bits/mathdef.h: Update copyright year.
58947 * sysdeps/powerpc/bits/mathdef.h: Likewise.
58948
58949 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
58950
58951 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
58952 builtins, define the macros in the C99 standard.
58953 (FP_FAST_FMAF): Likewise.
58954 (FP_FAST_FMAL): Likewise.
58955 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
58956 multiply/add.
58957 (FP_FAST_FMAF): Likewise.
58958
58959 2010-10-15 Jakub Jelinek <jakub@redhat.com>
58960
58961 [BZ #3268]
58962 * math/libm-test.inc (fma_test): Some new testcases.
58963 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
58964 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
58965 y and infinite z. Do multiplication by C already in long double.
58966 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
58967 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
58968 y and infinite z. Do bitwise or of inexact bit into u.d.
58969 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
58970 * sysdeps/i386/fpu/s_fmaf.S: Removed.
58971 * sysdeps/i386/fpu/s_fma.S: Removed.
58972 * sysdeps/i386/fpu/s_fmal.S: Removed.
58973
58974 2010-10-16 Jakub Jelinek <jakub@redhat.com>
58975
58976 [BZ #3268]
58977 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
58978 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
58979 computation is not scheduled after fetestexcept. Fix value
58980 of minimum denormal long double.
58981
58982 2010-10-14 Jakub Jelinek <jakub@redhat.com>
58983
58984 [BZ #3268]
58985 * math/libm-test.inc (fma_test): Add some more tests.
58986 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
58987 correctly.
58988
58989 2010-10-15 Andreas Schwab <schwab@redhat.com>
58990
58991 * scripts/data/localplt-s390-linux-gnu.data: New file.
58992 * scripts/data/localplt-s390x-linux-gnu.data: New file.
58993
58994 2010-10-13 Jakub Jelinek <jakub@redhat.com>
58995
58996 [BZ #3268]
58997 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
58998 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
58999 instead of dbl-64.
59000 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
59001 inlines.
59002 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
59003 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
59004 if one of x and y is very large and the other is subnormal.
59005 * sysdeps/s390/fpu/s_fmaf.c: New file.
59006 * sysdeps/s390/fpu/s_fma.c: New file.
59007 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
59008 * sysdeps/powerpc/fpu/s_fma.S: New file.
59009 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
59010 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
59011 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
59012
59013 2010-10-12 Jakub Jelinek <jakub@redhat.com>
59014
59015 [BZ #3268]
59016 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
59017 fma tests.
59018 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
59019 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
59020 * sysdeps/i386/i686/multiarch/s_fma.c: Include
59021 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
59022 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
59023 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
59024 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
59025
59026 2010-10-12 Ulrich Drepper <drepper@redhat.com>
59027
59028 [BZ #12078]
59029 * posix/regcomp.c (parse_branch): One more memory leak plugged.
59030 * posix/bug-regex31.input: Add test case.
59031
59032 2010-10-11 Ulrich Drepper <drepper@gmail.com>
59033
59034 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
59035 * posix/bug-regex31.input: New file.
59036
59037 [BZ #12078]
59038 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
59039 (parse_sub_exp): Fix last change, use postorder.
59040
59041 * posix/bug-regex31.c: New file.
59042 * posix/Makefile: Add rules to build and run bug-regex31.
59043
59044 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
59045
59046 [BZ #12078]
59047 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
59048
59049 [BZ #12108]
59050 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
59051 to have entries in sys_siglist.
59052
59053 [BZ #12093]
59054 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
59055 be NULL.
59056
59057 2010-10-07 Jakub Jelinek <jakub@redhat.com>
59058
59059 [BZ #3268]
59060 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
59061 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
59062 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
59063 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
59064 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59065 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
59066 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
59067 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
59068 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
59069 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
59070 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
59071 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
59072 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
59073 * math/ftestexcept.c (fetestexcept): Likewise.
59074 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
59075 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
59076 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
59077 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
59078 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
59079 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
59080 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59081
59082 2010-10-11 Ulrich Drepper <drepper@gmail.com>
59083
59084 [BZ #12107]
59085 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
59086 newline.
59087
59088 2010-10-06 Ulrich Drepper <drepper@gmail.com>
59089
59090 * string/bug-strstr1.c: New file.
59091 * string/Makefile: Add rules to build and run bug-strstr1.
59092
59093 2010-10-05 Eric Blake <eblake@redhat.com>
59094
59095 [BZ #12092]
59096 * string/str-two-way.h (two_way_long_needle): Always clear memory
59097 when skipping input due to the shift table.
59098
59099 2010-10-03 Ulrich Drepper <drepper@gmail.com>
59100
59101 [BZ #12005]
59102 * malloc/mcheck.c: Handle large requests.
59103
59104 [BZ #12077]
59105 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
59106 for strncmp and strncasecmp.
59107 * string/stratcliff.c: Add tests for strcmp and strncmp.
59108 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
59109
59110 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
59111
59112 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
59113 __set_fpscr.
59114
59115 2010-09-30 Andreas Jaeger <aj@suse.de>
59116
59117 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
59118 (CGROUP_SUPER_MAGIC): Define.
59119 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59120 Handle btrfs and cgroup file systems.
59121 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59122 Likewise.
59123
59124 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
59125
59126 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
59127 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
59128
59129 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59130
59131 [BZ #12067]
59132 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
59133 trying to locate the ELF header.
59134
59135 2010-09-27 Andreas Schwab <schwab@redhat.com>
59136
59137 [BZ #11611]
59138 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
59139 Mask out sign-bit copies when constructing f_fsid.
59140
59141 2010-09-24 Petr Baudis <pasky@suse.cz>
59142
59143 * debug/stack_chk_fail_local.c: Add missing licence exception.
59144 * debug/warning-nop.c: Likewise.
59145
59146 2010-09-15 Joseph Myers <joseph@codesourcery.com>
59147
59148 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
59149 implementing getdents64 using getdents syscall, set d_type if
59150 __ASSUME_GETDENTS32_D_TYPE.
59151
59152 2010-09-16 Andreas Schwab <schwab@redhat.com>
59153
59154 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
59155 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
59156
59157 2010-09-21 Ulrich Drepper <drepper@redhat.com>
59158
59159 [BZ #12037]
59160 * posix/unistd.h: Undo change of feature selection for ftruncate from
59161 2010-01-11.
59162
59163 2010-09-20 Ulrich Drepper <drepper@redhat.com>
59164
59165 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
59166 detection.
59167
59168 2010-09-20 Andreas Schwab <schwab@redhat.com>
59169
59170 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
59171 fanotify_mark.
59172 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59173
59174 2010-09-14 Andreas Schwab <schwab@redhat.com>
59175
59176 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
59177 variables after CHECK_SP call.
59178 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
59179
59180 2010-09-13 Andreas Schwab <schwab@redhat.com>
59181 Ulrich Drepper <drepper@redhat.com>
59182
59183 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
59184 re-relocationg ld.so.
59185 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
59186 _dl_init_paths call.
59187 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
59188 here anymore.
59189
59190 2010-09-14 Ulrich Drepper <drepper@redhat.com>
59191
59192 * resolv/res_init.c (__res_vinit): Count the default server we added.
59193
59194 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
59195 Ulrich Drepper <drepper@redhat.com>
59196
59197 [BZ #11968]
59198 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
59199 (____longjmp_chk): Use %ebx for saving value across system call.
59200 Add unwind info.
59201
59202 2010-09-06 Andreas Schwab <schwab@redhat.com>
59203
59204 * manual/Makefile: Don't mix pattern rules with normal rules.
59205
59206 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
59207
59208 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
59209 operation.
59210 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
59211 * libio/iofopncook.c (_IO_cookie_init): Likewise.
59212 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
59213 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
59214 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
59215 Likewise.
59216
59217 2010-09-04 Ulrich Drepper <drepper@redhat.com>
59218
59219 [BZ #11979]
59220 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
59221 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
59222
59223 2010-09-02 Ulrich Drepper <drepper@redhat.com>
59224
59225 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
59226 * sysdeps/x86_64/addmul_1.S: Likewise.
59227 * sysdeps/x86_64/lshift.S: Likewise.
59228 * sysdeps/x86_64/mul_1.S: Likewise.
59229 * sysdeps/x86_64/rshift.S: Likewise.
59230 * sysdeps/x86_64/sub_n.S: Likewise.
59231 * sysdeps/x86_64/submul_1.S: Likewise.
59232
59233 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
59234
59235 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
59236 Define __sched_param instead of SCHED_* and sched_param when
59237 <bits/sched.h> is included with __need_schedparam defined.
59238 * bits/sched.h [__need_schedparam]
59239 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
59240 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
59241 (__defined_schedparam): Define to 1.
59242 (__sched_param): New structure, identical to sched_param.
59243 (__need_schedparam): Undefine.
59244
59245 2010-08-31 Mike Frysinger <vapier@gentoo.org>
59246
59247 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
59248 (epoll_create1): Declare.
59249
59250 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
59251
59252 2010-08-31 Andreas Schwab <schwab@redhat.com>
59253
59254 [BZ #7066]
59255 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
59256 shifting retval into place.
59257
59258 2010-09-01 Ulrich Drepper <drepper@redhat.com>
59259
59260 * nis/rpcsvc/nis.h: Update copyright notice.
59261 * nis/rpcsvc/nis.x: Likewise.
59262 * nis/rpcsvc/nis_callback.h: Likewise.
59263 * nis/rpcsvc/nis_callback.x: Likewise.
59264 * nis/rpcsvc/nis_object.x: Likewise.
59265 * nis/rpcsvc/nis_tags.h: Likewise.
59266 * nis/rpcsvc/yp.h: Likewise.
59267 * nis/rpcsvc/yp.x: Likewise.
59268 * nis/rpcsvc/ypupd.h: Likewise.
59269 * nis/yp_xdr.c: Likewise.
59270 * nis/ypupdate_xdr.c: Likewise.
59271
59272 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
59273 mainly the body of pmap_getport. Add parameters to specify timeouts.
59274 (pmap_getport): Use __libc_rpc_getport.
59275 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
59276 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
59277 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
59278
59279 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
59280
59281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
59282 fanotify_mark.
59283
59284 2010-08-27 Roland McGrath <roland@redhat.com>
59285
59286 * sysdeps/i386/i686/multiarch/Makefile
59287 (CFLAGS-varshift.c): New variable.
59288
59289 2010-08-27 Ulrich Drepper <drepper@redhat.com>
59290
59291 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
59292 * sysdeps/i386/i686/multiarch/varshift.c: New file.
59293
59294 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
59295
59296 * sysdeps/x86_64/strlen.S: Minimal code improvement.
59297
59298 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
59299
59300 * sysdeps/x86_64/strlen.S: Unroll the loop.
59301 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59302 strlen-sse2 strlen-sse2-bsf.
59303 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
59304 __strlen_no_bsf if bit_Slow_BSF is set.
59305 (__strlen_sse42): Removed.
59306 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
59307 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
59308
59309 2010-08-25 Roland McGrath <roland@redhat.com>
59310
59311 * sysdeps/x86_64/multiarch/varshift.S: File removed.
59312 * sysdeps/x86_64/multiarch/varshift.c: New file.
59313 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
59314 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
59315 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
59316 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59317
59318 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
59319
59320 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59321 strlen-sse2 strlen-sse2-bsf.
59322 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
59323 __strlen_sse2_bsf if bit_Slow_BSF is unset.
59324 (__strlen_sse2): Removed.
59325 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
59326 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
59327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
59328 bit_Slow_BSF for Atom.
59329 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
59330 (index_Slow_BSF): Define.
59331 (HAS_SLOW_BSF): Define.
59332
59333 2010-08-25 Ulrich Drepper <drepper@redhat.com>
59334
59335 [BZ #10851]
59336 * resolv/res_init.c (__res_vinit): When no server address at all
59337 is given default to loopback.
59338
59339 2010-08-24 Roland McGrath <roland@redhat.com>
59340
59341 * configure.in: Remove config-name.h generation.
59342 * configure: Regenerated.
59343 * config-name.in: File removed.
59344 * scripts/config-uname.sh: New file.
59345 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
59346 ($(objdir)config-name.h): New target.
59347
59348 * sunrpc/rpc_parse.h: Avoid nested comment.
59349
59350 2010-08-24 Richard Henderson <rth@redhat.com>
59351 Ulrich Drepper <drepper@redhat.com>
59352 H.J. Lu <hongjiu.lu@intel.com>
59353
59354 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
59355 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
59356 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
59357 Replace _mm_srli_si128 with __m128i_shift_right. Replace
59358 _mm_alignr_epi8 with _mm_loadu_si128.
59359 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
59360 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
59361 (__m128i_shift_right): Removed.
59362 * sysdeps/i386/i686/multiarch/varshift.h: New file.
59363 * sysdeps/i386/i686/multiarch/varshift.S: New file.
59364 * sysdeps/x86_64/multiarch/varshift.h: New file.
59365 * sysdeps/x86_64/multiarch/varshift.S: New file.
59366
59367 2010-08-21 Mike Frysinger <vapier@gentoo.org>
59368
59369 * configure.in: Move assembler checks to before sysdep dir checking.
59370
59371 2010-08-20 Petr Baudis <pasky@suse.cz>
59372
59373 * LICENSES: Sync the sunrpc license.
59374
59375 2010-08-19 Ulrich Drepper <drepper@redhat.com>
59376
59377 * sunrpc/auth_des.c: Update copyright notice once again.
59378 * sunrpc/auth_none.c: Likewise.
59379 * sunrpc/auth_unix.c: Likewise.
59380 * sunrpc/authdes_prot.c: Likewise.
59381 * sunrpc/authuxprot.c: Likewise.
59382 * sunrpc/bindrsvprt.c: Likewise.
59383 * sunrpc/clnt_gen.c: Likewise.
59384 * sunrpc/clnt_perr.c: Likewise.
59385 * sunrpc/clnt_raw.c: Likewise.
59386 * sunrpc/clnt_simp.c: Likewise.
59387 * sunrpc/clnt_tcp.c: Likewise.
59388 * sunrpc/clnt_udp.c: Likewise.
59389 * sunrpc/clnt_unix.c: Likewise.
59390 * sunrpc/des_crypt.c: Likewise.
59391 * sunrpc/des_soft.c: Likewise.
59392 * sunrpc/get_myaddr.c: Likewise.
59393 * sunrpc/getrpcport.c: Likewise.
59394 * sunrpc/key_call.c: Likewise.
59395 * sunrpc/key_prot.c: Likewise.
59396 * sunrpc/openchild.c: Likewise.
59397 * sunrpc/pm_getmaps.c: Likewise.
59398 * sunrpc/pm_getport.c: Likewise.
59399 * sunrpc/pmap_clnt.c: Likewise.
59400 * sunrpc/pmap_prot.c: Likewise.
59401 * sunrpc/pmap_prot2.c: Likewise.
59402 * sunrpc/pmap_rmt.c: Likewise.
59403 * sunrpc/rpc/auth.h: Likewise.
59404 * sunrpc/rpc/auth_unix.h: Likewise.
59405 * sunrpc/rpc/clnt.h: Likewise.
59406 * sunrpc/rpc/des_crypt.h: Likewise.
59407 * sunrpc/rpc/key_prot.h: Likewise.
59408 * sunrpc/rpc/netdb.h: Likewise.
59409 * sunrpc/rpc/pmap_clnt.h: Likewise.
59410 * sunrpc/rpc/pmap_prot.h: Likewise.
59411 * sunrpc/rpc/pmap_rmt.h: Likewise.
59412 * sunrpc/rpc/rpc.h: Likewise.
59413 * sunrpc/rpc/rpc_des.h: Likewise.
59414 * sunrpc/rpc/rpc_msg.h: Likewise.
59415 * sunrpc/rpc/svc.h: Likewise.
59416 * sunrpc/rpc/svc_auth.h: Likewise.
59417 * sunrpc/rpc/types.h: Likewise.
59418 * sunrpc/rpc/xdr.h: Likewise.
59419 * sunrpc/rpc_clntout.c: Likewise.
59420 * sunrpc/rpc_cmsg.c: Likewise.
59421 * sunrpc/rpc_common.c: Likewise.
59422 * sunrpc/rpc_cout.c: Likewise.
59423 * sunrpc/rpc_dtable.c: Likewise.
59424 * sunrpc/rpc_hout.c: Likewise.
59425 * sunrpc/rpc_main.c: Likewise.
59426 * sunrpc/rpc_parse.c: Likewise.
59427 * sunrpc/rpc_parse.h: Likewise.
59428 * sunrpc/rpc_prot.c: Likewise.
59429 * sunrpc/rpc_sample.c: Likewise.
59430 * sunrpc/rpc_scan.c: Likewise.
59431 * sunrpc/rpc_scan.h: Likewise.
59432 * sunrpc/rpc_svcout.c: Likewise.
59433 * sunrpc/rpc_tblout.c: Likewise.
59434 * sunrpc/rpc_util.c: Likewise.
59435 * sunrpc/rpc_util.h: Likewise.
59436 * sunrpc/rpcinfo.c: Likewise.
59437 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
59438 * sunrpc/rpcsvc/key_prot.x: Likewise.
59439 * sunrpc/rpcsvc/klm_prot.x: Likewise.
59440 * sunrpc/rpcsvc/mount.x: Likewise.
59441 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
59442 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
59443 * sunrpc/rpcsvc/rex.x: Likewise.
59444 * sunrpc/rpcsvc/rstat.x: Likewise.
59445 * sunrpc/rpcsvc/rusers.x: Likewise.
59446 * sunrpc/rpcsvc/sm_inter.x: Likewise.
59447 * sunrpc/rpcsvc/spray.x: Likewise.
59448 * sunrpc/rpcsvc/yppasswd.x: Likewise.
59449 * sunrpc/rtime.c: Likewise.
59450 * sunrpc/svc.c: Likewise.
59451 * sunrpc/svc_auth.c: Likewise.
59452 * sunrpc/svc_authux.c: Likewise.
59453 * sunrpc/svc_raw.c: Likewise.
59454 * sunrpc/svc_run.c: Likewise.
59455 * sunrpc/svc_simple.c: Likewise.
59456 * sunrpc/svc_tcp.c: Likewise.
59457 * sunrpc/svc_udp.c: Likewise.
59458 * sunrpc/svc_unix.c: Likewise.
59459 * sunrpc/svcauth_des.c: Likewise.
59460 * sunrpc/xcrypt.c: Likewise.
59461 * sunrpc/xdr.c: Likewise.
59462 * sunrpc/xdr_array.c: Likewise.
59463 * sunrpc/xdr_float.c: Likewise.
59464 * sunrpc/xdr_mem.c: Likewise.
59465 * sunrpc/xdr_rec.c: Likewise.
59466 * sunrpc/xdr_ref.c: Likewise.
59467 * sunrpc/xdr_sizeof.c: Likewise.
59468 * sunrpc/xdr_stdio.c: Likewise.
59469
59470 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
59471 handling.
59472
59473 2010-08-19 Andreas Schwab <schwab@redhat.com>
59474
59475 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
59476
59477 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
59478
59479 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
59480 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
59481 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
59482 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
59483 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
59484 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
59485 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
59486 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
59487 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
59488 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
59489 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
59490 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
59491 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
59492 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
59493
59494 2010-07-26 Anton Blanchard <anton@samba.org>
59495
59496 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
59497 * malloc/arena.c (heap_trim): Likewise.
59498
59499 2010-08-16 Ulrich Drepper <drepper@redhat.com>
59500
59501 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
59502 here. Not...
59503 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
59504 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
59505
59506 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
59507
59508 * sysdeps/i386/elf/Makefile: New file.
59509
59510 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59511
59512 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
59513 from fanotify_init.
59514 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
59515 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59516
59517 2010-08-15 Ulrich Drepper <drepper@redhat.com>
59518
59519 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
59520 of strncasecmp_l.
59521 * sysdeps/multiarch/strcmp.S: Likewise.
59522
59523 2010-08-14 Ulrich Drepper <drepper@redhat.com>
59524
59525 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59526 strncase_l-nonascii.
59527 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59528 Add strncase_l-ssse3.
59529 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
59530 * sysdeps/x86_64/strcmp.S: Likewise.
59531 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
59532 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
59533 * sysdeps/x86_64/strncase.S: New file.
59534 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
59535 * sysdeps/x86_64/strncase_l.S: New file.
59536 * string/Makefile (strop-tests): Add strncasecmp.
59537 * string/test-strncasecmp.c: New file.
59538
59539 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
59540 warning.
59541
59542 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
59543 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
59544
59545 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
59546
59547 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
59548
59549 2010-08-12 Ulrich Drepper <drepper@redhat.com>
59550
59551 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
59552 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
59553 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
59554
59555 2010-05-01 Alan Modra <amodra@gmail.com>
59556
59557 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
59558 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
59559 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
59560 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
59561 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
59562 tidying. Don't tail-call __sigjmp_save for static lib.
59563 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
59564 save location.
59565 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
59566 (CALL_MCOUNT): Add eh info, and nop after bl.
59567 (TAIL_CALL_SYSCALL_ERROR): New macro.
59568 (PSEUDO_RET): Use it.
59569 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59570 Correct save location of integer regs and cr.
59571 (_dl_profile_resolve): Correct cr save location. Delete nops
59572 after bl when SHARED. Reduce cfi size a little by better
59573 placement of cfi directives.
59574 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
59575 make a stack frame. Instead use parm save area as a temp.
59576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
59577 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
59578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59579 Don't make a stack frame for parent, use parm save area.
59580 Increase child stack frame to 112 bytes. Don't save unused reg,
59581 and adjust reg usage. Set up cfi on error recovery and
59582 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
59583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59584 (__makecontext): Add dummy nop after jump to exit.
59585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
59586 Use correct parm save area and cr save, reduce stack frame.
59587 Correct cfi for possible PSEUDO_RET frame setup.
59588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
59589 Branch to local label emitted by PSEUDO_RET rather than
59590 __syscall_error.
59591
59592 2010-08-12 Andreas Schwab <schwab@redhat.com>
59593
59594 [BZ #11904]
59595 * locale/programs/locale.c (print_assignment): New function.
59596 (show_locale_vars): Use it.
59597
59598 2010-08-11 Ulrich Drepper <drepper@redhat.com>
59599
59600 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
59601 field.
59602 (struct statfs64): Likewise.
59603 (_STATFS_F_FLAGS): Define.
59604 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
59605 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59606 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
59607 (ST_VALID): Define locally.
59608 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
59609 __statvfs_getflags, use the provided value.
59610 * sysdeps/unix/sysv/linux/kernel-features.h: Define
59611 __ASSUME_STATFS_F_FLAGS.
59612
59613 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
59614
59615 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
59616 Add sys/fanotify.h.
59617 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
59618 fanotify_mask for GLIBC_2.13.
59619 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
59620 fanotify_init and fanotify_mark.
59621 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
59622 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
59623
59624 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
59625 Add prlimit.
59626 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
59627 prlimit64 for GLIBC_2.13.
59628 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
59629 prlimit64.
59630 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
59631 syscall.
59632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
59633 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59634 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
59635 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
59636 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
59637 add prlimit alias.
59638 * sysdeps/unix/sysv/linux/prlimit.c: New file.
59639
59640 [BZ #11903]
59641 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
59642 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
59643
59644 * nss/Makefile: Add rules to build and run tst-nss-test1.
59645 * shlib-versions: Add entry for libnss_test1.
59646 * nss/nss_test1.c: New file.
59647 * nss/tst-nss-test1.c: New file.
59648
59649 * nss/nsswitch.c (__nss_database_custom): Define new variable.
59650 (__nss_configure_lookup): Set appropriate entry in
59651 __nss_configure_lookup to true.
59652 * nss/nsswitch.h: Define enum with indeces of databases in
59653 databases and __nss_database_custom arrays. Declare
59654 __nss_database_custom.
59655 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
59656 to avoid using nscd when custom rules are installed.
59657 * nss/getXXbyYY_r.c: Likewise.
59658 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
59659
59660 * nss/nss_files/files-parse.c: Whitespace fixes.
59661
59662 2010-08-09 Ulrich Drepper <drepper@redhat.com>
59663
59664 [BZ #11883]
59665 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
59666 * posix/fnmatch_loop.c: Likewise.
59667
59668 2010-07-17 Andi Kleen <ak@linux.intel.com>
59669
59670 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
59671 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
59672 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
59673 * Versions.def [GLIBC_2.13]: Add.
59674
59675 2010-08-06 Ulrich Drepper <drepper@redhat.com>
59676
59677 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59678 Also fail if tpwd after pwuid call is NULL.
59679
59680 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
59681
59682 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
59683 when converting to ms.
59684
59685 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
59686
59687 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
59688 EOPNOTSUPP errors with ENOTTY.
59689 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
59690 EOPNOTSUPP errors with ENOTTY.
59691
59692 2010-07-31 Ulrich Drepper <drepper@redhat.com>
59693
59694 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
59695 Add strcasecmp_l-ssse3.
59696 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
59697 strcasecmp.
59698 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
59699 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
59700 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
59701
59702 2010-07-30 Ulrich Drepper <drepper@redhat.com>
59703
59704 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
59705
59706 * string/Makefile (strop-tests): Add strcasecmp.
59707 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
59708 strcasecmp_l-nonascii.
59709 (gen-as-const-headers): Add locale-defines.sym.
59710 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
59711 * sysdeps/x86_64/strcasecmp.S: New file.
59712 * sysdeps/x86_64/strcasecmp_l.S: New file.
59713 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
59714 * sysdeps/x86_64/locale-defines.sym: New file.
59715 * string/test-strcasecmp.c: New file.
59716
59717 * string/test-strcasestr.c: Test both ends of the range of characters.
59718 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
59719
59720 2010-07-29 Roland McGrath <roland@redhat.com>
59721
59722 [BZ #11856]
59723 * manual/locale.texi (Yes-or-No Questions): Fix example code.
59724
59725 2010-07-27 Ulrich Drepper <drepper@redhat.com>
59726
59727 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
59728 for ld.so.
59729
59730 2010-07-27 Andreas Schwab <schwab@redhat.com>
59731
59732 * manual/memory.texi (Malloc Tunable Parameters): Document
59733 M_PERTURB.
59734
59735 2010-07-26 Roland McGrath <roland@redhat.com>
59736
59737 [BZ #11840]
59738 * configure.in (-fgnu89-inline check): Set and substitute
59739 gnu89_inline, not libc_cv_gnu89_inline.
59740 * configure: Regenerated.
59741 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
59742
59743 2010-07-26 Ulrich Drepper <drepper@redhat.com>
59744
59745 * string/test-strnlen.c: New file.
59746 * string/Makefile (strop-tests): Add strnlen.
59747 * string/tester.c (test_strnlen): Add a few more test cases.
59748 * string/tst-strlen.c: Better error reporting.
59749
59750 * sysdeps/x86_64/strnlen.S: New file.
59751
59752 2010-07-24 Ulrich Drepper <drepper@redhat.com>
59753
59754 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
59755 lower-latency instructions.
59756
59757 2010-07-23 Ulrich Drepper <drepper@redhat.com>
59758
59759 * string/test-strcasestr.c: New file.
59760 * string/test-strstr.c: New file.
59761 * string/Makefile (strop-tests): Add strstr and strcasestr.
59762 * string/str-two-way.h: Don't undefine MAX.
59763 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
59764
59765 2010-07-21 Andreas Schwab <schwab@redhat.com>
59766
59767 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
59768 strcasestr-nonascii.
59769 (CFLAGS-strcasestr-nonascii.c): Define.
59770 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
59771 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
59772 Remove unused attribute.
59773
59774 2010-07-20 Roland McGrath <roland@redhat.com>
59775
59776 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
59777 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
59778 ld.so.cache was broken. With it, there is no way to disable dsocaps
59779 like LD_HWCAP_MASK can disable hwcaps.
59780
59781 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
59782
59783 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
59784
59785 2010-07-16 Ulrich Drepper <drepper@redhat.com>
59786
59787 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
59788 call in strcasestr.
59789 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
59790 __strcasestr_sse42_nonascii.
59791 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
59792 strcasestr-nonascii.c.
59793 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
59794
59795 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
59796
59797 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
59798 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
59799 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
59800 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
59801
59802 2010-07-09 Ulrich Drepper <drepper@redhat.com>
59803
59804 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
59805 fcntl.
59806
59807 2010-07-06 Andreas Schwab <schwab@redhat.com>
59808
59809 [BZ #11577]
59810 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
59811 dl_signal_cerror.
59812
59813 2010-07-06 Ulrich Drepper <drepper@redhat.com>
59814
59815 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
59816 _PC_PIPE_BUF using F_GETPIPE_SZ.
59817
59818 2010-07-05 Roland McGrath <roland@redhat.com>
59819
59820 * manual/arith.texi (Rounding Functions): Fix rint description
59821 implicit in round description.
59822
59823 2010-07-02 Ulrich Drepper <drepper@redhat.com>
59824
59825 * elf/Makefile: Fix linking for a few tests to make recent linker
59826 happy.
59827
59828 2010-06-30 Andreas Schwab <schwab@redhat.com>
59829
59830 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
59831 $(common-objpfx)libc_nonshared.a.
59832
59833 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
59834
59835 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
59836 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
59837 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59838 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59839 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
59840 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
59841 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59842 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
59844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
59845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
59846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
59847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
59848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
59849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
59850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
59851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
59852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
59853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
59854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
59855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
59856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
59857 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
59858 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
59859 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
59860 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
59861 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
59862 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
59863 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
59864 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
59865 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
59866 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
59867 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
59868 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
59869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
59870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
59871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
59872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
59873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
59874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
59875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
59876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
59877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
59878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
59879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
59880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
59881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
59882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
59883
59884 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
59885
59886 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
59887 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
59888 * string/memmove.c (memmove): Renamed to ...
59889 (MEMMOVE): ...this. Default to memmove.
59890 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
59891 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
59892 (END_CHK): Define.
59893 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59894 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
59895 mempcpy-ssse3-back memmove-ssse3-back.
59896 * sysdeps/x86_64/multiarch/bcopy.S: New file .
59897 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
59898 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
59899 * sysdeps/x86_64/multiarch/memcpy.S: New file.
59900 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
59901 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
59902 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
59903 * sysdeps/x86_64/multiarch/memmove.c: New file.
59904 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
59905 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
59906 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
59907 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
59908 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
59909 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
59910 Define.
59911 (index_Fast_Copy_Backward): Define.
59912 (HAS_ARCH_FEATURE): Define.
59913 (HAS_FAST_REP_STRING): Define.
59914 (HAS_FAST_COPY_BACKWARD): Define.
59915
59916 2010-06-21 Andreas Schwab <schwab@redhat.com>
59917
59918 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
59919 Restore proper fallback handling.
59920
59921 2010-06-19 Ulrich Drepper <drepper@redhat.com>
59922
59923 [BZ #11701]
59924 * posix/group_member.c (__group_member): Correct checking loop.
59925
59926 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
59927 OOM in getpwuid_r correctly. Return error number when the caller
59928 should return, otherwise -1.
59929 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
59930 call returning > 0 value.
59931 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
59932
59933 2010-06-07 Andreas Schwab <schwab@redhat.com>
59934
59935 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
59936 libc_nonshared.a from targets in modules-names.
59937
59938 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
59939
59940 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
59941 requires it.
59942
59943 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
59944
59945 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
59946 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
59947 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
59948 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
59949
59950 2010-06-02 Andreas Schwab <schwab@redhat.com>
59951
59952 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
59953
59954 2010-06-14 Ulrich Drepper <drepper@redhat.com>
59955
59956 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
59957 and F_GETPIPE_SZ.
59958 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59959 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59960 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59961 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59962 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59963 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
59964
59965 2010-06-14 Roland McGrath <roland@redhat.com>
59966
59967 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
59968
59969 2010-06-07 Jakub Jelinek <jakub@redhat.com>
59970
59971 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
59972 __REDIRECT followed by __THROW.
59973 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
59974 * posix/getopt.h (getopt): Likewise.
59975
59976 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
59977
59978 * hurd/lookup-at.c (__file_name_lookup_at): Accept
59979 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
59980 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
59981 in AT_FLAGS.
59982 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
59983 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
59984
59985 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
59986
59987 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
59988
59989 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
59990
59991 [BZ #11640]
59992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59993 Properly check family and model.
59994
59995 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
59996
59997 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
59998
59999 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
60000
60001 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
60002
60003 2010-05-21 Ulrich Drepper <drepper@redhat.com>
60004
60005 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
60006 symbol reference.
60007
60008 2010-05-19 Andreas Schwab <schwab@redhat.com>
60009
60010 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
60011 symbol reference.
60012
60013 2010-05-21 Andreas Schwab <schwab@redhat.com>
60014
60015 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
60016 and internal_recvmmsg.
60017 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
60018 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
60019 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
60020 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
60021
60022 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
60023 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60024 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60025
60026 2010-05-20 Andreas Schwab <schwab@redhat.com>
60027
60028 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
60029
60030 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
60031
60032 POWER7 optimizations.
60033 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
60034 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
60035
60036 2010-05-19 Ulrich Drepper <drepper@redhat.com>
60037
60038 * version.h: Update for 2.13 development version.
60039
60040 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
60041
60042 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
60043 exceptions. Return 0.
60044
60045 2010-05-07 Roland McGrath <roland@redhat.com>
60046
60047 * elf/ldconfig.c (main): Add a const.
60048
60049 2010-05-06 Ulrich Drepper <drepper@redhat.com>
60050
60051 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
60052 (args_options): Add no-idn option.
60053 (ahosts_keys_int): Add idn_flags to ai_flags.
60054 (parse_option): Handle 'i' option to clear idn_flags.
60055
60056 * malloc/malloc.c (_int_free): Possible race in the most recently
60057 added check. Only act on the data if no current modification
60058 happened.
60059
60060 See ChangeLog.17 for earlier changes.