]> sourceware.org Git - glibc.git/blame - ChangeLog
Make strtok benchmark competive.
[glibc.git] / ChangeLog
CommitLineData
ff71cc37
RM
12014-02-28 Roland McGrath <roland@hack.frob.com>
2
f08e9a26
RM
3 * csu/Makefile (generated, before-compile): Use += rather than =.
4 * catgets/Makefile (generated, generated-dirs): Likewise.
5 * debug/Makefile (generated): Likewise.
6 * dlfcn/Makefile (generated): Likewise.
7 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
8 * iconvdata/Makefile (before-compile, generated): Likewise.
9 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
10 * libio/Makefile (generated): Likewise.
11 * malloc/Makefile (generated): Likewise.
12 * manual/Makefile (generated, generated-dirs): Likewise.
13 * misc/Makefile (generated): Likewise.
14 * posix/Makefile (generated): Likewise.
15 * resolv/Makefile (generated): Likewise.
16 * sunrpc/Makefile (generated, generated-dirs): Likewise.
17 * timezone/Makefile (generated, generated-dirs): Likewise.
18
ff71cc37
RM
19 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
20
fe13a20c
AZ
212014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22
23 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
24 implementation.
25 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
26 POWER8 llround ifunc implementation.
27 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
28 POWER8 implementation.
29 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
30 POWER8 llround implementation.
31
1ad8950a
AZ
322014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33
34 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
35 implementation.
36 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
37 POWER8 llrint ifunc implementation.
38 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
39 POWER8 implementation.
40 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
41 POWER8 llrint implementation.
42
cac626d6
AZ
432014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44
45 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
46 implementation.
47 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
48 POWER8 finite ifunc implementation.
49 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
50 POWER8 implementation.
51 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
52 Likewise.
53 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
54 POWER8 finite implementation.
55 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
56
4393fc11
AZ
572014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58
59 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
60 implementation.
61 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
62 POWER8 isinf ifunc implementation.
63 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
64 POWER8 implementation.
65 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
66 Likewise.
67 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
68 POWER8 isinf implementation.
69 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
70
487972ae
AZ
712014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72
73 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
74 Add hwcap2 initialization.
75 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
76 implementation.
77 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
78 POWER8 isnan ifunc implementation.
79 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
80 POWER8 implementation.
81 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
82 Likewise.
83 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
84 POWER8 isnan implementation.
85 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
86
7d92b787
JY
872014-02-27 Joey Ye <joey.ye@arm.com>
88
89 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
90 (_FP_NANFRAC_Q): Set to zero.
91
1cadc858
SP
922014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
93
94 [BZ #16623]
95 * math/auto-libm-test-in: New test inputs.
96 * math/auto-libm-test-out: Regenerate.
97 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
98 and DA.
99 (__cos): Likewise.
100 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
101
f8c17e79
JM
1022014-02-27 Joseph Myers <joseph@codesourcery.com>
103
104 * scripts/evaluate-test.sh: Take new argument indicating whether
105 failure is expected.
106 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
107 indicating whether failure is expected.
108 * conform/Makefile (test-xfail-run-conformtest): New variable.
109 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
110 level.
111 * posix/Makefile (test-xfail-annexc): New variable.
112 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
113
a5f891ac
JM
1142014-02-26 Joseph Myers <joseph@codesourcery.com>
115
116 * argp/Makefile: Include Makeconfig immediately after defining
117 subdir.
118 * assert/Makefile: Likewise.
119 * benchtests/Makefile: Likewise.
120 * catgets/Makefile: Likewise.
121 * conform/Makefile: Likewise.
122 * crypt/Makefile: Likewise.
123 * csu/Makefile: Likewise.
124 (all): Remove target.
125 * ctype/Makefile: Include Makeconfig immediately after defining
126 subdir.
127 * debug/Makefile: Likewise.
128 * dirent/Makefile: Likewise.
129 * dlfcn/Makefile: Likewise.
130 * gmon/Makefile: Likewise.
131 * gnulib/Makefile: Likewise.
132 * grp/Makefile: Likewise.
133 * gshadow/Makefile: Likewise.
134 * hesiod/Makefile: Likewise.
135 * hurd/Makefile: Likewise.
136 (all): Remove target.
137 * iconvdata/Makefile: Include Makeconfig immediately after
138 defining subdir.
139 * inet/Makefile: Likewise.
140 * intl/Makefile: Likewise.
141 * io/Makefile: Likewise.
142 * libio/Makefile: Likewise.
143 (all): Remove target.
144 * locale/Makefile: Include Makeconfig immediately after defining
145 subdir.
146 * login/Makefile: Likewise.
147 * mach/Makefile: Likewise.
148 (all): Remove target.
149 * malloc/Makefile: Include Makeconfig immediately after defining
150 subdir.
151 (all): Remove target.
152 * manual/Makefile: Include Makeconfig immediately after defining
153 subdir.
154 * math/Makefile: Likewise.
155 * misc/Makefile: Likewise.
156 * nis/Makefile: Likewise.
157 * nss/Makefile: Likewise.
158 * po/Makefile: Likewise.
159 (all): Remove target.
160 * posix/Makefile: Include Makeconfig immediately after defining
161 subdir.
162 * pwd/Makefile: Likewise.
163 * resolv/Makefile: Likewise.
164 * resource/Makefile: Likewise.
165 * rt/Makefile: Likewise.
166 * setjmp/Makefile: Likewise.
167 * shadow/Makefile: Likewise.
168 * signal/Makefile: Likewise.
169 * socket/Makefile: Likewise.
170 * soft-fp/Makefile: Likewise.
171 * stdio-common/Makefile: Likewise.
172 * stdlib/Makefile: Likewise.
173 * streams/Makefile: Likewise.
174 * string/Makefile: Likewise.
175 * sunrpc/Makefile: Likewise.
176 (all): Remove target.
177 * sysvipc/Makefile: Include Makeconfig immediately after defining
178 subdir.
179 * termios/Makefile: Likewise.
180 * time/Makefile: Likewise.
181 * timezone/Makefile: Likewise.
182 (all): Remove target.
183 * wcsmbs/Makefile: Include Makeconfig immediately after defining
184 subdir.
185 * wctype/Makefile: Likewise.
186
5b456e9d
SE
1872014-02-26 Steve Ellcey <sellcey@mips.com>
188
189 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
190 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
191 (libc_feholdexcept_setround_mips): Ditto.
192 (libc_feholdsetround): New.
193 (libc_feholdsetroundf): New.
194 (libc_feholdsetroundl): New.
195 (libc_feupdateenv_test_mips): New.
196 (libc_feupdateenv_test): New.
197 (libc_feupdateenv_testf): New.
198 (libc_feupdateenv_testl): New.
199 (libc_feresetround): New.
200 (libc_feresetroundf): New.
201 (libc_feresetroundl): New.
202 (libc_fetestexcept_mips): New.
203 (libc_fetestexcept): New.
204 (libc_fetestexceptf): New.
205 (libc_fetestexceptl): New.
206 (HAVE_RM_CTX): New.
207 (libc_feholdexcept_setround_mips_ctx): New.
208 (libc_feholdexcept_setround_ctx): New.
209 (libc_feholdexcept_setroundf_ctx): New.
210 (libc_feholdexcept_setroundl_ctx): New.
211 (libc_fesetenv_mips_ctx): New.
212 (libc_fesetenv_ctx): New.
213 (libc_fesetenv_ctxf): New.
214 (libc_fesetenv_ctxl): New.
215 (libc_feupdateenv_mips_ctx): New.
216 (libc_feupdateenv_ctx): New.
217 (libc_feupdateenvf_ctx): New.
218 (libc_feupdateenvl_ctx): New.
219 (libc_feholdsetround_mips_ctx): New.
220 (libc_feholdsetround_ctx): New.
221 (libc_feholdsetroundf_ctx): New.
222 (libc_feholdsetroundl_ctx): New.
223 (libc_feresetround_mips_ctx): New.
224 (libc_feresetround_ctx): New.
225 (libc_feresetroundf_ctx): New.
226 (libc_feresetroundl_ctx): New.
227
085d0e35
CD
2282014-02-26 Carlos O'Donell <carlos@redhat.com>
229
f067bf1f
CD
230 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
231
085d0e35
CD
232 * manual/ipc.texi: New file.
233 * manual/Makefile (chapters): Add ipc.
234 * manual/job.texi: Add "Inter-Process Communication" to next.
235 * manual/process.texi: Add "Inter-Process Communication" to prev.
236
86e58c08
AZ
2372014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
238
239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
240
4248f0da
OB
2412014-02-26 Ondřej Bílka <neleai@seznam.cz>
242
243 * malloc/malloc.c (__libc_calloc): Simplify implementation.
244
cf822e3c
OB
245 * manual/arith.texi: Fix spaces after sentences.
246 * manual/charset.texi: Likewise.
247 * manual/errno.texi: Likewise.
248 * manual/install.texi: Likewise.
249 * manual/llio.texi: Likewise.
250 * manual/locale.texi: Likewise.
251 * manual/maint.texi: Likewise.
252 * manual/math.texi: Likewise.
253 * manual/memory.texi: Likewise.
254 * manual/message.texi: Likewise.
255 * manual/probes.texi: Likewise.
256 * manual/resource.texi: Likewise.
257 * manual/signal.texi: Likewise.
258 * manual/socket.texi: Likewise.
259 * manual/stdio.texi: Likewise.
260 * manual/string.texi: Likewise.
261 * manual/time.texi: Likewise.
262 * manual/users.texi: Likewise.
263
ade40b10
CD
2642014-02-25 Carlos O'Donell <carlos@redhat.com>
265
266 [BZ #16632]
267 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
268 _DEFAULT_SOURCE is defined.
269
d0503676
CD
2702014-02-25 Ulrich Drepper <drepper@gmail.com>
271 Carlos O'Donell <carlos@redhat.com>
272
273 [BZ #16613]
274 * elf/dl-tls.c (_dl_count_modids): New function.
275 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
276 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
277 audit library and increment generation counter.
278 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
279 * elf/tst-audit9.c: New file.
280 * elf/tst-auditmod9a.c: New file.
281 * elf/tst-auditmod9b.c: New file.
282 * elf/Makefile: Add rules to build and run tst-audit9.
283
4cbf380c
FW
2842014-02-25 Florian Weimer <fweimer@redhat.com>
285
286 [BZ #15347]
287 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
288
80a56cc3
WN
2892014-02-25 Will Newton <will.newton@linaro.org>
290
291 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
292 (__longjmp): Restore sp and lr before restoring callee
293 saved registers. Add longjmp and longjmp_target
294 SystemTap probe point.
295 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
296 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
297 Define to zero to match jmpbuf layout.
298 * sysdeps/arm/setjmp.S: Include stap-probe.h.
299 (__sigsetjmp): Save sp and lr before saving callee
300 saved registers. Add setjmp SystemTap probe point.
301
3ea0f74e
SL
3022014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
303
304 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
305
b04acb26
AS
3062014-02-24 Andreas Schwab <schwab@suse.de>
307
308 [BZ #15804]
309 * elf/pldd.c (wait_for_ptrace_stop): New function.
310 (main): Call it after attaching.
311
098ad55c
RM
3122014-02-22 Roland McGrath <roland@hack.frob.com>
313
d4ec6ae1
RM
314 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
315 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
316 Versions files is now verboten.
317 * hurd/Versions (libc: GLIBC_2.0):
318 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
319 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
320 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
321 * mach/Versions: Likewise.
322
098ad55c
RM
323 * csu/Versions: Remove unused %include.
324 * resolv/Versions: Likewise.
325
acd7f096
JM
3262014-02-21 Joseph Myers <joseph@codesourcery.com>
327
f0881698
JM
328 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
329 ($(objpfx)check-local-headers.out): Likewise.
330 ($(objpfx)begin-end-check.out): Likewise.
331 * Makerules (check-abi-%.out): Likewise.
332 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
333 ($(objpfx)test2.cat): Likewise.
334 ($(objpfx)de/libc.cat): Likewise.
335 ($(objpfx)test-gencat.out): Likewise.
336 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
337 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
338 ($(objpfx)noload-mem): Likewise.
339 ($(objpfx)tst-pathopt.out): Likewise.
340 ($(objpfx)tst-rtld-load-self.out): Likewise.
341 ($(objpfx)tst-array1-cmp.out): Likewise.
342 ($(objpfx)tst-array1-static-cmp.out): Likewise.
343 ($(objpfx)tst-array2-cmp.out): Likewise.
344 ($(objpfx)tst-array3-cmp.out): Likewise.
345 ($(objpfx)tst-array4-cmp.out): Likewise.
346 ($(objpfx)tst-array5-cmp.out): Likewise.
347 ($(objpfx)tst-array5-static-cmp.out): Likewise.
348 ($(objpfx)check-textrel.out): Likewise.
349 ($(objpfx)check-execstack.out): Likewise.
350 ($(objpfx)check-localplt.out): Likewise.
351 ($(objpfx)order2-cmp.out): Likewise.
352 ($(objpfx)tst-leaks1-mem): Likewise.
353 ($(objpfx)tst-leaks1-static-mem): Likewise.
354 ($(objpfx)tst-initorder-cmp.out): Likewise.
355 ($(objpfx)tst-initorder2-cmp.out): Likewise.
356 ($(objpfx)tst-unused-dep.out): Likewise.
357 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
358 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
359 * iconv/Makefile (test-iconvconfig): Likewise.
360 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
361 ($(objpfx)iconv-test.out): Likewise.
362 ($(objpfx)tst-tables.out): Likewise.
363 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
364 ($(objpfx)tst-gettext.out): Likewise.
365 ($(objpfx)tst-translit.out): Likewise.
366 ($(objpfx)tst-gettext2.out): Likewise.
367 ($(objpfx)tst-gettext4.out): Likewise.
368 ($(objpfx)tst-gettext6.out): Likewise.
369 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
370 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
371 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
372 ($(objpfx)tst-fopenloc-mem.out): Likewise.
373 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
374 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
375 * posix/Makefile ($(objpfx)globtest.out): Likewise.
376 ($(objpfx)wordexp-tst.out): Likewise.
377 ($(objpfx)annexc.out): Likewise.
378 ($(objpfx)tst-fnmatch-mem): Likewise.
379 ($(objpfx)bug-regex2-mem): Likewise.
380 ($(objpfx)bug-regex14-mem): Likewise.
381 ($(objpfx)bug-regex21-mem): Likewise.
382 ($(objpfx)bug-regex31-mem): Likewise.
383 ($(objpfx)tst-vfork3-mem): Likewise.
384 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
385 ($(objpfx)tst-pcre-mem): Likewise.
386 ($(objpfx)tst-boost-mem): Likewise.
387 ($(objpfx)tst-getconf.out): Likewise.
388 ($(objpfx)bug-ga2-mem): Likewise.
389 ($(objpfx)bug-glob2-mem): Likewise.
390 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
391 ($(objpfx)mtrace-tst-leaks2): Likewise.
392 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
393 ($(objpfx)tst-printf.out): Likewise.
394 ($(objpfx)tst-setvbuf1.out): Likewise.
395 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
396 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
397 ($(objpfx)tst-fmtmsg.out): Likewise.
398 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
399 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
400
acd7f096
JM
401 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
402 * bits/sigaction.h [__USE_MISC]: Likewise.
403 * bits/waitstatus.h: Update #endif comments.
404 * ctype/ctype.h: Likewise.
405 * dirent/dirent.h: Likewise.
406 [__USE_MISC]: Remove redundant conditionals.
407 * grp/grp.h: Update #endif comments.
408 [__USE_GNU]: Remove redundant conditionals.
409 [__USE_MISC]: Likewise.
410 * inet/netinet/in.h [__USE_GNU]: Likewise.
411 * io/sys/stat.h [__USE_MISC]: Likewise.
412 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
413 * libio/bits/stdio.h: Update #endif comments.
414 [__USE_MISC]: Remove redundant conditionals.
415 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
416 * libio/stdio.h: Update #endif comments.
417 [__USE_MISC]: Remove redundant conditionals.
418 * math/bits/math-finite.h [__USE_MISC]: Likewise.
419 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
420 * math/math.h: Update #else and #endif comments.
421 [__USE_MISC]: Remove redundant conditionals.
422 * misc/sys/uio.h: Update #endif comments.
423 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
424 * posix/glob.h [__USE_MISC]: Likewise.
425 * posix/sys/types.h: Update #endif comments.
426 [__USE_MISC]: Remove redundant conditionals.
427 * posix/sys/wait.h: Update #endif comments.
428 [__USE_MISC]: Remove redundant conditionals.
429 * posix/unistd.h: Update #endif comments.
430 [__USE_MISC]: Remove redundant conditionals.
431 * pwd/pwd.h [__USE_GNU]: Likewise.
432 [__USE_MISC]: Likewise.
433 * resolv/netdb.h [__USE_GNU]: Likewise.
434 * signal/signal.h: Update #endif comments.
435 [__USE_MISC]: Remove redundant conditionals.
436 * stdlib/stdlib.h: Update #else and #endif comments.
437 [__USE_MISC]: Remove redundant conditionals.
438 [__USE_GNU]: Likewise.
439 * string/bits/string2.h [__USE_MISC]: Likewise.
440 * string/string.h: Update #endif comments.
441 [__USE_MISC]: Remove redundant conditionals.
442 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
443 Likewise.
444 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
445 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
446 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
447 Likewise.
448 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
449 Likewise.
450 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
451 comments.
452 [__USE_MISC]: Remove redundant conditionals.
453 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
454 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
455 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
456 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
457 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
458 Likewise.
459 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
460 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
461 Likewise.
462 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
463 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
464 Likewise.
465 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
466 Likewise.
467 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
468 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
469 Likewise.
470 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
471 Likewise.
472 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
473 * sysdeps/x86/bits/string.h: Update #endif comments.
474 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
475 conditionals.
476 * time/sys/time.h: Update #endif comments.
477 * time/time.h: Likewise.
478 [__USE_MISC]: Remove redundant conditionals.
479
a5d82e4e
YG
4802014-02-21 Yury Gribov <y.gribov@samsung.com>
481
482 [BZ #16600]
483 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
484
9a80491d
AS
4852014-02-21 Andreas Schwab <schwab@linux-m68k.org>
486
487 * Versions.def (librt): Add GLIBC_2.17.
488
105fa381
AC
4892014-02-21 Adam Conrad <adconrad@0c3.net>
490
491 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
492 synonym for _SYS_AUXV_H to allow direct inclusion.
493 * sysdeps/sparc/bits/hwcap.h: Likewise.
494 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
495 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
496 * sysdeps/sparc/sysdep.h: Likewise.
497
b8cd1c4e
SP
4982014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
499
500 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
501
bd939d23
RS
5022014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
503
504 * benchtests/bench-strrchr.c: Print length instead of position.
505
5d7b57ca
JM
5062014-02-20 Joseph Myers <joseph@codesourcery.com>
507
bc688c10
JM
508 [BZ #16611]
509 * sysdeps/unix/sysv/linux/kernel-features.h
510 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
511 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
512 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
513 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
514 Likewise.
515 [__i386__ || __powerpc__ || __sh__ || __sparc__]
516 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
517 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
518 (__ASSUME_SENDMMSG): Define instead of using previous
519 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
520 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
521 (__ASSUME_SENDMMSG_SYSCALL): Define.
522 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
523 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
524 Likewise.
525 * sysdeps/unix/sysv/linux/arm/kernel-features.h
526 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
527 Likewise.
528 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
529 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
530 Likewise.
531 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
532 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
533 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
534 [__ASSUME_SENDMMSG]: Change conditionals to
535 [__ASSUME_SENDMMSG_SOCKETCALL].
536 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
537 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
538 Define.
539 * sysdeps/unix/sysv/linux/mips/kernel-features.h
540 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
541 Likewise.
542 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
543 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
544 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
545 [!__ASSUME_SENDMMSG]: Change conditional to
546 [!__ASSUME_SENDMMSG_SOCKETCALL].
547 * sysdeps/unix/sysv/linux/tile/kernel-features.h
548 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
549 Define.
550
0e31b18c
JM
551 [BZ #16610]
552 * sysdeps/unix/sysv/linux/kernel-features.h
553 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
554 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
555 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
556 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
557 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
558 [__i386__ || __sparc__]
559 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
560 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
561 (__ASSUME_RECVMMSG): Define instead of using previous
562 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
563 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
564 (__ASSUME_RECVMMSG_SYSCALL): Define.
565 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
566 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
567 Likewise.
568 * sysdeps/unix/sysv/linux/arm/kernel-features.h
569 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
570 Likewise.
571 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
572 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
573 Likewise.
574 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
575 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
576 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
577 [__ASSUME_RECVMMSG]: Change condition to
578 [__ASSUME_RECVMMSG_SOCKETCALL].
579 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
580 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
581 Define.
582 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
583 * sysdeps/unix/sysv/linux/mips/kernel-features.h
584 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
585 Likewise.
586 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
587 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
588 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
589 [!__ASSUME_RECVMMSG]: Change condition to
590 [!__ASSUME_RECVMMSG_SOCKETCALL].
591 * sysdeps/unix/sysv/linux/tile/kernel-features.h
592 (__ASSUME_RECVMMSG_SYSCALL): Define.
593
dd481ccf
JM
594 [BZ #16609]
595 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
596 __powerpc__ || __s390__ || __sh__ || __sparc__]
597 (__ASSUME_SOCKETCALL): Define.
598 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
599 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
600 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
601 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
602 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
603 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
604 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
605 (__ASSUME_ACCEPT4): Define instead of using previous
606 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
607 __powerpc__ || __sparc__ || __s390__)] condition.
608 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
609 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
610 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
611 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
612 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
613 [!__ASSUME_ACCEPT4]: Change condition to
614 [!__ASSUME_ACCEPT4_SOCKETCALL].
615 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
616 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
617 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
618 * sysdeps/unix/sysv/linux/arm/kernel-features.h
619 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
620 __ASSUME_ACCEPT4_SYSCALL.
621 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
622 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
623 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
624 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
625 __ASSUME_ACCEPT4_SYSCALL.
626 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
627 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
628 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
629 [__ASSUME_ACCEPT4]: Change condition to
630 [__ASSUME_ACCEPT4_SOCKETCALL].
631 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
632 (__ASSUME_SOCKETCALL): Define.
633 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
634 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
635 (__ASSUME_SOCKETCALL): Define.
636 (__ASSUME_ACCEPT4): Remove.
637 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
638 Define.
639 * sysdeps/unix/sysv/linux/mips/kernel-features.h
640 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
641 Likewise.
642 * sysdeps/unix/sysv/linux/tile/kernel-features.h
643 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
644
5d7b57ca
JM
645 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
646 macro.
647 (HWCAP_ARM_LPAE): Likewise.
648 (HWCAP_ARM_EVTSTRM): Likewise.
649 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
650 Add vpfd32, lpae and evtstrm.
651 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
652 Increase to 22.
653
63689d61
JM
6542014-02-19 Joseph Myers <joseph@codesourcery.com>
655
656 * math/auto-libm-test-in: Add tests of clog10.
657 * math/auto-libm-test-out: Regenerated.
658 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
659 * sysdeps/i386/fpu/libm-test-ulps: Update.
660 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
661
ab09bf61
AS
6622014-02-18 Andreas Schwab <schwab@suse.de>
663
664 [BZ #16574]
665 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
666 Store non-zero if the second buffer was newly allocated.
667 (send_dg): Likewise.
668 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
669 to send_vc and send_dg.
670 (res_nsend): Pass NULL for ansp2_malloced.
671 * resolv/res_query.c (__libc_res_nquery): Add parameter
672 answerp2_malloced and pass it down to __libc_res_nsend.
673 (res_nquery): Pass additional NULL to __libc_res_nquery.
674 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
675 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
676 second answer buffer if answerp2_malloced was set.
677 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
678 (__libc_res_nquerydomain): Add parameter
679 answerp2_malloced and pass it down to __libc_res_nquery.
680 (res_nquerydomain): Pass additional NULL to
681 __libc_res_nquerydomain.
682 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
683 additional NULL to __libc_res_nsend and __libc_res_nquery.
684 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
685 additional NULL to __libc_res_nsearch.
686 (_nss_dns_gethostbyname4_r): Revert last change. Use new
687 parameter of __libc_res_nsearch to check for separately allocated
688 second buffer.
689 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
690 __libc_res_nquery.
691 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
692 additional NULL to __libc_res_nquery.
693 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
694 __libc_res_nsearch.
695 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
696 * include/resolv.h: Update prototypes of __libc_res_nquery,
697 __libc_res_nsearch, __libc_res_nsend.
698
a4fb7861
JM
6992014-02-18 Joseph Myers <joseph@codesourcery.com>
700
c6af2d89
JM
701 * math/auto-libm-test-in: Add tests of fma.
702 * math/auto-libm-test-out: Regenerated.
703 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
704 (fma_towardzero_test_data): Likewise.
705 (fma_downward_test_data): Likewise.
706 (fma_upward_test_data): Likewise.
707 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
708 mpc_mode.
709 (rounding_modes): Add values for new field.
710 (func_calc_method): Add value mpfr_fff_f.
711 (func_calc_desc): Add mpfr_fff_f union field.
712 (test_function): Add field exact_args.
713 (FUNC): Add macro argument EXACT_ARGS.
714 (FUNC_mpfr_f_f): Update call to FUNC.
715 (FUNC_mpfr_f_f): Likewise.
716 (FUNC_mpfr_ff_f): Likewise.
717 (FUNC_mpfr_if_f): Likewise.
718 (FUNC_mpc_c_f): Likewise.
719 (FUNC_mpc_c_c): Likewise.
720 (test_functions): Add fma. Update calls to FUNC.
721 (handle_input_arg): Add argument exact_args.
722 (add_test): Update call to handle_input_arg.
723 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
724 (output_for_one_input_case): Update call to calc_generic_results.
725 Recalculate exact zero results in each rounding mode.
726
a4fb7861
JM
727 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
728 non-negative before setting low bit.
729 * math/auto-libm-test-in: Mark one asin test possibly having
730 spurious underflow.
731 * math/auto-libm-test-out: Regenerated.
732 * sysdeps/i386/fpu/libm-test-ulps: Update.
733 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
734
ef114eaf
DH
7352014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
736
2b7f4f2c
SP
737 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
738 * sysdeps/unix/sysv/linux/microblaze: Move directory from
739 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
740 * README: Add missing listing for microblaze*-*-linux-gnu.
741
c70a4b1d
MF
7422014-02-16 Mike Frysinger <vapier@gentoo.org>
743
744 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
745 * sysdeps/unix/sysv/linux/ia64: Move directory from
746 ports/sysdeps/unix/sysv/linux/ia64.
747 * README: Update listing for ia64-*-linux-gnu.
748
591aeaf7
TD
7492014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
750 Joseph Myers <joseph@codesourcery.com>
751
752 * Makeconfig (test-name): New variable.
753 (evaluate-test): Likewise.
754 * Makerules (do-test-clean): Remove .test-result files.
755 (common-mostlyclean): Likewise.
756 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
757 * scripts/evaluate-test.sh: New file.
758
6e89caf1
JM
7592014-02-14 Joseph Myers <joseph@codesourcery.com>
760
7f98f180
JM
761 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
762 separate $(objpfx)tst-fopenloc-cmp.out and
763 $(objpfx)tst-fopenloc-mem.out targets.
764 (tests): Update dependencies.
765 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
766 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
767 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
768 (tst-rxspencer-no-utf8-ARGS): New variable.
769 (tst-rxspencer-no-utf8-ENV): Likewise.
770 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
771 instead of $(objpfx)tst-rxspencer-mem.
772 ($(objpfx)tst-rxspencer-mem): Change target to
773 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
774 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
775 * posix/tst-rxspencer-no-utf8.c: New file.
776
6e89caf1
JM
777 * elf/Makefile ($(objpfx)order.out): Remove rule.
778 [$(run-built-tests) = yes] (tests): Depend on
779 $(objpfx)order-cmp.out.
780 ($(objpfx)order-cmp.out): New rule.
781 [$(run-built-tests) = yes] (tests): Depend on
782 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
783 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
784 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
785 $(objpfx)tst-array5-static-cmp.out.
786 ($(objpfx)tst-array1.out): Remove rule.
787 ($(objpfx)tst-array1-cmp.out): New rule.
788 ($(objpfx)tst-array1-static.out): Remove rule.
789 ($(objpfx)tst-array1-static-cmp.out): New rule.
790 ($(objpfx)tst-array2.out): Remove rule.
791 ($(objpfx)tst-array2-cmp.out): New rule.
792 ($(objpfx)tst-array3.out): Remove rule.
793 ($(objpfx)tst-array3-cmp.out): New rule.
794 ($(objpfx)tst-array4.out): Remove rule.
795 ($(objpfx)tst-array4-cmp.out): New rule.
796 ($(objpfx)tst-array5.out): Remove rule.
797 ($(objpfx)tst-array5-cmp.out): New rule.
798 ($(objpfx)tst-array5-static.out): Remove rule.
799 ($(objpfx)tst-array5-static-cmp.out): New rule.
800 [$(run-built-tests) = yes] (tests): Depend on
801 $(objpfx)order2-cmp.out.
802 ($(objpfx)order2.out): Remove rule.
803 ($(objpfx)order2-cmp.out): New rule.
804 ($(objpfx)tst-initorder.out): Remove rule.
805 [$(run-built-tests) = yes] (tests): Depend on
806 $(objpfx)tst-initorder-cmp.out.
807 ($(objpfx)tst-initorder-cmp.out): New rule.
808 ($(objpfx)tst-initorder2.out): Remove rule.
809 [$(run-built-tests) = yes] (tests): Depend on
810 $(objpfx)tst-initorder2-cmp.out.
811 ($(objpfx)tst-initorder2-cmp.out): New rule.
812 [$(run-built-tests) = yes] (tests): Depend on
813 $(objpfx)tst-unused-dep-cmp.out.
814 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
815 ($(objpfx)tst-unused-dep-cmp.out): New rule.
816 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
817 on $(objpfx)tst-setvbuf1-cmp.out.
818 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
819 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
820 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
821 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
822 ($(objpfx)tst-svc.out): Remove rule.
823 ($(objpfx)tst-svc-cmp.out): New rule.
824
ed9a38e2
JM
8252014-02-13 Joseph Myers <joseph@codesourcery.com>
826
827 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
828 * ctype/ctype.h [__USE_MISC]: Likewise.
829 * dirent/dirent.h [__USE_MISC]: Likewise.
830 * grp/grp.h [__USE_MISC]: Likewise.
831 * io/fcntl.h [__USE_MISC]: Likewise.
832 * io/sys/stat.h [__USE_MISC]: Likewise.
833 * libio/stdio.h [__USE_MISC]: Likewise.
834 * posix/unistd.h [__USE_MISC]: Likewise.
835 * pwd/pwd.h [__USE_MISC]: Likewise.
836 * stdlib.h [__USE_MISC]: Likewise.
837 * string/bits/string2.h [__USE_MISC]: Likewise.
838 * string/string.h [__USE_MISC]: Likewise.
839 * time/time.h [__USE_MISC]: Likewise.
840
d6680619
AS
8412014-02-13 Andreas Schwab <schwab@suse.de>
842
843 [BZ #16574]
844 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
845 second answer buffer if it was separately allocated.
846
ace614b8
JM
8472014-02-12 Joseph Myers <joseph@codesourcery.com>
848
743151ae
JM
849 * sysdeps/mips/math-tests.h: Include <features.h>.
850 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
851 (ROUNDING_TESTS_long_double): Do not define.
852 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
853 (EXCEPTION_TESTS_long_double): Likewise.
854 * sysdeps/mips/mips64/libm-test-ulps: Update.
855
498afc54
JM
856 * include/features.h (__USE_BSD): Remove macro definitions.
857 (__USE_SVID): Likewise.
858 (_BSD_SOURCE): Likewise.
859 (_SVID_SOURCE): Likewise.
860 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
861 from definition of _DEFAULT_SOURCE.
862 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
863 [_DEFAULT_SOURCE].
864 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
865 * bits/mman.h [__USE_BSD]: Likewise.
866 * bits/termios.h [__USE_BSD]: Likewise.
867 * bits/waitstatus.h [__USE_BSD]: Likewise.
868 * ctype/ctype.h [__USE_SVID]: Likewise.
869 * dirent/dirent.h [__USE_BSD]: Likewise.
870 * grp/grp.h [__USE_SVID]: Likewise.
871 [__USE_BSD]: Likewise.
872 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
873 * io/fcntl.h [__USE_BSD]: Likewise.
874 * io/ftw.h [__USE_BSD]: Likewise.
875 * io/sys/stat.h [__USE_BSD]: Likewise.
876 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
877 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
878 * libio/stdio.h [__USE_SVID]: Likewise.
879 [__USE_BSD]: Likewise.
880 * math/math.h [__USE_SVID]: Likewise.
881 [__USE_BSD]: Likewise.
882 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
883 * misc/bits/syslog.h [__USE_BSD]: Likewise.
884 * misc/search.h [__USE_SVID]: Likewise.
885 * misc/sys/mman.h [__USE_BSD]: Likewise.
886 * misc/sys/syslog.h [__USE_BSD]: Likewise.
887 * misc/sys/uio.h [__USE_BSD]: Likewise.
888 * posix/bits/unistd.h [__USE_BSD]: Likewise.
889 * posix/glob.h [__USE_BSD]: Likewise.
890 * posix/regex.h [__USE_BSD]: Likewise.
891 * posix/sys/types.h [__USE_BSD]: Likewise.
892 [__USE_SVID]: Likewise.
893 * posix/sys/utsname.h [__USE_SVID]: Likewise.
894 * posix/sys/wait.h [__USE_BSD]: Likewise.
895 [__USE_SVID]: Likewise.
896 * posix/unistd.h [__USE_BSD]: Likewise.
897 [__USE_SVID]: Likewise.
898 * pwd/pwd.h [__USE_SVID]: Likewise.
899 * resolv/netdb.h [__USE_BSD]: Likewise.
900 * setjmp/setjmp.h [__USE_BSD]: Likewise.
901 * signal/signal.h [__USE_BSD]: Likewise.
902 [__USE_SVID]: Likewise.
903 * socket/sys/socket.h [__USE_BSD]: Likewise.
904 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
905 * stdlib/stdlib.h [__USE_BSD]: Likewise.
906 [__USE_SVID]: Likewise.
907 * string/bits/string2.h [__USE_BSD]: Likewise.
908 [__USE_SVID]: Likewise.
909 * string/bits/string3.h [__USE_BSD]: Likewise.
910 * string/endian.h [__USE_BSD]: Likewise.
911 * string/string.h [__USE_SVID]: Likewise.
912 [__USE_BSD]: Likewise.
913 * string/strings.h [__USE_BSD]: Likewise.
914 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
915 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
916 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
917 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
918 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
919 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
920 Likewise.
921 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
922 Likewise.
923 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
924 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
925 Likewise.
926 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
927 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
928 Likewise.
929 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
930 Likewise.
931 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
932 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
933 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
934 Likewise.
935 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
936 Likewise.
937 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
938 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
939 * termios/termios.h [__USE_BSD]: Likewise.
940 * time/sys/time.h [__USE_BSD]: Likewise.
941 * time/time.h [__USE_BSD]: Likewise.
942 [__USE_SVID]: Likewise.
943
dd7b064c
JM
944 * Makefile (subdir_targets): Remove subdir_lint.out.
945
a2c4c199
JM
946 * stdio-common/Makefile (do-tst-unbputc): Remove target.
947 (do-tst-printf): Likewise.
948 (tests): Depend directly on $(objpfx)tst-unbputc.out and
949 $(objpfx)tst-printf.out.
950
8756f740
JM
951 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
952
1b6dd3f1
JM
953 * Makerules (check-abi-%): Change target to
954 $(objpfx)check-abi-%.out.
955 (check-abi target): Update dependencies.
956 (check-abi-pattern variable): Redirect output of diff to $@.
957 (check-abi variable): Likewise.
958 * elf/Makefile (check-abi): Update dependencies.
959
ace614b8
JM
960 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
961 unused.
962 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
963 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
964 subnormal range.
965 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
966 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
967 value has largest subnormal exponent.
968 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
969 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
970 * sysdeps/aarch64/soft-fp/sfp-machine.h
971 (_FP_TININESS_AFTER_ROUNDING): New macro.
972 * sysdeps/alpha/soft-fp/sfp-machine.h
973 (_FP_TININESS_AFTER_ROUNDING): Likewise.
974 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
975 Likewise.
976 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
977 (_FP_TININESS_AFTER_ROUNDING): Likewise.
978 * sysdeps/mips/soft-fp/sfp-machine.h
979 (_FP_TININESS_AFTER_ROUNDING): Likewise.
980 * sysdeps/powerpc/soft-fp/sfp-machine.h
981 (_FP_TININESS_AFTER_ROUNDING): Likewise.
982 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
983 Likewise.
984 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
985 (_FP_TININESS_AFTER_ROUNDING): Likewise.
986 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
987 (_FP_TININESS_AFTER_ROUNDING): Likewise.
988 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
989 Likewise.
990
fbfdf9cb
DAS
9912014-02-12 Dylan Alex Simon <dylan@dylex.net>
992
993 [BZ #16545]
994 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
995 model 1.
996
68b7efaa
RH
9972014-02-12 Richard Henderson <rth@redhat.com>
998
c70a4b1d 999 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
1000 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
1001 * sysdeps/unix/sysv/linux/alpha: Move directory from
1002 ports/sysdeps/unix/sysv/linux/alpha.
1003 * README: Update listing for alpha-*-linux-gnu.
1004
cb4a2928
JM
10052014-02-11 Joseph Myers <joseph@codesourcery.com>
1006
c941736c
JM
1007 * include/features.h: Update comment documenting feature test
1008 macros.
1009 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
1010 _DEFAULT_SOURCE.
1011 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
1012 (_SVID_SOURCE): Likewise.
1013 (_DEFAULT_SOURCE): Update description of default features.
1014 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
1015 with _GNU_SOURCE.
1016 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
1017 (S_ISVTX): Likewise.
1018 * manual/math.texi (Mathematical Constants): Likewise.
1019 * manual/signal.texi (Interrupted Primitives): Likewise.
1020 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
1021 * math/test-matherr.c (_SVID_SOURCE): Do not define.
1022 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
1023 Don't refer to _SVID_SOURCE in warning text.
1024
e8d8d7ec
JM
1025 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1026
cb4a2928
JM
1027 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
1028 already defined.
1029 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
1030 * sysdeps/mips/dl-lookup.c: Remove.
1031 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
1032
7e6424e3
AK
10332014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1034
1035 [BZ #16447]
1036 * math/auto-libm-test-in: Add testcase for expl.
1037 * math/auto-libm-test-out: Regenerate.
1038 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
1039 calculation of unsafe.
1040 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
1041
75eff3fe
MS
10422014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
1043
1044 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
1045 * sysdeps/unix/sysv/linux/aarch64: Move directory from
1046 ports/sysdeps/unix/sysv/linux/aarch64.
1047 * README: Update listing for aarch64*-*-linux-gnu.
1048
d35f1e80
WN
10492014-02-11 Will Newton <will.newton@linaro.org>
1050
1051 * manual/probes.texi (Mathematical Function Probes): Use
1052 "triggered" instead of "hit".
1053
7b3436d4
WN
10542014-02-11 Will Newton <will.newton@linaro.org>
1055
1056 * manual/probes.texi (Internal Probes): Add documentation
1057 of setjmp, longjmp and longjmp_target probes.
1058
b4f12ca3
WN
10592014-02-11 Will Newton <will.newton@linaro.org>
1060
1061 * include/stap-probe.h: Add comment about probe argument
1062 format.
1063
c13a72b7
WN
10642014-02-11 Will Newton <will.newton@linaro.org>
1065
1066 * malloc/mtrace.c (attribute_hidden): Remove unused macro
1067 definition. (tr_where, tr_freehook, tr_mallochook,
1068 tr_reallochook, tr_memalignhook): Use ANSI protoype.
1069
195b8165
DM
10702014-02-11 David S. Miller <davem@davemloft.net>
1071
1072 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
1073 processing int_tests.
1074
2ad7600b
JM
10752014-02-10 Joseph Myers <joseph@codesourcery.com>
1076
1077 * sysdeps/mips: Move directory from ports/sysdeps/mips.
1078 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
1079 * sysdeps/unix/sysv/linux/mips: Move directory from
1080 ports/sysdeps/unix/sysv/linux/mips.
1081 * README: Update listing for mips-*-linux-gnu and
1082 mips64-*-linux-gnu.
1083
73588a72
AS
10842014-02-10 Andreas Schwab <schwab@linux-m68k.org>
1085
1086 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
1087 * sysdeps/unix/sysv/linux/m68k: Move directory from
1088 ports/sysdeps/unix/sysv/linux/m68k.
1089 * README: Update listing for m68k-*-linux-gnu.
1090
4372980f
CM
10912014-02-10 Chris Metcalf <cmetcalf@tilera.com>
1092
1093 * sysdeps/tile: Move directory from ports/sysdeps/tile.
1094 * sysdeps/unix/sysv/linux/generic: Move directory from
1095 ports/sysdeps/unix/sysv/linux/generic.
1096 * sysdeps/unix/sysv/linux/tile: Move directory from
1097 ports/sysdeps/unix/sysv/linux/tile.
1098 * README: Update listing for tile*-*-linux-gnu.
1099
a1ffb40e
OB
11002014-02-10 Ondřej Bílka <neleai@seznam.cz>
1101
1102 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
1103 * benchtests/bench-memmem.c (simple_memmem): Likewise.
1104 * catgets/open_catalog.c (__open_catalog): Likewise.
1105 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
1106 * debug/confstr_chk.c: Likewise.
1107 * debug/fread_chk.c (__fread_chk): Likewise.
1108 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
1109 * debug/getgroups_chk.c: Likewise.
1110 * debug/mbsnrtowcs_chk.c: Likewise.
1111 * debug/mbsrtowcs_chk.c: Likewise.
1112 * debug/mbstowcs_chk.c: Likewise.
1113 * debug/memcpy_chk.c: Likewise.
1114 * debug/memmove_chk.c: Likewise.
1115 * debug/mempcpy_chk.c: Likewise.
1116 * debug/memset_chk.c: Likewise.
1117 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1118 * debug/strcat_chk.c (__strcat_chk): Likewise.
1119 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
1120 * debug/strncat_chk.c (__strncat_chk): Likewise.
1121 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
1122 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
1123 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
1124 * debug/wcpncpy_chk.c: Likewise.
1125 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1126 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
1127 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
1128 * debug/wcsncpy_chk.c: Likewise.
1129 * debug/wcsnrtombs_chk.c: Likewise.
1130 * debug/wcsrtombs_chk.c: Likewise.
1131 * debug/wcstombs_chk.c: Likewise.
1132 * debug/wmemcpy_chk.c: Likewise.
1133 * debug/wmemmove_chk.c: Likewise.
1134 * debug/wmempcpy_chk.c: Likewise.
1135 * debug/wmemset_chk.c: Likewise.
1136 * dirent/scandirat.c (SCANDIRAT): Likewise.
1137 * dlfcn/dladdr1.c (dladdr1): Likewise.
1138 * dlfcn/dladdr.c (dladdr): Likewise.
1139 * dlfcn/dlclose.c (dlclose_doit): Likewise.
1140 * dlfcn/dlerror.c (__dlerror): Likewise.
1141 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
1142 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
1143 * dlfcn/dlopen.c (dlopen_doit): Likewise.
1144 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
1145 * dlfcn/dlsym.c (dlsym_doit): Likewise.
1146 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
1147 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
1148 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
1149 Likewise.
1150 * elf/dl-conflict.c: Likewise.
1151 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
1152 * elf/dl-dst.h: Likewise.
1153 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
1154 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
1155 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
1156 * elf/dl-init.c (call_init, _dl_init): Likewise.
1157 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
1158 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
1159 _dl_map_object_from_fd, open_verify, open_path,
1160 _dl_map_object): Likewise.
1161 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
1162 Likewise.
1163 * elf/dl-minimal.c (__libc_memalign): Likewise.
1164 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
1165 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1166 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
1167 * elf/dl-sym.c (do_sym): Likewise.
1168 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
1169 _dl_tls_get_addr_soft): Likewise.
1170 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
1171 * elf/dl-writev.h (_dl_writev): Likewise.
1172 * elf/ldconfig.c (search_dir): Likewise.
1173 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
1174 dl_main): Likewise.
1175 * elf/setup-vdso.h (setup_vdso): Likewise.
1176 * grp/compat-initgroups.c (compat_call): Likewise.
1177 * grp/fgetgrent.c (fgetgrent): Likewise.
1178 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
1179 * grp/putgrent.c (putgrent): Likewise.
1180 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
1181 Likewise.
1182 * hurd/hurdinit.c: Likewise.
1183 * iconvdata/8bit-gap.c (struct): Likewise.
1184 * iconvdata/ansi_x3.110.c : Likewise.
1185 * iconvdata/big5.c : Likewise.
1186 * iconvdata/big5hkscs.c : Likewise.
1187 * iconvdata/cp1255.c: Likewise.
1188 * iconvdata/cp1258.c : Likewise.
1189 * iconvdata/cp932.c : Likewise.
1190 * iconvdata/euc-cn.c: Likewise.
1191 * iconvdata/euc-jisx0213.c : Likewise.
1192 * iconvdata/euc-jp.c: Likewise.
1193 * iconvdata/euc-jp-ms.c : Likewise.
1194 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
1195 * iconvdata/gb18030.c : Likewise.
1196 * iconvdata/gbbig5.c (const): Likewise.
1197 * iconvdata/gbgbk.c: Likewise.
1198 * iconvdata/gbk.c : Likewise.
1199 * iconvdata/ibm1364.c : Likewise.
1200 * iconvdata/ibm930.c : Likewise.
1201 * iconvdata/ibm932.c: Likewise.
1202 * iconvdata/ibm933.c : Likewise.
1203 * iconvdata/ibm935.c : Likewise.
1204 * iconvdata/ibm937.c : Likewise.
1205 * iconvdata/ibm939.c : Likewise.
1206 * iconvdata/ibm943.c: Likewise.
1207 * iconvdata/iso_11548-1.c: Likewise.
1208 * iconvdata/iso-2022-cn.c : Likewise.
1209 * iconvdata/iso-2022-cn-ext.c : Likewise.
1210 * iconvdata/iso-2022-jp-3.c: Likewise.
1211 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
1212 * iconvdata/iso-2022-kr.c : Likewise.
1213 * iconvdata/iso646.c (gconv_end): Likewise.
1214 * iconvdata/iso_6937-2.c : Likewise.
1215 * iconvdata/iso_6937.c : Likewise.
1216 * iconvdata/iso8859-1.c: Likewise.
1217 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
1218 * iconvdata/shift_jisx0213.c : Likewise.
1219 * iconvdata/sjis.c : Likewise.
1220 * iconvdata/t.61.c : Likewise.
1221 * iconvdata/tcvn5712-1.c : Likewise.
1222 * iconvdata/tscii.c: Likewise.
1223 * iconvdata/uhc.c : Likewise.
1224 * iconvdata/unicode.c (gconv_end): Likewise.
1225 * iconvdata/utf-16.c (gconv_end): Likewise.
1226 * iconvdata/utf-32.c (gconv_end): Likewise.
1227 * iconvdata/utf-7.c (base64): Likewise.
1228 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
1229 * iconv/gconv_close.c (__gconv_close): Likewise.
1230 * iconv/gconv_open.c (__gconv_open): Likewise.
1231 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
1232 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
1233 internal_ucs4le_loop_single, ucs4le_internal_loop,
1234 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
1235 * iconv/iconv.c (iconv): Likewise.
1236 * iconv/iconv_close.c: Likewise.
1237 * iconv/loop.c (SINGLE): Likewise.
1238 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
1239 * include/atomic.h: Likewise.
1240 * inet/inet6_option.c (option_alloc): Likewise.
1241 * intl/bindtextdom.c (set_binding_values): Likewise.
1242 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
1243 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
1244 * intl/localealias.c (read_alias_file): Likewise.
1245 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
1246 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
1247 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
1248 * libio/fmemopen.c (fmemopen): Likewise.
1249 * libio/iofgets.c (_IO_fgets): Likewise.
1250 * libio/iofgets_u.c (fgets_unlocked): Likewise.
1251 * libio/iofgetws.c (fgetws): Likewise.
1252 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
1253 * libio/iogetdelim.c (_IO_getdelim): Likewise.
1254 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
1255 adjust_wide_data, _IO_wfile_seekoff): Likewise.
1256 * locale/findlocale.c (_nl_find_locale): Likewise.
1257 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
1258 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
1259 Likewise.
1260 * locale/setlocale.c (setlocale): Likewise.
1261 * login/programs/pt_chown.c (main): Likewise.
1262 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
1263 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
1264 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
1265 mmap, mmap64, mremap, munmap): Likewise.
1266 * math/e_exp2l.c: Likewise.
1267 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
1268 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
1269 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
1270 * math/s_catan.c (__catan): Likewise.
1271 * math/s_catanf.c (__catanf): Likewise.
1272 * math/s_catanh.c (__catanh): Likewise.
1273 * math/s_catanhf.c (__catanhf): Likewise.
1274 * math/s_catanhl.c (__catanhl): Likewise.
1275 * math/s_catanl.c (__catanl): Likewise.
1276 * math/s_ccosh.c (__ccosh): Likewise.
1277 * math/s_ccoshf.c (__ccoshf): Likewise.
1278 * math/s_ccoshl.c (__ccoshl): Likewise.
1279 * math/s_cexp.c (__cexp): Likewise.
1280 * math/s_cexpf.c (__cexpf): Likewise.
1281 * math/s_cexpl.c (__cexpl): Likewise.
1282 * math/s_clog10.c (__clog10): Likewise.
1283 * math/s_clog10f.c (__clog10f): Likewise.
1284 * math/s_clog10l.c (__clog10l): Likewise.
1285 * math/s_clog.c (__clog): Likewise.
1286 * math/s_clogf.c (__clogf): Likewise.
1287 * math/s_clogl.c (__clogl): Likewise.
1288 * math/s_csin.c (__csin): Likewise.
1289 * math/s_csinf.c (__csinf): Likewise.
1290 * math/s_csinh.c (__csinh): Likewise.
1291 * math/s_csinhf.c (__csinhf): Likewise.
1292 * math/s_csinhl.c (__csinhl): Likewise.
1293 * math/s_csinl.c (__csinl): Likewise.
1294 * math/s_csqrt.c (__csqrt): Likewise.
1295 * math/s_csqrtf.c (__csqrtf): Likewise.
1296 * math/s_csqrtl.c (__csqrtl): Likewise.
1297 * math/s_ctan.c (__ctan): Likewise.
1298 * math/s_ctanf.c (__ctanf): Likewise.
1299 * math/s_ctanh.c (__ctanh): Likewise.
1300 * math/s_ctanhf.c (__ctanhf): Likewise.
1301 * math/s_ctanhl.c (__ctanhl): Likewise.
1302 * math/s_ctanl.c (__ctanl): Likewise.
1303 * math/w_pow.c: Likewise.
1304 * math/w_powf.c: Likewise.
1305 * math/w_powl.c: Likewise.
1306 * math/w_scalb.c (sysv_scalb): Likewise.
1307 * math/w_scalbf.c (sysv_scalbf): Likewise.
1308 * math/w_scalbl.c (sysv_scalbl): Likewise.
1309 * misc/error.c (error_tail): Likewise.
1310 * misc/pselect.c (__pselect): Likewise.
1311 * nis/nis_callback.c (__nis_create_callback): Likewise.
1312 * nis/nis_call.c (__nisfind_server): Likewise.
1313 * nis/nis_creategroup.c (nis_creategroup): Likewise.
1314 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
1315 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
1316 * nis/nis_getservlist.c (nis_getservlist): Likewise.
1317 * nis/nis_lookup.c (nis_lookup): Likewise.
1318 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
1319 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
1320 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
1321 * nis/nis_xdr.c (xdr_endpoint): Likewise.
1322 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
1323 internal_getgrgid_r): Likewise.
1324 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
1325 Likewise.
1326 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
1327 internal_getpwuid_r): Likewise.
1328 * nis/nss_compat/compat-spwd.c (getspent_next_file,
1329 internal_getspnam_r): Likewise.
1330 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
1331 _nss_nis_getaliasbyname_r): Likewise.
1332 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
1333 _nss_nis_getntohost_r): Likewise.
1334 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
1335 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
1336 Likewise.
1337 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
1338 internal_nis_gethostent_r, internal_gethostbyname2_r,
1339 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
1340 _nss_nis_gethostbyname4_r): Likewise.
1341 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
1342 initgroups_netid): Likewise.
1343 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
1344 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
1345 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
1346 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
1347 _nss_nis_getprotobynumber_r): Likewise.
1348 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
1349 _nss_nis_getsecretkey): Likewise.
1350 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
1351 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
1352 Likewise.
1353 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
1354 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
1355 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
1356 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
1357 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
1358 _nss_nis_getspnam_r): Likewise.
1359 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
1360 Likewise.
1361 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
1362 _nss_nisplus_getntohost_r): Likewise.
1363 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
1364 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
1365 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
1366 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
1367 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
1368 Likewise.
1369 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
1370 _nss_nisplus_getnetbyaddr_r): Likewise.
1371 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
1372 _nss_nisplus_getprotobynumber_r): Likewise.
1373 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
1374 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
1375 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
1376 Likewise.
1377 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
1378 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
1379 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
1380 _nss_nisplus_getspnam_r): Likewise.
1381 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
1382 * nscd/aicache.c (addhstaiX): Likewise.
1383 * nscd/cache.c (cache_search, prune_cache): Likewise.
1384 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
1385 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
1386 * nscd/grpcache.c (addgrbyX): Likewise.
1387 * nscd/hstcache.c (addhstbyX): Likewise.
1388 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1389 * nscd/mem.c (gc, mempool_alloc): Likewise.
1390 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
1391 Likewise.
1392 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
1393 Likewise.
1394 * nscd/nscd_getai.c (__nscd_getai): Likewise.
1395 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
1396 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
1397 Likewise.
1398 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
1399 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
1400 * nscd/nscd_helper.c (__readvall, open_socket,
1401 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
1402 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
1403 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
1404 * nscd/pwdcache.c (addpwbyX): Likewise.
1405 * nscd/selinux.c (preserve_capabilities): Likewise.
1406 * nscd/servicescache.c (addservbyX): Likewise.
1407 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
1408 * posix/fnmatch.c (fnmatch): Likewise.
1409 * posix/getopt.c (_getopt_internal_r): Likewise.
1410 * posix/glob.c (glob, glob_in_dir): Likewise.
1411 * posix/wordexp.c (exec_comm_child): Likewise.
1412 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
1413 gaih_getanswer_slice): Likewise.
1414 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
1415 * resolv/res_init.c: Likewise.
1416 * resolv/res_mkquery.c (res_nmkquery): Likewise.
1417 * resolv/res_query.c (__libc_res_nquery): Likewise.
1418 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
1419 Likewise.
1420 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
1421 * stdio-common/perror.c (perror): Likewise.
1422 * stdio-common/printf_fp.c (___printf_fp): Likewise.
1423 * stdio-common/tmpnam.c (tmpnam): Likewise.
1424 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1425 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
1426 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
1427 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
1428 * stdlib/putenv.c (putenv): Likewise.
1429 * stdlib/setenv.c (__add_to_environ): Likewise.
1430 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1431 * stdlib/strtol_l.c (INTERNAL): Likewise.
1432 * string/memmem.c (memmem): Likewise.
1433 * string/strerror.c (strerror): Likewise.
1434 * string/strnlen.c (__strnlen): Likewise.
1435 * string/test-memmem.c (simple_memmem): Likewise.
1436 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
1437 * sunrpc/pm_getport.c (__get_socket): Likewise.
1438 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
1439 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
1440 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
1441 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
1442 Likewise.
1443 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1444 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1445 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
1446 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
1447 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
1448 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
1449 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
1450 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
1451 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
1452 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
1453 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1454 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1455 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
1456 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1457 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
1458 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
1459 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
1460 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
1461 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
1462 Likewise.
1463 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
1464 Likewise.
1465 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
1466 Likewise.
1467 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
1468 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1469 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
1470 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
1471 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1472 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
1473 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1474 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
1475 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
1476 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
1477 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
1478 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1479 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1480 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
1481 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
1482 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
1483 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
1484 Likewise.
1485 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
1486 Likewise.
1487 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
1488 Likewise.
1489 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1490 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
1491 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
1492 Likewise.
1493 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
1494 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
1495 * sysdeps/posix/opendir.c (__opendirat): Likewise.
1496 * sysdeps/posix/sleep.c: Likewise.
1497 * sysdeps/posix/tempname.c: Likewise.
1498 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
1499 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1500 Likewise.
1501 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
1502 elf_machine_rela): Likewise.
1503 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1504 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1505 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
1506 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
1507 Likewise.
1508 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
1509 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
1510 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1511 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
1512 elf_machine_rela, elf_machine_lazy_rel): Likewise.
1513 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
1514 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
1515 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
1516 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1517 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
1518 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
1519 elf_machine_lazy_rel): Likewise.
1520 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
1521 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
1522 elf_machine_lazy_rel): Likewise.
1523 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
1524 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
1525 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
1526 * sysdeps/unix/grantpt.c (grantpt): Likewise.
1527 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
1528 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
1529 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
1530 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1531 Likewise.
1532 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
1533 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
1534 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
1535 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
1536 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
1537 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
1538 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
1539 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
1540 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
1541 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
1542 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
1543 Likewise.
1544 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
1545 (__posix_fallocate64_l64): Likewise.
1546 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
1547 (posix_fallocate): Likewise.
1548 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
1549 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1550 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
1551 getifaddrs_internal): Likewise.
1552 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
1553 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
1554 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
1555 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1556 * sysdeps/unix/sysv/linux/posix_fallocate64.c
1557 (__posix_fallocate64_l64): Likewise.
1558 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
1559 Likewise.
1560 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
1561 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1562 Likewise.
1563 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
1564 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1565 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
1566 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1567 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1568 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
1569 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
1570 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
1571 Likewise.
1572 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
1573 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
1574 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
1575 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
1576 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
1577 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
1578 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
1579 Likewise.
1580 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1581 (posix_fallocate): Likewise.
1582 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1583 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
1584 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
1585 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
1586 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
1587 Likewise.
1588 * time/asctime.c (asctime_internal): Likewise.
1589 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
1590 * time/tzset.c (__tzset_parse_tz): Likewise.
1591 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
1592 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
1593 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
1594 * wcsmbs/wcsmbsload.h: Likewise.
1595
f3d338c9
OB
15962014-02-10 Ondřej Bílka <neleai@seznam.cz>
1597
1598 [BZ #15894]
1599 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
1600
bdfe308a
OB
16012014-02-10 Ondřej Bílka <neleai@seznam.cz>
1602
1603 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
1604 arena_get2): Remove THREAD_STATS conditionals.
1605 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
1606 __malloc_stats, int): Likewise.
1607
d674667c
MF
16082014-02-08 Mike Frysinger <vapier@gentoo.org>
1609
1610 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
1611 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
1612
6349768c
MF
16132014-02-08 Mike Frysinger <vapier@gentoo.org>
1614
1615 * manual/setjmp.texi: Fix typos/grammar errors.
1616
0b7c7473
MF
16172014-02-08 Mike Frysinger <vapier@gentoo.org>
1618
1619 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
1620 Only return early when n is <= 0. Delete unused return statement.
1621
ac8cc9e3
MF
16222014-02-08 Mike Frysinger <vapier@gentoo.org>
1623
1624 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
1625 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
1626 * debug/tst-longjmp_chk3.c: New file.
1627
c5bb8e23
MF
16282014-02-08 Mike Frysinger <vapier@gentoo.org>
1629
1630 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
1631 (test_main): Replace code with set_fortify_handler call.
1632 * debug/test-strcpy_chk.c: Likewise.
1633 * debug/tst-chk1.c: Likewise.
1634 * debug/tst-longjmp_chk.c: Likewise.
1635 * test-skeleton.c: Include fcntl.h & paths.h
1636 (set_fortify_handler): Define.
1637
10444e42
MF
16382014-02-08 Mike Frysinger <vapier@gentoo.org>
1639
1640 * debug/tst-longjmp_chk.c: Add header comment and include
1641 ../test-skeleton.c.
1642 (do_test): Mark static.
1643 (TEST_FUNCTION): Define.
1644
1e805e8d
MF
16452014-02-08 Mike Frysinger <vapier@gentoo.org>
1646
1647 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
1648 (IP_PMTUDISC_INTERFACE): Likewise.
1649 (IP_MULTICAST_IF): Likewise.
1650 (IP_MULTICAST_TTL): Likewise.
1651 (IP_MULTICAST_LOOP): Likewise.
1652 (IP_ADD_MEMBERSHIP): Likewise.
1653 (IP_DROP_MEMBERSHIP): Likewise.
1654 (IP_UNBLOCK_SOURCE): Likewise.
1655 (IP_BLOCK_SOURCE): Likewise.
1656 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
1657 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
1658 (IP_MSFILTER): Likewise.
1659 (MCAST_JOIN_GROUP): Likewise.
1660 (MCAST_BLOCK_SOURCE): Likewise.
1661 (MCAST_UNBLOCK_SOURCE): Likewise.
1662 (MCAST_LEAVE_GROUP): Likewise.
1663 (MCAST_JOIN_SOURCE_GROUP): Likewise.
1664 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
1665 (MCAST_MSFILTER): Likewise.
1666 (IP_MULTICAST_ALL): Likewise.
1667 (IP_UNICAST_IF): Likewise.
1668
73f79bb7
MF
16692014-02-08 Mike Frysinger <vapier@gentoo.org>
1670
1671 * timezone/Makefile: Delete $(have-ksh) check.
1672 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
1673 * timezone/tzselect.ksh: Add +x mode bits.
1674
8da79b60
MF
16752014-02-08 Mike Frysinger <vapier@gentoo.org>
1676
1677 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
1678 (ANON_INODE_FS_MAGIC): Likewise.
1679 (BDEVFS_MAGIC): Likewise.
1680 (BINFMTFS_MAGIC): Likewise.
1681 (BTRFS_TEST_MAGIC): Likewise.
1682 (CRAMFS_MAGIC_WEND): Likewise.
1683 (DEBUGFS_MAGIC): Likewise.
1684 (ECRYPTFS_SUPER_MAGIC): Likewise.
1685 (EXT3_SUPER_MAGIC): Likewise.
1686 (EXT4_SUPER_MAGIC): Likewise.
1687 (FUTEXFS_SUPER_MAGIC): Likewise.
1688 (HOSTFS_SUPER_MAGIC): Likewise.
1689 (HUGETLBFS_MAGIC): Likewise.
1690 (MINIX3_SUPER_MAGIC): Likewise.
1691 (MTD_INODE_FS_MAGIC): Likewise.
1692 (NILFS_SUPER_MAGIC): Likewise.
1693 (OPENPROM_SUPER_MAGIC): Likewise.
1694 (PIPEFS_MAGIC): Likewise.
1695 (PSTOREFS_MAGIC): Likewise.
1696 (QNX6_SUPER_MAGIC): Likewise.
1697 (RAMFS_MAGIC): Likewise.
1698 (REISERFS_SUPER_MAGIC_STRING): Likewise.
1699 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
1700 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
1701 (SECURITYFS_MAGIC): Likewise.
1702 (SELINUX_MAGIC): Likewise.
1703 (SMACK_MAGIC): Likewise.
1704 (SOCKFS_MAGIC): Likewise.
1705 (SQUASHFS_MAGIC): Likewise.
1706 (STACK_END_MAGIC): Likewise.
1707 (TMPFS_MAGIC): Likewise.
1708 (USBDEVICE_SUPER_MAGIC): Likewise.
1709 (V9FS_MAGIC): Likewise.
1710 (XENFS_SUPER_MAGIC): Likewise.
1711 (CRAMFS_MAGIC): Fix typo in comment.
1712 (EXT2_SUPER_MAGIC): Update comment.
1713 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
1714
464263cc
JM
17152014-02-08 Joseph Myers <joseph@codesourcery.com>
1716
c6bfe5c4
JM
1717 * sysdeps/arm: Move directory from ports/sysdeps/arm.
1718 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
1719 * sysdeps/unix/sysv/linux/arm: Move directory from
1720 ports/sysdeps/unix/sysv/linux/arm.
1721 * README: Update listing for arm-*-linux-gnueabi.
1722
464263cc
JM
1723 * README: Remove mention of am33.
1724
32749f6c
RM
17252014-02-07 Roland McGrath <roland@hack.frob.com>
1726
1727 * bits/sigset.h (__sigemptyset): Use a statement expression rather
1728 than the comma operator, to avoid "rhs of comma has no effect"
1729 compiler warnings.
1730 (__sigfillset, __sigandset, __sigorset): Likewise.
1731 * include/signal.h (__sigemptyset): Likewise.
1732 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
1733
d5b396c1
AM
17342014-02-07 Allan McRae <allan@archlinux.org>
1735
1736 * version.h (RELEASE): Set to "development".
1737 (VERSION): Set to "2.19.90"
1738 * NEWS: Add 2.20 section.
1739
3bfff2ed
CD
17402014-02-06 Carlos O'Donell <carlos@redhat.com>
1741
1742 [BZ #16529]
1743 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
1744
ee7cc385
SP
17452014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1746
1747 * manual/contrib.texi: Update entry for Carlos O'Donell,
1748 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
1749
f877c4f2
CD
17502014-02-05 Carlos O'Donell <carlos@rehdat.com>
1751
27e839f6
CD
1752 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
1753
f877c4f2
CD
1754 * sysdeps/unix/sysv/linux/kernel-features.h
1755 [__LINUX_KERNEL_VERSION >= 0x020621]
1756 (__ASSUME_PROC_PID_TASK_COMM): Define.
1757
68159946
SP
17582014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1759
ba17cdbd
SP
1760 [BZ #16398]
1761 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
1762 conversion when destination buffer does not have enough space.
1763 * libio/tst-ftell-partial-wide.c: New test case.
1764 * libio/Makefile (tests): Add tst-ftell-partial-wide.
1765
68159946
SP
1766 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
1767 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
1768 Leonard and Allan McRae.
1769
2b528732
DM
17702014-02-04 David S. Miller <davem@davemloft.net>
1771
1772 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
1773 32-bit.
1774
0ff82463
AZ
17752014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1776
c01603f7
AZ
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
1778 file
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1780 New file
1781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
1782 file.
1783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
1784 file.
1785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1786 New file.
1787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
1788 file.
1789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
1790 file.
1791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1792 New file.
1793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1794 New file.
1795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1796 New file.
1797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1798 New file.
1799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1800 New file.
1801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1802 New file.
1803
18042014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1805
0ff82463
AZ
1806 * nptl/shlib-versions: Change powerpc*le start to 2.17.
1807 * shlib-versions: Likewise.
1808
1695c773
AZ
18092014-02-04 Roland McGrath <roland@hack.frob.com>
1810 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1811
1812 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
1813 (abilist-pattern): New variable, set to %-le.abilist.
1814
1815 * Makerules (abilist-pattern): New variable.
1816 (vpath): Use $(abilist-pattern) in place of %.abilist.
1817 (check-abi-% pattern rule): Likewise.
1818 (check-abi, update-abi): Likewise.
1819
6c0ce4b4
EW
18202014-02-04 Eric Wong <normalperson@yhbt.net>
1821
1822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1823
dc98b8f5
EW
18242014-02-04 Eric Wong <normalperson@yhbt.net>
1825
1826 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1827
481e3524
CD
18282014-02-03 Carlos O'Donell <carlos@redhat.com>
1829
1830 * manual/startup.texi: Add next, previous, and top entries for
1831 the `Program Arguments' and `Environment Variables' nodes.
1832
375592d3
AO
18332014-02-03 Alexandre Oliva <aoliva@redhat.com>
1834
1835 * manual/macros.texi: Add comments before MTASC-safety macros.
1836
f54838ba
AO
1837 * manual/users.texi: Document MTASC-safety properties.
1838
909e12ad
AO
1839 * manual/threads.texi (pthread_key_create, pthread_key_delete,
1840 pthread_getspecific, pthread_setspecific): Format with
1841 @deftypefun, and add @safety note.
1842 * manual/signal.texi: Move comments that analyze the above
1843 functions to their home place.
1844
fd3daba4
AM
18452014-02-03 Allan McRae <allan@archlinux.org>
1846
1847 * po/sl.po: Update Slovenian translation from translation project.
1848
597636d7
AO
18492014-02-02 Alexandre Oliva <aoliva@redhat.com>
1850
1851 * manual/time.texi (timegm): Add missing blank after @c.
1852 Reported by Joseph Myers <joseph@codesourcery.com>.
1853
ee196e3c
AO
18542014-02-01 Alexandre Oliva <aoliva@redhat.com>
1855
1856 * manual/check-safety.sh: New.
1857 * manual/Makefile ($(objpfx)stamp-summary): Run it.
1858
f8d529d5
AO
1859 * manual/terminal.texi: Document MTASC-safety properties.
1860
de55fdf4
AO
1861 * manual/filesys.texi: Document MTASC-safety properties.
1862
c3299c08
AO
1863 * manual/errno.texi: Document MTASC-safety properties.
1864
06e90b14
AO
1865 * manual/intro.texi: Document safety identifiers and
1866 conditionals.
1867
1acd4371
AO
1868 * manual/string.texi (wcstok): Fix prototype.
1869 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
1870
23e5b8cb
AO
1871 * manual/time.texi: Document MTASC-safety properties.
1872
11087373
AO
1873 * manual/string.texi: Document MTASC-safety properties.
1874
5da2c93d
AO
1875 * manual/threads.texi: Document MTASC-safety properties.
1876
171e9210
AO
1877 * manual/stdio.texi: Document MTASC-safety properties.
1878
d9e02532
AO
1879 * manual/syslog.texi: Document MTASC-safety properties.
1880
6af8bab7
AO
1881 * manual/sysinfo.texi: Document MTASC-safety properties.
1882
663b02d7
AO
1883 * manual/startup.texi: Document MTASC-safety properties.
1884
973f180b
AO
1885 * manual/socket.texi: Document MTASC-safety properties.
1886
8f3c25c8
AO
1887 * manual/signal.texi: Document MTASC-safety properties.
1888
542210fb
AO
18892014-01-31 Alexandre Oliva <aoliva@redhat.com>
1890
1891 * manual/setjmp.texi: Document MTASC-safety properties.
1892
433c45a2
AO
1893 * manual/search.texi: Document MTASC-safety properties.
1894
c8ce789c
AO
1895 * manual/resource.texi: Document MTASC-safety properties.
1896
19f5d29c
AO
1897 * manual/process.texi: Document MTASC-safety properties.
1898
e2dfb7f4
AO
1899 * manual/platform.texi: Document MTASC-safety properties.
1900
8c1413f5
AO
1901 * manual/pipe.texi: Document MTASC-safety properties.
1902
03483ada
AO
1903 * manual/pattern.texi: Document MTASC-safety properties.
1904
29e7e2df
AO
1905 * manual/message.texi: Document MTASC-safety properties.
1906
9f529d7c
AO
1907 [BZ #12751]
1908 * manual/memory.texi: Document MTASC-safety properties.
1909
27aaa791
AO
1910 * manual/math.texi: Document MTASC-safety properties.
1911
f2d58726
AO
1912 * manual/locale.texi: Document MTASC-safety properties.
1913
2cc3615c
AO
1914 * manual/llio.texi: Document MTASC-safety properties.
1915
d9f0ec97
AO
1916 * manual/libdl.texi: New.
1917
e7c4409a
AO
1918 * manual/lang.texi: Document MTASC-safety properties.
1919
27bdc63c
AO
1920 * manual/job.texi: Document MTASC-safety properties.
1921
a7b90ea9
AO
1922 * manual/getopt.texi: Document MTASC-safety properties.
1923
c49130e3
AO
1924 * manual/ctype.texi: Document MTASC-safety properties.
1925
0d23a5c1
MR
19262014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
1927
1928 [BZ #16046]
1929 * csu/libc-tls.c (static_map): Remove variable.
1930 (__libc_setup_tls): Use main executable's link map for TLS data.
1931 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
1932 casing for LM_ID_BASE and GL(dl_nns).
1933 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
1934 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
1935 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
1936 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
1937 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
1938 member.
1939 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
1940 l_phnum members.
1941
0037bb60
AO
19422014-01-30 Alexandre Oliva <aoliva@redhat.com>
1943
1944 * manual/debug.texi: Document MTASC-safety properties.
1945
409e00bd
L
19462014-01-29 H.J. Lu <hongjiu.lu@intel.com>
1947
1948 [BZ #16510]
1949 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
1950 of __x86_64__ when disabling x87 inline functions.
1951
86e60666
AO
19522014-01-29 Alexandre Oliva <aoliva@redhat.com>
1953
1954 * manual/charset.texi: Document MTASC-safety properties.
1955
76167637
AO
1956 * manual/crypt.texi: Document MTASC-safety properties.
1957
e567f2a0
AO
1958 * manual/conf.texi: Document MTASC-safety properties.
1959
b719dafd
AO
1960 * manual/arith.texi: Document MTASC-safety properties.
1961
4a16c662
AO
1962 * manual/argp.texi: Document MTASC-safety properties.
1963
0a57b83e
AO
1964 * manual/macros.texi: Introduce macros to document multi
1965 thread, asynchronous signal and asynchronous cancellation
1966 safety properties.
1967 * manual/intro.texi: Introduce the properties themselves.
1968
feab2397
KK
19692014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1970
1971 * sysdeps/sh/sh4/Makefile: New file.
1972
1c0d11bc
AS
19732014-01-27 Andreas Schwab <schwab@linux-m68k.org>
1974
1975 * math/gen-libm-test.pl ($srcdir): New variable.
1976 ($auto_input): Use it.
1977
af37a8a3
SP
19782014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1979
d7b00f98
SP
1980 [BZ #16506]
1981 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
1982 access beyond array bounds when parsing netgroups file.
1983
af37a8a3
SP
1984 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
1985 the old buffer before realloc.
1986
0c00f062
AM
19872014-01-27 Allan McRae <allan@archlinux.org>
1988
1989 * po/fr.po: Update French translation from translation project.
1990
7d69a1b0
KK
19912014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1992
1993 * sysdeps/sh/libm-test-ulps: Regenerate.
1994
6e697ff7
DM
19952014-01-24 David S. Miller <davem@davemloft.net>
1996
1997 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
1998
9cadb35c
KK
19992014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2000
2001 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
2002 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
2003
5d41dadf
SP
20042013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
2005
2006 [BZ #16474]
2007 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
2008 string pointers after reallocation.
2009
0bad441c
KK
20102014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2011
2012 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
2013 __SH4A__ instead of __SH_FPU_ANY__.
2014
7007c661
KK
20152014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2016
2017 * sysdeps/sh/fpu_control.h: New file.
2018 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
2019 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
2020 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
2021 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
2022 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
2023 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
2024 * sysdeps/sh/sys/ucontext.h: Remove.
2025 * sysdeps/sh/sys: Remove directory.
2026
0f0c35e4
AK
20272014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2028
2029 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
2030 s390/sys/ucontext.h.
2031 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
2032 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
2033
4959e284
L
20342014-01-20 H.J. Lu <hongjiu.lu@intel.com>
2035
2036 [BZ #15605]
2037 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
2038
d98720e0
AZ
20392014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2040
2041 [BZ#16431]
2042 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2043 Adjust the vDSO correctly for internal calls.
2044 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2045
91cbd0bc
AM
20462014-01-20 Allan McRae <allan@archlinux.org>
2047
2048 * po/ca.po: Update Catalan translation from translation project.
2049
7a02cfad
MF
20502014-01-16 Mike Frysinger <vapier@gentoo.org>
2051
2052 * sysdeps/s390/sotruss-lib.c: New file.
2053
736c304a
AZ
20542014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2055
2056 [BZ#16430]
6e077ee5 2057 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
2058 (__GI___gettimeofday): Alias for a different internal symbol to avoid
2059 local calls issues by not having a PLT stub required for IFUNC calls.
2060 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
2061
94d0cea0
JM
20622014-01-16 Joseph Myers <joseph@codesourcery.com>
2063
2064 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
2065 * math/test-fpucw-static.c: Likewise.
2066
980cb518
SP
20672013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2068
2069 [BZ #16453]
2070 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
2071
2393fc01
AZ
20722014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2073
2074 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
2075 implementation for powerpc.
2076
d359bcc2
OB
20772014-01-15 Ondřej Bílka <neleai@seznam.cz>
2078
2079 [BZ #14782]
2080 * sysdeps/posix/system.c (__libc_system): Do not enable
2081 asynchronous cancellation.
2082
7beb48cb
AK
20832014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2084
2085 [BZ #16427]
2086 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
2087 handling only for numbers special also in the IEEE case.
2088
c20d5bf5
AK
20892014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2090
2091 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2092
e83bd4ee
AM
20932014-01-11 Allan McRae <allan@archlinux.org>
2094
76d0ea69
AM
2095 * po/bg.po: Update Bulgarian translation from translation project.
2096
e83bd4ee
AM
2097 * po/de.po: Update German translation from translation project.
2098
bc2ba20a
RM
20992014-01-10 Roland McGrath <roland@hack.frob.com>
2100
2101 * sysdeps/generic/gcc-compat.h: New file.
2102
649ecea2
SP
21032014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2104
2105 * benchtests/asin-inputs: Correct slow inputs.
2106 * benchtests/acos-inputs: Likewise.
2107
1b19c006
AM
21082014-01-10 Allan McRae <allan@archlinux.org>
2109
a46dab08
AM
2110 * po:sv.po: Update Swedish translation from translation project.
2111
421df74a
AM
2112 * po/vi.po: Update Vietnamese translation from translation project.
2113
d61c51a7
AM
2114 * po/eo.po: Update Esperanto translation from translation project.
2115
0339a319
AM
2116 * po/cs.po: Update Czech translation from translation project.
2117
94ad3e99
AM
2118 * po/nl.po: Update Dutch translation from translation project.
2119
e349ca71
AM
2120 * po/pl.po: Update Polish translation from translation project.
2121
ddf930c1
AM
2122 * po/ru.po: Update Russian translation from translation project.
2123
1b19c006
AM
2124 * po/uk.po: Update Ukrainian translation from translation project.
2125
9f236c49
BM
21262014-01-08 Brooks Moses <bmoses@google.com>
2127
2128 * elf/dl-load.c: Fix comment typo.
2129
cd6701cf
CD
21302014-01-08 Carlos O'Donell <carlos@redhat.com>
2131
2132 * po/header.pot: Rename to...
2133 * po/pot.header: ... this.
2134 * po/Makefile: Use pot.header.
2135
66671c84
YK
21362014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
2137 Maxim Kuvyrkov <maxim@kugelworks.com>
2138
2139 [BZ #16394]
cd6701cf
CD
2140 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
2141 SRC and DEST against LEN.
66671c84 2142
38f34581
AZ
21432014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2144
2145 [BZ #16414]
2146 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
2147 implementation.
2148 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
2149
21502014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
2151
2152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2153
4c327f2a
JM
21542014-01-08 Joseph Myers <joseph@codesourcery.com>
2155
2156 [BZ #16408]
2157 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
2158 for large positive arguments.
2159
b821f414
JM
21602014-01-07 Joseph Myers <joseph@codesourcery.com>
2161
1f0f2067
JM
2162 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2163
a5a326f6
JM
2164 * math/auto-libm-test-in: Mark various tests with
2165 xfail-rounding:ldbl-128ibm.
2166 * math/auto-libm-test-out: Regenerated.
2167
b821f414
JM
2168 [BZ #16407]
2169 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
2170 Increase overflow threshold.
2171
94c8a4bc
OB
21722014-01-07 Ondřej Bílka <neleai@seznam.cz>
2173
2174 [BZ #14286]
2175 * stdio-common/vfprintf.c: Check for integer overflow.
2176
87ded0c3
AK
21772014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2178
2179 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
2180 the first argument and return value of __tls_get_addr_internal.
2181
c5eebdd0
AK
21822014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2183
2184 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
2185 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
2186
05d138ef
AK
21872014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2188
2189 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
2190 * sysdeps/s390/rtld-global-offsets.sym: New file.
2191 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
2192 GLIBC_2.19 symbol.
2193 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
2194 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
2195 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
2196 ... this.
2197 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
2198 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
2199 ... this.
2200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2201 Regenerate.
2202 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2203 Regenerate.
2204 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
2205 halfs of GPRs for high_gprs contexts.
2206 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
2207 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
2208 field.
2209 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
2210 uc_flags field.
2211 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
2212 64 bit versions:
2213 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
2214 for high GPRs (uc_high_gprs) and for future extensions
2215 (__reserved).
2216 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
2217 for future extensions (__reserved).
2218 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
2219 64 bit versions:
2220 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
2221 SC_HIGHGPRS offset definition.
2222 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
2223 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
2224
93a45ff1
AK
22252014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2226
2227 * Versions.def: Add GLIBC_2.19 for libpthread.
2228 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
2229 siglongjmp for libpthread with GLIBC_2.19 symver.
2230 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
2231 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
2232 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
2233 * sysdeps/s390/__longjmp.c: New file.
2234 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
2235 * sysdeps/s390/longjmp.c: New file.
2236 * sysdeps/s390/setjmp.S: New file.
2237 * sysdeps/s390/sigjmp.S: New file.
2238 * sysdeps/s390/v1-longjmp.c: New file.
2239 * sysdeps/s390/v1-setjmp.h: New file.
2240 * sysdeps/s390/v1-sigjmp.c: New file.
2241 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
2242 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
2243 GLIBC_2.19 version.
2244 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
2245 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
2246 versioned symbols for ____longjmp_chk.
2247 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
2248 Likewise.
2249 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
2250 Regenerate.
2251 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2252 Regenerate.
2253 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
2254 Regenerate.
2255 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2256 Regenerate.
2257 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
2258 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
2259 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
2260 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
2261 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
2262 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
2263 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
2264 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
2265 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
2266 * sysdeps/s390/rtld-__longjmp.c: New file.
2267 * sysdeps/s390/rtld-setjmp.S: New file.
2268
eb3fc44b
JM
22692014-01-06 Joseph Myers <joseph@codesourcery.com>
2270
2271 [BZ #16400]
2272 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2273 Return -__logl (x) for small positive arguments without evaluating
2274 a polynomial.
2275
9341dde4
MF
22762014-01-06 Mike Frysinger <vapier@gentoo.org>
2277
2278 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
2279 Rename to ...
2280 (__ptrace_peeksiginfo_args): ... this.
2281 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2282 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2283 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2284
4cff0293
AM
22852014-01-06 Allan McRae <allan@archlinux.org>
2286
2287 * inet/netinet/in.h: Fix typo in comment.
2288
75595dcf
AJ
22892014-01-05 Andreas Jaeger <aj@suse.de>
2290
2291 * sysdeps/i386/fpu/libm-test-ulps: Update.
2292
79c1e109
AM
22932014-01-05 Allan McRae <allan@archlinux.org>
2294
dd804818
AM
2295 * po/libc.pot: Regenerated.
2296
79c1e109
AM
2297 * malloc/memusagestat.c: Fix gettext call formatting.
2298
0c813d1f
SK
22992014-01-04 Sami Kerola <kerolasa@iki.fi>
2300
2301 * nscd/nscd.c: Improve usage() output.
2302
20f4a8d9
MF
23032014-01-04 Mike Frysinger <vapier@gentoo.org>
2304
2305 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
2306 * sysdeps/unix/sysv/linux/configure: Regenerated.
2307 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
2308 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
2309
22562bb2
JM
23102014-01-03 Joseph Myers <joseph@codesourcery.com>
2311
2312 [BZ #16390]
2313 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2314 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
2315
d7ad2d9b
AZ
23162014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2317
2318 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
2319 extra tokens at end of #undef directive.
2320 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
2321 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
2322 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2323
7dd009d8
JM
23242014-01-03 Joseph Myers <joseph@codesourcery.com>
2325
24db925a
JM
2326 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
2327
7dd009d8
JM
2328 * math/auto-libm-test-in: Mark various tests with
2329 xfail-rounding:ldbl-128ibm.
2330 * math/auto-libm-test-out: Regenerated.
2331
396e3ecf
JM
23322014-01-02 Joseph Myers <joseph@codesourcery.com>
2333
819e5d50
JM
2334 [BZ #16386]
2335 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
2336 numbers with subnormal high part when calculating exponent.
2337
90b6a1e5
JM
2338 [BZ #16385]
2339 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
2340 fabs.
2341
396e3ecf
JM
2342 [BZ #16384]
2343 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
2344 M_LN2l.
2345 (__ieee754_acoshl): Use __log1pl not __log1p.
2346
6c8dbf00
OB
23472013-01-02 Ondřej Bílka <neleai@seznam.cz>
2348
2349 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
2350 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
2351 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
2352 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
2353 Convert to GNU style.
2354 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
2355 mem2mem_check, mem2chunk_check, top_check, realloc_check,
2356 memalign_check, __malloc_set_state): Likewise.
2357 * malloc/mallocbug.c (main): Likewise.
2358 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
2359 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
2360 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
2361 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
2362 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
2363 * malloc/malloc.h: Likewise.
2364 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
2365 memalignhook, reallochook, mabort): Likewise.
2366 * malloc/mcheck.h: Likewise.
2367 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
2368 mmap64, mremap, munmap, dest): Likewise.
2369 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
2370 * malloc/morecore.c (__default_morecore): Likewise.
2371 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
2372 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
2373 _obstack_allocated_p, obstack_free, _obstack_memory_used,
2374 print_and_abort): Likewise.
2375 * malloc/obstack.h: Likewise.
2376 * malloc/set-freeres.c (__libc_freeres): Likewise.
2377 * malloc/tst-mallocstate.c (main): Likewise.
2378 * malloc/tst-mtrace.c (main): Likewise.
2379 * malloc/tst-realloc.c (do_test): Likewise.
2380
d4124212
SP
23812013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
2382
9a3c6a6f
SP
2383 [BZ #16366]
2384 * nscd/netgroupcache.c (do_notfound): New function.
2385 (addgetnetgrentX): Use it.
2386
d4124212
SP
2387 [BZ # 16365]
2388 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
2389 NSS_STATUS_NOTFOUND.
2390
97b9a009
JM
23912014-01-01 Joseph Myers <joseph@codesourcery.com>
2392
2393 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2395
d4697bc9
AM
23962014-01-01 Allan McRae <allan@archlinux.org>
2397
ddb3687f
AM
2398 * scripts/update-copyrights: Update configure input file suffix.
2399
88726d48
AM
2400 * NEWS: Update copyright year.
2401 * catgets/gencat.c: Likewise.
2402 * csu/version.c: Likewise.
2403 * debug/catchsegv.sh: Likewise.
2404 * debug/pcprofiledump.c: Likewise.
2405 * debug/xtrace.sh: Likewise.
2406 * elf/ldconfig.c: Likewise.
2407 * elf/ldd.bash.in: Likewise.
2408 * elf/pldd.c: Likewise.
2409 * elf/sotruss.ksh: Likewise.
2410 * elf/sprof.c: Likewise.
2411 * iconv/iconv_prog.c: Likewise.
2412 * iconv/iconvconfig.c: Likewise.
2413 * locale/programs/locale.c: Likewise.
2414 * locale/programs/localedef.c: Likewise.
2415 * login/programs/pt_chown.c: Likewise.
2416 * malloc/memusage.sh: Likewise.
2417 * malloc/memusagestat.c: Likewise.
2418 * malloc/mtrace.pl: Likewise.
2419 * manual/libc.texinfo: Likewise.
2420 * nscd/nscd.c: Likewise.
2421 * nss/getent.c: Likewise.
2422 * nss/makedb.c: Likewise.
2423 * posix/getconf.c: Likewise.
2424 * scripts/test-installation.pl: Likewise.
2425
d4697bc9
AM
2426 * All files with FSF copyright notices: Update copyright dates
2427 using scripts/update-copyrights.
2428 * intl/plural.c: Regenerated.
2429 * locale/programs/charmap-kw.h: Likewise.
2430 * locale/programs/locfile-kw.h: Likewise.
2431
c8590f9d
MF
24322013-12-31 Mike Frysinger <vapier@gentoo.org>
2433
2434 * sysdeps/unix/sysv/linux/configure: Regenerated.
2435 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
2436 the linux/fanotify.h header.
2437 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
2438 HAVE_LINUX_FANOTIFY_H is defined.
2439
b19221b9
SP
24402013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2441
dd1d85e5
SP
2442 * benchtests/cos-inputs: New inputs.
2443 * benchtests/sin-inputs: Likewise.
2444
1acbb90f
SP
2445 * benchtests/atan-inputs: New inputs. Fix name of multiple
2446 precision fallback inputs.
2447
4c012ed3
SP
2448 * benchtests/atanh-inputs: New inputs.
2449 * benchtests/tanh-inputs: Likewise.
2450
eff98324
SP
2451 * benchtests/acosh-inputs: New inputs.
2452 * benchtests/asinh-inputs: Likewise.
2453
ce641152
SP
2454 * benchtests/cosh-inputs: New inputs.
2455 * benchtests/sinh-inputs: Likewise.
2456
b19221b9
SP
2457 * benchtests/acos-inputs: Add more inputs.
2458 * benchtests/asin-inputs: Likewise.
2459
030a4976 24602013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 2461
030a4976 2462 [BZ #16375]
9dcc8f11
VS
2463 * manual/arith.texi: Fix spelling.
2464 * manual/charset.texi: Likewise.
2465 * manual/errno.texi: Likewise.
2466 * manual/filesys.texi: Likewise.
2467 * manual/lang.texi: Likewise.
2468 * manual/llio.texi: Likewise.
2469 * manual/locale.texi: Likewise.
2470 * manual/message.texi: Likewise.
2471 * manual/resource.texi: Likewise.
2472 * manual/search.texi: Likewise.
2473 * manual/setjmp.texi: Likewise.
2474 * manual/stdio.texi: Likewise.
2475 * manual/string.texi: Likewise.
2476 * manual/sysinfo.texi: Likewise.
2477 * manual/time.texi: Likewise.
2478
11520a57
CD
24792013-12-27 Carlos O'Donell <carlos@redhat.com>
2480
2481 * po/sl.po: New file.
2482
471103ae
MF
24832013-12-27 Mike Frysinger <vapier@gentoo.org>
2484
2485 * .gitignore: Add core/.gdbinit/.gdb_history.
2486
6c9642ed
AM
24872013-12-27 Allan McRae <allan@archlinux.org>
2488
2489 [BZ #16369]
2490 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
2491 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
2492
3f637079
BM
24932013-12-24 Brooks Moses <bmoses@google.com>
2494
2495 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
2496 all compilers that claim C++98 compliance, not just GCC.
2497 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
2498 Likewise.
2499
abc26e99
MK
25002013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2501
2502 * NEWS: Restore accidentally deleted bug-fix entries.
2503
362b47fe
MK
25042013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
2505 Ondřej Bílka <neleai@seznam.cz>
2506
2507 [BZ #15073]
2508 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 2509 have_lock.
362b47fe 2510
b9bcbbcb
OB
25112013-12-23 Ondřej Bílka <neleai@seznam.cz>
2512
2513 [BZ #12986]
2514 * manual/stdio.texi (String Input Conversions): Clarify that character
2515 classes are not supported.
2516
fb55fcd2
AZ
25172013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2518
2519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2520
ef7344f0
JM
25212013-12-22 Joseph Myers <joseph@codesourcery.com>
2522
4f40e4b3
JM
2523 [BZ #16337]
2524 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2525 Calculate results for small negative arguments directly rather
2526 than using reflection formula with special underflow handling.
2527
ef7344f0
JM
2528 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
2529 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
2530 sysdeps/unix/bsd/bsd4.4/syscalls.list.
2531 (fchflags): Likewise.
2532 (revoke): Likewise.
2533 (setlogin): Likewise.
2534 (sigaltstack): Likewise.
2535 (wait4): Likewise.
2536 (sigblock): Remove.
2537 (sigsetmask): Likewise.
2538 (wait3): Likewise.
2539 (waitpid): Likewise.
2540 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
2541 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
2542 file.
2543 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
2544 * sysdeps/unix/bsd/Makefile: ... here.
2545 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
2546 * sysdeps/unix/bsd/Versions: ... here.
2547 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
2548 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
2549 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
2550 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
2551 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
2552 * sysdeps/unix/bsd/sigblock.c: ... here.
2553 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
2554 * sysdeps/unix/bsd/sigsetmask.c: ... here.
2555 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
2556 * sysdeps/unix/bsd/sigvec.c: ... here.
2557 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
2558 * sysdeps/unix/bsd/tcdrain.c: ... here.
2559 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
2560 * sysdeps/unix/bsd/tcgetattr.c: ... here.
2561 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
2562 * sysdeps/unix/bsd/tcsetattr.c: ... here.
2563 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
2564 * sysdeps/unix/bsd/wait.c: ... here.
2565 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
2566 * sysdeps/unix/bsd/wait3.c: ... here.
2567 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
2568 * sysdeps/unix/bsd/waitpid.c: ... here.
2569
5b0626b9
JM
25702013-12-21 Joseph Myers <joseph@codesourcery.com>
2571
2572 [BZ #16356]
2573 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
2574 round-to-nearest for [!USE_AS_EXPM1L].
2575 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2576 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
2577 more tests of exp and exp10. Expect some exp10 tests to miss
2578 exceptions or fail in directed rounding modes.
2579 * math/auto-libm-test-out: Regenerated.
2580 * math/libm-test.inc (exp10_tonearest_test_data): New array.
2581 (exp10_test_tonearest): New function.
2582 (exp10_towardzero_test_data): New array.
2583 (exp10_test_towardzero): New function.
2584 (exp10_downward_test_data): New array.
2585 (exp10_test_downward): New function.
2586 (exp10_upward_test_data): New array.
2587 (exp10_test_upward): New function.
2588 (main): Call the new functions.
2589 * sysdeps/i386/fpu/libm-test-ulps: Update.
2590 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2591
7fda5682
JM
25922013-12-20 Joseph Myers <joseph@codesourcery.com>
2593
31e3a405
JM
2594 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
2595 asinh, atan, atan2, atanh, cbrt, cos and cosh.
2596 * math/auto-libm-test-out: Regenerated.
2597 * math/libm-test.inc (acosh_test_data): Add more tests.
2598 (atanh_test_data): Likewise.
2599 (ceil_test_data): Likewise.
2600 (copysign_test_data): Likewise.
2601 * sysdeps/i386/fpu/libm-test-ulps: Update.
2602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2603
85bff96a
JM
2604 * timezone/checktab.awk: Update from tzcode 2013i.
2605 * timezone/private.h: Likewise.
2606 * timezone/scheck.c: Likewise.
2607 * timezone/tzfile.h: Likewise.
2608 * timezone/tzselect.ksh: Likewise.
2609 * timezone/zdump.c: Likewise.
2610 * timezone/zic.c: Likewise.
2611
b7867a3b
JM
2612 * math/auto-libm-test-in: Add tests of cpow.
2613 * math/auto-libm-test-out: Regenerated.
2614 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
2615 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
2616 mpc_cc_c.
2617 (func_calc_desc): Add mpc_cc_c union field.
2618 (test_functions): Add cpow.
2619 (special_fill_2pi): New function.
2620 (special_real_inputs): Add 2pi.
2621 (calc_generic_results): Handle mpc_cc_c.
2622 * sysdeps/i386/fpu/libm-test-ulps: Update.
2623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2624
7fda5682
JM
2625 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
2626 csqrt, ctan and ctanh.
2627 * math/auto-libm-test-out: Regenerated.
2628 * math/libm-test.inc (TEST_COND_x86_64): New macro.
2629 (TEST_COND_x86): Likewise.
2630 (ccos_test_data): Use AUTO_TESTS_c_c.
2631 (ccosh_test_data): Likewise.
2632 (cexp_test_data): Likewise.
2633 (clog_test_data): Likewise.
2634 (csqrt_test_data): Likewise.
2635 (ctan_test_data): Likewise.
2636 (ctan_tonearest_test_data): Likewise.
2637 (ctan_towardzero_test_data): Likewise.
2638 (ctan_downward_test_data): Likewise.
2639 (ctan_upward_test_data): Likewise.
2640 (ctanh_test_data): Likewise.
2641 (ctanh_tonearest_test_data): Likewise.
2642 (ctanh_towardzero_test_data): Likewise.
2643 (ctanh_downward_test_data): Likewise.
2644 (ctanh_upward_test_data): Likewise.
2645 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2646 mpc_c_c.
2647 (func_calc_desc): Add mpc_c_c union field.
2648 (FUNC_mpc_c_c): New macro.
2649 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
2650 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
2651 ctanh.
2652 (special_fill_min_subnorm_p120): New function.
2653 (special_real_inputs): Add min_subnorm_p120.
2654 (calc_generic_results): Handle mpc_c_c.
2655 * sysdeps/i386/fpu/libm-test-ulps: Update.
2656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2657
5ff8d60e
SP
26582013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2659
392dd2de
SP
2660 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
2661 do_sin_slow): New functions.
2662 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
2663 cslow2, csloww1, csloww2): Use the new functions.
2664
84ba214c
SP
2665 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
2666 Use M to change sign of result instead of X. Assume X is
2667 positive.
2668 (csloww1): Likewise.
2669 (__sin): Adjust.
2670 (__cos): Adjust.
2671
975195e4
SP
2672 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
2673 arguments A and DA.
2674 (__sin): Adjust.
2675 (__cos): Likewise.
2676
5ff8d60e
SP
2677 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
2678 (__cos): Likewise.
2679 (sloww1): Don't adjust sign of DX.
2680 (csloww1): Likewise.
2681 (sloww2): Use X directly and don't adjust sign of DX.
2682 (csloww2): Likewise.
2683
eb983568
JM
26842013-12-19 Joseph Myers <joseph@codesourcery.com>
2685
64a17f1a
JM
2686 * math/auto-libm-test-in: Add tests of cabs and carg.
2687 * math/auto-libm-test-out: Regenerated.
2688 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
2689 (carg_test_data): Likewise.
2690 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2691 mpc_c_f.
2692 (func_calc_desc): Add mpc_c_f union field.
2693 (test_functions): Add cabs and carg.
2694 (calc_generic_results): Handle mpc_c_f.
2695
eb983568
JM
2696 * sysdeps/powerpc/powerpc32/libgcc-compat.S
2697 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
2698 as a macro and a compat symbol.
2699 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2700 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2701 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2702 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2703 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
2704 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
2705 not use .hidden.
2706 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
2707 Likewise.
2708 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
2709 Likewise.
2710 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
2711 Likewise.
2712 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
2713 Likewise.
2714 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
2715 Likewise.
2716 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
2717 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
2718 from GLIBC_2.3.2.
2719
6eeb678a
AZ
27202013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2721
2722 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2723
6f6fc482
JM
27242013-12-19 Joseph Myers <joseph@codesourcery.com>
2725
21fea2e2
JM
2726 * manual/texinfo.tex: Update to version 2013-11-26.10 with
2727 trailing whitespace removed.
2728 * scripts/config.guess: Update to version 2013-11-29.
2729 * scripts/config.sub: Update to version 2013-10-01.
2730
6f6fc482
JM
2731 * math/auto-libm-test-in: Add tests of sincos.
2732 * math/auto-libm-test-out: Regenerated.
2733 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
2734 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2735 mpfr_f_11.
2736 (func_calc_desc): Add mpfr_f_11 union field.
2737 (test_functions): Add sincos.
2738 (calc_generic_results): Handle mpfr_f_11.
2739 * sysdeps/i386/fpu/libm-test-ulps: Update.
2740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2741
83f5c32d
AS
27422013-12-19 Andreas Schwab <schwab@suse.de>
2743
2744 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
2745 CALL_MCOUNT.
2746 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2747 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2748 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
2749
c688b419
JM
27502013-12-19 Joseph Myers <joseph@codesourcery.com>
2751
335ee092
JM
2752 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
2753 * sysdeps/i386/fpu/libm-test-ulps: Update.
2754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2755
f88acd39
JM
2756 [BZ #16293]
2757 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
2758 round-to-nearest mode when using frndint.
2759 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
2760 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
2761 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
2762 Likewise.
2763 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
2764 sinh test to fail.
2765 * math/auto-libm-test-out: Regenerated.
2766 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
2767 (TEST_COND_x86): Likewise.
2768 (expm1_tonearest_test_data): New array.
2769 (expm1_test_tonearest): New function.
2770 (expm1_towardzero_test_data): New array.
2771 (expm1_test_towardzero): New function.
2772 (expm1_downward_test_data): New array.
2773 (expm1_test_downward): New function.
2774 (expm1_upward_test_data): New array.
2775 (expm1_test_upward): New function.
2776 (main): Run the new test functions.
2777 * sysdeps/i386/fpu/libm-test-ulps: Update.
2778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2779
c688b419
JM
2780 * include/features.h: Update comment documenting feature test
2781 macros. Mention _DEFAULT_SOURCE in comment.
2782 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
2783 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
2784 _BSD_SOURCE and _SVID_SOURCE.
2785 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
2786 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
2787 !_SVID_SOURCE]: Likewise.
2788 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2789 (__USE_POSIX_IMPLICITLY): Define.
2790 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2791 (_POSIX_SOURCE): Undefine and redefine.
2792 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
2793 (_POSIX_C_SOURCE): Likewise.
2794 * manual/creature.texi (_DEFAULT_SOURCE): Document.
2795 (Feature Test Macros): Update documentation of default features.
2796
9f6e964c
RS
27972013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2798
2799 * benchtests/Makefile: Add bench-strtok.
2800 * benchtests/bench-strtok.c: New file: strtok benchtest.
2801
ee0a148a
AM
28022013-12-19 Allan McRae <allan@archlinux.org>
2803
2804 * manual/install.texi: Suppress menu for plain text output.
2805 * INSTALL: Regenerated.
2806
b9ab448f
BM
28072013-12-18 Brooks Moses <bmoses@google.com>
2808
2809 [BZ #15846]
2810 * misc/getauxval.c: Include errno.h.
2811 (__getauxval): Set errno to ENOENT if the requested type is not
2812 found.
2813 * misc/sys/auxv.h (getauxval): Document that it may set errno;
2814 don't declare with __attribute_const__.
2815 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
2816 * manual/startup.texi: Document that getauxval sets errno.
2817
23776487
JM
28182013-12-18 Joseph Myers <joseph@codesourcery.com>
2819
f889953b
JM
2820 * math/auto-libm-test-in: Add tests of jn and yn.
2821 * math/auto-libm-test-out: Regenerated.
2822 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
2823 (yn_test_data): Likewise.
2824 * math/gen-auto-libm-tests.c (func_calc_method): Add value
2825 mpfr_if_f.
2826 (func_calc_desc): Add mpfr_if_f union field.
2827 (FUNC_mpfr_if_f): New macro.
2828 (test_functions): Add jn and yn.
2829 (calc_generic_results): Assert type of second input for
2830 mpfr_ff_f. Handle mpfr_if_f.
2831 (output_for_one_input_case): Disable all checking for arguments
2832 fitting floating-point types in case of an integer argument.
2833 * sysdeps/i386/fpu/libm-test-ulps: Update.
2834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2835
23776487
JM
2836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2837 Don't expect fegetround reference in libm.so.
2838
cb756c6d
MS
28392013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
2840
2841 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
2842 $(config-cflags-nofma).
2843
2dec468f
JM
28442013-12-18 Joseph Myers <joseph@codesourcery.com>
2845
5953eb3a
JM
2846 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
2847 * math/auto-libm-test-out: Regenerated.
2848
2dec468f
JM
2849 [BZ #16338]
2850 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
2851 to determine exponent and adjust argument to have exponent of -1.
2852 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
2853 log2.
2854 * math/auto-libm-test-out: Regenerated.
2855 * sysdeps/i386/fpu/libm-test-ulps: Update.
2856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2857
4d84e6ad
OB
28582013-12-18 Ondřej Bílka <neleai@seznam.cz>
2859
2860 * manual/probes.texi: Remove cases when per-thread arenas are
2861 disabled.
2862
1818483b
AS
28632013-12-18 Andreas Schwab <schwab@suse.de>
2864
2865 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
2866 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
2867 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
2868 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
2869 * sysdeps/i386/i686/multiarch/Makefile: Update.
2870 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
2871
25de95bf
JM
28722013-12-17 Joseph Myers <joseph@codesourcery.com>
2873
2874 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
2875 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
2876
674762d9
PE
28772013-12-17 Paul Eggert <eggert@cs.ucla.edu>
2878
ed27ed83 2879 [BZ #15968]
0748546f
PE
2880 Support TZ transition times < 00:00:00.
2881 This is needed for version-3 tz-format files; it supports time
2882 stamps past 2037 for America/Godthab (the only entry in the tz
2883 database for which this change is relevant).
2884 * manual/time.texi (TZ Variable): Document transition times
2885 from -167:59:59 through -00:00:01.
2886 * time/tzset.c (tz_rule): Time of day is now signed.
2887 (__tzset_parse_tz): Parse negative time of day.
2888
4480e934
PE
2889 Document TZ transition times >= 25:00:00.
2890 * manual/time.texi (TZ Variable): Document transition times from
2891 25:00:00 through 167:59:59. These are already supported, and this
2892 support will help with version-3 tz-format files.
2893
69947401
PE
2894 * manual/time.texi (TZ Variable): Modernize North America example
2895 to reflect current (i.e., 2007-and-later) daylight saving rules.
2896
674762d9
PE
2897 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
2898
7011c262
JM
28992013-12-17 Joseph Myers <joseph@codesourcery.com>
2900
2fc6557e
JM
2901 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
2902 * sysdeps/unix/bsd/bits/stat.h: Likewise.
2903 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
2904 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2905 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
2906 * sysdeps/unix/bsd/bsdstat.h: Likewise.
2907 * sysdeps/unix/bsd/clock.c: Likewise.
2908 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
2909 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
2910 * sysdeps/unix/bsd/init-posix.c: Likewise.
2911 * sysdeps/unix/bsd/poll.c: Likewise.
2912 * sysdeps/unix/bsd/ptsname.c: Likewise.
2913 * sysdeps/unix/bsd/seekdir.c: Likewise.
2914 * sysdeps/unix/bsd/setegid.c: Likewise.
2915 * sysdeps/unix/bsd/seteuid.c: Likewise.
2916 * sysdeps/unix/bsd/setgid.c: Likewise.
2917 * sysdeps/unix/bsd/setrgid.c: Likewise.
2918 * sysdeps/unix/bsd/setruid.c: Likewise.
2919 * sysdeps/unix/bsd/setsid.c: Likewise.
2920 * sysdeps/unix/bsd/setuid.c: Likewise.
2921 * sysdeps/unix/bsd/sigaction.c: Likewise.
2922 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
2923 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
2924 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
2925 * sysdeps/unix/bsd/telldir.c: Likewise.
2926 * sysdeps/unix/bsd/times.c: Likewise.
2927 * sysdeps/unix/bsd/usleep.c: Likewise.
2928
029c7b25
JM
2929 * misc/Makefile (install-lib): Remove libbsd-compat.a.
2930 ($(objpfx)libbsd-compat.a): Remove rule.
2931
7011c262
JM
2932 * include/features.h (__FAVOR_BSD): Do not define.
2933 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
2934 features conflicting with POSIX.
2935 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
2936 (_BSD_SOURCE): Remove description of not being a subset of other
2937 feature test macros.
2938 * manual/job.texi (getpgrp): Do not document BSD version.
2939 (getpgid): Do not document by reference to BSD getpgrp.
2940 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
2941 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
2942 * signal/signal.h [__FAVOR_BSD]: Likewise.
2943 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
2944 instead of making contents conditional on [__FAVOR_BSD].
2945 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
2946
affb6f78
AZ
29472013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2948
2949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2950
c88769dd
JM
29512013-12-17 Joseph Myers <joseph@codesourcery.com>
2952
6432a540
JM
2953 [BZ #16314]
2954 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
2955 values below 2**-450, not 2**-500.
2956 * math/auto-libm-test-in: Don't allow spurious underflow from
2957 hypot.
2958 * math/auto-libm-test-out: Regenerated.
2959
c88769dd
JM
2960 [BZ #16316]
2961 [BZ #16330]
2962 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
2963 values of ha and hb and sort them after adjusting subnormal
2964 arguments.
2965 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2966 Likewise.
2967 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
2968 values of ea and eb and sort them after adjusting subnormal
2969 arguments.
2970 * math/auto-libm-test-in: Do not expect some hypot tests of
2971 subnormals to fail. Add more hypot tests.
2972 * math/auto-libm-test-out: Regenerated.
2973
29618f6b
KK
29742013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2975
2976 [BZ #13304]
2977 * sysdeps/sh/s_fma.c: New file.
2978 * sysdeps/sh/s_fmaf.c: New file.
2979 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
2980 version.
2981 * sysdeps/sh/Implies: Add sh/soft-fp.
2982
eacfdfbf
RM
29832013-12-16 Roland McGrath <roland@hack.frob.com>
2984
2985 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
2986 level of indirection to members `objname', `errstring', `malloced'.
2987 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
2988 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
2989 it as the __longjmp argument (just pass 1 instead).
2990 (_dl_catch_error): Initialize C with argument pointers and address of
2991 volatile local ERRCODE rather than copying values out of C at return.
2992
ff362e5b
JM
29932013-12-16 Joseph Myers <joseph@codesourcery.com>
2994
2995 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
2996 * math/auto-libm-test-out: Regenerated.
2997 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
2998 (hypot_test_data): Likewise.
2999 (pow_test_data): Likewise.
3000 (pow_tonearest_test_data): Likewise.
3001 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3002 mpfr_ff_f.
3003 (func_calc_desc): Add mpfr_ff_f union field.
3004 (FUNC_mpfr_ff_f): New macro.
3005 (test_functions): Add atan2, hypot and pow.
3006 (special_fill_min): New function.
3007 (special_fill_minus_min): Likewise.
3008 (special_fill_min_subnorm): Likewise.
3009 (special_fill_minus_min_subnorm): Likewise.
3010 (special_real_inputs): Add min, -min, min_subnorm and
3011 -min_subnorm.
3012 (calc_generic_results): Handle mpfr_ff_f.
3013 * sysdeps/i386/fpu/libm-test-ulps: Update.
3014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3015
5764c27f
WN
30162013-12-16 Will Newton <will.newton@linaro.org>
3017
3018 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
3019 (Aligned Memory Blocks): Add documentation for aligned_alloc
3020 and suggest it as an alternative to posix_memalign.
3021 (Hooks for Malloc): Document __memalign_hook is also called
3022 for aligned_alloc. (Summary of Malloc): Add summary for
3023 aligned alloc. Document __memalign_hook is also called
3024 for aligned_alloc.
3025
0a096e44
WN
30262013-12-16 Will Newton <will.newton@linaro.org>
3027
3028 * manual/memory.texi (Malloc Examples): Clarify default
3029 alignment documentation. Suggest posix_memalign rather
3030 than memalign or valloc.
3031 (Aligned Memory Blocks): Remove suggestion to use memalign
3032 or valloc. Remove obsolete comment about BSD.
3033 Document memalign errno values and mark the function obsolete.
3034 Document posix_memalign returned error codes. Mark valloc
3035 as obsolete. (Hooks for Malloc): __memalign_hook is also
3036 called for posix_memalign and valloc.
3037 (Summary of Malloc): Add posix_memalign to function summary.
3038 __memalign_hook is also called for posix_memalign and valloc.
3039
8d561986
SP
30402013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3041
3042 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
3043 TAYLOR_SIN.
3044 (__sin): Adjust.
3045 (__cos): Likewise.
3046 (sloww): Use mynumber union. Expand ternary operator into
3047 if-else statements.
3048 (cslow): use mynumber union.
3049
73616a74
AM
30502013-12-16 Allan McRae <allan@archlinux.org>
3051
9e8ac24b
AM
3052 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
3053 * configure: Regenerated.
3054
6f8e37eb
AM
3055 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
3056
8894bad3
AM
3057 [BZ #14120]
3058 * configure.ac: Added --enable-maintainer-mode. Check for
3059 autoconf when enabled.
3060 * configure: Regenerated.
3061
73616a74
AM
3062 * nscd/nscd.service: New file.
3063 * nscd/nscd.tmpfiles: New file.
3064
584b18eb
OB
30652013-12-14 Ondřej Bílka <neleai@seznam.cz>
3066
3067 [BZ #12100]
3068 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
3069 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
3070 * sysdeps/x86_64/multiarch/strstr.c: ... here.
3071 (strstr): Add __strstr_sse2_unaligned ifunc.
3072 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
3073 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
3074 (strcasestr): Remove __strcasestr_sse42 ifunc.
3075 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
3076 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
3077 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3078
8a5c7897
KK
30792013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3080
3081 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
3082 * sysdeps/sh/bits/fenv.h: ... here.
3083 * sysdeps/sh/sh4/fpu/bits: Remove directory.
3084
fd712ef3
AZ
30852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3086
3087 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
3088
42fcb46c
AZ
30892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3090
3091 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
3092 hypotf multiarch implementations.
3093 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
3094 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
3095 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
3096 multiarch hypot for PPC64.
3097 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
3098 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
3099 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
3100 multiarch hypotf for PPC64.
3101
83efded4
AZ
31022013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3103
3104 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
3105 modff multiarch implementations.
3106 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
3107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
3108 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
3109 multiarch modf for PPC64.
3110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
3111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
3112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
3113 multiarch modff for PPC64.
3114
43e246d2
AZ
31152013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3116
3117 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
3118 and logl multiarch implementations.
3119 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
3120 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
3121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
3122 multiarch logb for PPC64.
3123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
3124 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
3125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
3126 multiarch logb for PPC64.
3127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
3128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
3129 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
3130 multiarch logb for PPC64.
3131
8fdad123
AZ
31322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3133
3134 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
3135 isinff multiarch implementation.
3136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
3137 file.
3138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
3139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
3140 multiarch isinf for PPC64.
3141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
3142 file.
3143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
3144 multiarch isinff for PPC64.
3145
1481d706
AZ
31462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3147
3148 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
3149 finitef multiarch implementation.
3150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
3151 file.
3152 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
3153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
3154 multiarch finite for PPC64.
3155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
3156 file.
3157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
3158 multiarch finitef for PPC64.
3159
5ccd5fc8
AZ
31602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3161
3162 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
3163 lrint multiarch implementation.
3164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
3165 file.
3166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
3167 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
3168 multiarch llrint for PPC64.
3169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
3170 multiarch lrint for PPC64.
3171
2568f3fa
AZ
31722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3173
3174 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
3175 copysignf multiarch implementation.
3176 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
3177 file.
3178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
3179 file.
3180 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
3181 multiarch copysign for PPC64.
3182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
3183 multiarch copysignf for PPC64.
3184
1cb341fd
AZ
31852013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3186
3187 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
3188 multiarch implementation.
3189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
3190 file.
3191 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
3192 file.
3193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
3194 file.
3195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
3196 file.
3197 multiarch llround for PPC64.
3198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
3199 multiarch trunc for PPC64.
3200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
3201 multiarch truncf for PPC64.
3202
59a3e194
AZ
32032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3204
3205 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
3206 multiarch implementation.
3207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
3208 file.
3209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
3210 file.
3211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
3212 file.
3213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
3214 file.
3215 multiarch llround for PPC64.
3216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
3217 multiarch round for PPC64.
3218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
3219 multiarch roundf for PPC64.
3220
357fd3b4
AZ
32212013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3222
3223 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
3224 multiarch implementation.
3225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
3226 file.
3227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
3228 file.
3229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
3230 file.
3231 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
3232 file.
3233 multiarch llround for PPC64.
3234 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
3235 multiarch floor for PPC64.
3236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
3237 multiarch floorf for PPC64.
3238
96770f12
AZ
32392013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3240
3241 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
3242 multiarch implementation.
3243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
3244 file.
3245 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
3246 file.
3247 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
3248 file.
3249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
3250 file.
3251 multiarch llround for PPC64.
3252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
3253 multiarch ceil for PPC64.
3254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
3255 multiarch ceilf for PPC64.
3256
c3627f6e
AZ
32572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3258
3259 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
3260 multiarch implementation.
3261 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
3262 file.
3263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
3264 file.
3265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
3266 file.
3267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
3268 multiarch llround for PPC64.
3269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
3270 multiarch lround for PPC64.
3271
b2284ad7
AZ
32722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3273
3274 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
3275 multiarch implementation.
3276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
3277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
3278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
3279 file.
3280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
3281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
3282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
3283 multiarch isnan for PPC64.
3284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
3285 multiarch isnanf for PPC64.
3286
69bbc63d
AZ
32872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3288
3289 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
3290 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
3291 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
3292 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
3293 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
3294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
3295
c24517c9
AZ
32962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3297
3298 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
3299 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3300 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3301 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3302
a52374e8
AZ
33032013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3304
3305 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
3306 multiarch implementations.
3307 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3308 (__libc_ifunc_impl_list): Likewise.
3309 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3310 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
3311 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
3312 multiarch stpcpy for PPC64.
3313
7f5ec113
AZ
33142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3315
3316 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
3317 multiarch implementations.
3318 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3319 (__libc_ifunc_impl_list): Likewise.
3320 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
3321 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
3322 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
3323 multiarch strcpy for PPC64.
3324
e28bcd42
AZ
33252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3326
3327 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
3328 redefine function name.
3329 (_wordcopy_fwd_dest_aligned): Likewise.
3330 (_wordcopy_bwd_aligned): Likewise.
3331 (_wordcopy_bwd_dest_aligned): Likewise.
3332 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
3333 multiarch implementations.
3334 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3335 (__libc_ifunc_impl_list): Likewise.
3336 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
3337 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
3338 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
3339 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
3340 multiarch wcscpy for PPC64.
3341
92cacfce
AZ
33422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3343
3344 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
3345 multiarch implementations.
3346 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3347 (__libc_ifunc_impl_list): Likewise.
3348 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
3349 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
3350 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
3351 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
3352 multiarch wcscpy for PPC64.
3353
7b714620
AZ
33542013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3355
3356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
3357 multiarch implementations.
3358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3359 (__libc_ifunc_impl_list): Likewise.
3360 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
3361 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
3362 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
3363 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
3364 multiarch wcsrchr for PPC64.
3365
16fd2ae3
AZ
33662013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3367
3368 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
3369 multiarch implementations.
3370 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3371 (__libc_ifunc_impl_list): Likewise.
3372 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
3373 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
3374 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
3375 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
3376 multiarch wcschr for PPC64.
3377
9ee2969b
AZ
33782013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3379
3380 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
3381 multiarch implementations.
3382 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3383 (__libc_ifunc_impl_list): Likewise.
3384 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
3385 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
3386 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
3387 multiarch strchrnul for PPC64.
3388
372dc060
AZ
33892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3390
3391 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
3392 implementations.
3393 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3394 (__libc_ifunc_impl_list): Likewise.
3395 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
3396 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
3397 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
3398 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
3399 strchr for PPC64.
3400
24c2c3b9
AZ
34012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3402
3403 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
3404 implementations.
3405 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3406 (__libc_ifunc_impl_list): Likewise.
3407 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
3408 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
3409 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
3410 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
3411 strncmp for PPC64.
3412
1c92d9a0
AZ
34132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3414
3415 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
3416 multiarch implementations.
3417 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3418 (__libc_ifunc_impl_list): Likewise.
3419 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
3420 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
3421 strncasecmp for PPC64.
3422 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
3423 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
3424 multiarch strncasecmp_l for PPC64.
3425
17de3ee3
AZ
34262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3427
3428 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
3429 multiarch implementations.
3430 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3431 (__libc_ifunc_impl_list): Likewise.
3432 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
3433 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
3434 multiarch strcasecmp for PPC64.
3435 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
3436 file.
3437 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
3438 multiarch strcasecmp_l for PPC64.
3439
62982bf9
AZ
34402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3441
3442 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
3443 implementations.
3444 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3445 (__libc_ifunc_impl_list): Likewise.
3446 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
3447 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
3448 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
3449 strnlen for PPC64.
3450
a65f4904
AZ
34512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3452
3453 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
3454 implementations.
3455 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3456 (__libc_ifunc_impl_list): Likewise.
3457 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
3458 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
3459 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
3460 strlen for PPC64.
3461
1fd005ad
AZ
34622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3463
3464 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
3465 implementations.
3466 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3467 (__libc_ifunc_impl_list): Likewise.
3468 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
3469 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
3470 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
3471 rawmemrchr for PPC64.
3472
cd05ba91
AZ
34732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3474
3475 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
3476 implementation.
3477 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3478 (__libc_ifunc_impl_list): Likewise.
3479 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
3480 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
3481 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
3482 memrchr for PPC64.
3483
870f8676
AZ
34842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3485
3486 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
3487 implementation.
3488 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3489 (__libc_ifunc_impl_list): Likewise.
3490 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
3491 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
3492 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
3493 memchr for PPC64.
3494
f00be62b
AZ
34952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3496
3497 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
3498 implementation.
3499 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3500 (__libc_ifunc_impl_list): Likewise.
3501 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
3502 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
3503 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
3504 mempcpy for PPC64.
3505
8a29a3d0
AZ
35062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3507
3508 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
3509 avoid cretion of __bzero symbol.
3510 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
3511 Likewise.
3512 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
3513 Likewise.
3514 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
3515 Likewise.
3516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
3517 multiarch implementations.
3518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3519 (__libc_ifunc_impl_list): Likewise.
3520 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
3521 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
3522 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
3523 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
3524 bzero for PPC32.
3525 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
3526 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
3527 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
3528 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
3529 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
3530 memset for PPC64.
3531 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
3532
07253fcf
AZ
35332013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3534
3535 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
3536 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
3537 implementations.
3538 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3539 (__libc_ifunc_impl_list): Likewise.
3540 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
3541 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
3542 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
3543 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
3544 memcmp for PPC64.
3545
b5beafbc
AZ
35462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3547
3548 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
3549 multiarch for POWER/PPC64.
3550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
3551 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
3552 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
3553 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
3554 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
3555 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
3556 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
3557 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
3558 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
3559 memcpy for PPC64.
3560
5e6a4d4b
AZ
35612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3562
3563 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
3564 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
3565 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
3566 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
3567 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
3568 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
3569 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
3570 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
3571 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
3572 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
3573 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
3574 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
3575 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
3576 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
3577 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
3578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
3579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
3580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
3581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
3582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
3583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
3584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
3585
ddfab6dc
KK
35862013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3587
3588 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
3589
19b5525e
SP
35902013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3591
3592 * benchtests/Makefile (bench): Add exp2 and log2.
3593 (LDLIBS-bench-exp2): Add -lm.
3594 (LDLIBS-bench-log2): Likewise.
3595 * benchtests/exp2-inputs: New inputs file.
3596 * benchtests/log2-inputs: New inputs file.
3597 * benchtests/log-inputs: Add new inputs.
3598 * benchtests/tan-inputs: Likewise.
3599
196f7f5d
SP
36002013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3601
7a74607f
SP
3602 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
3603 definition...
3604 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
3605 csloww1, csloww2): ... from here.
3606
196f7f5d
SP
3607 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
3608 instead of structures.
3609 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
3610 (POLYNOMIAL): Likewise.
3611 (TAYLOR_SLOW): Likewise.
3612 (__sin): Likewise.
3613 (__cos): Likewise.
3614 (slow1): Likewise.
3615 (slow2): Likewise.
3616 (sloww): Likewise.
3617 (sloww1); Likewise.
3618 (sloww2): Likewise.
3619 (bsloww1): Likewise.
3620 (bsloww2): Likewise.
3621 (cslow2): Likewise.
3622 (csloww): Likewise.
3623 (csloww1): Likewise.
3624 (csloww2): Likewise.
3625
0dfa665c
OB
36262013-12-10 Ondřej Bílka <neleai@seznam.cz>
3627
3628 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
3629 (__malloc_assert, __libc_realloc, __libc_calloc,
3630 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
3631 memcpy and memset.
3632 * malloc/hooks.c (realloc_check): Likewise.
3633
5782a80f
OB
36342013-12-10 Ondřej Bílka <neleai@seznam.cz>
3635
3636 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
3637 * malloc/arena.c: Remove PER_THREAD conditional.
3638 [!PER_THREAD]: Remove code.
3639 (ptmalloc_unlock_all2): Likewise.
3640 (ptmalloc_init): Likewise.
3641 (_int_new_arena): Likewise.
3642 (arena_get2): Likewise.
3643 * malloc/hooks.c (__malloc_get_state): Likewise.
3644 (__malloc_set_state): Likewise.
3645 * malloc/malloc.c: Likewise.
3646 (struct malloc_state): Likewise.
3647 (struct malloc_par): Likewise.
3648 (__libc_realloc): Likewise.
3649 (__libc_mallopt): Likewise.
3650
aeb95445
AZ
36512013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3652
3653 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
3654
e8349efd
OB
36552013-12-09 Ondřej Bílka <neleai@seznam.cz>
3656
3657 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
3658 macro to a function. Check for zero perturb_byte.
3659 (_int_malloc, _int_free): Remove zero perturb_byte checks.
3660
f3eeb3fc
OB
36612013-12-09 Ondřej Bílka <neleai@seznam.cz>
3662
3663 * malloc/malloc.c: (force_reg): Remove.
3664 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
3665 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
3666 force_reg by atomic_forced_read.
3667 * malloc/arena.c (ptmalloc_init): Likewise.
3668 * malloc/hooks.c (top_check): Likewise.
3669
be2f9009
AZ
36702013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3671
3672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3673
e7b914bd
MT
36742013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
3675
3676 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3677
9f0be4f8
JM
36782013-12-08 Joseph Myers <joseph@codesourcery.com>
3679
3680 * math/auto-libm-test-in: Add tests of lgamma.
3681 * math/auto-libm-test-out: Regenerated.
3682 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
3683 (M_LOG_2_SQRT_PIl): Likewise.
3684 (lgamma_test_data): Use AUTO_TESTS_f_f1.
3685 * math/gen-auto-libm-tests.c (func_calc_method): Add value
3686 mpfr_f_f1.
3687 (func_calc_desc): Add mpfr_f_f1 union field.
3688 (ARGS1): New macro.
3689 (ARGS2): Likewise.
3690 (ARGS3): Likewise.
3691 (ARGS4): Likewise.
3692 (RET1): Likewise.
3693 (RET2): Likewise.
3694 (CALC): Likewise.
3695 (FUNC): Likewise.
3696 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
3697 (test_functions): Add lgamma.
3698 (calc_generic_results): Handle mpfr_f_f1.
3699 * sysdeps/i386/fpu/libm-test-ulps: Update.
3700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3701
24eeafdb
AZ
37022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3703
3704 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
3705 __mpn_add_n for PowerPC64/POWER7.
3706 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
3707 __mpn_sub_n for PowerPC64/POWER7.
3708
4a2c0fd4
AZ
37092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3710
3711 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
3712 __mpn_addmul_1 for PowerPC64.
3713 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
3714 __mpn_submul_1 for PowerPC64.
3715 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
3716 for PowerPC64.
3717 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
3718 for PowerPC64.
3719
4b5b548c
FS
37202013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
3721
3722 [BZ #15089]
3723 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
3724
0a3ac0aa
AZ
37252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3726
3727 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
3728
ccdc8438
AZ
37292013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3730
3731 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
3732 add multiarch folders.
3733 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
3734 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
3735 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
3736 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
3737 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
3738 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
3739 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
3740 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
3741 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
3742 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
3743 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
3744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
3745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
3746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
3747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
3748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
3749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
3750
2e973d99
AZ
37512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3752
3753 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3754 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
3755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
3756 New file.
3757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
3758 New file.
3759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
3760 multiarch __ieee754_hypot for PowerPC32.
3761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
3762 New file.
3763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
3764 New file.
3765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
3766 multiarch __ieee754_hypotf for PowerPC32.
3767
2d9470b2
AZ
37682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3769
3770 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
3771 long_double_symbol only if __logbl is defined.
3772 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
3773 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
3774 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
3775 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
3776 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
3777 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
3778 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
3779 path for implementation.
3780 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
3781 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
3782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
3783 logb, and logbl multiarch implementations for PowerPC32.
3784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
3785 file.
3786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
3787 file.
3788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
3789 multiarch logb for PowerPC32.
3790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
3791 file.
3792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
3793 file.
3794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
3795 multiarch logbf for PowerPC32.
3796 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
3797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
3798 file.
3799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
3800 multiarch logbl implementation for PowerPC32.
3801
5212ffce
AZ
38022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3803
3804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
3805 and modff multiarch implementations.
3806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
3807 New file.
3808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
3809 New file.
3810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
3811 multiarch modf for PowerPC32.
3812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
3813 New file.
3814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
3815 New file.
3816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
3817 multiarch modff for PowerPC32.
3818
79dccf31
AZ
38192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3820
3821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
3822 and lrintf multiarch implementations.
3823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
3824 New file.
3825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
3826 New file.
3827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
3828 multiarch lrint for PowerPC32.
3829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
3830 file: multiarch lrintf for PowerPC32.
3831
deb66480
AZ
38322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3833
3834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
3835 and lroundf multiarch implementations.
3836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
3837 New file.
3838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
3839 New file.
3840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
3841 New file.
3842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
3843 multiarch lround for PowerPC32.
3844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
3845 file: multiarch lroundf for PowerPC32.
3846
264b036b
AZ
38472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3848
3849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
3850 copysign and copysignf multiarch implementations.
3851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
3852 New file.
3853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
3854 New file.
3855 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
3856 file: multiarch copysign for PowerPC32.
3857 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
3858 file: multiarch copysignf for PowerPC32.
3859
d47db6c9
AZ
38602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3861
3862 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
3863 and truncf multiarch implementations.
3864 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
3865 New file.
3866 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
3867 file.
3868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
3869 multiarch trunc for PowerPC32.
3870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
3871 New file.
3872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
3873 New file.
3874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
3875 multiarch truncf for PowerPC32.
3876
ddb60b5a
AZ
38772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3878
3879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
3880 and roundf multiarch implementations.
3881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
3882 New file.
3883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
3884 file.
3885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
3886 multiarch round for PowerPC32.
3887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
3888 New file.
3889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
3890 New file.
3891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
3892 multiarch roundf for PowerPC32.
3893
bedcf49b
AZ
38942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3895
3896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
3897 and floorf multiarch implementations.
3898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
3899 New file.
3900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
3901 file.
3902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
3903 multiarch floor for PowerPC32.
3904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
3905 New file.
3906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
3907 New file.
3908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
3909 multiarch floorf for PowerPC32.
3910
35ae5b40
AZ
39112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3912
3913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
3914 and ceilf multiarch implementations.
3915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
3916 New file.
3917 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
3918 file.
3919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
3920 multiarch ceil for PowerPC32.
3921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
3922 New file.
3923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
3924 file.
3925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
3926 multiarch ceilf for PowerPC32.
3927
ae1a4cd9
AZ
39282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3929
3930 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
3931 is defined.
3932 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
3933 FINITEF is defined.
3934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
3935 and finitef multiarch implementations.
3936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
3937 New file.
3938 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
3939 file.
3940 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
3941 multiarch finite for PowerPC32.
3942 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
3943 New file.
3944 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
3945 file: multiarch finitef for PowerPC32.
3946
64fffd65
AZ
39472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3948
3949 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
3950 and isinff multiarch implementations.
3951 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
3952 file.
3953 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
3954 file.
3955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
3956 multiarch isinf for PowerPC32.
3957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
3958 New file.
3959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
3960 multiarch isinff for PowerPC32.
3961
8e4e7ba2
AZ
39622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3963
3964 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
3965 alias when __isnan is defined.
3966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
3967 and isnanf multiarch implementations.
3968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
3969 file.
3970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
3971 file.
3972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
3973 file.
3974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
3975 file.
3976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
3977 multiarch isnan for PowerPC32.
3978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
3979 New file.
3980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
3981 New file.
3982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
3983 multiarch isnanf for PowerPC32.
3984
ddba588e
AZ
39852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3986
3987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
3988 and sqrtf multiarch implementations.
3989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
3990 file.
3991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
3992 file.
3993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
3994 multiarch sqrt for PowerPC32.
3995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
3996 file.
3997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
3998 file.
3999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
4000 multiarch sqrtf for PowerPC32.
4001
0f96a2f0
AZ
40022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4003
4004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
4005 and llroundf multiarch implementations.
4006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
4007 New file.
4008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
4009 New file.
4010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
4011 New file.
4012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
4013 file: multiarch llround for PowerPC32.
4014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
4015 file: multiarch llroundf for PowerPC32.
4016
c9b5d79e
AZ
40172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4018
4019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
4020 multiarch PowerPC32 fpu implementations.
4021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
4022 New file.
4023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
4024 New file.
4025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
4026 multiarch llrint for PowerPC32.
4027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
4028 New file.
4029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
4030 New file.
4031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
4032 file.
4033
9cbb3aab
AZ
40342013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4035
4036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
4037
ea5a72f8
AZ
40382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4039
4040 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
4041 file.
4042 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
4043 file.
4044 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
4045 file.
4046 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
4047 multiarch wordcopy for PPC32.
4048 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4049 wordcopy objects.
4050 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4051 (__libc_ifunc_impl_list): Likewise.
4052 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
4053 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
4054 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
4055 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
4056 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
4057 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
4058
93be09e7
AZ
40592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4060
4061 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
4062 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
4063 file.
4064 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
4065 file.
4066 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
4067 file.
4068 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
4069 multiarch wcscpy for PPC32.
4070 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
4071 multiarch objects.
4072 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4073 (__libc_ifunc_impl_list): Likewise.
4074 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4075 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4076 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
4077 sysdeps/powerpc/power6/wcscpy.c.
4078
bb04e529
AZ
40792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4080
4081 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
4082 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
4083 file.
4084 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
4085 file.
4086 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
4087 file.
4088 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
4089 multiarch wcsrchr for PPC32.
4090 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4091 multiarch objects.
4092 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4093 (__libc_ifunc_impl_list): Likewise.
4094 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
4095 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
4096 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
4097 sysdeps/powerpc/power6/wcsrchr.c.
4098
05b5cd1c
AZ
40992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4100
4101 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
4102 file.
4103 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
4104 file.
4105 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
4106 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
4107 multiarch wcschr for PPc32.
4108 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
4109 multiarch objects.
4110 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4111 (__libc_ifunc_impl_list): Likewise.
4112 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
4113 * sysdeps/powerpc/power6/wcschr.c: ... to here.
4114 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
4115 sysdeps/powerpc/power6/wcschr.c.
4116
ba964147
AZ
41172013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4118
4119 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
4120 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
4121 file.
4122 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
4123 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
4124 file: multiarch strchr for PPC32.
4125 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
4126 multiarch objects.
4127 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4128 (__libc_ifunc_impl_list): Likewise.
4129
31c81aaa
AZ
41302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4131
4132 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
4133 name.
4134 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
4135 file.
4136 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
4137 file.
4138 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
4139 multiarch strchrnul for PPC32.
4140 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
4141 multiarch objects.
4142 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4143 (__libc_ifunc_impl_list): Likewise.
4144
0d0607d9
AZ
41452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4146
4147 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
4148 file.
4149 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
4150 multiarch strncasecmp for PPC32.
4151 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
4152 file.
4153 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
4154 multiarch strncasecmp_l for PPC32.
4155 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
4156 strncasecmp multiarch objects.
4157 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4158 (__libc_ifunc_impl_list): Likewise.
4159
4dfd5c86
AZ
41602013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4161
4162 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
4163 file.
4164 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
4165 multiarch strncasecmp for PPC32.
4166 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4167 New file.
4168 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
4169 multiarch strcasecmp_l for PPC32.
4170 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
4171 multiarch objects.
4172 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4173 (__libc_ifunc_impl_list): Likewise.
4174
a19e01a3
AZ
41752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4176
4177 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
4178 file.
4179 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
4180 file.
4181 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
4182 multiarch strncmp for PPC32.
4183 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
4184 multiarch objects.
4185 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4186 (__libc_ifunc_impl_list): Likewise.
4187
ae9cf7a2
AZ
41882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4189
4190 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
4191 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
4192 file.
4193 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
4194 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
4195 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
4196 multiarch objects.
4197 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4198 (__libc_ifunc_impl_list): Likewise.
4199
3148bb7d
AZ
42002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4201
4202 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
4203 file.
4204 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
4205 file.
4206 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
4207 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
4208 multiarch objects.
4209 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4210 (__libc_ifunc_impl_list): Likewise.
4211
7af8b946
AZ
42122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4213
4214 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
4215 file.
4216 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
4217 file.
4218 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
4219 multiarch rawmemchr for PPC32.
4220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
4221 multiarch objects.
4222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4223 (__libc_ifunc_impl_list): Likewise.
4224
03a6aa6a
AZ
42252013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4226
4227 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
4228 file.
4229 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
4230 file.
4231 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
4232 file: memrchr multiarch for PPC32.
4233 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
4234 multiarch objects.
4235 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
4236 (__libc_ifunc_impl_list): Likewise.
4237
1c62e6d9
AZ
42382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4239
4240 * string/memchr.c (__memchr): Using macro to redefine symbol name.
4241 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
4242 file.
4243 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
4244 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
4245 multiarch memchr for PPC32.
4246 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
4247 multiarch objects.
4248 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4249 (__libc_ifunc_impl_list): Likewise.
4250
87da8bdb
AZ
42512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4252
4253 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
4254 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
4255 file.
4256 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
4257 file.
4258 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
4259 file: multiarch mempcpy for PPC32.
4260 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
4261 multiarch objects.
4262 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4263 (__libc_ifunc_impl_list): Likewise.
4264
20ed4714
AZ
42652013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4266
4267 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
4268 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
4269 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
4270 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
4271 multiarch bzero for PPC32.
4272 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
4273 file.
4274 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
4275 file.
4276 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
4277 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
4278 file: multiarch memset for PPC32.
4279 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
4280 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
4281 memset multiarch objects.
4282 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4283 (__libc_ifunc_impl_list): Likewise.
4284
ab3e3a46
AZ
42852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4286
4287 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
4288 file.
4289 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
4290 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
4291 memcmp for PPC32.
4292 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
4293 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
4294 multiarch objects.
4295 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4296 (__libc_ifunc_impl_list): Likewise.
4297
930de6f0
AZ
42982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4299
4300 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
4301 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
4302 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
4303 file.
4304 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
4305 file.
4306 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
4307 file.
4308 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
4309 multiarch memcpy for PPC32.
4310 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
4311 multiarch objects.
4312 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4313 (__libc_ifunc_impl_list): Likewise.
4314
4c628e00
AZ
43152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4316
4317 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
4318 support multiarch for POWER/PPC32.
4319 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
4320 Likewise.
4321 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
4323 Implies file to make multiarch folder appers before the fpu and
4324 default folder for power4 configuration.
4325
f4479220
SP
43262013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4327
4328 * scripts/bench.pl: Append volatile keyword to type.
4329
8517800f
KK
43302013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4331
4332 * sysdeps/sh/sotruss-lib.c: New file.
4333 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
4334
180138f1
AZ
43352013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4336
4337 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4338
bbf37bdc
JM
43392013-12-05 Joseph Myers <joseph@codesourcery.com>
4340
e47cc4e0
JM
4341 [BZ #6810]
4342 * math/w_tgamma.c: Include <errno.h>.
4343 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
4344 * math/w_tgammaf.c: Include <errno.h>.
4345 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
4346 * math/w_tgammal.c: Include <errno.h>.
4347 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
4348 * math/auto-libm-test-in: Do not allow missing errno on tgamma
4349 underflow. Add more tgamma tests.
4350 * math/auto-libm-test-out: Regenerated.
4351 * sysdeps/i386/fpu/libm-test-ulps: Update.
4352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4353
bbf37bdc
JM
4354 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
4355 sin, sinh, tan, tanh, tgamma, y0 and y1.
4356 * math/auto-libm-test-out: Regenerated.
4357 * math/libm-test.inc (TEST_COND_x86_64): New macro.
4358 (TEST_COND_x86): Likewise.
4359 (M_E2l): Remove macro.
4360 (M_E3l): Likewise.
4361 (M_2_SQRT_PIl): Likewise.
4362 (M_SQRT_PIl): Likewise.
4363 (M_1_DIV_El): Likewise.
4364 (log_test_data): Use AUTO_TESTS_f_f.
4365 (log10_test_data): Likewise.
4366 (log1p_test_data): Likewise.
4367 (log2_test_data): Likewise.
4368 (sin_test_data): Likewise.
4369 (sin_tonearest_test_data): Likewise.
4370 (sin_towardzero_test_data): Likewise.
4371 (sin_downward_test_data): Likewise.
4372 (sin_upward_test_data): Likewise.
4373 (sinh_test_data): Likewise.
4374 (sinh_tonearest_test_data): Likewise.
4375 (sinh_towardzero_test_data): Likewise.
4376 (sinh_downward_test_data): Likewise.
4377 (sinh_upward_test_data): Likewise.
4378 (tan_test_data): Likewise.
4379 (tan_tonearest_test_data): Likewise.
4380 (tan_towardzero_test_data): Likewise.
4381 (tan_downward_test_data): Likewise.
4382 (tan_upward_test_data): Likewise.
4383 (tanh_test_data): Likewise.
4384 (tgamma_test_data): Likewise.
4385 (y0_test_data): Likewise.
4386 (y1_test_data): Likewise.
4387 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
4388 (special_real_inputs): Add pi/4.
4389 * sysdeps/i386/fpu/libm-test-ulps: Update.
4390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4391
eb5ad6b9
AZ
43922013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4393
4394 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
4395 "longjmp_target" static probes.
4396 (__longjmp): Rename to __longjmp_symbol.
4397 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4398 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
4399 on which longjmp to generate.
4400 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4401 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
4402 probe.
4403 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4404 (__sigjmp_save): Rename to __sigjmp_save_symbol.
4405 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4406 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
4407 and __sigjmp_save_symbol based on which sigsetjmp to generated.
4408 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
4409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
4410 __longjmp_symbol based on which __longjmp to generate.
4411 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
4412 probe.
4413 (setjmp): Rename to setjmp_symbol.
4414 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4415 (_setjmp): Rename to _setjmp_symbol.
4416 (__sigsetjmp): Rename to __sigsetjmp_symbol.
4417 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
4418 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
4419 which setjmp to generate.
4420 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
4421 "longjmp_target" static probes.
4422
d136c6dc
SP
44232013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4424
9298ecba
SP
4425 * benchtests/README: Add note about output arguments.
4426 * benchtests/bench-sincos.c: Remove file.
4427 * benchtests/sincos-inputs: New file.
4428 * scripts/bench.pl: Identify output arguments and define
4429 static variables for them.
4430
232983e9
SP
4431 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
4432
d136c6dc
SP
4433 [BZ #15941]
4434 * Makefile (INSTALL): Add install-plain.texi as the primary
4435 dependency.
4436 * manual/install-plain.texi: New file.
4437 * manual/install.texi: Include node directive only for
4438 non-plaintext output.
4439
699ff837
JM
44402013-12-04 Joseph Myers <joseph@codesourcery.com>
4441
ab07cea8
JM
4442 * stdlib/longlong.h: Update from GCC.
4443
699ff837
JM
4444 [BZ #6807]
4445 [BZ #15901]
4446 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
4447 * math/w_j0f.c (y0f): Likewise.
4448 * math/w_j0l.c (__y0l): Likewise.
4449 * math/w_j1.c (y1): Likewise.
4450 * math/w_j1f.c (y1f): Likewise.
4451 * math/w_j1l.c (__y1l): Likewise
4452 * math/w_jn.c (yn): Likewise.
4453 * math/w_jnf.c (ynf): Likewise.
4454 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
4455 Bessel function pole errors in _POSIX_ mode. Use NAN as return
4456 value for Bessel function domain errors outside _SVID_ mode.
4457 Adjust sign of return value for yn (negative integer, 0).
4458 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
4459 by zero in return for negative x and set sign appropriately for
4460 negative n.
4461 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
4462 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
4463 * math/libm-test.inc (y0_test_data): Add more tests and adjust
4464 expectations in error cases.
4465 (y1_test_data): Likewise.
4466 (yn_test_data): Likewise.
4467 * sysdeps/i386/fpu/libm-test-ulps: Update.
4468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4469
5b118558
UW
44702013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4471
4472 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
4473 "64" to "64-v1". Add "64-v2".
4474 (abi-64-options): Rename to ...
4475 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
4476 (abi-64-condition): Rename to ...
4477 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
4478 (abi-64-ld-soname): Rename to ...
4479 (abi-64-v1-ld-soname): ... this.
4480 (abi-64-v2-options): Define.
4481 (abi-64-v2-condition): Likewise.
4482 (abi-64-v2-ld-soname): Likewise.
4483 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
4484 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
4485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
4486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
4487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
4488
61cd8fe4
UW
44892013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4490 Alan Modra <amodra@gmail.com>
4491
4492 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
4493 New versions for use with the ELFv2 ABI.
4494 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
4495 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
4496 declaration.
4497 (struct La_ppc64v2_retval): Likewise.
4498 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
4499 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
4500 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
4501 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
4502 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
4503 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
4504 Do not save or restore CR.
4505 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
4506 (_dl_profile_resolve): Do no save or restore CR. Support extended
4507 return values for ELFv2 ABI. Fix location of FPR return registers.
4508 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
4509 updated values for _CALL_ELF == 2.
4510 (La_regs, La_retval, int_retval): Likewise.
4511
8b8a692c
UW
45122013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4513
4514 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
4515 (FRAME_MIN_SIZE_PARM): Likewise.
4516 (FRAME_BACKCHAIN): Likewise.
4517 (FRAME_CR_SAVE): Likewise.
4518 (FRAME_LR_SAVE): Likewise.
4519 (FRAME_TOC_SAVE): Likewise.
4520 (FRAME_PARM_SAVE): Likewise.
4521 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4522 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4523 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4524 (call_mcount_parm_offset): New macro.
4525 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
4526 (PROF): Use symbolic stack frame offsets.
4527 (TAIL_CALL_SYSCALL_ERROR): Likewise.
4528 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
4529 Redefine in terms of FRAME_MIN_SIZE.
4530 (_dl_runtime_resolve): Use symbolic stack frame offsets.
4531 (_dl_profile_resolve): Likewise. Update comment.
4532 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
4533 symbols stack frame offsets.
4534 (__sigsetjmp): Likewise.
4535 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
4536 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
4537 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
4538 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
4539
4540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
4541 (FRAME_BACKCHAIN): Remove.
4542 (FRAME_CR_SAVE): Likewise.
4543 (FRAME_LR_SAVE): Likewise.
4544 (FRAME_COMPILER_DW): Likewise.
4545 (FRAME_LINKER_DW): Likewise.
4546 (FRAME_TOC_SAVE): Likewise.
4547 (FRAME_PARM_SAVE): Likewise.
4548 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
4549 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
4550 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
4551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
4552 (CHECK_SP): Use symbolic stack frame offsets.
4553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
4554 zone" instead of caller's parameter save area for temp storage.
4555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4556 Likewise. Also, use symbolic stack frame offsets.
4557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
4558 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
4559 our own stack frame instead of the caller's.
4560 (__socket): Use symbolic stack frame offsets.
4561
122b66de
UW
45622013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4563 Alan Modra <amodra@gmail.com>
4564
4565 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
4566 Define.
4567 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
4568 PPC64_LOCAL_ENTRY_OFFSET): Define.
4569 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
4570 New function.
4571 (elf_machine_fixup_plt): Call it.
4572 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
4573 reloc arguments.
4574 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
4575 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4576 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
4577 r2 before calling target.
4578
696caf1d
UW
45792013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4580 Alan Modra <amodra@gmail.com>
4581
4582 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
4583 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
4584 versions of macros to support ELFv2 ABI.
4585 (LOCALENTRY): New macro.
4586 (ENTRY, EALIGN): Use it.
4587 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
4588 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
4589 fall through into ENTRY entry point.
4590 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
4591 Only define if _CALL_ELF != 2.
4592
4593 (elf_machine_matches_host): Verify ABI version matches.
4594 (RTLD_START): Use LOCALENTRY.
4595 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
4596 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
4597 (PLT_ENTRY_WORDS): New macro.
4598 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
4599 (elf_machine_runtime_setup): Support ELFv2 ABI.
4600 (elf_machine_fixup_plt): Likewise.
4601 (elf_machine_plt_conflict): Likewise.
4602 (resolve_ifunc): Likewise.
4603 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4604 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
4605 Likewise.
4606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
4607 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
4608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4609 (makecontext): Support ELFv2 ABI.
4610 * elf/elf.h (EF_PPC64_ABI): Define.
4611
d31beafa
UW
46122013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4613
4614 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
4615 New assembler macro.
4616 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
4617 [ASSEMBLER] (ENTRY): ... but instead here ...
4618 [ASSEMBLER] (EALIGN): ... and here.
4619 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
4620 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
4621 [!ASSEMBLER] (ENTRY_2): Use it.
4622 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
4623 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
4624 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
4625 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
4626 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
4627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
4628 Use PPC64_LOAD_FUNCPTR.
4629
b525166b
UW
46302013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4631
4632 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
4633
7ec07d9a
AM
46342013-12-04 Alan Modra <amodra@gmail.com>
4635
4636 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
4637 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
4638 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
4639 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
4640
4641 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
4642 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
4643 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
4644 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
4645 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
4646 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
4647
5162e7dd
UW
46482013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
4649
4650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
4651 (__makecontext): Fix incorrect CFI when backtracing out of
4652 context created via makecontext.
4653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
4654 (__setcontext): Fix incorrect CFI during switch to new context.
4655 (__novec_setcontext): Likewise.
4656
19e3372b
OB
46572013-12-04 Ondřej Bílka <neleai@seznam.cz>
4658
4659 [BZ #4772]
4660 * time/strptime_l.c (__strptime_internal): Allow modifiers
4661 in strptime.
4662 * time/tst-strptime.c (day_tests): Add testcase.
4663
4664
ecaf142d
SP
46652013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4666
4667 * scripts/bench.pl: Skip over blank lines.
4668
fbf964ae
PE
46692013-12-04 Paul Eggert <eggert@cs.ucla.edu>
4670
4671 [BZ #926]
4672 * manual/time.texi (Calendar Time): Clarify what timezone functions
4673 use.
4674
fa60a674
AZ
46752013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4676
4677 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4678
d674f0ef
OB
46792013-12-04 Ondřej Bílka <neleai@seznam.cz>
4680
4681 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
4682 implementation.
4683 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
4684 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
4685 * debug/memset_chk.c (__memset_chk): Likewise.
4686 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
4687 * debug/strncpy_chk.c: Likewise.
4688
17dea188
JM
46892013-12-03 Joseph Myers <joseph@codesourcery.com>
4690
749008ff
JM
4691 [BZ #15268]
4692 [BZ #15425]
4693 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
4694 (__ieee754_exp): For possibly underflowing results, check size of
4695 result and force underflow exception if required.
4696 * math/auto-libm-test-in: Add more tests of exp.
4697 * math/auto-libm-test-out: Regenerated.
4698 * sysdeps/i386/fpu/libm-test-ulps: Update.
4699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4700
17dea188
JM
4701 [BZ #16283]
4702 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
4703 * math/w_exp2f.c (__exp2f): Likewise.
4704 * math/w_exp2l.c (__exp2l): Likewise.
4705 * math/auto-libm-test-in: Do not allow missing errno on exp2
4706 underflow.
4707 * math/auto-libm-test-out: Regenerated.
4708
b20de2c3
OB
47092013-12-03 Ondřej Bílka <neleai@seznam.cz>
4710
4711 [BZ #16274]
4712 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
4713 handle filename validation.
4714 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
4715 (do_open): Delete.
4716
d8e2dbe3
JM
47172013-12-03 Joseph Myers <joseph@codesourcery.com>
4718
34e16df5
JM
4719 [BZ #6786]
4720 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
4721 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
4722 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
4723 <float.h>.
4724 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
4725 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
4726 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4727 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
4728 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4729 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
4730 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
4731 * math/auto-libm-test-in: Don't allow missing errno from erfc.
4732 Add more erfc tests.
4733 * math/auto-libm-test-out: Regenerated.
4734 * sysdeps/i386/fpu/libm-test-ulps: Update.
4735 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4736
d8e2dbe3
JM
4737 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
4738 exp2, expm1, j0 and j1.
4739 * math/auto-libm-test-out: Regenerated.
4740 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
4741 (erfc_test_data): Likewise.
4742 (exp_test_data): Likewise.
4743 (exp_tonearest_test_data): Likewise.
4744 (exp_towardzero_test_data): Likewise.
4745 (exp_downward_test_data): Likewise.
4746 (exp_upward_test_data): Likewise.
4747 (exp10_test_data): Likewise.
4748 (exp2_test_data): Likewise.
4749 (expm1_test_data): Likewise.
4750 (j0_test_data): Likewise.
4751 (j1_test_data): Likewise.
4752 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
4753 (input_flag_type): Add flag_xfail_rounding.
4754 (input_flags): Add xfail-rounding.
4755 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
4756 (output_for_one_input_case): Handle flag_xfail_rounding.
4757 * sysdeps/i386/fpu/libm-test-ulps: Update.
4758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4759
18d14251
AJ
47602013-12-03 Aurelien Jarno <aurelien@aurel32.net>
4761
3d2e6075 4762 [BZ #16289]
18d14251
AJ
4763 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
4764 division by 0.
4765
520d437b
SP
47662013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4767
4768 [BZ #16195]
4769 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
4770 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
4771 (STAP_PROBE0): New macro.
4772 (STAP_PROBE1): Likewise.
4773 (STAP_PROBE2): Likewise.
4774 (STAP_PROBE3): Likewise.
4775 (STAP_PROBE4): Likewise.
4776
416e0145
OB
47772013-12-02 Ondřej Bílka <neleai@seznam.cz>
4778
4779 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
4780
9d17796a
SE
47812013-12-02 Steve Ellcey <sellcey@mips.com>
4782
4783 * benchtests/Makefile (bench): Add sqrt.
4784 (LDLIBS-bench-sqrt): New.
4785 * benchtests/sqrt-input: New.
4786
f524d6a8
PS
47872013-12-02 Pavel Simerda <psimerda@redhat.com>
4788
639a0ef8
PS
4789 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
4790 (GAIH_EAI): Likewise.
4791 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
4792 (gaih_inet): Likewise.
4793 (getaddrinfo): Don't use GAIH_EAI.
4794
f524d6a8
PS
4795 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
4796 (struct gaih): Remove definition.
4797
df3aedaf
SP
47982013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4799
4800 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
4801 Use HERRNOP directly.
4802
1ab19dec
AZ
48032013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4804
b42ad38d 4805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 4806
176b0c79
JM
48072013-11-30 Joseph Myers <joseph@codesourcery.com>
4808
4809 * math/gen-auto-libm-tests.c (test_functions): Add more
4810 single-argument functions.
4811 (special_fill_pi_2): New function.
4812 (special_fill_minus_pi_2): Likewise.
4813 (special_fill_pi_6): Likewise.
4814 (special_fill_minus_pi_6): Likewise.
4815 (special_fill_pi_3): Likewise.
4816 (special_fill_2pi_3): Likewise.
4817 (special_fill_e): Likewise.
4818 (special_fill_1_e): Likewise.
4819 (special_fill_e_minus_1): Likewise.
4820 (special_real_inputs): Add more special inputs.
4821 (output_for_one_input_case): Do not require ERANGE on underflow to
4822 zero if round-to-nearest result does not underflow to zero, unless
4823 exact results required.
4824 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
4825 atan, atanh, cbrt, cos and cosh.
4826 * math/auto-libm-test-out: Regenerated.
4827 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
4828 (acos_tonearest_test_data): Likewise.
4829 (acos_towardzero_test_data): Likewise.
4830 (acos_downward_test_data): Likewise.
4831 (acos_upward_test_data): Likewise.
4832 (acosh_test_data): Likewise.
4833 (asin_test_data): Likewise.
4834 (asin_tonearest_test_data): Likewise.
4835 (asin_towardzero_test_data): Likewise.
4836 (asin_upward_test_data): Likewise.
4837 (asinh_test_data): Likewise.
4838 (atan_test_data): Likewise.
4839 (atanh_test_data): Likewise.
4840 (cbrt_test_data): Likewise.
4841 (cos_test_data): Likewise.
4842 (cos_tonearest_test_data): Likewise.
4843 (cos_towardzero_test_data): Likewise.
4844 (cos_downward_test_data): Likewise.
4845 (cos_upward_test_data): Likewise.
4846 (cosh_test_data): Likewise.
4847 (cosh_tonearest_test_data): Likewise.
4848 (cosh_towardzero_test_data): Likewise.
4849 (cosh_downward_test_data): Likewise.
4850 (cosh_upward_test_data): Likewise.
4851 * sysdeps/i386/fpu/libm-test-ulps: Update.
4852 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4853
ffb536d0
JM
48542013-11-29 Joseph Myers <joseph@codesourcery.com>
4855
2a77a467
JM
4856 [BZ #6787]
4857 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
4858 * math/w_exp10f.c (__exp10f): Likewise.
4859 * math/w_exp10l.c (__exp10l): Likewise.
4860 * math/libm-test.inc (exp10_test_data): Add more tests and expect
4861 errno settings in existing tests.
4862
ea3bc4e8
JM
4863 [BZ #14032]
4864 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
4865 precision control set to double precision.
4866 * sysdeps/i386/fpu/w_sqrt.c: New file.
4867 * math/auto-libm-test-in: Add more tests.
4868 * math/auto-libm-test-out: Update.
4869
0712c9d8
JM
4870 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
4871 (sqrt_test_tonearest): New function.
4872 (sqrt_towardzero_test_data): New variable.
4873 (sqrt_test_towardzero): New function.
4874 (sqrt_downward_test_data): New variable.
4875 (sqrt_test_downward): New function.
4876 (sqrt_upward_test_data): New variable.
4877 (sqrt_test_upward): New function.
4878 (main): Call the new functions.
4879
ffb536d0
JM
4880 * math/gen-auto-libm-tests.c: New file.
4881 * math/auto-libm-test-in: Likewise.
4882 * math/auto-libm-test-out: New generated file.
4883 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
4884 variables.
4885 (%beautify): Add generated representations of zero.
4886 (top level): Set $auto_input and call parse_auto_input.
4887 (beautify): Remove trailing "f" from hex float constants.
4888 (parse_args): Handle XFAIL_TEST.
4889 (convert_condition): New function.
4890 (or_value): Likewise.
4891 (or_cond_value): Likewise.
4892 (generate_testfile): Handle AUTO_TESTS_* lines.
4893 (parse_auto_input): New function.
4894 * math/libm-test.inc (XFAIL_TEST): New macro.
4895 (ERRNO_UNCHANGED): Update value.
4896 (ERRNO_EDOM): Likewise.
4897 (ERRNO_ERANGE): Likewise.
4898 (IGNORE_RESULT): Likewise.
4899 (TEST_COND_flt_32): New macro.
4900 (TEST_COND_dbl_64): Likewise.
4901 (TEST_COND_ldbl_96_intel): Likewise.
4902 (TEST_COND_ldbl_96_m68k): Likewise.
4903 (TEST_COND_ldbl_128): Likewise.
4904 (TEST_COND_ldbl_128ibm): Likewise.
4905 (TEST_COND_long32): Likewise.
4906 (TEST_COND_long64): Likewise.
4907 (TEST_COND_before_rounding): Likewise.
4908 (TEST_COND_after_rounding): Likewise.
4909 (enable_test): Handle XFAIL_TEST flag.
4910 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
4911 with finite results.
4912 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
4913 auto-libm-test-out.
4914
acd98a8e
AK
49152013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4916 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4917
4918 [BZ #16214]
4919 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
4920 __tls_get_addr_internal instead of __tls_get_offset in order to
4921 avoid GOT pointer dependency. Make rtld export
4922 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
4923 __tls_get_addr since we are a __tls_get_offset platform.
4924 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
4925 GOT pointer being set up before.
4926 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
4927
3c1c46a6
JM
49282013-11-28 Joseph Myers <joseph@codesourcery.com>
4929
7475aef5
JM
4930 * manual/math.texi (Errors in Math Functions): Document accuracy
4931 goals.
4932
8bca7cd8
JM
4933 [BZ #15004]
4934 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
4935 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
4936 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4937 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4938 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4939 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4940 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4941 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4942 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4943 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4944 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4945 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4946 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4947 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4948 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4949 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4950
91a1f3fe
JM
4951 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
4952 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
4953 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
4954 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
4955 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
4956 Likewise.
4957 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
4958 Likewise.
4959 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
4960 Likewise.
4961 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
4962 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
4963 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
4964 atomic-feupdateenv and flt-rounds.
4965 * sysdeps/powerpc/nofpu/Versions (libc): Add
4966 __atomic_feholdexcept, __atomic_feclearexcept,
4967 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
4968 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
4969 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
4970 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
4971 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
4972 here.
4973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
4974 Update.
4975
c5df7609
JM
4976 * manual/arith.texi (FP Exceptions): Document that exceptions may
4977 not be raised when matherr is used.
4978 (Math Error Reporting): Document overflow in directed rounding
4979 modes. Document that errno may not be set when finite values are
4980 returned on overflow. Document intent to set errno on underflow
4981 only for underflow to zero.
4982
3c1c46a6
JM
4983 [BZ #16271]
4984 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
4985 round-to-nearest then adjust result for other rounding modes.
4986 * include/fenv.h (fegetround): Use libm_hidden_proto.
4987 * math/fegetround.c (fegetround): Use libm_hidden_def.
4988 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
4989 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
4990 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
4991 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
4992 Likewise.
4993 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
4994 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
4995 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
4996 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
4997
5a4c6d53
SP
49982013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4999
5000 [BZ #16077]
5001 * nss/Versions (libnss_files): Add
5002 _nss_files_gethostbyname3_r.
5003 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
5004 New function.
5005 (HOST_DB_LOOKUP): Remove macro.
5006 (_nss_files_gethostbyname_r): Implement function without the
5007 HOST_DB_LOOKUP macro.
5008 (_nss_files_gethostbyname2_r): Likewise.
5009
897b98ba
OB
50102013-11-28 Ondřej Bílka <neleai@seznam.cz>
5011
5012 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
5013
6f476861
UB
50142013-11-26 Uros Bizjak <ubizjak@gmail.com>
5015
5016 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
5017 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
5018 warning.
5019
bd12ab55
AZ
50202013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5021
5022 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
5023 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
5024 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
5025 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5026 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
5027 __fe_nomask_env_priv and attribute_hidden.
5028 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
5029 (libc_feupdateenv_test_ppc): Likewise.
5030 (libc_feresetround_ppc): Likewise.
5031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5032 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
5033 compat_symbol macro.
5034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5035 (__fe_nomask_env): Likewise.
5036 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
5037
52bb6543
OB
50382013-11-26 Ondřej Bílka <neleai@seznam.cz>
5039
5040 * string/Makefile: Remove ifunc tests.
5041 * string/test-string.h: Define TEST_IFUNC.
5042 * string/test-bcopy-ifunc.c: Remove.
5043 * string/test-bzero-ifunc.c: Likewise.
5044 * string/test-memccpy-ifunc.c: Likewise.
5045 * string/test-memchr-ifunc.c: Likewise.
5046 * string/test-memcmp-ifunc.c: Likewise.
5047 * string/test-memcpy-ifunc.c: Likewise.
5048 * string/test-memmem-ifunc.c: Likewise.
5049 * string/test-memmove-ifunc.c: Likewise.
5050 * string/test-mempcpy-ifunc.c: Likewise.
5051 * string/test-memrchr-ifunc.c: Likewise.
5052 * string/test-memset-ifunc.c: Likewise.
5053 * string/test-rawmemchr-ifunc.c: Likewise.
5054 * string/test-stpcpy-ifunc.c: Likewise.
5055 * string/test-stpncpy-ifunc.c: Likewise.
5056 * string/test-strcasecmp-ifunc.c: Likewise.
5057 * string/test-strcasestr-ifunc.c: Likewise.
5058 * string/test-strcat-ifunc.c: Likewise.
5059 * string/test-strchr-ifunc.c: Likewise.
5060 * string/test-strchrnul-ifunc.c: Likewise.
5061 * string/test-strcmp-ifunc.c: Likewise.
5062 * string/test-strcpy-ifunc.c: Likewise.
5063 * string/test-strcspn-ifunc.c: Likewise.
5064 * string/test-strlen-ifunc.c: Likewise.
5065 * string/test-strncasecmp-ifunc.c: Likewise.
5066 * string/test-strncat-ifunc.c: Likewise.
5067 * string/test-strncmp-ifunc.c: Likewise.
5068 * string/test-strncpy-ifunc.c: Likewise.
5069 * string/test-strnlen-ifunc.c: Likewise.
5070 * string/test-strpbrk-ifunc.c: Likewise.
5071 * string/test-strrchr-ifunc.c: Likewise.
5072 * string/test-strspn-ifunc.c: Likewise.
5073 * string/test-strstr-ifunc.c: Likewise.
5074
ab260039 50752013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
5076
5077 * benchtests/Makefile: Remove ifunc tests.
5078 * benchtests/bench-string.h: Define TEST_IFUNC.
5079 * benchtests/bench-bcopy-ifunc.c: Remove.
5080 * benchtests/bench-bzero-ifunc.c: Likewise.
5081 * benchtests/bench-memccpy-ifunc.c: Likewise.
5082 * benchtests/bench-memchr-ifunc.c: Likewise.
5083 * benchtests/bench-memcmp-ifunc.c: Likewise.
5084 * benchtests/bench-memcpy-ifunc.c: Likewise.
5085 * benchtests/bench-memmem-ifunc.c: Likewise.
5086 * benchtests/bench-memmove-ifunc.c: Likewise.
5087 * benchtests/bench-mempcpy-ifunc.c: Likewise.
5088 * benchtests/bench-memrchr-ifunc.c: Likewise.
5089 * benchtests/bench-memset-ifunc.c: Likewise.
5090 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
5091 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
5092 * benchtests/bench-stpcpy-ifunc.c: Likewise.
5093 * benchtests/bench-stpncpy-ifunc.c: Likewise.
5094 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
5095 * benchtests/bench-strcasestr-ifunc.c: Likewise.
5096 * benchtests/bench-strcat-ifunc.c: Likewise.
5097 * benchtests/bench-strchr-ifunc.c: Likewise.
5098 * benchtests/bench-strchrnul-ifunc.c: Likewise.
5099 * benchtests/bench-strcmp-ifunc.c: Likewise.
5100 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
5101 * benchtests/bench-strcpy-ifunc.c: Likewise.
5102 * benchtests/bench-strcspn-ifunc.c: Likewise.
5103 * benchtests/bench-strlen-ifunc.c: Likewise.
5104 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
5105 * benchtests/bench-strncat-ifunc.c: Likewise.
5106 * benchtests/bench-strncmp-ifunc.c: Likewise.
5107 * benchtests/bench-strncpy-ifunc.c: Likewise.
5108 * benchtests/bench-strnlen-ifunc.c: Likewise.
5109 * benchtests/bench-strpbrk-ifunc.c: Likewise.
5110 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 5111 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
5112 * benchtests/bench-strspn-ifunc.c: Likewise.
5113 * benchtests/bench-strstr-ifunc.c: Likewise.
5114
51152013-11-26 Ondřej Bílka <neleai@seznam.cz>
5116
ab260039
OB
5117 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
5118
d1d9eaf4 51192013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 5120
d1d9eaf4
OB
5121 * resolv/netdb.h: Use __glibc_reserved instead __unused.
5122 * rt/aio.h: Likewise.
5123 * sysdeps/gnu/bits/utmp.h: Likewise.
5124 * sysdeps/gnu/bits/utmpx.h: Likewise.
5125 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
5126 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
5127 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
5128 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
5129 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
5130 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
5131 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
5132 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
5133 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
5134 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
5135 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
5136 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
5137 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
5138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
5139 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5140 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
5141 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
5142 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
5143 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
5144 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
5145 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
5146 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
5147 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
5148 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
5149 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
5150 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
5151 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
5152 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
5153 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
5154 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
5155 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
5156 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
5157 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
5158 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5159 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
5160 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
5161 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
5162 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
5163 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
5164 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
5165 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
5166 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
5167
a7624ed9
CD
51682013-11-25 Carlos O'Donell <carlos@redhat.com>
5169
5170 [BZ #16245]
5171 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
5172 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
5173
63cfe52b
JM
51742013-11-25 Joseph Myers <joseph@codesourcery.com>
5175
5176 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
5177 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
5178 Likewise.
5179
41e8926a
AZ
51802013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5181
5182 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
5183 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
5184 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
5185 (__fesetround): Remove define.
5186 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
5187 rounding and exceptions handling.
5188 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
5189 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
5190 (__fe_nomask_env): Likewise.
5191 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
5192 __fegetround instead of fegetround.
5193 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5194 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
5195
6851bd4d
RM
51962013-11-21 Roland McGrath <roland@hack.frob.com>
5197
070906ff
RM
5198 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
5199 it's there.
5200
6851bd4d
RM
5201 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
5202
84ae135d
MI
52032013-11-21 Meador Inge <meadori@codesourcery.com>
5204
5205 [BZ #11157]
5206 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
5207 (encrypt_r): Likewise.
5208 * malloc/obstack.h (obstack_free): Likewise.
5209 * posix/unistd.h (encrypt): Likewise.
5210
daf75146
GM
52112013-11-21 Guy Martin <gmsoft@tuxicoman.be>
5212
5213 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
5214 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
5215 DL_CALL_DT_FINI() that call the functions directly.
5216 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
5217 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
5218 * elf/dl-fini.c: Likewise.
5219
10ad46bc
OB
52202013-11-20 Ondřej Bílka <neleai@seznam.cz>
5221
5222 * malloc/hooks.c (memalign_check): Add alignment rounding.
5223 * malloc/malloc.c (_mid_memalign): New function.
5224 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
5225 Implement by calling _mid_memalign.
5226 * manual/probes.texi (Memory Allocation Probes): Remove
5227 memory_valloc_retry and memory_pvalloc_retry.
5228
f3fd2628
SP
52292013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5230
4712799f
SP
5231 * locale/programs/locarchive.c (open_archive): Add const
5232 qualifier to ARCHIVEFNAME and copy default fname to
5233 DEFAULT_FNAME.
5234
0417b20f
SP
5235 [BZ #15601]
5236 * libio/tst-widetext.input: Rename Oriya to Odia.
5237 * locale/iso-639.def: Likewise.
5238
f3fd2628
SP
5239 * manual/probes.texi (Mathematical Function Probes): Add
5240 documentation for sin, cos, asin and acos probes.
5241 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
5242 (__sin32): Add slowasin probe.
5243 (__cos32): Add slowacos probe.
5244 (__mpsin): Add slowsin probe.
5245 (__mpcos): Add slowcos probe.
5246
73c1ce4f
JM
52472013-11-19 Joseph Myers <joseph@codesourcery.com>
5248
5249 [BZ #15483]
5250 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
5251 thread-local __sim_exceptions_thread and global
5252 __sim_exceptions_global.
5253 (__sim_disabled_exceptions): Change to thread-local
5254 __sim_disabled_exceptions_thread and global
5255 __sim_disabled_exceptions_global.
5256 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5257 and global __sim_round_mode_global.
5258 (__simulate_exceptions): Use thread-local floating-point state and
5259 set global state from it as needed.
5260 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
5261 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
5262 __sim_round_mode_thread.
5263 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
5264 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
5265 and global __sim_exceptions_global.
5266 (__sim_disabled_exceptions): Change to thread-local
5267 __sim_disabled_exceptions_thread and global
5268 __sim_disabled_exceptions_global.
5269 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
5270 and global __sim_round_mode_global.
5271 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
5272 (SIM_SET_GLOBAL): Likewise.
5273 * sysdeps/powerpc/soft-fp/sfp-machine.h
5274 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
5275 __sim_round_mode_thread.
5276 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
5277 __sim_disabled_exceptions_thread.
5278 (__sim_exceptions): Change to __sim_exceptions_thread.
5279 (__sim_disabled_exceptions): Change to
5280 __sim_disabled_exceptions_thread.
5281 (__sim_round_mode): Change to __sim_round_mode_thread.
5282 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
5283 thread-local floating-point state and set global state from it as
5284 needed.
5285 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
5286 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
5287 (__sim_disabled_exceptions): Remove extern declaration.
5288 (feenableexcept): Use thread-local floating-point state and set
5289 global state from it as needed.
5290 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
5291 extern declaration.
5292 (__sim_disabled_exceptions): Likewise.
5293 (__sim_round_mode): Likewise.
5294 (__fegetenv): Use thread-local floating-point state.
5295 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
5296 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
5297 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
5298 floating-point state and set global state from it as needed.
5299 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
5300 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5301 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
5302 Likewise.
5303 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
5304 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
5305 Likewise.
5306 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
5307 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
5308 Use __sim_round_mode_thread.
5309 * math/test-fenv-tls.c: New file.
5310 * math/Makefile (tests): Add test-fenv-tls.
5311 ($(objpfx)test-fenv-tls): Depend on
5312 $(common-objpfx)nptl/libpthread.so.
5313
b5449b12
AS
53142013-11-19 Andreas Schwab <schwab@suse.de>
5315
5316 * locale/programs/locale.c (show_info): Decode wordarray elements.
5317 * locale/categories.def (LC_MONETARY): Add element for
5318 _NL_MONETARY_CRNCYSTR.
5319 * locale/C-monetary.c (conversion_rate): New variable.
5320 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
5321 element.
5322
e186536b
CM
53232013-11-18 Chris Metcalf <cmetcalf@tilera.com>
5324
5325 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
5326 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
5327
5c349950
PP
53282013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
5329
5330 * elf/Makefile (tst-auxv): New test.
5331 * elf/tst-auxv.c: New
5332 * elf/rtld.c (dl_main): Adjust AT_EXECFN
5333
699df45b
JM
53342013-11-18 Joseph Myers <joseph@codesourcery.com>
5335
5336 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
5337 (hidden_proto): Caller changed.
5338 (hidden_tls_proto): New macro.
5339 (libc_hidden_tls_proto): Likewise.
5340 (rtld_hidden_tls_proto): Likewise.
5341 (libm_hidden_tls_proto): Likewise.
5342 (libresolv_hidden_tls_proto): Likewise.
5343 (librt_hidden_tls_proto): Likewise.
5344 (libdl_hidden_tls_proto): Likewise.
5345 (libnss_files_hidden_tls_proto): Likewise.
5346 (libnsl_hidden_tls_proto): Likewise.
5347 (libnss_nisplus_hidden_tls_proto): Likewise.
5348 (libutil_hidden_tls_proto): Likewise.
5349
b7589107
OB
53502013-11-18 Ondřej Bílka <neleai@seznam.cz>
5351
5352 [BZ #10253]
5353 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
5354 (decompose_rpath): Defer expansion to fillin_rpath.
5355 (_dl_init_paths): Pass linkmap to fillin_rpath.
5356
250c23bd
RS
53572013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5358
5359 * benchtests/Makefile: Add strsep.
5360 * benchtests/bench-strsep.c: New file: strsep benchtest.
5361 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
5362
a7931fcf
AS
53632013-11-18 Andreas Schwab <schwab@suse.de>
5364
5365 * locale/programs/locale.c (show_info) [case byte]: Check for
5366 '\377' instead of '\177'.
5367 * locale/C-monetary.c (not_available): Always use "\377".
5368 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
5369 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
5370 detect unavailable sign_posn locale elements.
5371 * locale/localeconv.c (__localeconv): For grouping and
5372 mon_grouping handle "\177" and "\377" like no grouping.
5373 (INT_ELEM): New macro. Use it to set all numeric members.
5374 * locale/programs/ld-monetary.c (monetary_read)
5375 <tok_mon_grouping>: Normalize single -1 to the empty string.
5376 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
5377 Likewise.
5378
728dab0e
OB
53792013-11-07 Ondřej Bílka <neleai@seznam.cz>
5380
5381 [BZ #16055]
5382 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
5383 when we match (nil).
5384 * stdio-common/tst-sscanf.c (struct test): Add testcase.
5385
66294491
JM
53862013-11-16 Joseph Myers <joseph@codesourcery.com>
5387
ce665817
JM
5388 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
5389 (NO_TEST_INLINE): Update value.
5390 (ERRNO_UNCHANGED): Likewise.
5391 (ERRNO_EDOM): Likewise.
5392 (ERRNO_ERANGE): Likewise.
5393 (IGNORE_RESULT): Likewise.
5394 (check_float_internal): Check signs of NaN results if
5395 TEST_NAN_SIGN used.
5396 (check_complex): Pass TEST_NAN_SIGN flag through to second
5397 check_float_internal call.
5398 (copysign_test_data): Add tests with quiet NaNs as second
5399 argument. Use TEST_NAN_SIGN.
5400 (fabs_test_data): Add test of negative quiet NaN argument. Use
5401 TEST_NAN_SIGN.
5402 (signbit_test_data): Add tests of quiet NaN argument.
5403 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
5404
ee1466a9
JM
5405 * math/gen-libm-test.pl (show_exceptions): Take extra argument
5406 $ignore_result.
5407 (parse_args): Handle function results specified as IGNORE.
5408 * math/libm-test.inc (IGNORE_RESULT): New macro.
5409 (check_float_internal): Do not check numerical result if flag
5410 IGNORE_RESULT set.
5411 (check_complex): Pass through IGNORE_RESULT to second
5412 check_float_internal call.
5413 (check_int): Do not check numerical result if flag IGNORE_RESULT
5414 set.
5415 (check_long): Likewise.
5416 (check_bool): Likewise.
5417 (check_longlong): Likewise.
5418 (lrint_test_data): Add tests of infinite and NaN arguments.
5419 (lrint_tonearest_test_data): Likewise.
5420 (lrint_towardzero_test_data): Likewise.
5421 (lrint_downward_test_data): Likewise.
5422 (lrint_upward_test_data): Likewise.
5423 (llrint_test_data): Likewise.
5424 (llrint_tonearest_test_data): Likewise.
5425 (llrint_towardzero_test_data): Likewise.
5426 (llrint_downward_test_data): Likewise.
5427 (llrint_upward_test_data): Likewise.
5428 (lround_test_data): Likewise.
5429 (llround_test_data): Likewise.
5430
14407b7e
JM
5431 * math/libm-test.inc (NO_TEST_INLINE): New macro.
5432 (ERRNO_UNCHANGED): Update value.
5433 (ERRNO_EDOM): Likewise.
5434 (ERRNO_ERANGE): Likewise.
5435 (NO_TEST_INLINE_FLOAT): New macro.
5436 (NO_TEST_INLINE_DOUBLE): Likewise.
5437 (enable_test): New function.
5438 (RUN_TEST_f_f): Check enable_test before running test.
5439 (RUN_TEST_2_f): Likewise.
5440 (RUN_TEST_fff_f): Likewise.
5441 (RUN_TEST_c_f): Likewise.
5442 (RUN_TEST_f_f1): Likewise.
5443 (RUN_TEST_fF_f1): Likewise.
5444 (RUN_TEST_fI_f1): Likewise.
5445 (RUN_TEST_ffI_f1): Likewise.
5446 (RUN_TEST_c_c): Likewise.
5447 (RUN_TEST_cc_c): Likewise.
5448 (RUN_TEST_f_i): Likewise.
5449 (RUN_TEST_f_i_tg): Likewise.
5450 (RUN_TEST_ff_i_tg): Likewise.
5451 (RUN_TEST_f_b): Likewise.
5452 (RUN_TEST_f_b_tg): Likewise.
5453 (RUN_TEST_f_l): Likewise.
5454 (RUN_TEST_f_L): Likewise.
5455 (RUN_TEST_fFF_11): Likewise.
5456 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
5457 conditionals.
5458 (cosh_test_data): Likewise.
5459 (exp_test_data): Likewise.
5460 (expm1_test_data): Likewise.
5461 (hypot_test_data): Likewise.
5462 (pow_test_data): Likewise.
5463 (sinh_test_data): Likewise.
5464 (tanh_test_data): Likewise.
5465 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
5466 flags argument.
5467
ca07f197
JM
5468 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
5469 tests with quiet NaN input and output.
5470 (acosh_test_data): Likewise.
5471 (asin_test_data): Likewise.
5472 (asinh_test_data): Likewise.
5473 (atan_test_data): Likewise.
5474 (atanh_test_data): Likewise.
5475 (atan2_test_data): Likewise.
5476 (cbrt_test_data): Likewise.
5477 (cos_test_data): Likewise.
5478 (cosh_test_data): Likewise.
5479 (erf_test_data): Likewise.
5480 (erfc_test_data): Likewise.
5481 (exp_test_data): Likewise.
5482 (exp10_test_data): Likewise.
5483 (exp2_test_data): Likewise.
5484 (expm1_test_data): Likewise.
5485 (hypot_test_data): Likewise.
5486 (j0_test_data): Likewise.
5487 (j1_test_data): Likewise.
5488 (jn_test_data): Likewise.
5489 (lgamma_test_data): Likewise.
5490 (log_test_data): Likewise.
5491 (log10_test_data): Likewise.
5492 (log1p_test_data): Likewise.
5493 (log2_test_data): Likewise.
5494 (pow_test_data): Likewise.
5495 (scalb_test_data): Likewise.
5496 (sin_test_data): Likewise.
5497 (sincos_test_data): Likewise.
5498 (sinh_test_data): Likewise.
5499 (tan_test_data): Likewise.
5500 (tanh_test_data): Likewise.
5501 (tgamma_test_data): Likewise.
5502 (y0_test_data): Likewise.
5503 (y1_test_data): Likewise.
5504 (yn_test_data): Likewise.
5505
66294491
JM
5506 [BZ #16167]
5507 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5508 argument being NaN and avoid computations with second argument in
5509 that case.
5510 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
5511 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
5512 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
5513
1820b143
CL
55142013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
5515
5516 * locale/iso-639.def: Add Chitwani Tharu (the).
5517
714bd261
AS
55182013-11-14 Andreas Schwab <schwab@suse.de>
5519
5520 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
5521 word instead of empty string.
5522
7ab44563
AZ
55232013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5524
5525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5526 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5528 (__fe_nomask_env): Likewise.
5529
e8470ea2
SE
55302013-11-13 Steve Ellcey <sellcey@mips.com>
5531
5532 * benchtests/bench-timing.h: Include time.h.
5533
17c1d9f0
L
55342013-11-13 H.J. Lu <hongjiu.lu@intel.com>
5535
5536 [BZ #15997]
5537 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
5538 to 3.4.0 for x32.
5539 * sysdeps/unix/sysv/linux/configure: Regenerated.
5540
9310c284
JM
55412013-11-13 Joseph Myers <joseph@codesourcery.com>
5542
5543 [BZ #16151]
5544 * stdlib/strtod_l.c (round_and_return): Do not consider
5545 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
5546 exponent one less than half the least subnormal exponent.
5547 * stdlib/test-strtod-round-data: Add more tests.
5548 * stdlib/tst-strtod-round.c (tests): Regenerated.
5549
7a2ad8cf
AZ
55502013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5551
5552 [BZ #14143]
5553 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
5554 (__fe_mask_env): Likewise.
5555 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
5556 libm_hidden_proto and add function prototype.
5557 (__fe_mask_env): Add function prototype.
5558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
5559 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
5560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
5561 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
5562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
5563 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
5564
50727aa7
MS
55652013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5566
b2f386c1 5567 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
5568 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
5569
a615be46
MS
55702013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5571
5572 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
5573 of htab_find_slot().
5574
7ddace62
DM
55752013-11-11 David S. Miller <davem@davemloft.net>
5576
5577 [BZ #16150]
5578 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
5579 symbol in the non-vis3 case in static builds.
5580 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
5581 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
5582 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
5583 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
5584
9182aa67
JK
55852013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
5586
5587 [BZ #387]
5588 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
5589 it is empty.
5590
450a2e2d
AZ
55912013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5592
b2f386c1
SP
5593 * benchtests/Makefile: Add bench-strtod.
5594 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 5595
8ec3f656
AS
55962013-11-11 Andreas Schwab <schwab@suse.de>
5597
5598 [BZ #16153]
5599 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
5600 terminating NUL in key length.
5601
76a9b998
AZ
56022013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5603
5604 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
5605 Add artificial ODP entry for vDSO symbol for PPC64.
5606 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
5607 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
5608
e4368156
OB
56092013-11-07 Ondřej Bílka <neleai@seznam.cz>
5610
5611 [BZ #15374]
5612 * nss/getent.c (services_keys): Recognize services starting with digit.
5613
8d6bb57c
DM
56142013-11-06 David S. Miller <davem@davemloft.net>
5615
5616 [BZ #15985]
5617 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
5618 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
5619
e256c421
WN
56202013-11-06 Will Newton <will.newton@linaro.org>
5621
5622 * manual/memory.texi (Malloc Examples): Remove register
5623 keyword from examples.
5624
f6e12daa 56252013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 5626
f6e12daa 5627 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 5628
9d880655
AS
56292013-11-04 Joseph Myers <joseph@codesourcery.com>
5630
fd2f9486 5631 [BZ #6981]
9d880655
AS
5632 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
5633 depending on [__GCC_IEC_559 > 0].
5634 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
5635 depending on [__GCC_IEC_559_COMPLEX > 0].
5636
ae129d3c
CL
56372013-11-03 Chris Leonard <cjl@sugarlabs.org>
5638
5639 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
5640 to iso-639.def.
5641
4a15c2a4 56422013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
5643
5644 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
5645
8b35e35d
OB
56462013-11-01 Ondřej Bílka <neleai@seznam.cz>
5647
5648 [BZ #16112]
5649 * malloc/malloc (malloc_info): Do not handle first bin as
5650 special case.
5651
1d70fd6c
CL
56522013-11-01 Chris Leonard <cjl@sugarlabs.org>
5653
5654 * locale/iso-639.def: Add Central Nahuatl (nhn).
5655
8c5c2600
BH
56562013-11-01 Bruno Haible <bruno@clisp.org>
5657
5658 [BZ #7003]
5659 * manual/math.texi (BSD Random): Specify range upper bound as
5660 in POSIX.
5661
da5579c2
CL
56622013-10-31 Chris Leonard <cjl@sugarlabs.org>
5663
5664 * locale/iso-639.def: Add Meadow Mari (mhr).
5665
5d30d853
OB
56662013-10-31 Ondřej Bílka <neleai@seznam.cz>
5667
5668 [BZ #14752], [BZ #15763]
5669 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
5670 Validate name.
5671 * rt/tst_shm.c: Add test for escaping directory.
5672
a4966c61
AS
56732013-10-31 Andreas Schwab <schwab@suse.de>
5674
8a43e768 5675 [BZ #15917]
a4966c61
AS
5676 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
5677 followed by 'x' as part of digit sequence.
5678 * stdio-common/tst-sscanf.c (double_tests2): New tests.
5679
28d708c4
MAP
56802013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
5681
5682 [BZ #16037]
5683 * configure.ac: allow GNU Make 4.0 and greater.
5684 * configure: Regenerated.
5685
a56ee40b
WN
56862013-10-30 Will Newton <will.newton@linaro.org>
5687
5688 [BZ #16038]
5689 * malloc/hooks.c (memalign_check): Limit alignment to the
5690 maximum representable power of two.
5691 * malloc/malloc.c (__libc_memalign): Likewise.
5692 * malloc/tst-memalign.c (do_test): Add test for very
5693 large alignment values.
5694 * malloc/tst-posix_memalign.c (do_test): Likewise.
5695
c6e4925d
OB
56962013-10-30 Ondřej Bílka <neleai@seznam.cz>
5697
5698 [BZ #11087]
5699 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
5700 (munmap_chunk): Likewise.
5701 (mremap_chunk): Likewise.
5702
57032013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 5704
8a43e768 5705 [BZ #15799]
bbea82f7
OB
5706 * stdlib/div.c (div): Remove obsolete code.
5707 * stdlib/ldiv.c (ldiv): Likewise.
5708 * stdlib/lldiv.c (lldiv): Likewise.
5709
977f4b31
SP
57102013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
5711
5712 [BZ #16071]
5713 * nss/nss_files/files-XXX.c (get_contents_ret): New
5714 enumerator.
5715 (get_contents): New function.
5716 (internal_getent): Use it. Expand size of LINEBUFLEN.
5717
cb8a6dbd
MF
57182013-10-30 Mike Frysinger <vapier@gentoo.org>
5719
5720 * configure.in: Moved to ...
5721 * configure.ac: ... here. Change reference to configure.in
5722 to configure.ac.
5723 * sysdeps/arm/preconfigure.ac: ... here.
5724 configure.in to configure.ac.
5725 * sysdeps/gnu/configure.in: Moved to ...
5726 * sysdeps/gnu/configure.ac: ... here.
5727 * sysdeps/i386/configure.in: Moved to ...
5728 * sysdeps/i386/configure.ac: ... here.
5729 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
5730 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
5731 * sysdeps/mach/configure.in: Moved to ...
5732 * sysdeps/mach/configure.ac: ... here.
5733 * sysdeps/mach/hurd/configure.in: Moved to ...
5734 * sysdeps/mach/hurd/configure.ac: ... here.
5735 * sysdeps/powerpc/configure.in: Moved to ...
5736 * sysdeps/powerpc/configure.ac: ... here.
5737 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
5738 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
5739 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
5740 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
5741 * sysdeps/s390/s390-32/configure.in: Moved to ...
5742 * sysdeps/s390/s390-32/configure.ac: ... here.
5743 * sysdeps/s390/s390-64/configure.in: Moved to ...
5744 * sysdeps/s390/s390-64/configure.ac: ... here.
5745 * sysdeps/sh/configure.in: Moved to ...
5746 * sysdeps/sh/configure.ac: ... here.
5747 * sysdeps/sparc/configure.in: Moved to ...
5748 * sysdeps/sparc/configure.ac: ... here.
5749 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
5750 * sysdeps/unix/sysv/linux/configure.ac: ... here.
5751 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
5752 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
5753 * sysdeps/x86_64/configure.in: Moved to ...
5754 * sysdeps/x86_64/configure.ac: ... here.
5755 * sysdeps/x86_64/preconfigure.in: Moved to ...
5756 * sysdeps/x86_64/preconfigure.ac: ... here.
5757 * aclocal.m4: Change reference to configure.in to configure.ac.
5758 * config.h.in: Likewise.
5759 * manual/install.texi: Likewise.
5760 * manual/maint.texi: Likewise.
5761 * Makefile: Likewise.
5762 * malloc/Makefile: Likewise.
5763 * nscd/Makefile: Likewise.
5764 * Makeconfig: Change reference to configure.in and
5765 preconfigure.in to configure.ac and preconfigure.ac
5766 respectively.
5767 * INSTALL: Regenerated.
5768 * configure: Likewise.
5769 * sysdeps/gnu/configure: Likewise.
5770 * sysdeps/i386/configure: Likewise.
5771 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
5772 * sysdeps/mach/configure: Likewise.
5773 * sysdeps/mach/hurd/configure: Likewise.
5774 * sysdeps/powerpc/configure: Likewise.
5775 * sysdeps/powerpc/powerpc32/configure: Likewise.
5776 * sysdeps/powerpc/powerpc64/configure: Likewise.
5777 * sysdeps/s390/s390-32/configure: Likewise.
5778 * sysdeps/s390/s390-64/configure: Likewise.
5779 * sysdeps/sh/configure: Likewise.
5780 * sysdeps/sparc/configure: Likewise.
5781 * sysdeps/unix/sysv/linux/configure: Likewise.
5782 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
5783 * sysdeps/x86_64/configure: Likewise.
5784 * sysdeps/x86_64/preconfigure: Likewise.
5785
36a4953a
AS
57862013-10-29 Andreas Schwab <schwab@suse.de>
5787
5788 * stdio-common/Makefile (tst-swscanf-ENV): Define.
5789
c79a1204
SP
57902013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5791
dfa1b402
SP
5792 * benchtests/pow-inputs: Add new inputs.
5793
54f73d9c
SP
5794 * benchtests/exp-inputs: Add new inputs.
5795
c79a1204
SP
5796 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
5797 conditional check for return value.
5798 (__cos32): Likewise.
5799
67beb545 58002013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
5801
5802 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
5803 to provide a boost for large inputs with word alignment.
5804 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
5805 implementation based on optimized PPC64 strcpy.
5806 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
5807 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
5808 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
5809 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
5810
151659f6
OB
58112013-10-25 Ondřej Bílka <neleai@seznam.cz>
5812
482a077e 5813 [BZ #2801]
151659f6
OB
5814 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
5815
10b0f26b
OB
58162013-10-25 Ondřej Bílka <neleai@seznam.cz>
5817
5818 [BZ #14876]
5819 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
5820 * time/tst-strptime.c (day_tests): Add testcase.
5821
ca42d35e
OB
58222013-10-25 Ondřej Bílka <neleai@seznam.cz>
5823
482a077e 5824 [BZ #14029]
ca42d35e
OB
5825 * manual/pattern.texi: Acknowledge that fnmatch can fail.
5826
52e6d801
FB
58272013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
5828
5829 [BZ #16074]
5830 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
5831 MAP_FAILED on error.
5832
7cbcdb36
SP
58332013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5834
5835 [BZ #16072]
5836 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
5837 heap for large requests.
5838
894f3f10
AM
58392013-10-25 Aurelien Jarno <aurelien@aurel32.net>
5840
5841 [BZ #9954]
5842 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
5843 result if the result has no associated interface.
5844 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
5845 interface for all 127.X.Y.Z addresses.
5846
b85545a6
CL
58472013-10-24 Chris Leonard <cjl@sugarlabs.org>
5848
5849 * locale/iso-639.def: Add Ligurian (lij)
5850
d1f23d46
OB
58512013-10-21 Ondřej Bílka <neleai@seznam.cz>
5852
5853 [BZ #15825]
5854 * sunrpc/rpc_main.c: Document rpcgen -5.
5855
4db5b08f
MS
58562013-10-19 Michael Stahl <mstahl@redhat.com>
5857
5858 * elf/rtld.c (do_preload): Print the reason why preloading failed.
5859
a471e96a
OB
58602013-10-19 Ondřej Bílka <neleai@seznam.cz>
5861
d1f23d46 5862 [BZ #10278]
a471e96a
OB
5863 * posix/glob.c: Match only directories when trailing slash is present.
5864 * posix/tst-gnuglob.c (my_opendir): Do not open files.
5865 (main): Add testcase.
5866
45c30c61
OB
58672013-10-19 Ondřej Bílka <neleai@seznam.cz>
5868
5869 [BZ #15670]
5870 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
5871
484c12fb
CD
58722013-10-18 Carlos O'Donell <carlos@redhat.com>
5873
3d7dc513
CD
5874 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
5875 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
5876 AUTH_DES and cindex for FIPS 140-2.
5877 (DES Encryption): Add cindex FIPS 46-3.
5878
484c12fb
CD
5879 * locale/locarchive.h (struct locarhandle): Add fname.
5880 * locale/programs/localedef.c (main): Pass ARGV[remaining]
5881 if an optional argument was specified to --list-archive,
5882 otherwise NULL.
5883 * locale/programs/locarchive.c (show_archive_content): Take new
5884 argument fname and pass it via ah.fname to open_archive.
5885 * locale/programs/localedef.h: Update decl.
5886 (open_archive): If AH->fname is non-null, open that file
5887 rather than the default file name, and don't ignore ENOENT.
5888 (create_archive): Set AH.fname to NULL.
5889 (delete_locales_from_archive): Likewise.
5890 (add_locales_to_archive): Likewise.
5891 * locale/programs/locfile.c (write_all_categories): Likewise.
5892
3c8325fb
JM
58932013-10-18 Joseph Myers <joseph@codesourcery.com>
5894 Aldy Hernandez <aldyh@redhat.com>
5895
5896 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
5897 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
5898 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
5899 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
5900 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
5901 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
5902 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
5903 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
5904 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
5905 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
5906 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
5907 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
5908 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
5909 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
5910 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
5911 Likewise.
5912 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
5913 Likewise.
5914 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
5915 Likewise.
5916 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
5917 Likewise.
5918 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
5919 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
5920 Likewise.
5921 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
5922 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
5923 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
5924 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
5925 Likewise.
5926 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
5927 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
5928 * sysdeps/powerpc/preconfigure: Likewise.
5929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
5930 Likewise.
5931 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
5932 Replace contents of file by #include of <fenv_libc.h>.
5933 * sysdeps/powerpc/soft-fp/sfp-machine.h
5934 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
5935 and <sys/prctl.h>.
5936 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
5937 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
5938 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
5939 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
5940 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
5941 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
5942 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
5943 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
5944 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
5945 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
5946 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
5947 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
5948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5949 Allow copysignl PLT reference to be missing.
5950
5abe0682
RS
59512013-10-18 Richard Sandiford <richard@codesourcery.com>
5952 Joseph Myers <joseph@codesourcery.com
5953
5954 [BZ #15948]
5955 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
5956 single character.
5957 (add_to_tablewc): Assert sequence of wide characters is nonempty.
5958
c7738d08
SP
59592013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
5960
5961 * elf/tst-tls-dlinfo.c: Don't include tls.h.
5962 * elf/tst-tls1.c: Likewise.
5963 * elf/tst-tls10.h: Likewise.
5964 * elf/tst-tls14.c: Likewise.
5965 * elf/tst-tls2.c: Likewise.
5966 * elf/tst-tls3.c: Likewise.
5967 * elf/tst-tls4.c: Likewise.
5968 * elf/tst-tls5.c: Likewise.
5969 * elf/tst-tls6.c: Likewise.
5970 * elf/tst-tls7.c: Likewise.
5971 * elf/tst-tls8.c: Likewise.
5972 * elf/tst-tls9.c: Likewise.
5973 * elf/tst-tlsmod1.c: Likewise.
5974 * elf/tst-tlsmod13.c: Likewise.
5975 * elf/tst-tlsmod13a.c: Likewise.
5976 * elf/tst-tlsmod14a.c: Likewise.
5977 * elf/tst-tlsmod16a.c: Likewise.
5978 * elf/tst-tlsmod16b.c: Likewise.
5979 * elf/tst-tlsmod2.c: Likewise.
5980 * elf/tst-tlsmod3.c: Likewise.
5981 * elf/tst-tlsmod4.c: Likewise.
5982 * elf/tst-tlsmod5.c: Likewise.
5983 * elf/tst-tlsmod6.c: Likewise.
5984
0bfcf2c7
OB
59852013-10-18 Ondřej Bílka <neleai@seznam.cz>
5986
5987 [BZ #12486]
5988 * malloc/malloc.c: remove checks for statistics.
5989
264aad1e
OB
59902013-10-17 Ondřej Bílka <neleai@seznam.cz>
5991
5992 [BZ #15277]
5993 * inet/inet_net.c (inet_network): Detect additional invalid strings.
5994 * inet/tst-network.c: Add testcase.
5995
b957ced8
AS
59962013-10-17 Andreas Schwab <schwab@suse.de>
5997
5998 [BZ #15218]
5999 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
6000 to determine canonical name.
6001
c5d5d574
OB
60022013-10-17 Ondřej Bílka <neleai@seznam.cz>
6003
6004 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
6005 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
6006 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
6007 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6008 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6009 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6010 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6011 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6012 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6013 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6014 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6015 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6016 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6017 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6018 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6019 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6020 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6021 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6022 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
6023 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6024 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6025 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6026 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6027 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
6028 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
6029 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
6030 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
6031 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
6032 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
6033 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
6034 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6035 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
6036 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
6037 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
6038 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6039 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6040 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
6041 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6042 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6043 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6044 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6045 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
6046 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
6047 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6048 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
6049 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
6050 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6051 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
6052 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
6053 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6054 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
6055 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
6056 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6057 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
6058 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6059 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
6060 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
6061 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6062
e5c2c2d0
JM
60632013-10-17 Joseph Myers <joseph@codesourcery.com>
6064
6065 [BZ #16041]
6066 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
6067 make result into a quiet NaN.
6068
51ca9e29
JM
60692013-10-16 Joseph Myers <joseph@codesourcery.com>
6070
6071 * soft-fp/adddf3.c: Fix horizontal whitespace.
6072 * soft-fp/addsf3.c: Likewise.
6073 * soft-fp/addtf3.c: Likewise.
6074 * soft-fp/divdf3.c: Likewise.
6075 * soft-fp/divsf3.c: Likewise.
6076 * soft-fp/divtf3.c: Likewise.
6077 * soft-fp/double.h: Likewise.
6078 * soft-fp/eqdf2.c: Likewise.
6079 * soft-fp/eqsf2.c: Likewise.
6080 * soft-fp/eqtf2.c: Likewise.
6081 * soft-fp/extenddftf2.c: Likewise.
6082 * soft-fp/extended.h: Likewise.
6083 * soft-fp/extendsfdf2.c: Likewise.
6084 * soft-fp/extendsftf2.c: Likewise.
6085 * soft-fp/extendxftf2.c: Likewise.
6086 * soft-fp/fixdfdi.c: Likewise.
6087 * soft-fp/fixdfsi.c: Likewise.
6088 * soft-fp/fixdfti.c: Likewise.
6089 * soft-fp/fixsfdi.c: Likewise.
6090 * soft-fp/fixsfsi.c: Likewise.
6091 * soft-fp/fixsfti.c: Likewise.
6092 * soft-fp/fixtfdi.c: Likewise.
6093 * soft-fp/fixtfsi.c: Likewise.
6094 * soft-fp/fixtfti.c: Likewise.
6095 * soft-fp/fixunsdfdi.c: Likewise.
6096 * soft-fp/fixunsdfsi.c: Likewise.
6097 * soft-fp/fixunsdfti.c: Likewise.
6098 * soft-fp/fixunssfdi.c: Likewise.
6099 * soft-fp/fixunssfsi.c: Likewise.
6100 * soft-fp/fixunssfti.c: Likewise.
6101 * soft-fp/fixunstfdi.c: Likewise.
6102 * soft-fp/fixunstfsi.c: Likewise.
6103 * soft-fp/fixunstfti.c: Likewise.
6104 * soft-fp/floatdidf.c: Likewise.
6105 * soft-fp/floatdisf.c: Likewise.
6106 * soft-fp/floatditf.c: Likewise.
6107 * soft-fp/floatsidf.c: Likewise.
6108 * soft-fp/floatsisf.c: Likewise.
6109 * soft-fp/floatsitf.c: Likewise.
6110 * soft-fp/floattidf.c: Likewise.
6111 * soft-fp/floattisf.c: Likewise.
6112 * soft-fp/floattitf.c: Likewise.
6113 * soft-fp/floatundidf.c: Likewise.
6114 * soft-fp/floatundisf.c: Likewise.
6115 * soft-fp/floatunditf.c: Likewise.
6116 * soft-fp/floatunsidf.c: Likewise.
6117 * soft-fp/floatunsisf.c: Likewise.
6118 * soft-fp/floatunsitf.c: Likewise.
6119 * soft-fp/floatuntidf.c: Likewise.
6120 * soft-fp/floatuntisf.c: Likewise.
6121 * soft-fp/floatuntitf.c: Likewise.
6122 * soft-fp/fmadf4.c: Likewise.
6123 * soft-fp/fmasf4.c: Likewise.
6124 * soft-fp/fmatf4.c: Likewise.
6125 * soft-fp/gedf2.c: Likewise.
6126 * soft-fp/gesf2.c: Likewise.
6127 * soft-fp/getf2.c: Likewise.
6128 * soft-fp/ledf2.c: Likewise.
6129 * soft-fp/lesf2.c: Likewise.
6130 * soft-fp/letf2.c: Likewise.
6131 * soft-fp/muldf3.c: Likewise.
6132 * soft-fp/mulsf3.c: Likewise.
6133 * soft-fp/multf3.c: Likewise.
6134 * soft-fp/negdf2.c: Likewise.
6135 * soft-fp/negsf2.c: Likewise.
6136 * soft-fp/negtf2.c: Likewise.
6137 * soft-fp/op-1.h: Likewise.
6138 * soft-fp/op-2.h: Likewise.
6139 * soft-fp/op-4.h: Likewise.
6140 * soft-fp/op-8.h: Likewise.
6141 * soft-fp/op-common.h: Likewise.
6142 * soft-fp/quad.h: Likewise.
6143 * soft-fp/single.h: Likewise.
6144 * soft-fp/soft-fp.h: Likewise.
6145 * soft-fp/sqrtdf2.c: Likewise.
6146 * soft-fp/sqrtsf2.c: Likewise.
6147 * soft-fp/sqrttf2.c: Likewise.
6148 * soft-fp/subdf3.c: Likewise.
6149 * soft-fp/subsf3.c: Likewise.
6150 * soft-fp/subtf3.c: Likewise.
6151 * soft-fp/truncdfsf2.c: Likewise.
6152 * soft-fp/trunctfdf2.c: Likewise.
6153 * soft-fp/trunctfsf2.c: Likewise.
6154 * soft-fp/trunctfxf2.c: Likewise.
6155 * soft-fp/unorddf2.c: Likewise.
6156 * soft-fp/unordsf2.c: Likewise.
6157 * soft-fp/unordtf2.c: Likewise.
6158
9ebb0332
JM
61592013-10-15 Joseph Myers <joseph@codesourcery.com>
6160
6161 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
6162 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
6163
4b1a6d8b
OB
61642013-10-15 Ondřej Bílka <neleai@seznam.cz>
6165
6166 * elf/dl-libc.c: Clear initfini list after freeing.
6167
1e145589
JM
61682013-10-14 Joseph Myers <joseph@codesourcery.com>
6169
6170 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
6171 * soft-fp/addsf3.c: Likewise.
6172 * soft-fp/addtf3.c: Likewise.
6173 * soft-fp/divdf3.c: Likewise.
6174 * soft-fp/divsf3.c: Likewise.
6175 * soft-fp/divtf3.c: Likewise.
6176 * soft-fp/double.h: Likewise.
6177 * soft-fp/eqdf2.c: Likewise.
6178 * soft-fp/eqsf2.c: Likewise.
6179 * soft-fp/eqtf2.c: Likewise.
6180 * soft-fp/extenddftf2.c: Likewise.
6181 * soft-fp/extended.h: Likewise.
6182 * soft-fp/extendsfdf2.c: Likewise.
6183 * soft-fp/extendsftf2.c: Likewise.
6184 * soft-fp/extendxftf2.c: Likewise.
6185 * soft-fp/fixdfdi.c: Likewise.
6186 * soft-fp/fixdfsi.c: Likewise.
6187 * soft-fp/fixdfti.c: Likewise.
6188 * soft-fp/fixsfdi.c: Likewise.
6189 * soft-fp/fixsfsi.c: Likewise.
6190 * soft-fp/fixsfti.c: Likewise.
6191 * soft-fp/fixtfdi.c: Likewise.
6192 * soft-fp/fixtfsi.c: Likewise.
6193 * soft-fp/fixtfti.c: Likewise.
6194 * soft-fp/fixunsdfdi.c: Likewise.
6195 * soft-fp/fixunsdfsi.c: Likewise.
6196 * soft-fp/fixunsdfti.c: Likewise.
6197 * soft-fp/fixunssfdi.c: Likewise.
6198 * soft-fp/fixunssfsi.c: Likewise.
6199 * soft-fp/fixunssfti.c: Likewise.
6200 * soft-fp/fixunstfdi.c: Likewise.
6201 * soft-fp/fixunstfsi.c: Likewise.
6202 * soft-fp/fixunstfti.c: Likewise.
6203 * soft-fp/floatdidf.c: Likewise.
6204 * soft-fp/floatdisf.c: Likewise.
6205 * soft-fp/floatditf.c: Likewise.
6206 * soft-fp/floatsidf.c: Likewise.
6207 * soft-fp/floatsisf.c: Likewise.
6208 * soft-fp/floatsitf.c: Likewise.
6209 * soft-fp/floattidf.c: Likewise.
6210 * soft-fp/floattisf.c: Likewise.
6211 * soft-fp/floattitf.c: Likewise.
6212 * soft-fp/floatundidf.c: Likewise.
6213 * soft-fp/floatundisf.c: Likewise.
6214 * soft-fp/floatunsidf.c: Likewise.
6215 * soft-fp/floatunsisf.c: Likewise.
6216 * soft-fp/floatuntidf.c: Likewise.
6217 * soft-fp/floatuntisf.c: Likewise.
6218 * soft-fp/floatuntitf.c: Likewise.
6219 * soft-fp/fmadf4.c: Likewise.
6220 * soft-fp/fmasf4.c: Likewise.
6221 * soft-fp/fmatf4.c: Likewise.
6222 * soft-fp/gedf2.c: Likewise.
6223 * soft-fp/gesf2.c: Likewise.
6224 * soft-fp/getf2.c: Likewise.
6225 * soft-fp/ledf2.c: Likewise.
6226 * soft-fp/lesf2.c: Likewise.
6227 * soft-fp/letf2.c: Likewise.
6228 * soft-fp/muldf3.c: Likewise.
6229 * soft-fp/mulsf3.c: Likewise.
6230 * soft-fp/multf3.c: Likewise.
6231 * soft-fp/negdf2.c: Likewise.
6232 * soft-fp/negsf2.c: Likewise.
6233 * soft-fp/negtf2.c: Likewise.
6234 * soft-fp/op-1.h: Likewise.
6235 * soft-fp/op-2.h: Likewise.
6236 * soft-fp/op-4.h: Likewise.
6237 * soft-fp/op-8.h: Likewise.
6238 * soft-fp/op-common.h: Likewise.
6239 * soft-fp/quad.h: Likewise.
6240 * soft-fp/single.h: Likewise.
6241 * soft-fp/soft-fp.h: Likewise.
6242 * soft-fp/sqrtdf2.c: Likewise.
6243 * soft-fp/sqrtsf2.c: Likewise.
6244 * soft-fp/sqrttf2.c: Likewise.
6245 * soft-fp/subdf3.c: Likewise.
6246 * soft-fp/subsf3.c: Likewise.
6247 * soft-fp/subtf3.c: Likewise.
6248 * soft-fp/truncdfsf2.c: Likewise.
6249 * soft-fp/trunctfdf2.c: Likewise.
6250 * soft-fp/trunctfsf2.c: Likewise.
6251 * soft-fp/trunctfxf2.c: Likewise.
6252 * soft-fp/unorddf2.c: Likewise.
6253 * soft-fp/unordsf2.c: Likewise.
6254 * soft-fp/unordtf2.c: Likewise.
6255
17c48a60
OB
62562013-10-14 Ondřej Bílka <neleai@seznam.cz>
6257
6258 [BZ #15672]
6259 * misc/error.c (error_tail): Fix possible buffer overflow.
6260
cabba934
OB
62612013-10-14 Aurelien Jarno <aurelien@aurel32.net>
6262
6263 [BZ #13028]
6264 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
6265 address.
6266
94bf958a
PM
62672013-10-14 P. J. McDermott <pj@pehjota.net>
6268
6269 [BZ #832]
6270 * elf/ldd.bash.in (try_trace): New function. Delete previous code
6271 testing pipefail option.
6272
71b4dea7
JM
62732013-10-12 Joseph Myers <joseph@codesourcery.com>
6274
6275 * soft-fp/double.h: Indent preprocessor directives inside #if.
6276 * soft-fp/extended.h: Likewise.
6277 * soft-fp/op-2.h: Likewise.
6278 * soft-fp/op-4.h: Likewise.
6279 * soft-fp/op-common.h: Likewise.
6280 * soft-fp/quad.h: Likewise.
6281 * soft-fp/single.h: Likewise.
6282 * soft-fp/soft-fp.h: Likewise.
6283
55602758
YC
62842013-10-12 Yuri Chornoivan <yurchor@ukr.net>
6285
6286 * iconv/iconv_prog.c: Fix typos.
6287 * stdio-common/psiginfo-data.h: Likewise.
6288
9cd83302
RT
62892013-10-12 Reuben Thomas <rrt@sc3d.org>
6290
6291 [BZ #15764]
6292 * locale/setlocale.c: Fix typo.
6293
99fd9f47
JM
62942013-10-12 Joseph Myers <joseph@codesourcery.com>
6295
b7ea74f0
JM
6296 [BZ #16036]
6297 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
6298 signaling NaN arguments.
6299 * soft-fp/unordsf2.c (__unordsf2): Likewise.
6300 * soft-fp/unordtf2.c (__unordtf2): Likewise.
6301
8a509447
JM
6302 [BZ #14910]
6303 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
6304 unordered operands.
6305 * soft-fp/gesf2.c (__gesf2): Likewise.
6306 * soft-fp/getf2.c (__getf2): Likewise.
6307 * soft-fp/ledf2.c (__ledf2): Likewise.
6308 * soft-fp/lesf2.c (__lesf2): Likewise.
6309 * soft-fp/letf2.c (__letf2): Likewise.
6310
98998e9f
JM
6311 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
6312 * soft-fp/eqsf2.c (__eqsf2): Likewise.
6313 * soft-fp/eqtf2.c (__eqtf2): Likewise.
6314 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
6315 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
6316 * soft-fp/fixdfti.c (__fixdfti): Likewise.
6317 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
6318 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
6319 * soft-fp/fixsfti.c (__fixsfti): Likewise.
6320 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
6321 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
6322 * soft-fp/fixtfti.c (__fixtfti): Likewise.
6323 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
6324 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
6325 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
6326 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
6327 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
6328 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
6329 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
6330 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
6331 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
6332 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
6333 * soft-fp/floatdisf.c (__floatdisf): Likewise.
6334 * soft-fp/floatsisf.c (__floatsisf): Likewise.
6335 * soft-fp/floattidf.c (__floattidf): Likewise.
6336 * soft-fp/floattisf.c (__floattisf): Likewise.
6337 * soft-fp/floattitf.c (__floattitf): Likewise.
6338 * soft-fp/floatundidf.c (__floatundidf): Likewise.
6339 * soft-fp/floatundisf.c (__floatundisf): Likewise.
6340 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
6341 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
6342 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
6343 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
6344 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
6345 * soft-fp/gesf2.c (__gesf2): Likewise.
6346 * soft-fp/getf2.c (__getf2): Likewise.
6347 * soft-fp/ledf2.c (__ledf2): Likewise.
6348 * soft-fp/lesf2.c (__lesf2): Likewise.
6349 * soft-fp/letf2.c (__letf2): Likewise.
6350
8edc4a11
JM
6351 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
6352 Undefine and redefine.
6353 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
6354 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
6355 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
6356 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
6357 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6358 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
6359 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6360 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
6361 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6362 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
6363 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6364 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
6365 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6366 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
6367 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
6368
8399acaf
JM
6369 [BZ #16032]
6370 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
6371 without decrementing exponent if mantissa >= that for the
6372 denominator, not >.
6373 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
6374 denominator, not >. Decrement exponent in < case instead of
6375 incrementing in >= case.
6376 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
6377 without decrementing exponent if mantissa >= that for the
6378 denominator, not >.
6379
99fd9f47
JM
6380 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
6381 computing saturated result for unsigned overflow.
6382
10e1cf6b
SP
63832013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6384 Jeff Law <law@redhat.com>
6385
6386 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
6387 (atan2Mp): Add systemtap probe marker.
6388 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
6389 (__ieee754_log): Add systemtap probe marker.
6390 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
6391 (atanMp): Add systemtap probe marker.
6392 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
6393 (tanMp): Add systemtap probe marker.
6394 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
6395 (__slowexp): Add systemtap probe marker.
6396 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
6397 (__slowpow): Add systemtap probe marker.
6398 * manual/probes.texi: Document probes.
6399
3d110c7c
EB
64002013-10-11 Eric Biggers <ebiggers3@gmail.com>
6401
6402 [BZ #15362]
6403 * libio/fileops.c (_IO_new_file_write): Return count of bytes
6404 written.
6405 (_IO_new_file_xsputn): Don't return EOF if nothing has been
6406 written.
6407 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
6408 written to buffer but not flushed.
6409 * libio/iofwrite_u.c: Likewise.
6410 * libio/iopadn.c: Return bytes returned even if EOF was
6411 encountered.
6412 * libio/iowpadn.c: Likewise.
6413 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
6414 if _IO_padn does not write the whole buffer.
6415 [!COMPILE_WPRINTF] (PAD): Likewise.
6416
75b4202a
DM
64172013-10-10 David S. Miller <davem@davemloft.net>
6418
6419 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
6420 directory block.
6421
6c6352e6
JM
64222013-10-10 Joseph Myers <joseph@codesourcery.com>
6423
33b853c3
JM
6424 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
6425 instead of FSF address.
6426 * soft-fp/fixdfti.c: Likewise.
6427 * soft-fp/fixsfti.c: Likewise.
6428 * soft-fp/fixtfti.c: Likewise.
6429 * soft-fp/fixunsdfti.c: Likewise.
6430 * soft-fp/fixunssfti.c: Likewise.
6431 * soft-fp/fixunstfti.c: Likewise.
6432 * soft-fp/floattidf.c: Likewise.
6433 * soft-fp/floattisf.c: Likewise.
6434 * soft-fp/floattitf.c: Likewise.
6435 * soft-fp/floatuntidf.c: Likewise.
6436 * soft-fp/floatuntisf.c: Likewise.
6437 * soft-fp/floatuntitf.c: Likewise.
6438 * soft-fp/trunctfxf2.c: Likewise.
6439
6c6352e6
JM
6440 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
6441 * soft-fp/fixdfti.c: Likewise.
6442 * soft-fp/fixsfti.c: Likewise.
6443 * soft-fp/fixtfti.c: Likewise.
6444 * soft-fp/fixunsdfti.c: Likewise.
6445 * soft-fp/fixunssfti.c: Likewise.
6446 * soft-fp/fixunstfti.c: Likewise.
6447 * soft-fp/floattidf.c: Likewise.
6448 * soft-fp/floattisf.c: Likewise.
6449 * soft-fp/floattitf.c: Likewise.
6450 * soft-fp/floatuntidf.c: Likewise.
6451 * soft-fp/floatuntisf.c: Likewise.
6452 * soft-fp/floatuntitf.c: Likewise.
6453 * soft-fp/trunctfxf2.c: Likewise.
6454
3bf78b71
DM
64552013-10-10 David S. Miller <davem@davemloft.net>
6456
6457 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6458
6f10289e
JM
64592013-10-10 Joseph Myers <joseph@codsourcery.com>
6460
bd878fc0
JM
6461 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6462 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
6463 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
6464 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
6465 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
6466 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
6467 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
6468
6f10289e
JM
6469 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
6470 for NaNs before doing comparisons on argument.
6471 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
6472 Likewise.
6473
321e2684
WN
64742013-10-10 Will Newton <will.newton@linaro.org>
6475
6476 * malloc/hooks.c (memalign_check): Ensure the value of bytes
6477 passed to _int_memalign does not overflow.
6478
40fefba1
TR
64792013-10-10 Torvald Riegel <triegel@redhat.com>
6480
6481 * scripts/bench.pl: Add include-sources directive.
6482 * benchtests/README: Update documentation.
6483
2ae21ed2
JM
64842013-10-10 Joseph Myers <joseph@codesourcery.com>
6485
dcc2dd3f
JM
6486 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
6487 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
6488 instead of FP_INIT_ROUNDMODE.
6489 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
6490 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
6491
2ae21ed2
JM
6492 [BZ #16034]
6493 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
6494 copy class of input value.
6495 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
6496 not handle exceptions.
6497 * soft-fp/negsf2.c (__negsf2): Likewise.
6498 * soft-fp/negtf2.c (__negtf2): Likewise.
6499 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
6500
cb8f9562
JM
65012013-10-09 Joseph Myers <joseph@codesourcery.com>
6502
6503 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
6504 semicolon. From Linux kernel.
6505
5b60c59d
AB
65062013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
6507
6508 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
6509
b86835ca
YC
65102013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
6511
6512 [BZ #156]
6513 * manual/socket.texi: Added statement about buffer
6514 for gethostbyname2_r.
6515
e7044ea7
OB
65162013-10-08 Ondřej Bílka <neleai@seznam.cz>
6517
6518 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
6519 Use .p2align directive instead, throughout.
6520 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
6521 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
6522 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
6523 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
6524 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
6525 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
6526 * sysdeps/x86_64/strchr.S: Likewise.
6527 * sysdeps/x86_64/strrchr.S: Likewise.
6528
09544cbc
SP
65292013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
6530
88576635
SP
6531 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
6532
e7b2d1dd
SP
6533 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
6534
09544cbc
SP
6535 * sysdeps/generic/math_private.h (__mpsin1): Remove
6536 declaration.
6537 (__mpcos1): Likewise.
6538 (__mpsin): New argument __range_reduce.
6539 (__mpcos): Likewise.
6540 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
6541 (slow): Use __mpsin and __mpcos.
6542 (slow1): Likewise.
6543 (slow2): Likewise.
6544 (sloww): Likewise.
6545 (sloww1): Likewise.
6546 (sloww2): Likewise.
6547 (bsloww): Likewise.
6548 (bsloww1): Likewise.
6549 (bsloww2): Likewise.
6550 (cslow2): Likewise.
6551 (csloww): Likewise.
6552 (csloww1): Likewise.
6553 (csloww2): Likewise.
6554 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
6555 range_reduce. Merge in __mpsin1.
6556 (__mpcos): Likewise.
6557 (__mpsin1): Remove.
6558 (__mpcos1): Likewise.
6559
7602d070
JM
65602013-10-07 Joseph Myers <joseph@codesourcery.com>
6561
6562 * locale/loadlocale.c (_nl_intern_locale_data): Use
6563 LOCFILE_ALIGNED_P.
6564 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
6565 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
6566 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
6567 obstack data is appropriately aligned.
6568 (obstack_int32_grow_fast): Likewise.
6569 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
6570 * locale/programs/locfile.c (add_locale_uint32): Likewise.
6571 (add_locale_uint32_array): Likewise.
6572
a357259b
SP
65732013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
6574
6575 * benchtests/Makefile: Remove ARGLIST and RET variables.
6576 ($(objpfx)bench-%.c): Pass only function name to the script.
6577 * benchtests/README: Update documentation.
6578 * benchtests/acos-inputs: Add new directives.
6579 * benchtests/acosh-inputs: Likewise.
6580 * benchtests/asin-inputs: Likewise.
6581 * benchtests/asinh-inputs: Likewise.
6582 * benchtests/atan-inputs: Likewise.
6583 * benchtests/atanh-inputs: Likewise.
6584 * benchtests/cos-inputs: Likewise.
6585 * benchtests/cosh-inputs: Likewise.
6586 * benchtests/exp-inputs: Likewise.
6587 * benchtests/log-inputs: Likewise.
6588 * benchtests/pow-inputs: Likewise.
6589 * benchtests/rint-inputs: Likewise.
6590 * benchtests/sin-inputs: Likewise.
6591 * benchtests/sinh-inputs: Likewise.
6592 * benchtests/tan-inputs: Likewise.
6593 * benchtests/tanh-inputs: Likewise.
6594 * scripts/bench.pl: Add support for new directives.
6595
9ec1b13d
AM
65962013-10-07 Alan Modra <amodra@gmail.com>
6597
6598 * README: Fix careless merge.
6599
8b7d57cd
AM
66002013-10-05 Alan Modra <amodra@gmail.com>
6601
6602 * NEWS: Mention powerpc64le support and bugs fixed.
6603 * README: Both big-endian and little-endian powerpc64 supported.
6604
7b7bab13
ST
66052013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
6606
6607 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
6608 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
6609 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
6610 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
6611
d39baad1
RA
66122013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
6613
6614 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
6615 match prototype.
6616
cd78f7e7
JM
66172013-10-04 Joseph Myers <joseph@codesourcery.com>
6618
29d73d86
JM
6619 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
6620 Move -mhard-float appending from
6621 ports/sysdeps/powerpc/powerpc32/Makefile.
6622 [$(with-fp) = yes] (ASFLAGS): Likewise.
6623 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
6624 * sysdeps/powerpc/nofpu: Move directory from
6625 ports/sysdeps/powerpc/nofpu.
6626 * sysdeps/powerpc/soft-fp: Move directory from
6627 ports/sysdeps/powerpc/soft-fp.
6628 * sysdeps/powerpc/powerpc32/405: Move directory from
6629 ports/sysdeps/powerpc/powerpc32/405.
6630 * sysdeps/powerpc/powerpc32/440: Move directory from
6631 ports/sysdeps/powerpc/powerpc32/440.
6632 * sysdeps/powerpc/powerpc32/464: Move directory from
6633 ports/sysdeps/powerpc/powerpc32/464.
6634 * sysdeps/powerpc/powerpc32/476: Move directory from
6635 ports/sysdeps/powerpc/powerpc32/476.
6636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
6637 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
6638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
6639 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
6640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
6641 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
6643 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
6644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
6645 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
6646 * README: Update for powerpc-*-linux-gnu software floating point
6647 support in libc.
6648
e246b347
JM
6649 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
6650 case to powerpc/powerpc32*.
6651 * sysdeps/unix/sysv/linux/configure: Regenerated.
6652
89c2003e
JM
6653 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
6654 (_FPU_MASK_OM): Define as 0x04.
6655 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
6656 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
6657 0x00c10080.
6658 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
6659 0x0000003c.
6660 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
6661
cd78f7e7
JM
6662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
6663 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6664 getcontext_e500.
6665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
6666 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
6667 setcontext_e500.
6668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
6669 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
6670 and setcontext_e500.
6671
c755294d
CL
66722013-10-04 Chris Leonard <cjl@sugarlabs,.org>
6673
6674 * locale/iso-3166.def: Update iso-1366.def and related occurrences
6675
e16d221c
SP
66762013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6677
6678 * manual/threads.texi (Default Thread Attributes): Fix typo.
6679
215c7d43
WN
66802013-10-04 Will Newton <will.newton@linaro.org>
6681
6682 * malloc/Makefile: Add tst-memalign.
6683 * malloc/tst-memalign.c: New file.
6684
27d0461b
WN
6685 * malloc/tst-posix_memalign.c: Add comments.
6686 (do_test): Add comments and call free on all potentially
6687 allocated pointers. Add space after cast.
6688
1bc92709
WN
6689 * malloc/tst-pvalloc.c: Add comments.
6690 (do_test): Add comments and call free on all potentially
6691 allocated pointers. Remove duplicate check for NULL pointer.
6692 Add space after cast.
6693
66a9be9d
WN
6694 * malloc/tst-valloc.c: Add comments.
6695 (do_test): Add comments and call free on all potentially
6696 allocated pointers. Remove duplicate check for NULL pointer.
6697 Add space after cast.
6698
4cb81307
AM
66992013-10-04 Alan Modra <amodra@gmail.com>
6700
6701 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6702 Use stdint types in rather than __attribute__((mode())).
6703 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6704
f8e3e9f3
AM
67052013-10-04 Alan Modra <amodra@gmail.com>
6706
6707 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6708 Correct handling of unaligned relocs for little-endian.
6709 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6710
8f9ebb08
AM
67112013-10-04 Alan Modra <amodra@gmail.com>
6712
6713 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
6714 * configure: Regenerate.
6715 * nptl/shlib-versions: Powerpc*le starts at 2.18.
6716 * shlib-versions: Likewise.
6717
0edf96c2
AM
67182013-10-04 Alan Modra <amodra@gmail.com>
6719
6720 * string/tester.c (test_memrchr): Increment reported test cycle.
6721
e0f7a380
AM
67222013-10-04 Alan Modra <amodra@gmail.com>
6723
6724 * string/test-memcpy.c (do_one_test): When reporting errors, print
6725 string address and don't overrun end of string.
6726
466b0393
AM
67272013-10-04 Alan Modra <amodra@gmail.com>
6728
6729 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
6730 insrdi. Make better use of reg selection to speed exit slightly.
6731 Schedule entry path a little better. Remove useless "are we done"
6732 checks on entry to main loop. Handle wrapping around zero address.
6733 Correct main loop count. Handle single left-over word from main
6734 loop inline rather than by using loop_small. Remove extra word
6735 case in loop_small caused by wrong loop count. Add little-endian
6736 support.
6737 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
6738 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
6739 cache hint.
6740 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
6741 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
6742 support. Avoid rlwimi.
6743 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
6744
3be87c77
AM
67452013-10-04 Alan Modra <amodra@gmail.com>
6746
6747 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 6748 insrdi. Formatting.
3be87c77
AM
6749 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6750 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6751 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6752 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6753 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
6754 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
6755
759cfef3
AM
67562013-10-04 Alan Modra <amodra@gmail.com>
6757
6758 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
6759 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6760 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6761 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
6762 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6763 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6764 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6765 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6766 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
6767 use of regs. Use power7 mtocrf. Tidy function tails.
6768
fe6e95d7
AM
67692013-10-04 Alan Modra <amodra@gmail.com>
6770
6771 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
6772 Formatting. Consistently use rXXX register defines or rN defines.
6773 Use early exit labels that avoid restoring unused non-volatile regs.
6774 Make cr field use more consistent with rWORDn compares. Rename
6775 regs used as shift registers for unaligned loop, using rN defines
6776 for short lifetime/multiple use regs.
6777 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6778 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
6779 addi 1,1,64 to pop stack frame. Simplify return value code.
6780 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6781
664318c3
AM
67822013-10-04 Alan Modra <amodra@gmail.com>
6783
6784 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
6785 support. Correct typos, formatting. Optimize tail. Use insrdi
6786 rather than rlwimi.
6787 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
6788 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
6789 little-endian support. Correct typos.
6790 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
6791 rather than rlwimi.
6792 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
6793 in loop and entry code to keep "and." results.
6794 (strchr): Add little-endian support. Comment. Move cntlzd
6795 earlier in tail.
6796 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
6797
43b84013
AM
67982013-10-04 Alan Modra <amodra@gmail.com>
6799
6800 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
6801 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
6802 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
6803 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
6804
8a7413f9
AM
68052013-10-04 Alan Modra <amodra@gmail.com>
6806
6807 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
6808 (rTMP): Define as r11.
6809 (strcmp): Add little-endian support. Optimise tail.
6810 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
6811 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6812 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
6813 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
6814 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
6815 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6816 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
6817
33ee81de
AM
68182013-10-04 Alan Modra <amodra@gmail.com>
6819
6820 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
6821 little-endian support. Remove unnecessary "are we done" tests.
6822 Handle "s" wrapping around zero and extremely large "size".
6823 Correct main loop count. Handle single left-over word from main
6824 loop inline rather than by using small_loop. Correct comments.
6825 Delete "zero" tail, use "end_max" instead.
6826 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
6827
db9b4570
AM
68282013-10-04 Alan Modra <amodra@gmail.com>
6829
6830 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
6831 support. Don't branch over align.
6832 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
6833 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
6834 support. Rearrange tmp reg use to suit. Comment.
6835 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
6836
f7c399cf
AM
68372013-10-04 Alan Modra <amodra@gmail.com>
6838
6839 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
6840
0b2c2ace
AM
68412013-10-04 Alan Modra <amodra@gmail.com>
6842
6843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
6844 conditional form of branch and link when obtaining pc.
6845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
6846
02f04a6c
AM
68472013-10-04 Alan Modra <amodra@gmail.com>
6848
6849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
6850 HIWORD/LOWORD.
6851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
6852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
6853
9b874b2f
AM
68542013-10-04 Alan Modra <amodra@gmail.com>
6855
6856 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
6857 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
6858 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
6859 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
6860 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
6861 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
6862 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
6863 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
6864 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
6865 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
6866
be1e5d31
AB
68672013-10-04 Anton Blanchard <anton@au1.ibm.com>
6868 Alistair Popple <alistair@ozlabs.au.ibm.com>
6869 Alan Modra <amodra@gmail.com>
6870
6871 [BZ #15723]
6872 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
6873 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
6874 _dl_hwcap access for little-endian.
6875 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
6876 destroy vmx regs when saving unaligned.
6877 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
6878 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
6879 destroy vmx regs when saving unaligned.
6880
fef13a78
AM
68812013-10-04 Alan Modra <amodra@gmail.com>
6882
6883 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
6884 Don't use a union to pack hi/low value.
6885
76a66d51
AB
68862013-10-04 Anton Blanchard <anton@au1.ibm.com>
6887
6888 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
6889 for little-endian.
6890 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6891 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
6892 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
6893 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6894 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6895
6a31fe7f
AM
68962013-10-04 Alan Modra <amodra@gmail.com>
6897
6898 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
6899 constants to usual value for .cst8 section, and remove redundant
6900 high address load.
6901 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
6902 constant for 0x1p52. Load little-endian words of double from
6903 correct stack offsets.
6904
7b88401f
AM
69052013-10-04 Alan Modra <amodra@gmail.com>
6906
6907 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
6908 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
6909 words of double from correct stack offsets.
6910 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
6911 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
6912 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6913 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6914 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6915 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6916 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6917 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
6918 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
6919 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6920 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6921 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6922 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
6923 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
6924 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
6925 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
6926 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
6927
9c008155
AM
69282013-10-04 Alan Modra <amodra@gmail.com>
6929
6930 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
6931 64-bit int/double union.
6932 (_FPU_SETCW): Likewise.
6933 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
6934 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
6935
da13146d
AM
69362013-10-04 Alan Modra <amodra@gmail.com>
6937
6938 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
6939 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
6940
603e8410
AM
69412013-10-04 Alan Modra <amodra@gmail.com>
6942
6943 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
6944 use vector int constants.
6945 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
6946
4a28b3ca
AB
69472013-10-04 Anton Blanchard <anton@au1.ibm.com>
6948
6949 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
6950 array with long long.
6951 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
6952 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
6953 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
6954 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
6955 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
6956 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
6957 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
6958 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
6959 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
6960 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
6961 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
6962 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
6963 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
6964
2ca85d2b
AB
69652013-10-04 Anton Blanchard <anton@au1.ibm.com>
6966
6967 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
6968 (__signbit): Likewise. Correct for little-endian.
6969 (__signbitl): Call __signbit.
6970 (lrint): Correct for little-endian.
6971 (lrintf): Call lrint.
6972
62a728ae
AM
69732013-10-04 Alan Modra <amodra@gmail.com>
6974
6975 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
6976 union 32-bit int array member with 64-bit int array.
6977 (t515, tm256): Double rather than long double.
6978 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
6979
32c301df
AM
69802013-10-04 Alan Modra <amodra@gmail.com>
6981
6982 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
6983 Delete.
6984 (IEEE854_LONG_DOUBLE_BIAS): Delete.
6985 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
6986 version of math_ldbl.h.
6987
650ef4bd
AM
69882013-10-04 Alan Modra <amodra@gmail.com>
6989
6990 [BZ #15734], [BZ #15735]
6991 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
6992 all uses of ieee875 long double macros and unions. Simplify test
6993 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
6994 ldbl_extract_mantissa value for ix,iy exponents. Properly
6995 normalize after ldbl_extract_mantissa, and don't add hidden bit
6996 already handled. Don't treat low word of ieee854 mantissa like
6997 low word of IBM long double and mask off bit when testing for
6998 zero.
6999 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
7000 all uses of ieee875 long double macros and unions. Simplify tests
7001 for 0.0L and inf. Correct double adjustment of k. Delete dead code
7002 adjusting ha,hb. Simplify code setting kld. Delete two600 and
7003 two1022, instead use their values. Recognise that tests for large
7004 "a" and small "b" are mutually exclusive. Rename vars. Comment.
7005 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
7006 Rewrite all uses of ieee875 long double macros and unions. Simplify
7007 test for 0.0L and nan. Correct negation.
7008 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
7009 ieee875 long double macros and unions. Correct output for large
7010 magnitude x. Correct absolute value calculation.
7011 (__erfcl): Likewise.
7012 * math/libm-test.inc: Add tests for errors discovered in IBM long
7013 double versions of fmodl, remainderl, erfl and erfcl.
7014
765714ca
AM
70152013-10-04 Alan Modra <amodra@gmail.com>
7016
7017 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
7018 all uses of ieee854 long double macros and unions. Simplify tests
7019 for long doubles that are fully specified by the high double.
7020 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
7021 Likewise.
7022 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
7023 Remove dead code too.
7024 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
7025 (__ieee754_ynl): Likewise.
7026 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
7027 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
7028 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
7029 Remove dead code too.
7030 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
7031 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
7032 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
7033 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
7034 Simplify.
7035 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
7036 Simplify.
7037 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
7038 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
7039 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
7040 Comment on variable precision.
7041 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
7042 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
7043 Likewise.
7044 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7045 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
7046 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
7047 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
7048 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
7049
4ebd120c
AM
70502013-10-04 Alan Modra <amodra@gmail.com>
7051
7052 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
7053 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
7054 all uses of ieee854 long double macros and unions.
7055 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
7056 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
7057 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
7058 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
7059 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
7060 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
7061 Likewise.
7062 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
7063 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7064 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
7065 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7066 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
7067 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
7068 Simplify sign and nan test too.
7069 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
7070 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
7071 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
7072 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
7073 Likewise.
7074 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
7075 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
7076 Likewise.
7077 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7078 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
7079 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
7080 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
7081 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
7082 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
7083
1b6adf88
AM
70842013-10-04 Alan Modra <amodra@gmail.com>
7085
7086 * stdio-common/printf_size.c (__printf_size): Don't use
7087 union ieee854_long_double in fpnum union.
7088 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
7089 signbit macro to retrieve sign from long double.
7090 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
7091 retrieve sign from long double.
7092 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
7093 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
7094 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
7095 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
7096 * math/test-misc.c (main): Don't use union ieee854_long_double.
7097
4cf69995
AM
70982013-10-04 Alan Modra <amodra@gmail.com>
7099
7100 [BZ #15680]
7101 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
7102 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
7103 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
7104 calculation. Remove unnecessary test for denormal exponent.
7105 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
7106 Correct handling of denormals. Avoid undefined shift behaviour.
7107 Correct normalisation of low mantissa when low double is denormal.
7108 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7109 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
7110 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
7111 Correct normalisation of low mantissa. Test for overflow of high
7112 mantissa and normalise.
7113 (ldbl_nearbyint): Use more readable constant for two52.
7114 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
7115 (__mpn_construct_long_double): Fix test for overflow of high
7116 mantissa and correct normalisation. Avoid undefined shift.
7117
9605ca6c
AM
71182013-10-04 Alan Modra <amodra@gmail.com>
7119
7120 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
7121 (union ibm_extended_long_double): Define as an array of ieee754_double.
7122 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
7123 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
7124 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
7125 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7126 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7127 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
7128 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7129 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
7130 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
7131 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
7132 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
7133
975569d0
JM
71342013-10-03 Joseph Myers <joseph@codesourcery.com>
7135
d3d23756
JM
7136 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
7137 page size instead of calling getpagesize.
7138
975569d0
JM
7139 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
7140 (LOCFILE_ALIGN_MASK): Likewise.
7141 (LOCFILE_ALIGN_UP): Likewise.
7142 (LOCFILE_ALIGNED_P): Likewise.
7143 * locale/programs/ld-collate.c (collate_output): Use the new
7144 macros instead of __alignof__ (int32_t).
7145 * locale/weight.h (findidx): Likewise.
7146
b1fe1f2b
OB
71472013-10-03 Ondřej Bílka <neleai@seznam.cz>
7148
7149 [BZ #431]
7150 * manual/string.texi: Fix strncat and wcsncat.
7151
5f855e35
BM
71522013-10-03 Brooks Moses <bmoses@google.com>
7153
7154 [BZ #15915]
7155 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
7156 * Makerules: ...here, and adjust associated comments.
7157
3cef6009
WN
71582013-10-02 Will Newton <will.newton@linaro.org>
7159
7160 * malloc/Makefile: Add tst-pvalloc.
7161 * malloc/tst-pvalloc.c: New file.
7162
7815420b
WN
71632013-10-02 Will Newton <will.newton@linaro.org>
7164
7165 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
7166 improve test coverage.
7167
4868b204
WN
71682013-10-02 Will Newton <will.newton@linaro.org>
7169
7170 * malloc/Makefile: Add tst-posix_memalign.
7171 * malloc/tst-posix_memalign.c: New file.
7172
29c793b3
EB
71732013-10-01 Eric Blake <eblake@redhat.com>
7174
7175 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
7176 Use __THROWNL rather than __THROW on static functions.
7177
fd967522
PM
71782013-09-30 Petr Machata <pmachata@redhat.com>
7179
7180 * elf/elf.h (R_AARCH64_ABS16): New macro.
7181 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
7182 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
7183 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
7184 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
7185 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
7186 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
7187 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
7188 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
7189 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
7190 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
7191 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
7192 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
7193 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
7194 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
7195 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
7196 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
7197 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
7198 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
7199 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
7200 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
7201 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
7202 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
7203 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
7204 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
7205 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
7206 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
7207 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
7208 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
7209 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
7210 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
7211 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
7212 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
7213 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
7214 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
7215 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
7216 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
7217 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
7218 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
7219 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
7220 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
7221 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
7222 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
7223 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
7224 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
7225 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
7226 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
7227 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
7228 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
7229 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
7230 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
7231 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
7232 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
7233 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
7234 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
7235 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
7236 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
7237 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
7238 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
7239 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
7240 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
7241 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
7242 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
7243 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
7244 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
7245 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
7246 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
7247 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
7248 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
7249 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
7250 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
7251 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
7252 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
7253 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
7254 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
7255 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
7256 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
7257 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
7258 (R_AARCH64_TLSDESC_LDR): Likewise.
7259 (R_AARCH64_TLSDESC_ADD): Likewise.
7260 (R_AARCH64_TLSDESC_CALL): Likewise.
7261
b2179107
AS
72622013-09-30 Andreas Schwab <schwab@suse.de>
7263
7264 [BZ #15048]
7265 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
7266 the nss database lookup.
7267 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7268 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7269
47f28d0a
MF
72702013-09-28 Mike Frysinger <vapier@gentoo.org>
7271
7272 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
7273
72742013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
7275
7276 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
7277 ${Bash-specific parameter/pattern/string} parameter expansion.
7278 * sysdeps/unix/make-syscalls.sh: Likewise.
7279
f4518a17
KK
72802013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7281
7282 * sysdeps/sh/stackguard-macros.h: New file.
7283
dc1a95c7
OB
72842013-09-26 Ondřej Bílka <neleai@seznam.cz>
7285
7286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7287 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
7288 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
7289 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
7290 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7291 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
7292
5ebbff8f
AZ
72932013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7294
7295 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
7296 Fix thread ID register.
7297
4fd2cf9f
JM
72982013-09-25 Joseph Myers <joseph@codesourcery.com>
7299
7300 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
7301 [POSIX || UNIX98]: Require rather than permitting all symbols from
7302 <time.h>.
7303 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
7304 element of struct sched_param.
7305 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
7306 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
7307 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
7308 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
7309 constant.
7310
12c22bc4
OL
73112013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
7312
7313 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
7314 argument calculation.
7315
a03d8ea7
JM
73162013-09-24 Joseph Myers <joseph@codesourcery.com>
7317
7318 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
7319 Expect macro.
7320 [POSIX] (pthread_attr_t): Do not require type.
7321 [POSIX] (pthread_cond_t): Likewise.
7322 [POSIX] (pthread_condattr_t): Likewise.
7323 [POSIX] (pthread_key_t): Likewise.
7324 [POSIX] (pthread_mutex_t): Likewise.
7325 [POSIX] (pthread_mutexattr_t): Likewise.
7326 [POSIX] (pthread_once_t): Likewise.
7327 [POSIX] (pthread_t): Likewise.
7328 [POSIX-based standards] (pthread_atfork): Expect function.
7329
6055173a
JM
73302013-09-24 Joseph Myers <joseph@codesourcery.com>
7331 Richard Sandiford <richard@codesourcery.com>
7332
7333 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
7334 (swap_endianness_p): New extern variable.
7335 (set_big_endian): New inline function.
7336 (maybe_swap_uint32): Likewise.
7337 (maybe_swap_uint32_array): Likewise.
7338 (maybe_swap_uint32_obstack): Likewise.
7339 * locale/programs/locfile.c: Include <stdbool.h>.
7340 (swap_endianness_p): New variable.
7341 (add_locale_uint32): Call maybe_swap_uint32.
7342 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
7343 (write_locale_data): Call maybe_swap_uint32_array.
7344 * locale/programs/ld-collate.c (obstack_int32_grow): Call
7345 maybe_swap_uint32.
7346 (obstack_int32_grow_fast): Likewise.
7347 (output_weightwc): Call maybe_swap_uint32_obstack.
7348 (collate_output): Likewise.
7349 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
7350 (OPT_LITTLE_ENDIAN): Likewise.
7351 (options): Add --little-endian and --big-endian options.
7352 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
7353 * locale/programs/locarchive.c: Include "locfile.h".
7354 (GET): New macro.
7355 (SET): Likewise.
7356 (INC): Likewise.
7357 (create_archive): Use the new macros to access fields of
7358 structures directly mapped from or written to locale archives.
7359 (oldlocrecentcmp): Likewise.
7360 (enlarge_archive): Likewise.
7361 (insert_name): Likewise.
7362 (add_alias): Likewise.
7363 (add_locale): Likewise.
7364 (delete_locales_from_archive): Likewise.
7365 (show_archive_content): Likewise.
7366 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
7367 locale data.
7368
39bf0bb4
RM
73692013-09-24 Roland McGrath <roland@hack.frob.com>
7370
7371 * manual/freemanuals.texi: Updated from (newly) canonical copy at
7372 http://www.gnu.org/doc/freemanuals.texi.
7373 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
7374
f02eed10
WN
73752013-09-24 Will Newton <will.newton@linaro.org>
7376
7377 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
7378 macro.
7379
a3a6c312
JM
73802013-09-23 Joseph Myers <joseph@codesourcery.com>
7381
7382 * locale/hashval.h (compute_hashval): Interpret bytes of key as
7383 unsigned char.
7384
107375ac
MR
73852013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
7386
7387 * manual/threads.texi (POSIX Threads): Fix a typo.
7388
141f3a77
SP
73892013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7390
303e567a
SP
7391 [BZ #14547]
7392 * string/tst-strcoll-overflow.c: New test case.
7393 * string/Makefile (xtests): Add tst-strcoll-overflow.
7394 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
7395 cache if string sizes may cause integer overflow.
7396
141f3a77
SP
7397 [BZ #14547]
7398 * string/strcoll_l.c (coll_seq): New members rule, idx,
7399 save_idx and back_us.
7400 (get_next_seq_nocache): New function.
7401 (do_compare_nocache): New function.
7402 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
7403 when malloc fails.
7404
c61b4d41
CD
74052013-09-23 Carlos O'Donell <carlos@redhat.com>
7406
0b1f8e35
CD
7407 [BZ #15754]
7408 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
7409 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
7410 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
7411
c61b4d41
CD
7412 [BZ #15754]
7413 * elf/Makefile (tests): Add tst-ptrguard1.
7414 (tests-static): Add tst-ptrguard1-static.
7415 (tst-ptrguard1-ARGS): Define.
7416 (tst-ptrguard1-static-ARGS): Define.
7417 * elf/tst-ptrguard1.c: New file.
7418 * elf/tst-ptrguard1-static.c: New file.
7419 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
7420 * sysdeps/i386/stackguard-macros.h: Likewise.
7421 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
7422 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
7423 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
7424 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
7425 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
7426 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
7427
74282013-09-23 Hector Marco <hecmargi@upv.es>
7429 Ismael Ripoll <iripoll@disca.upv.es>
7430 Carlos O'Donell <carlos@redhat.com>
7431
7432 [BZ #15754]
7433 * sysdeps/generic/stackguard-macros.h: Define
7434 __pointer_chk_guard_local and POINTER_CHK_GUARD.
7435 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
7436 Define __pointer_chk_guard_local.
7437 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
7438 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
7439
f5f4e7b4
VV
74402013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
7441
7442 [BZ #15859]
7443 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
7444
5bb43a43
AS
74452013-09-20 Andreas Schwab <schwab@linux-m68k.org>
7446
7447 * include/string.h (__ffs): Declare as hidden.
7448 * string/ffs.c (__ffs): Define as hidden.
7449 * sysdeps/i386/ffs.c (__ffs): Likewise.
7450 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
7451 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
7452 * sysdeps/s390/ffs.c (__ffs): Likewise.
7453 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
7454
3ea5be54
AO
74552013-09-20 Alexandre Oliva <aoliva@redhat.com>
7456
ffb89e53
AO
7457 * NEWS: Mention malloc probes.
7458
322dea08
AO
7459 * malloc/arena.c (new_heap): New memory_heap_new probe.
7460 (grow_heap): New memory_heap_more probe.
7461 (shrink_heap): New memory_heap_less probe.
7462 (heap_trim): New memory_heap_free probe.
7463 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
7464 (systrim): New memory_sbrk_less probe.
7465 * manual/probes.texi: Document them.
7466
655673f3
AO
7467 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
7468 * manual/probes.texi: Document it.
7469
35fed6f1
AO
7470 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
7471 (__libc_realloc): Add memory_realloc_retry probe.
7472 (__libc_memalign): Add memory_memalign_retry probe.
7473 (__libc_valloc): Add memory_valloc_retry probe.
7474 (__libc_pvalloc): Add memory_pvalloc_retry probe.
7475 (__libc_calloc): Add memory_calloc_retry probe.
7476 * manual/probes.texi: Document them.
7477
6999d38c
AO
7478 * malloc/arena.c (get_free_list): Add probe
7479 memory_arena_reuse_free_list.
7480 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
7481 and memory_arena_reuse.
7482 (arena_get2) [!PER_THREAD]: Likewise.
7483 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
7484 memory_arena_reuse_realloc.
7485 * manual/probes.texi: Document them.
7486
0653427f
AO
7487 * malloc/malloc.c (__libc_free): Add
7488 memory_mallopt_free_dyn_thresholds probe.
7489 (__libc_mallopt): Add multiple memory_mallopt probes.
7490 * manual/probes.texi: Document them.
7491
3ea5be54
AO
7492 * malloc/malloc.c: Include stap-probe.h.
7493 (__libc_mallopt): Add memory_mallopt probe.
7494 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
7495 * manual/probes.texi: New.
7496 * manual/Makefile (chapters): Add probes.
7497 * manual/threads.texi: Set next node.
7498
e35696c3 74992013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 7500
e35696c3
CL
7501 [BZ #15963, #13985]
7502 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
7503 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
7504 Add `Chinese' to `nan' entry name.
7505
4aafb73c
SP
75062013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7507
7508 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
7509 (POLYNOMIAL): Likewise.
7510 (TAYLOR_SINCOS): Likewise.
7511 (TAYLOR_SLOW): Likewise.
7512 (__sin): Use TAYLOR_SINCOS.
7513 (__cos): Likewise.
7514 (slow): Use TAYLOR_SLOW.
7515 (sloww): Likewise.
7516 (bsloww): Likewise.
7517 (csloww): Likewise.
7518
d84f25c7
LD
75192013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7520
7521 * stdlib/strtod_l.c: Fix buffer overrun.
7522
5eea0404
SP
75232013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7524
7849ff93
SP
7525 * benchtests/Makefile (bench): Add sincos.
7526 * benchtests/bench-sincos.c: New file.
7527
cfa3c886
SP
7528 * math/libm-test.inc (cos_test_data): New test inputs.
7529 (sin_test_data): Likewise.
7530
b348e1e3
SP
7531 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
7532 macro.
7533 (__sin): Use it.
7534 (__cos): Likewise.
7535 (slow1): Likewise.
7536 (slow2): Likewise.
7537 (sloww1): Likewise.
7538 (sloww2): Likewise.
7539 (bsloww1): Likewise.
7540 (bsloww2): Likewise.
7541 (cslow2): Likewise.
7542 (csloww1): Likewise.
7543 (csloww2): Likewise.
7544
6cce25f8
SP
7545 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
7546 function.
7547 (__sin): Use it.
7548 (__cos): Likewise.
7549
5eea0404
SP
7550 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
7551 gotos.
7552 (__cos): Likewise.
7553
9c21573c
MR
75542013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
7555
7556 * config.h.in (HAVE_MIPS_NAN2008): New macro.
7557 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
7558 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
7559 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
7560 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
7561 * elf/cache.c (print_entry): Handle the new cache flags.
7562
24d22e65
JM
75632013-09-18 Joseph Myers <joseph@codesourcery.com>
7564 Aldy Hernandez <aldyh@redhat.com>
7565
7566 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
7567 Change condition to [_SOFT_FLOAT].
7568 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
7569 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
7570 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
7571 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
7572 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
7573 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
7574 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
7575 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
7576 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
7577 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
7578 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
7579 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
7580 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
7581 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
7582 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
7583 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
7584 declaration.
7585
d13ef066
JM
75862013-09-18 Joseph Myers <joseph@codesourcery.com>
7587
2e071de0
JM
7588 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
7589 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7590 (__longjmp): Use LOAD_GP to load saved GPRs.
7591 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
7592 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
7593 (__sigsetjmp): Use SAVE_GP to save GPRs.
7594
d13ef066
JM
7595 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
7596 Do not append -msoft-float.
7597 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
7598
97a0650b
SP
75992013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7600
7601 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
7602
11ca09e9
JM
76032013-09-17 Joseph Myers <joseph@codesourcery.com>
7604
7605 [BZ #15966]
7606 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
7607 (_FPU_GETCW): Use initial "__" on variable and field names but not
7608 on macro parameter name.
7609 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
7610 parentheses around reference to macro parameter.
7611
08ffcf34
RS
76122013-09-13 Richard Sandiford <richard@codesourcery.com>
7613
7614 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
7615 prototype.
7616 (ctype_startup): Use uint32_t in cast and sizeof for
7617 ctype->charnames.
7618
ae7080d3
JL
76192013-09-11 Jia Liu <proljc@gmail.com>
7620
7621 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
7622 __daddr_t_defined.
7623 [__FreeBSD__]: Likewise.
7624
5905e7b3
OB
76252013-09-11 Ondřej Bílka <neleai@seznam.cz>
7626
7627 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7628 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
7629 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
7630 (strchr): Remove __strchr_sse42 ifunc selection.
7631 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
7632 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
7633
b987c776
WN
76342013-09-11 Will Newton <will.newton@linaro.org>
7635
7636 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
7637 parameter to RES. Remove hardcoded 1000 value.
7638 * benchtests/bench-skeleton.c (main): Pass RES parameter
7639 to TIMING_INIT and multiply result by 1000.
7640
ddf985af
AZ
76412013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7642
7643 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7644
ffdd3181
AS
76452013-09-11 Andreas Schwab <schwab@suse.de>
7646
7647 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
7648 if not defined.
7649 (O_TMPFILE) [__USE_GNU]: Define.
7650 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
7651 Define.
7652
b73ed247
WN
76532013-09-11 Will Newton <will.newton@linaro.org>
7654
7655 [BZ #15857]
7656 * malloc/malloc.c (__libc_memalign): Check the value of bytes
7657 does not overflow.
7658
55e17aad
WN
76592013-09-11 Will Newton <will.newton@linaro.org>
7660
7661 [BZ #15856]
7662 * malloc/malloc.c (__libc_valloc): Check the value of bytes
7663 does not overflow.
7664
1159a193
WN
76652013-09-11 Will Newton <will.newton@linaro.org>
7666
7667 [BZ #15855]
7668 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
7669 does not overflow.
7670
5905e7b3 76712013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
7672
7673 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
7674 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7675 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7676 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7677 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7678
cdfc721b
AM
76792013-09-10 Allan McRae <allan@archlinux.org>
7680
aa04af00
AM
7681 [BZ #15748]
7682 * manual/arith.texi (Parsing of Floats): Clarify
7683 cross-reference.
7684
cdfc721b
AM
7685 [BZ #15849]
7686 * manual/install.texi (Running make install): Mention
7687 --enable-pt-chown.
7688 * INSTALL: Regenerated.
7689
95e7cf29
MR
76902013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
7691
7692 * csu/init-first.c (_init): Remove the !SHARED condition around
7693 FPU control word initialization.
7694 * elf/dl-support.c (_dl_fpu_control): New variable.
7695 (_dl_aux_init) <AT_FPUCW>: Initialize it.
7696 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
7697 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
7698 * math/test-fpucw-static.c: New file.
7699 * math/test-fpucw-ieee.c: New file.
7700 * math/test-fpucw-ieee-static.c: New file.
7701 * math/Makefile (tests): Add `test-fpucw-ieee' and
7702 `$(tests-static)'.
7703 (tests-static): New variable.
7704 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
7705 dependency to...
7706 [($(build-shared),yes)]
7707 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
7708 ... this.
7709 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
7710 New dependency.
7711
83e43bf0
AM
77122013-09-09 Allan McRae <allan@archlinux.org>
7713
a9f5ce09
AM
7714 [BZ #15939]
7715 * manual/string.texi (Collation Functions): Fix typo in
7716 strcoll example.
7717 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
7718
34829bc2
AM
7719 [BZ #15893]
7720 * stdlib/isomac.c (get_null_defines): Fix memory leak.
7721
3932737d
AM
7722 [BZ #15892]
7723 * libio/memstream.c (open_memstream): Fix memory leak.
7724 * libio/wmemstream.c (open_wmemstream): Likewise.
7725
83e43bf0
AM
7726 [BZ #15895]
7727 * nscd/netgroupcache.c: Fix nesting of ifdefs.
7728
0c66b8e9
WN
77292013-09-09 Will Newton <will.newton@linaro.org>
7730
7731 * malloc/Makefile: Add tst-realloc to tests.
7732 * malloc/tst-realloc.c: New file.
7733
f6b00fd1
AM
77342013-09-09 Allan McRae <allan@archlinux.org>
7735
7736 [BZ #15844]
7737 * COPYING: Update from GNU website to fix FSF address.
7738 * COPYING.LIB: Likewise.
7739
eec55e16
DM
77402013-09-06 David S. Miller <davem@davemloft.net>
7741
7742 * po/zh_TW.po: Update Chinese (traditional) translation from
7743 translation project.
7744
1ecbb381
RS
77452013-09-06 Richard Sandiford <richard@codesourcery.com>
7746 Joseph Myers <joseph@codesourcery.com>
7747
7748 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
7749 "localeinfo.h".
7750 (obstack_chunk_alloc): New macro.
7751 (obstack_chunk_free): Likewise.
7752 (record_offset): New function.
7753 (init_locale_data): Likewise.
7754 (align_locale_data): Likewise.
7755 (add_locale_empty): Likewise.
7756 (add_locale_raw_data): Likewise.
7757 (add_locale_raw_obstack): Likewise.
7758 (add_locale_string): Likewise.
7759 (add_locale_wstring): Likewise.
7760 (add_locale_uint32): Likewise.
7761 (add_locale_uint32_array): Likewise.
7762 (add_locale_char): Likewise.
7763 (start_locale_structure): Likewise.
7764 (end_locale_structure): Likewise.
7765 (start_locale_prelude): Likewise.
7766 (end_locale_prelude): Likewise.
7767 (write_locale_data): Take locale_file structure rather than an
7768 iovec.
7769 * locale/programs/locfile.h: Include "obstack.h".
7770 (struct locale_file): Change to store locale file contents instead
7771 of header.
7772 (init_locale_data): New prototype.
7773 (align_locale_data): Likewise.
7774 (add_locale_empty): Likewise.
7775 (add_locale_raw_data): Likewise.
7776 (add_locale_raw_obstack): Likewise.
7777 (add_locale_string): Likewise.
7778 (add_locale_wstring): Likewise.
7779 (add_locale_uint32): Likewise.
7780 (add_locale_uint32_array): Likewise.
7781 (add_locale_char): Likewise.
7782 (start_locale_structure): Likewise.
7783 (end_locale_structure): Likewise.
7784 (start_locale_prelude): Likewise.
7785 (end_locale_prelude): Likewise.
7786 (write_locale_data): Update prototype.
7787 * locale/programs/3level.h (struct TABLE): Remove result field.
7788 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
7789 Use new locale_file interface.
7790 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
7791 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
7792 * locale/programs/ld-address.c (address_output): Use new
7793 locale_file interface.
7794 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
7795 NO_ADD_LOCALE.
7796 (collate_finish): Don't call collseq_table_finalize.
7797 (collate_output): Use new locale_file interface.
7798 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
7799 in file.
7800 (NO_FINALIZE): Change to NO_ADD_LOCALE.
7801 (TABLE): Move defines earlier in file.
7802 (ELEMENT): Likewise.
7803 (DEFAULT): Likewise.
7804 (wctrans_table_add): Move macro and inline function earlier in
7805 file.
7806 (struct wctype_table): Move type earlier in file.
7807 (add_locale_wctype_table): New static prototype.
7808 (struct locale_ctype_t): Use logical types instead of struct iovec
7809 pointers for members.
7810 (ctype_output): Use new locale_file interface.
7811 (wctype_table_finalize): Change to add_locale_wctype_table. Use
7812 new locale_file interface.
7813 (allocate_arrays): Update for use of new locale_file interface.
7814 * locale/programs/ld-identification.c (identification_output): Use
7815 new locale_file interface.
7816 * locale/programs/ld-measurement.c (measurement_output): Likewise.
7817 * locale/programs/ld-messages.c (messages_output): Likewise.
7818 * locale/programs/ld-monetary.c (monetary_output): Likewise.
7819 * locale/programs/ld-name.c (name_output): Likewise.
7820 * locale/programs/ld-numeric.c (numeric_output): Likewise.
7821 * locale/programs/ld-paper.c (paper_output): Likewise.
7822 * locale/programs/ld-telephone.c (telephone_output): Likewise.
7823 * locale/programs/ld-time.c (time_output): Likewise.
7824
e029e2e5
AZ
78252013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7826
7827 * benchtests/Makefile: Add memrchr benchmark.
7828 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
7829 benchmark as memrchr.
7830 * benchtests/bench-memrchr-ifunc.c: New file.
7831 * benchtests/bench-memrchr.c: New file.
7832
bbf6e8e4
WN
78332013-09-06 Will Newton <will.newton@linaro.org>
7834
7835 * benchtests/Makefile (string-bench): Add memcpy.
7836
6c82a2f8
CD
78372013-09-05 Carlos O'Donell <carlos@redhat.com>
7838 Cong Wang <amwang@redhat.com>
7839
e732c5f0 7840 [BZ #15850]
6c82a2f8
CD
7841 * sysdeps/unix/sysv/linux/bits/in.h
7842 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
7843 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
7844 before __USE_KERNEL_IPV6_DEFS uses.
7845 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
7846 IPPROTO_BEETPH.
7847 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
7848 sockaddr_in6, or ipv6_mreq.
7849
5430fc65
AZ
78502013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7851
7852 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
7853 memory access for final bytes in some large inputs.
7854 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
7855
4660856c
AZ
78562013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7857
7858 * string/test-memrchr.c: New file.
7859 * string/test-memrchr-ifunc.c: New file.
7860 * string/Makefile: Add new memrchr testcase.
7861
bb8ea713
MF
78622013-09-05 Mike Frysinger <vapier@gentoo.org>
7863
7864 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
7865 fanotify_init returns EPERM.
7866
b92a20b5
JM
78672013-09-04 Joseph Myers <joseph@codesourcery.com>
7868
7869 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
7870 errors.
7871 (top level): Treat second token from macro or constant entries for
7872 allowed headers as allowed.
7873 * include/complex.h: Condition internal declarations on
7874 [!_ISOMAC].
7875 * include/fenv.h: Condition include of <stdbool.h> and internal
7876 declarations on [!_ISOMAC].
7447ccd9
CL
7877
78782013-09-04 Chris Leonard <cjl@sugarlabs,.org>
7879
3e181dda 7880 [BZ #15923]
7447ccd9
CL
7881 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
7882
3f2e46a4
JM
78832013-09-04 Joseph Myers <joseph@codesourcery.com>
7884
7885 * configure.in (--enable-versioning): Remove configure option.
7886 (libc_cv_asm_symver_directive): Remove configure test.
7887 (libc_cv_ld_version_script_option): Likewise.
7888 (VERSIONING): Remove variable and AC_SUBST.
7889 (DO_VERSIONING): Remove AC_DEFINE.
7890 * configure: Regenerated.
7891 * config.h.in (DO_VERSIONING): Remove macro.
7892 * Makerules [$(versioning) = yes]: Change conditionals to
7893 [$(build-shared) = yes].
7894 * config.make.in (versioning): Remove variable.
7895 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
7896 [$(build-shared) = yes].
7897 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
7898 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
7899 * elf/Makefile [$(versioning) = yes]: Change conditionals to
7900 [$(build-shared) = yes].
7901 * extra-lib.mk [$(versioning) = yes]: Likewise.
7902 * hurd/Makefile [$(versioning) = yes]: Likewise.
7903 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
7904 [SHARED].
7905 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
7906 [SHARED].
7907 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7908 [SHARED && !NO_HIDDEN].
7909 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
7910 [SHARED].
7911 [SHARED && DO_VERSIONING]: Likewise..
7912 * libio/Makefile [$(versioning) = yes]: Change conditionals to
7913 [$(build-shared) = yes].
7914 * manual/install.texi (--disable-versioning): Remove
7915 documentation.
7916 * INSTALL: Regenerated.
7917 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
7918 to [SHARED].
7919 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
7920 [$(build-shared) = yes].
7921 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
7922 * sysdeps/i386/i686/multiarch/strstr-c.c
7923 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
7924 [SHARED && !NO_HIDDEN].
7925 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
7926 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
7927 * sysdeps/powerpc/powerpc32/dl-machine.c
7928 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
7929 * sysdeps/powerpc/powerpc32/sysdep.h
7930 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
7931 to [SHARED && PIC && !NO_HIDDEN].
7932 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
7933 conditional to [SHARED].
7934
44558701
WN
79352013-09-04 Will Newton <will.newton@linaro.org>
7936
7937 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
7938 * benchtests/bench-string.h: Include bench-timing.h instead
7939 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
7940 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
7941 call to HP_TIMING_DIFF_INIT.
7942 * benchtests/bench-memccpy.c: Use bench-timing.h macros
7943 instead of hp-timing.h macros.
7944 * benchtests/bench-memchr.c: Likewise.
7945 * benchtests/bench-memcmp.c: Likewise.
7946 * benchtests/bench-memcpy.c: Likewise.
7947 * benchtests/bench-memmem.c: Likewise.
7948 * benchtests/bench-memmove.c: Likewise.
7949 * benchtests/bench-memset.c: Likewise.
7950 * benchtests/bench-rawmemchr.c: Likewise.
7951 * benchtests/bench-strcasecmp.c: Likewise.
7952 * benchtests/bench-strcasestr.c: Likewise.
7953 * benchtests/bench-strcat.c: Likewise.
7954 * benchtests/bench-strchr.c: Likewise.
7955 * benchtests/bench-strcmp.c: Likewise.
7956 * benchtests/bench-strcpy.c: Likewise.
7957 * benchtests/bench-strcpy_chk.c: Likewise.
7958 * benchtests/bench-strlen.c: Likewise.
7959 * benchtests/bench-strncasecmp.c: Likewise.
7960 * benchtests/bench-strncat.c: Likewise.
7961 * benchtests/bench-strncmp.c: Likewise.
7962 * benchtests/bench-strncpy.c: Likewise.
7963 * benchtests/bench-strnlen.c: Likewise.
7964 * benchtests/bench-strpbrk.c: Likewise.
7965 * benchtests/bench-strrchr.c: Likewise.
7966 * benchtests/bench-strspn.c: Likewise.
7967 * benchtests/bench-strstr.c: Likewise.
7968
cae16d66
WN
79692013-09-04 Will Newton <will.newton@linaro.org>
7970
7971 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
7972
ffa3cd7f
JM
79732013-09-03 Joseph Myers <joseph@codesourcery.com>
7974
7975 [BZ #15427]
7976 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
7977 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
7978 * math/libm-test.inc (lgamma_test_data): Add more tests.
7979 * sysdeps/i386/fpu/libm-test-ulps: Update.
7980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7981
8f02859f
OB
79822013-09-03 Ondřej Bílka <neleai@seznam.cz>
7983
7984 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
7985 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7986 Add ifunc.
7987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7988 Add strcmp-sse2-unaligned
7989 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
7990
18d43716
MF
79912013-09-02 Mike Frysinger <vapier@gentoo.org>
7992
7993 * Versions.def (libc): Add GLIBC_2.19.
7994
ac444012
MF
79952013-09-02 Mike Frysinger <vapier@gentoo.org>
7996
7997 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
7998 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
7999
b7835e32
JM
80002013-09-02 Joseph Myers <joseph@codesourcery.com>
8001
8002 [BZ #14155]
8003 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
8004 intermediate calculations in recurrence.
8005 (__ieee754_ynf): Likewise.
8006 * math/libm-test.inc (jn_test_data): Do not allow spurious
8007 underflow exception. Add more tests.
8008 (yn_test_data): Add more tests.
8009 * sysdeps/i386/fpu/libm-test-ulps: Update.
8010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8011
8220f4f0
OB
80122013-09-02 Ondřej Bílka <neleai@seznam.cz>
8013
8014 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
8015
f24a6d08
OB
80162013-08-30 Ondřej Bílka <neleai@seznam.cz>
8017
8018 * csu/init-first.c: Fix then/than typos.
8019 * locale/programs/ld-collate.c: Likewise.
8020 * locale/programs/linereader.h: Likewise.
8021 * manual/charset.texi: Likewise.
8022 * manual/filesys.texi: Likewise.
8023 * manual/stdio.texi: Likewise.
8024 * manual/string.texi: Likewise.
8025 * stdlib/fmtmsg.c: Likewise.
8026 * sysdeps/i386/stpncpy.S: Likewise.
8027 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8028 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8029 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8030 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8031
382466e0
OB
80322013-08-30 Ondřej Bílka <neleai@seznam.cz>
8033
8034 * elf/dl-open.c: Fix typos.
8035 * iconvdata/gbbig5.c: Likewise.
8036 * iconvdata/iso-2022-jp.c: Likewise.
8037 * iconv/gconv_int.h: Likewise.
8038 * iconv/loop.c: Likewise.
8039 * nis/rpcsvc/nis.h: Likewise.
8040 * resolv/ns_name.c: Likewise.
8041 * stdio-common/vfscanf.c: Likewise.
8042 * streams/stropts.h: Likewise.
8043 * sunrpc/rpc_thread.c: Likewise.
8044 * sysdeps/i386/strpbrk.S: Likewise.
8045 * sysdeps/ieee754/k_standard.c: Likewise.
8046 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8047 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8048 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
8049 * sysdeps/mach/hurd/profil.c: Likewise.
8050 * sysdeps/s390/dl-procinfo.h: Likewise.
8051 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
8052 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
8053 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
8054 * sysdeps/x86_64/dl-trampoline.S: Likewise.
8055 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8056
0186c6e9
OB
80572013-08-30 Ondřej Bílka <neleai@seznam.cz>
8058
8059 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
8060 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
8061
d4e16af1
OB
80622013-08-29 Ondřej Bílka <neleai@seznam.cz>
8063
8064 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
8065 aix specific files.
8066 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
8067 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
8068 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
8069 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
8070 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
8071 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
8072 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
8073 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
8074
88335980
TS
80752013-08-29 Thomas Schwinge <thomas@codesourcery.com>
8076 Roland McGrath <roland@hack.frob.com>
8077
8078 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
8079 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
8080
ed479b02
ST
80812013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
8082
8083 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
8084 __executable_start symbol instead of _start.
8085
f1cc4c86
TS
80862013-08-29 Thomas Schwinge <thomas@codesourcery.com>
8087
d821f07c
TS
8088 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
8089 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
8090 Move macros to...
8091 * sysdeps/gnu/ldsodefs.h: ... this new file.
8092
c54290cf
TS
8093 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
8094 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
8095 instead of ELFOSABI_LINUX.
8096
0007fc9b 8097 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
8098 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
8099 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
8100 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
8101 Likewise.
8102 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
8103 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
8104 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
8105 Likewise.
8106 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8107 (ibm_extended_long_double): Add ieee_nan member.
8108 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
8109 (do_test): New function.
8110
f1cc4c86
TS
8111 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
8112 TEST_TRUNC.
8113 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
8114 functions, renamed from truncdfsf_test, trunctfsf_test,
8115 trunctfdf_test.
8116 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
8117 functions.
8118 (do_test): Run all these.
8119
6f65e668
OB
81202013-08-29 Ondřej Bílka <neleai@seznam.cz>
8121
8122 * argp/argp-help.c: Fix typos.
8123 * argp/argp-parse.c: Likewise.
8124 * debug/backtracesyms.c: Likewise.
8125 * elf/elf.h: Likewise.
8126 * malloc/malloc.c: Likewise.
8127 * nis/nis_print.c: Likewise.
8128 * resolv/res_comp.c: Likewise.
8129 * stdlib/stdlib.h: Likewise.
8130 * sunrpc/clnt_tcp.c: Likewise.
8131 * sunrpc/clnt_udp.c: Likewise.
8132 * sunrpc/clnt_unix.c: Likewise.
8133 * sysdeps/unix/bsd/ptsname.c: Likewise.
8134 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8135 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
8136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
8137 Likewise.
8138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
8139 Likewise.
8140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
8141 Likewise.
6f65e668
OB
8142 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
8143
3a309239
SP
81442013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8145
8146 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
8147 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8148
3b813b29
MF
81492013-08-27 Mike Frysinger <vapier@gentoo.org>
8150
8151 [BZ #15897]
8152 * dlfcn/Makefile (tests): Add bug-dl-leaf.
8153 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
8154 ($(objpfx)bug-dl-leaf): New rule.
8155 ($(objpfx)bug-dl-leaf.so): Likewise.
8156 ($(objpfx)bug-dl-leaf.out): Likewise.
8157 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
8158 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
8159 * dlfcn/bug-dl-leaf.c: New test.
8160 * dlfcn/bug-dl-leaf-lib.c: Likewise.
8161 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
8162 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
8163 (dlclose): Likewise.
8164 (dlmopen): Likewise.
8165
8cc3269f
RM
81662013-08-27 Roland McGrath <roland@hack.frob.com>
8167
7f9d0034
RM
8168 * include/netdb.h [!_ISOMAC]:
8169 Don't include <tls.h>.
8170 (h_errno, __libc_h_errno): Move declaration and macros out of
8171 [_LIBC_REENTRANT].
8172
fb431262
RM
8173 * include/resolv.h [_RESOLV_H_]:
8174 Don't include <tls.h>.
8175 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
8176 * resolv/res_libc.c: Don't include <tls.h>.
8177 (_res): Use __attribute__ ((nocommon)) in place of
8178 __attribute__ ((section (".bss"))).
8179
bd81123a
RM
8180 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
8181 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
8182
c4e42566
RM
8183 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
8184
f890a59b
RM
8185 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
8186 only under [SIOCGIFCONF && SIOCGIFNETMASK].
8187
8188 * resolv/res_mkquery.c: Include <sys/time.h>.
8189
5d1f0a09
RM
8190 * inet/ifreq.c: Moved to ...
8191 * sysdeps/unix/ifreq.c: ... here.
8192 * inet/ifreq.c: New file, true stub version.
8193
6fcf28b3
RM
8194 * socket/sa_len.c: New file.
8195 * socket/Makefile (aux): Add it.
8196 * sysdeps/unix/sysv/linux/Makefile
8197 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
8198 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
8199 and #include <socket/sa_len.c>.
8200 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
8201 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
8202
e041fb8b
RM
8203 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
8204 * bits/socket.h: ... here.
8205
8cc3269f
RM
8206 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
8207 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
8208 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
8209
5d228a43
AS
82102013-08-27 Andreas Schwab <schwab@suse.de>
8211
45b8accc
AS
8212 [BZ #15736]
8213 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
8214 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
8215 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
8216 * string/test-strcasecmp.c (test_main): Run tests in several
8217 locales.
8218 * string/test-strncasecmp.c (test_main): Likewise.
8219
5d228a43
AS
8220 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
8221 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
8222 to __strcasecmp_nonascii and __strncasecmp_nonascii.
8223 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
8224 (__strncasecmp_ssse3) [PIC]: Likewise.
8225
59d112a4
RM
82262013-08-26 Roland McGrath <roland@hack.frob.com>
8227
53234cc3
RM
8228 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
8229
59d112a4
RM
8230 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
8231 instead of explicitly declaring xdecrypt.
8232 * nis/nss_nis/nis-publickey.c: Likewise.
8233
595aba70
SP
82342013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8235
8236 [BZ #15890]
8237 * nscd/aicache.c: Include res_hconf.h.
8238 (addhstaiX): Initialize res_hconf.
8239
ffabd393
AS
82402013-08-26 Andreas Schwab <schwab@suse.de>
8241
8242 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
8243 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
8244
e0a69f5c
SP
82452013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8246
8247 * nscd/aicache.c (addhstaiX): Fix indentation.
8248
8c12f01d
MF
82492013-08-25 Mike Frysinger <vapier@gentoo.org>
8250
8251 * configure.ac: Quote $build_pt_chown test.
8252 * configure: Regenerated.
8253
8fe89494
JM
82542013-08-23 Joseph Myers <joseph@codesourcery.com>
8255
8256 [BZ #15532]
8257 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
8258 * math/s_cexpf.c (__cexpf): Likewise.
8259 * math/s_cexpl.c (__cexpl): Likewise.
8260 * math/libm-test.inc (cexp_test_data): Correct expected return
8261 value for NaN + i0. Add another test.
8262
75b181d6
DM
82632013-08-22 David S. Miller <davem@davemloft.net>
8264
8265 * po/ca.po: Update Catalan translation from translation project.
936241e4 8266 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 8267
acd06bb1
JM
82682013-08-21 Joseph Myers <joseph@codesourcery.com>
8269
8270 [BZ #15797]
8271 * math/s_fdim.c (__fdim): Check for infinite arguments if result
8272 is infinite, not alongside NaN test.
8273 * math/s_fdimf.c (__fdimf): Likewise.
8274 * math/s_fdiml.c (__fdiml): Likewise.
8275 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
8276 errno is unchanged.
8277
c0c3f78a
OB
82782013-08-21 Ondřej Bílka <neleai@seznam.cz>
8279
8280 * argp/argp-help.c: Fix typos.
8281 * crypt/speeds.c: Likewise.
8282 * csu/check_fds.c: Likewise.
8283 * elf/dl-load.c: Likewise.
8284 * elf/dl-open.c: Likewise.
8285 * elf/reldep3.c: Likewise.
8286 * elf/reldep.c: Likewise.
8287 * elf/sprof.c: Likewise.
8288 * iconv/iconv_charmap.c: Likewise.
8289 * iconv/skeleton.c: Likewise.
8290 * iconv/strtab.c: Likewise.
8291 * io/lockf64.c: Likewise.
8292 * libio/libioP.h: Likewise.
8293 * resolv/gai_notify.c: Likewise.
8294 * resolv/ns_name.c: Likewise.
8295 * resolv/ns_samedomain.c: Likewise.
8296 * resolv/res_send.c: Likewise.
8297 * stdlib/random.c: Likewise.
8298 * sunrpc/rpc/xdr.h: Likewise.
8299 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
8300 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
8301 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
8302 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
8303 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
8304 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
8305 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
8306 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
8307 * sysdeps/mach/hurd/check_fds.c: Likewise.
8308 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8309 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8310 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8311 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8312 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8313 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8314 * sysdeps/pthread/aio_notify.c: Likewise.
8315 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
8316 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
8317 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
8318 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8319 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
8320
46ed1038
LD
83212013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8322
8323 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
8324 version if bit_Slow_SSE4_2 is set.
8325 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8326 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
8327
d400dcac
AZ
83282013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8329
8330 [BZ #15867]
8331 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
8332 trampoline stack frame information.
8333 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
8334 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
8335 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
8336 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
8337 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
8338 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8339 (_libc_vdso_platform_setup): Initialize the signal trampolines.
8340 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
8341 sa_flags value.
8342 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
8343 interrupting a syscall and set with option SA_SIGINFO.
8344
42c8fdd8
JM
83452013-08-20 Joseph Myers <joseph@codesourcery.com>
8346
c980f2f4
JM
8347 [BZ #15531]
8348 * math/s_cproj.c (__cproj): Only return an infinity if one part of
8349 argument is infinite.
8350 * math/s_cprojf.c (__cprojf): Likewise.
8351 * math/s_cprojl.c (__cprojl): Likewise.
8352 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
8353 * math/libm-test.inc (cproj_test_data): Add more tests.
8354
0716c4fc
JM
8355 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
8356
42c8fdd8
JM
8357 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
8358 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
8359 size. Use __ffs to determine corresponding shift.
8360
b31469d0
JM
83612013-08-20 Joseph Myers <joseph@codesourcery.com>
8362 Roland McGrath <roland@hack.frob.com>
8363
8364 * Makefile (INSTALL): Remove trailing blank lines from output of
8365 makeinfo.
8366
4e39af6e
AK
83672013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8368
8369 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
8370 Align 32 bit compat elf_greg to 8 bytes.
8371
f315524e
AA
83722013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
8373
8374 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
8375
1326ba1a
SP
83762013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8377
8378 * string/strcoll_l.c (coll_seq): New structure.
8379 (get_next_seq_cached): New function.
8380 (get_next_seq): New function.
8381 (do_compare): New function.
8382 (STRCOLL): Use GNU style definition. Simplify implementation
8383 by using get_next_seq, get_next_seq_cached and do_compare.
8384
91ce4085
FW
83852013-08-16 Florian Weimer <fweimer@redhat.com>
8386
8387 [BZ #14699]
8388 CVE-2013-4237
8389 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
8390 member.
8391 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
8392 member.
8393 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
8394 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
8395 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
8396 conditional.
8397 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
8398 GETDENTS_64BIT_ALIGNED.
8399 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
8400 * manual/filesys.texi (Reading/Closing Directory): Document
8401 ENAMETOOLONG return value of readdir_r. Recommend readdir more
8402 strongly.
8403 * manual/conf.texi (Limits for Files): Add portability note to
8404 NAME_MAX, PATH_MAX.
8405 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
8406
ca0a6bc4
AS
84072013-08-13 Andreas Schwab <schwab@suse.de>
8408
8409 [BZ #15749]
8410 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
8411 of fabs.
8412 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
8413 LDBL_MAX_EXP >= 16384]: Add tests for it.
8414
6c1fd795
DM
84152013-08-12 David S. Miller <davem@davemloft.net>
8416
8417 * version.h (RELEASE): Set to "development".
8418 (VERSION): Set to "2.18.90".
8419 * NEWS: Add 2.19 section.
8420
31ad488d
DM
84212013-08-03 David S. Miller <davem@davemloft.net>
8422
8423 * po/ko.po: Update Korean translation from translation project.
8424
db24e684
DM
84252013-08-01 David S. Miller <davem@davemloft.net>
8426
8427 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
8428 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
8429 Bilka.
8430
f723285b
DM
84312013-07-30 David S. Miller <davem@davemloft.net>
8432
8433 * po/fr.po: Update French translation from translation project.
8434
3cbc52db
DM
84352013-07-28 David S. Miller <davem@davemloft.net>
8436
30bbc0cc
DM
8437 * po/cs.po: Update Czech translation from translation project.
8438
3cbc52db
DM
8439 * po/sv.po: Update Swedish translation from translation project.
8440
d492e6d0
DM
84412013-07-27 David S. Miller <davem@davemloft.net>
8442
f1a7f492
DM
8443 * po/eo.po: Update Esperanto translation from translation project.
8444
90e62a4a
DM
8445 * po/vi.po: Update Vietnamese translation from translation project.
8446
d492e6d0
DM
8447 * po/de.po: Update German translation from translation project.
8448
d4baa62d
DM
84492013-07-26 David S. Miller <davem@davemloft.net>
8450
641aa7b4
DM
8451 * po/bg.po: Update Bulgarian translation from translation project.
8452
d4baa62d
DM
8453 * po/nl.po: Update Dutch translation from translation project.
8454 * po/pl.po: Update Polish translation from translation project.
8455 * po/ru.po: Update Russian translation from translation project.
8456
61a9dcb9
DM
84572013-07-24 David S. Miller <davem@davemloft.net>
8458
8459 * po/libc.pot: Update.
8460
7b1f8b58
AZ
84612013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8462
8463 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
8464 variable page size.
8465 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
8466 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
8467 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
8468
a8fc7a03
AK
84692013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8470
8471 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
8472
e4608715
CD
84732013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8474 Andreas Schwab <schwab@suse.de>
8475 Roland McGrath <roland@hack.frob.com>
8476 Joseph Myers <joseph@codesourcery.com>
8477 Carlos O'Donell <carlos@redhat.com>
8478
8479 [BZ #15755]
8480 * config.h.in: Define HAVE_PT_CHOWN.
8481 * config.make.in (build-pt-chown): New variable.
8482 * configure.in (--enable-pt_chown): New configure option.
8483 * configure: Regenerate.
8484 * login/Makefile: Include Makeconfig. Build pt_chown only if
8485 build-pt-chown is enabled.
8486 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
8487 pt_chown to fix pty ownership.
8488 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
8489 CLOSE_ALL_FDS.
8490 * manual/install.texi (Configuring and compiling): Mention
8491 --enable-pt_chown. Add @findex for grantpt.
8492 * INSTALL: Regenerate.
8493
da2d62df
DM
84942013-07-20 David S. Miller <davem@davemloft.net>
8495
8496 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
8497 difference between 32-bit and 64-bit.
8498
d7e06450
CD
84992013-07-15 Carlos O'Donell <carlos@redhat.com>
8500
8501 [BZ #15711]
8502 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
8503 Avoid system header dependency with -ffreestanding.
8504 ($(objpfx)bits/syscall%d): Likewise.
8505
f959cfd7
DM
85062013-07-13 David S. Miller <davem@davemloft.net>
8507
8508 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
8509 underflows from atanl/atan2l due to bug 15319.
8510 (casinh_test_data): Likewise.
8511
c61f8513
DM
85122013-07-07 David S. Miller <davem@davemloft.net>
8513
8514 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8515
72c90ed0
JA
85162013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
8517
8518 * sysdeps/i386/fpu/libm-test-ulps: Update.
8519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8520
52dfbe13
SP
85212013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8522
8523 * configure.in (--enable-lock-elision): Fix message text.
8524 * INSTALL: Regenerate.
8525 * configure: Regenerate.
8526
3f169543
AZ
85272013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8528
8529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8530
521c6785
AJ
85312013-07-03 Andreas Jaeger <aj@suse.de>
8532
8533 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
8534 define.
8535 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
8536 (ptrace_peeksiginfo_args): Add.
8537 (__ptrace_peeksiginfo_flags): Add.
8538 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8539 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8540 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8541
d2cc15cb
AM
85422013-07-03 Allan McRae <allan@archlinux.org>
8543
8544 * sysdeps/i386/fpu/libm-test-ulps: Update.
8545
3aaeeca7
DM
85462013-07-02 David S. Miller <davem@davemloft.net>
8547
8548 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8549
5314ed1a
MT
85502013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
8551
8552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8553
67338156
JM
85542013-07-02 Joseph Myers <joseph@codesourcery.com>
8555
8556 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8557 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8558
1717da59
AK
85592013-07-02 Andi Kleen <ak@linux.intel.com>
8560
8561 * config.h.in (ENABLE_LOCK_ELISION): Add.
8562 * configure.in (--enable-lock-elision): Add option.
8563 * manual/install.texi: Document --enable lock elision.
8564 * configure: Regenerate
8565 * INSTALL: Regenerate.
8566
1c81621c
L
85672013-07-02 H.J. Lu <hongjiu.lu@intel.com>
8568
8569 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
8570 SSE4.2 strcasecmp for libc.a.
8571 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
8572
77f01ab5
JM
85732013-07-02 Joseph Myers <joseph@codesourcery.com>
8574
8575 [BZ #13304]
8576 * soft-fp/op-common.h (_FP_FMA): New macro.
8577 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
8578 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
8579 (_FP_MUL_MEAT_1_imm): ... here.
8580 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
8581 (_FP_MUL_MEAT_1_wide): ... here.
8582 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
8583 (_FP_MUL_MEAT_1_hard): ... here.
8584 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
8585 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
8586 (_FP_MUL_MEAT_2_wide): ... here.
8587 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
8588 (_FP_MUL_MEAT_2_wide_3mul): ... here.
8589 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
8590 (_FP_MUL_MEAT_2_gmp): ... here.
8591 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
8592 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
8593 (_FP_MUL_MEAT_4_wide): ... here.
8594 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
8595 (_FP_MUL_MEAT_4_gmp): ... here.
8596 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
8597 (_FP_WFRACBITS_DW_S): Likewise.
8598 (_FP_WFRACXBITS_DW_S): Likewise.
8599 (_FP_HIGHBIT_DW_S): Likewise.
8600 (FP_FMA_S): Likewise.
8601 (_FP_FRAC_HIGH_DW_S): Likewise.
8602 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
8603 (_FP_WFRACBITS_DW_D): Likewise.
8604 (_FP_WFRACXBITS_DW_D): Likewise.
8605 (_FP_HIGHBIT_DW_D): Likewise.
8606 (FP_FMA_D): Likewise.
8607 (_FP_FRAC_HIGH_DW_D): Likewise.
8608 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
8609 (_FP_WFRACBITS_DW_E): Likewise.
8610 (_FP_WFRACXBITS_DW_E): Likewise.
8611 (_FP_HIGHBIT_DW_E): Likewise.
8612 (FP_FMA_E): Likewise.
8613 (_FP_FRAC_HIGH_DW_E): Likewise.
8614 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
8615 (_FP_WFRACBITS_DW_Q): Likewise.
8616 (_FP_WFRACXBITS_DW_Q): Likewise.
8617 (_FP_HIGHBIT_DW_Q): Likewise.
8618 (FP_FMA_Q): Likewise.
8619 (_FP_FRAC_HIGH_DW_Q): Likewise.
8620 * soft-fp/fmasf4.c: New file.
8621 * soft-fp/fmadf4.c: Likewise.
8622 * soft-fp/fmatf4.c: Likewise.
8623
6308fd9a
LD
86242013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8625
8626 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
8627 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
8628 Silvermont.
8629 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
8630 macro.
8631 (index_Slow_SSE4_2): Likewise.
8632 (index_Prefer_PMINUB_for_stringop): Likewise.
8633 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
8634 bit_Slow_SSE4_2 is set.
8635 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8636 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8637
89cd9569
RA
86382013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8639
8640 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
8641 rtld_global._dl_hwcap2.
8642 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
8643 POWER8.
8644 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
8645 POWER8 feature descriptions defined in _dl_hwcap2.
8646 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
8647 string handling for POWER8 feature bits.
8648 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
8649 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
8650 _dl_powerpc_cap_flags.
8651 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
8652 * sysdeps/powerpc/rtld-global-offsets.sym
8653 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
8654 _dl_hwcap2 in the rtld_global_ro structure.
8655
1ae8bfe0
RA
86562013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8657
8658 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
8659 hardware capabilities in support of AT_HWCAP2.
8660 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
8661 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
8662 GLRO(dl_hwcap2).
8663 (_dl_show_auxv): Add support for calling _dl_procinfo to display
8664 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
8665 explicitly the unknown a_type display mechanism is used.
8666 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
8667 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
8668 struct member.
8669 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
8670 to macro prototype for AT_HWCAP2 support.
8671 * sysdeps/i386/dl-procinfo.h: Likewise.
8672 * sysdeps/s390/dl-procinfo.h: Likewise.
8673 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
8674 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
8675 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
8676 return -1 for unknown a_type display fallback.
8677 * sysdeps/sparc/dl-procinfo.h: Likewise.
8678 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
8679 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
8680
8fbec010
JM
86812013-06-28 Joseph Myers <joseph@codesourcery.com>
8682
8683 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
8684 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
8685
0432680e
PY
86862013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
8687
8688 [BZ #12492]
8689 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
8690 mprotect making __stack_prot writable.
8691
ce61a2ad
NF
86922013-06-28 Nathan Froyd <froydnj@codesourcery.com>
8693 Joseph Myers <joseph@codesourcery.com>
8694
8695 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
8696 as being properly aligned.
8697
f91f1c0f
MR
86982013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
8699
3d0f5d0c
MR
8700 * dlfcn/modstatic5.c: New file.
8701 * dlfcn/tststatic5.c: New file.
8702 * dlfcn/Makefile (tests): Add tststatic5.
8703 (tests-static): Likewise.
8704 (modules-names): Add modstatic5.
8705 (tststatic5-ENV): New variable.
8706 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
8707
f91f1c0f
MR
8708 [BZ #15022]
8709 * elf/dl-support.c (_dl_main_map): New variable.
8710 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
8711 (_dl_nns, _dl_load_adds): Set to 1.
8712 (_dl_initial_searchlist): Refer to _dl_main_map.
8713 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
8714 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
8715 call to _dl_get_origin.
8716 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
8717 around call_map.
8718 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
8719 * dlfcn/modstatic3.c: New file.
8720 * dlfcn/tststatic3.c: New file.
8721 * dlfcn/tststatic4.c: New file.
8722 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
8723 (tests-static): Likewise.
8724 (modules-names): Add modstatic3.
8725 (tststatic3-ENV, tststatic4-ENV): New variables.
8726 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
8727 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
8728
cbe7d24b
JM
87292013-06-26 Joseph Myers <joseph@codesourcery.com>
8730
8731 * configure.in (CC): Require GCC version 4.4 or later.
8732 * configure: Regenerated.
8733 * manual/install.texi (Tools for Compilation): Update GCC version
8734 requirement.
8735 * INSTALL: Regenerated.
8736
11b8a0e1
LD
87372013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8738
8739 [BZ #15674]
bb5bb87c
L
8740 * string/test-memcmp.c (check2): New.
8741 (main): Call check2.
8742
11b8a0e1
LD
8743 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
8744
b0037103
MR
87452013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
8746
8747 [BZ #15022]
8748 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
8749 over to...
8750 (dl_open_worker) [!SHARED]: ... here.
8751
c18c701d
RA
87522013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8753
8754 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
8755
1d17fa5f
RH
87562013-06-25 Richard Henderson <rth@redhat.com>
8757
8758 * locale/programs/locarchive.c: Include <libc-internal.h>
8759
8fcb833a
JM
87602013-06-25 Joseph Myers <joseph@codesourcery.com>
8761
8762 * manual/texinfo.tex: Update to version 2013-06-21.17, with
8763 trailing whitespace removed.
8764
17db6e8d
MF
87652013-06-24 Mike Frysinger <vapier@gentoo.org>
8766
8767 [BZ #10283]
17db6e8d
MF
8768 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
8769 * locale/programs/locarchive.c: Include libc-mmap.h.
8770 (prepare_address_space): Take two new outputs (the mmap base and len).
8771 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
8772 values.
8773 (create_archive): Declare new mmap base and len values for
8774 prepare_address_space, and store the result in ah.
8775 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
8776 (enlarge_archive): If ah->mmap_base is not NULL, use that and
8777 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8778 Declare new mmap base and len values for
8779 prepare_address_space, and store the result in new_ah.
8780 (open_archive): Declare new mmap base and len values for
8781 prepare_address_space, and store the result in ah.
8782 (close_archive): If ah->mmap_base is not NULL, use that and
8783 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
8784 * sysdeps/generic/libc-mmap.h: New file.
8785
d605071e
MF
87862013-06-24 Mike Frysinger <vapier@gentoo.org>
8787
8788 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
8789 (ALIGN_UP): Likewise.
8790 (PTR_ALIGN_DOWN): Likewise.
8791 (PTR_ALIGN_UP): Likewise.
8792
2f063a6e
RA
87932013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
8794
8795 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
8796 entry mapped to PPC_PLATFORM_POWER8.
8797 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
8798 POWER8.
8799 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
8800 (_dl_string_platform): Add case for exporting platform position for
8801 POWER8.
8802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
8803 search path to sysdeps/powerpc/powerpc32/power8 directory.
8804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
8805 search path to sysdeps/powerpc/powerpc64/power8 directory.
8806 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
8807 power7 directories.
8808 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
8809 power7 directories.
8810
a31ee4b3
SP
88112013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8812
a74ca98f
SP
8813 * INSTALL: Regenerate.
8814
a31ee4b3
SP
8815 * nscd/connections.c (nscd_init): Fix comment.
8816
695c378f
JM
88172013-06-22 Joseph Myers <joseph@codesourcery.com>
8818
d8412221
JM
8819 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
8820
695c378f
JM
8821 [BZ #15667]
8822 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
8823 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
8824
d1d54715
MR
88252013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8826
8827 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
8828 DL_DST_REQ_STATIC.
8829 (DL_DST_REQ_STATIC): Remove macro.
8830
8fdda7af
JM
88312013-06-21 Joseph Myers <joseph@codesourcery.com>
8832
8833 [BZ #7006]
8834 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
8835 with a shift of 0 bits.
8836
f3bc5e5a
MR
88372013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
8838
8839 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
8840 $(tststatic-ENV).
8841
be09e8c9
KK
88422013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
8843
8844 [BZ #15655]
8845 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
8846
85c2e611
AZ
88472013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8848
8849 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
8850 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
8851 accepts -fno-tree-loop-distribute-patterns.
8852 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
8853 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
8854 recursive call.
8855 * string/memset.c (memset): Likewise.
8856 * string/test-memmove.c (simple_memmove): Disable loop transformation
8857 to library calls.
8858 * string/test-memset.c (simple_memset): Likewise.
8859 * benchtests/bench-memmove.c (simple_memmove): Likewise.
8860 * benchtests/bench-memset.c (simple_memset): Likewise.
8861 * configure: Regenerated.
8862
c91e0825
JM
88632013-06-20 Joseph Myers <joseph@codesourcery.com>
8864
b8c792af
JM
8865 * math/test-misc.c (main): Ignore fesetround failure when failures
8866 of subsequent rounding tests would be ignored.
8867
c91e0825
JM
8868 [BZ #15654]
8869 * math/fedisblxcpt.c (fedisableexcept): Return 0.
8870 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
8871 * math/fegetenv.c (__fegetenv): Return 0.
8872 * math/fegetexcept.c (fegetexcept): Return 0.
8873 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
8874 FE_TONEAREST.
8875 * math/feholdexcpt.c (feholdexcept): Return 0.
8876 * math/fesetenv.c (__fesetenv): Return 0.
8877 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
8878 argument FE_TONEAREST.
8879 * math/feupdateenv.c (__feupdateenv): Return 0.
8880 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
8881
bfcacbde
RM
88822013-06-18 Roland McGrath <roland@hack.frob.com>
8883
8884 * elf/rtld-Rules (rtld-compile-command.S): New variable.
8885 (rtld-compile-command.s, rtld-compile-command.c): New variables.
8886 ($(objpfx)rtld-%.os rules): Use them.
8887
e55a9b25
AZ
88882013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8889
8890 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
8891 fields.
8892
346d65b3
RM
88932013-06-17 Roland McGrath <roland@hack.frob.com>
8894
12086fb4
RM
8895 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
8896 length of target pattern, then descending length of dependency pattern.
8897 * configure.in (AWK): Require gawk 3.1.2 or newer.
8898 * manual/install.texi (Tools for Compilation): Say that we do.
8899 * configure: Regenerated.
8900
346d65b3
RM
8901 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
8902 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
8903 * scripts/sysd-rules.awk: ... this new script.
8904 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
8905 than a glob-style pattern.
8906
1a846317
JM
89072013-06-17 Joseph Myers <joseph@codesourcery.com>
8908
8909 * math/test-misc.c (main): Do not treat incorrectly rounded
8910 conversions as failure unless ROUNDING_TESTS passes.
8911
8fc75e6f
JM
89122013-06-15 Joseph Myers <joseph@codesourcery.com>
8913
3711a167
JM
8914 [BZ #15631]
8915 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
8916 restore exception state around main square root computation, then
8917 check for inexactness explicitly.
8918
8fc75e6f
JM
8919 * math/libm-test.inc (fma_test_data): Add another test.
8920
61dd6208
SP
89212013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8922
adf23d2c
SP
8923 * manual/threads.texi (Non-POSIX Extensions): New document
8924 node. Document pthread_getattr_default_np and
8925 pthread_setattr_default_np.
8926
61dd6208
SP
8927 * Versions.def (libpthread): Add GLIBC_2.18.
8928 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
8929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
8930 Likewise.
8931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
8932 Likewise.
8933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8934 Likewise.
8935 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8936 Likewise.
8937 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
8938 Likewise.
8939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8940 Likewise.
8941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8942 Likewise.
8943 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
8944 Likewise.
8945 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
8946 Likewise.
8947
d086fc7b
LD
89482013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
8949
8950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8951 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
8952
747ef469
SP
89532013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8954 H.J. Lu <hjl.tools@gmail.com>
8955
8956 [BZ #15627]
8957 * sysdeps/x86_64/rtld-memset.c: Remove file.
8958 * sysdeps/x86_64/rtld-memset.S: New file.
8959
1b2feed2
JM
89602013-06-14 Joseph Myers <joseph@codesourcery.com>
8961
8962 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
8963 (test_in_one_mode): Take arguments for whether the rounding mode
8964 is supported for each floating-point type.
8965 (do_test): Pass new arguments to test_in_one_mode using
8966 ROUNDING_TESTS.
8967
a58ad3f8
RM
89682013-06-13 Roland McGrath <roland@hack.frob.com>
8969
8970 * posix/tst-waitid.c (do_test): Distinguish different instances of
8971 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
8972 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
8973 before entering the kernel for waitpid.
8974
c204ab28
SP
89752013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8976
8977 * NEWS: Fix note on clock function precision. Text by Roland
8978 McGrath.
8979
f4a29fba
RM
89802013-06-13 Roland McGrath <roland@hack.frob.com>
8981
8982 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
8983 it into place only when and if the sanity check passes.
8984
1f24b9ad
JM
89852013-06-13 Joseph Myers <joseph@codesourcery.com>
8986
8987 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
8988 output for whether conversion result is exact. Take argument
8989 indicating whether type is IBM long double.
8990 (round_for_all): Change need_exact field to ibm_ld.
8991 * stdlib/tst-strtod-round.c (struct exactness): New type.
8992 (struct test): Change bool ld_ok field to struct exactness exact.
8993 (TEST): Update all definitions for change to field.
8994 (tests): Regenerate array contents.
8995 (test_in_one_mode): Take pointer to new field instead of old ld_ok
8996 field value. Check for IBM long double here.
8997 (do_test): Update calls to test_in_one_mode.
8998
58206c68
SP
89992013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9000
9001 [BZ #12515]
9002 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
9003 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
9004
2d6f4c5b 90052013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
9006
9007 [BZ #15605]
9008 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
9009 generated by the compiler on loop optimizations.
9010 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
9011 general definitions.
9012
94f2c076
JM
90132013-06-12 Joseph Myers <joseph@codesourcery.com>
9014
9015 * math/bug-nextafter.c: Include <math-tests.h>.
9016 (main): Only test for exceptions if EXCEPTION_TESTS is true for
9017 the relevant type.
9018 * math/bug-nexttoward.c: Include <math-tests.h>.
9019 (main): Only test for exceptions if EXCEPTION_TESTS is true for
9020 the relevant type.
9021 * math/test-misc.c: Include <math-tests.h>.
9022 (main): Only test for exceptions if EXCEPTION_TESTS is true for
9023 the relevant type.
9024
e0e50a0a
AJ
90252013-06-12 Andreas Jaeger <aj@suse.de>
9026
9027 * po/ia.po: Update Interlingua translation from translation
9028 project.
9029
25061094
SP
90302013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
9031
9032 * include/fenv.h: Include stdbool.h.
9033 (struct rm_ctx): New structure.
9034 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
9035 Define macro.
9036 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
9037 (SET_RESTORE_ROUNDF): Likewise.
9038 (SET_RESTORE_ROUNDL): Likewise.
9039 (SET_RESTORE_ROUND_NOEX): Likewise.
9040 (SET_RESTORE_ROUND_NOEXF): Likewise.
9041 (SET_RESTORE_ROUND_NOEXL): Likewise.
9042 (SET_RESTORE_ROUND_53BIT): Likewise.
9043 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
9044 (libc_feresetround_noexf_ctx): Likewise.
9045 (libc_feresetround_noexl_ctx): Likewise.
9046 (libc_feholdsetround_53bit_ctx): Likewise.
9047 (libc_feresetround_53bit_ctx): Likewise.
9048 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
9049 (libc_feholdexcept_setround_sse_ctx): New function.
9050 (libc_fesetenv_sse_ctx): Likewise.
9051 (libc_feupdateenv_sse_ctx): Likewise.
9052 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
9053 (libc_feholdexcept_setround_387_ctx): Likewise.
9054 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
9055 (libc_feholdsetround_387_prec_ctx): Likewise.
9056 (libc_feholdsetround_387_ctx): Likewise.
9057 (libc_feholdsetround_387_53bit_ctx): Likewise.
9058 (libc_feholdsetround_sse_ctx): Likewise.
9059 (libc_feresetround_sse_ctx): Likewise.
9060 (libc_feresetround_387_ctx): Likewise.
9061 (libc_feupdateenv_387_ctx): Likewise.
9062 (libc_feholdexcept_setroundf_ctx): Define macro.
9063 (libc_fesetenvf_ctx): Likewise.
9064 (libc_feupdateenvf_ctx): Likewise.
9065 (libc_feholdsetroundf_ctx): Likewise.
9066 (libc_feresetroundf_ctx): Likewise.
9067 (libc_feholdexcept_setround_ctx): Likewise.
9068 (libc_fesetenv_ctx): Likewise.
9069 (libc_feupdateenv_ctx): Likewise.
9070 (libc_feholdsetround_ctx): Likewise.
9071 (libc_feresetround_ctx): Likewise.
9072 (libc_feholdexcept_setroundl_ctx): Likewise.
9073 (libc_feupdateenvl_ctx): Likewise.
9074 (libc_feholdsetroundl_ctx): Likewise.
9075 (libc_feresetroundl_ctx): Likewise.
9076 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
9077 (libc_feresetround_53bit_ctx): Likewise.
9078
59b30555
SP
90792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9080
9081 * locale/iso-639.def: Convert to UTF-8.
9082
f1d73d30
JM
90832013-06-11 Joseph Myers <joseph@codesourcery.com>
9084
9085 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
9086 (EXCEPTION_TESTS_double): Likewise.
9087 (EXCEPTION_TESTS_long_double): Likewise.
9088 (EXCEPTION_TESTS): Likewise.
9089 * math/libm-test.inc (test_exceptions): Only test exceptions if
9090 EXCEPTION_TESTS (FLOAT).
9091
94aca5e7
SP
90922013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9093
9094 * benchtests/Makefile (string-bench): Add strcpy_chk and
9095 stpcpy_chk.
9096 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
9097 * benchtests/bench-stpcpy_chk.c: New file.
9098 * benchtests/bench-strcpy_chk-ifunc.c: New file.
9099 * benchtests/bench-strcpy_chk.c: New file.
9100 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
9101 code.
9102 (do_test): Likewise.
9103
fac0c5f2
RA
91042013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9105
9106 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
9107 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
9108 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
9109 with tabs where appropriate.
9110 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
9111 dl-procinfo.h.
9112 [PPC_PLATFORM_PPC440]: Likewise.
9113 [PPC_PLATFORM_PPC464]: Likewise.
9114 [PPC_PLATFORM_PPC476]: Likewise.
9115 (_dl_string_platform): Add support for detecting ppc405, ppc440,
9116 ppc464, and ppc476 platform strings merging from ports/
9117 dl-procinfo.h.
9118
f22bc486
AS
91192013-06-11 Andreas Schwab <schwab@suse.de>
9120
9121 [BZ #14991]
9122 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
9123 (from_ucs4_idx): Regenerate.
9124 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
9125 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
9126 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
9127 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
9128 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
9129 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
9130 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
9131 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
9132 from FROM_LOOP and TO_LOOP specific macros.
9133 (BODY): Handle combining characters.
9134 * iconvdata/BIG5HKSCS.irreversible: Update.
9135 * iconvdata/BIG5HKSCS.precomposed: New file.
9136 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
9137 characters.
9138 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
9139
c1f75dc3
SP
91402013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9141
4eacded2
SP
9142 * include/sys/time.h: Fix indentation and add copyright header.
9143
fec799f8
SP
9144 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
9145 (do_test): Likewise.
9146 * string/test-memchr.c (do_one_test): Likewise.
9147 (do_test): Likewise.
9148 * string/test-memcmp.c (do_one_test): Likewise.
9149 (do_test): Likewise.
9150 * string/test-memcpy.c (do_one_test): Likewise.
9151 (do_test): Likewise.
9152 * string/test-memmem.c (do_one_test): Likewise.
9153 (do_test): Likewise.
9154 (do_random_tests): Likewise.
9155 * string/test-memmove.c (do_one_test): Likewise.
9156 (do_test): Likewise.
9157 * string/test-memset.c (do_one_test): Likewise.
9158 (do_test): Likewise.
9159 * string/test-rawmemchr.c (do_one_test): Likewise.
9160 (do_test): Likewise.
9161 * string/test-strcasecmp.c (do_one_test): Likewise.
9162 (do_test): Likewise.
9163 * string/test-strcasestr.c (do_one_test): Likewise.
9164 (do_test): Likewise.
9165 * string/test-strcat.c (do_one_test): Likewise.
9166 (do_test): Likewise.
9167 * string/test-strchr.c (do_one_test): Likewise.
9168 (do_test): Likewise.
9169 * string/test-strcmp.c (do_one_test): Likewise.
9170 (do_test): Likewise.
9171 * string/test-strcpy.c (do_one_test): Likewise.
9172 (do_test): Likewise.
9173 * string/test-string.h: Likewise.
9174 (test_init): Likewise.
9175 * string/test-strlen.c (do_one_test): Likewise.
9176 (do_test): Likewise.
9177 * string/test-strncasecmp.c (do_one_test): Likewise.
9178 (do_test): Likewise.
9179 * string/test-strncat.c (do_one_test): Likewise.
9180 (do_test): Likewise.
9181 * string/test-strncmp.c (do_one_test): Likewise.
9182 (do_test_limit): Likewise.
9183 (do_test): Likewise.
9184 * string/test-strncpy.c (do_one_test): Likewise.
9185 (do_test): Likewise.
9186 * string/test-strnlen.c (do_one_test): Likewise.
9187 (do_test): Likewise.
9188 * string/test-strpbrk.c (do_one_test): Likewise.
9189 (do_test): Likewise.
9190 * string/test-strrchr.c (do_one_test): Likewise.
9191 (do_test): Likewise.
9192 * string/test-strspn.c (do_one_test): Likewise.
9193 (do_test): Likewise.
9194 * string/test-strstr.c (do_one_test): Likewise.
9195 (do_test): Likewise.
9196
97020474
SP
9197 * benchtests/Makefile (string-bench): Add string benchmarks.
9198 * benchtests/bench-bcopy-ifunc.c: New file.
9199 * benchtests/bench-bcopy.c: New file.
9200 * benchtests/bench-bzero-ifunc.c: New file.
9201 * benchtests/bench-bzero.c: New file.
9202 * benchtests/bench-memccpy-ifunc.c: New file.
9203 * benchtests/bench-memccpy.c: New file.
9204 * benchtests/bench-memchr-ifunc.c: New file.
9205 * benchtests/bench-memchr.c: New file.
9206 * benchtests/bench-memcmp-ifunc.c: New file.
9207 * benchtests/bench-memcmp.c: New file.
9208 * benchtests/bench-memmem-ifunc.c: New file.
9209 * benchtests/bench-memmem.c: New file.
9210 * benchtests/bench-memmove-ifunc.c: New file.
9211 * benchtests/bench-memmove.c: New file.
9212 * benchtests/bench-mempcpy-ifunc.c: New file.
9213 * benchtests/bench-mempcpy.c: New file.
9214 * benchtests/bench-memset-ifunc.c: New file.
9215 * benchtests/bench-memset.c: New file.
9216 * benchtests/bench-rawmemchr-ifunc.c: New file.
9217 * benchtests/bench-rawmemchr.c: New file.
9218 * benchtests/bench-stpcpy-ifunc.c: New file.
9219 * benchtests/bench-stpcpy.c: New file.
9220 * benchtests/bench-stpncpy-ifunc.c: New file.
9221 * benchtests/bench-stpncpy.c: New file.
9222 * benchtests/bench-strcasecmp-ifunc.c: New file.
9223 * benchtests/bench-strcasecmp.c: New file.
9224 * benchtests/bench-strcasestr-ifunc.c: New file.
9225 * benchtests/bench-strcasestr.c: New file.
9226 * benchtests/bench-strcat-ifunc.c: New file.
9227 * benchtests/bench-strcat.c: New file.
9228 * benchtests/bench-strchr-ifunc.c: New file.
9229 * benchtests/bench-strchr.c: New file.
9230 * benchtests/bench-strchrnul-ifunc.c: New file.
9231 * benchtests/bench-strchrnul.c: New file.
9232 * benchtests/bench-strcmp-ifunc.c: New file.
9233 * benchtests/bench-strcmp.c: New file.
9234 * benchtests/bench-strcpy-ifunc.c: New file.
9235 * benchtests/bench-strcpy.c: New file.
9236 * benchtests/bench-strcspn-ifunc.c: New file.
9237 * benchtests/bench-strcspn.c: New file.
9238 * benchtests/bench-strlen-ifunc.c: New file.
9239 * benchtests/bench-strlen.c: New file.
9240 * benchtests/bench-strncasecmp-ifunc.c: New file.
9241 * benchtests/bench-strncasecmp.c: New file.
9242 * benchtests/bench-strncat-ifunc.c: New file.
9243 * benchtests/bench-strncat.c: New file.
9244 * benchtests/bench-strncmp-ifunc.c: New file.
9245 * benchtests/bench-strncmp.c: New file.
9246 * benchtests/bench-strncpy-ifunc.c: New file.
9247 * benchtests/bench-strncpy.c: New file.
9248 * benchtests/bench-strnlen-ifunc.c: New file.
9249 * benchtests/bench-strnlen.c: New file.
9250 * benchtests/bench-strpbrk-ifunc.c: New file.
9251 * benchtests/bench-strpbrk.c: New file.
9252 * benchtests/bench-strrchr-ifunc.c: New file.
9253 * benchtests/bench-strrchr.c: New file.
9254 * benchtests/bench-strspn-ifunc.c: New file.
9255 * benchtests/bench-strspn.c: New file.
9256 * benchtests/bench-strstr-ifunc.c: New file.
9257 * benchtests/bench-strstr.c: New file.
9258
c1f75dc3
SP
9259 * benchtests/Makefile: Disable parallel execution of targets.
9260 (string-bench): Add memcpy.
9261 (benchset): New variable to store a list of benchmark sets.
9262 (bench-func): Renamed from bench.
9263 (bench-set): New target.
9264 (bench): Depend on bench-func and bench-set.
9265 * benchtests/README: Add section on benchmark sets.
9266 * benchtests/bench-memcpy-ifunc.c: New file.
9267 * benchtests/bench-memcpy.c: New file.
9268 * benchtests/bench-string.h: New file.
9269
50fd745b
AS
92702013-06-11 Andreas Schwab <schwab@suse.de>
9271
9272 [BZ #15577]
9273 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
9274 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
9275 values in the triple.
9276 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
9277 terminator in the group key.
9278
3ee7e9fe
AJ
92792013-06-11 Andreas Jaeger <aj@suse.de>
9280
9281 * po/zh_TW.po: Update Chinese (traditional) translation from
9282 translation project.
9283
89fb6835
SP
92842013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9285
9286 * include/time.h (__clock_gettime): Add libc_hidden_proto.
9287 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
9288 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
9289 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
9290 (clock_getcpuclockid): Likewise.
9291 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
9292 Add weak_alias and libc_hidden_def.
9293 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
9294 * rt/clock_gettime.c (clock_gettime): Rename to
9295 __clock_gettime. Add weak_alias and libc_hidden_def.
9296 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
9297 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
9298 __clock_nanosleep. Add weak_alias and libc_hidden_def.
9299 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
9300 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
9301 Likewise.
9302 * rt/clock_settime.c (clock_settime): Rename to
9303 __clock_settime. Add weak_alias and libc_hidden_def.
9304 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
9305
0efa6f8b
JM
93062013-06-10 Joseph Myers <joseph@codesourcery.com>
9307
b8c61b4b
JM
9308 * mach/err_boot.sub: Remove trailing whitespace.
9309 * mach/err_ipc.sub: Likewise.
9310 * mach/err_mach.sub: Likewise.
9311
0efa6f8b
JM
9312 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
9313 (ROUNDING_TESTS_double): Likewise.
9314 (ROUNDING_TESTS_long_double): Likewise.
9315 (ROUNDING_TESTS): Likewise.
9316 * math/libm-test.inc: Include <math-tests.h>.
9317 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
9318 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9319 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9320 (IF_ROUND_INIT_FE_UPWARD): Likewise.
9321
50b818bf
SP
93222013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9323
9324 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
9325 of assigning.
9326
60d2f8f3
JM
93272013-06-08 Joseph Myers <joseph@codesourcery.com>
9328
4902d2c3
JM
9329 * sysdeps/gnu/errlist.awk: Do not generate space at end of
9330 otherwise empty TRANS lines.
9331 * sysdeps/gnu/errlist.c: Regenerated.
9332
60d2f8f3
JM
9333 * catgets/gencat.c (error_print): Use (void) in function
9334 definition.
9335 * crypt/crypt_util.c (__init_des): Likewise.
9336 * crypt/speeds.c (Stop): Likewise.
9337 (main): Likewise.
9338 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
9339 * inet/ruserpass.c (token): Likewise.
9340 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
9341 * intl/localealias.c (extend_alias_table): Likewise.
9342 * intl/plural-exp.c (init_germanic_plural): Likewise.
9343 * libio/fcloseall.c (__fcloseall): Likewise.
9344 * libio/genops.c (_IO_flush_all): Likewise.
9345 (_IO_flush_all_linebuffered): Likewise.
9346 (_IO_cleanup): Likewise.
9347 (_IO_iter_begin): Likewise.
9348 (_IO_iter_end): Likewise.
9349 (_IO_list_lock): Likewise.
9350 (_IO_list_unlock): Likewise.
9351 (_IO_list_resetlock): Likewise.
9352 * libio/getchar.c (getchar): Likewise.
9353 * libio/getchar_u.c (getchar_unlocked): Likewise.
9354 * libio/getwchar.c (getwchar): Likewise.
9355 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
9356 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
9357 * login/getpt.c (__getpt): Likewise.
9358 * login/tst-utmp.c (main): Likewise.
9359 * malloc/hooks.c (__malloc_check_init): Likewise.
9360 * malloc/malloc.c (__malloc_stats): Likewise.
9361 * malloc/mtrace.c (tr_break): Likewise.
9362 (mtrace): Likewise.
9363 (muntrace): Likewise.
9364 * misc/fstab.c (endfsent): Likewise.
9365 * misc/getclktck.c (__getclktck): Likewise.
9366 * misc/getdtsz.c (__getdtablesize): Likewise.
9367 * misc/gethostid.c (gethostid): Likewise.
9368 * misc/getpagesize.c (__getpagesize): Likewise.
9369 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
9370 (__get_nprocs): Likewise.
9371 (__get_phys_pages): Likewise.
9372 (__get_avphys_pages): Likewise.
9373 * misc/getttyent.c (getttyent): Likewise.
9374 (setttyent): Likewise.
9375 (endttyent): Likewise.
9376 * misc/getusershell.c (getusershell): Likewise.
9377 (endusershell): Likewise.
9378 (setusershell): Likewise.
9379 (initshells): Likewise.
9380 * misc/hsearch.c (__hdestroy): Likewise.
9381 * misc/sync.c (sync): Likewise.
9382 * misc/syslog.c (closelog_internal): Likewise.
9383 (closelog): Likewise.
9384 * misc/ttyslot.c (ttyslot): Likewise.
9385 * misc/vhangup.c (vhangup): Likewise.
9386 * posix/fork.c (__fork): Likewise.
9387 * posix/getegid.c (__getegid): Likewise.
9388 * posix/geteuid.c (__geteuid): Likewise.
9389 * posix/getgid.c (__getgid): Likewise.
9390 * posix/getpid.c (__getpid): Likewise.
9391 * posix/getppid.c (__getppid): Likewise.
9392 * posix/getuid.c (__getuid): Likewise.
9393 * posix/pause.c (pause): Likewise.
9394 * posix/setpgrp.c (setpgrp): Likewise.
9395 * posix/setsid.c (__setsid): Likewise.
9396 * posix/test-vfork.c (noop): Likewise.
9397 * resolv/gethnamaddr.c (_endhtent): Likewise.
9398 (_gethtent): Likewise.
9399 (ht_endhostent): Likewise.
9400 (gethostent): Likewise.
9401 (dns_service): Likewise.
9402 * stdlib/drand48.c (drand48): Likewise.
9403 * stdlib/lrand48.c (lrand48): Likewise.
9404 * stdlib/mrand48.c (mrand48): Likewise.
9405 * stdlib/rand.c (rand): Likewise.
9406 * stdlib/random.c (__random): Likewise.
9407 * stdlib/setenv.c (clearenv): Likewise.
9408 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
9409 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
9410 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
9411 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
9412 (__get_nprocs): Likewise.
9413 (__get_phys_pages): Likewise.
9414 (__get_avphys_pages): Likewise.
9415 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
9416 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
9417 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
9418 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
9419 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
9420 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
9421 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
9422 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
9423 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
9424 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
9425 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
9426 * sysdeps/mach/hurd/sync.c (sync): Likewise.
9427 * sysdeps/posix/clock.c (clock): Likewise.
9428 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
9429 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
9430 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
9431 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
9432 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
9433 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
9434 (__get_nprocs_conf): Likewise.
9435 (__get_phys_pages): Likewise.
9436 (__get_avphys_pages): Likewise.
9437 * time/clock.c (clock): Likewise.
9438 * time/tzset.c (__tzname_max): Likewise.
9439
2e09a79a
JM
94402013-06-07 Joseph Myers <joseph@codesourcery.com>
9441
9442 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
9443 (__bswap_32): Do not use "register".
9444 * crypt/crypt.c (_ufc_doit_r): Likewise.
9445 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
9446 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
9447 * gmon/gmon.c (__monstartup): Likewise.
9448 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
9449 * hurd/hurdmalloc.c (more_memory): Likewise.
9450 (malloc): Likewise.
9451 (free): Likewise.
9452 (realloc): Likewise.
9453 (malloc_fork_prepare): Likewise.
9454 (malloc_fork_parent): Likewise.
9455 (malloc_fork_child): Likewise.
9456 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
9457 (_svcauth_des): Likewise.
9458 * inet/inet_lnaof.c (inet_lnaof): Likewise.
9459 * inet/inet_net.c (inet_network): Likewise.
9460 * inet/inet_netof.c (inet_netof): Likewise.
9461 * inet/rcmd.c (__validuser2_sa): Likewise.
9462 * io/fts.c (fts_open): Likewise.
9463 (fts_load): Likewise.
9464 (fts_close): Likewise.
9465 (fts_read): Likewise.
9466 (fts_children): Likewise.
9467 (fts_build): Likewise.
9468 (fts_stat): Likewise.
9469 (fts_sort): Likewise.
9470 (fts_alloc): Likewise.
9471 (fts_lfree): Likewise.
9472 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
9473 (_IO_file_xsgetn): Likewise.
9474 (_IO_file_xsgetn_mmap): Likewise.
9475 * libio/iofopncook.c (_IO_cookie_read): Likewise.
9476 (_IO_cookie_write): Likewise.
9477 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
9478 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
9479 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
9480 * malloc/obstack.c (_obstack_begin): Likewise.
9481 (_obstack_begin_1): Likewise.
9482 (_obstack_newchunk): Likewise.
9483 (_obstack_allocated_p): Likewise.
9484 (obstack_free): Likewise.
9485 (_obstack_memory_used): Likewise.
9486 * misc/getttyent.c (getttynam): Likewise.
9487 (getttyent): Likewise.
9488 (skip): Likewise.
9489 (value): Likewise.
9490 * misc/getusershell.c (initshells): Likewise.
9491 * misc/syslog.c (__vsyslog_chk): Likewise.
9492 * misc/ttyslot.c (ttyslot): Likewise.
9493 * nis/nis_hash.c (__nis_hash): Likewise.
9494 * posix/fnmatch_loop.c (FCT): Likewise.
9495 * posix/getconf.c (print_all): Likewise.
9496 (main): Likewise.
9497 * posix/getopt.c (exchange): Likewise.
9498 * posix/glob.c (globfree): Likewise.
9499 (prefix_array): Likewise.
9500 (__glob_pattern_type): Likewise.
9501 * resolv/arpa/nameser.h (NS_GET16): Likewise.
9502 (NS_GET32): Likewise.
9503 (NS_PUT16): Likewise.
9504 (NS_PUT32): Likewise.
9505 * resolv/gethnamaddr.c (getanswer): Likewise.
9506 (gethostbyname2): Likewise.
9507 (gethostbyaddr): Likewise.
9508 (_gethtent): Likewise.
9509 (_gethtbyname2): Likewise.
9510 (_gethtbyaddr): Likewise.
9511 * resolv/ns_print.c (dst_s_get_int16): Likewise.
9512 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
9513 * resolv/res_init.c (__res_vinit): Likewise.
9514 (net_mask): Likewise.
9515 * resolv/res_mkquery.c (outchar): Likewise.
9516 (PRINT): Likewise.
9517 * stdio-common/printf_fp.c (outchar): Likewise.
9518 (PRINT): Likewise.
9519 * stdio-common/printf_fphex.c (outchar): Likewise.
9520 (PRINT): Likewise.
9521 * stdio-common/printf_size.c (outchar): Likewise.
9522 (PRINT): Likewise.
9523 * stdio-common/test_rdwr.c (main): Likewise.
9524 * stdio-common/tfformat.c (matches): Likewise.
9525 * stdio-common/vfprintf.c (outchar): Likewise.
9526 (printf_unknown): Likewise.
9527 (buffered_vfprintf): Likewise.
9528 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9529 * stdio-common/xbug.c (AppendToBuffer): Likewise.
9530 (ReadFile): Likewise.
9531 * stdlib/qsort.c (SWAP): Likewise.
9532 (_quicksort): Likewise.
9533 * stdlib/setenv.c (__add_to_environ): Likewise.
9534 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9535 * stdlib/strtol_l.c (__strtol_l): Likewise.
9536 * stdlib/tst-strtod.c (main): Likewise.
9537 * stdlib/tst-strtol.c (main): Likewise.
9538 * stdlib/tst-strtoll.c (main): Likewise.
9539 * string/bits/string2.h (__strcmp_cc): Likewise.
9540 (__strcmp_cg): Likewise.
9541 (__strcspn_c1): Likewise.
9542 (__strcspn_c2): Likewise.
9543 (__strcspn_c3): Likewise.
9544 (__strspn_c1): Likewise.
9545 (__strspn_c2): Likewise.
9546 (__strspn_c3): Likewise.
9547 (__strsep_1c): Likewise.
9548 (__strsep_2c): Likewise.
9549 (__strsep_3c): Likewise.
9550 * string/memccpy.c (__memccpy): Likewise.
9551 * string/stpcpy.c (__stpcpy): Likewise.
9552 * string/strcmp.c (strcmp): Likewise.
9553 * string/strrchr.c (strrchr): Likewise.
9554 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
9555 Likewise.
9556 * sysdeps/mach/hurd/getcwd.c
9557 (_hurd_canonicalize_directory_name_internal): Likewise.
9558 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
9559 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
9560 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
9561 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
9562 Likewise, in both definitions.
9563 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
9564 definitions.
9565 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
9566 64] (__bswap_64): Likewise.
9567 * time/test_time.c (main): Likewise.
9568 * time/tzfile.c (__tzfile_read): Likewise.
9569 (__tzfile_compute): Likewise.
9570 * time/tzset.c (__tzset_parse_tz): Likewise.
9571 (tzset_internal): Likewise.
9572 (compute_change): Likewise.
9573 * wcsmbs/wcscat.c (__wcscat): Likewise.
9574 * wcsmbs/wcschr.c (wcschr): Likewise.
9575 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
9576 * wcsmbs/wcscspn.c (wcscspn): Likewise.
9577 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
9578 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
9579 * wcsmbs/wcsspn.c (wcsspn): Likewise.
9580 * wcsmbs/wcsstr.c (wcsstr): Likewise.
9581 * wcsmbs/wmemchr.c (wmemchr): Likewise.
9582 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
9583 * wcsmbs/wmemset.c (wmemset): Likewise.
9584
9e54314b
JM
95852013-06-06 Joseph Myers <joseph@codesourcery.com>
9586
9587 * scripts/config.guess: Update to version 2013-05-16.
9588 * scripts/config.sub: Update to version 2013-04-24.
9589 * scripts/install-sh: Update to version 2011-11-20.07.
9590 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
9591 * scripts/move-if-change: Update to version 2012-01-06 07:23.
9592
350635a5
OB
95932013-06-06 Ondřej Bílka <neleai@seznam.cz>
9594
9595 * debug/fgetws_u_chk.c: Fix leading whitespaces.
9596 * elf/sln.c: Likewise.
9597 * hurd/hurd/ioctl.h: Likewise.
9598 * hurd/hurdmalloc.c: Likewise.
9599 * hurd/xattr.c: Likewise.
9600 * include/shlib-compat.h: Likewise.
9601 * inet/ruserpass.c: Likewise.
9602 * libio/iofgets_u.c: Likewise.
9603 * libio/iofgetws_u.c: Likewise.
9604 * locale/programs/ld-identification.c: Likewise.
9605 * locale/programs/ld-time.c: Likewise.
9606 * mach/msg-destroy.c: Likewise.
9607 * nss/nss_files/files-netgrp.c: Likewise.
9608 * resolv/res_data.c: Likewise.
9609 * soft-fp/op-1.h: Likewise.
9610 * soft-fp/op-2.h: Likewise.
9611 * soft-fp/op-4.h: Likewise.
9612 * soft-fp/op-common.h: Likewise.
9613 * stdio-common/printf_fphex.c: Likewise.
9614 * stdlib/strtod_l.c: Likewise.
9615 * sunrpc/rpc/clnt.h: Likewise.
9616 * sysdeps/generic/framestate.c: Likewise.
9617 * sysdeps/i386/bsd-_setjmp.S: Likewise.
9618 * sysdeps/i386/bsd-setjmp.S: Likewise.
9619 * sysdeps/i386/__longjmp.S: Likewise.
9620 * sysdeps/i386/setjmp.S: Likewise.
9621 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9622 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9623 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9624 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9625 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9626 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
9627 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9628 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9629 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9630 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
9631 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
9632 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9633 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9634 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9635 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9636 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9637 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9638 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
9639 * sysdeps/ieee754/support.c: Likewise.
9640 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
9641 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
9642 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
9643 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
9644 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
9645 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
9646 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
9647 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
9648 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
9649 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
9650 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
9651 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
9652 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
9653 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
9654 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
9655 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
9656 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9658
44a988af
OB
96592013-06-05 Ondřej Bílka <neleai@seznam.cz>
9660
25506f09 9661 * posix/transbug.c: Remove executable mode.
44a988af 9662
9c84384c
JM
96632013-06-05 Joseph Myers <joseph@codesourcery.com>
9664
9665 * crypt/speeds.c: Remove trailing whitespace.
9666 * dlfcn/default.c: Likewise.
9667 * elf/ifuncdep2.c: Likewise.
9668 * elf/ifuncmain1.c: Likewise.
9669 * elf/ifuncmain1vis.c: Likewise.
9670 * elf/testobj.h: Likewise.
9671 * elf/tst-stackguard1.c: Likewise.
9672 * gmon/sys/gmon.h: Likewise.
9673 * hurd/hurdmsg.c: Likewise.
9674 * hurd/new-fd.c: Likewise.
9675 * hurd/ports-get.c: Likewise.
9676 * iconvdata/ibm1008_420.c: Likewise.
9677 * inet/tst-getni1.c: Likewise.
9678 * inet/tst-getni2.c: Likewise.
9679 * libio/ioungetc.c: Likewise.
9680 * libio/wfiledoalloc.c: Likewise.
9681 * manual/libm-err-tab.pl: Likewise.
9682 * math/w_dremf.c: Likewise.
9683 * misc/ftruncate.c: Likewise.
9684 * posix/bug-glob2.c: Likewise.
9685 * posix/tst-pcre.c: Likewise.
9686 * posix/wait4.c: Likewise.
9687 * resolv/README: Likewise.
9688 * resolv/res_debug.h: Likewise.
9689 * resolv/tst-inet_ntop.c: Likewise.
9690 * setjmp/bug269-setjmp.c: Likewise.
9691 * soft-fp/extended.h: Likewise.
9692 * soft-fp/op-1.h: Likewise.
9693 * soft-fp/op-2.h: Likewise.
9694 * soft-fp/op-4.h: Likewise.
9695 * soft-fp/op-8.h: Likewise.
9696 * soft-fp/testit.c: Likewise.
9697 * stdio-common/bug16.c: Likewise.
9698 * stdlib/random.c: Likewise.
9699 * sunrpc/rpcsvc/rquota.x: Likewise.
9700 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
9701 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9702 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9703 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9704 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9705 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9706 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9707 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9708 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9709 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9710 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9711 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
9712 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9713 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
9714 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9715 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
9716 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
9717 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9718 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
9719 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9720 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9721 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9722 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
9723 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
9724 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
9725 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
9726 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9727 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9728 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9729 * sysdeps/ieee754/s_lib_version.c: Likewise.
9730 * sysdeps/mach/hurd/check_fds.c: Likewise.
9731 * sysdeps/mach/hurd/getsockname.c: Likewise.
9732 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
9733 * sysdeps/mach/hurd/recvfrom.c: Likewise.
9734 * sysdeps/powerpc/bits/link.h: Likewise.
9735 * sysdeps/powerpc/dl-procinfo.c: Likewise.
9736 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
9737 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
9738 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
9739 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
9740 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9741 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
9742 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
9743 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
9744 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
9745 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9746 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9747 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
9748 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
9749 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
9750 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
9751 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9752 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9753 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
9754 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
9755 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
9756 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
9757 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9758 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9759 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
9760 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9761 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9762 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
9763 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
9764 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9765 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9766 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9767 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9768 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
9769 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
9770 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
9771 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
9772 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9773 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
9774 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
9775 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
9776 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
9777 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
9778 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
9779 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9780 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
9781 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
9782 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9783 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
9784 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
9785 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9786 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9787 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9788 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9789 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
9790 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
9791 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
9792 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9793 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
9794 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
9795 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
9796 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
9797 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
9798 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9799 * sysdeps/powerpc/sysdep.h: Likewise.
9800 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9801 * sysdeps/s390/s390-64/sub_n.S: Likewise.
9802 * sysdeps/sh/dl-trampoline.S: Likewise.
9803 * sysdeps/sh/memset.S: Likewise.
9804 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
9805 * sysdeps/sh/strlen.S: Likewise.
9806 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
9807 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
9808 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
9809 * sysdeps/sparc/sparc32/rem.S: Likewise.
9810 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
9811 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
9812 * sysdeps/sparc/sparc32/strchr.S: Likewise.
9813 * sysdeps/sparc/sparc32/udiv.S: Likewise.
9814 * sysdeps/sparc/sparc32/urem.S: Likewise.
9815 * sysdeps/sparc/sparc64/add_n.S: Likewise.
9816 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
9817 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
9818 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
9819 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
9820 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
9821 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
9822 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
9823 * sysdeps/unix/bsd/times.c: Likewise.
9824 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
9825 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
9826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9829 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9830 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9831 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
9832 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
9833 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
9834 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
9835 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9836 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
9837 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
9838 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9839 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
9840 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9841 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
9842 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
9843 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
9844 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
9845 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
9846 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
9847 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
9848 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
9849 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
9850 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
9851 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9852 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
9853 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
9854 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
9855 * sysdeps/x86_64/strcspn.S: Likewise.
9856
869378a5
RA
98572013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
9858
9859 * locale/C-translit.h: Revert #include <stdint.h> because this is a
9860 generated file. Regenerate properly from gen-translit.pl.
9861 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
9862 locale/C-translit.h.
9863
840e2943
AS
98642013-06-05 Andreas Schwab <schwab@suse.de>
9865
9866 [BZ #15100]
9867 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
9868 week as 6 instead of -1.
9869 * time/tst-strptime.c (day_tests): Add test case.
9870
4c60cb0c
SP
98712013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9872
9873 * sysdeps/generic/math_private.h
9874 (libc_feholdexcept_setround_53bit): Replace with
9875 libc_feholdsetround_53bit.
9876 (libc_feupdateenv_53bit): Replace with
9877 libc_feresetround_53bit.
9878 (SET_RESTORE_ROUND_53BIT): Adjust.
9879
d180203e
SP
98802013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
9881
96df079a
SP
9882 * string/test-strchrnul.c: Add copyright header.
9883
d180203e
SP
9884 * posix/tst-getaddrinfo4.c: Increase test timeout.
9885
8b0ccb2d
CD
98862013-06-03 Carlos O'Donell <carlos@redhat.com>
9887
9888 [BZ #15536]
9889 * math/libm-test.inc (MAX_EXP): Remove
9890 (MIN_EXP): Define.
9891 (ulp): Use MIN_EXP - MANT_DIG.
9892 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
9893
3b3c4d40
CD
98942013-05-31 Carlos O'Donell <carlos@redhat.com>
9895
9896 * po/be.po: Revert last change.
9897 * po/zh_CN.po: Likewise.
9898 * po/header.pot: Likewise.
9899
fab7ce3f
JM
99002013-05-31 Joseph Myers <joseph@codesourcery.com>
9901
9902 * Makefile ($(common-objpfx)linkobj/libc.so): Define
9903 link-libc-deps to empty as target-specific variable.
9904 * Makerules (link-libc-args): New variable.
9905 (libc-for-link): Likewise.
9906 (link-libc-deps): Likewise.
9907 (lib%.so): Depend on $(link-libc-deps). Link with
9908 $(link-libc-args).
9909 (build-module): Link with $(link-libc-args).
9910 (build-module-asneeded): Likewise.
9911 (build-module-helper-objlist): Filter out $(link-libc-deps) from
9912 list of objects.
9913 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
9914 target-specific variable.
9915 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
9916 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
9917 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
9918 libc.
9919 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
9920 libc and ld.so.
9921 ($(objpfx)libpcprofile.so): Likewise.
9922 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
9923 libc_nonshared.a.
9924 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
9925 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
9926 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
9927 $(link-libc-deps).
9928 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
9929 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
9930 * login/Makefile ($(objpfx)libutil.so): Likewise.
9931 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
9932 * math/Makefile ($(objpfx)libm.so): Likewise.
9933 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
9934 $(objpfx)libnsl.so): Define libc-for-link as target-specific
9935 variable instead of depending directly on libc.
9936 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
9937 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
9938 $(link-libc-deps).
9939 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
9940 libc.
9941 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
9942 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
9943 ($(objpfx)libanl.so): Likewise.
9944 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
9945 ld.so.
9946 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
9947 $(link-libc-deps).
9948 * sysdeps/i386/fpu/Makefile: Remove file.
9949 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
9950 ($(objpfx)libm.so): Remove dependency on ld.so.
9951
eca5920c
PF
99522013-05-30 Patsy Franklin <pfrankli@redhat.com>
9953
9954 [BZ # 15553]
9955 * nis/yp_xdr.c (XDRMAXNAME): Define.
9956 (XDRMAXRECORD): Define.
9957 (xdr_domainname): Use XDRMAXNAME.
9958 (xdr_mapname): Likewise.
9959 (xdr_peername): Likewise.
9960 (xdr_keydat): Use XDRMAXRECORD.
9961 (xdr_valdat): Likewise.
9962
99632013-05-30 Jeff Law <law@redhat.com>
96945714
JL
9964
9965 [BZ #14256]
9966 * manual/errno.texi (ESTALE): Update to account for more than
9967 just NFS file systems.
9968 * sysdeps/gnu/errlist.c: Regenerated.
9969
b9375348
SP
99702013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
9971
9972 [BZ #15465]
9973 * elf/Makefile (tests): Add tst-null-argv.
9974 (modules-names): Add tst-null-argv-lib.
9975 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
9976 (tst-null-argv-ENV): Set environment for tst-null-argv.
9977 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
9978 (RTLD_PROGNAME): New macro.
9979 * elf/tst-null-argv.c: New test case.
9980 * elf/tst-null-argv-lib.c: Library for test case.
9981 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
9982 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
9983 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
9984 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
9985 * elf/dl-init.c (call_init): Likewise.
9986 (_dl_init): Likewise.
9987 * elf/dl-load.c (print_search_path): Likewise.
9988 (_dl_map_object): Likewise.
9989 * elf/dl-lookup.c (do_lookup_x): Likewise.
9990 (add_dependency): Likewise.
9991 (_dl_lookup_symbol_x): Likewise.
9992 (_dl_debug_bindings): Likewise.
9993 * elf/dl-open.c (_dl_show_scope): Likewise.
9994 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
9995 * elf/dl-version.c (match_symbol): Likewise.
9996 (_dl_check_map_versions): Likewise.
9997 * elf/rtld.c (dl_main): Likewise.
9998 (print_unresolved): Use RTLD_PROGNAME.
9999 (print_missing_version): Likewise.
10000 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
10001 (elf_machine_rela): Likewise.
10002 * sysdeps/powerpc/powerpc32/dl-machine.c
10003 (__process_machine_rela): Likewise.
10004 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10005 Likewise.
10006 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
10007 Likewise.
10008 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
10009 Likewise.
10010 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
10011 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
10012 Likewise.
10013 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
10014 Likewise.
10015 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10016
8a9f20c8
CD
100172013-05-28 Carlos O'Donell <carlos@redhat.com>
10018
10019 * po/be.po: Add descriptive title.
10020 * po/zh_CN.po: Likewise.
10021 * po/header.pot: Likewise.
10022
0e60d68e
MF
100232013-05-28 Mike Frysinger <vapier@gentoo.org>
10024
10025 * locale/programs/locarchive.c (create_archive): Inlucde fname in
10026 error message.
10027 (enlarge_archive): Likewise.
10028
56b672e9
BN
100292013-05-28 Ben North <ben@redfrontdoor.org>
10030
10031 * manual/arith.texi (frexp): It is the magnitude of the return
10032 value which lies in [0.5, 1), not the return value itself.
10033
5e056687
AZ
100342013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10035
10036 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10037
2b66ef5d
TS
100382013-05-26 Thomas Schwinge <thomas@codesourcery.com>
10039
528c2405
TS
10040 * stdio-common/bug26.c (main): Correct fscanf template.
10041
07b4c13d
TS
10042 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
10043 declare _dl_skip_args.
10044
ec9dd97c
TS
10045 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
10046 Don't declare.
10047
2b66ef5d
TS
10048 * manual/platform.texi: Add missing @end deftypefun.
10049
4f8dfe27
JM
100502013-05-24 Joseph Myers <joseph@codesourcery.com>
10051
0323d086
JM
10052 [BZ #15529]
10053 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
10054 bit of mantissa of 2^16382.
10055 * math/libm-test.inc (hypot_test_data): Add more tests.
10056
dd4259b9
JM
10057 * math/libm-test.inc: Add drem and pow10 to list of tested
10058 functions.
10059 (pow10_test): New function.
10060 (drem_test): Likewise.
10061 (drem_test_tonearest): Likewise.
10062 (drem_test_towardzero): Likewise.
10063 (drem_test_downward): Likewise.
10064 (drem_test_upward): Likewise.
10065 (main): Call the new functions.
10066
4f8dfe27
JM
10067 * math/libm-test.inc (finite_test_data): Remove.
10068 (finite_test): Run tests from isfinite_test_data.
10069 (gamma_test_data): Remove.
10070 (gamma_test): Run tests from lgamma_test_data.
10071 * sysdeps/i386/fpu/libm-test-ulps: Update.
10072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10073
d116b7c4
AZ
100742013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10075
10076 * manual/platform.texi: Add PowerPC PPR function set documentation.
10077 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
10078 implementation.
10079
e96e3767
CD
100802013-05-24 Carlos O'Donell <carlos@redhat.com>
10081
10082 * math/libm-test.inc (MAX_EXP): Define.
10083 (ULPDIFF): Define.
10084 (ulp): New function.
10085 (check_float_internal): Use ULPDIFF.
10086 (cpow_test): Disable failing test.
10087 (check_ulp): Test ulp() implemetnation.
10088 (main): Call check_ulp before starting tests.
10089
b679a606
JM
100902013-05-24 Joseph Myers <joseph@codesourcery.com>
10091
e8bdba36
JM
10092 * math/gen-libm-test.pl (generate_testfile): Do not handle
10093 START_DATA and END_DATA.
10094 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
10095 END_DATA.
10096 (acos_tonearest_test_data): Likewise.
10097 (acos_towardzero_test_data): Likewise.
10098 (acos_downward_test_data): Likewise.
10099 (acos_upward_test_data): Likewise.
10100 (acosh_test_data): Likewise.
10101 (asin_test_data): Likewise.
10102 (asin_tonearest_test_data): Likewise.
10103 (asin_towardzero_test_data): Likewise.
10104 (asin_downward_test_data): Likewise.
10105 (asin_upward_test_data): Likewise.
10106 (asinh_test_data): Likewise.
10107 (atan_test_data): Likewise.
10108 (atanh_test_data): Likewise.
10109 (atan2_test_data): Likewise.
10110 (cabs_test_data): Likewise.
10111 (cacos_test_data): Likewise.
10112 (cacosh_test_data): Likewise.
10113 (carg_test_data): Likewise.
10114 (casin_test_data): Likewise.
10115 (casinh_test_data): Likewise.
10116 (catan_test_data): Likewise.
10117 (catanh_test_data): Likewise.
10118 (cbrt_test_data): Likewise.
10119 (ccos_test_data): Likewise.
10120 (ccosh_test_data): Likewise.
10121 (ceil_test_data): Likewise.
10122 (cexp_test_data): Likewise.
10123 (cimag_test_data): Likewise.
10124 (clog_test_data): Likewise.
10125 (clog10_test_data): Likewise.
10126 (conj_test_data): Likewise.
10127 (copysign_test_data): Likewise.
10128 (cos_test_data): Likewise.
10129 (cos_tonearest_test_data): Likewise.
10130 (cos_towardzero_test_data): Likewise.
10131 (cos_downward_test_data): Likewise.
10132 (cos_upward_test_data): Likewise.
10133 (cosh_test_data): Likewise.
10134 (cosh_tonearest_test_data): Likewise.
10135 (cosh_towardzero_test_data): Likewise.
10136 (cosh_downward_test_data): Likewise.
10137 (cosh_upward_test_data): Likewise.
10138 (cpow_test_data): Likewise.
10139 (cproj_test_data): Likewise.
10140 (creal_test_data): Likewise.
10141 (csin_test_data): Likewise.
10142 (csinh_test_data): Likewise.
10143 (csqrt_test_data): Likewise.
10144 (ctan_test_data): Likewise.
10145 (ctan_tonearest_test_data): Likewise.
10146 (ctan_towardzero_test_data): Likewise.
10147 (ctan_downward_test_data): Likewise.
10148 (ctan_upward_test_data): Likewise.
10149 (ctanh_test_data): Likewise.
10150 (ctanh_tonearest_test_data): Likewise.
10151 (ctanh_towardzero_test_data): Likewise.
10152 (ctanh_downward_test_data): Likewise.
10153 (ctanh_upward_test_data): Likewise.
10154 (erf_test_data): Likewise.
10155 (erfc_test_data): Likewise.
10156 (exp_test_data): Likewise.
10157 (exp_tonearest_test_data): Likewise.
10158 (exp_towardzero_test_data): Likewise.
10159 (exp_downward_test_data): Likewise.
10160 (exp_upward_test_data): Likewise.
10161 (exp10_test_data): Likewise.
10162 (exp2_test_data): Likewise.
10163 (expm1_test_data): Likewise.
10164 (fabs_test_data): Likewise.
10165 (fdim_test_data): Likewise.
10166 (finite_test_data): Likewise.
10167 (floor_test_data): Likewise.
10168 (fma_test_data): Likewise.
10169 (fma_towardzero_test_data): Likewise.
10170 (fma_downward_test_data): Likewise.
10171 (fma_upward_test_data): Likewise.
10172 (fmax_test_data): Likewise.
10173 (fmin_test_data): Likewise.
10174 (fmod_test_data): Likewise.
10175 (fpclassify_test_data): Likewise.
10176 (frexp_test_data): Likewise.
10177 (gamma_test_data): Likewise.
10178 (hypot_test_data): Likewise.
10179 (ilogb_test_data): Likewise.
10180 (isfinite_test_data): Likewise.
10181 (isgreater_test_data): Likewise.
10182 (isgreaterequal_test_data): Likewise.
10183 (isinf_test_data): Likewise.
10184 (isless_test_data): Likewise.
10185 (islessequal_test_data): Likewise.
10186 (islessgreater_test_data): Likewise.
10187 (isnan_test_data): Likewise.
10188 (isnormal_test_data): Likewise.
10189 (issignaling_test_data): Likewise.
10190 (isunordered_test_data): Likewise.
10191 (j0_test_data): Likewise.
10192 (j1_test_data): Likewise.
10193 (jn_test_data): Likewise.
10194 (ldexp_test_data): Likewise.
10195 (lgamma_test_data): Likewise.
10196 (lrint_test_data): Likewise.
10197 (lrint_tonearest_test_data): Likewise.
10198 (lrint_towardzero_test_data): Likewise.
10199 (lrint_downward_test_data): Likewise.
10200 (lrint_upward_test_data): Likewise.
10201 (llrint_test_data): Likewise.
10202 (llrint_tonearest_test_data): Likewise.
10203 (llrint_towardzero_test_data): Likewise.
10204 (llrint_downward_test_data): Likewise.
10205 (llrint_upward_test_data): Likewise.
10206 (log_test_data): Likewise.
10207 (log10_test_data): Likewise.
10208 (log1p_test_data): Likewise.
10209 (log2_test_data): Likewise.
10210 (logb_test_data): Likewise.
10211 (logb_downward_test_data): Likewise.
10212 (lround_test_data): Likewise.
10213 (llround_test_data): Likewise.
10214 (modf_test_data): Likewise.
10215 (nearbyint_test_data): Likewise.
10216 (nextafter_test_data): Likewise.
10217 (nexttoward_test_data): Likewise.
10218 (pow_test_data): Likewise.
10219 (pow_tonearest_test_data): Likewise.
10220 (pow_towardzero_test_data): Likewise.
10221 (pow_downward_test_data): Likewise.
10222 (pow_upward_test_data): Likewise.
10223 (remainder_test_data): Likewise.
10224 (remainder_tonearest_test_data): Likewise.
10225 (remainder_towardzero_test_data): Likewise.
10226 (remainder_downward_test_data): Likewise.
10227 (remainder_upward_test_data): Likewise.
10228 (remquo_test_data): Likewise.
10229 (rint_test_data): Likewise.
10230 (rint_tonearest_test_data): Likewise.
10231 (rint_towardzero_test_data): Likewise.
10232 (rint_downward_test_data): Likewise.
10233 (rint_upward_test_data): Likewise.
10234 (round_test_data): Likewise.
10235 (scalb_test_data): Likewise.
10236 (scalbn_test_data): Likewise.
10237 (scalbln_test_data): Likewise.
10238 (signbit_test_data): Likewise.
10239 (sin_test_data): Likewise.
10240 (sin_tonearest_test_data): Likewise.
10241 (sin_towardzero_test_data): Likewise.
10242 (sin_downward_test_data): Likewise.
10243 (sin_upward_test_data): Likewise.
10244 (sincos_test_data): Likewise.
10245 (sinh_test_data): Likewise.
10246 (sinh_tonearest_test_data): Likewise.
10247 (sinh_towardzero_test_data): Likewise.
10248 (sinh_downward_test_data): Likewise.
10249 (sinh_upward_test_data): Likewise.
10250 (sqrt_test_data): Likewise.
10251 (tan_test_data): Likewise.
10252 (tan_tonearest_test_data): Likewise.
10253 (tan_towardzero_test_data): Likewise.
10254 (tan_downward_test_data): Likewise.
10255 (tan_upward_test_data): Likewise.
10256 (tanh_test_data): Likewise.
10257 (tgamma_test_data): Likewise.
10258 (trunc_test_data): Likewise.
10259 (y0_test_data): Likewise.
10260 (y1_test_data): Likewise.
10261 (yn_test_data): Likewise.
10262 (significand_test_data): Likewise.
10263
b679a606
JM
10264 * math/gen-libm-test.pl (@functions): Remove variable.
10265 (generate_testfile): Don't handle START and END lines.
10266 * math/libm-test.inc (START): New macro.
10267 (END): Likewise.
10268 (END_COMPLEX): Likewise.
10269 (acos_test): Use END macro without arguments.
10270 (acos_test_tonearest): Likewise.
10271 (acos_test_towardzero): Likewise.
10272 (acos_test_downward): Likewise.
10273 (acos_test_upward): Likewise.
10274 (acosh_test): Likewise.
10275 (asin_test): Likewise.
10276 (asin_test_tonearest): Likewise.
10277 (asin_test_towardzero): Likewise.
10278 (asin_test_downward): Likewise.
10279 (asin_test_upward): Likewise.
10280 (asinh_test): Likewise.
10281 (atan_test): Likewise.
10282 (atanh_test): Likewise.
10283 (atan2_test): Likewise.
10284 (cabs_test): Likewise.
10285 (cacos_test): Use END_COMPLEX macro without arguments.
10286 (cacosh_test): Likewise.
10287 (carg_test): Use END macro without arguments.
10288 (casin_test): Use END_COMPLEX macro without arguments.
10289 (casinh_test): Likewise.
10290 (catan_test): Likewise.
10291 (catanh_test): Likewise.
10292 (cbrt_test): Use END macro without arguments.
10293 (ccos_test): Use END_COMPLEX macro without arguments.
10294 (ccosh_test): Likewise.
10295 (ceil_test): Use END macro without arguments.
10296 (cexp_test): Use END_COMPLEX macro without arguments.
10297 (cimag_test): Use END macro without arguments.
10298 (clog_test): Use END_COMPLEX macro without arguments.
10299 (clog10_test): Likewise.
10300 (conj_test): Likewise.
10301 (copysign_test): Use END macro without arguments.
10302 (cos_test): Likewise.
10303 (cos_test_tonearest): Likewise.
10304 (cos_test_towardzero): Likewise.
10305 (cos_test_downward): Likewise.
10306 (cos_test_upward): Likewise.
10307 (cosh_test): Likewise.
10308 (cosh_test_tonearest): Likewise.
10309 (cosh_test_towardzero): Likewise.
10310 (cosh_test_downward): Likewise.
10311 (cosh_test_upward): Likewise.
10312 (cpow_test): Use END_COMPLEX macro without arguments.
10313 (cproj_test): Likewise.
10314 (creal_test): Use END macro without arguments.
10315 (csin_test): Use END_COMPLEX macro without arguments.
10316 (csinh_test): Likewise.
10317 (csqrt_test): Likewise.
10318 (ctan_test): Likewise.
10319 (ctan_test_tonearest): Likewise.
10320 (ctan_test_towardzero): Likewise.
10321 (ctan_test_downward): Likewise.
10322 (ctan_test_upward): Likewise.
10323 (ctanh_test): Likewise.
10324 (ctanh_test_tonearest): Likewise.
10325 (ctanh_test_towardzero): Likewise.
10326 (ctanh_test_downward): Likewise.
10327 (ctanh_test_upward): Likewise.
10328 (erf_test): Use END macro without arguments.
10329 (erfc_test): Likewise.
10330 (exp_test): Likewise.
10331 (exp_test_tonearest): Likewise.
10332 (exp_test_towardzero): Likewise.
10333 (exp_test_downward): Likewise.
10334 (exp_test_upward): Likewise.
10335 (exp10_test): Likewise.
10336 (exp2_test): Likewise.
10337 (expm1_test): Likewise.
10338 (fabs_test): Likewise.
10339 (fdim_test): Likewise.
10340 (finite_test): Likewise.
10341 (floor_test): Likewise.
10342 (fma_test): Likewise.
10343 (fma_test_towardzero): Likewise.
10344 (fma_test_downward): Likewise.
10345 (fma_test_upward): Likewise.
10346 (fmax_test): Likewise.
10347 (fmin_test): Likewise.
10348 (fmod_test): Likewise.
10349 (fpclassify_test): Likewise.
10350 (frexp_test): Likewise.
10351 (gamma_test): Likewise.
10352 (hypot_test): Likewise.
10353 (ilogb_test): Likewise.
10354 (isfinite_test): Likewise.
10355 (isgreater_test): Likewise.
10356 (isgreaterequal_test): Likewise.
10357 (isinf_test): Likewise.
10358 (isless_test): Likewise.
10359 (islessequal_test): Likewise.
10360 (islessgreater_test): Likewise.
10361 (isnan_test): Likewise.
10362 (isnormal_test): Likewise.
10363 (issignaling_test): Likewise.
10364 (isunordered_test): Likewise.
10365 (j0_test): Likewise.
10366 (j1_test): Likewise.
10367 (jn_test): Likewise.
10368 (ldexp_test): Likewise.
10369 (lgamma_test): Likewise.
10370 (lrint_test): Likewise.
10371 (lrint_test_tonearest): Likewise.
10372 (lrint_test_towardzero): Likewise.
10373 (lrint_test_downward): Likewise.
10374 (lrint_test_upward): Likewise.
10375 (llrint_test): Likewise.
10376 (llrint_test_tonearest): Likewise.
10377 (llrint_test_towardzero): Likewise.
10378 (llrint_test_downward): Likewise.
10379 (llrint_test_upward): Likewise.
10380 (log_test): Likewise.
10381 (log10_test): Likewise.
10382 (log1p_test): Likewise.
10383 (log2_test): Likewise.
10384 (logb_test): Likewise.
10385 (logb_test_downward): Likewise.
10386 (lround_test): Likewise.
10387 (llround_test): Likewise.
10388 (modf_test): Likewise.
10389 (nearbyint_test): Likewise.
10390 (nextafter_test): Likewise.
10391 (nexttoward_test): Likewise.
10392 (pow_test): Likewise.
10393 (pow_test_tonearest): Likewise.
10394 (pow_test_towardzero): Likewise.
10395 (pow_test_downward): Likewise.
10396 (pow_test_upward): Likewise.
10397 (remainder_test): Likewise.
10398 (remainder_test_tonearest): Likewise.
10399 (remainder_test_towardzero): Likewise.
10400 (remainder_test_downward): Likewise.
10401 (remainder_test_upward): Likewise.
10402 (remquo_test): Likewise.
10403 (rint_test): Likewise.
10404 (rint_test_tonearest): Likewise.
10405 (rint_test_towardzero): Likewise.
10406 (rint_test_downward): Likewise.
10407 (rint_test_upward): Likewise.
10408 (round_test): Likewise.
10409 (scalb_test): Likewise.
10410 (scalbn_test): Likewise.
10411 (scalbln_test): Likewise.
10412 (signbit_test): Likewise.
10413 (sin_test): Likewise.
10414 (sin_test_tonearest): Likewise.
10415 (sin_test_towardzero): Likewise.
10416 (sin_test_downward): Likewise.
10417 (sin_test_upward): Likewise.
10418 (sincos_test): Likewise.
10419 (sinh_test): Likewise.
10420 (sinh_test_tonearest): Likewise.
10421 (sinh_test_towardzero): Likewise.
10422 (sinh_test_downward): Likewise.
10423 (sinh_test_upward): Likewise.
10424 (sqrt_test): Likewise.
10425 (tan_test): Likewise.
10426 (tan_test_tonearest): Likewise.
10427 (tan_test_towardzero): Likewise.
10428 (tan_test_downward): Likewise.
10429 (tan_test_upward): Likewise.
10430 (tanh_test): Likewise.
10431 (tgamma_test): Likewise.
10432 (trunc_test): Likewise.
10433 (y0_test): Likewise.
10434 (y1_test): Likewise.
10435 (yn_test): Likewise.
10436 (significand_test): Likewise.
10437
bae143d2
OB
104382013-05-24 Ondřej Bílka <neleai@seznam.cz>
10439
10440 [BZ #15381]
10441 * libio/genops.c (_IO_no_init): Initialize wide struct info.
10442
9323d39b
EM
104432013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
10444
d4ea44a0 10445 [BZ #14894]
9323d39b
EM
10446 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
10447 __ppc_mdoio and __ppc_mdoom.
10448 * manual/platform.texi: Document new functions __ppc_yield,
10449 __ppc_mdoio and __ppc_mdoom.
10450
13e23af7
CD
104512013-05-22 Carlos O'Donell <carlos@redhat.com>
10452
10453 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
10454 (main): Mention "tls" pseudo-hwcap is legacy.
10455 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
10456
351fe550
JM
104572013-05-22 Joseph Myers <joseph@codesourcery.com>
10458
10459 * math/gen-libm-test.pl (parse_args): Output only string of
10460 arguments as text for test name, not full call or descriptions of
10461 tests for extra outputs.
10462 (generate_testfile): Do not pass function name to parse_args.
10463 Generate this_func variable from START.
10464 * math/libm-test.inc (struct test_f_f_data): Rename test_name
10465 field to arg_str.
10466 (struct test_ff_f_data): Likewise.
10467 (test_ff_f_data_nexttoward): Likewise.
10468 (struct test_fi_f_data): Likewise.
10469 (struct test_fl_f_data): Likewise.
10470 (struct test_if_f_data): Likewise.
10471 (struct test_fff_f_data): Likewise.
10472 (struct test_c_f_data): Likewise.
10473 (struct test_f_f1_data): Likewise. Remove field extra_name.
10474 (struct test_fF_f1_data): Likewise.
10475 (struct test_ffI_f1_data): Likewise.
10476 (struct test_c_c_data): Rename test_name field to arg_str.
10477 (struct test_cc_c_data): Likewise.
10478 (struct test_f_i_data): Likewise.
10479 (struct test_ff_i_data): Likewise.
10480 (struct test_f_l_data): Likewise.
10481 (struct test_f_L_data): Likewise.
10482 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
10483 and extra2_name.
10484 (COMMON_TEST_SETUP): New macro.
10485 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10486 (COMMON_TEST_CLEANUP): Likewise.
10487 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10488 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
10489 macros.
10490 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
10491 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
10492 macros.
10493 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
10494 (RUN_TEST_fff_f): Take argument string. Call new setup and
10495 cleanup macros.
10496 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
10497 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
10498 macros.
10499 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
10500 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
10501 macros.
10502 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10503 (RUN_TEST_fF_f1): Take argument string. Call new setup and
10504 cleanup macros.
10505 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10506 (RUN_TEST_fI_f1): Take argument string. Call new setup and
10507 cleanup macros.
10508 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10509 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
10510 cleanup macros.
10511 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10512 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
10513 macros.
10514 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
10515 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
10516 macros.
10517 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
10518 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
10519 macros.
10520 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
10521 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
10522 cleanup macros.
10523 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
10524 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
10525 cleanup macros.
10526 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
10527 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
10528 macros.
10529 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
10530 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
10531 cleanup macros.
10532 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
10533 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
10534 macros.
10535 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
10536 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
10537 macros.
10538 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
10539 (RUN_TEST_fFF_11): Take argument string. Call new setup and
10540 cleanup macros.
10541 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
10542
85118d4d
EBM
105432013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
10544
10545 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
10546 to _sifields.sigfault.
10547 (si_addr_lsb): Define new macro.
10548 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
10549 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
10550 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
10551
7a44c18f
CD
105522013-05-03 Carlos O'Donell <carlos at redhat.com>
10553
10554 [BZ #15441]
10555 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
10556 returns -1.
10557 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
10558 null return -1.
10559 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
10560 loading the domain.
10561
b50a7181
JM
105622013-05-22 Joseph Myers <joseph@codesourcery.com>
10563
10564 * math/gen-libm-test.pl (parse_args): Do not include expected
10565 result in test name.
10566 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
10567 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10568 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10569 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10570 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10572
051063c8
SP
105732013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10574
3ce9e010
SP
10575 * benchtests/Makefile: Sort function entries.
10576
051063c8
SP
10577 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
10578 tanh, asinh, acosh, atanh.
10579 * benchtests/acos-inputs: New file.
10580 * benchtests/acosh-inputs: New file.
10581 * benchtests/asin-inputs: New file.
10582 * benchtests/asinh-inputs: New file.
10583 * benchtests/atanh-inputs: New file.
10584 * benchtests/cosh-inputs: New file.
10585 * benchtests/log-inputs: New file.
10586 * benchtests/sinh-inputs: New file.
10587 * benchtests/tanh-inputs: New file.
10588
47c22455
DL
105892013-05-21 Dmitry V. Levin <ldv@altlinux.org>
10590
10591 [BZ #15339]
10592 * posix/tst-getaddrinfo4.c: New test.
10593 * posix/Makefile (tests): Add it.
10594
3d04f5db
SP
105952013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10596
10597 [BZ #15339]
10598 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
10599 when no services were used.
10600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
10601 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
10602
d5dd6189
AS
106032013-05-21 Andreas Schwab <schwab@suse.de>
10604
10605 [BZ #15014]
10606 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
10607 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
10608 successful.
10609 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
10610 redundant variable declarations and reallocation of buffer when
10611 parsing as IPv6 address. Always set NSS status when called from
10612 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
10613 buffer too small. Correct computation of needed size.
10614 * nss/Makefile (tests): Add test-digits-dots.
10615 * nss/test-digits-dots.c: New test.
10616
fef94eab
SP
106172013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10618
10619 * benchtests/Makefile: Remove instructions for adding
10620 benchmark tests.
10621 * benchtests/README: New file to explain how to execute and
10622 enhance the benchmark tests.
10623
e39adf43
AS
106242013-05-21 Andreas Schwab <schwab@suse.de>
10625
10626 [BZ #15493]
10627 * setjmp/Makefile (tests): Add tst-sigsetjmp.
10628 * setjmp/tst-sigsetjmp.c: New test.
10629
b2b671b6
OB
106302013-05-20 Ondřej Bílka <neleai@seznam.cz>
10631
10632 * sysdeps/x86_64/memset.S (memset): New implementation.
10633 (__bzero): Likewise.
10634 (__memset_tail): New function.
10635
2d48b41c
OB
106362013-05-20 Ondřej Bílka <neleai@seznam.cz>
10637
10638 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
10639 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
10640 __memcpy_sse2_unaligned ifunc selection.
10641 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10642 Add memcpy-sse2-unaligned.S.
10643 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10644 Add: __memcpy_sse2_unaligned.
10645
f16cc3eb
JM
106462013-05-19 Joseph Myers <joseph@codesourcery.com>
10647
3e694268
JM
10648 [BZ #15490]
10649 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10650 math_force_eval before restoring floating-point envrionment.
10651 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
10652 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
10653 Likewise.
10654 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
10655 <math_private.h>.
10656 (__nearbyintl): Use math_force_eval before restoring
10657 floating-point environment.
10658 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
10659
db62a907
JM
10660 * math/gen-libm-test.pl (special_functions): Remove.
10661 (parse_args): Don't handle TEST_extra. Handle functions with no
10662 return value.
10663 * math/libm-test.inc (struct test_sincos_data): Replace with
10664 struct test_fFF_11_data.
10665 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
10666 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
10667 (sincos_test_data): Change element type to struct
10668 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
10669 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
10670 RUN_TEST_LOOP_sincos.
10671 * math/README.libm-test: Don't mention special handling of
10672 individual functions.
10673 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
10674 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
10675 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
10676 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
10677 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
10678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10679
f16cc3eb
JM
10680 * math/gen-libm-test.pl (get_variable): Remove function.
10681 (parse_args): Don't show pointer parameters to call in test
10682 names. Use "extra output N" in test names for extra outputs
10683 rather than naming variables.
10684
3779b5b6
JM
106852013-05-18 Joseph Myers <joseph@codesourcery.com>
10686
2ee094ff
JM
10687 [BZ #15488]
10688 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
10689 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
10690 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
10691 double tests.
10692 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
10693 disable.
10694 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
10695 check_long_double.
10696
3779b5b6
JM
10697 * math/gen-libm-test.pl (@tests): Remove variable.
10698 ($count): Likewise.
10699 (new_test): Remove function.
10700 (show_exceptions): New function.
10701 (special_functions): Use show_exceptions instead of new_test.
10702 (parse_args): Likewise.
10703 (generate_testfile): Pass only function name in generated call to
10704 print_max_error or print_complex_max_error.
10705 (get_ulps): Do not handle complex tests specially.
10706 (output_test): Rename to ...
10707 (get_all_ulps_for_test): ... this. Return a string rather than
10708 printing to a file. Require ulps to be present.
10709 (output_ulps): Generate arrays rather than #defines.
10710 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
10711 (struct ulp_data): New type.
10712 (BUILD_COMPLEX_ULP): Remove macro.
10713 (compare_ulp_data): New function.
10714 (find_ulps): Likewise.
10715 (find_test_ulps): Likewise.
10716 (find_function_ulps): Likewise.
10717 (find_complex_function_ulps): Likewise.
10718 (print_max_error): Determine allowed ulps using
10719 find_function_ulps.
10720 (print_complex_max_error): Determine allowed ulps using
10721 find_complex_function_ulps.
10722 (check_float_internal): Determine max ulps using find_test_ulps.
10723 (check_float): Do not take max_ulp parameter. Update call to
10724 check_float_internal.
10725 (check_complex): Likewise.
10726 (check_int): Do not take max_ulp parameter.
10727 (check_long): Likewise.
10728 (check_bool): Likewise.
10729 (check_longlong): Likewise.
10730 (struct test_f_f_data): Remove max_ulp field.
10731 (struct test_ff_f_data): Likewise.
10732 (struct test_ff_f_data_nexttoward): Likewise.
10733 (struct test_fi_f_data): Likewise.
10734 (struct test_fl_f_data): Likewise.
10735 (struct test_if_f_data): Likewise.
10736 (struct test_fff_f_data): Likewise.
10737 (struct test_c_f_data): Likewise.
10738 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
10739 (struct test_fF_f1_data): Likewise.
10740 (struct test_ffI_f1_data): Likewise.
10741 (struct test_c_c_data): Remove max_ulp field.
10742 (struct test_cc_c_data): Likewise.
10743 (struct test_f_i_data): Likewise.
10744 (struct test_ff_i_data): Likewise.
10745 (struct test_f_l_data): Likewise.
10746 (struct test_f_L_data): Likewise.
10747 (struct test_sincos_data): Likewise.
10748 (RUN_TEST_f_f): Do not handle ulps.
10749 (RUN_TEST_LOOP_f_f): Likewise.
10750 (RUN_TEST_2_f): Likewise.
10751 (RUN_TEST_LOOP_2_f): Likewise.
10752 (RUN_TEST_fff_f): Likewise.
10753 (RUN_TEST_LOOP_fff_f): Likewise.
10754 (RUN_TEST_c_f): Likewise.
10755 (RUN_TEST_LOOP_c_f): Likewise.
10756 (RUN_TEST_f_f1): Likewise.
10757 (RUN_TEST_LOOP_f_f1): Likewise.
10758 (RUN_TEST_fF_f1): Likewise.
10759 (RUN_TEST_LOOP_fF_f1): Likewise.
10760 (RUN_TEST_fI_f1): Likewise.
10761 (RUN_TEST_LOOP_fI_f1): Likewise.
10762 (RUN_TEST_ffI_f1): Likewise.
10763 (RUN_TEST_LOOP_ffI_f1): Likewise.
10764 (RUN_TEST_c_c): Likewise.
10765 (RUN_TEST_LOOP_c_c): Likewise.
10766 (RUN_TEST_cc_c): Likewise.
10767 (RUN_TEST_LOOP_cc_c): Likewise.
10768 (RUN_TEST_f_i): Likewise.
10769 (RUN_TEST_LOOP_f_i): Likewise.
10770 (RUN_TEST_f_i_tg): Likewise.
10771 (RUN_TEST_LOOP_f_i_tg): Likewise.
10772 (RUN_TEST_ff_i_tg): Likewise.
10773 (RUN_TEST_LOOP_ff_i_tg): Likewise.
10774 (RUN_TEST_f_b): Likewise.
10775 (RUN_TEST_LOOP_f_b): Likewise.
10776 (RUN_TEST_f_b_tg): Likewise.
10777 (RUN_TEST_LOOP_f_b_tg): Likewise.
10778 (RUN_TEST_f_l): Likewise.
10779 (RUN_TEST_LOOP_f_l): Likewise.
10780 (RUN_TEST_f_L): Likewise.
10781 (RUN_TEST_LOOP_f_L): Likewise.
10782 (RUN_TEST_sincos): Likewise.
10783 (RUN_TEST_LOOP_sincos): Likewise.
10784
8269107f
JM
107852013-05-17 Joseph Myers <joseph@codesourcery.com>
10786
bb38759d
JM
10787 [BZ #15480]
10788 [BZ #15485]
10789 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
10790 main case of finite arguments, set rounding mode to FE_TONEAREST
10791 and discard exceptions.
10792 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
10793 exceptions.
10794 (remainder_tonearest_test_data): New variable.
10795 (remainder_test_tonearest): New function.
10796 (remainder_towardzero_test_data): New variable.
10797 (remainder_test_towardzero): New function.
10798 (remainder_downward_test_data): New variable.
10799 (remainder_test_downward): New function.
10800 (remainder_upward_test_data): New variable.
10801 (remainder_test_upward): New function.
10802 (main): Call the new test functions.
10803
a00bdcf0
JM
10804 * math/libm-test.inc (struct test_f_f1_data): Remove field
10805 extra_init.
10806 (struct test_fF_f1_data): Likewise.
10807 (struct test_ffI_f1_data): Likewise.
10808 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
10809 based on value of EXTRA_EXPECTED.
10810 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
10811 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
10812 EXTRA_VAR based on value of EXTRA_EXPECTED.
10813 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
10814 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
10815 EXTRA_VAR based on value of EXTRA_EXPECTED.
10816 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
10817 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
10818 EXTRA_VAR based on value of EXTRA_EXPECTED.
10819 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
10820 * math/gen-libm-test.pl (parse_args): Don't output initializers
10821 for extra output values.
10822
de407f79
JM
10823 * math/libm-test.inc (check_int): Expect result to be exactly
10824 equal to expected value and do not handle ulps.
10825 (check_long): Likewise.
10826 (check_longlong): Likewise.
10827
8269107f
JM
10828 * math/libm-test.inc (ceil_test_data): Test for "inexact"
10829 exceptions.
10830 (cimag_test_data): Likewise.
10831 (conj_test_data): Likewise.
10832 (copysign_test_data): Likewise.
10833 (cproj_test_data): Likewise.
10834 (creal_test_data): Likewise.
10835 (fabs_test_data): Likewise.
10836 (fdim_test_data): Likewise.
10837 (finite_test_data): Likewise.
10838 (floor_test_data): Likewise.
10839 (fmax_test_data): Likewise.
10840 (fmin_test_data): Likewise.
10841 (fmod_test_data): Likewise.
10842 (fpclassify_test_data): Likewise.
10843 (frexp_test_data): Likewise.
10844 (ilogb_test_data): Likewise.
10845 (isfinite_test_data): Likewise.
10846 (isgreater_test_data): Likewise.
10847 (isgreaterequal_test_data): Likewise.
10848 (isinf_test_data): Likewise.
10849 (isless_test_data): Likewise.
10850 (islessequal_test_data): Likewise.
10851 (islessgreater_test_data): Likewise.
10852 (isnan_test_data): Likewise.
10853 (isnormal_test_data): Likewise.
10854 (issignaling_test_data): Likewise.
10855 (isunordered_test_data): Likewise.
10856 (ldexp_test_data): Likewise.
10857 (lrint_test_data): Likewise.
10858 (lrint_test_data) [TEST_FLOAT]: Disable one test.
10859 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
10860 (lrint_tonearest_test_data): Test for "inexact" exceptions.
10861 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10862 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
10863 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10864 test input.
10865 (lrint_towardzero_test_data): Test for "inexact" exceptions.
10866 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10867 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
10868 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
10869 that test input.
10870 (lrint_downward_test_data): Test for "inexact" exceptions.
10871 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10872 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
10873 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
10874 test input.
10875 (lrint_upward_test_data): Test for "inexact" exceptions.
10876 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
10877 test input.
10878 (llrint_test_data): Test for "inexact" exceptions.
10879 (llrint_test_data) [TEST_FLOAT]: Disable one test.
10880 (llrint_tonearest_test_data): Test for "inexact" exceptions.
10881 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
10882 (llrint_towardzero_test_data): Test for "inexact" exceptions.
10883 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
10884 (llrint_downward_test_data): Test for "inexact" exceptions.
10885 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
10886 (llrint_upward_test_data): Test for "inexact" exceptions.
10887 (logb_test_data): Likewise.
10888 (logb_downward_test_data): Likewise.
10889 (nextafter_test_data): Likewise.
10890 (nexttoward_test_data): Likewise.
10891 (remainder_test_data): Likewise.
10892 (remquo_test_data): Likewise.
10893 (scalbn_test_data): Likewise.
10894 (scalbln_test_data): Likewise.
10895 (signbit_test_data): Likewise.
10896 (sqrt_test_data): Likewise.
10897 (significand_test_data): Likewise.
10898
48a18de1
SP
108992013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10900
10901 [BZ #15424]
10902 * benchtests/bench-modf.c (struct args): Mark arg0 as
10903 volatile.
10904 * scripts/bench.pl: Mark members of struct args as volatile.
10905
13d3b41a
AZ
109062013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10907
68191c1d 10908 [BZ # 15497]
13d3b41a
AZ
10909 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
10910 negative infinity on POWER6 or lower.
10911 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
10912
2848b105
MR
109132013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10914
10915 [BZ #15442]
10916 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
10917 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
10918 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
10919 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
10920 (_FP_SETQNAN): New macro.
10921 (_FP_SETQNAN_SEMIRAW): Likewise.
10922 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
10923 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
10924 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
10925 (FP_EXTEND): Use _FP_FRAC_SNANP.
10926 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
10927 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
10928 into account.
10929 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10930 New macro.
10931 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
10932 Likewise.
10933
323e5cb7
JM
109342013-05-16 Joseph Myers <joseph@codesourcery.com>
10935
c58b274f
JM
10936 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
10937 with DIVIDE_BY_ZERO_EXCEPTION.
10938 (gamma_test_data): Likewise.
10939 (lgamma_test_data): Likewise.
10940 (log_test_data): Likewise.
10941 (log10_test_data): Likewise.
10942 (log2_test_data): Likewise.
10943 (tgamma_test_data): Likewise.
10944
0ab34904
JM
10945 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
10946 (acos_test_tonearest): Likewise.
10947 (acos_test_towardzero): Likewise.
10948 (acos_test_downward): Likewise.
10949 (acos_test_upward): Likewise.
10950 (acosh_test): Likewise.
10951 (asin_test): Likewise.
10952 (asin_test_tonearest): Likewise.
10953 (asin_test_towardzero): Likewise.
10954 (asin_test_downward): Likewise.
10955 (asin_test_upward): Likewise.
10956 (asinh_test): Likewise.
10957 (atan_test): Likewise.
10958 (atanh_test): Likewise.
10959 (atan2_test): Likewise.
10960 (cabs_test): Likewise.
10961 (cacos_test): Likewise.
10962 (cacosh_test): Likewise.
10963 (casin_test): Likewise.
10964 (casinh_test): Likewise.
10965 (catan_test): Likewise.
10966 (catanh_test): Likewise.
10967 (cbrt_test): Likewise.
10968 (ccos_test): Likewise.
10969 (ccosh_test): Likewise.
10970 (cexp_test): Likewise.
10971 (clog_test): Likewise.
10972 (clog10_test): Likewise.
10973 (cos_test): Likewise.
10974 (cos_test_tonearest): Likewise.
10975 (cos_test_towardzero): Likewise.
10976 (cos_test_downward): Likewise.
10977 (cos_test_upward): Likewise.
10978 (cosh_test): Likewise.
10979 (cosh_test_tonearest): Likewise.
10980 (cosh_test_towardzero): Likewise.
10981 (cosh_test_downward): Likewise.
10982 (cosh_test_upward): Likewise.
10983 (cpow_test): Likewise.
10984 (csin_test): Likewise.
10985 (csinh_test): Likewise.
10986 (csqrt_test): Likewise.
10987 (ctan_test): Likewise.
10988 (ctan_test_tonearest): Likewise.
10989 (ctan_test_towardzero): Likewise.
10990 (ctan_test_downward): Likewise.
10991 (ctan_test_upward): Likewise.
10992 (ctanh_test): Likewise.
10993 (ctanh_test_tonearest): Likewise.
10994 (ctanh_test_towardzero): Likewise.
10995 (ctanh_test_downward): Likewise.
10996 (ctanh_test_upward): Likewise.
10997 (erf_test): Likewise.
10998 (erfc_test): Likewise.
10999 (exp_test): Likewise.
11000 (exp_test_tonearest): Likewise.
11001 (exp_test_towardzero): Likewise.
11002 (exp_test_downward): Likewise.
11003 (exp_test_upward): Likewise.
11004 (exp10_test): Likewise.
11005 (exp2_test): Likewise.
11006 (expm1_test): Likewise.
11007 (fmod_test): Likewise.
11008 (gamma_test): Likewise.
11009 (hypot_test): Likewise.
11010 (j0_test): Likewise.
11011 (j1_test): Likewise.
11012 (jn_test): Likewise.
11013 (lgamma_test): Likewise.
11014 (log_test): Likewise.
11015 (log10_test): Likewise.
11016 (log1p_test): Likewise.
11017 (log2_test): Likewise.
11018 (logb_test_downward): Likewise.
11019 (pow_test): Likewise.
11020 (pow_test_tonearest): Likewise.
11021 (pow_test_towardzero): Likewise.
11022 (pow_test_downward): Likewise.
11023 (pow_test_upward): Likewise.
11024 (remainder_test): Likewise.
11025 (remquo_test): Likewise.
11026 (sin_test): Likewise.
11027 (sin_test_tonearest): Likewise.
11028 (sin_test_towardzero): Likewise.
11029 (sin_test_downward): Likewise.
11030 (sin_test_upward): Likewise.
11031 (sincos_test): Likewise.
11032 (sinh_test): Likewise.
11033 (sinh_test_tonearest): Likewise.
11034 (sinh_test_towardzero): Likewise.
11035 (sinh_test_downward): Likewise.
11036 (sinh_test_upward): Likewise.
11037 (sqrt_test): Likewise.
11038 (tan_test): Likewise.
11039 (tan_test_tonearest): Likewise.
11040 (tan_test_towardzero): Likewise.
11041 (tan_test_downward): Likewise.
11042 (tan_test_upward): Likewise.
11043 (tanh_test): Likewise.
11044 (tgamma_test): Likewise.
11045 (y0_test): Likewise.
11046 (y1_test): Likewise.
11047 (yn_test): Likewise.
11048
323e5cb7
JM
11049 * math/gen-libm-test.pl (adjust_arg): Remove function.
11050 (special_function): Remove argument $in_func. Only handle
11051 generating output for tables of tests, not inside functions.
11052 (parse_args): Likewise.
11053 (generate_testfile): Remove variable $in_func. Update call to
11054 parse_args.
11055 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
11056 (MINUS_ZERO_INIT): Rename macro to minus_zero.
11057 (PLUS_INFTY_INIT): Rename macro to plus_infty.
11058 (MINUS_INFTY_INIT): Rename macro to minus_infty.
11059 (QNAN_VALUE_INIT): Rename macro to qnan_value.
11060 (MAX_VALUE_INIT): Rename macro to max_value.
11061 (MIN_VALUE_INIT): Rename macro to min_value.
11062 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
11063 (plus_zero): Remove variable.
11064 (minus_zero): Likewise.
11065 (plus_infty): Likewise.
11066 (minus_infty): Likewise.
11067 (qnan_value): Likewise.
11068 (max_value): Likewise.
11069 (min_value): Likewise.
11070 (min_subnorm_value): Likewise.
11071
e054f494
RA
110722013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11073
11074 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
11075 uint64_t or uint32_t usage.
11076 * crypt/sha256-block.c: Likewise.
11077 * crypt/sha256-crypt.c: Likewise.
11078 * crypt/sha256.c: Likewise.
11079 * crypt/sha512-block.c: Likewise.
11080 * crypt/sha512-crypt.c: Likewise.
11081 * crypt/sha512.c: Likewise.
11082 * debug/backtrace-tst.c: Likewise.
11083 * debug/pcprofiledump.c: Likewise.
11084 * elf/cache.c: Likewise.
11085 * elf/dl-cache.c: Likewise.
11086 * elf/dl-misc.c: Likewise.
11087 * elf/dl-profile.c: Likewise.
11088 * elf/dl-support.c: Likewise.
11089 * elf/ldconfig.c: Likewise.
11090 * elf/sprof.c: Likewise.
11091 * iconv/dummy-repertoire.c: Likewise.
11092 * iconv/iconv_charmap.c: Likewise.
11093 * iconv/skeleton.c: Likewise.
11094 * iconvdata/8bit-generic.c: Likewise.
11095 * iconvdata/cp737.h: Likewise.
11096 * iconvdata/cp775.h: Likewise.
11097 * iconvdata/ibm1008.h: Likewise.
11098 * iconvdata/ibm1025.h: Likewise.
11099 * iconvdata/ibm1046.h: Likewise.
11100 * iconvdata/ibm1097.h: Likewise.
11101 * iconvdata/ibm1112.h: Likewise.
11102 * iconvdata/ibm1122.h: Likewise.
11103 * iconvdata/ibm1123.h: Likewise.
11104 * iconvdata/ibm1124.h: Likewise.
11105 * iconvdata/ibm1129.h: Likewise.
11106 * iconvdata/ibm1130.h: Likewise.
11107 * iconvdata/ibm1132.h: Likewise.
11108 * iconvdata/ibm1133.h: Likewise.
11109 * iconvdata/ibm1137.h: Likewise.
11110 * iconvdata/ibm1140.h: Likewise.
11111 * iconvdata/ibm1141.h: Likewise.
11112 * iconvdata/ibm1142.h: Likewise.
11113 * iconvdata/ibm1143.h: Likewise.
11114 * iconvdata/ibm1144.h: Likewise.
11115 * iconvdata/ibm1145.h: Likewise.
11116 * iconvdata/ibm1146.h: Likewise.
11117 * iconvdata/ibm1147.h: Likewise.
11118 * iconvdata/ibm1148.h: Likewise.
11119 * iconvdata/ibm1149.h: Likewise.
11120 * iconvdata/ibm1153.h: Likewise.
11121 * iconvdata/ibm1154.h: Likewise.
11122 * iconvdata/ibm1155.h: Likewise.
11123 * iconvdata/ibm1156.h: Likewise.
11124 * iconvdata/ibm1157.h: Likewise.
11125 * iconvdata/ibm1158.h: Likewise.
11126 * iconvdata/ibm1160.h: Likewise.
11127 * iconvdata/ibm1161.h: Likewise.
11128 * iconvdata/ibm1162.h: Likewise.
11129 * iconvdata/ibm1163.h: Likewise.
11130 * iconvdata/ibm1164.h: Likewise.
11131 * iconvdata/ibm1166.h: Likewise.
11132 * iconvdata/ibm1167.h: Likewise.
11133 * iconvdata/ibm12712.h: Likewise.
11134 * iconvdata/ibm1390.h: Likewise.
11135 * iconvdata/ibm1399.h: Likewise.
11136 * iconvdata/ibm16804.h: Likewise.
11137 * iconvdata/ibm4517.h: Likewise.
11138 * iconvdata/ibm4899.h: Likewise.
11139 * iconvdata/ibm4909.h: Likewise.
11140 * iconvdata/ibm4971.h: Likewise.
11141 * iconvdata/ibm5347.h: Likewise.
11142 * iconvdata/ibm803.h: Likewise.
11143 * iconvdata/ibm856.h: Likewise.
11144 * iconvdata/ibm901.h: Likewise.
11145 * iconvdata/ibm902.h: Likewise.
11146 * iconvdata/ibm9030.h: Likewise.
11147 * iconvdata/ibm9066.h: Likewise.
11148 * iconvdata/ibm921.h: Likewise.
11149 * iconvdata/ibm922.h: Likewise.
11150 * iconvdata/ibm9448.h: Likewise.
11151 * iconvdata/isiri-3342.h: Likewise.
11152 * iconvdata/jis0201.h: Likewise.
11153 * include/link.h: Likewise.
11154 * include/netdb.h: Likewise.
11155 * inet/check_native.c: Likewise.
11156 * inet/check_pf.c: Likewise.
11157 * inet/getipv4sourcefilter.c: Likewise.
11158 * inet/getnameinfo.c: Likewise.
11159 * inet/getsourcefilter.c: Likewise.
11160 * inet/htonl.c: Likewise.
11161 * inet/setipv4sourcefilter.c: Likewise.
11162 * inet/setsourcefilter.c: Likewise.
11163 * inet/test-inet6_opt.c: Likewise.
11164 * inet/tst-network.c: Likewise.
11165 * locale/C-collate.c: Likewise.
11166 * locale/C-ctype.c: Likewise.
11167 * locale/C-time.c: Likewise.
11168 * locale/C-translit.h: Likewise.
11169 * locale/loadarchive.c: Likewise.
11170 * locale/programs/3level.h: Likewise.
11171 * locale/programs/charmap.c: Likewise.
11172 * locale/programs/charmap.h: Likewise.
11173 * locale/programs/ld-address.c: Likewise.
11174 * locale/programs/ld-collate.c: Likewise.
11175 * locale/programs/ld-ctype.c: Likewise.
11176 * locale/programs/ld-identification.c: Likewise.
11177 * locale/programs/ld-measurement.c: Likewise.
11178 * locale/programs/ld-messages.c: Likewise.
11179 * locale/programs/ld-monetary.c: Likewise.
11180 * locale/programs/ld-name.c: Likewise.
11181 * locale/programs/ld-numeric.c: Likewise.
11182 * locale/programs/ld-paper.c: Likewise.
11183 * locale/programs/ld-telephone.c: Likewise.
11184 * locale/programs/ld-time.c: Likewise.
11185 * locale/programs/linereader.c: Likewise.
11186 * locale/programs/locale.c: Likewise.
11187 * locale/programs/locarchive.c: Likewise.
11188 * locale/programs/locfile.h: Likewise.
11189 * locale/programs/repertoire.c: Likewise.
11190 * locale/programs/simple-hash.c: Likewise.
11191 * locale/programs/simple-hash.h: Likewise.
11192 * malloc/memusage.c: Likewise.
11193 * malloc/memusagestat.c: Likewise.
11194 * nis/nis_defaults.c: Likewise.
11195 * nis/nis_hash.c: Likewise.
11196 * nis/nis_print.c: Likewise.
11197 * nis/nis_xdr.c: Likewise.
11198 * nscd/connections.c: Likewise.
11199 * nscd/hstcache.c: Likewise.
11200 * nscd/nscd_gethst_r.c: Likewise.
11201 * nscd/nscd_getserv_r.c: Likewise.
11202 * nscd/nscd_helper.c: Likewise.
11203 * nscd/servicescache.c: Likewise.
11204 * nss/makedb.c: Likewise.
11205 * nss/nss_db/db-XXX.c: Likewise.
11206 * nss/nss_db/db-initgroups.c: Likewise.
11207 * nss/nss_db/db-netgrp.c: Likewise.
11208 * nss/nss_files/files-network.c: Likewise.
11209 * nss/nss_files/files-parse.c: Likewise.
11210 * posix/bug-regex5.c: Likewise.
11211 * posix/fnmatch_loop.c: Likewise.
11212 * posix/regcomp.c: Likewise.
11213 * posix/regexec.c: Likewise.
11214 * posix/tst-rfc3484-2.c: Likewise.
11215 * posix/tst-rfc3484-3.c: Likewise.
11216 * posix/tst-rfc3484.c: Likewise.
11217 * resolv/nss_dns/dns-canon.c: Likewise.
11218 * resolv/nss_dns/dns-network.c: Likewise.
11219 * resolv/res_init.c: Likewise.
11220 * resolv/res_mkquery.c: Likewise.
11221 * resolv/tst-aton.c: Likewise.
11222 * stdlib/cxa_atexit.c: Likewise.
11223 * stdlib/cxa_finalize.c: Likewise.
11224 * stdlib/gen-fpioconst.c: Likewise.
11225 * stdlib/strtol_l.c: Likewise.
11226 * string/tst-endian.c: Likewise.
11227 * sunrpc/auth_des.c: Likewise.
11228 * sunrpc/clnt_udp.c: Likewise.
11229 * sunrpc/rtime.c: Likewise.
11230 * sunrpc/svcauth_des.c: Likewise.
11231 * sunrpc/xdr.c: Likewise.
11232 * sunrpc/xdr_intXX_t.c: Likewise.
11233 * sunrpc/xdr_rec.c: Likewise.
11234 * sysdeps/generic/ldconfig.h: Likewise.
11235 * sysdeps/generic/ldsodefs.h: Likewise.
11236 * sysdeps/generic/memusage.h: Likewise.
11237 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
11238 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
11239 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
11240 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11241 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11242 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11243 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
11244 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
11245 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11246 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11247 * sysdeps/posix/getaddrinfo.c: Likewise.
11248 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
11249 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
11250 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
11251 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11252 * sysdeps/powerpc/test-gettimebase.c: Likewise.
11253 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
11254 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
11255 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
11256 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
11257 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
11258 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
11259 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
11260 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
11261 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
11262 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
11263 * sysdeps/x86_64/dl-tls.h: Likewise.
11264 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
11265 * time/alt_digit.c: Likewise.
11266 * time/era.c: Likewise.
11267 * wcsmbs/tst-c16c32-1.c: Likewise.
11268
8c75f674
JM
112692013-05-16 Joseph Myers <joseph@codesourcery.com>
11270
11271 * math/libm-test.inc (struct test_sincos_data): New type.
11272 (RUN_TEST_LOOP_sincos): New macro.
11273 (sincos_test_data): New variable.
11274 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
11275
e6e49e59
RH
112762013-05-16 Richard Henderson <rth@redhat.com>
11277
11278 * math/atest-exp2.c (LIMB64): New macro.
11279 (CONSTSZ): New macro.
11280 (mp_exp1, mp_exp_m1, mp_log2): New variables.
11281 (hexdig): Move ...
11282 (print_mpn_fp): ... to function scope.
11283 (read_mpn_hex): Remove.
11284 (get_log2): Remove.
11285 (exp2_mpn): Use mp_log2.
11286 (main): Use mp_exp1.
11287
15c7c18d
JM
112882013-05-16 Joseph Myers <joseph@codesourcery.com>
11289
105a07df
JM
11290 * math/libm-test.inc: Remove comment about not testing "inexact"
11291 exceptions.
11292 (INEXACT_EXCEPTION): New macro.
11293 (NO_INEXACT_EXCEPTION): Likewise.
11294 (INVALID_EXCEPTION_OK): Update value.
11295 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
11296 (OVERFLOW_EXCEPTION_OK): Likewise.
11297 (UNDERFLOW_EXCEPTION_OK): Likewise.
11298 (IGNORE_ZERO_INF_SIGN): Likewise.
11299 (ERRNO_UNCHANGED): Likewise.
11300 (ERRNO_EDOM): Likewise.
11301 (ERRNO_ERANGE): Likewise.
11302 (test_exceptions): Handle testing "inexact" exceptions.
11303 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
11304 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
11305 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
11306 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
11307 INEXACT_EXCEPTION.
11308 (rint_towardzero_test_data): Likewise.
11309 (rint_downward_test_data): Likewise.
11310 (rint_upward_test_data): Likewise.
11311
e9eee333
JM
11312 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
11313 with OVERFLOW_EXCEPTION.
11314 (exp10_test_data): Likewise.
11315 (exp2_test_data): Likewise.
11316 (expm1_test_data): Likewise.
11317 (lgamma_test_data): Likewise.
11318 (pow_test_data): Likewise.
11319 (tgamma_test_data): Likewise.
11320 (yn_test_data): Remove duplicate test of overflow.
11321
1c38ff73
JM
11322 * math/libm-test.inc (struct test_cc_c_data): New type.
11323 (RUN_TEST_LOOP_cc_c): New macro.
11324 (cpow_test_data): New variable.
11325 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
11326
15c7c18d
JM
11327 * math/libm-test.inc (struct test_f_L_data): New type.
11328 (RUN_TEST_LOOP_f_L): New macro.
11329 (llrint_test_data): New variable.
11330 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
11331 (llrint_tonearest_test_data): New variable.
11332 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
11333 (llrint_towardzero_test_data): New variable.
11334 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
11335 (llrint_downward_test_data): New variable.
11336 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
11337 (llrint_upward_test_data): New variable.
11338 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
11339 (llround_test_data): New variable.
11340 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
11341
f137ff13
PC
113422013-05-13 Peter Collingbourne <pcc@google.com>
11343
11344 * math/atest-exp2.c (get_log2): Remove const attribute.
11345
3608cb24
JM
113462013-05-15 Joseph Myers <joseph@codesourcery.com>
11347
11348 * math/libm-test.inc (struct test_f_l_data): New type.
11349 (RUN_TEST_LOOP_f_l): New macro.
11350 (lrint_test_data): New variable.
11351 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
11352 (lrint_tonearest_test_data): New variable.
11353 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
11354 (lrint_towardzero_test_data): New variable.
11355 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
11356 (lrint_downward_test_data): New variable.
11357 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
11358 (lrint_upward_test_data): New variable.
11359 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
11360 (lround_test_data): New variable.
11361 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
11362
39b1f617
PC
113632013-05-15 Peter Collingbourne <pcc@google.com>
11364
1deff3dc
PC
11365 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
11366 (EXTRACT_WORDS64) Use where appropriate.
11367 (INSERT_WORDS64) Likewise.
11368
791f3ba0
PC
11369 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
11370 constraints with x constraints.
11371 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
11372
39b1f617
PC
11373 * malloc/obstack.c (_obstack_compat): Add initializer.
11374
12fba011
EM
113752013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
11376
11377 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
11378 si_trapno and add si_addr_lsb to _sifields.sigfault.
11379 (si_trapno): Remove macro.
11380 (si_addr_lsb): Define new macro.
11381 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
11382
d369f531
JM
113832013-05-15 Joseph Myers <joseph@codesourcery.com>
11384
b861c6c4
JM
11385 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
11386 instead of TEST_f_l.
11387 (llrint_test_tonearest): Likewise.
11388 (llrint_test_towardzero): Likewise.
11389 (llrint_test_downward): Likewise.
11390 (llrint_test_upward): Likewise.
11391 (llround_test): Likewise.
11392
7abeee12
JM
11393 * math/libm-test.inc (struct test_f_i_data): Add comment.
11394 (RUN_TEST_LOOP_f_b): New macro.
11395 (RUN_TEST_LOOP_f_b_tg): Likewise.
11396 (finite_test_data): New variable.
11397 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
11398 (isfinite_test_data): New variable.
11399 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11400 (isinf_test_data): New variable.
11401 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11402 (isnan_test_data): New variable.
11403 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11404 (isnormal_test_data): New variable.
11405 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11406 (issignaling_test_data): New variable.
11407 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11408 (signbit_test_data): New variable.
11409 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
11410
cbe8c4d3
JM
11411 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
11412 with INVALID_EXCEPTION.
11413 (acosh_test_data): Likewise.
11414 (asin_test_data): Likewise.
11415 (atanh_test_data): Likewise.
11416 (fmod_test_data): Likewise.
11417 (log_test_data): Likewise.
11418 (log10_test_data): Likewise.
11419 (log2_test_data): Likewise.
11420 (pow_test_data): Likewise.
11421 (sqrt_test_data): Likewise.
11422 (y0_test_data): Likewise.
11423 (y1_test_data): Likewise.
11424 (yn_test_data): Likewise.
11425
5575c0e5
JM
11426 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
11427 function contents.
11428
d369f531
JM
11429 * math/libm-test.inc (struct test_ff_i_data): New type.
11430 (RUN_TEST_LOOP_ff_i_tg): New macro.
11431 (isgreater_test_data): New variable.
11432 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11433 (isgreaterequal_test_data): New variable.
11434 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11435 (isless_test_data): New variable.
11436 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11437 (islessequal_test_data): New variable.
11438 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11439 (islessgreater_test_data): New variable.
11440 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11441 (isunordered_test_data): New variable.
11442 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
11443
781fd748
DM
114442013-05-14 David S. Miller <davem@davemloft.net>
11445
11446 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11447
87aa21df
JM
114482013-05-14 Joseph Myers <joseph@codesourcery.com>
11449
5e908270
JM
11450 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
11451
f71172e5
JM
11452 * math/libm-test.inc (struct test_fF_f1_data): Change type of
11453 extra_test to int.
11454 (struct test_f_i_data): Change type of max_ulp to int.
11455
8cfa635a
JM
11456 * math/libm-test.inc (test_ffI_f1_data): New type.
11457 (RUN_TEST_LOOP_ffI_f1): New macro.
11458 (remquo_test_data): New variable.
11459 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
11460
2bcb36b2
JM
11461 * setjmp/tst-setjmp-fp.c: New file.
11462 * setjmp/Makefile (tests): Add tst-setjmp-fp.
11463 (link-libm): New variable.
11464 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
11465
acbd839a
JM
11466 * math/libm-test.inc (struct test_f_i_data): New type.
11467 (RUN_TEST_LOOP_f_i): New macro.
11468 (RUN_TEST_LOOP_f_i_tg): Likewise.
11469 (fpclassify_test_data): New variable.
11470 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
11471 (ilogb_test_data): New variable.
11472 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
11473
e414d745
JM
11474 * math/libm-test.inc (scalbln_test): Correct function name in END
11475 call.
11476
d9c2a0fd
JM
11477 * math/libm-test.inc (struct test_f_f1_data): Add comment.
11478 (RUN_TEST_LOOP_fI_f1): New macro.
11479 (frexp_test_data): New variable.
11480 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
11481
9dc9095d
JM
11482 * math/libm-test.inc (struct test_fF_f1_data): New type.
11483 (RUN_TEST_LOOP_fF_f1): New macro.
11484 (modf_test_data): New variable.
11485 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
11486
87aa21df
JM
11487 * math/libm-test.inc (struct test_f_f1_data): New type.
11488 (RUN_TEST_LOOP_f_f1): New macro.
11489 (gamma_test_data): New variable.
11490 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11491 (lgamma_test_data): New variable.
11492 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
11493
141af660
CD
114942013-05-13 Carlos O'Donell <carlos@redhat.com>
11495
11496 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
11497 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
11498 (main): Comment "tls" pseudo-hwcap.
11499
6d33265c
JM
115002013-05-13 Joseph Myers <joseph@codesourcery.com>
11501
68fc074c
JM
11502 * math/libm-test.inc (struct test_fl_f_data): New type.
11503 (RUN_TEST_LOOP_fl_f): New variable.
11504 (scalbln_test_data): New variable.
11505 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
11506
243216e1
JM
11507 * math/libm-test.inc (struct test_fi_f_data): New type.
11508 (RUN_TEST_LOOP_fi_f): New macro.
11509 (ldexp_test_data): New variable.
11510 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
11511 (scalbn_test_data): New variable.
11512 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
11513
6a1992e2
JM
11514 * math/libm-test.inc (struct test_c_f_data): New type.
11515 (RUN_TEST_LOOP_c_f): New macro.
11516 (cabs_test_data): New variable.
11517 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
11518 (carg_test_data): New variable.
11519 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
11520 (cimag_test_data): New variable.
11521 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
11522 (creal_test_data): New variable.
11523 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
11524
0e400df5
JM
11525 * math/libm-test.inc (struct test_if_f_data): New type.
11526 (RUN_TEST_LOOP_if_f): New macro.
11527 (jn_test_data): New variable.
11528 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
11529 (yn_test_data): New variable.
11530 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
11531
6d33265c
JM
11532 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
11533
f98ece5f
AZ
115342013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11535
11536 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
11537 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
11538
0f7d347b
SP
115392013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11540
43fe811b
SP
11541 * benchtests/Makefile (CPPFLAGS-nonlib): Add
11542 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
11543 (bench-deps): Add bench-timing.h.
11544 * benchtests-bench-skeleton.c: Include bench-timing.h.
11545 (main): Use TIMING_* macros instead of clock_gettime.
11546 * benchtests/bench-timing.h: New file.
11547
0f7d347b
SP
11548 [BZ #14582]
11549 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
11550 Renamed from _LIB_VERSION.
11551 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
11552
601a3a5f
JM
115532013-05-12 Joseph Myers <joseph@codesourcery.com>
11554
4f184d30
JM
11555 * math/libm-test.inc (struct test_fff_f_data): New type.
11556 (RUN_TEST_LOOP_fff_f): New macro.
11557 (fma_test_data): New variable.
11558 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
11559 (fma_towardzero_test_data): New variable.
11560 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
11561 (fma_downward_test_data): New variable.
11562 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
11563 (fma_upward_test_data): New variable.
11564 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
11565
08198877
JM
11566 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
11567 (struct test_c_c_data): New type.
11568 (RUN_TEST_LOOP_c_c): New macro.
11569 (cacos_test_data): New variable.
11570 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
11571 (cacosh_test_data): New variable.
11572 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
11573 (casin_test_data): New variable.
11574 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
11575 (casinh_test_data): New variable.
11576 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
11577 (catan_test_data): New variable.
11578 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
11579 (catanh_test_data): New variable.
11580 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
11581 (ccos_test_data): New variable.
11582 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
11583 (ccosh_test_data): New variable.
11584 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
11585 (cexp_test_data): New variable.
11586 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
11587 (clog_test_data): New variable.
11588 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
11589 (clog10_test_data): New variable.
11590 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
11591 (conj_test_data): New variable.
11592 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
11593 (cproj_test_data): New variable.
11594 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
11595 (csin_test_data): New variable.
11596 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
11597 (csinh_test_data): New variable.
11598 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
11599 (csqrt_test_data): New variable.
11600 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
11601 (ctan_test_data): New variable.
11602 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
11603 (ctan_tonearest_test_data): New variable.
11604 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11605 (ctan_towardzero_test_data): New variable.
11606 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11607 (ctan_downward_test_data): New variable.
11608 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11609 (ctan_upward_test_data): New variable.
11610 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11611 (ctanh_test_data): New variable.
11612 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
11613 (ctanh_tonearest_test_data): New variable.
11614 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
11615 (ctanh_towardzero_test_data): New variable.
11616 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
11617 (ctanh_downward_test_data): New variable.
11618 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
11619 (ctanh_upward_test_data): New variable.
11620 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
11621 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
11622 of BUILD_COMPLEX.
11623
601a3a5f
JM
11624 * math/libm-test.inc (struct test_ff_f_data): New type.
11625 (struct test_ff_f_data_nexttoward): Likewise.
11626 (RUN_TEST_LOOP_2_f): New macro.
11627 (RUN_TEST_LOOP_ff_f): Likewise.
11628 (atan2_test_data): New variable.
11629 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
11630 (copysign_test_data): New variable.
11631 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
11632 (fdim_test_data): New variable.
11633 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
11634 (fmax_test_data): New variable.
11635 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
11636 (fmin_test_data): New variable.
11637 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
11638 (fmod_test_data): New variable.
11639 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
11640 (hypot_test_data): New variable.
11641 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
11642 (nextafter_test_data): New variable.
11643 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
11644 (nexttoward_test_data): New variable.
11645 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
11646 (pow_test_data): New variable.
11647 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
11648 (pow_tonearest_test_data): New variable.
11649 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
11650 (pow_towardzero_test_data): New variable.
11651 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
11652 (pow_downward_test_data): New variable.
11653 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
11654 (pow_upward_test_data): New variable.
11655 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
11656 (remainder_test_data): New variable.
11657 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
11658 (scalb_test_data): New variable.
11659 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
11660 * sysdeps/i386/fpu/libm-test-ulps: Update.
11661
74c57478
JM
116622013-05-11 Joseph Myers <joseph@codesourcery.com>
11663
8329e4da
JM
11664 * math/libm-test.inc (fma_test): Use max_value instead of local
11665 variable fltmax.
11666 (nextafter_test): Likewise.
11667
74c57478
JM
11668 * math/libm-test.inc (acos_towardzero_test_data): New variable.
11669 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11670 (acos_downward_test_data): New variable.
11671 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11672 (acos_upward_test_data): New variable.
11673 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11674 (acosh_test_data): New variable.
11675 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
11676 (asin_test_data): New variable.
11677 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
11678 (asin_tonearest_test_data): New variable.
11679 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11680 (asin_towardzero_test_data): New variable.
11681 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11682 (asin_downward_test_data): New variable.
11683 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11684 (asin_upward_test_data): New variable.
11685 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11686 (asinh_test_data): New variable.
11687 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
11688 (atan_test_data): New variable.
11689 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
11690 (atanh_test_data): New variable.
11691 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
11692 (cbrt_test_data): New variable.
11693 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
11694 (ceil_test_data): New variable.
11695 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
11696 (cos_test_data): New variable.
11697 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
11698 (cos_tonearest_test_data): New variable.
11699 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11700 (cos_towardzero_test_data): New variable.
11701 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11702 (cos_downward_test_data): New variable.
11703 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11704 (cos_upward_test_data): New variable.
11705 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11706 (cosh_test_data): New variable.
11707 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
11708 (cosh_tonearest_test_data): New variable.
11709 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11710 (cosh_towardzero_test_data): New variable.
11711 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11712 (cosh_downward_test_data): New variable.
11713 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11714 (cosh_upward_test_data): New variable.
11715 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11716 (erf_test_data): New variable.
11717 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
11718 (erfc_test_data): New variable.
11719 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
11720 (exp_test_data): New variable.
11721 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
11722 (exp_tonearest_test_data): New variable.
11723 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11724 (exp_towardzero_test_data): New variable.
11725 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11726 (exp_downward_test_data): New variable.
11727 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11728 (exp_upward_test_data): New variable.
11729 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11730 (exp10_test_data): New variable.
11731 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
11732 (exp2_test_data): New variable.
11733 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
11734 (expm1_test_data): New variable.
11735 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
11736 (fabs_test_data): New variable.
11737 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
11738 (floor_test_data): New variable.
11739 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
11740 (j0_test_data): New variable.
11741 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
11742 (j1_test_data): New variable.
11743 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
11744 (log_test_data): New variable.
11745 (log_test): Run tests with RUN_TEST_LOOP_f_f.
11746 (log10_test_data): New variable.
11747 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
11748 (log1p_test_data): New variable.
11749 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
11750 (log2_test_data): New variable.
11751 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
11752 (logb_test_data): New variable.
11753 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
11754 (logb_downward_test_data): New variable.
11755 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11756 (nearbyint_test_data): New variable.
11757 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
11758 (rint_test_data): New variable.
11759 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
11760 (rint_tonearest_test_data): New variable.
11761 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11762 (rint_towardzero_test_data): New variable.
11763 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11764 (rint_downward_test_data): New variable.
11765 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11766 (rint_upward_test_data): New variable.
11767 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11768 (round_test_data): New variable.
11769 (round_test): Run tests with RUN_TEST_LOOP_f_f.
11770 (sin_test_data): New variable.
11771 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
11772 (sin_tonearest_test_data): New variable.
11773 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11774 (sin_towardzero_test_data): New variable.
11775 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11776 (sin_downward_test_data): New variable.
11777 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11778 (sin_upward_test_data): New variable.
11779 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11780 (sinh_test_data): New variable.
11781 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
11782 (sinh_tonearest_test_data): New variable.
11783 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11784 (sinh_towardzero_test_data): New variable.
11785 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11786 (sinh_downward_test_data): New variable.
11787 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11788 (sinh_upward_test_data): New variable.
11789 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11790 (sqrt_test_data): New variable.
11791 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
11792 (tan_test_data): New variable.
11793 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
11794 (tan_tonearest_test_data): New variable.
11795 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11796 (tan_towardzero_test_data): New variable.
11797 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
11798 (tan_downward_test_data): New variable.
11799 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
11800 (tan_upward_test_data): New variable.
11801 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
11802 (tanh_test_data): New variable.
11803 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
11804 (tgamma_test_data): New variable.
11805 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
11806 (trunc_test_data): New variable.
11807 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
11808 (y0_test_data): New variable.
11809 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
11810 (y1_test_data): New variable.
11811 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
11812 (significand_test_data): New variable.
11813 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
11814
7187d844
CG
118152013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
11816
11817 [BZ #12387]
11818 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
11819
f63fae73
PT
118202013-05-10 Pino Toscano <toscano.pino@tiscali.it>
11821
11822 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
11823
8a67a4b3
AJ
118242013-05-10 Andreas Jaeger <aj@suse.de>
11825
11826 [BZ #15448]
11827 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
11828 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
11829
51df539d
JM
118302013-05-10 Joseph Myers <joseph@codesourcery.com>
11831
11832 * math/gen-libm-test.pl (adjust_arg): New function.
11833 (special_functions): Handle generating output in both functions
11834 and arrays.
11835 (parse_args): Likewise.
11836 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
11837 $in_func argument to parse_args.
11838 * math/libm-test.inc (struct test_f_f_data): New type.
11839 (IF_ROUND_INIT_): New macro.
11840 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
11841 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11842 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11843 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11844 (ROUND_RESTORE_): Likewise.
11845 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
11846 (ROUND_RESTORE_FE_TONEAREST): Likewise.
11847 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
11848 (ROUND_RESTORE_FE_UPWARD): Likewise.
11849 (RUN_TEST_LOOP_f_f): New macro.
11850 (acos_test_data): New variable.
11851 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
11852 (acos_tonearest_test_data): New variable.
11853 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
11854
5c637fe5
SP
118552013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11856
11857 * benchtests/bench-skeleton.c (startup): Fix coding style.
11858
ab2b9461
JM
118592013-05-10 Joseph Myers <joseph@codesourcery.com>
11860
11861 [BZ #6809]
11862 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
11863 negative infinity argument.
11864 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
11865 negative infinity argument.
11866 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
11867 negative infinity argument.
11868 * math/libm-test.inc (tgamma_test): Expect errno to be set for
11869 domain errors.
11870
4c0fe6fe
FW
118712013-05-10 Florian Weimer <fweimer@redhat.com>
11872
11873 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
11874 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
11875 * iconv/iconv_prog.c (main): Likewise.
11876 * locale/programs/charmap-dir.c (charmap_readdir)
11877 (fopen_uncompressed): Likewise.
11878 * locale/programs/locfile.c (siblings_uncached)
11879 (write_locale_data): Use lstat64 instead of lstat.
11880 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
11881 stat.
11882
a3375d29
AJ
118832013-05-10 Andreas Jaeger <aj@suse.de>
11884
11885 [BZ #15395]
11886 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
11887 localization.
11888 Include <locale.h>.
11889
36129722
CD
118902013-05-09 Carlos O'Donell <carlos@redhat.com>
11891
11892 * elf/dl-close.c (_dl_close_worker): Add comments.
11893
faa7f811
JM
118942013-05-09 Joseph Myers <joseph@codesourcery.com>
11895
ed41ffef
JM
11896 [BZ #15359]
11897 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
11898 high part of pi/2.
11899 (__ieee754_rem_pio2l): Update comments.
11900
d0213cd0
JM
11901 [BZ #15429]
11902 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
11903 high part of pi/2.
11904 (__ieee754_rem_pio2l): Update comments.
11905
0d3e777a
JM
11906 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
11907 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
11908
24f56066
JM
11909 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
11910 M_PI_4l.
11911
faa7f811
JM
11912 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
11913 (M_PI_34_LOG10El): Likewise.
11914 (M_PI2_LOG10El): Likewise.
11915 (M_PI4_LOG10El): Likewise.
11916 (M_PI_LOG10El): Likewise.
11917
e9a5e0fd
AZ
119182013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11919
11920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11921
d8cd06db
JM
119222013-05-08 Joseph Myers <joseph@codesourcery.com>
11923
a0d9f9d7
JM
11924 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
11925 (MINUS_ZERO_INIT): Likewise.
11926 (PLUS_INFTY_INIT): Likewise.
11927 (MINUS_INFTY_INIT): Likewise.
11928 (QNAN_VALUE_INIT): Likewise.
11929 (MAX_VALUE_INIT): Likewise.
11930 (MIN_VALUE_INIT): Likewise.
11931 (MIN_SUBNORM_VALUE_INIT): Likewise.
11932 (plus_zero): Initialize with PLUS_ZERO_INIT.
11933 (minus_zero): Initialize with MINUS_ZERO_INIT.
11934 (plus_infty): Initialize with PLUS_INFTY_INIT.
11935 (minus_infty): Initialize with MINUS_INFTY_INIT.
11936 (qnan_value): Initialize with QNAN_VALUE_INIT.
11937 (max_value): Initialize with MAX_VALUE_INIT.
11938 (min_value): Initialize with MIN_VALUE_INIT.
11939 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
11940
ae08db3b
JM
11941 * math/libm-test.inc (RUN_TEST_if_f): New macro.
11942 (jn_test): Use TEST_if_f instead of TEST_ff_f.
11943 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
11944 (yn_test): Use TEST_if_f instead of TEST_ff_f.
11945
f44bf14a
JM
11946 * math/libm-test.inc (RUN_TEST_f_f): New macro.
11947 (RUN_TEST_2_f): Likewise.
11948 (RUN_TEST_ff_f): Likewise.
11949 (RUN_TEST_fi_f): Likewise.
11950 (RUN_TEST_fl_f): Likewise.
11951 (RUN_TEST_fff_f): Likewise.
11952 (RUN_TEST_c_f): Likewise.
11953 (RUN_TEST_f_f1): Likewise.
11954 (RUN_TEST_fF_f1): Likewise.
11955 (RUN_TEST_fI_f1): Likewise.
11956 (RUN_TEST_ffI_f1): Likewise.
11957 (RUN_TEST_c_c): Likewise.
11958 (RUN_TEST_cc_c): Likewise.
11959 (RUN_TEST_f_i): Likewise.
11960 (RUN_TEST_f_i_tg): Likewise.
11961 (RUN_TEST_ff_i_tg): Likewise.
11962 (RUN_TEST_f_b): Likewise.
11963 (RUN_TEST_f_b_tg): Likewise.
11964 (RUN_TEST_f_l): Likewise.
11965 (RUN_TEST_f_L): Likewise.
11966 (RUN_TEST_sincos): Likewise.
11967 * math/gen-libm-test.pl (new_test): Take new argument to indicate
11968 whether to show exceptions. Do not include ");\n" in return
11969 value.
11970 (special_functions): Output call to RUN_TEST_sincos instead of
11971 check_float calls. Update calls to new_test.
11972 (parse_args): Output call to single RUN_TEST_* macro instead of
11973 check_* calls and other assignments. Update calls to new_test.
11974
d8cd06db
JM
11975 [BZ #2546]
11976 [BZ #2560]
11977 [BZ #5159]
11978 [BZ #15426]
11979 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
11980 input to result for tgamma overflow.
11981 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
11982 (gamma_coeff): New variable.
11983 (NCOEFF): New macro.
11984 (gamma_positive): New function.
11985 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
11986 underflow here. Use gamma_positive instead of exp (lgamma) for
11987 other arguments.
11988 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
11989 (gamma_coeff): New variable.
11990 (NCOEFF): New macro.
11991 (gammaf_positive): New function.
11992 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
11993 underflow here. Use gamma_positive instead of exp (lgamma) for
11994 other arguments.
11995 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
11996 (gamma_coeff): New variable.
11997 (NCOEFF): New macro.
11998 (gammal_positive): New function.
11999 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
12000 underflow here. Use gamma_positive instead of exp (lgamma) for
12001 other arguments.
12002 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
12003 (gamma_coeff): New variable.
12004 (NCOEFF): New macro.
12005 (gammal_positive): New function.
12006 (__ieee754_gammal_r): Handle positive infinity, overflow and
12007 underflow here. Handle NaN the same as positive infinity. Remove
12008 check x < 0xffffffff for negative integers. Use gamma_positive
12009 instead of exp (lgamma) for other arguments.
12010 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
12011 (gamma_coeff): New variable.
12012 (NCOEFF): New macro.
12013 (gammal_positive): New function.
12014 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
12015 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
12016 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
12017 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
12018 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
12019 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
12020 * sysdeps/generic/math_private.h (__gamma_productf): New
12021 prototype.
12022 (__gamma_product): Likewise.
12023 (__gamma_productl): Likewise.
12024 * math/Makefile (libm-calls): Add gamma_product.
12025 * math/libm-test.inc (tgamma_test): Add more tests.
12026 * sysdeps/i386/fpu/libm-test-ulps: Update.
12027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12028
bb7cf681
OB
120292013-05-08 Ondřej Bílka <neleai@seznam.cz>
12030
12031 * benchtests/bench-skeleton.c (main): Preheat CPU.
12032
ba853947
AJ
120332013-05-07 Aurelien Jarno <aurelien@aurel32.net>
12034
12035 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
12036
8347c74c
RM
120372013-05-07 Roland McGrath <roland@hack.frob.com>
12038
12039 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
12040 and _dl_skip_args_internal.
12041
e8dd4791
CD
120422013-05-07 Carlos O'Donell <carlos@redhat.com>
12043
12044 * manual/message.texi (Message Translation): Talk about users.
12045 Message to key mapping impacts design.
12046
c7405830
RM
120472013-05-06 Roland McGrath <roland@hack.frob.com>
12048
a9173057
RM
12049 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
12050
976e2f03
RM
12051 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
12052
9723ffc5
RM
12053 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
12054 * sysdeps/wordsize-64/glob64.c: ... here.
12055
962e6658
RM
12056 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
12057 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
12058 New macros.
12059
ee586a6d
RM
12060 * debug/getlogin_r_chk.c: Moved to ...
12061 * login/getlogin_r_chk.c: ... here.
12062 * debug/Makefile (routines): Move getlogin_r_chk to ...
12063 * login/Makefile (routines): ... here.
12064 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
12065 * login/Versions (libc: GLIBC_2.4): ... here.
12066
355f9165
RM
12067 * io/poll.c (__poll): Renamed from poll.
12068 Add libc_hidden_def.
12069 (poll): Define as weak alias.
12070
bd9ffde6
RM
12071 * debug/ptsname_r_chk.c: Moved to ...
12072 * login/ptsname_r_chk.c: ... here.
12073 * debug/Makefile (routines): Move ptsname_r_chk to ...
12074 * login/Makefile (routines): ... here.
12075 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
12076 * login/Versions (libc: GLIBC_2.4): ... here.
12077
8fb16a04
RM
12078 * posix/getlogin.c: Moved to ...
12079 * login/getlogin.c: ... here.
12080 * posix/getlogin_r.c: Moved to ...
12081 * login/getlogin_r.c: ... here.
12082 * posix/getlogin_r.c: Moved to ...
12083 * login/getlogin_r.c: ... here.
12084 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
12085 * login/Makefile (routines): ... here.
12086 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
12087 * login/Versions (libc: GLIBC_2.0): ... here.
12088
b99b892f
RM
12089 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
12090 (setrlimit): Define as weak alias.
12091
c7405830
RM
12092 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
12093 Call __ names for open, ftruncate, and close.
12094 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
12095 (truncate): Define as weak alias.
12096
5bf96de5
JM
120972013-05-06 Joseph Myers <joseph@codesourcery.com>
12098
9ea3513c
JM
12099 * math/gen-libm-test.pl (parse_args): Initialize x before each
12100 test of frexp, modf and remquo.
12101
5bf96de5
JM
12102 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
12103 test signgam value.
12104
16e616a7
AZ
121052013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12106
12107 [BZ #15418]
12108 [BZ #15419]
12109 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
12110 internal tests.
12111 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12112
d5e82754
RM
121132013-05-06 Roland McGrath <roland@hack.frob.com>
12114
12115 * elf/dl-writev.h: New file.
12116 * elf/dl-misc.c: Include it.
12117 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
12118 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
12119
a7548d41
JM
121202013-05-04 Joseph Myers <joseph@codesourcery.com>
12121
b7dab1e4
JM
12122 * math/libm-test.inc (noXFails): Remove variable.
12123 (noXPasses): Likewise.
12124 (BUILD_COMPLEX_INT): Remove macro.
12125 (print_screen): Remove xfail argument.
12126 (print_screen_max_error): Likewise.
12127 (update_stats): Likewise.
12128 (print_max_error): Likewise. Update calls to other affected
12129 functions.
12130 (print_complex_max_error): Likewise.
12131 (test_single_exception): Update calls to print_screen.
12132 (test_single_errno): Likewise.
12133 (check_float_internal): Remove xfail argument. Update calls to
12134 other affected functions.
12135 (check_float): Likewise.
12136 (check_complex): Likewise.
12137 (check_int): Likewise.
12138 (check_long): Likewise.
12139 (check_bool): Likewise.
12140 (check_longlong): Likewise.
12141 (main): Don't print noXFails and noXPasses.
12142 * math/gen-libm-test.pl (top level): Don't mention expected
12143 failure handling in comment.
12144 (new_test): Don't handle expected failures.
12145 (parse_args): Don't mention expected failure handling in comment.
12146 (generate_testfile): Don't handle expected failures.
12147 (parse_ulps): Likewise.
12148 (print_ulps_file): Likewise.
12149 (get_failure): Remove function.
12150 (output_test): Don't handle expected failures.
12151 * make/README.libm-test: Don't mention expected failure handling.
12152
a7548d41
JM
12153 * math/libm-test.inc (plus_zero): Make const. Add initializer.
12154 (minus_zero): Likewise.
12155 (plus_infty): Likewise.
12156 (minus_infty): Likewise.
12157 (qnan_value): Likewise.
12158 (max_value): Likewise.
12159 (min_value): Likewise.
12160 (min_subnorm_value): Likewise.
12161 (initialize): Do not initialize those variables dynamically.
12162
60bfd54c
RM
121632013-05-03 Roland McGrath <roland@hack.frob.com>
12164
cc0e6ed8
RM
12165 * io/open.c (__open_2): Moved to ...
12166 * io/open_2.c: ... this new file.
12167 * io/open64.c (__open64_2): Moved to ...
12168 * io/open64_2.c: ... this new file.
12169 * io/openat.c (__openat_2): Moved to ...
12170 * io/openat_2.c: ... this new file.
12171 * io/openat64.c (__openat64_2): Moved to ...
12172 * io/openat64_2.c: ... this new file.
12173 * io/Makefile (routines): Add them.
12174 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
12175 * sysdeps/unix/sysv/linux/open_2.c: File removed.
12176 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
12177 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
12178 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
12179 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
12180 (__openat64): Add hidden_ver.
12181 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
12182 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
12183
60bfd54c
RM
12184 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
12185 Separately conditionalize setting of GLRO(dl_sysinfo) so
12186 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
12187 as well, but the actual setting is only under [NEED_DL_SYSINFO].
12188
83e7640f
AZ
121892013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12190
12191 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
12192 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
12193 definition.
12194 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
12195 * sysdeps/unix/sysv/linux/powerpc/init-first.c
12196 (_libc_vdso_platform_setup): Add __vdso_time initialization.
12197 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
12198 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
12199
d5dc2af3
JM
122002013-05-03 Joseph Myers <joseph@codesourcery.com>
12201
c31a5b1e
JM
12202 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
12203 test signgam value.
12204
d5dc2af3
JM
12205 * math/libm-test.inc (hypot_test): Do not use
12206 IGNORE_ZERO_INF_SIGN.
12207
164fd39d
AJ
122082013-05-03 Andreas Jaeger <aj@suse.de>
12209
12210 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
12211 Linux 3.9.
12212 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
12213 (PF_MAX): Adjust for VSOCK change.
12214
8237f48c
AZ
122152013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12216
12217 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12218
9df02941
CD
122192013-05-02 Carlos O'Donell <carlos@redhat.com>
12220
12221 [BZ #15264]
12222 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
12223 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
12224 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
12225
d422395e
DM
122262013-05-02 David S. Miller <davem@davemloft.net>
12227
12228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12229
a07c5731
OB
122302013-05-01 Ondřej Bílka <neleai@seznam.cz>
12231
12232 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
12233
1324e37f
RM
122342013-05-01 Roland McGrath <roland@hack.frob.com>
12235
12236 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
12237
0695940b
RS
122382013-05-01 Richard Smith <richard@metafoo.co.uk>
12239
bb5f27ad 12240 [BZ #14952]
0695940b
RS
12241 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
12242 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12243 Use __attribute__ ((__gnu_inline__)).
12244 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
12245 Don't use __attribute__ ((__gnu_inline__)).
12246
10de07f5
JM
122472013-05-01 Joseph Myers <joseph@codesourcery.com>
12248
12249 [BZ #15423]
12250 * math/s_catan.c (__catan): Handle small real or imaginary part of
12251 input specially to avoid spurious underflow.
12252 * math/s_catanf.c (__catanf): Likewise.
12253 * math/s_catanh.c (__catanh): Likewise.
12254 * math/s_catanhf.c (__catanhf): Likewise.
12255 * math/s_catanhl.c (__catanhl): Likewise.
12256 * math/s_catanl.c (__catanl): Likewise.
12257 * math/libm-test.inc (catan_test): Add more tests.
12258 (catanh_test): Likewise.
12259 * sysdeps/i386/fpu/libm-test-ulps: Update.
12260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12261
cb4d5414
AZ
122622013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12263
12264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12265
caf84319
JM
122662013-04-30 Joseph Myers <joseph@codesourcery.com>
12267
12268 [BZ #15416]
12269 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
12270 accurately for denominator in atan2.
12271 * math/s_catanf.c (__catanf): Likewise.
12272 * math/s_catanh.c (__catanh): Likewise.
12273 * math/s_catanhf.c (__catanhf): Likewise.
12274 * math/s_catanhl.c (__catanhl): Likewise.
12275 * math/s_catanl.c (__catanl): Likewise.
12276 * math/libm-test.inc (catan_test): Add more tests.
12277 (catanh_test): Likewise.
12278 * sysdeps/i386/fpu/libm-test-ulps: Update.
12279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12280
d569c6ee
SP
122812013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12282
6dbe713d
SP
12283 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
12284
f0ee064b
SP
12285 * benchtests/Makefile (bench): Remove slow benchmarks.
12286 * benchtests/atan-inputs: Add slow benchmark inputs.
12287 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
12288 (BENCH_FUNC): Accept variant offset.
12289 (VARIANT): Define.
12290 * benchtests/bench-skeleton.c (main): Run benchmark for each
12291 variant.
12292 * benchtests/cos-inputs: Add slow benchmark inputs.
12293 * benchtests/exp-inputs: Likewise.
12294 * benchtests/pow-inputs: Likewise.
12295 * benchtests/sin-inputs: Likewise.
12296 * benchtests/slowatan-inputs: Remove.
12297 * benchtests/slowatan.c: Remove.
12298 * benchtests/slowcos-inputs: Remove.
12299 * benchtests/slowcos.c: Remove.
12300 * benchtests/slowexp-inputs: Remove.
12301 * benchtests/slowexp.c: Remove.
12302 * benchtests/slowpow-inputs: Remove.
12303 * benchtests/slowpow.c: Remove.
12304 * benchtests/slowsin-inputs: Remove.
12305 * benchtests/slowsin.c: Remove.
12306 * benchtests/slowtan-inputs: Remove.
12307 * benchtests/slowtan.c: Remove.
12308 * benchtests/tan-inputs: Add slow benchmark inputs.
12309 * scripts/bench.pl: Parse comments and directives.
12310
d569c6ee
SP
12311 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
12312 in CPPFLAGS.
12313 ($(objpfx)bench-%.c): Remove *-ITER.
12314 * benchtests/bench-modf.c: Remove definition of ITER.
12315 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
12316 (main): Loop for DURATION seconds instead of fixed number of
12317 iterations.
12318 * scripts/bench.pl: Don't expect iterations in parameters.
12319
a6a242fe
RM
123202013-04-29 Roland McGrath <roland@hack.frob.com>
12321
12322 * io/fchdir.c (__fchdir): Renamed from fchdir.
12323 (fchdir): Define as weak alias.
12324
f2da7793
JM
123252013-04-29 Joseph Myers <joseph@codesourcery.com>
12326
12327 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
12328 (ERRNO_EDOM): Likewise.
12329 (ERRNO_ERANGE): Likewise.
12330 (noErrnoTests): New variable.
12331 (init_max_error): Set errno to 0.
12332 (test_single_errno): New function.
12333 (test_errno): Likewise.
12334 (check_float_internal): Call test_errno. Set errno to 0.
12335 (check_complex): Refer to errno tests in comment.
12336 (check_int): Call test_errno. Set errno to 0.
12337 (check_long): Likewise.
12338 (check_bool): Likewise.
12339 (check_longlong): Likewise.
12340 (cos_test): Use ERRNO_* flags for errno tests instead of
12341 check_int.
12342 (expm1_test): Likewise.
12343 (fmod_test): Likewise.
12344 (ilogb_test): Likewise.
12345 (lgamma_test): Likewise.
12346 (pow_test): Likewise.
12347 (remainder_test): Likewise.
12348 (sin_test): Likewise.
12349 (tan_test): Likewise.
12350 (yn_test): Likewise.
12351 (initialize): Set errno to 0.
12352 (main): Print number of errno tests.
12353 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
12354
b1a36ceb
AJ
123552013-04-29 Andreas Jaeger <aj@suse.de>
12356
c3ed8088
AJ
12357 [BZ #15084]
12358 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
12359 and RES_USEVC.
12360
f1a24198
AJ
12361 [BZ #15085]
12362 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
12363 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
12364 unimplemented.
12365
9ce3b2cb
AJ
12366 [BZ #15380]
12367 * stdlib/random.c (__initstate): Return NULL if
12368 __initstate fails.
12369
f1a24198 12370 [BZ #15086]
b1a36ceb
AJ
12371 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
12372 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
12373 RES_SNGLKUPREOP.
12374
7e7b6f36
AZ
123752013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12376
12377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12378
4d14f449
JM
123792013-04-29 Joseph Myers <joseph@codesourcery.com>
12380
12381 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
12382 of individual tests.
12383 (casin_test): Likewise.
12384 (casinh_test): Likewise.
12385
5b4217d7
JM
123862013-04-27 Joseph Myers <joseph@codesourcery.com>
12387
12388 [BZ #15409]
12389 * math/s_catan.c (__catan): Handle arguments with large real or
12390 imaginary part separately without squaring.
12391 * math/s_catanf.c (__catanf): Likewise.
12392 * math/s_catanh.c (__catanh): Likewise.
12393 * math/s_catanhf.c (__catanhf): Likewise.
12394 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12395 and redefine.
12396 (__catanhl): Handle arguments with large real or imaginary part
12397 separately without squaring.
12398 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
12399 and redefine.
12400 (__catanl): Handle arguments with large real or imaginary part
12401 separately without squaring.
12402 * math/libm-test.inc (catan_test): Add more tests.
12403 (catanh_test): Likewise.
12404 * sysdeps/i386/fpu/libm-test-ulps: Update.
12405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12406
4220c3ef
AJ
124072013-04-27 Andreas Jaeger <aj@suse.de>
12408
12409 [BZ #15007]
12410 * stdlib/stdlib.h: Update guards for qecvt.
12411 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
12412 <stdlib.h>.
12413
4721b2d1
AM
124142013-04-27 Allan McRae <allan@archlinux.org>
12415
12416 * sysdeps/i386/fpu/libm-test-ulps: Update.
12417
f0302940
JM
124182013-04-26 Joseph Myers <joseph@codesourcery.com>
12419
9457fd95
JM
12420 [BZ #15406]
12421 * math/s_catan.c: Include <float.h>.
12422 (__catan): Ensure underflow exception occurs for underflowed
12423 result.
12424 * math/s_catanf.c: Include <float.h>.
12425 (__catanf): Ensure underflow exception occurs for underflowed
12426 result.
12427 * math/s_catanh.c: Include <float.h>.
12428 (__catanh): Ensure underflow exception occurs for underflowed
12429 result.
12430 * math/s_catanhf.c: Include <float.h>.
12431 (__catanhf): Ensure underflow exception occurs for underflowed
12432 result.
12433 * math/s_catanhl.c: Include <float.h>.
12434 (__catanhl): Ensure underflow exception occurs for underflowed
12435 result.
12436 * math/s_catanl.c: Include <float.h>.
12437 (__catanl): Ensure underflow exception occurs for underflowed
12438 result.
12439 * math/libm-test.inc (catan_test): Add more tests.
12440 (catanh_test): Likewise.
12441
f0302940
JM
12442 [BZ #15405]
12443 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
12444 underflowed result.
12445 * math/s_ccoshf.c (__ccoshf): Likewise.
12446 * math/s_ccoshl.c (__ccoshl): Likewise.
12447 * math/s_csin.c (__csin): Likewise.
12448 * math/s_csinf.c (__csinf): Likewise.
12449 * math/s_csinh.c (__csinh): Likewise.
12450 * math/s_csinhf.c (__csinhf): Likewise.
12451 * math/s_csinhl.c (__csinhl): Likewise.
12452 * math/s_csinl.c (__csinl): Likewise.
12453 * math/libm-test.inc (ccos_test): Add more tests.
12454 (ccosh_test): Likewise.
12455 (csin_test): Likewise.
12456 (csinh_test): Likewise.
12457
aa630f59
AZ
124582013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12459
12460 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
12461 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
12462 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
12463 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
12464 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
12465 powerpc/power5+/fpu folders.
12466 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
12467
12468
1b835983
MT
124692013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12470
12471 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12472
73709b26
JM
124732013-04-25 Joseph Myers <joseph@codesourcery.com>
12474
12475 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
12476 additions to variable.
12477 [$(config-machine) = x86_64] (modules-names): Likewise.
12478 ($(objpfx)tst-audit3): Remove dependency.
12479 ($(objpfx)tst-audit3.out): Likewise.
12480 ($(objpfx)tst-audit4): Likewise.
12481 ($(objpfx)tst-audit4.out): Likewise.
12482 ($(objpfx)tst-audit5): Likewise.
12483 ($(objpfx)tst-audit5.out): Likewise.
12484 ($(objpfx)tst-audit6): Likewise.
12485 ($(objpfx)tst-audit6.out): Likewise.
12486 ($(objpfx)tst-audit7): Likewise.
12487 ($(objpfx)tst-audit7.out): Likewise.
12488 (tst-audit3-ENV): Remove variable.
12489 (tst-audit4-ENV): Likewise.
12490 (tst-audit5-ENV): Likewise.
12491 (tst-audit6-ENV): Likewise.
12492 (tst-audit7-ENV): Likewise.
12493 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
12494 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
12495 addition to variable.
12496 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
12497 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
12498 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
12499 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
12500 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
12501 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
12502 tst-audit3, tst-audit4 and tst-audit5.
12503 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
12504 tst-audit6 and tst-audit7.
12505 [$(subdir) = elf] (modules-names): Add audit modules for those
12506 tests.
12507 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
12508 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
12509 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
12510 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
12511 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
12512 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
12513 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
12514 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
12515 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
12516 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
12517 [$(subdir) = elf] (tst-audit3-ENV): New variable.
12518 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
12519 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
12520 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
12521 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
12522 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
12523 Likewise.
12524 [$(subdir) = elf && $(config-cflags-avx) = yes]
12525 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
12526 [$(subdir) = elf && $(config-cflags-avx) = yes]
12527 (CFLAGS-tst-auditmod4a.c): Likewise.
12528 [$(subdir) = elf && $(config-cflags-avx) = yes]
12529 (CFLAGS-tst-auditmod4b.c): Likewise.
12530 [$(subdir) = elf && $(config-cflags-avx) = yes]
12531 (CFLAGS-tst-auditmod6b.c): Likewise.
12532 [$(subdir) = elf && $(config-cflags-avx) = yes]
12533 (CFLAGS-tst-auditmod6c.c): Likewise.
12534 [$(subdir) = elf && $(config-cflags-avx) = yes]
12535 (CFLAGS-tst-auditmod7b.c): Likewise.
12536 * elf/tst-audit3.c: Move to ...
12537 * sysdeps/x86_64/tst-audit3.c: ... here.
12538 * elf/tst-audit4.c: Move to ...
12539 * sysdeps/x86_64/tst-audit4.c: ... here.
12540 * elf/tst-audit5.c: Move to ...
12541 * sysdeps/x86_64/tst-audit5.c: ... here.
12542 * elf/tst-audit6.c: Move to ...
12543 * sysdeps/x86_64/tst-audit6.c: ... here.
12544 * elf/tst-audit7.c: Move to ...
12545 * sysdeps/x86_64/tst-audit7.c: ... here.
12546 * elf/tst-auditmod3a.c: Move to ...
12547 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
12548 * elf/tst-auditmod3b.c: Move to ...
12549 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
12550 * elf/tst-auditmod4a.c: Move to ...
12551 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
12552 * elf/tst-auditmod4b.c: Move to ...
12553 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
12554 * elf/tst-auditmod5a.c: Move to ...
12555 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
12556 * elf/tst-auditmod5b.c: Move to ...
12557 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
12558 * elf/tst-auditmod6a.c: Move to ...
12559 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
12560 * elf/tst-auditmod6b.c: Move to ...
12561 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
12562 * elf/tst-auditmod6c.c: Move to ...
12563 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
12564 * elf/tst-auditmod7a.c: Move to ...
12565 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
12566 * elf/tst-auditmod7b.c: Move to ...
12567 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
12568
1ef74943
PP
125692013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
12570
12571 [BZ #15366]
12572 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
12573 define unconditionally.
12574 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
12575 define unconditionally.
12576 (INT8_C, INT16_C, etc.): Likewise.
12577
93fd48c5
MR
125782013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
12579
ae9552cf
MR
12580 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
12581 __ehdr_start with hidden visibility.
12582
93fd48c5
MR
12583 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
12584
418601aa
CD
125852013-04-24 Carlos O'Donell <carlos@redhat.com>
12586
12587 * math/libm-test.inc (cos_test): Use accurate hex constants.
12588 (sincost_test): Likewise.
12589
2f38fbfe
JM
125902013-04-24 Joseph Myers <joseph@codesourcery.com>
12591
5e221800
JM
12592 * math/libm-test.inc (catan_test): Add more tests.
12593 (catanh_test): Likewise.
12594
77f143fd
JM
12595 * math/s_catanf.c (__catanf): Use suffixed floating-point
12596 constants.
12597 * math/s_catanhf.c (__catanhf): Likewise.
12598 * math/s_catanhl.c (__catanhl): Likewise.
12599 * math/s_catanl.c (__catanl): Likewise.
12600
2f38fbfe
JM
12601 [BZ #15394]
12602 * math/s_catan.c (__catan): Calculate imaginary part of result
12603 with log1p not log unless computing log of number close to 0.
12604 * math/s_catanf.c (__catanf): Likewise.
12605 * math/s_catanl.c (__catanl): Likewise.
12606 * math/s_catanh.c (__catanh): Calculate real part of result with
12607 log1p not log unless computing log of number close to 0.
12608 * math/s_catanhf.c (__catanhf): Likewise.
12609 * math/s_catanhl.c (__catanhl): Likewise.
12610 * math/libm-test.inc (catan_test): Add more tests.
12611 (catanh_test): Likewise.
12612 * sysdeps/i386/fpu/libm-test-ulps: Update.
12613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12614
45d69176
SP
126152013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12616
12617 * benchtests/Makefile: Mention files in which fast and slow
12618 paths of math functions are implemented.
12619
87f51853
RM
126202013-04-23 Roland McGrath <roland@hack.frob.com>
12621
12622 * sysdeps/posix/timespec_get.c: New file.
12623
3c026539
AZ
126242013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12625
12626 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
12627 POWER.
12628 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
12629 for POWER.
12630 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
12631 powerpc/power5/fpu folders.
12632 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
12633 * benchtests/Makefile: Add modf testcase.
12634 * benchtests/bench-modf.c: New file: Benchmark test for mo
12635
ff491d14
SP
126362013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
12637
12638 [BZ #14888]
12639 * time/Makefile (tests): Add tst-strptime-whitespace.
12640 * time/strptime_l.c (get_number): Use ISSPACE.
12641 (__strptime_internal): Likewise.
12642 * time/tst-strptime-whitespace.c: New test case.
12643
7ed3f4e8
AS
126442013-04-23 Andreas Schwab <schwab@linux-m68k.org>
12645
12646 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
12647 member.
12648 (_nss_files_init): Set it here.
12649
5c95f7b6
HC
126502013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
12651
12652 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
12653 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
12654 unsigned.
12655
d34c9158
JBG
126562013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
12657
12658 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
12659
2169712d
SP
126602013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
12661
12662 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
12663 size just once.
12664
29c5de99
DM
126652013-04-21 David S. Miller <davem@davemloft.net>
12666
12667 * po/ru.po: Update Russion translation from translation project.
12668
ccdad15d
AC
126692013-04-17 Adam Conrad <adconrad@0c3.net>
12670
12671 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
12672 and setfsgid.
12673
0f122b8d
CD
126742013-04-17 Carlos O'Donell <carlos@redhat.com>
12675
5c5b07da 12676 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 12677 * configure: Regenerate.
5c5b07da 12678 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
12679 Add example to error message.
12680 * sysdeps/i386/configure: Regenerate.
12681
037714dd
SP
126822013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12683
12684 * benchtests/Makefile (bench): Add cos, tan, slowcos and
12685 slowtan.
12686 * benchtests/cos-inputs: New file.
12687 * benchtests/slowcos-inputs: New file.
12688 * benchtests/slowcos.c: New file.
12689 * benchtests/slowtan-inputs: New file.
12690 * benchtests/slowtan.c: New file.
12691 * benchtests/tan-inputs: New file.
12692
e913141d
RM
126932013-04-16 Roland McGrath <roland@hack.frob.com>
12694
12695 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
12696 considered kosher.
12697
a2964074
SP
126982013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12699
4856bcd2
SP
12700 * benchtests/Makefile: Include cppflags-iterator.mk to add
12701 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
12702
a2964074
SP
12703 * Makefile.in (bench-clean): New target.
12704 * benchtests/Makefile (bench-clean): Likewise.
12705
9fbf9aca
DH
127062013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
12707
12708 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
12709
207d1e2a
TS
127102013-04-15 Thomas Schwinge <thomas@codesourcery.com>
12711
12712 * stdio-common/tstdiomisc.c: Fix coding-style violation.
12713
306dfba9
AS
127142013-04-15 Andreas Schwab <schwab@suse.de>
12715
12716 * nscd/grpcache.c (cache_addgr): Properly check for short write.
12717 * nscd/initgrcache.c (addinitgroupsX): Likewise.
12718 * nscd/pwdcache.c (cache_addpw): Likewise.
12719 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
12720 more than recsize.
12721
206a6699
SP
127222013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12723
12724 * benchtests/Makefile (bench): Write all output to
12725 bench-out.tmp together.
12726
0582f6b3
AS
127272013-04-15 Andreas Schwab <schwab@suse.de>
12728
12729 * nscd/nscd.c (main): Don't fork again after closing files.
12730
acb4325f
SP
127312013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12732
5cb26d0a
SP
12733 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
12734
acb4325f
SP
12735 * benchtests/Rules (bench-deps): Collect dependencies into a
12736 single variable. Add Makefile to dependencies.
12737 ($(objpfx)bench-%.c): Depend on bench-deps.
12738
47792506
RM
127392013-04-12 Roland McGrath <roland@hack.frob.com>
12740 Xavier Roche <roche+kml2@exalead.com>
12741
12742 [BZ #15361]
12743 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
12744 just that it's a file descriptor.
12745 * manual/llio.texi (Synchronizing AIO Operations): Update description
12746 for EBADF error from aio_fsync.
12747
8fc1bee5
SP
127482013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
12749
12750 * Rules (bench): Move target definition...
12751 * benchtests/Makefile: ... here.
12752
aba5e333
CD
127532013-04-11 Carlos O'Donell <carlos@redhat.com>
12754
12755 * math/libm-test.inc (cos_test): Fix PI/2 test.
12756 (sincos_test): Likewise.
12757 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
12758 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12759
273cdee8
AS
127602013-04-11 Andreas Schwab <schwab@suse.de>
12761
6ecec3b6
AS
12762 [BZ #13988]
12763 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
12764 accept exponent character only when digits were seen.
12765 * stdio-common/Makefile (tests): Add bug26.
12766 * stdio-common/bug26.c: New file.
12767
273cdee8
AS
12768 [BZ #14293]
12769 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
12770 non-freeable.
12771
8da491f5
SP
127722013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12773
01dc6df9
SP
12774 * Makeconfig (rtld-prefix): Define built linker prefix.
12775 * Rules (run-bench): Use it.
12776 * math/Makefile (run-regen-ulps): Likewise.
12777
8da491f5
SP
12778 * Rules (bench): Remove eval.
12779
abe7f530
SP
127802013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12781 Roland McGrath <roland@hack.frob.com>
12782 Ondrej Bilka <neleai@seznam.cz>
12783
12784 [BZ #15346]
12785 * time/getdate.c: Include ctype.h and alloca.h.
12786 (__getdate_r): Trim leading and trailing spaces of input.
12787 * time/tst-getdate.c (tests): Add tests with leading and
12788 trailing spaces.
12789
61c23e62
RM
127902013-04-08 Roland McGrath <roland@hack.frob.com>
12791
12792 [BZ #14280]
12793 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
12794 when computing value.
12795
7208a313
CD
127962013-04-06 Carlos O'Donell <carlos@redhat.com>
12797
085b2d41
CD
12798 * math/README.libm-test (How can I generate "libm-test-ulps"?):
12799 Use testrun.sh to run libm tests.
12800
7208a313
CD
12801 [BZ #15309]
12802 * elf/dl-open.c (dl_open_worker): memset all of seen array.
12803
872c0acd
MM
128042013-04-06 Marko Myllynen <myllynen@redhat.com>
12805
12806 [BZ #15264]
12807 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
12808
26510bdd
CD
128092013-04-06 Carlos O'Donell <carlos@redhat.com>
12810
12811 * Makefile.in (regen-ulps): New target.
12812 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
12813 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
12814 [ifneq (no,$(PERL)] (regen-ulps): New target.
12815 [ifeq (no,$(PERL)] (regen-ulps): New target.
12816 * math/libm-test.inc (ulps_file_name): Define.
12817 (output_dir): New variable.
12818 (options): Add "output-dir" option.
12819 (parse_opt): Handle 'o' case.
12820 (main): If output_dir is non-NULL use it as a prefix
12821 otherwise use "".
12822 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
12823
a01f19c8
CD
128242013-04-06 Carlos O'Donell <carlos@redhat.com>
12825
12826 [BZ #10060, #10062]
12827 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
12828 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
12829 fail configure if __sync_val_compare_and_swap is not inlined.
12830 * sysdeps/i386/configure: Regenerate.
12831 * configure.in: Build for i686 when configured for i386.
12832 * configure: Regenerate.
12833 * README: Remove i386 reference.
12834
b7a329a5
CD
128352013-04-06 Carlos O'Donell <carlos@redhat.com>
12836
12837 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
12838 * sysdeps/s390/s390-64/sysdep.h: Likewise.
12839
bf0f50df
TS
128402013-04-05 Thomas Schwinge <thomas@codesourcery.com>
12841
ee091edf
TS
12842 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
12843 (lmsnanval): New variables.
12844 (F): Add conversion tests.
12845 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
12846 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
12847
a8b792d6
TS
12848 * stdio-common/tstdiomisc.c (F): Properly collect individual
12849 tests' results.
12850
a1cbf437
TS
12851 [BZ #14686, #15336]
12852 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
12853 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12854 Instead, use input NaN values or generate a qNaN by arithmetic
12855 operation. Also fix bugs to comply with the standard.
12856 * math/libm-test.inc (remainder_test): Add more tests.
12857
8b43a0c9
TS
12858 [BZ #15335, #15342]
12859 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
12860 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
12861 input NaN values or generate a qNaN by arithmetic operation.
12862
d91da4ce
TS
12863 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
12864 unreachable code.
12865
bf0f50df
TS
12866 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
12867 definitions.
12868
05e166c8
JM
128692013-04-03 Joseph Myers <joseph@codesourcery.com>
12870
12871 [BZ #14478]
12872 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
12873 underflowed result.
12874 * math/s_cexpf.c (__cexpf): Likewise.
12875 * math/s_cexpl.c (__cexpl): Likewise.
12876 * math/libm-test.inc (cexp_test): Add more tests.
12877
1cef1b19
AS
128782013-04-03 Andreas Schwab <schwab@suse.de>
12879
12880 [BZ #15330]
12881 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
12882 order arrays from heap if bigger than alloca cutoff.
12883
74d87055
TS
128842013-04-03 Thomas Schwinge <thomas@codesourcery.com>
12885
12886 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
12887 (SNAN_TESTS_double): Refer to GCC PR56831.
12888 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
12889 GCC PR56828.
12890
d755bba4
SP
128912013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12892
90d5d5bb
SP
12893 * Rules (bench): Move bench.out after the run is complete.
12894
73e0cd5d
SP
12895 * Rules (bench): Echo currently running benchmark.
12896
64aabd4b
SP
12897 * benchtests/Makefile (bench): Add atan and slowatan.
12898 * benchtests/atan-inputs: New file.
12899 * benchtests/slowatan-inputs: New file.
12900 * benchtests/slowatan.c: New file.
12901
c871eccd
SP
12902 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
12903 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
12904 its value.
12905
d755bba4
SP
12906 [BZ #15305]
12907 * sysdeps/unix/sysv/linux/kernel-features.h
12908 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
12909 __ASSUME_XFS_RESTRICTED_CHOWN.
12910 * sysdeps/unix/sysv/linux/pathconf.c
12911 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
12912 Save and restore errno.
12913
52ce4860
JM
129142013-04-02 Joseph Myers <joseph@codesourcery.com>
12915
12916 [BZ #15327]
12917 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
12918 arguments using __kernel_casinh.
12919 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
12920 arguments using __kernel_casinhf.
12921 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
12922 arguments using __kernel_casinhl.
12923 * math/libm-test.inc (cacosh_test): Add more tests.
12924 * sysdeps/i386/fpu/libm-test-ulps: Update.
12925 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12926
81f311c2
SP
129272013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12928
e7906a47
SP
12929 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
12930 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
12931
92e3664b
SP
12932 * bench/Makefile (bench): Add sin and slowsin.
12933 * benchtests/sin-inputs: New file.
12934 * benchtests/slowsin-inputs: New file.
12935 * benchtests/slowsin.c: New file.
12936
81f311c2
SP
12937 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
12938 (bench): Add slowexp and slowpow.
12939 (exp-ITER): Increase iterations.
12940 (pow-ITER): Likewise.
12941 * benchtests/exp-inputs: Change input.
12942 * benchtests/pow-inputs: Likewise.
12943 * benchtests/slowexp-inputs: New file.
12944 * benchtests/slowexp.c: New file.
12945 * benchtests/slowpow-inputs: New file.
12946 * benchtests/slowpow.c: New file.
12947
ab0f1aa9
AZ
129482013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12949
12950 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
12951 instructions.
12952 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
12953 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
12954 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
12955 * benchtests/Makefile: Add rint benchtest.
12956 * benchtests/rint-inputs: Input for rint benchtest.
12957
57267616
TS
129582013-04-02 Thomas Schwinge <thomas@codesourcery.com>
12959
12960 * Versions.def (libm): Add GLIBC_2.18.
12961 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
12962 hidden libm prototypes.
12963 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
12964 * math/Makefile (libm-calls): Add s_issignaling.
12965 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
12966 __issignalingf, __issignalingl. Adjust all libm.abilist files.
12967 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
12968 declaration.
12969 * math/math.h [__USE_GNU] (issignaling): New macro.
12970 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
12971 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
12972 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
12973 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
12974 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
12975 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
12976 * manual/arith.texi (issignaling): New section.
12977 * manual/libm-err-tab.pl (@all_functions): Update comment.
12978 * math/gen-libm-test.pl (parse_args): Apply special handling for
12979 issignaling.
12980 * math/libm-test.inc (print_float, issignaling_test): New
12981 functions.
12982 (check_float_internal): Add issignaling checks.
12983 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
12984 default definition.
12985 * sysdeps/powerpc/math-tests.h: New file.
12986 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
12987 tests.
12988 * math/test-snan.c (TEST_FUNC): Likewise.
12989
6142896d
DM
129902013-03-30 David S. Miller <davem@davemloft.net>
12991
12992 * po/de.po: Update from translation team.
12993
ccc8cadf
JM
129942013-03-30 Joseph Myers <joseph@codesourcery.com>
12995
12996 [BZ #10357]
12997 * math/k_casinh.c (__kernel_casinh): Handle arguments with
12998 imaginary part less than 1.0 and real part less than 0.5
12999 specially.
13000 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13001 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13002 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
13003 (cacos_test): Add more tests.
13004 (casin_test): Likewise.
13005 (casinh_test): Likewise.
13006 * sysdeps/i386/fpu/libm-test-ulps: Update.
13007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13008
0f6a8d4b
SP
130092013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13010
0d1029de
SP
13011 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
13012 ONE with its value.
13013
c2d94018
SP
13014 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
13015 (__pow_mp): Replace ONE and MONE with their values.
13016 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13017 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
13018 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13019 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
13020 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13021 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13022
27ec37f1
SP
13023 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
13024
a64d7e0e
SP
13025 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
13026 (__pow_mp): Replace ZERO and MZERO with their values.
13027 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13028 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13029 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13030 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13031 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13032 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
13033 (__sqr): Likewise.
13034
d26dd3eb
SP
13035 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
13036
0f6a8d4b
SP
13037 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
13038
e57b0c61
RM
130392013-03-28 Roland McGrath <roland@hack.frob.com>
13040
13041 * include/stdlib.h [!SHARED] (__call_tls_dtors):
13042 Declare with __attribute__ ((weak)).
13043 * stdlib/exit.c (__libc_atexit) [!SHARED]:
13044 Call __call_tls_dtors only if it's not NULL.
13045
356b3480
RM
130462013-03-28 Roland McGrath <roland@hack.frob.com>
13047
288f7d79
RM
13048 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
13049 didn't do it already, then set _dl_phdr and _dl_phnum based on the
13050 magic __ehdr_start linker symbol if it's defined.
13051 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
13052 them up here if it was already done.
13053
dc0a0263
RM
13054 * elf/dl-support.c (_dl_phdr): Make pointer to const.
13055 (_dl_aux_init): Use const in cast when setting it.
13056 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
13057 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
13058 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
13059
3d3436ae
RM
13060 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
13061 Declare them here.
13062 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
13063 * csu/libc-tls.c: Nor here.
13064 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
13065
356b3480
RM
13066 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
13067 (__libc_message): Never call vsyslog.
13068
b0f1246a
AM
130692013-03-28 Alan Modra <amodra@gmail.com>
13070
13071 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
13072 Define as empty.
13073 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
13074 Likewise.
13075
fbbe2b9a
AZ
130762013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13077
13078 [BZ #15214]
13079 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
13080 underflow.
13081 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13082
1728ab37
SP
130832013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13084
7a86be6e
SP
13085 [BZ #15304]
13086 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
13087 Don't add gid passed as argument.
13088
1728ab37
SP
13089 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
13090
3a7182a1
JM
130912013-03-27 Joseph Myers <joseph@codesourcery.com>
13092
13093 [BZ #15307]
13094 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13095 imaginary part between 1.0 and 1.5 and real part less than 0.5
13096 specially.
13097 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13098 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13099 * math/libm-test.inc (cacos_test): Add more tests.
13100 (casin_test): Likewise.
13101 (casinh_test): Likewise.
13102 * sysdeps/i386/fpu/libm-test-ulps: Update.
13103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13104
6f2e90e7
SP
131052013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13106
5739f705
SP
13107 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
13108 constants.
13109 (norm): Likewise.
13110 (denorm): Likewise.
13111 (__dbl_mp): Likewise.
13112 (add_magnitudes): Likewise.
13113 (sub_magnitudes): Likewise.
13114 (__add): Likewise.
13115 (__sub): Likewise.
13116 (__mul): Likewise.
13117 (__sqr): Likewise.
13118 (__inv): Likewise.
13119 (__dvd): Likewise.
13120
e375e83d
SP
13121 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
13122 commented code.
13123 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
13124 (__dubcos): Likewise.
13125 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
13126 (__ieee754_acos): Likewise.
13127 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
13128 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
13129 (__exp1): Likewise.
13130 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
13131 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
13132 (log1): Likewise.
13133 (my_log2): Likewise.
13134 (checkint): Likewise.
13135 * sysdeps/ieee754/dbl-64/e_remainder.c
13136 (__ieee754_remainder): Likewise.
13137 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
13138 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13139 (bsloww): Likewise.
13140 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13141
6f2e90e7
SP
13142 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13143 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
13144 MANTISSA_STORE_T to store computations on mantissa. Use
13145 macros for rounding and division.
13146 (denorm): Likewise.
13147 (__dbl_mp): Likewise.
13148 (add_magnitudes): Likewise.
13149 (sub_magnitudes): Likewise.
13150 (__mul): Likewise.
13151 (__sqr): Likewise.
13152 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13153 powers of two in terms of TWOPOW macro.
13154 (mp_no): Make type of mantissa as MANTISSA_T.
13155 [!RADIXI]: Define RADIXI.
13156 [!TWO52]: Define TWO52.
13157 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13158
fce14d4e
AZ
131592013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13160
13161 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
13162 llroundl symbol when building for PPC32.
13163
9ad027fb
MW
131642013-03-24 Mark H Weaver <mhw@netris.org>
13165
13166 * manual/arith.texi (Normalization Functions): Fix prototypes for
13167 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
13168
e42a38dd
AZ
131692013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13170
13171 [BZ #13889]
13172 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
13173 high value to check if expl overflow.
13174 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
13175 to check for underflow and overflow.
13176 * math/libm-test.inc: Add exp test.
13177
2e0fb521
DL
131782013-03-21 Dmitry V. Levin <ldv@altlinux.org>
13179
13180 [BZ #11120]
13181 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
13182 with NOT_IN_libc.
13183
b5784d95
AZ
131842013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13185
13186 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
13187 symbol.
13188
5aa4a1a1
TS
131892013-03-21 Thomas Schwinge <thomas@codesourcery.com>
13190
bdef0be7
TS
13191 * math/gen-libm-test.pl (parse_args, special_functions): Properly
13192 wrap blocks consisting of several statements.
13193
5aa4a1a1
TS
13194 * sysdeps/generic/math-tests.h: New file.
13195 * sysdeps/i386/fpu/math-tests.h: Likewise.
13196 * math/test-snan.c: Include it.
13197 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
13198
98c48fe5
JM
131992013-03-21 Joseph Myers <joseph@codesourcery.com>
13200
13201 [BZ #15285]
13202 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
13203 (__ieee754_j0l): Do not improve calculations using cos of twice
13204 input for inputs above LDBL_MAX / 2.0L.
13205 (__ieee754_y0l): Likewise.
13206 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
13207 (__ieee754_j1l): Do not improve calculations using cos of twice
13208 input for inputs above LDBL_MAX / 2.0L.
13209 (__ieee754_y1l): Likewise.
13210 * math/libm-test.inc (j0_test): Add another test.
13211 (j1_test): Likewise.
13212 (y0_test): Likewise.
13213 (y1_test): Likewise.
13214 * sysdeps/i386/fpu/libm-test-ulps: Update.
13215
3775a8bc
SP
132162013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13217
13218 * Rules ($(objpfx)bench-%.c): Include code from a C source
13219 file.
13220
0a1b2ae6
JM
132212013-03-21 Joseph Myers <joseph@codesourcery.com>
13222
13223 [BZ #15287]
13224 * math/k_casinh.c (__kernel_casinh): Handle arguments with
13225 imaginary part 1.0 and real part less than 0.5 specially.
13226 * math/k_casinhf.c (__kernel_casinhf): Likewise.
13227 * math/k_casinhl.c (__kernel_casinhl): Likewise.
13228 * math/libm-test.inc (cacos_test): Add more tests.
13229 (casin_test): Likewise.
13230 (casinh_test): Likewise.
13231 * sysdeps/i386/fpu/libm-test-ulps: Update.
13232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13233
b33d4ce4
SP
132342013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13235
13236 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
13237 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
13238
bef0b507
JM
132392013-03-20 Joseph Myers <joseph@codesourcery.com>
13240
13241 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
13242 * config.make.in (config-cflags-sse4): Remove variable.
13243 (config-cflags-avx): Likewise.
13244 (config-cflags-sse2avx): Likewise.
13245 (config-cflags-novzeroupper): Likewise.
13246 (config-asflags-i686): Likewise.
13247 (have-mfma4): Likewise.
13248 (have-as-vis3): Likewise.
13249 (MIG): Likewise.
13250 * configure.in (MIG): Do not AC_SUBST.
13251 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
13252 (libc_cv_cc_sse4): Do not AC_SUBST.
13253 (libc_cv_cc_avx): Likewise.
13254 (libc_cv_cc_sse2avx): Likewise.
13255 (libc_cv_cc_novzeroupper): Likewise.
13256 (libc_cv_cc_fma4): Likewise.
13257 (libc_cv_as_i686): Likewise.
13258 (libc_cv_sparc_as_vis3): Likewise.
13259 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
13260 LIBC_CONFIG_VAR.
13261 (config-asflags-i686): Likewise.
13262 (config-cflags-avx): Likewise.
13263 (config-cflags-sse2avx): Likewise.
13264 (have-mfma4): Likewise.
13265 (config-cflags-novzeroupper): Likewise.
13266 * sysdeps/mach/configure.in (MIG): Likewise.
13267 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
13268 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
13269 LIBC_CONFIG_VAR.
13270 (config-cflags-avx): Likewise.
13271 (config-cflags-sse2avx): Likewise.
13272 (have-mfma4): Likewise.
13273 (config-cflags-novzeroupper): Likewise.
13274 * configure: Regenerated.
13275 * sysdeps/i386/configure: Likewise.
13276 * sysdeps/mach/configure: Likewise.
13277 * sysdeps/sparc/configure: Likewise.
13278 * sysdeps/x86_64/configure: Likewise.
13279
912cc4b3
RM
132802013-03-20 Roland McGrath <roland@hack.frob.com>
13281
13282 [BZ #14812]
13283 * locale/programs/localedef.c (options): Put N_ translation marker
13284 on argument names, not just descriptions.
13285
04eed2b0
MS
132862013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13287
13288 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
13289
a065ceff
OB
132902013-03-20 Ondřej Bílka <neleai@seznam.cz>
13291
9bb2a810 13292 [BZ #14176]
a065ceff
OB
13293 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
13294
a600e5ce
RM
132952013-03-19 Roland McGrath <roland@hack.frob.com>
13296
13297 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
13298 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
13299 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
13300 [!BEFORE_ABORT] (before_abort): New function.
13301 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
13302 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
13303 (writev_for_fatal): New function.
13304 (WRITEV_FOR_FATAL): New macro; call that.
13305 (backtrace_and_maps): New function.
13306 (BEFORE_ABORT): New macro; call that.
13307 (struct str_list): Type removed.
13308 (__libc_message, __libc_fatal): Functions removed.
13309 Include <sysdeps/posix/libc_fatal.c> instead.
13310
6b18bea6
JM
133112013-03-19 Joseph Myers <joseph@codesourcery.com>
13312
13313 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
13314 constants.
13315 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
13316 double constants.
13317
aaa8cb4b
AS
133182013-03-19 Andreas Schwab <schwab@suse.de>
13319
44673770
AS
13320 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
13321 * sysdeps/gnu/configure: Regenerate.
13322
aaa8cb4b
AS
13323 * configure.in: Substitute libc_cv_rtlddir.
13324 * configure: Regenerate.
13325 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
13326 * Makeconfig (rtlddir, inst_rtlddir): New variables.
13327 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
13328 * elf/Makefile (install-others, CFLAGS-interp.c)
13329 (ldso_install, common-ldd-rewrite): Likewise.
13330 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
13331 $(inst_slibdir)/$(rtld-installed-name).
13332 * scripts/rellns-sh: Add -p option.
13333 * Makerules (make-shlib-link): Use rellns-sh to get relative name
13334 for source.
13335
d3cfc668
SP
133362013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13337
13338 * manual/nptl.texi: Renamed to ...
13339 * manual/threads.texi: ... this.
13340 * manual/Makefile (chapters): Update.
13341
0e2b9cdd
RM
133422013-03-18 Roland McGrath <roland@hack.frob.com>
13343
13344 [BZ #14812]
13345 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
13346 on argument names, not just descriptions.
0e2b9cdd
RM
13347 * malloc/memusagestat.c (options): Likewise.
13348 * nss/getent.c (options): Likewise.
63270c24
RM
13349
133502013-03-18 Benno Schulenberg <bensberg@justemail.net>
13351
13352 [BZ #14812]
13353 * iconv/iconv_prog.c (options): Put N_ translation marker
13354 on argument names, not just descriptions.
13355 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 13356
b2e1393c
OB
133572013-03-18 Ondrej Bilka <neleai@seznam.cz>
13358
13359 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
13360 implementation which is faster on all x86_64 architectures.
13361 Tested on AMD, Intel Nehalem, SNB, IVB.
13362 * sysdeps/x86_64/strnlen.S: Likewise.
13363
13364 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13365 Remove all multiarch strlen and strnlen versions.
13366 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
13367 Remove strlen and strnlen related parts.
13368
13369 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
13370 Inline strlen part.
13371 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
13372
13373 * sysdeps/x86_64/multiarch/strlen.S: Remove.
13374 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
13375 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
13376 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
13377 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
13378 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
13379
ec4ff04d
CD
133802013-03-17 Carlos O'Donell <carlos@redhat.com>
13381
13382 * manual/memory.texi (Malloc Tunable Parameters):
13383 Sort parameters alphabetically. Add comments for missing entries.
13384
cd18e90a
DM
133852013-03-17 David S. Miller <davem@davemloft.net>
13386
13387 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13388
2a185d32
JM
133892013-03-16 Joseph Myers <joseph@codesourcery.com>
13390
d2f9799e
JM
13391 [BZ #15283]
13392 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
13393 for arguments at most half maximum finite value.
13394 * math/libm-test.inc (j0_test): Add more tests.
13395 (j1_test): Likewise.
13396 (y0_test): Likewise.
13397 (y1_test): Likewise.
13398 * sysdeps/i386/fpu/libm-test-ulps: Update.
13399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13400
2a185d32
JM
13401 [BZ #14155]
13402 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
13403 1 / x and functions P and Q for arguments above 0x1p256L.
13404 (__ieee754_y0l): Likewise.
13405 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
13406 (__ieee754_y1l): Likewise.
13407 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
13408 (j1_test): Likewise.
13409 (y0_test): Likewise.
13410 (y1_test): Likewise.
13411
6cbec759
TS
134122013-03-16 Thomas Schwinge <thomas@codesourcery.com>
13413
13414 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
13415 variable.
13416
bc16e260
RM
134172013-03-15 Roland McGrath <roland@hack.frob.com>
13418
aefc9b8c
RM
13419 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
13420 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
13421 zero since it's initialized to EXEC_PAGESIZE.
13422
bc16e260
RM
13423 * sysdeps/unix/sysv/linux/ldsodefs.h
13424 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
13425 * sysdeps/generic/ldsodefs.h: ... here.
13426
a57da955
TS
134272013-03-15 Thomas Schwinge <thomas@codesourcery.com>
13428
af00a34d
TS
13429 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
13430
495ded2c
TS
13431 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
13432 math/test-snan.c.
13433 * math/test-snan.c: Renamed from
13434 sysdeps/powerpc/fpu/test-powerpc-snan.c.
13435 * math/Makefile (tests): Add test-snan.
13436 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
13437 test-powerpc-snan.
13438
777b0332
TS
13439 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
13440 SUFFIX. Initialize qNaN_var with __builtin_nan family of
13441 functions.
13442 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
13443 __builtin_nan family of functions.
13444 * math/libm-test.inc (initialize): Initialize qnan_value with
13445 __builtin_nan family of functions.
13446 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
13447 Remove variables.
13448 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
13449 Remove functions.
13450 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
13451 storage class. Initialize qNaN_var and sNaN_var with
13452 __builtin_nan and __builtin_nans families of functions,
13453 respectively.
13454
64d063b8
TS
13455 * math/libm-test.inc (acosh_test): Also test with qNaN input.
13456 (sqrt_test): Remove duplicate test with qNaN input.
13457 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
13458 (round_test, signbit_test, significand_test): Note missing +/-Inf
13459 as well as qNaN tests.
13460
67e971f1
TS
13461 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
13462 qNaN_var. Fix a few strings, too.
13463 * math/libm-test.inc (nan_value): Rename to qnan_value.
13464 * math/gen-libm-test.pl (%beautify): Adjust to that.
13465 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
13466 * math/test-misc.c (main): Likewise.
13467 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
13468 to __qnan_bytes, and __qnan_union, respectively.
13469 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
13470 Likewise.
13471 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
13472 and lqnanval, respectively.
13473 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
13474 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
13475 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
13476 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
13477
64487e12
TS
13478 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
13479 * math/test-misc.c (main) [__x86_64__]: Enable test for long
13480 doubles.
13481
e015e27b
TS
13482 * math/test-misc.c (main): Fix copy'n'pastos.
13483 * misc/tst-efgcvt.c (special): Likewise.
13484
a57da955
TS
13485 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
13486 Remove declarations.
13487
1e380345
SP
134882013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13489
13490 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
13491 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
13492 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
13493 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
13494
ef26eece
AZ
134952013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13496
13497 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
13498 macro to return vdso values correctly in IFUNC implementations.
13499 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
13500 Optimization by using IFUNC.
13501
8cfdb7e0
SP
135022013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13503 Richard Henderson <rth@redhat.com>
13504 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13505
13506 * Makefile.in (bench): New target.
13507 * NEWS: Mention the benchmark framework.
13508 * Rules (bench): Likewise.
13509 (binaries-bench): Generate binaries for functions to
13510 benchmark.
13511 * benchtests/Makefile: New makefile for benchmark tests.
13512 * benchtests/bench-skeleton.c: New skeleton file for benchmark
13513 programs.
13514 * benchtests/exp-inputs: New input file for EXP function.
13515 * benchtests/pow-inputs: New input file for POW function.
13516 * scripts/bench.pl: New script to generate source files for
13517 benchmark programs.
13518
bcda9880
SP
135192013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13520
d22ca8cd
SP
13521 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
13522 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
13523 computations on mantissa. Use macros for rounding and
13524 division.
13525 (denorm): Likewise.
13526 (__dbl_mp): Likewise.
13527 (add_magnitudes): Likewise.
13528 (sub_magnitudes): Likewise.
13529 (__mul): Likewise.
13530 (__sqr): Likewise.
13531 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
13532 powers of two in terms of TWOPOW macro.
13533 (mp_no): Make type of mantissa as MANTISSA_T.
13534 [!RADIXI]: Define RADIXI.
13535 [!TWO52]: Define TWO52.
13536 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
13537
bcda9880
SP
13538 * manual/nptl.texi (cindex): Modify threads to pthreads.
13539
06d5adfb
JM
135402013-03-15 Joseph Myers <joseph@codesourcery.com>
13541
13542 * sysdeps/x86_64/preconfigure: Regenerated.
13543
41c7328e
JM
135442013-03-14 Joseph Myers <joseph@codesourcery.com>
13545
13546 [BZ #14155]
13547 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
13548 0x1p28 and above.
13549 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
13550 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
13551 0x1p28 and above.
13552 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
13553 * math/libm-test.inc (j0_test): Do not allow one spurious
13554 underflow exception.
13555 (y1_test): Likewise.
13556
e25cfa60
SP
135572013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
13558
0409959c
SP
13559 * manual/Makefile (chapters): Add nptl.
13560 * manual/debug.texi (Debugging Support): Add link to Threads
13561 chapter.
13562 * manual/nptl.texi: New file.
13563
e25cfa60
SP
13564 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
13565
58a1335e
PB
135662013-03-14 Petr Baudis <pasky@ucw.cz>
13567
13568 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
13569 for non-NULL pointer before the memory validity test. Pointed
13570 out by Holger Brunck <holger.brunck@keymile.com>.
13571
9dc7c64f
AS
135722013-03-13 Andreas Schwab <schwab@suse.de>
13573
13574 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
13575 instead of .os.
13576
54206aa6
JM
135772013-03-13 Joseph Myers <joseph@codesourcery.com>
13578
13579 * timezone/zic.c: Update from tzcode 2013b.
13580
e98cdb38
CD
135812013-03-12 Carlos O'Donell <carlos@redhat.com>
13582
13583 * manual/install.texi (Configuring and compiling):
13584 Mention i686 and i586.
13585 * INSTALL: Regenerate.
13586
9967e003
RM
135872013-03-12 Roland McGrath <roland@hack.frob.com>
13588
13589 * sysdeps/init_array/elf-init.c: New file.
13590 * csu/elf-init.c
13591 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
13592 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
13593
13594 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
13595 __gmon_start__ as global, but as static with a .preinit_array pointer.
13596 * sysdeps/init_array/gmon-start.c: New file. Use that.
13597 * sysdeps/init_array/crti.S: New file, empty except for comments.
13598 * sysdeps/init_array/crtn.S: Likewise.
13599
e6b5a293 136002013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
13601
13602 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
13603 definining bcopy.
80f844c9
OB
13604 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13605 Remove Prefer_SSE_for_memop.
13606 * sysdeps/x86_64/multiarch/init-arch.h: Remove
13607 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
13608 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
13609 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13610 memset-x86-64.
80f844c9 13611 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 13612 Remove bzero, memset ifunc support.
80f844c9
OB
13613 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
13614 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
13615 * sysdeps/x86_64/multiarch/memset.S: Likewise.
13616 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
13617
fb6b0fcb
AS
136182013-03-11 Andreas Schwab <schwab@suse.de>
13619
13620 [BZ #15234]
13621 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
13622 by SHLIB_COMPAT.
13623 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
13624 (GLIBC_2.16): Remove pthread_atfork.
13625
3e6bd4b1
PP
136262013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
13627
13628 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
13629 (ptestcases.h): Likewise.
13630
222d7f00
RM
136312013-03-08 Roland McGrath <roland@hack.frob.com>
13632
13633 * Makeconfig ($(common-objpfx)config.status): Depend on
13634 sysdeps/*/preconfigure{,.in} too.
13635
1ba4f030
JM
136362013-03-08 Joseph Myers <joseph@codesourcery.com>
13637
a222d91a
JM
13638 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
13639 (__free_hook): Use void * instead of __malloc_ptr_t.
13640 (__malloc_hook): Likewise.
13641 (__realloc_hook): Likewise.
13642 (__memalign_hook): Likewise.
13643 (__after_morecore_hook): Likewise.
13644 * malloc/arena.c (save_malloc_hook): Likewise.
13645 (save_free_hook): Likewise.
13646 * malloc/hooks.c (malloc_hook_ini): Likewise.
13647 (realloc_hook_ini): Likewise.
13648 (memalign_hook_ini): Likewise.
13649 * malloc/malloc.c (malloc_hook_ini): Likewise.
13650 (realloc_hook_ini): Likewise.
13651 (memalign_hook_ini): Likewise.
13652 (__free_hook): Likewise.
13653 (__malloc_hook): Likewise.
13654 (__realloc_hook): Likewise.
13655 (__memalign_hook): Likewise.
13656 (__libc_malloc): Likewise.
13657 (__libc_free): Likewise.
13658 (__libc_realloc): Likewise.
13659 (__libc_memalign): Likewise.
13660 (__libc_valloc): Likewise.
13661 (__libc_pvalloc): Likewise.
13662 (__libc_calloc): Likewise.
13663 (__posix_memalign): Likewise.
13664 * malloc/morecore.c (__sbrk): Likewise.
13665 (__default_morecore): Likewise.
13666
5cc45e10
JM
13667 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
13668
dd54b864
JM
13669 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
13670 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
13671 __malloc_ptrdiff_t.
13672
1ba4f030
JM
13673 * malloc/malloc.h (__malloc_size_t): Remove macro.
13674 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
13675 __malloc_size_t.
13676 (old_memalign_hook): Likewise.
13677 (old_realloc_hook): Likewise.
13678 (struct hdr): Likewise.
13679 (flood): Likewise.
13680 (mallochook): Likewise.
13681 (memalignhook): Likewise.
13682 (reallochook): Likewise.
13683 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
13684 (tr_old_realloc_hook): Likewise.
13685 (tr_old_memalign_hook): Likewise.
13686 (tr_mallochook): Likewise.
13687 (tr_reallochook): Likewise.
13688 (tr_memalignhook): Likewise.
13689
edf66e57
AZ
136902013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13691
13692 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
13693 default_ldbl_pack and using as default implementation.
13694 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
13695 implementation.
13696 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
13697 redundant definition.
13698 (ldbl_insert_mantissa): Likewise.
13699 (ldbl_canonicalize): Likewise.
13700 (ldbl_nearbyint): Likewise.
13701 (ldbl_pack): Rename to ldbl_pack_ppc.
13702 (ldbl_unpack): Rename to ldbl_unpack_ppc.
13703 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
13704 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
13705
6d9145d8
SP
137062013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13707
13708 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
13709 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
13710 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
13711 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
13712 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
13713 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
13714 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
13715 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
13716
4dd4e157
AJ
137172013-03-07 Andreas Jaeger <aj@suse.de>
13718
13719 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
13720 bits/mman-linux.h.
13721
adbb8027
SP
137222013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13723
ce544b5b
SP
13724 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
13725 Include mpa.h and declare __MPEXP.
13726 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
13727 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13728 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13729 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
13730 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13731 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
13732 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
13733
4cc149fd
SP
13734 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
13735 (__slowpow): Use long double EXPL and LOGL functions to
13736 compute POW.
13737 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
13738 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13739 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
13740 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
13741 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
13742 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
13743
e6ebd4a7
SP
13744 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
13745 intermediate variable to calculate exponent.
13746 (__sqr): Likewise.
13747 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
13748 Likewise.
13749 (__sqr): Likewise.
13750
82a9811d
SP
13751 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
13752 [!NO__SQR]: Define __sqr.
13753 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
13754 and NO__SQR. Remove all code except __mul and __sqr. Include
13755 sysdeps/ieee754/dbl-64/mpa.c.
13756 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13757
adbb8027
SP
13758 [BZ #12723]
13759 * posix/Makefile (tests): Add tst-pathconf.
13760 * posix/tst-pathconf.c: New test case.
13761 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
13762 _PC_PIPE_BUF.
13763 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
13764
39120df9
PF
137652013-03-06 Patsy Franklin <pfrankli@redhat.com>
13766
13767 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
13768
67525cb8
AJ
137692013-03-06 Andreas Jaeger <aj@suse.de>
13770
664a9ce4
AJ
13771 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
13772 definition via __MAP_ANONYMOUS.
13773
8e39047d
AJ
13774 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
13775 it's not part of Linux headers.
13776
67525cb8
AJ
13777 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
13778 (MAP_HUGE_MASK): Define.
13779
13780 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13781 Define.
13782 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13783 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13784 Define.
13785 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13786 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
13787 Define.
13788 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13789 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
13790 Define.
13791 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
13792
13793 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
13794 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
13795 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
13796 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
13797 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
13798 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
13799
13800 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13801 Handle f2fs.
13802
13803 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13804 Handle f2fs and efivarfs.
13805
13806 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
13807 f2fs.
13808
13809 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
13810 (EFIVARFS_MAGIC): Add.
13811 (F2FS_LINK_MAX): Add.
13812
e1b42695
PP
138132013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
13814
13815 * stdio-common/vfprintf.c: Replace __builtin_expect with
13816 __glibc_unlikely.
13817
2d67d91a
JM
138182013-03-06 Joseph Myers <joseph@codesourcery.com>
13819
13820 [BZ #13550]
13821 * sysdeps/generic/bp-sym.h: Remove file.
13822 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
13823 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
13824 <bp-sym.h> and <bp-asm.h>.
13825 (__longjmp): Don't use BP_SYM.
13826 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
13827 and <bp-asm.h>.
13828 (memcpy): Don't use BP_SYM.
13829 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
13830 <bp-sym.h> and <bp-asm.h>.
13831 (memcpy): Don't use BP_SYM.
13832 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
13833 <bp-asm.h>.
13834 (memcpy): Don't use BP_SYM.
13835 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
13836 <bp-asm.h>.
13837 (memset): Don't use BP_SYM.
13838 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13839 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13840 (__bzero): Don't use BP_SYM.
13841 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13842 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13843 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
13844 <bp-sym.h> and <bp-asm.h>.
13845 (memcmp): Don't use BP_SYM. Remove comment about bounded
13846 pointers.
13847 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
13848 <bp-sym.h> and <bp-asm.h>.
13849 (memcpy): Don't use BP_SYM.
13850 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
13851 <bp-sym.h> and <bp-asm.h>.
13852 (memset): Don't use BP_SYM.
13853 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13854 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13855 (__bzero): Don't use BP_SYM.
13856 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13857 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13858 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
13859 <bp-sym.h> and <bp-asm.h>.
13860 (strncmp): Don't use BP_SYM. Remove comment about bounded
13861 pointers.
13862 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
13863 <bp-sym.h> and <bp-asm.h>.
13864 (memcpy): Don't use BP_SYM.
13865 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
13866 <bp-sym.h> and <bp-asm.h>.
13867 (memset): Don't use BP_SYM.
13868 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
13869 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
13870 (__bzero): Don't use BP_SYM.
13871 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
13872 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
13873 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
13874 <bp-sym.h> and <bp-asm.h>.
13875 (__memchr): Don't use BP_SYM.
13876 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
13877 <bp-sym.h> and <bp-asm.h>.
13878 (memcmp): Don't use BP_SYM. Remove comment about bounded
13879 pointers.
13880 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
13881 <bp-sym.h> and <bp-asm.h>.
13882 (memcpy): Don't use BP_SYM.
13883 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
13884 <bp-sym.h> and <bp-asm.h>.
13885 (__mempcpy): Don't use BP_SYM.
13886 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
13887 <bp-sym.h> and <bp-asm.h>.
13888 (__memrchr): Don't use BP_SYM.
13889 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
13890 <bp-sym.h> and <bp-asm.h>.
13891 (memset): Don't use BP_SYM.
13892 (__bzero): Likewise.
13893 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
13894 <bp-sym.h> and <bp-asm.h>.
13895 (__rawmemchr): Don't use BP_SYM.
13896 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
13897 <bp-sym.h> and <bp-asm.h>.
13898 (__STRCMP): Don't use BP_SYM.
13899 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
13900 <bp-sym.h> and <bp-asm.h>.
13901 (strchr): Don't use BP_SYM.
13902 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
13903 <bp-sym.h> and <bp-asm.h>.
13904 (__strchrnul): Don't use BP_SYM.
13905 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
13906 <bp-sym.h> and <bp-asm.h>.
13907 (strlen): Don't use BP_SYM.
13908 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
13909 <bp-sym.h> and <bp-asm.h>.
13910 (strncmp): Don't use BP_SYM. Remove comment about bounded
13911 pointers.
13912 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
13913 <bp-sym.h> and <bp-asm.h>.
13914 (__strnlen): Don't use BP_SYM.
13915 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
13916 <bp-sym.h> and <bp-asm.h>.
13917 (__GI__setjmp): Don't use BP_SYM.
13918 (_setjmp): Likewise.
13919 (__sigsetjmp): Likewise.
13920 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
13921 (L(start_addresses)): Don't use BP_SYM.
13922 (_start): Likewise.
13923 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
13924 <bp-asm.h>.
13925 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
13926 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
13927 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13928 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13929 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
13930 <bp-asm.h>.
13931 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
13932 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
13933 about bounded pointers.
13934 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
13935 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
13936 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
13937 <bp-asm.h>.
13938 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13939 about bounded pointers. Remove GKM FIXME comments.
13940 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
13941 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
13942 <bp-asm.h>.
13943 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
13944 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
13945 Remove GKM FIXME comments.
13946 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
13947 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
13948 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
13949 <bp-asm.h>.
13950 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
13951 about bounded pointers. Remove GKM FIXME comment.
13952 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
13953 and <bp-asm.h>.
13954 (strncmp): Don't use BP_SYM. Remove comment about bounded
13955 pointers.
13956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
13957 <bp-sym.h> and <bp-asm.h>.
13958 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
13959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
13960 <bp-sym.h> and <bp-asm.h>.
13961 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
13962 comment.
13963
cdcf361f
PP
139642013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
13965
13966 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
13967 call free(NULL).
13968
3c4a2b15
DM
139692013-03-05 David S. Miller <davem@davemloft.net>
13970
13971 * po/es.po: Update from translation team.
13972
cdcf361f 139732013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
13974
13975 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
13976 <bits/mman-linux.h>.
13977 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13978 is fine.
13979 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
13980 <bits/mman-linux.h> to end of file.
13981 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13982 is fine.
13983 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
13984 <bits/mman-linux.h> to end of file.
13985 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
13986 is fine.
13987 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
13988 <bits/mman-linux.h> to end of file.
13989
13990 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
13991 (MCL_CURRENT, MCL_FUTURE): Define here.
13992
5f67c04f
AK
139932013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13994
8a4473cc 13995 [BZ #15232]
5f67c04f
AK
13996 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
13997 attribute_hidden.
13998 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13999
c3e94a95
AK
140002013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14001
14002 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
14003 fourth parameter needed for rt_sigprocmask syscall.
14004 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
14005 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14006 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
14007 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14008 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14009 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
14010
cfb6382a
JM
140112013-03-04 Joseph Myers <joseph@codesourcery.com>
14012
14013 [BZ #13550]
14014 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
14015 comment about bounded pointers.
14016 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
14017 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
14018
539d8e01
AJ
140192013-03-04 Andreas Jaeger <aj@suse.de>
14020
14021 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
14022 common definitions.
14023
14024 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
14025 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
14026 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
14027 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
14028 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
14029 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
14030
2e167a70 140312013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
14032
14033 [BZ #15055]
14034 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
14035 __ieee754_sqrl instead of __sqrl.
14036
68508633
JM
140372013-03-01 Joseph Myers <joseph@codesourcery.com>
14038
14039 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
14040 * sysdeps/powerpc/fpu_control.h: ... here.
14041 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
14042 * sysdeps/powerpc/bits/fenvinline.h: ... here.
14043 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
14044 * sysdeps/powerpc/bits/mathinline.h: ... here.
14045
7775448e
RM
140462013-03-01 Roland McGrath <roland@hack.frob.com>
14047
14048 * elf/dl-hwcaps.c (_dl_important_hwcaps):
14049 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
14050 to just [NEED_DL_SYSINFO_DSO].
14051 * elf/dl-support.c: Likewise.
14052 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
14053 * elf/rtld.c (dl_main): Likewise.
14054 * elf/setup-vdso.h (setup_vdso): Likewise.
14055 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
14056 * sysdeps/unix/sysv/linux/dl-sysdep.c
14057 (_dl_discover_osversion): Likewise.
14058
4e9b5995
CD
140592013-03-01 Carlos O'Donell <carlos@redhat.com>
14060
14061 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
14062 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14063
e23872c8
SP
140642013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
14065
e5c74c63
SP
14066 * NEWS: Mention libm performance improvements and non-x86 PI
14067 futex support.
14068
e23872c8
SP
14069 * csu/libc-start.c (__pthread_initialize_minimal): Change
14070 function arguments.
14071 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
14072
b5510883
JM
140732013-02-28 Joseph Myers <joseph@codesourcery.com>
14074
14075 [BZ #13550]
14076 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
14077 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
14078 <bp-sym.h> and <bp-asm.h>.
14079 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14080 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
14081 and <bp-asm.h>.
14082 (memcpy): Don't use BP_SYM.
14083 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
14084 <bp-asm.h>.
14085 (__mpn_add_n): Don't use BP_SYM.
14086 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
14087 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
14088 and <bp-asm.h>.
14089 (__mpn_addmul_1): Don't use BP_SYM.
14090 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14091 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
14092 <bp-sym.h>.
14093 (_setjmp): Don't use BP_SYM.
14094 (__novmx_setjmp): Likewise.
14095 (__GI__setjmp): Likewise.
14096 (__vmx_setjmp): Likewise.
14097 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
14098 <bp-sym.h>.
14099 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
14100 (__bzero): Don't use BP_SYM.
14101 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
14102 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
14103 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
14104 <bp-sym.h> and <bp-asm.h>.
14105 (memcpy): Don't use BP_SYM.
14106 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
14107 <bp-sym.h> and <bp-asm.h>.
14108 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14109 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
14110 <bp-sym.h> and <bp-asm.h>.
14111 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
14112 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
14113 <bp-asm.h>.
14114 (__mpn_lshift): Don't use BP_SYM.
14115 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14116 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
14117 <bp-asm.h>.
14118 (memset): Don't use BP_SYM.
14119 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
14120 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
14121 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
14122 <bp-asm.h>.
14123 (__mpn_mul_1): Don't use BP_SYM.
14124 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14125 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
14126 <bp-sym.h> and <bp-asm.h>.
14127 (memcmp): Don't use BP_SYM.
14128 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
14129 <bp-sym.h> and <bp-asm.h>.
14130 (memcpy): Don't use BP_SYM.
14131 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
14132 <bp-sym.h> and <bp-asm.h>.
14133 (memset): Don't use BP_SYM.
14134 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
14135 <bp-sym.h> and <bp-asm.h>.
14136 (strncmp): Don't use BP_SYM.
14137 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
14138 <bp-sym.h> and <bp-asm.h>.
14139 (memcpy): Don't use BP_SYM.
14140 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
14141 <bp-sym.h> and <bp-asm.h>.
14142 (memset): Don't use BP_SYM.
14143 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
14144 <bp-sym.h> and <bp-asm.h>.
14145 (__memchr): Don't use BP_SYM.
14146 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
14147 <bp-sym.h> and <bp-asm.h>.
14148 (memcmp): Don't use BP_SYM.
14149 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
14150 <bp-sym.h> and <bp-asm.h>.
14151 (memcpy): Don't use BP_SYM.
14152 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
14153 <bp-sym.h> and <bp-asm.h>.
14154 (__mempcpy): Don't use BP_SYM.
14155 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
14156 <bp-sym.h> and <bp-asm.h>.
14157 (__memrchr): Don't use BP_SYM.
14158 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
14159 <bp-sym.h> and <bp-asm.h>.
14160 (memset): Don't use BP_SYM.
14161 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
14162 <bp-sym.h> and <bp-asm.h>.
14163 (__rawmemchr): Don't use BP_SYM.
14164 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
14165 <bp-sym.h> and <bp-asm.h>.
14166 (__STRCMP): Don't use BP_SYM.
14167 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
14168 <bp-sym.h> and <bp-asm.h>.
14169 (strchr): Don't use BP_SYM.
14170 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
14171 <bp-sym.h> and <bp-asm.h>.
14172 (__strchrnul): Don't use BP_SYM.
14173 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
14174 <bp-sym.h> and <bp-asm.h>.
14175 (strlen): Don't use BP_SYM.
14176 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
14177 <bp-sym.h> and <bp-asm.h>.
14178 (strncmp): Don't use BP_SYM.
14179 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
14180 <bp-sym.h> and <bp-asm.h>.
14181 (__strnlen): Don't use BP_SYM.
14182 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
14183 <bp-asm.h>.
14184 (__mpn_rshift): Don't use BP_SYM.
14185 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14186 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
14187 <bp-sym.h> and <bp-asm.h>.
14188 (__sigsetjmp): Don't use BP_SYM.
14189 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
14190 (L(start_addresses)): Don't use BP_SYM.
14191 (_start): Likewise.
14192 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
14193 <bp-asm.h>.
14194 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
14195 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14196 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14197 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
14198 <bp-asm.h>.
14199 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
14200 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14201 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14202 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
14203 <bp-asm.h>.
14204 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
14205 comments.
14206 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14207 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
14208 <bp-asm.h>.
14209 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
14210 FIXME comments.
14211 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14212 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
14213 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
14214 <bp-asm.h>.
14215 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
14216 comment.
14217 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
14218 and <bp-asm.h>.
14219 (strncmp): Don't use BP_SYM,
14220 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
14221 <bp-asm.h>.
14222 (__mpn_sub_n): Don't use BP_SYM.
14223 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14224 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
14225 and <bp-asm.h>.
14226 (__mpn_submul_1): Don't use BP_SYM.
14227 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
14229 <bp-sym.h> and <bp-asm.h>.
14230 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
14231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
14232 <bp-sym.h> and <bp-asm.h>.
14233 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
14234 comment.
14235
8d19fe64
SP
142362013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
14237
14238 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
14239 Use ZK to minimize writes to Z.
14240 (sub_magnitudes): Simplify code a bit.
14241 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
14242 Use ZK to minimize writes to Z.
14243 (sub_magnitudes): Simplify code a bit.
14244
85bd816a
RM
142452013-02-27 Roland McGrath <roland@hack.frob.com>
14246
14247 * csu/gmon-start.c: Add special exception to license text.
14248
b5977bf2
RH
142492013-02-27 Richard Henderson <rth@redhat.com>
14250
14251 * scripts/config.guess: Update from config.git.
14252 * scripts/config.sub: Likewise.
14253
11d6e2f2
SP
142542013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14255
09c14ed2
SP
14256 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
14257
a688864e
SP
14258 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
14259
6295157a
SP
14260 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
14261
b8de2202
SP
14262 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
14263
11d6e2f2
SP
14264 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
14265
7e80ddb8
RM
142662013-02-26 Roland McGrath <roland@hack.frob.com>
14267
14268 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
14269 [$(build-shared = yes].
7e80ddb8 14270
7da6d9ed
SP
142712013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14272
45f05884
SP
14273 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
14274 (__mul): Reduce iterations for calculating mantissa.
14275
2236d359
SP
14276 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
14277 MPTWO.
14278 (__mpranred): Likewise.
14279
7da6d9ed
SP
14280 [BZ #15160]
14281 * malloc/memusagestat.c (main): Draw graphs for heap and stack
14282 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
14283
b7688c42
PE
142842013-02-26 Paul Eggert <eggert@cs.ucla.edu>
14285
14286 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
14287 Define __attribute__.
14288
53a5c423
SP
142892013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
14290
14291 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
14292 unused.
14293 * posix/regex_internal.h (__attribute): Remove.
14294 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
14295 (re_string_context_at): Likewise.
14296 (bitset_not): Use __attribute__ and mark function as possibly
14297 unused.
14298 (bitset_merge): Likewise.
14299 (bitset_mask): Likewise.
14300 (re_string_char_size_at): Likewise.
14301 (re_string_wchar_at): Likewise.
14302 (re_string_elem_size_at): Likewise.
14303
60f5a8b5
SP
143042013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
14305
2a983a2e
SP
14306 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
14307 code.
14308 (cc32): Likewise.
14309
e69804d1
SP
14310 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
14311 (__acr): Likewise.
14312 (__cpy): Likewise.
14313 (norm): Likewise.
14314 (denorm): Likewise.
14315 (__dbl_mp): Likewise.
14316 (add_magnitudes): Likewise.
14317 (sub_magnitudes): Likewise.
14318 (__mul): Likewise.
14319 (__inv): Likewise.
14320
2f22a1e8
SP
14321 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
14322 style.
14323
8930ddc7
SP
14324 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
14325 style.
14326
dc60cb11
SP
14327 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
14328 code.
14329
60f5a8b5
SP
14330 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
14331 up changes with default code.
14332 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
14333 Likewise.
14334
b4d1fd33
AM
143352013-02-24 Allan McRae <allan@archlinux.org>
14336
faf6f8bc
AM
14337 * manual/socket.texi (The Internet Namespace): Order menu items
14338 to match that in the file.
14339
b4d1fd33
AM
14340 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
14341 node listing of the info page menu.
14342
2366713d
JM
143432013-02-21 Joseph Myers <joseph@codesourcery.com>
14344
14345 [BZ #13550]
14346 * sysdeps/i386/bp-asm.h: Remove file.
14347 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14348 (PARMS): Do not use macros from bp-asm.h.
14349 (S1): Likewise.
14350 (S2): Likewise.
14351 (SIZE): Likewise.
14352 (__mpn_add_n): Do not use BP_SYM
14353 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
14354 "bp-asm.h".
14355 (PARMS): Do not use macros from bp-asm.h.
14356 (S1): Likewise.
14357 (SIZE): Likewise.
14358 (__mpn_addmul_1): Do not use BP_SYM
14359 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
14360 "bp-asm.h".
14361 (PARMS): Do not use macros from bp-asm.h.
14362 (SIGMSK): Likewise.
14363 (_setjmp): Likewise. Do not use BP_SYM.
14364 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
14365 "bp-asm.h".
14366 (PARMS): Do not use macros from bp-asm.h.
14367 (SIGMSK): Likewise.
14368 (setjmp): Likewise. Do not use BP_SYM.
14369 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
14370 "bp-asm.h".
14371 (PARMS): Do not use macros from bp-asm.h.
14372 (__frexp): Do not use BP_SYM.
14373 (frexp): Likewise.
14374 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
14375 "bp-asm.h".
14376 (PARMS): Do not use macros from bp-asm.h.
14377 (__frexpf): Do not use BP_SYM.
14378 (frexpf): Likewise.
14379 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
14380 "bp-asm.h".
14381 (PARMS): Do not use macros from bp-asm.h.
14382 (__frexpl): Do not use BP_SYM.
14383 (frexpl): Likewise.
14384 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
14385 "bp-asm.h".
14386 (PARMS): Do not use macros from bp-asm.h.
14387 (__remquo): Do not use BP_SYM.
14388 (remquo): Likewise.
14389 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
14390 "bp-asm.h".
14391 (PARMS): Do not use macros from bp-asm.h.
14392 (__remquof): Do not use BP_SYM.
14393 (remquof): Likewise.
14394 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
14395 "bp-asm.h".
14396 (PARMS): Do not use macros from bp-asm.h.
14397 (__remquol): Do not use BP_SYM.
14398 (remquol): Likewise.
14399 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
14400 "bp-asm.h".
14401 (PARMS): Do not use macros from bp-asm.h.
14402 (DEST): Likewise.
14403 (SRC): Likewise.
14404 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
14405 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
14406 "bp-asm.h".
14407 (PARMS): Do not use macros from bp-asm.h.
14408 (strlen): Do not use BP_SYM.
14409 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
14410 "bp-asm.h".
14411 (PARMS): Do not use macros from bp-asm.h.
14412 (S1): Likewise.
14413 (S2): Likewise.
14414 (SIZE): Likewise.
14415 (__mpn_add_n): Do not use BP_SYM.
14416 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
14417 "bp-asm.h".
14418 (PARMS): Do not use macros from bp-asm.h.
14419 (S1): Likewise.
14420 (SIZE): Likewise.
14421 (__mpn_addmul_1): Do not use BP_SYM.
14422 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
14423 weak_alias.
14424 (bzero): Likewise.
14425 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
14426 "bp-asm.h".
14427 (PARMS): Do not use macros from bp-asm.h.
14428 (S): Likewise.
14429 (SIZE): Likewise.
14430 (__mpn_lshift): Do not use BP_SYM.
14431 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
14432 "bp-asm.h".
14433 (PARMS): Do not use macros from bp-asm.h.
14434 (DEST): Likewise.
14435 (SRC): Likewise.
14436 (LEN): Likewise.
14437 (memcpy): Likewise. Do not use BP_SYM.
14438 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
14439 libc_hidden_def and weak_alias.
14440 (mempcpy): Do not use BP_SYM in weak_alias.
14441 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
14442 "bp-asm.h".
14443 (PARMS): Do not use macros from bp-asm.h.
14444 (DEST): Likewise.
14445 (LEN): Likewise.
14446 [!BZERO_P] (CHR): Likewise.
14447 (memset): Likewise. Do not use BP_SYM.
14448 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
14449 "bp-asm.h".
14450 (PARMS): Do not use macros from bp-asm.h.
14451 (S1): Likewise.
14452 (SIZE): Likewise.
14453 (__mpn_mul_1): Do not use BP_SYM.
14454 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
14455 "bp-asm.h".
14456 (PARMS): Do not use macros from bp-asm.h.
14457 (S): Likewise.
14458 (SIZE): Likewise.
14459 (__mpn_rshift): Do not use BP_SYM.
14460 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
14461 "bp-asm.h".
14462 (PARMS): Do not use macros from bp-asm.h.
14463 (STR): Likewise.
14464 (CHR): Likewise.
14465 (strchr): Likewise. Do not use BP_SYM.
14466 (index): Do not use BP_SYM in weak_alias.
14467 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
14468 "bp-asm.h".
14469 (PARMS): Do not use macros from bp-asm.h.
14470 (DEST): Likewise.
14471 (SRC): Likewise.
14472 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
14473 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
14474 "bp-asm.h".
14475 (PARMS): Do not use macros from bp-asm.h.
14476 (strlen): Do not use BP_SYM.
14477 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
14478 "bp-asm.h".
14479 (PARMS): Do not use macros from bp-asm.h.
14480 (S1): Likewise.
14481 (S2): Likewise.
14482 (SIZE): Likewise.
14483 (__mpn_sub_n): Do not use BP_SYM.
14484 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
14485 "bp-asm.h".
14486 (PARMS): Do not use macros from bp-asm.h.
14487 (S1): Likewise.
14488 (SIZE): Likewise.
14489 (__mpn_submul_1): Do not use BP_SYM.
14490 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
14491 "bp-asm.h".
14492 (PARMS): Do not use macros from bp-asm.h.
14493 (S1): Likewise.
14494 (S2): Likewise.
14495 (SIZE): Likewise.
14496 (__mpn_add_n): Do not use BP_SYM.
14497 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
14498 weak_alias.
14499 (bzero): Likewise.
14500 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
14501 "bp-asm.h".
14502 (PARMS): Do not use macros from bp-asm.h.
14503 (BLK2): Likewise.
14504 (LEN): Likewise.
14505 (memcmp): Do not use BP_SYM.
14506 (bcmp): Do not use BP_SYM in weak_alias.
14507 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
14508 "bp-asm.h".
14509 (PARMS): Do not use macros from bp-asm.h.
14510 (DEST): Likewise.
14511 (SRC): Likewise.
14512 (LEN): Likewise.
14513 (memcpy): Likewise. Do not use BP_SYM.
14514 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
14515 "bp-asm.h".
14516 (PARMS): Do not use macros from bp-asm.h.
14517 (DEST): Likewise.
14518 (SRC): Likewise.
14519 (LEN): Likewise.
14520 (memmove): Likewise. Do not use BP_SYM.
14521 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
14522 "bp-asm.h".
14523 (PARMS): Do not use macros from bp-asm.h.
14524 (DEST): Likewise.
14525 (SRC): Likewise.
14526 (LEN): Likewise.
14527 (__mempcpy): Likewise. Do not use BP_SYM.
14528 (mempcpy): Do not use BP_SYM in weak_alias.
14529 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
14530 "bp-asm.h".
14531 (PARMS): Do not use macros from bp-asm.h.
14532 (DEST): Likewise.
14533 (LEN): Likewise.
14534 [!BZERO_P] (CHR): Likewise.
14535 (memset): Likewise. Do not use BP_SYM.
14536 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
14537 "bp-asm.h".
14538 (PARMS): Do not use macros from bp-asm.h.
14539 (STR2): Likewise.
14540 (strcmp): Do not use BP_SYM.
14541 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
14542 "bp-asm.h".
14543 (PARMS): Do not use macros from bp-asm.h.
14544 (STR): Likewise.
14545 (DELIM): Likewise.
14546 [USE_AS_STRTOK_R] (SAVE): Likewise.
14547 (FUNCTION): Likewise. Do not use BP_SYM.
14548 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
14549 aliases.
14550 (strtok_r): Likewise.
14551 (__GI___strtok_r): Likewise.
14552 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14553 (PARMS): Do not use macros from bp-asm.h.
14554 (S): Likewise.
14555 (SIZE): Likewise.
14556 (__mpn_lshift): Do not use BP_SYM.
14557 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14558 (PARMS): Do not use macros from bp-asm.h.
14559 (STR): Likewise.
14560 (CHR): Likewise.
14561 (__memchr): Do not use BP_SYM.
14562 (memchr): Do not use BP_SYM in weak_alias.
14563 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14564 (PARMS): Do not use macros from bp-asm.h.
14565 (BLK2): Likewise.
14566 (LEN): Likewise.
14567 (memcmp): Do not use BP_SYM.
14568 (bcmp): Do not use BP_SYM in weak_alias.
14569 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
14570 (PARMS): Do not use macros from bp-asm.h.
14571 (S1): Likewise.
14572 (SIZE): Likewise.
14573 (__mpn_mul_1): Do not use BP_SYM.
14574 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
14575 "bp-asm.h".
14576 (PARMS): Do not use macros from bp-asm.h.
14577 (STR): Likewise.
14578 (CHR): Likewise.
14579 (__rawmemchr): Do not use BP_SYM.
14580 (rawmemchr): Do not use BP_SYM in weak_alias.
14581 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
14582 (PARMS): Do not use macros from bp-asm.h.
14583 (S): Likewise.
14584 (SIZE): Likewise.
14585 (__mpn_rshift): Do not use BP_SYM.
14586 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
14587 (PARMS): Do not use macros from bp-asm.h.
14588 (SIGMSK): Likewise.
14589 (__sigsetjmp): Likewise. Do not use BP_SYM.
14590 * sysdeps/i386/start.S: Do not include "bp-sym.h".
14591 (_start): Do not use BP_SYM.
14592 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
14593 (PARMS): Do not use macros from bp-asm.h.
14594 (DEST): Likewise.
14595 (SRC): Likewise.
14596 (__stpcpy): Likewise. Do not use BP_SYM.
14597 (stpcpy): Do not use BP_SYM in weak_alias.
14598 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
14599 "bp-asm.h".
14600 (PARMS): Do not use macros from bp-asm.h.
14601 (DEST): Likewise.
14602 (SRC): Likewise.
14603 (LEN): Likewise.
14604 (__stpncpy): Likewise. Do not use BP_SYM.
14605 (stpncpy): Do not use BP_SYM in weak_alias.
14606 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
14607 (PARMS): Do not use macros from bp-asm.h.
14608 (STR): Likewise.
14609 (CHR): Likewise.
14610 (strchr): Likewise. Do not use BP_SYM.
14611 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
14612 "bp-asm.h".
14613 (PARMS): Do not use macros from bp-asm.h.
14614 (STR): Likewise.
14615 (CHR): Likewise.
14616 (__strchrnul): Likewise. Do not use BP_SYM.
14617 (strchrnul): Do not use BP_SYM in weak_alias.
14618 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
14619 "bp-asm.h".
14620 (PARMS): Do not use macros from bp-asm.h.
14621 (STOP): Likewise.
14622 (strcspn): Do not use BP_SYM.
14623 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
14624 "bp-asm.h".
14625 (PARMS): Do not use macros from bp-asm.h.
14626 (STR): Likewise.
14627 (STOP): Likewise.
14628 (strpbrk): Likewise. Do not use BP_SYM.
14629 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
14630 "bp-asm.h".
14631 (PARMS): Do not use macros from bp-asm.h.
14632 (STR): Likewise.
14633 (CHR): Likewise.
14634 (strrchr): Likewise. Do not use BP_SYM.
14635 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
14636 (PARMS): Do not use macros from bp-asm.h.
14637 (SKIP): Likewise.
14638 (strspn): Do not use BP_SYM.
14639 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
14640 (PARMS): Do not use macros from bp-asm.h.
14641 (STR): Likewise.
14642 (DELIM): Likewise.
14643 (SAVE): Likewise.
14644 (FUNCTION): Likewise. Do not use BP_SYM.
14645 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
14646 aliases.
14647 (strtok_r): Likewise.
14648 (__GI___strtok_r): Likewise.
14649 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
14650 (PARMS): Do not use macros from bp-asm.h.
14651 (S1): Likewise.
14652 (S2): Likewise.
14653 (SIZE): Likewise.
14654 (__mpn_sub_n): Do not use BP_SYM.
14655 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
14656 "bp-asm.h".
14657 (PARMS): Do not use macros from bp-asm.h.
14658 (S1): Likewise.
14659 (SIZE): Likewise.
14660 (__mpn_submul_1): Do not use BP_SYM.
14661 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
14662 <bp-sym.h>.
14663 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
14664 and <bp-asm.h>.
14665 (PARMS): Do not use macros from bp-asm.h.
14666 (FLAGS): Likewise.
14667 (PTID): Likewise.
14668 (TLS): Likewise.
14669 (CTID): Likewise.
14670 (__clone): Do not use BP_SYM.
14671 (clone): Do not use BP_SYM in weak_alias.
14672 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
14673 and <bp-asm.h>.
14674 (PARMS): Do not use macros from bp-asm.h.
14675 (LEN): Likewise.
14676 (__mmap64): Do not use BP_SYM.
14677 (mmap64): Do not use BP_SYM in weak_alias.
14678 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
14679 <bp-sym.h> and <bp-asm.h>.
14680 (PARMS): Do not use macros from bp-asm.h.
14681 (__posix_fadvise64_l64): Do not use BP_SYM.
14682 * sysdeps/unix/sysv/linux/i386/semtimedop.S
14683 (PARMS): Do not use macros from bp-asm.h.
14684 (NSOPS): Likewise.
14685 (semtimedop): Do not use BP_SYM.
14686 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
14687 and <bp-asm.h>.
14688
582a3cff
AM
146892013-02-21 Allan McRae <allan@archlinux.org>
14690
14691 * manual/message.texi (Charset conversion in gettext):
14692 Move @end statement to beginning of line.
14693
bab8a695
SP
146942013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14695
80945231
SP
14696 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
14697 static.
14698 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
14699 Likewise.
14700
bab8a695
SP
14701 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
14702 (denorm): Likewise.
14703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
14704 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
14705
e21d7aa7
AK
147062013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14707
14708 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
14709 tail-call to the resolved function if pltexit isn't needed.
14710
4c7a4263
SP
147112013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14712
14713 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
14714 or Y being zero as being unlikely.
14715 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
14716 Likewise.
14717
41f49342
CD
147182013-02-20 Carlos O'Donell <carlos@redhat.com>
14719
14720 * manual/nss.texi (System Databases and Name Service Switch):
14721 Remove frobnicate @pxref.
14722
50022a93
TS
147232013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14724
14725 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14726 __attribute__ ((unused)) to __attribute__ ((__unused__)).
14727
08cbd996
PM
147282013-02-20 Petr Machata <pmachata@redhat.com>
14729
14730 * elf/elf.h (R_ARM_TARGET1): New macro.
14731 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
14732 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
14733 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
14734 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
14735 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
14736 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
14737 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
14738 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
14739 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
14740 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
14741 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
14742 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
14743 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
14744 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
14745 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
14746 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
14747 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
14748 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
14749 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
14750 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
14751 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
14752 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
14753 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
14754 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
14755 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
14756 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
14757 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
14758 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
14759 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
14760 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
14761 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
14762 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
14763 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
14764 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
14765 (R_ARM_THM_GOT_BREL12): Likewise.
14766 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
14767 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
14768 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
14769 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
14770 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
14771 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
14772 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
14773 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
14774 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
14775
c7b275d6
TS
147762013-02-20 Thomas Schwinge <thomas@codesourcery.com>
14777
14778 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
14779 __attribute_used__ to __attribute__ ((unused)).
14780
20cd7fb3
SP
147812013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14782
14783 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
14784 powerpc mpa.c.
14785 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
14786 comment formatting.
14787 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
14788
92945b52
JM
147892013-02-19 Joseph Myers <joseph@codesourcery.com>
14790
14791 [BZ #13550]
14792 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
14793 Remove macro.
14794 (ENTER): Remove both macro definitions.
14795 (LEAVE): Likewise.
14796 (CHECK_BOUNDS_LOW): Likewise.
14797 (CHECK_BOUNDS_HIGH): Likewise.
14798 (CHECK_BOUNDS_BOTH): Likewise.
14799 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
14800 (RETURN_BOUNDED_POINTER): Likewise.
14801 (RETURN_NULL_BOUNDED_POINTER): Likewise.
14802 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
14803 (POP_ERRNO_LOCATION_RETURN): Likewise.
14804 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
14805 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14806 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
14807 macros.
14808 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14809 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
14810 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
14811 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
14812 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
14813 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
14814 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
14815 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
14816 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
14817 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
14818 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
14819 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
14820 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14821 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
14822 removed macros.
14823 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14824 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
14825 macros.
14826 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14827 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
14828 * sysdeps/i386/i586/memset.S (memset): Likewise.
14829 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
14830 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14831 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
14832 macros.
14833 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14834 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
14835 Change uses of L(2) to L(out).
14836 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
14837 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
14838 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
14839 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14840 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
14841 removed macros.
14842 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14843 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
14844 macros.
14845 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14846 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
14847 (RETURN): Do not use macro LEAVE.
14848 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
14849 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
14850 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
14851 * sysdeps/i386/i686/memset.S (memset): Likewise.
14852 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
14853 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
14854 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
14855 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
14856 Likewise.
14857 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14858 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
14859 L(1_2) and L(1_3) into L(1).
14860 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14861 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
14862 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14863 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
14864 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
14865 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
14866 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
14867 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14868 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
14869 macros.
14870 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
14871 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
14872 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
14873 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
14874 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
14875 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
14876 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
14877 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
14878 * sysdeps/i386/strcspn.S (strcspn): Likewise.
14879 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
14880 * sysdeps/i386/strrchr.S (strrchr): Likewise.
14881 * sysdeps/i386/strspn.S (strspn): Likewise.
14882 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
14883 conditional code.
14884 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
14885 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
14886 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
14887 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
14888 L(1_3) into L(1_1).
14889 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
14890 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
14891 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
14892 macros.
14893 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
14894
2389741a
JJ
148952013-02-19 Jakub Jelinek <jakub@redhat.com>
14896
14897 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
14898 macro.
14899
2016b3cd
SP
149002013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14901
e4f22324
SP
14902 * math/atest-exp.c (exp_mpn): Remove ROUND.
14903 * math/atest-exp2.c (exp_mpn): Likewise.
14904 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
14905
2016b3cd
SP
14906 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
14907 * stdlib/tst-tls-atexit-lib.c: Likewise.
14908 * stdlib/tst-tls-atexit.c: Likewise.
14909
4be9b544
MF
149102013-02-18 Mike Frysinger <vapier@gentoo.org>
14911
14912 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
14913 and __attribute_alloc_size__.
14914
2f62b9ee
MF
149152013-02-18 Mike Frysinger <vapier@gentoo.org>
14916
14917 * include/programs/xmalloc.h: Change __attribute_alloc_size to
14918 __attribute_alloc_size__.
14919 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
14920 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
14921
6ff444c4
MF
149222013-02-18 Mike Frysinger <vapier@gentoo.org>
14923
14924 * include/programs/xmalloc.h: New file.
14925 * catgets/gencat.c: Include it.
14926 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
14927 * elf/pldd.c: Likewise.
14928 * iconv/iconv_charmap.c: Likewise.
14929 * iconv/iconvconfig.c: Likewise.
14930 * iconv/strtab.c: Likewise.
14931 * locale/programs/locale.c: Likewise.
14932 * locale/programs/localedef.h: Likewise.
14933 * locale/programs/simple-hash.c: Likewise.
14934 * nscd/nscd.h: Likewise.
14935 * nss/makedb.c: Likewise.
14936 * sysdeps/generic/ldconfig.h: Likewise.
14937
be179c8a
SP
149382013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14939
ba384f6e
SP
14940 * Versions.def: Add GLIBC_2.18.
14941 * include/link.h (struct link_map): New member l_tls_dtor_count.
14942 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
14943 (__call_tls_dtors): Likewise.
14944 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
14945 __cxa_thread_atexit_impl.
14946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14947 Likewise.
14948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14949 Likewise.
14950 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
14951 Likewise.
14952 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
14953 Likewise.
14954 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14955 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
14956 Likewise.
14957 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
14958 Likewise.
14959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
14961 Likewise.
14962 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
14963 (tests): Add test case tst-tls-atexit.
14964 (modules-names): Add shared library for tst-tls-atexit.
85891aca 14965 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
14966 (GLIBC_PRIVATE): Add __call_tls_dtors.
14967 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
14968 for libstdc++.
14969 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
14970 * stdlib/tst-tls-atexit.c: New test case.
14971 * stdlib/tst-tls-atexit-lib.c: New test case.
14972
ffaa74cf 14973 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 14974
be179c8a
SP
14975 * elf/Versions (ld): Add _dl_find_dso_for_object.
14976 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
14977 * elf/dl-open.c (_dl_find_dso_for_object): New function.
14978 (dl_open_worker): Use _dl_find_dso_for_object.
14979 * elf/dl-sym.c (do_sym): Likewise.
14980 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
14981
f78b5caa
AK
149822013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14983
14984 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
14985 Syntactic changes only.
14986 (_dl_runtime_profile): Do a tail-call to the resolved function.
14987
29691210
JM
149882013-02-17 Joseph Myers <joseph@codesourcery.com>
14989
14990 [BZ #13550]
14991 * sysdeps/x86_64/bp-asm.h: Remove file.
14992 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
14993 <bp-sym.h> and <bp-asm.h>.
14994 (__clone): Do not use BP_SYM.
14995 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
14996 <bp-sym.h> and <bp-asm.h>.
14997 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14998 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
14999 "bp-asm.h".
15000 (_setjmp): Do not use BP_SYM.
15001 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
15002 "bp-asm.h".
15003 (setjmp): Do not use BP_SYM.
15004 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
15005 libc_hidden_def.
15006 (mempcpy): Do not use BP_SYM in weak_alias.
15007 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
15008 "bp-asm.h".
15009 (strchr): Do not use BP_SYM.
15010 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
15011 "bp-asm.h".
15012 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
15013 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
15014 (_start): Do not use BP_SYM.
15015 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
15016 "bp-asm.h".
15017 (strcat): Do not use BP_SYM.
15018 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
15019 "bp-asm.h".
15020 (STRCMP): Do not use BP_SYM.
15021 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
15022 "bp-asm.h".
15023 (STRCPY): Do not use BP_SYM.
15024 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
15025 "bp-asm.h".
15026 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
15027 "bp-asm.h".
15028 (FUNCTION): Do not use BP_SYM.
15029 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
15030 weak_alias.
15031 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
15032
f238fd19
AJ
150332013-02-17 Andreas Jaeger <aj@suse.de>
15034
15035 * time/Versions: Sort entries.
15036 * string/Versions: Likewise.
15037 * resolv/Versions: Likewise.
15038 * posix/Versions: Likewise.
15039 * iconv/Versions: Likewise.
15040 * elf/Versions: Likewise.
15041 * wcsmbs/Versions: Likewise.
15042
bd07f23c 150432013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 15044
22af19f9
SP
15045 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
15046 loop termination condition.
15047
4709fe76
SP
15048 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
15049 variable to calculate EZ.
15050 (__sqr): Likewise.
2d0e0f29
SP
15051
15052 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
15053 the lower precision input.
15054
daaa7713
JM
150552013-02-15 Joseph Myers <joseph@codesourcery.com>
15056
15057 [BZ #13550]
15058 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
15059 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
15060 (run-via-rtld-prefix): Do not handle %-bp tests.
15061 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
15062 (all-object-suffixes): Remove .ob.
15063 (bppfx): Remove variable.
15064 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
15065 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
15066 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
15067 [$(build-bounded) = yes] (libtype.ob): Likewise.
15068 * Makerules (elide-routines.ob): Remove variable.
15069 (do-tests-clean): Do not handle *-bp.out.
15070 (common-mostlyclean): Do not handle *-bp and *-bp.out.
15071 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
15072 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
15073 (tests): Do not include $(tests-bp.out).
15074 (xtests): Do not include $(xtests-bp.out).
15075 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
15076 [$(build-bounded) = yes] ($(addprefix
15077 $(objpfx),$(binaries-bounded))): Remove rule.
15078 ($(objpfx)%-bp.out): Remove rule.
15079 * config.make.in (build-bounded): Remove variable.
15080 * crypt/Makefile [$(build-bounded) = yes]
15081 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
15082 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
15083 append to variable.
15084 [$(build-bounded) = yes] (install-lib): Likewise.
15085 [$(build-bounded) = yes] (generated): Likewise.
15086 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
15087 Remove rule.
15088 * intl/Makefile [$(build-bounded) = yes]
15089 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
15090 * math/Makefile [$(build-bounded) = yes]
15091 ($(tests:%=$(objpfx)%-bp): Likewise.
15092 * misc/Makefile [$(build-bounded) = yes]
15093 ($(objpfx)tst-tsearch-bp): Likewise.
15094 * nptl/Makeconfig (bounded-thread-library): Remove variable.
15095 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
15096 Remove dependency.
15097 * string/Makefile (o-objects.ob): Remove variable.
15098 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
15099 (CFLAGS-.ob): Remove variable.
15100 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
15101 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
15102 both definitions of variable.
15103 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
15104 (ASFLAGS-.ob): Remove variable.
15105
e97ed6dd
JM
151062013-02-14 Joseph Myers <joseph@codesourcery.com>
15107
2bdd4ca6
JM
15108 [BZ #13550]
15109 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
15110 Remove __BOUNDED_POINTERS__ from condition.
15111 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
15112 * string/bits/string2.h [!__NO_STRING_INLINES &&
15113 !__BOUNDED_POINTERS__]: Likewise.
15114 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
15115 Likewise.
15116 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
15117 Remove conditional code.
15118 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
15119 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
15120 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
15121 condition.
15122
e97ed6dd
JM
15123 [BZ #13550]
15124 * csu/libc-start.c: Do not include <bp-sym.h>.
15125 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
15126 * elf/dl-open.c: Do not include <bp-sym.h>.
15127 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
15128 * math/fegetenv.c: Do not include <bp-sym.h>.
15129 (fegetenv): Do not use BP_SYM in versioned symbols.
15130 * nptl/sysdeps/pthread/bits/libc-lockP.h
15131 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
15132 <bp-sym.h>.
15133 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15134 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
15135 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15136 (__pthread_mutex_destroy): Likewise.
15137 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15138 (__pthread_mutex_lock): Likewise.
15139 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15140 (__pthread_mutex_trylock): Likewise.
15141 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15142 (__pthread_mutex_unlock): Likewise.
15143 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15144 (__pthread_mutexattr_init): Likewise.
15145 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15146 (__pthread_mutexattr_destroy): Likewise.
15147 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15148 (__pthread_mutexattr_settype): Likewise.
15149 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15150 (__pthread_rwlock_init): Likewise.
15151 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15152 (__pthread_rwlock_destroy): Likewise.
15153 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15154 (__pthread_rwlock_rdlock): Likewise.
15155 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15156 (__pthread_rwlock_tryrdlock): Likewise.
15157 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15158 (__pthread_rwlock_wrlock): Likewise.
15159 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15160 (__pthread_rwlock_trywrlock): Likewise.
15161 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15162 (__pthread_rwlock_unlock): Likewise.
15163 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15164 (__pthread_key_create): Likewise.
15165 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15166 (__pthread_setspecific): Likewise.
15167 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15168 (__pthread_getspecific): Likewise.
15169 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
15170 Likewise.
15171 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15172 (_pthread_cleanup_push_defer): Likewise.
15173 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15174 (_pthread_cleanup_pop_restore): Likewise.
15175 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
15176 (pthread_setcancelstate): Likewise.
15177 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
15178 <bp-sym.h>.
15179 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
15180 (memchr): Do not use BP_SYM in weak_alias.
15181 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
15182 (fegetenv): Do not use BP_SYM in versioned symbols.
15183 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
15184 (fesetenv): Do not use BP_SYM in versioned symbols.
15185 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15186 (feupdateenv): Do not use BP_SYM in versioned symbols.
15187 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15188 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15189 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
15190 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
15191 (open64): Do not use BP_SYM in weak_alias.
15192 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
15193 (fegetenv): Do not use BP_SYM in versioned symbols.
15194 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
15195 (fesetenv): Do not use BP_SYM in versioned symbols.
15196 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
15197 (feupdateenv): Do not use BP_SYM in versioned symbols.
15198 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
15199 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
15200 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
15201 (feraiseexcept): Do not use BP_SYM in versioned symbols.
15202 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
15203 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
15204 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
15205 <bp-sym.h>.
15206 (__libc_start_main): Do not use BP_SYM.
15207
d6752ccd
SP
152082013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
15209
cb57ce60
SP
15210 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
15211 redundant return line.
15212 (norm): Likewise.
15213 (denorm): Likewise.
15214 (dbl_mp): Likewise.
15215 (sub_magnitudes): Likewise.
15216 (__add): Likewise.
15217 (__sub): Likewise.
15218 (__mul): Likewise.
15219 (__inv): Likewise.
15220 (__dvd): Likewise.
15221 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
15222 (norm): Likewise.
15223 (denorm): Likewise.
15224 (dbl_mp): Likewise.
15225 (sub_magnitudes): Likewise.
15226 (__add): Likewise.
15227 (__sub): Likewise.
15228 (__mul): Likewise.
15229 (__inv): Likewise.
15230 (__dvd): Likewise.
15231
f414520d
SP
15232 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
15233 instead of __mul.
15234 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
15235 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
15236 (cc32): Likewise.
15237
d6752ccd
SP
15238 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
15239 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
15240 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
15241 of __mul for squares.
15242 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
15243 function
15244 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
15245 Likewise.
15246 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
15247 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
15248
70d9946a
JM
152492013-02-13 Joseph Myers <joseph@codesourcery.com>
15250
15251 [BZ #13550]
15252 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
15253 code.
15254 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
15255 prototype or function definition. Rename ubp_* variables and
15256 parameters. Remove argv definitions conditional on
15257 [__BOUNDED_POINTERS__].
15258 * debug/backtrace.c (__backtrace): Do not use __unbounded.
15259 * elf/dl-runtime.c (_dl_fixup): Likewise.
15260 * include/set-hooks.h (RUN_HOOK): Likewise.
15261 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
15262 definition.
15263 * string/strcpy.c (strcpy): Do not use __unbounded.
15264 * sysdeps/generic/frame.h (struct layout): Likewise.
15265 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
15266 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
15267 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
15268 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
15269 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
15270 (__backtrace): Likewise.
15271 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
15272 use __ptrvalue.
15273 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
15274 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15275 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
15276 Likewise.
15277 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
15278 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
15279 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15280 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15281 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
15282 Do not use __unbounded.
15283 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
15284 Rename __unboundedrlimits parameter to rlimits in prototype.
15285 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
15286 Do not use __unbounded.
15287 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
15288 not use __ptrvalue.
15289 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15290 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
15291 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15292 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
15293 __ptrvalue or __unbounded.
15294 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
15295 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
15296 use __unbounded.
15297 (__new_msgctl): Do not use __ptrvalue.
15298 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
15299 __unbounded.
15300 (__libc_msgrcv): Do not use __ptrvalue.
15301 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
15302 startup_info): Do not use __unbounded.
15303 (__libc_start_main): Likewise. Rename ubp_* variables and
15304 parameters. Remove argv definitions conditional on
15305 [__BOUNDED_POINTERS__].
15306 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
15307 __ptrvalue.
15308 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
15309 use __unbounded.
15310 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
15311 or __ptrvalue.
15312 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
15313 use __unbounded.
15314 (__new_shmctl): Do not use __ptrvalue.
15315 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
15316 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
15317 Likewise.
15318 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
15319 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
15320 (__libc_sigaction): Likewise.
15321 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
15322 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
15323 Likewise.
15324 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15325
cc7834d6
OB
153262013-02-13 Ondřej Bílka <neleai@seznam.cz>
15327
ffb1ec7b 15328 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
15329
15330 * string/mempcpy.c: Implement by calling memcpy.
15331
bdf02814
SP
153322013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
15333
c2af38aa
SP
15334 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
15335
4e92d59e
SP
15336 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
15337 evaluation.
15338
909279a5
SP
15339 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
15340 values in the mantissa.
15341
bdf02814
SP
15342 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
15343 minimize writes to Z.
15344 (sub_magnitudes): Simplify code a bit.
15345
cd525923
RM
153462013-02-12 Roland McGrath <roland@hack.frob.com>
15347
15348 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
15349 from the message. The linker prefixes all warnings with that already.
15350
7e2f0d2d
AS
153512013-02-12 Andreas Schwab <schwab@suse.de>
15352
a445af0b
AS
15353 [BZ #15078]
15354 * posix/regexec.c (extend_buffers): Add parameter min_len.
15355 (check_matching): Pass minimum needed length.
15356 (clean_state_log_if_needed): Likewise.
15357 (get_subexp): Likewise.
15358 * posix/Makefile (tests): Add bug-regex34.
15359 (bug-regex34-ENV): Define.
15360 * posix/bug-regex34.c: New file.
15361
7e2f0d2d
AS
15362 [BZ #11561]
15363 * posix/regcomp.c (parse_bracket_exp): When looking up collating
15364 elements compare against the byte sequence of it, not its name.
15365 * posix/Makefile (tests): Add bug-regex35.
15366 (bug-regex35-ENV): Define.
15367 * posix/bug-regex35.c: New file.
15368
a175b684
TV
153692013-02-11 Tom de Vries <tom@codesourcery.com>
15370
15371 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
15372 comment.
15373 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
15374 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
15375 (CHECK_EOL): Add undef.
15376
310998fe 153772013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
15378
15379 * bits/stdlib-bsearch.h: New file.
15380 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 15381 * stdlib/stdlib.h: Likewise.
41eda41d 15382
8ded91fb
RM
153832013-02-11 Roland McGrath <roland@hack.frob.com>
15384
15385 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
15386 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
15387 declaration.
15388 * manual/search.texi (Array Search Function): Add missing const in
15389 lfind prototype.
15390 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
15391 declaration to use rlim_t.
15392 (Basic Scheduling Functions): Remove erroneous const from
15393 sched_getparam prototype. Remove erroneous * from
15394 sched_get_priority_max and sched_get_priority_min prototypes.
15395 (Resource Usage): Fix summary @comment on vtimes to refer to
15396 sys/vtimes.h rather than vtimes.h.
15397 Add missing *s in vtimes prototype.
15398 (Limits on Resources): Fix ulimit prototype to return long int.
15399 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
15400 prototypes to use long int rather than double.
15401 (BSD Random): Fix initstate and setstate to use char *, not void *.
15402 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
15403 prototype to make second argument 'struct aiocb64 *const[]'.
15404 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
15405 (Status of AIO Operations): Remove erroneous const in aio_return and
15406 aio_return64 prototypes.
15407 (Synchronizing I/O): Fix sync prototype to return void.
15408 * manual/startup.texi (Suboptions): Remove an erroneous const in
15409 getsubopt prototype.
15410 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
15411 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
15412 use size_t rather than int.
15413 (Scanning All Users): Likewise for getpwent_r.
15414 (Setting Groups): Add missing const to setgroups prototype.
15415 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
15416 * manual/socket.texi (Host Names): Fix gethostbyaddr and
15417 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
15418 'const void *' rather than 'const char *'.
15419 (Host Address Functions): Likewise for inet_ntop.
15420 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
15421 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
15422 ssize_t for return value.
15423 (Sending Data): Likewise for send, sendto, sendmsg.
15424 (Socket Option Functions): Add a missing const in setsockopt prototype.
15425 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
15426 use wchar_t for the argument.
15427 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
15428 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
15429 take no arguments.
15430 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
15431 double/float/long double for second argument.
15432 Fix return types of significand, significandf, significandl.
15433 * manual/filesys.texi (Setting Permissions): Use mode_t for second
15434 argument in fchmod prototype.
15435 (File Owner): Use uid_t and gid_t in fchown prototype.
15436 (File Times): Add const to utimes, futimes, and lutimes prototypes.
15437 (Making Special Files): Use mode_t and dev_t in mknod prototype.
15438 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
15439 use 'const struct dirent **' as argument types to CMP function pointer
15440 argument.
15441 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
15442 (File Times): Fix summary magic @comment for struct utimbuf and utime
15443 to refer to utime.h, not time.h.
15444 * manual/string.texi (Argz Functions): Add missing const in
15445 argz_extract and argz_next prototypes.
15446 (Finding Tokens in a String): Likewise for basename.
15447 (String/Array Comparison): Fix typo in wcscasecmp prototype.
15448 (Copying and Concatenation): Fix typo in wmemmove prototype.
15449 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
15450 (Signal Stack): Remove erroneous const in sigstack prototype.
15451 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
15452 prototype.
15453 (Simple Calendar Time): Likewise for stime.
15454 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
15455 prototype.
15456 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
15457 say sys/sysctl.h instead.
15458 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
15459 and vsyslog prototypes.
15460
fe77fe6d
TV
154612013-02-11 Tom de Vries <tom@codesourcery.com>
15462
15463 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
15464 Remove.
15465
3a09b620
RM
154662013-02-11 Roland McGrath <roland@hack.frob.com>
15467
15468 * misc/sys/mman.h: Fix typo in mremap comment.
15469
550a0b89
RM
154702013-02-08 Roland McGrath <roland@hack.frob.com>
15471
15472 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
15473 the '\0' terminator.
15474
a2da1673
JM
154752013-02-08 Joseph Myers <joseph@codesourcery.com>
15476
15477 [BZ #13550]
15478 * debug/segfault.c: Don't include <bp-checks.h>.
15479 * sysdeps/generic/bp-checks.h: Remove file.
15480 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
15481 (__GETDENTS): Don't use CHECK_N.
15482 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
15483 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15484 (__getgroups): Don't use CHECK_N.
15485 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
15486 (setgroups): Don't use CHECK_N.
15487 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
15488 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
15489 (__libc_msgrcv): Don't use CHECK_N.
15490 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
15491 (__libc_msgsnd): Don't use CHECK_N.
15492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
15493 <bp-checks.h>.
15494 (__libc_pread): Don't use CHECK_N.
15495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
15496 include <bp-checks.h>.
15497 (__libc_pread64): Don't use CHECK_N.
15498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
15499 include <bp-checks.h>.
15500 (__libc_pwrite): Don't use CHECK_N.
15501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
15502 include <bp-checks.h>.
15503 (__libc_pwrite64): Don't use CHECK_N.
15504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
15505 <bp-checks.h>.
15506 (__libc_pread): Don't use CHECK_N.
15507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
15508 include <bp-checks.h>.
15509 (__libc_pread64): Don't use CHECK_N.
15510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
15511 include <bp-checks.h>.
15512 (__libc_pwrite): Don't use CHECK_N.
15513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
15514 include <bp-checks.h>.
15515 (__libc_pwrite64): Don't use CHECK_N.
15516 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
15517 (do_pread): Don't use CHECK_N.
15518 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
15519 (do_pread64): Don't use CHECK_N.
15520 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
15521 (do_pwrite): Don't use CHECK_N.
15522 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
15523 (do_pwrite64): Don't use CHECK_N.
15524 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
15525 (__libc_readv): Don't use CHECK_N.
15526 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
15527 (semop): Don't use CHECK_N.
15528 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
15529 <bp-checks.h>.
15530 (semtimedop): Don't use CHECK_N.
15531 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
15532 (__libc_pread): Don't use CHECK_N.
15533 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
15534 <bp-checks.h>.
15535 (__libc_pread64): Don't use CHECK_N.
15536 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
15537 <bp-checks.h>.
15538 (__libc_pwrite): Don't use CHECK_N.
15539 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
15540 <bp-checks.h>.
15541 (__libc_pwrite64): Don't use CHECK_N.
15542 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
15543 <bp-checks.h>.
15544 (__libc_msgrcv): Don't use CHECK_N.
15545 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
15546 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
15547 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
15548 (__libc_writev): Don't use CHECK_N.
15549
b84660a8
RM
155502013-02-08 Roland McGrath <roland@hack.frob.com>
15551
7f3e75f8
RM
15552 * string/strcpy.c: Removed unused variable.
15553
b84660a8
RM
15554 * Makeconfig (+sysdep-includes): Define with := rather than =.
15555 Use an existing include/ subdir of each sysdeps dir before it.
15556
471514d3
CD
155572013-02-08 Carlos O'Donell <carlos@redhat.com>
15558
15559 * nscd/connection.c (register_traced_file): Comment function.
15560 [HAVE_INOTIFY] (union __inev): Define.
15561 [HAVE_INOTIFY] (inotify_check_files): New function.
15562 [HAVE_INOTIFY] (clear_db_cache): Likewise.
15563 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
15564 clear_db_cache.
15565 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
15566
b2d3c3be
CD
155672013-02-08 Carlos O'Donell <carlos@redhat.com>
15568
15569 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
15570 loaded if not already and that a failure is permanent.
15571
b39949d2
CD
155722013-02-08 Carlos O'Donell <carlos@redhat.com>
15573
ddacd1db 15574 [BZ #15006]
b39949d2
CD
15575 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
15576 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
15577
b2c9eff4
JM
155782013-02-08 Joseph Myers <joseph@codesourcery.com>
15579
f3aae3f3
JM
15580 [BZ #13550]
15581 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
15582 (CHECK_1_NULL_OK): Likewise.
15583 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
15584 (__fxstat): Do not use CHECK_1.
15585 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
15586 <bp-checks.h>.
15587 (___fxstat64): Do not use CHECK_1.
15588 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
15589 <bp-checks.h>.
15590 (__fxstatat): Do not use CHECK_1.
15591 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
15592 <bp-checks.h>.
15593 (__fxstatat64): Do not use CHECK_1.
15594 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
15595 <bp-checks.h>.
15596 (__fxstat): Do not use CHECK_1.
15597 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
15598 <bp-checks.h>.
15599 (__fxstatat): Do not use CHECK_1.
15600 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15601 <bp-checks.h>.
15602 (__getresgid): Do not use CHECK_1.
15603 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15604 <bp-checks.h>.
15605 (__getresuid): Do not use CHECK_1.
15606 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
15607 <bp-checks.h>.
15608 (__lxstat): Do not use CHECK_1.
15609 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15610 <bp-checks.h>.
15611 (__old_msgctl): Do not use CHECK_1.
15612 (__new_msgctl): Likewise.
15613 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
15614 <bp-checks.h>.
15615 (__new_setrlimit): Do not use CHECK_1.
15616 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
15617 <bp-checks.h>.
15618 (__old_shmctl): Do not use CHECK_1.
15619 (__new_shmctl): Likewise.
15620 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
15621 <bp-checks.h>.
15622 (__xstat): Do not use CHECK_1.
15623 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
15624 (__lxstat): Do not use CHECK_1.
15625 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
15626 <bp-checks.h>.
15627 (___lxstat64): Do not use CHECK_1.
15628 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
15629 (__old_msgctl): Do not use CHECK_1.
15630 (__new_msgctl): Likewise.
15631 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
15632 <bp-checks.h>.
15633 (__gettimeofday): Do not use CHECK_1.
15634 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
15635 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
15636 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
15637 <bp-checks.h>.
15638 (__gettimeofday): Do not use CHECK_1.
15639 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
15640 (__old_shmctl): Do not use CHECK_1_NULL_OK.
15641 (__new_shmctl): Do not use CHECK_1.
15642 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
15643 <bp-checks.h>.
15644 (do_sigtimedwait): Do not use CHECK_1.
15645 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
15646 <bp-checks.h>.
15647 (do_sigwaitinfo): Do not use CHECK_1.
15648 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
15649 <bp-checks.h>.
15650 (msgctl): Do not use CHECK_1.
15651 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
15652 <bp-checks.h>.
15653 (shmctl): Do not use CHECK_1.
15654 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
15655 (ustat): Do not use CHECK_1.
15656 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
15657 <bp-checks.h>.
15658 (__fxstat): Do not use CHECK_1.
15659 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
15660 <bp-checks.h>.
15661 (__fxstatat): Do not use CHECK_1.
15662 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
15663 <bp-checks.h>.
15664 (__lxstat): Do not use CHECK_1.
15665 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
15666 <bp-checks.h>.
15667 (__xstat): Do not use CHECK_1.
15668 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
15669 (__xstat): Do not use CHECK_1.
15670 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
15671 (___xstat64): Do not use CHECK_1.
15672
b2c9eff4
JM
15673 [BZ #13550]
15674 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
15675 definitions.
15676 (CHECK_BOUNDS_HIGH): Likewise.
15677 * string/strcpy.c: Do not include <bp-checks.h>.
15678 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
15679
f1d70dad
RM
156802013-02-07 Roland McGrath <roland@hack.frob.com>
15681
15682 * nscd/nscd-client.h (__nscd_drop_map_ref):
15683 Add __attribute__ ((unused)).
15684 * nis/nss-nisplus.h (niserr2nss): Likewise.
15685
15686 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
15687 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
15688
15689 * csu/libc-tls.c (init_static_tls, init_slotinfo):
15690 Remove inline keyword.
15691 * include/rounding-mode.h (round_away): Likewise.
15692 * libio/wfileops.c (adjust_wide_data): Likewise.
15693 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
15694 (__m128i_strloadu_tolower): Likewise.
15695 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
15696 (__m128i_strloadu_tolower): Likewise.
15697 * time/mktime.c (ydhms_diff): Likewise.
15698 * locale/elem-hash.h (elem_hash): Likewise.
15699 * locale/setlocale.c (setdata): Likewise.
15700 * posix/regex_internal.h (re_string_char_size_at): Likewise.
15701 (re_string_wchar_at): Likewise.
15702 (bitset_not, bitset_merge, bitset_mask): Likewise.
15703 [!(__GNUC__ > 3)] (inline): Remove macro.
15704 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
15705 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
15706 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
15707 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
15708 * string/memcmp.c (memcmp_bytes): Likewise.
15709 * locale/programs/locarchive.c (compute_hashval): Likewise.
15710 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
15711 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
15712 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
15713 * nss/getent.c (print_rpc, print_protocols): Likewise.
15714 (print_passwd, print_group, print_aliases): Likewise.
15715 * nis/nss-nisplus.h (niserr2nss): Likewise.
15716 * nscd/connections.c (restart_p): Likewise.
15717 Change return type to bool.
15718
eab55bfb
RM
157192013-02-05 Roland McGrath <roland@hack.frob.com>
15720
7bd642f5
RM
15721 * Makeconfig (all-Depend-files): Add existing
15722 $(sorted-subdirs:=/Depend) files.
15723 (all-subdirs): Remove nss.
15724 * sysdeps/unix/inet/Subdirs: Add it here instead.
15725 * hesiod/Depend: New file.
15726
573c29b2
RM
15727 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
15728 instead of calling alloca.
15729
b2e25af0
RM
15730 * io/lseek.c (__lseek): Rename to __libc_lseek.
15731 Define __lseek as an alias.
15732
eab55bfb
RM
15733 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
15734
9a0d1941
CD
157352013-02-04 Carlos O'Donell <carlos@redhat.com>
15736
15737 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
15738 else clause and remove check for non-standard endianness.
15739
b83bbec4
DM
157402013-02-04 David S. Miller <davem@davemloft.net>
15741
15742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15743
6277fdab
JM
157442013-02-04 Joseph Myers <joseph@codesourcery.com>
15745
15746 [BZ #13550]
15747 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
15748 (__ubp_memchr): Remove prototype.
15749 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
15750 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15751 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
15752 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
15753 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
15754 Remove alias.
15755 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
15756 (__ubp_memchr): Likewise.
15757 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
15758 (__ubp_memchr): Likewise.
15759 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
15760 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
15761 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
15762 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
15763 CHECK_STRING.
15764 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15765 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
15766 (__getcwd): Do not use CHECK_STRING.
15767 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15768 <bp-checks.h>.
15769 (__real_chown): Do not use CHECK_STRING.
15770 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
15771 <bp-checks.h>.
15772 (fchownat): Do not use CHECK_STRING.
15773 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
15774 CHECK_STRING.
15775 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15776 <bp-checks.h>.
15777 (__lchown): Do not use CHECK_STRING.
15778 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
15779 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
15780 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
15781 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
15782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15783 include <bp-checks.h>.
15784 (truncate64): Do not use CHECK_STRING.
15785 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
15786 <bp-checks.h>.
15787 (__real_chown): Do not use CHECK_STRING.
15788 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
15789 <bp-checks.h>.
15790 (__lchown): Do not use CHECK_STRING.
15791 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
15792 <bp-checks.h>.
15793 (__chown): Do not use CHECK_STRING.
15794 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
15795 <bp-checks.h>.
15796 (truncate64): Do not use CHECK_STRING.
15797 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
15798 Likewise.
15799 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
15800 (__xmknod): Do not use CHECK_STRING.
15801 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
15802 <bp-checks.h>.
15803 (__xmknodat): Do not use CHECK_STRING.
15804 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
15805 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
15806
903ae060
AS
158072013-02-04 Andreas Schwab <schwab@suse.de>
15808
15809 [BZ #14142]
15810 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
15811 * include/netdb.h: Likewise for h_errno.
15812 * elf/tst-stackguard1.c: Include <tls.h>.
15813
542f9466
JK
158142013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
15815
15816 * elf/link.h (struct link_map): Extend the l_addr comment.
15817 * include/link.h (struct link_map): Likewise.
15818
e782a927
JM
158192013-02-01 Joseph Myers <joseph@codesourcery.com>
15820
15821 [BZ #13550]
15822 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
15823 (BOUNDED_1): Remove macro.
15824 * debug/backtrace.c: Don't include <bp-checks.h>.
15825 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
15826 (__backtrace): Likewise.
15827 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
15828 <bp-checks.h>.
15829 (__backtrace): Don't use BOUNDED_1.
15830 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
15831 <bp-checks.h>.
15832 (__backtrace): Don't use BOUNDED_1.
15833 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
15834 (__backtrace): Don't use BOUNDED_1.
15835 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
15836 (shmat): Don't use BOUNDED_N.
15837
8cf28c5e
JM
158382013-01-31 Joseph Myers <joseph@codesourcery.com>
15839
3a7ac8a0
JM
15840 [BZ #13550]
15841 * sysdeps/generic/bp-start.h: Remove file.
15842 * csu/libc-start.c: Don't include <bp-start.h>.
15843 (LIBC_START_MAIN): Set up __environ directly instead of using
15844 INIT_ARGV_and_ENVIRON.
15845 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
15846 <bp-start.h>.
15847
f3499f95
JM
15848 [BZ #13550]
15849 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
15850 definitions.
15851 (CHECK_FCNTL): Likewise.
15852 (CHECK_N_PAGES): Likewise.
15853
32a45bea
JM
15854 [BZ #13550]
15855 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
15856 definitions.
15857 (CHECK_SIGSET_NULL_OK): Likewise.
15858 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
15859 <bp-checks.h>.
15860 (sigpending): Don't use CHECK_SIGSET.
15861 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
15862 <bp-checks.h>.
15863 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15864 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
15865 <bp-checks.h>.
15866 (do_sigsuspend): Don't use CHECK_SIGSET.
15867 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
15868 use CHECK_SIGSET.
15869 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
15870 (do_sigwait): Don't use CHECK_SIGSET.
15871 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
15872 use CHECK_SIGSET.
15873 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
15874 include <bp-checks.h>.
15875 (sigpending): Don't use CHECK_SIGSET.
15876 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
15877 include <bp-checks.h>.
15878 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15879 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
15880 <bp-checks.h>.
15881 (sigpending): Don't use CHECK_SIGSET.
15882 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
15883 <bp-checks.h>.
15884 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
15885
2e8a5c8c
JM
15886 [BZ #13550]
15887 * sysdeps/generic/bp-semctl.h: Remove file.
15888 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
15889 <bp-checks.h> and <bp-semctl.h>.
15890 (__old_semctl): Don't use CHECK_SEMCTL.
15891 (__new_semctl): Likewise.
15892 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
15893 and <bp-semctl.h>.
15894 (__old_semctl): Don't use CHECK_SEMCTL.
15895 (__new_semctl): Likewise.
15896 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
15897 <bp-checks.h> and <bp-semctl.h>.
15898 (__old_semctl): Don't use CHECK_SEMCTL.
15899 (__new_semctl): Likewise.
15900 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
15901 <bp-checks.h> and <bp-semctl.h>.
15902 (semctl): Don't use CHECK_SEMCTL.
15903
c2d54929
JM
15904 [BZ #13550]
15905 * Makerules (elide-bp-thunks): Remove variable.
15906 (elide-routines.oS): Don't use $(elide-bp-thunks).
15907 (elide-routines.os): Likewise.
15908 (elide-routines.o): Likewise.
15909 (elide-routines.op): Likewise.
15910 (elide-routines.og): Likewise.
15911 (objects): Don't use $(bp-thunks).
15912 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
15913 include.
15914 (common-generated): Do not add s-proto-bp.d.
15915 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
15916 (int): Likewise.
15917 (typ): Likewise.
15918 Do not generate makefile rules for bounded-pointer thunks.
15919 * sysdeps/generic/bp-thunks.h: Remove file.
15920 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
15921 * sysdeps/unix/s-proto-bp.S: Likewise.
15922
8cf28c5e
JM
15923 [BZ #15062]
15924 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
15925 parts of result separately when argument is not close to line from
15926 -i to i and one part of argument is small.
15927 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15928 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15929 * math/libm-test.inc (cacos_test): Add more tests.
15930 (casin_test): Likewise.
15931 (casinh_test): Likewise.
15932 * sysdeps/i386/fpu/libm-test-ulps: Update.
15933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15934
c4e33b8d
DM
159352013-01-31 David S. Miller <davem@davemloft.net>
15936
15937 * po/de.po: Update from translation team.
15938
3b60b421
MK
159392013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
15940
15941 * time/tzfile.c: Include stdint.h for SIZE_MAX.
15942
bb931195
TS
159432013-01-25 Thomas Schwinge <thomas@codesourcery.com>
15944
b5a5da23
TS
15945 * configure.in (_AC_PROG_CC_C89): New definition.
15946 * configure: Regenerate.
15947
bb931195
TS
15948 * configure.in (AC_PROG_CPP): New definition.
15949 * configure: Regenerate.
15950
8c53a12c
JM
159512013-01-23 Joseph Myers <joseph@codesourcery.com>
15952
15953 * debug/tst-backtrace.h: New file.
15954 * debug/tst-backtrace2.c: Include tst-backtrace.h.
15955 (ret): Remove variable.
15956 (x): Likewise.
15957 (FAIL): Remove macro.
15958 (NO_INLINE): Likewise.
15959 (fn1): Use match function instead of strstr.
15960 * debug/tst-backtrace3.c: Include tst-backtrace.h.
15961 (ret): Remove variable.
15962 (x): Likewise.
15963 (FAIL): Remove macro.
15964 (NO_INLINE): Likewise.
15965 (fn): Use match function instead of strstr.
15966 * debug/tst-backtrace4.c: Include tst-backtrace.h.
15967 (ret): Remove variable.
15968 (x): Likewise.
15969 (FAIL): Remove macro.
15970 (NO_INLINE): Likewise.
15971 (handle_signal): Use match function instead of strstr.
15972 * debug/tst-backtrace5.c: Include tst-backtrace.h.
15973 (ret): Remove variable.
15974 (x): Likewise.
15975 (FAIL): Remove macro.
15976 (NO_INLINE): Likewise.
15977 (handle_signal): Use match function instead of strstr.
15978
4858fa2a
RM
159792013-01-23 Roland McGrath <roland@hack.frob.com>
15980
15981 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
15982
bae8e7f5
DM
159832013-01-23 David S. Miller <davem@davemloft.net>
15984
15985 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
15986 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
15987 argument of CAS if possible.
15988 * sysdeps/sparc/sparc64/bits/atomic.h
15989 (__arch_compare_and_exchange_val_32_acq): Likewise.
15990 (__arch_compare_and_exchange_val_64_acq): Likewise.
15991
9cbbc4ae
PT
159922013-01-23 Pino Toscano <toscano.pino@tiscali.it>
15993
15994 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
15995 * sysdeps/posix/ulimit.c: ... this.
92a601b8 15996 Include <limits.h>.
67b3f58c 15997 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 15998
5655a0b5
AC
159992013-01-23 Adam Conrad <adconrad@0c3.net>
16000
16001 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
16002 (LDFLAGS-tst-array5): Likewise.
16003
052aff95
JM
160042013-01-23 Joseph Myers <joseph@codesourcery.com>
16005
16006 [BZ #15036]
16007 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
16008 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
16009 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
16010 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
16011
7c1e01aa
DM
160122013-01-21 David S. Miller <davem@davemloft.net>
16013
16014 * sysdeps/sparc/backtrace.c: New file.
16015 * sysdeps/sparc/sparc32/backtrace.h: New file.
16016 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
16017 * sysdeps/sparc/sparc64/backtrace.h: New file.
16018 * sysdeps/sparc/sparc64/backtrace.c: Delete.
16019 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
16020 -funwind-tables.
16021
ab087e0a
AS
160222013-01-21 Andreas Schwab <schwab@suse.de>
16023
16024 [BZ #15020]
16025 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
16026 closed its stdout.
16027
ed689c2f
AS
160282013-01-20 Andreas Schwab <schwab@linux-m68k.org>
16029
16030 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
16031 "mpa2.h".
16032 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16033
31d470ac
JM
160342013-01-18 Joseph Myers <joseph@codesourcery.com>
16035 Mark Mitchell <mark@codesourcery.com>
16036 Tom de Vries <tom@codesourcery.com>
16037 Paul Pluzhnikov <ppluzhnikov@google.com>
16038
16039 * debug/tst-backtrace2.c: New file.
16040 * debug/tst-backtrace3.c: Likewise.
16041 * debug/tst-backtrace4.c: Likewise.
16042 * debug/tst-backtrace5.c: Likewise.
16043 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
16044 (CFLAGS-tst-backtrace3.c): Likewise.
16045 (CFLAGS-tst-backtrace4.c): Likewise.
16046 (CFLAGS-tst-backtrace5.c): Likewise.
16047 (LDFLAGS-tst-backtrace2): Likewise.
16048 (LDFLAGS-tst-backtrace3): Likewise.
16049 (LDFLAGS-tst-backtrace4): Likewise.
16050 (LDFLAGS-tst-backtrace5): Likewise.
16051 (tests): Add new tests tst-backtrace2, tst-backtrace3,
16052 tst-backtrace4 and tst-backtrace5.
16053
90567f30 160542013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
16055 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
16056
16057 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
16058 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
16059 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
16060 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
16061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
16062 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
16063 "+r" and remove output regs list as redundant. Add explicit inline
16064 asm to specify register of return val to work around compiler codegen
16065 bug. Remove (int) cast on return value. Add return type parameter to
16066 use in macro so that this macro does not truncate return value for
16067 64-bit values.
16068 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
16069 pass to INTERNAL_VSYSCALL_NCS.
16070 (INLINE_VSYSCALL): Add 'long int' as return type to
16071 INTERNAL_VSYSCALL_NCS macro invocation.
16072 (INTERNAL_VSYSCALL): Add 'long int' as return type to
16073 INTERNAL_VSYSCALL_NCS macro invocation.
16074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16075
d3b9ea61
SP
160762013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16077
0b57daeb
SP
16078 [BZ #14496]
16079 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
16080 Fix application of SIMD FP exception mask.
16081
caa99d06
SP
16082 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
16083 mp_no from a power of two.
16084 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
16085 __mpexp_twomm1. Use __pow_mp.
16086
d3b9ea61
SP
16087 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
16088 multiplication.
16089
1dbaee3c
DM
160902013-01-17 David S. Miller <davem@davemloft.net>
16091
16092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16093
728d7b43
JM
160942013-01-17 Joseph Myers <joseph@codesourcery.com>
16095
16096 [BZ #15023]
16097 * include/complex.h: Condition contents on [!_COMPLEX_H].
16098 (__kernel_casinhf): New prototype.
16099 (__kernel_casinh): Likewise.
16100 (__kernel_casinhl): Likewise.
16101 * math/Makefile (libm_calls): Add k_casinh.
16102 * math/k_casinh.c: New file.
16103 * math/k_casinhf.c: Likewise.
16104 * math/k_casinhl.c: Likewise.
16105 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
16106 finite nonzero arguments.
16107 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
16108 finite nonzero arguments.
16109 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
16110 finite nonzero arguments.
16111 * math/s_casinh.c: Do not include <float.h>.
16112 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
16113 * math/s_casinhf.c: Do not include <float.h>.
16114 (__casinhf): Move code for finite nonzero arguments to
16115 k_casinhf.c.
16116 * math/s_casinhl.c: Do not include <float.h>.
16117 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
16118 redefine.
16119 (__casinhl): Move code for finite nonzero arguments to
16120 k_casinhl.c.
16121 * math/libm-test.inc (cacos_test): Add more tests.
16122 * sysdeps/i386/fpu/libm-test-ulps: Update.
16123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16124
2a26ef3a
PT
161252013-01-17 Pino Toscano <toscano.pino@tiscali.it>
16126
16127 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
16128 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
16129 [!HAVE_MREMAP]: Remove [defined linux] case.
16130 * malloc/arena.c: Do not include <malloc-sysdep.h>.
16131
a897655d
SP
161322013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16133
16134 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
16135
881ebe89 161362013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
16137
16138 * elf/elf.h (R_386_SIZE32): New relocation.
16139 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
16140 R_386_SIZE32.
16141 (elf_machine_rela): Likewise.
16142 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
16143 R_X86_64_SIZE64 and R_X86_64_SIZE32.
16144
59981e9b
JM
161452013-01-17 Joseph Myers <joseph@codesourcery.com>
16146
16147 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
16148 (FP_FAST_FMA): Do not define.
16149 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
16150 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
16151 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
16152 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
16153 !_SOFT_FLOAT]: Likewise.
16154 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
16155 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
16156 value.
16157 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
16158 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
16159 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
16160 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
16161 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
16162 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
16163 file.
16164
cfa8054f
AS
161652013-01-16 Andreas Schwab <schwab@suse.de>
16166
16167 [BZ #14327]
16168 * include/stdlib.h (__mktemp): Add declaration.
16169 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
16170 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
16171
dd930cc5
SP
161722013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16173
881ebe89
SP
16174 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
16175 definitions.
16176 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
16177 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
16178 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
16179 definitions here.
16180 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
16181 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
16182 definitions.
16183 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
16184 and ONE.
16185 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
16186 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
16187 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
16188 definitions.
16189 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
16190 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
16191 definitions.
16192 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 16193
dd930cc5
SP
16194 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
16195
c19a9f89
DM
161962013-01-15 David S. Miller <davem@davemloft.net>
16197
1aa61767
DM
16198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16199 trunc{,f} to libm-sysdep_routes.
16200 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
16202 file.
16203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
16204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
16205 file.
16206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
16207 file.
16208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
16209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
16210 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
16211 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
16212 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
16213 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
16214 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
16215 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
16216
c42d5e98
DM
16217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16218 nearbyint{,f} to libm-sysdep_routes.
16219 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
16221 New file.
16222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
16223 file.
16224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
16225 New file.
16226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
16227 file.
16228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
16229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
16230 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
16231 file.
16232 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
16233 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
16234 file.
16235 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
16236 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
16237 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
16238
c19a9f89
DM
16239 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16240 libc_feholdexcept and libc_fesetenv.
16241
357679d2
MF
162422013-01-15 Mike Frysinger <vapier@gentoo.org>
16243
16244 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
16245
65a82e3d
DM
162462013-01-14 David S. Miller <davem@davemloft.net>
16247
8b954ab9
DM
16248 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
16249 (SPARC_ASM_VIS2_IFUNC): Likewise.
16250 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
16251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
16252 use of 'siam' instruction.
16253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
16254 Likewise.
16255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
16256 Likewise.
16257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
16258 Likewise.
16259 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
16260 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
16261 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
16262 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
16263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
16264 file.
16265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
16266 file.
16267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
16268 file.
16269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
16270 file.
16271 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
16272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
16273 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
16274 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
16275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
16276 new VIS2 routines.
16277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
16278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
16279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
16280 Likewise.
16281 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
16282 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
16283 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
16284 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
16285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
16286 routines to libm-sysdep_routines.
16287 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
16288
65a82e3d
DM
16289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
16290 fdim/fdimf to libm-sysdep_routines.
16291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
16292 file.
16293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
16294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
16295 file.
16296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
16297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
16298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
16299 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
16300 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
16301 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
16302 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
16303
e34ab705
SP
163042013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16305
2a91b573
SP
16306 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
16307 to optimize copies.
16308
1066a534
SP
16309 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
16310 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16311 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16312
e34ab705
SP
16313 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
16314 local variable MPTWO.
16315 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16316 Likewise.
16317
aba5e596
MF
163182013-01-13 Mike Frysinger <vapier@gentoo.org>
16319
16320 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
16321 GLOB_NOESCAPE.
16322
e557e9e5
MF
163232013-01-13 Mike Frysinger <vapier@gentoo.org>
16324
16325 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
16326
0428cec9
MF
163272013-01-13 Mike Frysinger <vapier@gentoo.org>
16328
16329 * manual/pattern.texi (glob_t): Document gl_flags.
16330 (glob64_t): Likewise.
16331
8794a964
DM
163322013-01-11 David S. Miller <davem@davemloft.net>
16333
66438c3f
RM
16334 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
16335 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
16336 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
16337 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
16338 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
16339 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
16340 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
16341 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
16342 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
16343 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
16344 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
16345 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
16346 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
16347
4ae4244d
DM
16348 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16349 sparc V9 rather than using V8 code.
16350 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16351 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16352
8794a964
DM
16353 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
16354 Move to...
16355 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
16356 Here.
16357
6270516e
RM
163582013-01-11 Roland McGrath <roland@hack.frob.com>
16359
16360 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
16361 not in the main loop.
16362 * configure: Regenerated.
16363
6a57d931
JM
163642013-01-11 Joseph Myers <joseph@codesourcery.com>
16365
16366 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
16367 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
16368 to just #else.
16369 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
16370 [!__GLIBC_HAVE_LONG_LONG] case.
16371 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
16372 condition to just #else.
16373 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
16374 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
16375 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
16376 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
16377 unconditional.
16378 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
16379 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16380 #elif condition to just #else.
16381 * sysdeps/unix/sysv/linux/sys/sysmacros.h
16382 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
16383 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
16384 #elif condition to just #else.
16385
0e8529e9
SE
163862013-01-11 Steve Ellcey <sellcey@mips.com>
16387
16388 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
16389 (EF_MIPS_ARCH_64): Fix value.
16390 (EF_MIPS_ARCH_32R2): New.
16391 (EF_MIPS_ARCH_64R2): New.
16392
740b3dbe
L
163932013-01-11 H.J. Lu <hongjiu.lu@intel.com>
16394
16395 * Makeconfig (+link-pie-before-libc): New.
16396 (+link-pie-after-libc): Likewise.
16397 (+link-pie-tests): Likewise.
16398 (+link-pie): Rewritten.
16399 (link-before-libc): Remove $(config-LDFLAGS).
16400 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
16401 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
16402 (config-LDFLAGS): Renamed to ...
16403 (rtld-LDFLAGS): This.
16404 (rtld-tests-LDFLAGS): New macro.
16405 (link-libc-rpath-link): Likewise.
16406 (link-libc-tests-rpath-link): Likewise.
16407 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
16408 (link-libc): Prepand $(link-libc-rpath-link).
16409 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
16410 (test-program-prefix): New macro.
16411 (test-via-rtld-prefix): Likewise.
16412 (test-program-cmd): Likewise.
16413 (host-test-program-cmd): Likewise.
16414 * Makefile ($(common-objpfx)testrun.sh): Replace
16415 $(run-program-prefix) with $(test-program-prefix).
16416 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
16417 $(rtld-LDFLAGS).
16418 ($(common-objpfx)shlib.lds): Likewise.
16419 (build-module-helper): Likewise.
16420 ($(common-objpfx)format.lds): Likewise.
16421 * Rules (binaries-pie-tests): New.
16422 (binaries-pie-notests): Likewise.
16423 (binaries-pie): Rewritten.
16424 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
16425 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
16426 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
16427 (make-test-out): Replace $(host-built-program-cmd) with
16428 $(host-test-program-cmd).
16429 * config.make.in (build-hardcoded-path-in-tests): New variable.
16430 * configure.in (--enable-hardcoded-path-in-tests): New configure
16431 option.
16432 (hardcoded_path_in_tests): New AC_SUBST.
16433 * configure: Regenerated.
16434 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
16435 $(built-program-cmd) with $(test-program-cmd).
16436 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
16437 (test_program_cmd): This.
16438 * elf/Makefile ($(objpfx)order.out): Run test with
16439 $(test-program-prefix).
16440 ($(objpfx)order2.out): Likewise.
16441 ($(objpfx)tst-initorder.out): Likewise.
16442 ($(objpfx)tst-initorder2.out): Likewise.
16443 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
16444 $(test-program-cmd).
16445 ($(objpfx)tst-array1-static.out): Likewise.
16446 ($(objpfx)tst-array2.out): Likewise.
16447 ($(objpfx)tst-array3.out): Likewise.
16448 ($(objpfx)tst-array4.out): Likewise.
16449 ($(objpfx)tst-array5.out): Likewise.
16450 ($(objpfx)tst-array5-static.out): Likewise.
16451 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
16452 $(test-program-cmd).
16453 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
16454 $(run-program-prefix) with $(test-program-prefix).
16455 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
16456 (test_program_prefix): This.
16457 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
16458 $(run-program-prefix) with $(test-program-prefix).
16459 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
16460 (test_program_prefix): This.
16461 * iconvdata/tst-tables.sh: Likewise.
16462 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
16463 $(run-program-prefix) with $(test-program-prefix).
16464 ($(objpfx)tst-translit.out): Likewise.
16465 ($(objpfx)tst-gettext2.out): Likewise.
16466 ($(objpfx)tst-gettext4.out): Likewise.
16467 ($(objpfx)tst-gettext6.out): Likewise.
16468 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
16469 (test_program_prefix): This.
16470 * intl/tst-gettext2.sh: Likewise.
16471 * intl/tst-gettext4.sh Likewise.
16472 * intl/tst-gettext6.sh: Likewise.
16473 * intl/tst-translit.sh: Likewise.
16474 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
16475 with $(test-program-cmd).
16476 * libio/Makefile ($(objpfx)test-freopen.out): Replace
16477 $(run-program-prefix) with $(test-program-prefix).
16478 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
16479 (test_program_prefix): This.
16480 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
16481 $(run-program-prefix) with $(test-program-prefix).
16482 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
16483 (test_program_prefix): This.
16484 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
16485 * posix/Makefile ($(objpfx)globtest.out): Replace
16486 $(run-via-rtld-prefix) and $(test-wrapper) with
16487 $(test-program-prefix) and $(test-via-rtld-prefix).
16488 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
16489 $(test-program-prefix).
16490 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
16491 $(host-test-program-cmd).
16492 (tst-spawn-ARGS): Likewise.
16493 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
16494 $(test-program-prefix).
16495 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
16496 (test_via_rtld_prefix): This.
16497 (test_wrapper): Renamed to ...
16498 (test_program_prefix): This.
16499 (run_program_prefix): Replaced by test_program_prefix.
16500 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
16501 (test_program_prefix): This.
16502 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
16503 with $(host-test-program-cmd).
16504 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
16505 $(run-program-prefix) with $(test-program-prefix).
16506 ($(objpfx)tst-printf.out): Likewise.
16507 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
16508 $(test-program-cmd).
16509 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
16510 (test_program_prefix): This.
16511 * stdio-common/tst-unbputc.sh: Likewise.
16512 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
16513 $(run-program-prefix) with $(test-program-prefix).
16514 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
16515 (test_program_prefix): This.
16516 * string/Makefile ($(objpfx)tst-svc.out): Replace
16517 $(built-program-cmd) with $(test-program-cmd).
16518
c6fe55cf
AJ
165192013-01-11 Andreas Jaeger <aj@suse.de>
16520
16521 [BZ #15003]
16522 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
16523 value. Sync with Linux 3.7.
16524
9e6919c8
DM
165252013-01-10 David S. Miller <davem@davemloft.net>
16526
16527 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
16528 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16529 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16530
1c9f1a02
RM
165312013-01-10 Roland McGrath <roland@hack.frob.com>
16532
16533 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
16534 never set.
16535 * configure: Regenerated.
16536
b9de2dde
DM
165372013-01-10 David S. Miller <davem@davemloft.net>
16538
16539 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
16540 sparc V9 rather than using V8 code.
16541 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
16542 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
16543
e7f68ef4
RM
165442013-01-10 Roland McGrath <roland@hack.frob.com>
16545
16546 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
16547 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
16548 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
16549 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
16550 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
16551 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
16552 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
16553 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
16554 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
16555 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
16556 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
16557 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
16558 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
16559 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
16560 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
16561 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
16562 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
16563 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
16564 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
16565 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
16566 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
16567 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
16568 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
16569 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
16570 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
16571 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
16572 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
16573
5a47cc9c
DM
165742013-01-10 David S. Miller <davem@davemloft.net>
16575
16576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16577
4cf8f209
L
165782013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16579
16580 * posix/Makefile (tests-static): New variable.
16581 (tests): Add $(tests-static).
16582 (tst-exec-static-ARGS): New variable.
16583 (tst-spawn-static-ARGS): Likewise.
16584 * posix/tst-exec-static.c: New file.
16585 * posix/tst-spawn-static.c: Likewise.
16586 * posix/tst-exec.c: Support run directly.
16587 * posix/tst-spawn.c: Likewise.
16588
fed0faa1
JM
165892013-01-10 Joseph Myers <joseph@codesourcery.com>
16590
828beb13
JM
16591 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
16592 long.
16593 * math/bits/mathcalls.h (llrint): Likewise.
16594 (llround): Likewise.
16595 * stdlib/stdlib.h (struct drand48_data): Likewise.
16596 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
16597 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
16598 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
16599 Likewise.
16600 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
16601 Likewise.
16602 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
16603 (elf_greg_t): Likewise.
16604 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
16605 (__jmp_buf): Likewise.
16606 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
16607 definitions.
16608 (llrint): Likewise, for all definitions.
16609 (llrintl): Likewise.
16610
fed0faa1
JM
16611 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
16612 Remove [__GNUC__] condition.
16613 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
16614 condition to just [__USE_ISOC99].
16615 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
16616
1a20cb20
L
166172013-01-10 H.J. Lu <hongjiu.lu@intel.com>
16618
16619 [BZ #14200]
16620 * sysdeps/unix/sysv/linux/x86/bits/environments.h
16621 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
16622 defined.
16623 (_POSIX_V6_ILP32_OFF32): Likewise.
16624 (_XBS5_ILP32_OFF32): Likewise.
16625 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
16626 (__ILP32_OFFBIG_LDFLAGS): Likewise.
16627
751b85f7
SP
166282013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16629
7490eb81
SP
16630 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
16631
751b85f7
SP
16632 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
16633 doubles __mpexp_twomm1. Adjust usage.
16634 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
16635 Remove.
16636
988197f0
AS
166372013-01-10 Andreas Schwab <schwab@suse.de>
16638
16639 [BZ #14964]
16640 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
16641 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
16642
e83d7298
DM
166432013-01-09 David S. Miller <davem@davemloft.net>
16644
034ed64b 16645 [BZ #15003]
e83d7298
DM
16646 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
16647 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
16648 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
16649 TCP_FASTOPEN): Define.
16650 (tcp_repair_opt): New structure.
16651 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
16652 enum values.
16653 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
16654 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
16655 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
16656 (tcp_cookie_transactions): New structure.
16657
d5e0b9bd
AB
166582013-01-09 Anton Blanchard <anton@samba.org>
16659
16660 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
16661 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
16662 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
16663 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
16664
0c07e3ea
JM
166652013-01-09 Joseph Myers <joseph@codesourcery.com>
16666
16667 * include/features.h (__USE_ANSI): Remove.
16668
232f7002
RM
166692013-01-09 Roland McGrath <roland@hack.frob.com>
16670
ad98e30c
RM
16671 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
16672
232f7002
RM
16673 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
16674
950c99ca
SP
166752013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
16676
b5792741
SP
16677 * sysdeps/s390/fpu/libm-test-ulps: Update.
16678
47cf2278
SP
16679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16680
950c99ca
SP
16681 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
16682 (__acr): Likewise.
16683 (__cpy): Likewise.
16684 (norm): Likewise.
16685 (denorm): Likewise.
16686 (__mp_dbl): Likewise.
16687 (__dbl_mp): Likewise.
16688 (add_magnitudes): Likewise.
16689 (sub_magnitudes): Likewise.
16690 (__add): Likewise.
16691 (__sub): Likewise.
16692 (__mul): Likewise.
16693 (__inv): Likewise.
16694 (__dvd): Likewise.
16695 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
16696 (__acr): Likewise.
16697 (__cpy): Likewise.
16698 (norm): Likewise.
16699 (denorm): Likewise.
16700 (__mp_dbl): Likewise.
16701 (__dbl_mp): Likewise.
16702 (add_magnitudes): Likewise.
16703 (sub_magnitudes): Likewise.
16704 (__add): Likewise.
16705 (__sub): Likewise.
16706 (__mul): Likewise.
16707 (__inv): Likewise.
16708 (__dvd): Likewise.
16709 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
16710 (__acr): Likewise.
16711 (__cpy): Likewise.
16712 (norm): Likewise.
16713 (denorm): Likewise.
16714 (__mp_dbl): Likewise.
16715 (__dbl_mp): Likewise.
16716 (add_magnitudes): Likewise.
16717 (sub_magnitudes): Likewise.
16718 (__add): Likewise.
16719 (__sub): Likewise.
16720 (__mul): Likewise.
16721 (__inv): Likewise.
16722 (__dvd): Likewise.
16723
eede9df9
JM
167242013-01-08 Joseph Myers <joseph@codesourcery.com>
16725
16726 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
16727 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
16728 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
16729 2 && __USE_EXTERN_INLINES]: Likewise.
16730
c40ea3d9
AJ
167312013-01-08 Andreas Jaeger <aj@suse.de>
16732
16733 [BZ# 14985]
16734 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
16735 Remove.
16736 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16737 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
16738
2ccdea26
AB
167392013-01-07 Anton Blanchard <anton@samba.org>
16740
16741 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
16742 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16743 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
16744 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16745 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
16746 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
16747 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
16748 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
16749 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
16750 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
16751 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16752 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16753 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
16754 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16755 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
16756 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16757 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16758 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16759 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
16760 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
16761 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
16762 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
16763 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
16764 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
16765 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
16766 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
16767 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
16768 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16769 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
16770 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
16771 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
16772 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16773 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
16774 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16775 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16776 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
16777 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16778 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16779 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
16780 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
16781 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
16782 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
16783 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16784
a9708fed
JM
167852013-01-07 Joseph Myers <joseph@codesourcery.com>
16786
375607b9
JM
16787 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
16788 (__MALLOC_PMT): Likewise.
16789 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
16790 [__GNUC__], only on [_LIBC].
16791 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16792 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
16793 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
16794 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
16795 forward declaration.
16796 (realloc_hook_ini): Likewise.
16797 (memalign_hook_ini): Likewise.
16798 (__libc_memalign): Do not use __MALLOC_PMT in variable
16799 declaration.
16800 (__libc_valloc): Likewise.
16801 (__libc_pvalloc): Likewise.
16802 (__libc_calloc): Likewise.
16803 (__posix_memalign): Likewise.
16804
a9708fed
JM
16805 [BZ #14996]
16806 * math/s_casinh.c: Include <float.h>.
16807 (__casinh): Do not do computation with squaring and square root
16808 for large arguments.
16809 * math/s_casinhf.c: Include <float.h>.
16810 (__casinhf): Do not do computation with squaring and square root
16811 for large arguments.
16812 * math/s_casinhl.c: Include <float.h>.
16813 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
16814 (__casinhl): Do not do computation with squaring and square root
16815 for large arguments.
16816 * math/libm-test.inc (casin_test): Add more tests.
16817 (casinh_test): Likewise.
16818 * sysdeps/i386/fpu/libm-test-ulps: Update.
16819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16820
afec409a
L
168212013-01-04 H.J. Lu <hongjiu.lu@intel.com>
16822
16823 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
16824 (__x86_64_raw_data_cache_size): Likewise.
16825 (__x86_64_data_cache_size_half): Likewise.
16826 (__x86_64_raw_data_cache_size_half): Likewise.
16827 (__x86_64_shared_cache_size): Likewise.
16828 (__x86_64_raw_shared_cache_size): Likewise.
16829 (__x86_64_shared_cache_size_half): Likewise.
16830 (__x86_64_raw_shared_cache_size_half): Likewise.
16831 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
16832 to ...
16833 (__x86_data_cache_size): This.
16834 (__x86_64_raw_data_cache_size): Renamed to ...
16835 (__x86_raw_data_cache_size): This.
16836 (__x86_64_data_cache_size_half): Renamed to ...
16837 (__x86_data_cache_size_half): This.
16838 (__x86_64_raw_data_cache_size_half): Renamed to ...
16839 (__x86_raw_data_cache_size_half): This.
16840 (__x86_64_shared_cache_size): Renamed to ...
16841 (__x86_shared_cache_size): This.
16842 (__x86_64_raw_shared_cache_size): Renamed to ...
16843 (__x86_raw_shared_cache_size): This.
16844 (__x86_64_shared_cache_size_half): Renamed to ...
16845 (__x86_shared_cache_size_half): This.
16846 (__x86_64_raw_shared_cache_size_half): Renamed to ...
16847 (__x86_raw_shared_cache_size_half): This.
16848 * sysdeps/x86_64/memcpy.S: Updated.
16849 * sysdeps/x86_64/memset.S: Likewise.
16850 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
16851 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
16852 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
16853
0b3986d0
DM
168542013-01-04 David S. Miller <davem@davemloft.net>
16855
16856 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16857
e47686e9
AS
168582013-01-04 Andreas Schwab <schwab@linux-m68k.org>
16859
d643bac1
AS
16860 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
16861 1 to avoid redefinition warning.
16862 (__USE_GNU): Don't define.
16863 (init_signaling_nan): Protoize.
16864
e47686e9
AS
16865 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16866
b18decba
SP
168672013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16868
fffb407f
SP
16869 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
16870 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
16871 (__cpymn): Likewise.
16872 (norm): Remove commented code.
16873 (denorm): Likewise.
16874 (__mp_dbl): Likewise.
16875 (__inv): Likewise.
16876 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
16877 (__cpymn): Likewise.
16878 (norm): Remove commented code.
16879 (denorm): Likewise.
16880 (__mp_dbl): Likewise.
16881 (__inv): Likewise.
16882
b18decba
SP
16883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
16884 mp_no value for 1.0 and 2.0.
16885 (norm): Use RADIXI instead of radixi.d.
16886 (denorm): Likewise.
16887 (__mul): Use 0.0 instead of zero.d.
16888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
16889 mp_no value for 1.0 and 2.0.
16890 (norm): Use RADIXI instead of radixi.d.
16891 (denorm): Likewise.
16892 (__mul): Use 0.0 instead of zero.d.
16893
cdc1c96f
JM
168942013-01-04 Joseph Myers <joseph@codesourcery.com>
16895
16896 [BZ #14994]
16897 * math/s_casinh.c (__casinh): Reduce finite argument to first
16898 quadrant then set signs of results at the end.
16899 * math/s_casinhf.c (__casinhf): Likewise.
16900 * math/s_casinhl.c (__casinhl): Likewise.
16901 * math/libm-test.inc (casin_test): Add more tests.
16902 (casinh_test): Likewise.
16903 * sysdeps/i386/fpu/libm-test-ulps: Update.
16904 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16905
302913e1
SP
169062013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16907
6420d207
SP
16908 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
16909
a9e48ab4
SP
16910 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
16911
b7837264
SP
16912 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
16913 declarations.
16914 (denorm): Likewise.
16915 (__mp_dbl): Likewise.
16916 (__inv): Likewise.
16917
f8af25d2
SP
16918 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
16919 and adjust the header comment.
16920
302913e1
SP
16921 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
16922 variable name from declaration.
16923
5d7dd1ca
L
169242013-01-03 H.J. Lu <hongjiu.lu@intel.com>
16925
16926 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16927 Initialize COMMON_CPUID_INDEX_7 element.
16928 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
16929 (CPUID_RTM): Likewise.
16930 (HAS_RTM): Likewise.
16931 (COMMON_CPUID_INDEX_7): New enum.
16932
2f5f40f4
AS
169332013-01-03 Andreas Schwab <schwab@linux-m68k.org>
16934
16935 [BZ #14981]
16936 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
16937 size is zero, record memory as freed.
16938
4056f4a0
AJ
169392013-01-03 Andreas Jaeger <aj@suse.de>
16940
16941 * po/ia.po: Add new Interlingua translation.
16942
ab15736f 169432012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
16944
16945 * locale/programs/localedef.c: Fix description of '--posix' flag.
16946
568035b7
JM
169472013-01-02 Joseph Myers <joseph@codesourcery.com>
16948
e6898b8d
JM
16949 * NEWS: Update dates in second copyright notice.
16950 * README: Update copyright dates in example.
16951 * manual/libc.texinfo: Update copyright dates.
16952 * scripts/test-installation.pl: Update copyright date in --version
16953 output.
16954
0e2f9562
JM
16955 * hurd/ctty-input.c: Fix copyright notice formatting.
16956 * hurd/ctty-output.c: Likewise.
16957 * hurd/dtable.c: Likewise.
16958 * hurd/hurd-raise.c: Likewise.
16959 * hurd/hurdprio.c: Likewise.
16960 * hurd/msgportdemux.c: Likewise.
16961 * misc/sys/file.h: Likewise.
16962 * misc/sys/ioctl.h: Likewise.
16963 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
16964 * sysdeps/mach/hurd/chdir.c: Likewise.
16965 * sysdeps/mach/hurd/fchdir.c: Likewise.
16966 * sysdeps/mach/hurd/rename.c: Likewise.
16967 * sysdeps/mach/hurd/rmdir.c: Likewise.
16968 * sysdeps/mach/hurd/seekdir.c: Likewise.
16969 * sysdeps/mach/hurd/setsid.c: Likewise.
16970 * sysdeps/posix/wait3.c: Likewise.
16971
568035b7
JM
16972 * All files with FSF copyright notices: Update copyright dates
16973 using scripts/update-copyrights.
16974 * intl/plural.c: Regenerated.
16975 * locale/programs/charmap-kw.h: Likewise.
16976 * locale/programs/locfile-kw.h: Likewise.
16977
da08f647
SP
169782013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16979
0f5477af
SP
16980 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
16981 four values.
16982
44e0d4c2
SP
16983 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
16984 calculation loop and add branch prediction.
16985
4d55b4e5
SP
16986 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
16987 check access beyond bounds of m1np.
16988
da08f647
SP
16989 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
16990 MPTWO.
16991 (__inv): Remove local variable MPTWO to use the global
16992 constant.
16993 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
16994 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
16995 variable MPTWO.
16996 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
16997 MP3HALFS static const.
16998
8e051029
DM
169992013-01-01 David S. Miller <davem@davemloft.net>
17000
17001 * po/ca.po: Update from translation team.
17002
f4cf5f2d
JM
170032013-01-01 Joseph Myers <joseph@codesourcery.com>
17004
17005 * scripts/update-copyrights: New file.
17006 * Makeconfig: Reformat copyright notice.
17007 * ctype/ctype.h: Likewise.
17008 * debug/swprintf_chk.c: Likewise.
17009 * elf/dl-cache.c: Likewise.
17010 * elf/dl-debug.c: Likewise.
17011 * elf/dl-object.c: Likewise.
17012 * grp/initgroups.c: Likewise.
17013 * hurd/Makefile: Likewise.
17014 * hurd/hurd/signal.h: Likewise.
17015 * hurd/hurdfault.c: Likewise.
17016 * hurd/hurdioctl.c: Likewise.
17017 * hurd/hurdlookup.c: Likewise.
17018 * hurd/intr-msg.c: Likewise.
17019 * iconv/gconv_open.c: Likewise.
17020 * libio/swprintf.c: Likewise.
17021 * locale/lc-ctype.c: Likewise.
17022 * locale/nl_langinfo.c: Likewise.
17023 * mach/Machrules: Likewise.
17024 * mach/Makefile: Likewise.
17025 * malloc/obstack.h: Likewise.
17026 * manual/Makefile: Likewise.
17027 * manual/tsort.awk: Likewise.
17028 * misc/bits/stab.def: Likewise.
17029 * nis/nis_print_group_entry.c: Likewise.
17030 * nis/nis_table.c: Likewise.
17031 * nis/nss_compat/compat-pwd.c: Likewise.
17032 * nis/nss_compat/compat-spwd.c: Likewise.
17033 * po/Makefile: Likewise.
17034 * posix/fnmatch.c: Likewise.
17035 * posix/regex.h: Likewise.
17036 * resolv/Makefile: Likewise.
17037 * resolv/nss_dns/dns-network.c: Likewise.
17038 * resolv/res_hconf.c: Likewise.
17039 * scripts/gen-sorted.awk: Likewise.
17040 * soft-fp/soft-fp.h: Likewise.
17041 * stdio-common/printf.h: Likewise.
17042 * stdlib/monetary.h: Likewise.
17043 * stdlib/random.c: Likewise.
17044 * stdlib/random_r.c: Likewise.
17045 * sysdeps/generic/Makefile: Likewise.
17046 * sysdeps/gnu/Makefile: Likewise.
17047 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
17048 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
17049 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
17050 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
17051 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
17052 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
17053 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
17054 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
17055 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
17056 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
17057 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
17058 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
17059 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
17060 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
17061 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17062 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
17063 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
17064 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
17065 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
17066 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
17067 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
17068 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
17069 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
17070 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17071 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
17072 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
17073 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
17074 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
17075 * sysdeps/mach/hurd/errnos.awk: Likewise.
17076 * sysdeps/mach/hurd/fork.c: Likewise.
17077 * sysdeps/mach/hurd/getcwd.c: Likewise.
17078 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
17079 * sysdeps/mach/hurd/mmap.c: Likewise.
17080 * sysdeps/mach/hurd/utimes.c: Likewise.
17081 * sysdeps/mach/hurd/xmknod.c: Likewise.
17082 * sysdeps/posix/profil.c: Likewise.
17083 * sysdeps/posix/readdir_r.c: Likewise.
17084 * sysdeps/powerpc/bits/mathdef.h: Likewise.
17085 * sysdeps/powerpc/bits/setjmp.h: Likewise.
17086 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
17087 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
17088 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17089 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
17090 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
17091 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17092 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17093 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
17094 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
17095 * sysdeps/pthread/lio_listio.c: Likewise.
17096 * sysdeps/sparc/dl-procinfo.h: Likewise.
17097 * sysdeps/unix/i386/sysdep.S: Likewise.
17098 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
17099 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
17100 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
17101 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
17102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17103 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17104 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17105 * sysdeps/unix/sysv/linux/speed.c: Likewise.
17106 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
17107 * sysdeps/wordsize-32/divdi3.c: Likewise.
17108 * time/sys/time.h: Likewise.
17109 * wcsmbs/Makefile: Likewise.
17110
0549fbba
DM
171112013-01-01 David S. Miller <davem@davemloft.net>
17112
a141f1a7
DM
17113 * po/fr.po: Update from translation team.
17114
0549fbba
DM
17115 * catgets/gencat.c: Update copyright year.
17116 * csu/version.c: Likewise.
17117 * debug/catchsegv.sh: Likewise.
17118 * debug/pcprofiledump.c: Likewise.
17119 * debug/xtrace.sh: Likewise.
17120 * elf/ldconfig.c: Likewise.
17121 * elf/ldd.bash.in: Likewise.
17122 * elf/pldd.c: Likewise.
17123 * elf/sotruss.ksh: Likewise.
17124 * elf/sprof.c: Likewise.
17125 * iconv/iconv_prog.c: Likewise.
17126 * iconv/iconvconfig.c: Likewise.
17127 * locale/programs/locale.c: Likewise.
17128 * locale/programs/localedef.c: Likewise.
17129 * login/programs/pt_chown.c: Likewise.
17130 * malloc/memusage.sh: Likewise.
17131 * malloc/memusagestat.c: Likewise.
17132 * malloc/mtrace.pl: Likewise.
17133 * nscd/nscd.c: Likewise.
17134 * nss/getent.c: Likewise.
17135 * nss/makedb.c: Likewise.
17136 * posix/getconf.c: Likewise.
17137
18ea052c
SP
171382012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17139
17140 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
17141 numbers.
17142
9c89fca6
MF
171432012-12-30 Mike Frysinger <vapier@gentoo.org>
17144
17145 * math/bits/mathcalls.h (modf): Use __nonnull.
17146
085ec079
SP
171472012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17148
17149 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
17150 (split): Use macro CN instead of the bare value.
17151 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
17152 could be used.
17153 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
17154 instead of the bare value.
17155 (power1): Likewise.
17156
6d9f97e1
SP
171572012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17158
d63f73be
SP
17159 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
17160 __ATAN_TWOM.
17161 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17162
6d9f97e1
SP
17163 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
17164 their values.
17165 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17166 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17167 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
17168 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17169
4c4febf5
AJ
171702012-12-28 Andreas Jaeger <aj@suse.de>
17171
af5843ef
AJ
17172 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
17173 values are from Linux 3.7.
17174
4c4febf5
AJ
17175 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
17176 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
17177
99136f82
SP
171782012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17179
2f216c3c 17180 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
17181 TRUE case.
17182
99136f82
SP
17183 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
17184 (norm): Likewise.
17185 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
17186 variables with preprocessor constants.
17187 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
17188 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
17189 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
17190
7fffbdff
BH
171912012-12-27 Bruno Haible <bruno@clisp.org>
17192
17193 [BZ #14317]
17194 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
17195 only if needed.
17196
b76eb5f0
SP
171972012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17198
31a7fe5c
SP
17199 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
17200 and use variable directly.
17201 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
17202
b76eb5f0
SP
17203 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
17204 MPONE.
17205 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
17206 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
17207 variable MPONE.
17208 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17209 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17210 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
17211 include directive. Remove local variable MPONE.
17212 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
17213 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
17214 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17215
2c8bfe7d
DM
172162012-12-25 David S. Miller <davem@davemloft.net>
17217
17218 * version.h (RELEASE): Set to "development".
17219 (VERSION): Set to "2.17.90".
17220 * NEWS: Add 2.18 section.
17221
147d03b0
DM
172222012-12-21 David S. Miller <davem@davemloft.net>
17223
17224 * po/hr.po: Update from translation team.
17225
a8ebb2b9
AK
172262012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17227
17228 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
17229
95b4f1b6
SE
172302012-12-19 Steve Ellcey <sellcey@mips.com>
17231
b2d94007 17232 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 17233
cedb2a90
MS
172342012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17235
17236 * manual/contrib.texi (Contributors): Spelling correction.
17237
bbf527d6
DM
172382012-12-15 David S. Miller <davem@davemloft.net>
17239
17240 * po/ru.po: Update from translation team.
17241
bc38c906
DM
172422012-12-13 David S. Miller <davem@davemloft.net>
17243
85429b1a
DM
17244 * NEWS: Mention IFUNC testsuite enhancements.
17245
d283e353
DM
17246 * po/pl.po: Update from translation team.
17247 * po/bg.po: Likewise.
17248
bc38c906
DM
17249 * manual/contrib.texi (Contributors): Update entries for Hongjiu
17250 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
17251
a181b0d7
DM
172522012-12-11 David S. Miller <davem@davemloft.net>
17253
4641d57e
DM
17254 * po/sv.po: Update from translation team.
17255
f7bc6495
DM
17256 * po/vi.po: Update from translation team.
17257
6fc9048f
DM
17258 * po/cs.po: Update from translation team.
17259
a181b0d7
DM
17260 * po/de.po: Update from translation team.
17261 * po/eo.po: Likewise.
17262 * po/nl.po: Likewise.
17263
f70bfe80
SP
172642012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17265
3c8b4190
SP
17266 [BZ #14246]
17267 * manual/argp.texi (Argp Helper Functions): Move node to follow
17268 Argp Parsing State.
17269
f70bfe80
SP
17270 [BZ #14872]
17271 * manual/conf.texi (Limits on File System Capacity): Mention if
17272 terminating null is included in the max size.
17273
188f0adf
AJ
172742012-12-10 Andreas Jaeger <aj@suse.de>
17275
17276 * po/cs.po: Update from translation team.
17277
56e7d3ad
SP
172782012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
17279
17280 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
17281 void pointer and cast to uintptr_t.
17282 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
17283 path.
17284 * sysdeps/s390/s390-64/memcpy.S: Likewise.
17285 * sysdeps/s390/s390-64/memset.S: Likewise.
17286
76f2d2ea 172872012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
17288
17289 [BZ #14833]
17290 * menual/message.texi (Message Translation): Fix typos.
17291 (Helper programs for gettext): Likewise.
17292
67cbf9a2
AS
172932012-12-07 Andreas Schwab <schwab@linux-m68k.org>
17294
17295 [BZ #14898]
17296 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
17297 Change to -1.
17298
682d0e9a
DM
172992012-12-07 David S. Miller <davem@davemloft.net>
17300
17301 * po/libc.pot: Update.
17302
573cd484
RH
173032012-12-07 Richard Henderson <rth@redhat.com>
17304
7e9da188 17305 [BZ #10114]
573cd484
RH
17306 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
17307 normal/normal case to before the switch.
17308 (_FP_DIV): Likewise.
17309
e933a943
MF
173102012-12-06 Carlos O'Donell <carlos@systemhalted.org>
17311 Mike Frysinger <vapier@gentoo.org>
17312
17313 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
17314 check for __NR_fadvise64_64.
17315
82123268
CM
173162012-12-06 Chris Metcalf <cmetcalf@tilera.com>
17317
17318 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
17319 0, not just to plain "0" as a statement.
17320 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
17321 with cw.
17322
d9814526
JM
173232012-12-06 Joseph Myers <joseph@codesourcery.com>
17324
17325 * NEWS: Use sourceware.org in Bugzilla URL.
17326
7728c574
SP
173272012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17328
f16946dd
SP
17329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
17330 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17331
5704bbcb
SP
17332 * stdio-common/tst-put-error.c (do_test): Add newline to the
17333 padded test to ensure flush.
17334
17aa0516
JL
173352012-12-05 Jeff Law <law@redhat.com>
17336
17337 * sunrpc/etc.rpc (fedfs_admin): Add entry.
17338
363313b5
JM
173392012-12-05 Joseph Myers <joseph@codesourcery.com>
17340
effbd42a
JM
17341 * README: Don't refer to ports add-on as distributed separately.
17342 Mention AArch64 in list of systems supported in the ports add-on.
17343
87600365
JM
17344 * LICENSES: Add more non-FSF copyright and license notices.
17345
a0d7066a
JM
17346 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
17347 ((unused)).
17348
66ca5a5b
JM
17349 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
17350
363313b5
JM
17351 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
17352 10000 as width of padded output.
17353
b37984ad
JM
173542012-12-04 Joseph Myers <joseph@codesourcery.com>
17355
9003570a
JM
17356 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
17357
b37984ad
JM
17358 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
17359 variable LX with __attribute__ ((unused)).
17360 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
17361 Likewise.
17362 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
17363 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17364 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
17365 with __attribute__ ((unused)).
17366
c8df52ec
DM
173672012-12-04 David S. Miller <davem@abraco.davemloft.net>
17368
17369 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
17370
b3b099af
JM
173712012-12-04 Joseph Myers <joseph@codesourcery.com>
17372
c33aa6e3
JM
17373 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
17374 (CFLAGS-nldbl-acos.c): New variable.
17375 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
17376 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
17377 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
17378 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
17379 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
17380 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
17381 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
17382 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
17383 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
17384 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
17385 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
17386 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
17387 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
17388 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
17389 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
17390 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
17391 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
17392 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
17393 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
17394 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
17395 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
17396 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
17397 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
17398 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
17399 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
17400 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
17401 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
17402 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
17403 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
17404 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
17405 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
17406 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
17407 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
17408 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
17409 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
17410 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
17411 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
17412 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
17413 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
17414 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
17415 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
17416 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
17417 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
17418 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
17419 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
17420 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
17421 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
17422 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
17423 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
17424 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
17425 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
17426 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
17427 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
17428 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
17429 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
17430 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
17431 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
17432 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
17433 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
17434 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
17435 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
17436 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
17437 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
17438 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
17439 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
17440 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
17441 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
17442 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
17443 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
17444 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
17445 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
17446 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
17447 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
17448 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
17449 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
17450 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
17451 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
17452 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
17453 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
17454 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
17455 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
17456 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
17457 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
17458 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
17459 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
17460 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
17461 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
17462 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
17463 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
17464 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
17465 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
17466 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
17467 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
17468 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
17469 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
17470 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
17471 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
17472
20f0018d
JM
17473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17474 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
17475
b3b099af
JM
17476 [BZ #14914]
17477 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
17478 whole low double instead of just low 47 bits when splitting values
17479 into two parts.
17480
029264d1
AM
174812012-12-03 Allan McRae <allan@archlinux.org>
17482
17483 * manual/stdio.texi (Predefined Printf Handlers): Remove
17484 @hsep and @vsep usage.
17485
c9d6789e
MF
174862012-12-03 Mike Frysinger <vapier@gentoo.org>
17487
17488 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
17489 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
17490
4b7634a5
JL
174912012-12-03 Jeff Law <law@redhat.com>
17492
17493 * time/sys/time.h (settimeofday): Do not mark TV argument
17494 as __nonnull.
17495
eb6cbd24
MF
174962012-12-01 Mike Frysinger <vapier@gentoo.org>
17497
17498 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
17499 when currently writing and seek to current position when not.
17500 * libio/Makefile (tests): Remove bug-fclose1.
17501 * libio/bug-fclose1.c: Delete.
17502
f638872a
JM
175032012-12-01 Joseph Myers <joseph@codesourcery.com>
17504
17505 * manual/arith.texi (feenableexcept): Fix typo.
17506 (fedisableexcept): Likewise.
17507
48085d14
RM
175082012-11-30 Roland McGrath <roland@hack.frob.com>
17509
17510 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
17511 second, differently-typed declaration, rather than a cast.
17512
1a538b9f
SP
175132012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
17514
17515 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
17516 * include/rpc/svc.h: ... here.
17517
d07f2ff1 175182012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
17519
17520 [BZ #13013]
17521 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
17522 depending n and resplen2 to catch cases where answer
17523 equals answerp2.
17524
c93ec1f0
CD
175252012-11-29 Carlos O'Donell <carlos@systemhalted.org>
17526
17527 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
17528 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
17529
37db69de
MF
175302012-11-29 Mike Frysinger <vapier@gentoo.org>
17531
17532 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
17533
e10c4e4f
RM
175342012-11-29 Roland McGrath <roland@hack.frob.com>
17535
17536 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
17537
2af1b328
JL
175382012-11-28 Jeff Law <law@redhat.com>
17539
17540 [BZ #13761]
17541 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
17542 dataset_temporary. Track alloca usage into alloca_used.
17543 If dataset is large allocate and release it via malloc/free.
17544
111db5b1
FW
175452012-06-04 Florian Weimer <fweimer@redhat.com>
17546
f06cc227 17547 [BZ #14197]
111db5b1
FW
17548 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
17549
dd694abd
DM
175502012-11-28 David S. Miller <davem@davemloft.net>
17551
17552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17553
9984dd01
JM
175542012-11-28 Joseph Myers <joseph@codesourcery.com>
17555
17556 [BZ #14803]
17557 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
17558 of pi/2 rounded to nearest to 64 bits.
17559 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
17560 nearest to 64 bits.
17561 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
17562 bits.
17563
14bc93a9
JL
175642012-11-28 Jeff Law <law@redhat.com>
17565 Martin Osvald <mosvald@redhat.com>
17566
17567 [BZ #14889]
17568 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
17569 * sunrpc/svc.c: Include time.h.
17570 (__svc_accept_failed): New function.
17571 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
17572 any reason other than EINTR, call __svc_accept_failed.
17573 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
17574 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
17575
e3c6aa3a
AS
175762012-11-28 Andreas Schwab <schwab@suse.de>
17577
17578 * scripts/abilist.awk: Also handle indirect functions in .opd
17579 section.
17580
1bead169
JM
175812012-11-28 Joseph Myers <joseph@codesourcery.com>
17582
17583 [BZ #13881]
17584 * sysdeps/x86/fpu/powl_helper.c: New file.
17585 * sysdeps/x86/fpu/Makefile: Likewise.
17586 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
17587 (p3): New object.
17588 (__ieee754_powl): Use __powl_helper for finite arguments except
17589 integer exponents below 8.
17590 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
17591 (p3): New object.
17592 (__ieee754_powl): Use __powl_helper for finite arguments except
17593 integer exponents below 8.
17594 * math/libm-test.inc (pow_test): Add more tests and enable some
17595 previously disabled tests.
17596 * sysdeps/i386/fpu/libm-test-ulps: Update.
17597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17598
0817d63d
SP
175992012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
17600 Carlos O'Donell <carlos_odonell@mentor.com>
17601
17602 * nss/makedb.c (is_prime): Assert that input is odd and greater
17603 than 4. Note that fact in a comment too.
17604 (next_prime): Add 4 to input.
17605
de2fd463
SP
176062012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
17607
17608 [BZ #11741]
17609 * libio/Makefile (tests): Add test case tst-fwrite-error.
17610 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
17611 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17612 * libio/tst-fwrite-error.c: New test case.
17613
c515fb51
L
176142012-11-26 H.J. Lu <hongjiu.lu@intel.com>
17615
17616 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
17617 before casting to void *.
17618 * include/libc-internal.h (__pointer_type): New macro.
17619 (__integer_if_pointer_type_sub): Likewise.
17620 (__integer_if_pointer_type): Likewise.
17621 (cast_to_integer): Likewise.
17622 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
17623 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
17624 before casting to atomic64_t.
17625 (atomic_exchange_acq): Likewise.
17626 (__arch_exchange_and_add_body): Likewise.
17627 (__arch_add_body): Likewise.
17628 (atomic_add_negative): Likewise.
17629 (atomic_add_zero): Likewise.
17630
4cf77aa9
JM
176312012-11-26 Joseph Myers <joseph@codesourcery.com>
17632
17633 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
17634 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
17635 (add_fdes): Likewise.
17636 (linear_search_fdes): Likewise.
17637 (binary_search_unencoded_fdes): Likewise.
17638
d260b3b4
AS
176392012-11-26 Andreas Schwab <schwab@linux-m68k.org>
17640
17641 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
17642
67060746
AC
176432012-11-24 Adam Conrad <adconrad@0c3.net>
17644
17645 * configure.in: Autodetect C++ header directories.
17646 * configure: Regenerated.
17647
800938a1
MF
176482012-11-23 Mike Frysinger <vapier@gentoo.org>
17649
17650 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
17651
4e6e34e6
AS
176522012-11-23 Andreas Schwab <schwab@linux-m68k.org>
17653
17654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17655
7c7feb47
JM
176562012-11-22 Joseph Myers <joseph@codesourcery.com>
17657
7184dcdf
JM
17658 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
17659 LDBL_MANT_DIG == 106]: Disable some tests.
17660 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17661 Likewise.
17662 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
17663 Likewise.
17664
0a42601f
JM
17665 [BZ #14871]
17666 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
17667 input for small inputs. Return +/- pi/2 for large inputs.
17668 * math/libm-test.inc (atan_test): Add more tests.
17669
79c9b9fe
JM
17670 * sysdeps/generic/unwind-dw2-fde-glibc.c
17671 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
17672 __attribute__ ((unused)).
17673
c60d3bf2
JM
17674 [BZ #14645]
17675 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
17676 x * y if x and y are nonzero and z is zero.
17677
ef1e0867
JM
17678 [BZ #14811]
17679 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
17680 nonzero exponents with absolute value below 0x1p-117 to +/-
17681 0x1p-117.
17682
1468ded3
JM
17683 [BZ #14869]
17684 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
17685 up arguments below 2**-450, not just those below 2**-500.
17686 * math/libm-test.inc (hypot_test): Add another test.
17687
8e27e3cc
JM
17688 [BZ #14868]
17689 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17690 Return a+b for ratio over 2**120, not 2**60.
17691 * math/libm-test.inc (hypot_test): Add another test.
17692
c9c0279b
JM
17693 * math/libm-test.inc (clog_test): Use
17694 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
17695 (clog10_test): Likewise.
17696
7c7feb47
JM
17697 [BZ #6778]
17698 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
17699
fff1530e
AS
177002012-11-22 Andreas Schwab <schwab@suse.de>
17701
17702 * sysdeps/i386/fpu/libm-test-ulps: Update.
17703
94558d30
PT
177042012-11-22 Pino Toscano <toscano.pino@tiscali.it>
17705
17706 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
17707 printf output with newline.
17708
7e1be741
L
177092012-11-21 H.J. Lu <hongjiu.lu@intel.com>
17710
6bfea974
L
17711 [BZ #14865]
17712 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
17713 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
17714 -z nodlopen, -z initfirst and -z execstack support.
17715 * configure: Regenerated.
17716
7e1be741
L
17717 * elf/elf.h (DF_1_NODIRECT): New macro.
17718 (DF_1_IGNMULDEF): Likewise.
17719 (DF_1_NOKSYMS): Likewise.
17720 (DF_1_NOHDR): Likewise.
17721 (DF_1_EDITED): Likewise.
17722 (DF_1_NORELOC): Likewise.
17723 (DF_1_SYMINTPOSE): Likewise.
17724 (DF_1_GLOBAUDIT): Likewise.
17725 (DF_1_SINGLETON): Likewise.
17726 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
17727 DT_1_SUPPORTED_MASK bits.
17728 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
17729
105ce2ce
CD
177302012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
17731
17732 * sysdeps/unix/make-syscalls.sh: Document prefixes.
17733
123be9de
TS
177342012-11-20 Thomas Schwinge <thomas@codesourcery.com>
17735
d072f3f7
TS
17736 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
17737 macro.
17738
123be9de
TS
17739 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
17740 (sendmmsg): Move declarations...
17741 * socket/sys/socket.h: ... here.
17742 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
17743 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
17744 include it from...
17745 * socket/recvmmsg.c: ... this new file.
17746 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
17747 (sendmmsg): Rename to __sendmmsg, create weak alias and make
17748 definition of __sendmmsg hidden.
17749 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
17750 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
17751 Move ENOSYS stub into and include it from...
17752 * socket/sendmmsg.c: ... this new file.
17753 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
17754 (sysdep_routines): Move recvmmsg and sendmmsg...
17755 * socket/Makefile (routines): ... here.
17756 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
17757 (GLIBC_PRIVATE): Add __sendmmsg.
17758 * include/sys/socket.h (__sendmmsg): Add declarations.
17759 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
17760 sendmmsg.
17761
cf9a5d18
JM
177622012-11-20 Joseph Myers <joseph@codesourcery.com>
17763
17764 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
17765 variable I1 with __attribute__ ((unused)).
17766 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
17767
ecd4caf9
JM
177682012-11-19 Joseph Myers <joseph@codesourcery.com>
17769
be14d48f
JM
17770 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
17771 DUMMY variables with __attribute__ ((unused)).
17772
ecd4caf9
JM
17773 * bits/byteswap.h: Include <bits/types.h>.
17774 (__bswap_64): Use __uint64_t instead of unsigned long long int.
17775
986cab95
PT
177762012-11-19 Pino Toscano <toscano.pino@tiscali.it>
17777
17778 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
17779 string_t. Do not manually set errno.
17780 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
17781 length with __strnlen. Make sure to both set errno and return it on
17782 failure.
17783
6d33cc9d
DM
177842012-11-19 David S. Miller <davem@davemloft.net>
17785
17786 With help from Joseph Myers.
17787 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
17788 very large arguments properly.
17789 * math/libm-test.inc (atan_test): New tests.
17790 (atan2_test): New tests.
17791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17792 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17793
ee663277
JM
177942012-11-19 Joseph Myers <joseph@codesourcery.com>
17795
877f2d8e
JM
17796 [BZ #14856]
17797 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
17798 Define to 3.
17799
116fc08a
JM
17800 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
17801 [POSIX] (EADDRNOTAVAIL): Likewise.
17802 [POSIX] (EAFNOSUPPORT): Likewise.
17803 [POSIX] (EALREADY): Likewise.
17804 [POSIX] (ECONNABORTED): Likewise.
17805 [POSIX] (ECONNREFUSED): Likewise.
17806 [POSIX] (ECONNRESET): Likewise.
17807 [POSIX] (EDESTADDRREQ): Likewise.
17808 [POSIX] (EDQUOT): Likewise.
17809 [POSIX] (EHOSTUNREACH): Likewise.
17810 [POSIX] (EIDRM): Likewise.
17811 [POSIX] (EISCONN): Likewise.
17812 [POSIX] (ELOOP): Likewise.
17813 [POSIX] (EMULTIHOP): Likewise.
17814 [POSIX] (ENETDOWN): Likewise.
17815 [POSIX] (ENETUNREACH): Likewise.
17816 [POSIX] (ENOBUFS): Likewise.
17817 [POSIX] (ENODATA): Likewise.
17818 [POSIX] (ENOLINK): Likewise.
17819 [POSIX] (ENOMSG): Likewise.
17820 [POSIX] (ENOPROTOOPT): Likewise.
17821 [POSIX] (ENOSR): Likewise.
17822 [POSIX] (ENOSTR): Likewise.
17823 [POSIX] (ENOTCONN): Likewise.
17824 [POSIX] (ENOTSOCK): Likewise.
17825 [POSIX] (EOPNOTSUPP): Likewise.
17826 [POSIX] (EOVERFLOW): Likewise.
17827 [POSIX] (EPROTO): Likewise.
17828 [POSIX] (EPROTONOSUPPORT): Likewise.
17829 [POSIX] (EPROTOTYPE): Likewise.
17830 [POSIX] (ESTALE): Likewise.
17831 [POSIX] (ETIME): Likewise.
17832 [POSIX] (ETXTBSY): Likewise.
17833 [POSIX] (EWOULDBLOCK): Likewise.
17834 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
17835 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
17836 [POSIX] (SEEK_CUR): Likewise.
17837 [POSIX] (SEEK_END): Likewise.
17838 [POSIX || UNIX98] (mode_t): Do not require.
17839 [POSIX] (off_t): Likewise.
17840 [POSIX] (pid_t): Likewise.
17841 [POSIX] (sys/stat.h): Do not allow header.
17842 [POSIX] (unistd.h): Likewise.
17843 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
17844 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
17845 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
17846 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
17847 require.
17848 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
17849 sigevent): Specify elements.
17850 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
17851 entry.
17852 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
17853 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
17854
a483863f
JM
17855 * conform/data/cpio.h-data [POSIX]: Disable whole file.
17856 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
17857 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
17858 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
17859 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
17860 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
17861 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
17862 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
17863 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
17864 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
17865 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
17866 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
17867 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
17868 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
17869 Likewise.
17870 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
17871 Likewise.
17872 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
17873 Likewise.
17874 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
17875 Likewise.
17876 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
17877 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
17878 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
17879 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
17880 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
17881 Specify lower bound on value.
17882 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
17883 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
17884 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
17885 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
17886 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
17887 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
17888 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
17889 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
17890 value.
17891 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
17892 as optional.
17893 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
17894 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
17895 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
17896 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
17897 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
17898 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
17899 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
17900 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
17901 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
17902 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
17903 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
17904 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
17905 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
17906 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
17907 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
17908 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
17909 entry.
17910 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
17911 optional.
17912 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
17913 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
17914 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
17915 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
17916 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
17917 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
17918 Likewise.
17919 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
17920 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
17921 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
17922 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
17923 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
17924 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
17925 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
17926 as optional.
17927 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
17928 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
17929 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
17930 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
17931 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
17932 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
17933 specify as optional.
17934 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
17935 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
17936 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
17937 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
17938 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
17939 [XPG3] (NL_LANGMAX): Likewise.
17940 [POSIX || XPG3] (NL_MSGMAX): Likewise.
17941 [POSIX || XPG3] (NL_NMAX): Likewise.
17942 [POSIX || XPG3] (NL_SETMAX): Likewise.
17943 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
17944 [XPG3] (NZERO): Likewise.
17945 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
17946 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
17947 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
17948 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
17949 (REG_ERANGE): Expect.
17950 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
17951 optional-constant.
17952 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
17953 Use (void) in prototype.
17954 [POSIX] (*_t): Allow.
17955 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
17956 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
17957 (WRDE_BADVAL): Expect.
17958
5ba924e3
JM
17959 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
17960 expect.
17961 [XPG3 || XPG4] (O_RSYNC): Likewise.
17962 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
17963 Likewise.
17964 [XPG3 || XPG4] (pthread_sigmask): Likewise.
17965 [XPG3 || XPG4] (sigqueue): Likewise.
17966 [XPG3 || XPG4] (sigtimedwait): Likewise.
17967 [XPG3 || XPG4] (sigwaitinfo): Likewise.
17968 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
17969 [XPG3 || XPG4] (vsnprintf): Likewise.
17970 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
17971 Likewise.
17972 [XPG3 || XPG4] (blksize_t): Likewise.
17973 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
17974 Likewise.
17975 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
17976 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
17977 [XPG3 || XPG4] (struct itimerspec): Likewise.
17978 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
17979 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
17980 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
17981 [XPG3 || XPG4] (clockid_t): Likewise.
17982 [XPG3 || XPG4] (timer_t): Likewise.
17983 [XPG3 || XPG4] (clock_getres): Likewise.
17984 [XPG3 || XPG4] (clock_gettime): Likewise.
17985 [XPG3 || XPG4] (clock_settime): Likewise.
17986 [XPG3 || XPG4] (nanosleep): Likewise.
17987 [XPG3 || XPG4] (timer_create): Likewise.
17988 [XPG3 || XPG4] (timer_delete): Likewise.
17989 [XPG3 || XPG4] (timer_gettime): Likewise.
17990 [XPG3 || XPG4] (timer_getoverrun): Likewise.
17991 [XPG3 || XPG4] (timer_settime): Likewise.
17992 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
17993 [XPG3 || XPG4] (getlogin_r): Likewise.
17994 [XPG3 || XPG4] (pread): Likewise.
17995 [XPG3 || XPG4] (pthread_atfork): Likewise.
17996 [XPG3 || XPG4] (pwrite): Likewise.
17997
ee663277
JM
17998 [BZ #14835]
17999 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
18000 <bits/siginfo.h>.
18001
942caa16
PT
180022012-11-19 Pino Toscano <toscano.pino@tiscali.it>
18003
e19af380
PT
18004 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
18005 finalizing MALLSTREAM.
18006
942caa16
PT
18007 * sysdeps/mach/hurd/syncfs.c: New file.
18008
cfde9b46
SP
180092012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
18010
18011 [BZ #14719]
18012 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
18013 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
18014 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
18015 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
18016 (_nss_dns_gethostbyname4_r): Likewise.
18017 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
18018 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
18019
f6da27e5
PH
180202012-11-19 Peng Haitao <penght@cn.fujitsu.com>
18021
18022 [BZ #13763]
18023 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
18024
6665d4a2
SM
180252012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
18026
1f51ee92
SM
18027 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
18028 * elf/cache.c (print_entry): Print ",AArch64" for
18029 FLAG_AARCH64_LIB64
18030
6665d4a2
SM
18031 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
18032 * elf/cache.c (print_entry): Print ",hard-float" for
18033 FLAG_ARM_LIBHF.
18034
05b227bd
DM
180352012-11-18 David S. Miller <davem@davemloft.net>
18036
18037 With help from Joseph Myers.
18038 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
18039 cutoff to 2**-13.
18040 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
18041 cutoff to 2**-25.
18042 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
18043 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
18044 small.
18045 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
18046 * math/libm-test.inc (y0_test): New tests.
18047 (y1_test): New tests.
18048 * sysdeps/i386/fpu/libm-test-ulps: Update.
18049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18051
786b0b67
AS
180522012-11-18 Andreas Schwab <schwab@linux-m68k.org>
18053
18054 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
18055 64-bit targets.
18056 * configure: Regenerated.
18057
8e18b86d
DM
180582012-11-17 David S. Miller <davem@davemloft.net>
18059
18060 [BZ #14811]
18061 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
18062 nonzero exponents with absolute value below 0x1p-128 to +/-
18063 0x1p-128.
18064
531f1ae0
JM
180652012-11-17 Joseph Myers <joseph@codesourcery.com>
18066
12df29e2
JM
18067 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
18068
150dc1a0
JM
18069 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
18070
531f1ae0
JM
18071 * posix/getconf-speclist.c: New file.
18072 * posix/posix-envs.def: Likewise.
18073 * posix/confstr.c (START_ENV_GROUP): New macro.
18074 (END_ENV_GROUP): Likewise.
18075 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18076 (KNOWN_PRESENT_ENV_STRING): Likewise.
18077 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18078 (UNKNOWN_ENVIRONMENT): Likewise.
18079 (confstr): Include posix-envs.def instead of handling
18080 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
18081 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
18082 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
18083 (END_ENV_GROUP): Likewise.
18084 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
18085 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
18086 (UNKNOWN_ENVIRONMENT): Likewise.
18087 (__sysconf): Include posix-envs.def instead of handling associated
18088 cases directly here.
18089 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
18090 preprocessing getconf-speclist.c rather than running getconf or
18091 generating empty file.
18092
a93f9cbc
PT
180932012-11-16 Pino Toscano <toscano.pino@tiscali.it>
18094
18095 * scripts/check-local-headers.sh: Ignore 'mach' headers.
18096
d64d9f87
AL
180972012-11-16 Andrej Lajovic <natrij@gmail.com>
18098
18099 [BZ #14672]
18100 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
18101
447885eb
DM
181022012-11-16 David S. Miller <davem@davemloft.net>
18103
18104 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
18105 smaller than LDBL_EPSILON/2.0L, just return xm1.
18106
bcbf9830
L
181072012-11-16 H.J. Lu <hongjiu.lu@intel.com>
18108
18109 * elf/tst-array1.c (init): Set constructor priority to 1000.
18110 (fini): Set destructor priority to 1000.
18111 * elf/tst-array2dep.c: Likewise.
18112
2b766585
SP
181132012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18114
18115 [BZ #11741]
18116 * libio/fileops.c (_IO_new_file_write): Correctly return error.
18117 (_IO_new_file_xsputn): Also return EOF if none of the input
18118 data was written when overflow failed.
18119 * libio/iopadn.c (_IO_padn): Likewise.
18120 * libio/iowpadn.c (_IO_wpadn): Likewise.
18121 * stdio-common/tst-put-error.c: Add copyright notice.
18122 (do_test): Add case for printing padded string.
18123 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
18124 _IO_padn returned error.
18125 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
18126 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
18127 return EOF.
18128
b1848fde
SP
181292012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18130
18131 * libio/libioP.h: Add comment note that the references to C++
18132 bits are now obsolete.
18133
2fd89785
MS
181342012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18135
18136 * math/libm-test.inc (check_complex): Use asprintf.
18137
e3ea5409
JM
181382012-11-14 Joseph Myers <joseph@codesourcery.com>
18139
18140 * debug/pcprofiledump.c (print_version): Update copyright year.
18141 * malloc/memusagestat.c (print_version): Likewise.
18142
2e64d265
L
181432012-11-14 H.J. Lu <hongjiu.lu@intel.com>
18144
18145 [BZ #14831]
18146 * elf/Makefile (tests): Add tst-audit8.
18147 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
18148 ($(objpfx)tst-audit8.out): New target.
18149 (tst-audit8-ENV): New variable.
18150 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
18151 audit if l_reloc_result is NULL.
18152 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
18153 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
18154 * elf/tst-audit8.c: New file.
18155
c485e4d2
MS
181562012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18157
18158 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
18159 * misc/Makefile (CFLAGS-select.c): Define.
18160 * posix/Makefile (CFLAGS-pause.c): Define.
18161
3a0d900a
DM
181622012-11-13 David S. Miller <davem@davemloft.net>
18163
18164 * crypt/Makefile: Move test targets after toplevel Rules
18165 inclusion. Grab any necessary sysdep routines when linking.
18166 * crypt/md5.c (md5_process_block): Remove define, we will always
18167 name it __md5_process_block.
18168 (md5_finish_ctx): Update md5_process_block call.
18169 (md5_stream): Likewise.
18170 (md5_process_bytes): Likewise.
18171 (md5_process_block): Rename to __md5_process_block and move to ...
18172 * crypt/md5-block.c: ... here.
18173 * crypt/sha256.c (sha256_process_block): Move to ...
18174 * crypt/sha256-block.c: ... here.
18175 * crypt/sha512.c (sha512_process_block): Move to ...
18176 * crypt/sha512-block.c: ... here.
18177 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
18178 path.
18179 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
18180 * sysdeps/sparc/sparc64/multiarch/Makefile
18181 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
18182 crypt subdir.
18183 (localedef-aux): Add md5 crypto assembler when in locale subdir.
18184 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
18185 multiarch changes.
18186 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
18187 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
18188 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
18189 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
18190 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
18191 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
18192 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
18193 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
18194 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
18195 file.
18196 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
18197 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
18198 file.
18199 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
18200
8ca89318
JM
182012012-11-13 Joseph Myers <joseph@codesourcery.com>
18202
e27d476a
JM
18203 * timezone/tzselect.ksh: Update from tzcode git revision
18204 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
18205 * timezone/zdump.c: Likewise.
18206 * timezone/zic.c: Likewise.
18207 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
18208 in TZVERSION setting, not $(PKGVERSION).
18209 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
18210 REPORT_BUGS_TO settings.
18211
8ca89318
JM
18212 [BZ #14838]
18213 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
18214 macro.
18215
47594329
MS
182162012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18217
18218 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
18219 detection to immediately after _FP_ROUND().
18220 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
18221 bits are 0.
18222
640ac3f1
DM
182232012-11-11 David S. Miller <davem@davemloft.net>
18224
18225 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
18226 inttypes.h
18227 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
18228 __close rather than their public counterparts.
18229
3d2577bb
JM
182302012-11-10 Joseph Myers <joseph@codesourcery.com>
18231
18232 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
18233 file.
18234 [UNIX98] (sem_timedwait): Do not expect.
18235 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
18236 [XPG4 || UNIX98] (sockatmark): Do not expect.
18237 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
18238 (clock_getcpuclockid): Do not expect.
18239 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
18240 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
18241 Do not expect.
18242 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
18243 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
18244 [UNIX98] (vwscanf): Likewise.
18245 [UNIX98] (vswscanf): Likewise.
18246
fb1ae1ee
JM
182472012-11-09 Joseph Myers <joseph@codesourcery.com>
18248
9ec6f8bd
JM
18249 * timezone/version.h: Remove file.
18250 * timezone/README: Do not refer to version.h.
18251 * timezone/Makefile ($(objpfx)zic.o): New dependency on
18252 $(objpfx)version.h.
18253 ($(objpfx)zdump.o): Likewise.
c3f81911 18254 ($(objpfx)version.h): New target.
9ec6f8bd 18255
0aa8f8a1
JM
18256 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
18257 2012i.
18258 * timezone/README: Don't mention modification to tzselect.ksh.
18259 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
18260 work on unmodified tzselect.ksh. Substitute version numbers in
18261 tzselect.ksh.
18262
4e87147f
JM
18263 * Makefile (format-me): Remove.
18264 (INSTALL): Adjust indentation. Use commands directly instead of
18265 using $(format-me).
18266
8b748aed
JM
18267 * aclocal.m4 (ACX_PKGVERSION): New macro.
18268 (ACX_BUGURL): Likewise.
18269 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
18270 (PKGVERSION): New AC_DEFINE_UNQUOTED.
18271 (REPORT_BUGS_TO): Likewise.
18272 * configure: Regenerated.
18273 * config.h.in (PKGVERSION): New macro.
18274 (REPORT_BUGS_TO): Likewise.
18275 * config.make.in (PKGVERSION): New variable.
18276 (PKGVERSION_TEXI): Likewise.
18277 (REPORT_BUGS_TO): Likewise.
18278 (REPORT_BUGS_TEXI): Likewise.
18279 * Makefile (format-me): Use -I$(common-objpfx)manual.
18280 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
18281 ($(common-objpfx)manual/%): New target.
18282 (manual/%): Remove target.
18283 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
18284 (print_version): Use PKGVERSION.
18285 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
18286 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
18287 and REPORT_BUGS_TO.
18288 ($(objpfx)xtrace): Likewise.
18289 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
18290 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
18291 (print_version): Use PKGVERSION.
18292 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
18293 (do_version): Use PKGVERSION.
18294 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
18295 REPORT_BUGS_TO.
18296 (common-ldd-rewrite): Likewise.
18297 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
18298 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
18299 (print_version): Use PKGVERSION.
18300 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
18301 * elf/pldd.c (argp_program_bug_address): Remove variable.
18302 (more_help): New function.
18303 (argp): Use more_help.
18304 (print_version): Use PKGVERSION.
18305 * elf/sln.c (main): Use PKGVERSION.
18306 (usage): Use REPORT_BUGS_TO.
18307 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
18308 (top level): Use PKGVERSION.
18309 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
18310 (print_version): Use PKGVERSION.
18311 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
18312 (print_version): Use PKGVERSION.
18313 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
18314 (print_version): Use PKGVERSION.
18315 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
18316 (print_version): Use PKGVERSION.
18317 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
18318 (print_version): Use PKGVERSION.
18319 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
18320 (print_version): Use PKGVERSION.
18321 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
18322 and BUGURL.
18323 ($(objpfx)memusage): Likewise.
18324 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
18325 (do_version): Use PKGVERSION.
18326 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
18327 (print_version): Use PKGVERSION.
18328 * malloc/mtrace.pl ($PACKAGE): Remove variable.
18329 ($PKGVERSION): New variable.
18330 ($REPORT_BUGS_TO): Likewise.
18331 (usage): Use $REPORT_BUGS_TO.
18332 (top level): Use $PKGVERSION.
18333 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
18334 ($(objpfx)pkgvers.texi): New rule.
18335 ($(objpfx)stamp-pkgvers): Likewise.
18336 * manual/install.texi: Include pkgvers.texi.
18337 (--with-pkgversion): Document new configure option.
18338 (--with-bugurl): Likewise.
18339 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
18340 than necessarily for this particular distribution. Use
18341 REPORT_BUGS_TO for where to report bugs.
18342 * INSTALL: Regenerated.
18343 * manual/libc.texinfo: Include pkgvers.texi.
18344 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
18345 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
18346 (print_version): Use PKGVERSION.
18347 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
18348 (print_version): Use PKGVERSION.
18349 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
18350 (print_version): Use PKGVERSION.
18351 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
18352 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
18353 macro.
18354 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
18355 (print_version): Use PKGVERSION.
18356 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
18357 (print_version): Use PKGVERSION.
18358 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
18359 and PKGVERSION.
18360
92e4b6a9
JM
18361 * timezone/checktab.awk: Update from tzcode 2012i.
18362 * timezone/ialloc.c: Likewise.
18363 * timezone/private.h: Likewise.
18364 * timezone/scheck.c: Likewise.
18365 * timezone/tzfile.h: Likewise.
18366 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
18367 (TZVERSION): Hardcode tzcode version number.
18368 * timezone/zdump.c: Update from tzcode 2012i.
18369 * timezone/zic.c: Likewise.
18370 * timezone/version.h: New file.
18371 * timezone/README: Describe version.h. Update upstream location.
18372
9bde902c
JM
18373 [BZ #14824]
18374 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
18375 (mktemp): Enable declaration.
18376 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
18377 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
18378 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
18379 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
18380 Likewise.
18381 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
18382 Likewise.
18383 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
18384 Likewise.
18385 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
18386 Likewise.
18387 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
18388 Likewise.
18389 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
18390 Likewise.
18391
fb1ae1ee
JM
18392 [BZ #14821]
18393 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
18394 offset in buffer as u_int32_t not u_long. Consistently use memcpy
18395 for copies of such integer values.
18396 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
18397 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
18398
2c1adbcb
AJ
183992012-11-09 Andreas Jaeger <aj@suse.de>
18400
18401 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
18402 definitions and declarations that are provided by
18403 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
18404
d0f8457e
AK
184052012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18406
3a235abb 18407 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
18408 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
18409 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
18410 definition.
18411
57241e26
MS
184122012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18413
18414 * elf/elf.h: Update comment before AArch64 relocations.
18415
60e8270d
DM
184162012-11-07 David S. Miller <davem@davemloft.net>
18417
18418 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
18419 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
18420 (__start_context): Declare.
18421 (__makecontext_ret): Delete.
18422 (__makecontext): Hook up __start_context instead of
18423 __makecontext_ret.
18424 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
18425 (sysdep_routines): Add __start_context when in stdlib.
18426
0fbb0fbc
JM
184272012-11-07 Joseph Myers <joseph@codesourcery.com>
18428
18429 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
18430 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
18431 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
18432 hardcoded "nm".
18433 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
18434 (READELF): New variable. Use it instead of hardcoded "readelf".
18435
eb48db7e
L
184362012-11-07 H.J. Lu <hongjiu.lu@intel.com>
18437
18438 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
18439 * sysdeps/x86/Makefile: Here.
18440 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
18441 * sysdeps/x86/tst-xmmymm.sh: This.
18442
05bcf62a
JM
184432012-11-07 Joseph Myers <joseph@codesourcery.com>
18444
c4b6cf53
JM
18445 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
18446 expectations.
18447 [UNIX98] (pthread_barrier_t): Do not expect.
18448 [UNIX98] (pthread_barrierattr_t): Likewise.
18449 [UNIX98] (pthread_spinlock_t): Likewise.
18450 [UNIX98] (pthread_barrier_destroy): Likewise.
18451 [UNIX98] (pthread_barrier_init): Likewise.
18452 [UNIX98] (pthread_barrier_wait): Likewise.
18453 [UNIX98] (pthread_barrierattr_destroy): Likewise.
18454 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
18455 [UNIX98] (pthread_barrierattr_init): Likewise.
18456 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
18457 [UNIX98] (pthread_getcpuclockid): Likewise.
18458 [UNIX98] (pthread_mutex_timedlock): Likewise.
18459 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
18460 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
18461 [UNIX98] (pthread_sigmask): Likewise.
18462 [UNIX98] (pthread_spin_destroy): Likewise.
18463 [UNIX98] (pthread_spin_init): Likewise.
18464 [UNIX98] (pthread_spin_lock): Likewise.
18465 [UNIX98] (pthread_spin_trylock): Likewise.
18466 [UNIX98] (pthread_spin_unlock): Likewise.
18467 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
18468 Do not expect.
18469 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
18470 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
18471 [XPG3 || XPG4] (pthread_cond_t): Likewise.
18472 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
18473 [XPG3 || XPG4] (pthread_key_t): Likewise.
18474 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
18475 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
18476 [XPG3 || XPG4] (pthread_once_t): Likewise.
18477 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
18478 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
18479 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
18480 [XPG3 || XPG4] (pthread_t): Likewise.
18481
cbe6e120
JM
18482 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
18483 not expect.
18484 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
18485
1b126443
JM
18486 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
18487 Change function return type to int.
18488
b961a573
JM
18489 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
18490 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
18491 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
18492 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
18493 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
18494 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
18495 [!POSIX] (posix_madvise): Likewise.
18496 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
18497 && !UNIX98].
18498 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
18499 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
18500 (mode_t): Likewise.
18501 (posix_mem_offset): Likewise.
18502 (posix_typed_mem_get_info): Likewise.
18503 (posix_typed_mem_open): Likewise.
18504
9e188909
JM
18505 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
18506 Change condition to [XOPEN2K8].
18507
05bcf62a
JM
18508 * conform/conformtest.pl: Preprocess allow-header data with -x c
18509 instead of from stdin.
18510 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
18511 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
18512 [C99-based standards] (cerfc): Likewise.
18513 [C99-based standards] (cexp2): Likewise.
18514 [C99-based standards] (cexpm1): Likewise.
18515 [C99-based standards] (clog10): Likewise.
18516 [C99-based standards] (clog1p): Likewise.
18517 [C99-based standards] (clog2): Likewise.
18518 [C99-based standards] (clgamma): Likewise.
18519 [C99-based standards] (ctgamma): Likewise.
18520 [C99-based standards] (cerff): Likewise.
18521 [C99-based standards] (cerfcf): Likewise.
18522 [C99-based standards] (cexp2f): Likewise.
18523 [C99-based standards] (cexpm1f): Likewise.
18524 [C99-based standards] (clog10f): Likewise.
18525 [C99-based standards] (clog1pf): Likewise.
18526 [C99-based standards] (clog2f): Likewise.
18527 [C99-based standards] (clgammaf): Likewise.
18528 [C99-based standards] (ctgammaf): Likewise.
18529 [C99-based standards] (cerfl): Likewise.
18530 [C99-based standards] (cerfcl): Likewise.
18531 [C99-based standards] (cexp2l): Likewise.
18532 [C99-based standards] (cexpm1l): Likewise.
18533 [C99-based standards] (clog10l): Likewise.
18534 [C99-based standards] (clog1pl): Likewise.
18535 [C99-based standards] (clog2l): Likewise.
18536 [C99-based standards] (clgammal): Likewise.
18537 [C99-based standards] (ctgammal): Likewise.
18538 * conform/data/inttypes.h-data [C99-based standards]: Include
18539 stdint.h-data. Remove all expectations for stdint.h contents.
18540 [C99-based standards] (PRI*): Do not allow.
18541 [C99-based standards] (SCN*): Likewise.
18542 [C99-based standards] (*_t): Likewise.
18543 [C99-based-standards] (PRId8): Expect macro.
18544 [C99-based-standards] (PRIi8): Likewise.
18545 [C99-based-standards] (PRIo8): Likewise.
18546 [C99-based-standards] (PRIu8): Likewise.
18547 [C99-based-standards] (PRIx8): Likewise.
18548 [C99-based-standards] (PRIX8): Likewise.
18549 [C99-based-standards] (SCNd8): Likewise.
18550 [C99-based-standards] (SCNi8): Likewise.
18551 [C99-based-standards] (SCNo8): Likewise.
18552 [C99-based-standards] (SCNu8): Likewise.
18553 [C99-based-standards] (SCNx8): Likewise.
18554 [C99-based-standards] (PRIdLEAST8): Likewise.
18555 [C99-based-standards] (PRIiLEAST8): Likewise.
18556 [C99-based-standards] (PRIoLEAST8): Likewise.
18557 [C99-based-standards] (PRIuLEAST8): Likewise.
18558 [C99-based-standards] (PRIxLEAST8): Likewise.
18559 [C99-based-standards] (PRIXLEAST8): Likewise.
18560 [C99-based-standards] (SCNdLEAST8): Likewise.
18561 [C99-based-standards] (SCNiLEAST8): Likewise.
18562 [C99-based-standards] (SCNoLEAST8): Likewise.
18563 [C99-based-standards] (SCNuLEAST8): Likewise.
18564 [C99-based-standards] (SCNxLEAST8): Likewise.
18565 [C99-based-standards] (PRIdFAST8): Likewise.
18566 [C99-based-standards] (PRIiFAST8): Likewise.
18567 [C99-based-standards] (PRIoFAST8): Likewise.
18568 [C99-based-standards] (PRIuFAST8): Likewise.
18569 [C99-based-standards] (PRIxFAST8): Likewise.
18570 [C99-based-standards] (PRIXFAST8): Likewise.
18571 [C99-based-standards] (SCNdFAST8): Likewise.
18572 [C99-based-standards] (SCNiFAST8): Likewise.
18573 [C99-based-standards] (SCNoFAST8): Likewise.
18574 [C99-based-standards] (SCNuFAST8): Likewise.
18575 [C99-based-standards] (SCNxFAST8): Likewise.
18576 [C99-based-standards] (PRId16): Likewise.
18577 [C99-based-standards] (PRIi16): Likewise.
18578 [C99-based-standards] (PRIo16): Likewise.
18579 [C99-based-standards] (PRIu16): Likewise.
18580 [C99-based-standards] (PRIx16): Likewise.
18581 [C99-based-standards] (PRIX16): Likewise.
18582 [C99-based-standards] (SCNd16): Likewise.
18583 [C99-based-standards] (SCNi16): Likewise.
18584 [C99-based-standards] (SCNo16): Likewise.
18585 [C99-based-standards] (SCNu16): Likewise.
18586 [C99-based-standards] (SCNx16): Likewise.
18587 [C99-based-standards] (PRIdLEAST16): Likewise.
18588 [C99-based-standards] (PRIiLEAST16): Likewise.
18589 [C99-based-standards] (PRIoLEAST16): Likewise.
18590 [C99-based-standards] (PRIuLEAST16): Likewise.
18591 [C99-based-standards] (PRIxLEAST16): Likewise.
18592 [C99-based-standards] (PRIXLEAST16): Likewise.
18593 [C99-based-standards] (SCNdLEAST16): Likewise.
18594 [C99-based-standards] (SCNiLEAST16): Likewise.
18595 [C99-based-standards] (SCNoLEAST16): Likewise.
18596 [C99-based-standards] (SCNuLEAST16): Likewise.
18597 [C99-based-standards] (SCNxLEAST16): Likewise.
18598 [C99-based-standards] (PRIdFAST16): Likewise.
18599 [C99-based-standards] (PRIiFAST16): Likewise.
18600 [C99-based-standards] (PRIoFAST16): Likewise.
18601 [C99-based-standards] (PRIuFAST16): Likewise.
18602 [C99-based-standards] (PRIxFAST16): Likewise.
18603 [C99-based-standards] (PRIXFAST16): Likewise.
18604 [C99-based-standards] (SCNdFAST16): Likewise.
18605 [C99-based-standards] (SCNiFAST16): Likewise.
18606 [C99-based-standards] (SCNoFAST16): Likewise.
18607 [C99-based-standards] (SCNuFAST16): Likewise.
18608 [C99-based-standards] (SCNxFAST16): Likewise.
18609 [C99-based-standards] (PRId32): Likewise.
18610 [C99-based-standards] (PRIi32): Likewise.
18611 [C99-based-standards] (PRIo32): Likewise.
18612 [C99-based-standards] (PRIu32): Likewise.
18613 [C99-based-standards] (PRIx32): Likewise.
18614 [C99-based-standards] (PRIX32): Likewise.
18615 [C99-based-standards] (SCNd32): Likewise.
18616 [C99-based-standards] (SCNi32): Likewise.
18617 [C99-based-standards] (SCNo32): Likewise.
18618 [C99-based-standards] (SCNu32): Likewise.
18619 [C99-based-standards] (SCNx32): Likewise.
18620 [C99-based-standards] (PRIdLEAST32): Likewise.
18621 [C99-based-standards] (PRIiLEAST32): Likewise.
18622 [C99-based-standards] (PRIoLEAST32): Likewise.
18623 [C99-based-standards] (PRIuLEAST32): Likewise.
18624 [C99-based-standards] (PRIxLEAST32): Likewise.
18625 [C99-based-standards] (PRIXLEAST32): Likewise.
18626 [C99-based-standards] (SCNdLEAST32): Likewise.
18627 [C99-based-standards] (SCNiLEAST32): Likewise.
18628 [C99-based-standards] (SCNoLEAST32): Likewise.
18629 [C99-based-standards] (SCNuLEAST32): Likewise.
18630 [C99-based-standards] (SCNxLEAST32): Likewise.
18631 [C99-based-standards] (PRIdFAST32): Likewise.
18632 [C99-based-standards] (PRIiFAST32): Likewise.
18633 [C99-based-standards] (PRIoFAST32): Likewise.
18634 [C99-based-standards] (PRIuFAST32): Likewise.
18635 [C99-based-standards] (PRIxFAST32): Likewise.
18636 [C99-based-standards] (PRIXFAST32): Likewise.
18637 [C99-based-standards] (SCNdFAST32): Likewise.
18638 [C99-based-standards] (SCNiFAST32): Likewise.
18639 [C99-based-standards] (SCNoFAST32): Likewise.
18640 [C99-based-standards] (SCNuFAST32): Likewise.
18641 [C99-based-standards] (SCNxFAST32): Likewise.
18642 [C99-based-standards] (PRId64): Likewise.
18643 [C99-based-standards] (PRIi64): Likewise.
18644 [C99-based-standards] (PRIo64): Likewise.
18645 [C99-based-standards] (PRIu64): Likewise.
18646 [C99-based-standards] (PRIx64): Likewise.
18647 [C99-based-standards] (PRIX64): Likewise.
18648 [C99-based-standards] (SCNd64): Likewise.
18649 [C99-based-standards] (SCNi64): Likewise.
18650 [C99-based-standards] (SCNo64): Likewise.
18651 [C99-based-standards] (SCNu64): Likewise.
18652 [C99-based-standards] (SCNx64): Likewise.
18653 [C99-based-standards] (PRIdLEAST64): Likewise.
18654 [C99-based-standards] (PRIiLEAST64): Likewise.
18655 [C99-based-standards] (PRIoLEAST64): Likewise.
18656 [C99-based-standards] (PRIuLEAST64): Likewise.
18657 [C99-based-standards] (PRIxLEAST64): Likewise.
18658 [C99-based-standards] (PRIXLEAST64): Likewise.
18659 [C99-based-standards] (SCNdLEAST64): Likewise.
18660 [C99-based-standards] (SCNiLEAST64): Likewise.
18661 [C99-based-standards] (SCNoLEAST64): Likewise.
18662 [C99-based-standards] (SCNuLEAST64): Likewise.
18663 [C99-based-standards] (SCNxLEAST64): Likewise.
18664 [C99-based-standards] (PRIdFAST64): Likewise.
18665 [C99-based-standards] (PRIiFAST64): Likewise.
18666 [C99-based-standards] (PRIoFAST64): Likewise.
18667 [C99-based-standards] (PRIuFAST64): Likewise.
18668 [C99-based-standards] (PRIxFAST64): Likewise.
18669 [C99-based-standards] (PRIXFAST64): Likewise.
18670 [C99-based-standards] (SCNdFAST64): Likewise.
18671 [C99-based-standards] (SCNiFAST64): Likewise.
18672 [C99-based-standards] (SCNoFAST64): Likewise.
18673 [C99-based-standards] (SCNuFAST64): Likewise.
18674 [C99-based-standards] (SCNxFAST64): Likewise.
18675 [C99-based-standards] (PRIdMAX): Likewise.
18676 [C99-based-standards] (PRIiMAX): Likewise.
18677 [C99-based-standards] (PRIoMAX): Likewise.
18678 [C99-based-standards] (PRIuMAX): Likewise.
18679 [C99-based-standards] (PRIxMAX): Likewise.
18680 [C99-based-standards] (PRIXMAX): Likewise.
18681 [C99-based-standards] (SCNdMAX): Likewise.
18682 [C99-based-standards] (SCNiMAX): Likewise.
18683 [C99-based-standards] (SCNoMAX): Likewise.
18684 [C99-based-standards] (SCNuMAX): Likewise.
18685 [C99-based-standards] (SCNxMAX): Likewise.
18686 [C99-based-standards] (PRIdPTR): Likewise.
18687 [C99-based-standards] (PRIiPTR): Likewise.
18688 [C99-based-standards] (PRIoPTR): Likewise.
18689 [C99-based-standards] (PRIuPTR): Likewise.
18690 [C99-based-standards] (PRIxPTR): Likewise.
18691 [C99-based-standards] (PRIXPTR): Likewise.
18692 [C99-based-standards] (SCNdPTR): Likewise.
18693 [C99-based-standards] (SCNiPTR): Likewise.
18694 [C99-based-standards] (SCNoPTR): Likewise.
18695 [C99-based-standards] (SCNuPTR): Likewise.
18696 [C99-based-standards] (SCNxPTR): Likewise.
18697 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
18698 allow.
18699 * conform/data/stdint.h-data: Update comments to clarify
18700 requirements.
18701 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
18702 type.
18703 [C99-based standards] (INT8_MAX): Likewise.
18704 [C99-based standards] (INT16_MIN): Likewise.
18705 [C99-based standards] (INT16_MAX): Likewise.
18706 [C99-based standards] (INT32_MIN): Likewise.
18707 [C99-based standards] (INT32_MAX): Likewise.
18708 [C99-based standards] (INT64_MIN): Likewise.
18709 [C99-based standards] (INT64_MAX): Likewise.
18710 [C99-based standards] (UINT8_MAX): Likewise.
18711 [C99-based standards] (UINT16_MAX): Likewise.
18712 [C99-based standards] (UINT32_MAX): Likewise.
18713 [C99-based standards] (UINT64_MAX): Likewise.
18714 [C99-based standards] (INT_LEAST8_MIN): Likewise.
18715 [C99-based standards] (INT_LEAST8_MAX): Likewise.
18716 [C99-based standards] (INT_LEAST16_MIN): Likewise.
18717 [C99-based standards] (INT_LEAST16_MAX): Likewise.
18718 [C99-based standards] (INT_LEAST32_MIN): Likewise.
18719 [C99-based standards] (INT_LEAST32_MAX): Likewise.
18720 [C99-based standards] (INT_LEAST64_MIN): Likewise.
18721 [C99-based standards] (INT_LEAST64_MAX): Likewise.
18722 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
18723 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
18724 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
18725 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
18726 [C99-based standards] (INT_FAST8_MIN): Likewise.
18727 [C99-based standards] (INT_FAST8_MAX): Likewise.
18728 [C99-based standards] (INT_FAST16_MIN): Likewise.
18729 [C99-based standards] (INT_FAST16_MAX): Likewise.
18730 [C99-based standards] (INT_FAST32_MIN): Likewise.
18731 [C99-based standards] (INT_FAST32_MAX): Likewise.
18732 [C99-based standards] (INT_FAST64_MIN): Likewise.
18733 [C99-based standards] (INT_FAST64_MAX): Likewise.
18734 [C99-based standards] (UINT_FAST8_MAX): Likewise.
18735 [C99-based standards] (UINT_FAST16_MAX): Likewise.
18736 [C99-based standards] (UINT_FAST32_MAX): Likewise.
18737 [C99-based standards] (UINT_FAST64_MAX): Likewise.
18738 [C99-based standards] (INTPTR_MIN): Likewise.
18739 [C99-based standards] (INTPTR_MAX): Likewise.
18740 [C99-based standards] (UINTPTR_MAX): Likewise.
18741 [C99-based standards] (INTMAX_MIN): Likewise.
18742 [C99-based standards] (INTMAX_MAX): Likewise.
18743 [C99-based standards] (UINTMAX_MAX): Likewise.
18744 [C99-based standards] (PTRDIFF_MIN): Likewise.
18745 [C99-based standards] (PTRDIFF_MAX): Likewise.
18746 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
18747 [C99-based standards] (SIZE_MAX): Likewise.
18748 [C99-based standards] (WCHAR_MAX): Likewise.
18749 [C99-based standards] (WINT_MAX): Likewise.
18750 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
18751 constraint on value.
18752 [C99-based standards] (WCHAR_MIN): Likewise.
18753 [C99-based standards] (WINT_MIN): Likewise.
18754 [C99-based standards] (*_t): Allow.
18755 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
18756 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
18757 Include math.h-data and complex.h-data. Remove all expectations
18758 of math.h and complex.h contents.
18759 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
18760 at end of line.
18761 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
18762 (struct tm): Expect tag.
18763 [C99-based-standards] (wcstof): Expect function.
18764 [C99-based-standards] (wcstold): Likewise.
18765 [C99-based-standards] (wcstoll): Likewise.
18766 [C99-based-standards] (wcstoull): Likewise.
18767 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
18768 macro-int-constant. Specify type.
18769 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
18770 constraint on value.
18771 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18772 Specify type.
18773 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
18774 Specify value.
18775 [ISO C standards]: Do not allow headers.
18776 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
18777 wcs[abcdefghijklmnopqrstuvwxyz]*.
18778 [ISO C standards] (*_t): Do not allow.
18779 * conform/data/wctype.h-data [C99-based standards] (iswblank):
18780 Expect function.
18781 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
18782 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
18783 Specify type.
18784 [ISO C standards]: Do not allow headers.
18785 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
18786 is[abcdefghijklmnopqrstuvwxyz]*.
18787 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
18788 to[abcdefghijklmnopqrstuvwxyz]*.
18789 [ISO C standards] (*_t): Do not allow.
18790 * conform/data/stdalign.h-data: New file.
18791 * conform/data/stdbool.h-data: Likewise.
18792 * conform/data/stdnoreturn.h-data: Likewise.
18793
7514feb8
RM
187942012-11-07 Roland McGrath <roland@hack.frob.com>
18795
18796 [BZ #14815]
18797 * manual/filesys.texi (Directory Entries): Typo fix.
18798 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
18799
19b2ecfc
MS
188002012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
18801
18802 * elf/elf.h (EM_AARCH64): New macro.
18803 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
18804 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
18805 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
18806 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
18807 (R_AARCH64_TLSDESC): Likewise.
18808 (NT_ARM_TLS): Likewise.
18809 (NT_ARM_HW_BREAK): Likewise.
18810 (NT_ARM_HW_WATCH): Likewise.
18811
60e235ee
JM
188122012-11-07 Joseph Myers <joseph@codesourcery.com>
18813
18814 [BZ #14811]
18815 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
18816 (__ieee754_powl): Saturate nonzero exponents with absolute value
18817 below 0x1p-79 to +/- 0x1p-79.
18818 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
18819 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
18820 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
18821 nonzero exponents with absolute value below 0x1p-32 to +/-
18822 0x1p-32.
18823 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
18824 (__ieee754_powl): Saturate nonzero exponents with absolute value
18825 below 0x1p-79 to +/- 0x1p-79.
18826 * math/libm-test.inc (pow_test): Add more tests.
18827
0ab234b7
AK
188282012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18829
18830 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
18831 _dl_s390_cap_flags with kernel. Increase string length.
18832 (_dl_s390_platforms): Add z196 and zEC12.
18833
45832f74
JM
188342012-11-07 Joseph Myers <joseph@codesourcery.com>
18835
18836 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
18837 Change XOPEN21K to XOPEN2K.
18838
19218757
MK
188392012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
18840
18841 * string/memmove.c: Use memcpy when possible.
18842
c5f45721
AJ
188432012-11-06 Andreas Jaeger <aj@suse.de>
18844
18845 * po/eo.po: Update from translation team.
18846
82477c28
JM
188472012-11-06 Joseph Myers <joseph@codesourcery.com>
18848
18849 [BZ #14793]
18850 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
18851 exponent and small x and y exponents, scale x or y up. Increase
18852 by 2 the exponent used in scaling up.
18853 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18854 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18855 * math/libm-test.inc (fma_test): Add more tests.
18856 (fma_test_towardzero): Likewise.
18857 (fma_test_downward): Likewise.
18858 (fma_test_upward): Likewise.
18859
99252c8c
JM
188602012-11-05 Joseph Myers <joseph@codesourcery.com>
18861
acfa885f
JM
18862 [BZ #14805]
18863 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
18864 fenv_t *.
18865
99252c8c
JM
18866 [BZ #14801]
18867 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
18868 namespace for names of struct fields.
18869 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
18870 fenv_t fields.
18871 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
18872 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
18873
d6d98dea
ST
188742012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18875
18876 [BZ #3665]
18877 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
18878
e10bb107
TS
188792012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18880
18881 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
18882 PTR_DEMANGLE.
18883
18884 [BZ #5246]
18885 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
18886 PTR_DEMANGLE.
18887
a0c2940d
JM
188882012-11-04 Joseph Myers <joseph@codesourcery.com>
18889
18890 [BZ #14797]
18891 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
18892 definitely overflow as x * y not x * y + z.
18893 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18894 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18895 * math/libm-test.inc (fma_test): Add more tests.
18896 (fma_test_towardzero): Likewise.
18897 (fma_test_downward): Likewise.
18898 (fma_test_upward): Likewise.
18899
b830319d
TS
189002012-11-04 Thomas Schwinge <thomas@codesourcery.com>
18901
18902 [BZ #157]
18903
18904 * include/stub-tag.h: Remove file.
18905 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
18906 '#include' of it.
18907 * manual/maint.texi (Porting): Don't reference it.
18908 * Makerules ($(objpfx)stubs): Likewise.
18909 * dirent/closedir.c: Don't include <stub-tag.h>.
18910 * dirent/dirfd.c: Likewise.
18911 * dirent/fdopendir.c: Likewise.
18912 * dirent/getdents.c: Likewise.
18913 * dirent/getdents64.c: Likewise.
18914 * dirent/opendir.c: Likewise.
18915 * dirent/readdir.c: Likewise.
18916 * dirent/readdir64.c: Likewise.
18917 * dirent/readdir64_r.c: Likewise.
18918 * dirent/readdir_r.c: Likewise.
18919 * dirent/rewinddir.c: Likewise.
18920 * dirent/seekdir.c: Likewise.
18921 * dirent/telldir.c: Likewise.
18922 * gmon/profil.c: Likewise.
18923 * grp/setgroups.c: Likewise.
18924 * inet/if_index.c: Likewise.
18925 * io/access.c: Likewise.
18926 * io/chdir.c: Likewise.
18927 * io/chmod.c: Likewise.
18928 * io/chown.c: Likewise.
18929 * io/close.c: Likewise.
18930 * io/dup.c: Likewise.
18931 * io/dup2.c: Likewise.
18932 * io/dup3.c: Likewise.
18933 * io/euidaccess.c: Likewise.
18934 * io/faccessat.c: Likewise.
18935 * io/fchdir.c: Likewise.
18936 * io/fchmod.c: Likewise.
18937 * io/fchmodat.c: Likewise.
18938 * io/fchown.c: Likewise.
18939 * io/fchownat.c: Likewise.
18940 * io/fcntl.c: Likewise.
18941 * io/flock.c: Likewise.
18942 * io/fstatfs.c: Likewise.
18943 * io/fstatfs64.c: Likewise.
18944 * io/fstatvfs.c: Likewise.
18945 * io/fstatvfs64.c: Likewise.
18946 * io/futimens.c: Likewise.
18947 * io/fxstat.c: Likewise.
18948 * io/fxstat64.c: Likewise.
18949 * io/fxstatat.c: Likewise.
18950 * io/fxstatat64.c: Likewise.
18951 * io/getcwd.c: Likewise.
18952 * io/isatty.c: Likewise.
18953 * io/lchmod.c: Likewise.
18954 * io/lchown.c: Likewise.
18955 * io/link.c: Likewise.
18956 * io/linkat.c: Likewise.
18957 * io/lseek.c: Likewise.
18958 * io/lseek64.c: Likewise.
18959 * io/lxstat64.c: Likewise.
18960 * io/mkdir.c: Likewise.
18961 * io/mkdirat.c: Likewise.
18962 * io/mkfifo.c: Likewise.
18963 * io/mkfifoat.c: Likewise.
18964 * io/open.c: Likewise.
18965 * io/open64.c: Likewise.
18966 * io/openat.c: Likewise.
18967 * io/openat64.c: Likewise.
18968 * io/pipe.c: Likewise.
18969 * io/pipe2.c: Likewise.
18970 * io/poll.c: Likewise.
18971 * io/posix_fadvise.c: Likewise.
18972 * io/posix_fadvise64.c: Likewise.
18973 * io/posix_fallocate.c: Likewise.
18974 * io/posix_fallocate64.c: Likewise.
18975 * io/read.c: Likewise.
18976 * io/readlink.c: Likewise.
18977 * io/readlinkat.c: Likewise.
18978 * io/rmdir.c: Likewise.
18979 * io/sendfile.c: Likewise.
18980 * io/sendfile64.c: Likewise.
18981 * io/statfs.c: Likewise.
18982 * io/statfs64.c: Likewise.
18983 * io/statvfs.c: Likewise.
18984 * io/statvfs64.c: Likewise.
18985 * io/symlink.c: Likewise.
18986 * io/symlinkat.c: Likewise.
18987 * io/ttyname.c: Likewise.
18988 * io/ttyname_r.c: Likewise.
18989 * io/umask.c: Likewise.
18990 * io/unlink.c: Likewise.
18991 * io/unlinkat.c: Likewise.
18992 * io/utime.c: Likewise.
18993 * io/utimensat.c: Likewise.
18994 * io/write.c: Likewise.
18995 * io/xmknod.c: Likewise.
18996 * io/xmknodat.c: Likewise.
18997 * io/xstat.c: Likewise.
18998 * io/xstat64.c: Likewise.
18999 * login/getpt.c: Likewise.
19000 * login/grantpt.c: Likewise.
19001 * login/unlockpt.c: Likewise.
19002 * math/e_acoshl.c: Likewise.
19003 * math/e_acosl.c: Likewise.
19004 * math/e_asinl.c: Likewise.
19005 * math/e_atan2l.c: Likewise.
19006 * math/e_atanhl.c: Likewise.
19007 * math/e_coshl.c: Likewise.
19008 * math/e_expl.c: Likewise.
19009 * math/e_fmodl.c: Likewise.
19010 * math/e_gammal_r.c: Likewise.
19011 * math/e_hypotl.c: Likewise.
19012 * math/e_j0l.c: Likewise.
19013 * math/e_j1l.c: Likewise.
19014 * math/e_jnl.c: Likewise.
19015 * math/e_lgammal_r.c: Likewise.
19016 * math/e_log10l.c: Likewise.
19017 * math/e_log2l.c: Likewise.
19018 * math/e_logl.c: Likewise.
19019 * math/e_powl.c: Likewise.
19020 * math/e_rem_pio2l.c: Likewise.
19021 * math/e_sinhl.c: Likewise.
19022 * math/e_sqrtl.c: Likewise.
19023 * math/fclrexcpt.c: Likewise.
19024 * math/fedisblxcpt.c: Likewise.
19025 * math/feenablxcpt.c: Likewise.
19026 * math/fegetenv.c: Likewise.
19027 * math/fegetexcept.c: Likewise.
19028 * math/fegetround.c: Likewise.
19029 * math/feholdexcpt.c: Likewise.
19030 * math/fesetenv.c: Likewise.
19031 * math/fesetround.c: Likewise.
19032 * math/feupdateenv.c: Likewise.
19033 * math/fgetexcptflg.c: Likewise.
19034 * math/fraiseexcpt.c: Likewise.
19035 * math/fsetexcptflg.c: Likewise.
19036 * math/ftestexcept.c: Likewise.
19037 * math/k_cosl.c: Likewise.
19038 * math/k_rem_pio2l.c: Likewise.
19039 * math/k_sinl.c: Likewise.
19040 * math/k_tanl.c: Likewise.
19041 * math/s_asinhl.c: Likewise.
19042 * math/s_atanl.c: Likewise.
19043 * math/s_cbrtl.c: Likewise.
19044 * math/s_erfl.c: Likewise.
19045 * math/s_expm1l.c: Likewise.
19046 * math/s_log1pl.c: Likewise.
19047 * math/s_tanhl.c: Likewise.
19048 * misc/acct.c: Likewise.
19049 * misc/brk.c: Likewise.
19050 * misc/chflags.c: Likewise.
19051 * misc/chroot.c: Likewise.
19052 * misc/fchflags.c: Likewise.
19053 * misc/fgetxattr.c: Likewise.
19054 * misc/flistxattr.c: Likewise.
19055 * misc/fremovexattr.c: Likewise.
19056 * misc/fsetxattr.c: Likewise.
19057 * misc/fsync.c: Likewise.
19058 * misc/ftruncate.c: Likewise.
19059 * misc/futimes.c: Likewise.
19060 * misc/futimesat.c: Likewise.
19061 * misc/getdomain.c: Likewise.
19062 * misc/getdtsz.c: Likewise.
19063 * misc/gethostid.c: Likewise.
19064 * misc/gethostname.c: Likewise.
19065 * misc/getloadavg.c: Likewise.
19066 * misc/getpagesize.c: Likewise.
19067 * misc/getsysstats.c: Likewise.
19068 * misc/getxattr.c: Likewise.
19069 * misc/gtty.c: Likewise.
19070 * misc/ioctl.c: Likewise.
19071 * misc/lgetxattr.c: Likewise.
19072 * misc/listxattr.c: Likewise.
19073 * misc/llistxattr.c: Likewise.
19074 * misc/lremovexattr.c: Likewise.
19075 * misc/lsetxattr.c: Likewise.
19076 * misc/lutimes.c: Likewise.
19077 * misc/madvise.c: Likewise.
19078 * misc/mincore.c: Likewise.
19079 * misc/mlock.c: Likewise.
19080 * misc/mlockall.c: Likewise.
19081 * misc/mmap.c: Likewise.
19082 * misc/mprotect.c: Likewise.
19083 * misc/msync.c: Likewise.
19084 * misc/munlock.c: Likewise.
19085 * misc/munlockall.c: Likewise.
19086 * misc/munmap.c: Likewise.
19087 * misc/preadv.c: Likewise.
19088 * misc/preadv64.c: Likewise.
19089 * misc/ptrace.c: Likewise.
19090 * misc/pwritev.c: Likewise.
19091 * misc/pwritev64.c: Likewise.
19092 * misc/readv.c: Likewise.
19093 * misc/reboot.c: Likewise.
19094 * misc/remap_file_pages.c: Likewise.
19095 * misc/removexattr.c: Likewise.
19096 * misc/revoke.c: Likewise.
19097 * misc/select.c: Likewise.
19098 * misc/setdomain.c: Likewise.
19099 * misc/setegid.c: Likewise.
19100 * misc/seteuid.c: Likewise.
19101 * misc/sethostid.c: Likewise.
19102 * misc/sethostname.c: Likewise.
19103 * misc/setregid.c: Likewise.
19104 * misc/setreuid.c: Likewise.
19105 * misc/setxattr.c: Likewise.
19106 * misc/sstk.c: Likewise.
19107 * misc/stty.c: Likewise.
19108 * misc/swapoff.c: Likewise.
19109 * misc/swapon.c: Likewise.
19110 * misc/sync.c: Likewise.
19111 * misc/syncfs.c: Likewise.
19112 * misc/syscall.c: Likewise.
19113 * misc/truncate.c: Likewise.
19114 * misc/ualarm.c: Likewise.
19115 * misc/usleep.c: Likewise.
19116 * misc/ustat.c: Likewise.
19117 * misc/utimes.c: Likewise.
19118 * misc/vhangup.c: Likewise.
19119 * misc/writev.c: Likewise.
19120 * posix/_exit.c: Likewise.
19121 * posix/alarm.c: Likewise.
19122 * posix/execve.c: Likewise.
19123 * posix/fexecve.c: Likewise.
19124 * posix/fork.c: Likewise.
19125 * posix/fpathconf.c: Likewise.
19126 * posix/getaddrinfo.c: Likewise.
19127 * posix/getegid.c: Likewise.
19128 * posix/geteuid.c: Likewise.
19129 * posix/getgid.c: Likewise.
19130 * posix/getgroups.c: Likewise.
19131 * posix/getlogin.c: Likewise.
19132 * posix/getlogin_r.c: Likewise.
19133 * posix/getpgid.c: Likewise.
19134 * posix/getpid.c: Likewise.
19135 * posix/getppid.c: Likewise.
19136 * posix/getresgid.c: Likewise.
19137 * posix/getresuid.c: Likewise.
19138 * posix/getsid.c: Likewise.
19139 * posix/getuid.c: Likewise.
19140 * posix/glob64.c: Likewise.
19141 * posix/nanosleep.c: Likewise.
19142 * posix/pathconf.c: Likewise.
19143 * posix/pause.c: Likewise.
19144 * posix/posix_madvise.c: Likewise.
19145 * posix/pread.c: Likewise.
19146 * posix/pread64.c: Likewise.
19147 * posix/pwrite.c: Likewise.
19148 * posix/pwrite64.c: Likewise.
19149 * posix/sched_getaffinity.c: Likewise.
19150 * posix/sched_getp.c: Likewise.
19151 * posix/sched_gets.c: Likewise.
19152 * posix/sched_primax.c: Likewise.
19153 * posix/sched_primin.c: Likewise.
19154 * posix/sched_rr_gi.c: Likewise.
19155 * posix/sched_setaffinity.c: Likewise.
19156 * posix/sched_setp.c: Likewise.
19157 * posix/sched_sets.c: Likewise.
19158 * posix/sched_yield.c: Likewise.
19159 * posix/setgid.c: Likewise.
19160 * posix/setlogin.c: Likewise.
19161 * posix/setpgid.c: Likewise.
19162 * posix/setresgid.c: Likewise.
19163 * posix/setresuid.c: Likewise.
19164 * posix/setsid.c: Likewise.
19165 * posix/setuid.c: Likewise.
19166 * posix/sleep.c: Likewise.
19167 * posix/spawni.c: Likewise.
19168 * posix/sysconf.c: Likewise.
19169 * posix/times.c: Likewise.
19170 * posix/wait.c: Likewise.
19171 * posix/wait3.c: Likewise.
19172 * posix/wait4.c: Likewise.
19173 * posix/waitpid.c: Likewise.
19174 * resolv/gai_sigqueue.c: Likewise.
19175 * resource/getpriority.c: Likewise.
19176 * resource/getrlimit.c: Likewise.
19177 * resource/getrusage.c: Likewise.
19178 * resource/nice.c: Likewise.
19179 * resource/setpriority.c: Likewise.
19180 * resource/setrlimit.c: Likewise.
19181 * resource/ulimit.c: Likewise.
19182 * rt/aio_cancel.c: Likewise.
19183 * rt/aio_fsync.c: Likewise.
19184 * rt/aio_read.c: Likewise.
19185 * rt/aio_sigqueue.c: Likewise.
19186 * rt/aio_suspend.c: Likewise.
19187 * rt/aio_write.c: Likewise.
19188 * rt/clock_getres.c: Likewise.
19189 * rt/clock_gettime.c: Likewise.
19190 * rt/clock_nanosleep.c: Likewise.
19191 * rt/clock_settime.c: Likewise.
19192 * rt/lio_listio.c: Likewise.
19193 * rt/mq_close.c: Likewise.
19194 * rt/mq_getattr.c: Likewise.
19195 * rt/mq_notify.c: Likewise.
19196 * rt/mq_open.c: Likewise.
19197 * rt/mq_receive.c: Likewise.
19198 * rt/mq_send.c: Likewise.
19199 * rt/mq_setattr.c: Likewise.
19200 * rt/mq_timedreceive.c: Likewise.
19201 * rt/mq_timedsend.c: Likewise.
19202 * rt/mq_unlink.c: Likewise.
19203 * rt/shm_open.c: Likewise.
19204 * rt/shm_unlink.c: Likewise.
19205 * rt/timer_create.c: Likewise.
19206 * rt/timer_delete.c: Likewise.
19207 * rt/timer_getoverr.c: Likewise.
19208 * rt/timer_gettime.c: Likewise.
19209 * rt/timer_settime.c: Likewise.
19210 * setjmp/__longjmp.c: Likewise.
19211 * setjmp/setjmp.c: Likewise.
19212 * signal/kill.c: Likewise.
19213 * signal/killpg.c: Likewise.
19214 * signal/raise.c: Likewise.
19215 * signal/sigaction.c: Likewise.
19216 * signal/sigaltstack.c: Likewise.
19217 * signal/sigblock.c: Likewise.
19218 * signal/sigignore.c: Likewise.
19219 * signal/sigintr.c: Likewise.
19220 * signal/signal.c: Likewise.
19221 * signal/sigpause.c: Likewise.
19222 * signal/sigpending.c: Likewise.
19223 * signal/sigqueue.c: Likewise.
19224 * signal/sigreturn.c: Likewise.
19225 * signal/sigset.c: Likewise.
19226 * signal/sigsetmask.c: Likewise.
19227 * signal/sigstack.c: Likewise.
19228 * signal/sigsuspend.c: Likewise.
19229 * signal/sigtimedwait.c: Likewise.
19230 * signal/sigvec.c: Likewise.
19231 * signal/sigwait.c: Likewise.
19232 * signal/sigwaitinfo.c: Likewise.
19233 * signal/sysv_signal.c: Likewise.
19234 * socket/accept.c: Likewise.
19235 * socket/accept4.c: Likewise.
19236 * socket/bind.c: Likewise.
19237 * socket/connect.c: Likewise.
19238 * socket/getpeername.c: Likewise.
19239 * socket/getsockname.c: Likewise.
19240 * socket/getsockopt.c: Likewise.
19241 * socket/isfdtype.c: Likewise.
19242 * socket/listen.c: Likewise.
19243 * socket/recv.c: Likewise.
19244 * socket/recvfrom.c: Likewise.
19245 * socket/recvmsg.c: Likewise.
19246 * socket/send.c: Likewise.
19247 * socket/sendmsg.c: Likewise.
19248 * socket/sendto.c: Likewise.
19249 * socket/setsockopt.c: Likewise.
19250 * socket/shutdown.c: Likewise.
19251 * socket/sockatmark.c: Likewise.
19252 * socket/socket.c: Likewise.
19253 * socket/socketpair.c: Likewise.
19254 * stdio-common/ctermid.c: Likewise.
19255 * stdio-common/cuserid.c: Likewise.
19256 * stdio-common/remove.c: Likewise.
19257 * stdio-common/rename.c: Likewise.
19258 * stdio-common/renameat.c: Likewise.
19259 * stdio-common/tempname.c: Likewise.
19260 * stdlib/getcontext.c: Likewise.
19261 * stdlib/makecontext.c: Likewise.
19262 * stdlib/setcontext.c: Likewise.
19263 * stdlib/swapcontext.c: Likewise.
19264 * stdlib/system.c: Likewise.
19265 * streams/fattach.c: Likewise.
19266 * streams/fdetach.c: Likewise.
19267 * streams/getmsg.c: Likewise.
19268 * streams/getpmsg.c: Likewise.
19269 * streams/putmsg.c: Likewise.
19270 * streams/putpmsg.c: Likewise.
19271 * sysdeps/unix/bsd/getpt.c: Likewise.
19272 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
19273 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
19274 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
19276 Likewise.
19277 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
19278 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
19279 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19280 * sysvipc/msgctl.c: Likewise.
19281 * sysvipc/msgget.c: Likewise.
19282 * sysvipc/msgrcv.c: Likewise.
19283 * sysvipc/msgsnd.c: Likewise.
19284 * sysvipc/semctl.c: Likewise.
19285 * sysvipc/semget.c: Likewise.
19286 * sysvipc/semop.c: Likewise.
19287 * sysvipc/semtimedop.c: Likewise.
19288 * sysvipc/shmat.c: Likewise.
19289 * sysvipc/shmctl.c: Likewise.
19290 * sysvipc/shmdt.c: Likewise.
19291 * sysvipc/shmget.c: Likewise.
19292 * termios/tcdrain.c: Likewise.
19293 * termios/tcflow.c: Likewise.
19294 * termios/tcflush.c: Likewise.
19295 * termios/tcgetattr.c: Likewise.
19296 * termios/tcgetpgrp.c: Likewise.
19297 * termios/tcsendbrk.c: Likewise.
19298 * termios/tcsetattr.c: Likewise.
19299 * termios/tcsetpgrp.c: Likewise.
19300 * time/adjtime.c: Likewise.
19301 * time/clock.c: Likewise.
19302 * time/getitimer.c: Likewise.
19303 * time/gettimeofday.c: Likewise.
19304 * time/setitimer.c: Likewise.
19305 * time/settimeofday.c: Likewise.
19306 * time/stime.c: Likewise.
19307 * time/time.c: Likewise.
19308
193092012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 19310
a20492cf
PT
19311 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
19312 /usr/old/bin.
19313
72e182e3
PT
19314 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
19315 instead of spaces.
19316 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
19317
fbeafede
JM
193182012-11-03 Joseph Myers <joseph@codesourcery.com>
19319
5b5b04d6
JM
19320 [BZ #14796]
19321 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
19322 FE_TONEAREST before applying Dekker multiplication and Knuth
19323 addition. Clear inexact exceptions and check for exact zero
19324 results afterwards.
19325 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19326 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19327 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19328 * math/libm-test.inc (fma_test): Add more tests.
19329 (fma_test_towardzero): Likewise.
19330 (fma_test_downward): Likewise.
19331 (fma_test_upward): Likewise.
19332 * sysdeps/generic/math_private.h (default_libc_fesetround): New
19333 function.
19334 (libc_fesetround): New macro.
19335 (libc_fesetroundf): Likewise.
19336 (libc_fesetroundl): Likewise.
19337 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
19338 function.
19339 (libc_fesetround_387): Likewise.
19340 (libc_fesetroundf): New macro.
19341 (libc_fesetround): Likewise.
19342 (libc_fesetroundl): Likewise.
19343 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
19344 function.
19345 (libc_fesetroundf): New macro.
19346 (libc_fesetround): Likewise.
19347 (libc_fesetroundl): Likewise.
19348 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
19349 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
19350 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
19351 libm_hidden_ver.
19352 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
19353 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
19354 libm_hidden_def.
19355 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
19356 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
19357 libm_hidden_ver.
19358 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
19359 libm_hidden_def.
19360
fbeafede
JM
19361 [BZ #3439]
19362 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
19363 integer constant usable in #if and use that to give value to enum
19364 constant.
19365 (FE_DIVBYZERO): Likewise.
19366 (FE_UNDERFLOW): Likewise.
19367 (FE_OVERFLOW): Likewise.
19368 (FE_INVALID): Likewise.
19369 (FE_INVALID_SNAN): Likewise.
19370 (FE_INVALID_ISI): Likewise.
19371 (FE_INVALID_IDI): Likewise.
19372 (FE_INVALID_ZDZ): Likewise.
19373 (FE_INVALID_IMZ): Likewise.
19374 (FE_INVALID_COMPARE): Likewise.
19375 (FE_INVALID_SOFTWARE): Likewise.
19376 (FE_INVALID_SQRT): Likewise.
19377 (FE_INVALID_INTEGER_CONVERSION): Likewise.
19378 (FE_TONEAREST): Likewise.
19379 (FE_TOWARDZERO): Likewise.
19380 (FE_UPWARD): Likewise.
19381 (FE_DOWNWARD): Likewise.
19382 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
19383 (FE_DIVBYZERO): Likewise.
19384 (FE_OVERFLOW): Likewise.
19385 (FE_UNDERFLOW): Likewise.
19386 (FE_INEXACT): Likewise.
19387 (FE_TONEAREST): Likewise.
19388 (FE_DOWNWARD): Likewise.
19389 (FE_UPWARD): Likewise.
19390 (FE_TOWARDZERO): Likewise.
19391 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
19392 (FE_UNDERFLOW): Likewise.
19393 (FE_OVERFLOW): Likewise.
19394 (FE_DIVBYZERO): Likewise.
19395 (FE_INVALID): Likewise.
19396 (FE_TONEAREST): Likewise.
19397 (FE_TOWARDZERO): Likewise.
19398 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
19399 (FE_OVERFLOW): Likewise.
19400 (FE_UNDERFLOW): Likewise.
19401 (FE_DIVBYZERO): Likewise.
19402 (FE_INEXACT): Likewise.
19403 (FE_TONEAREST): Likewise.
19404 (FE_TOWARDZERO): Likewise.
19405 (FE_UPWARD): Likewise.
19406 (FE_DOWNWARD): Likewise.
19407 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
19408 (FE_DIVBYZERO): Likewise.
19409 (FE_OVERFLOW): Likewise.
19410 (FE_UNDERFLOW): Likewise.
19411 (FE_INEXACT): Likewise.
19412 (FE_TONEAREST): Likewise.
19413 (FE_DOWNWARD): Likewise.
19414 (FE_UPWARD): Likewise.
19415 (FE_TOWARDZERO): Likewise.
19416
105ca950
CM
194172012-11-02 Chris Metcalf <cmetcalf@tilera.com>
19418
19419 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
19420
a542b389
AS
194212012-11-03 Andreas Schwab <schwab@linux-m68k.org>
19422
19423 * scripts/cross-test-ssh.sh (command): Use newlines to separate
19424 commands. Quote $PWD.
19425 (blacklist_exports): Don't use remove_newlines. Replace "declare
19426 -x" by "export".
19427 (remove_newlines): Remove.
19428
f62c8abc
L
194292012-11-02 H.J. Lu <hongjiu.lu@intel.com>
19430
19431 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
19432 * stdlib/stdlib.h (atof): Moved to ...
19433 * include/bits/stdlib-float.h: Here. New file.
19434 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
19435 * stdlib/bits/stdlib-float.h: New file.
19436 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
19437 -mno-sse -mno-mmx.
19438 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
19439 <xmmintrin.h>.
19440
0155d5b2
JM
194412012-11-02 Joseph Myers <joseph@codesourcery.com>
19442
a68d0680
JM
19443 * conform/conformtest.pl (@headers): Add fenv.h.
19444 * conform/data/fenv.h-data: New file.
19445 * include/fenv.h [_ISOMAC]: Disable all contents of file except
19446 include of <math/fenv.h>.
19447
caf7f573
JM
19448 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
19449 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
19450 && !UNIX98]. Enables tests for XOPEN2K8.
19451 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
19452 POSIX2008]: Likewise.
19453
6c073ad6
JM
19454 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
19455 (struct rusage): Do not expect type or its members.
19456
0155d5b2
JM
19457 [BZ #3439]
19458 * math/math.h (FP_NAN): Define macro to integer constant usable in
19459 #if and use that to give value to enum constant.
19460 (FP_INFINITE): Likewise.
19461 (FP_ZERO): Likewise.
19462 (FP_SUBNORMAL): Likewise.
19463 (FP_NORMAL): Likewise.
19464
b5dcacb4
AS
194652012-11-02 Andreas Schwab <schwab@linux-m68k.org>
19466
19467 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
19468 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
19469 arguments.
19470
f7934be8
RM
194712012-11-02 Roland McGrath <roland@hack.frob.com>
19472
19473 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
19474 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
19475 autoconf-time if not.
19476 * configure.in: Remove AC_PREREQ.
19477
d7d08bde
TMQMF
194782012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19479
19480 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
19481 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
19482 of the internal implementation.
19483
dcdae19a
JM
194842012-11-02 Joseph Myers <joseph@codesourcery.com>
19485
19486 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
19487 except include of <misc/sys/syslog.h>.
19488
d6cffd3e
AS
194892012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19490
19491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
19492 function returns with a NULL context exit with zero.
19493
b3563932
TMQMF
194942012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19495
19496 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
19497
b288a93d
L
194982012-11-01 H.J. Lu <hongjiu.lu@intel.com>
19499
19500 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
19501 (run_program_cmd): This.
19502 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
19503 (tst_langinfo): New variable. Use it.
19504
a2421a68
SAS
195052012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
19506
19507 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
19508 floating point opcodes.
19509
6f796e1b
TS
195102012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19511
7402596b
TS
19512 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
19513 variable.
19514
d0d4f868
TS
19515 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
19516
6f796e1b
TS
19517 * sysdeps/mach/hurd/powerpc: Remove directory.
19518 * sysdeps/mach/powerpc: Likewise.
19519
4da224a2
AS
195202012-11-01 Andreas Schwab <schwab@linux-m68k.org>
19521
19522 * scripts/check-local-headers.sh: Ignore c++ headers.
19523
341dd673
TS
195242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19525
19526 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
19527 __libc_cleanup_region_start argument.
19528
473611b2
JM
195292012-11-01 Joseph Myers <joseph@codesourcery.com>
19530
19531 [BZ #14784]
19532 [BZ #14785]
19533 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
19534 x * y using scaling, not as x * y + z.
19535 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19536 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19537 * math/libm-test.inc (fma_test): Add more tests.
19538 (fma_test_towardzero): Likewise.
19539 (fma_test_downward): Likewise.
19540 (fma_test_upward): Likewise.
19541
4078da3d
TS
195422012-11-01 Thomas Schwinge <thomas@codesourcery.com>
19543
19544 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
19545
903252aa
JM
195462012-10-31 Joseph Myers <joseph@codesourcery.com>
19547
19548 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
19549 New variable.
19550
cbc818d0
TS
195512012-10-31 Thomas Schwinge <thomas@codesourcery.com>
19552
19553 * rt/tst-shm.c (worker): Correct checking for mmap failure.
19554
5a03cb1e
AS
195552012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19556
19557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19558 Fix sort order.
19559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19560 Likewise.
19561
90aff2ff
TMQMF
195622012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19563
19564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19565 Fix the order of the list for glibc 2.17.
19566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19567 Likewise.
19568
1818fcb7
AS
195692012-10-31 Andreas Schwab <schwab@linux-m68k.org>
19570
19571 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19572
ef82f4da
JM
195732012-10-31 Joseph Myers <joseph@codesourcery.com>
19574
16a0e2ec
JM
19575 [BZ #14610]
19576 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
19577 for low part of x being zero before using __atanl (y).
19578 * math/libm-test.inc (atan2_test): Add another test.
19579
0eb69512
JM
19580 * manual/install.texi (Configuring and compiling): Document
19581 general use of test-wrapper and test-wrapper-env.
19582 * INSTALL: Regenerated.
19583
ef82f4da
JM
19584 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
19585 (__fma): Do not extract and scale down low bits on after-rounding
19586 systems when result rounded to normal precision would have normal
19587 exponent.
19588 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
19589 (__fmal): Do not extract and scale down low bits on after-rounding
19590 systems when result rounded to normal precision would have normal
19591 exponent.
19592 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
19593 (__fmal): Do not extract and scale down low bits on after-rounding
19594 systems when result rounded to normal precision would have normal
19595 exponent.
19596 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
19597 macro.
19598 (fma_test): Add more tests.
19599 (fma_test_towardzero): Likewise.
19600 (fma_test_downward): Likewise.
19601 (fma_test_upward): Likewise.
19602
954ef0d9
L
196032012-10-30 H.J. Lu <hongjiu.lu@intel.com>
19604
19605 * sysdeps/i386/tininess.h: Renamed to ...
19606 * sysdeps/x86/tininess.h: This.
19607 * sysdeps/x86_64/tininess.h: Removed.
19608
df61ffb2
JM
196092012-10-30 Joseph Myers <joseph@codesourcery.com>
19610
19611 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
19612 input. Use $(build-program-cmd).
19613 ($(objpfx)tst-array1-static.out): Likewise.
19614 ($(objpfx)tst-array2.out): Likewise.
19615 ($(objpfx)tst-array3.out): Likewise.
19616 ($(objpfx)tst-array4.out): Likewise.
19617 ($(objpfx)tst-array5.out): Likewise.
19618 ($(objpfx)tst-array5-static.out): Likewise.
19619
01767843
CM
196202012-10-30 Chris Metcalf <cmetcalf@tilera.com>
19621
47cc1490
CM
19622 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
19623 if defined.
19624
01767843
CM
19625 * nss/nsswitch.h (nss_interface_function): Provide new
19626 macro for use with NSS functions.
19627 * grp/initgroups.c: Use new macro.
19628 * nss/getXXbyYY.c: Likewise.
19629 * nss/getXXbyYY_r.c: Likewise.
19630 * nss/getXXent.c: Likewise.
19631 * nss/getXXent_r.c: Likewise.
19632 * sysdeps/posix/getaddrinfo.c: Likewise.
19633
8321aa97
AJ
196342012-10-30 Andreas Jaeger <aj@suse.de>
19635
19636 * po/ru.po: Update Russion translation from translation project.
19637
2a27fd6d
JM
196382012-10-30 Joseph Myers <joseph@codesourcery.com>
19639
8627a232
JM
19640 [BZ #14152]
19641 [BZ #14783]
19642 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
19643 result and shift together with sticky bit instead of replicating
19644 round-to-nearest rounding.
19645 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19646 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19647 * math/libm-test.inc (fma_test): Add more tests. Do not permit
19648 missing underflow exceptions.
19649 (fma_test_towardzero): Add more tests.
19650 (fma_test_downward): Likewise.
19651 (fma_test_upward): Likewise.
19652
2a27fd6d
JM
19653 [BZ #14047]
19654 * sysdeps/generic/tininess.h: New file.
19655 * sysdeps/i386/tininess.h: Likewise.
19656 * sysdeps/sh/tininess.h: Likewise.
19657 * sysdeps/x86_64/tininess.h: Likewise.
19658 * stdlib/tst-strtod-underflow.c: Likewise.
19659 * stdlib/tst-tininess.c: Likewise.
19660 * stdlib/strtod_l.c: Include <tininess.h>.
19661 (round_and_return): Do not set errno for exact underflow cases.
19662 Force an underflow exception when setting errno for underflow.
19663 Determine underflow based on rounding to normal precision if
19664 TININESS_AFTER_ROUNDING.
19665 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
19666 ERANGE for exact underflow cases.
19667 * stdlib/Makefile (tests): Add tst-tininess and
19668 tst-strtod-underflow.
19669 ($(objpfx)tst-tininess): Use $(link-libm).
19670 ($(objpfx)tst-strtod-underflow): Likewise.
19671
e7170363
AJ
196722012-10-30 Andreas Jaeger <aj@suse.de>
19673
e5088dc6
AJ
19674 [BZ#14767]
19675 * elf/Makefile (tests): Remove conditional for have-initfini-array
19676 since this is now always required and the variable does not exist
19677 anymore.
19678 (tests-static): Likewise.
19679 (modules-names): Likewise.
19680
e7170363 19681 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
19682
19683 * elf/tst-array1.c (fini_array): Make writeable so that it can be
19684 merged with constructor/destructor.
19685 (init_array): Likewise.
19686 * elf/tst-array2dep.c (fini_array): Likewise.
19687 (init_array): Likewise.
19688
60457d8a
MF
196892012-10-29 Mike Frysinger <vapier@gentoo.org>
19690
19691 * manual/message.texi: Delete @cartouche tags.
19692
8bece752
PT
196932012-10-29 Pino Toscano <toscano.pino@tiscali.it>
19694
94ce799f
PT
19695 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
19696 EOPNOTSUPP.
19697 * sysdeps/mach/hurd/fsync.c: Likewise.
19698
8bece752
PT
19699 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
19700 [_POSIX_REALTIME_SIGNALS]: Change condition to
19701 [_POSIX_REALTIME_SIGNALS > 0].
19702
86ebe6b1
AJ
197032012-10-27 Andreas Jaeger <aj@suse.de>
19704
19705 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
19706 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
19707 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
19708 [__WORDSIZE != 64]: Likewise.
19709
54399c08
L
197102012-10-26 H.J. Lu <hongjiu.lu@intel.com>
19711
19712 * iconvdata/tst-table.sh: Remove ${SHELL}.
19713 * iconvdata/tst-tables.sh: Likewise.
19714
e2211bed
DM
197152012-10-25 David S. Miller <davem@davemloft.net>
19716
19717 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19718 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
19719 of strtoull.
19720
f303f97c
DM
19721 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
19722 ifunc-impl-list.c
19723 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
19724 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
19725 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
19726 file.
19727
1e9d84cd
RM
197282012-10-25 Roland McGrath <roland@hack.frob.com>
19729
19730 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19731 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
19732 __getdirentries.
19733
df381762
JM
197342012-10-25 Joseph Myers <joseph@codesourcery.com>
19735 Jim Blandy <jimb@codesourcery.com>
19736
19737 * scripts/cross-test-ssh.sh: New file.
19738 * manual/install.texi (Configuring and compiling): Document use of
19739 cross-test-ssh.sh.
19740 * INSTALL: Regenerated.
19741
bff64913
PT
197422012-10-25 Pino Toscano <toscano.pino@tiscali.it>
19743
19744 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
19745 EOPNOTSUPP.
19746
25fe8932
JM
197472012-10-25 Joseph Myers <joseph@codesourcery.com>
19748
19749 * Makeconfig (run-program-prefix): Fix comment.
19750
cc1290d0
JM
197512012-10-24 Joseph Myers <joseph@codesourcery.com>
19752 Jim Blandy <jimb@codesourcery.com>
19753
19754 * Makeconfig (test-wrapper): New variable,
19755 (test-wrapper-env): Likewise.
19756 [$(cross-compiling) = yes && $(test-wrapper) != ""]
19757 (run-built-tests): Define to yes.
19758 (run-program-prefix): Use $(test-wrapper).
19759 (built-program-cmd): Likewise.
19760 * Rules (make-test-out): Use $(test-wrapper-env) and
19761 $(host-built-program-cmd).
19762 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
19763 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
19764 tst-pathopt.sh.
19765 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
19766 $(test-wrapper-env) to tst-rtld-load-self.sh.
19767 ($(objpfx)order2.out): Use $(test-wrapper).
19768 ($(objpfx)tst-initorder.out): Likewise.
19769 ($(objpfx)tst-initorder2.out): Likewise.
19770 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
19771 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
19772 (test_wrapper_env): New variable. Use it to run ld.so.
19773 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
19774 Use it to run ld.so.
19775 (test_wrapper_env): Likewise.
19776 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
19777 $(test-wrapper) to run-iconv-test.sh.
19778 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
19779 (ICONV): Use $test_wrapper.
19780 * posix/Makefile ($(objpfx)globtest.out): Pass
19781 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
19782 globtest.sh, not $(run-program-prefix).
19783 * posix/globtest.sh (run_via_rtld_prefix): New variable.
19784 (test_wrapper): Likewise.
19785 (test_wrapper_env): Likewise. Use it to run globtest with HOME
19786 set together with run_via_rtld_prefix.
19787 (run_program_prefix): Define in terms of test_wrapper and
19788 run_via_rtld_prefix.
19789
6e6249d0
RM
197902012-10-24 Roland McGrath <roland@hack.frob.com>
19791
19792 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
19793 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
19794 Targets removed.
19795
19796 [BZ #14743]
19797 * include/time.h: Remove librt_hidden_proto (clock_gettime).
19798 Declare __clock_getres, __clock_gettime, __clock_settime,
19799 __clock_nanosleep, and __clock_getcpuclockid.
19800 * rt/clock_gettime.c: Define __clock_gettime as an alias.
19801 Remove librt_hidden_def (clock_gettime).
19802 * sysdeps/unix/clock_gettime.c: Likewise.
19803 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
19804 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19805 * rt/clock_getres.c: Define __clock_getres as an alias.
19806 * sysdeps/posix/clock_getres.c: Likewise.
19807 * rt/clock_settime.c: Define __clock_settime as an alias.
19808 * sysdeps/unix/clock_settime.c: Likewise.
19809 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
19810 * sysdeps/unix/clock_nanosleep.c: Likewise.
19811 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19812 * rt/clock-compat.c: New file.
19813 * rt/Makefile (librt-routines): Add clock-compat and move
19814 $(clock-routines) to ...
19815 (routines): ... here, new variable.
19816 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
19817 Don't add get_clockfreq here.
19818 * rt/Versions (libc: GLIBC_2.17): New version set.
19819 Add clock_* symbols here.
19820 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
19821 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
19822 (GLIBC_2.17): Add clock_* symbols.
19823 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19825 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19827 Likewise.
19828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19829 Likewise.
19830 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19831 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19832 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19833 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19834 * NEWS: Mention the move.
19835
19836 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19837 Use __open, __read, __close rather than their public counterparts.
19838 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
19839 (__get_clockfreq_via_cpuinfo): Likewise.
19840 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
19841 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
19842
19843 * config.h.in (HAVE_IFUNC): New #undef.
19844 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
19845 was successful.
19846 * configure: Regenerated.
19847
0cae3f4b
MF
198482012-10-24 Mike Frysinger <vapier@gentoo.org>
19849
19850 * configure.in: Move READELF check to start of file.
19851 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
19852 libc_cv_asm_gnu_indirect_function in the process.
19853 * configure: Regenerated.
19854
8175a253
MF
198552012-10-24 Mike Frysinger <vapier@gentoo.org>
19856
19857 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
19858 send the output to /dev/null.
19859 (libc_cv_cc_with_libunwind): Likewise.
19860 (libc_cv_as_noexecstack): Likewise.
19861 * configure: Regenerate.
19862
0708a7d1
JM
198632012-10-24 Joseph Myers <joseph@codesourcery.com>
19864
10b40d85
JM
19865 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
19866
0708a7d1
JM
19867 * posix/globtest.sh (TMPDIR): Do not set.
19868 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
19869 (testout): Likewise.
19870
9fddec1a
AJ
198712012-10-24 Andreas Jaeger <aj@suse.de>
19872
3a8db22f
AJ
19873 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
19874 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
19875 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
19876 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
19877 posix_fadvise64, posix_fallocate64.
19878
9fddec1a
AJ
19879 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
19880 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
19881 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
19882 Likewise.
19883 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
19884 Likewise.
19885 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
19886
19887 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
19888 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
19889 <bits/fcntl-linux.h>.
19890 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
19891
19892 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
19893 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
19894 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
19895 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
19896 [__WORDSIZE != 64]: Likewise.
19897
ebfd1bbd
JM
198982012-10-23 Joseph Myers <joseph@codesourcery.com>
19899
03ac099f
JM
19900 * Makeconfig (run-built-tests): New variable.
19901 * Rules [$(cross-compiling) = yes]: Change condition to
19902 [$(run-built-tests) = no].
19903 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
19904 to [$(run-built-tests) = yes].
19905 * elf/Makefile [$(cross-compiling) = no]: Likewise
19906 * grp/Makefile [$(cross-compiling) = no]: Likewise.
19907 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
19908 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
19909 * intl/Makefile [$(cross-compiling) = no]: Likewise.
19910 * io/Makefile [$(cross-compiling) = no]: Likewise.
19911 * libio/Makefile [$(cross-compiling) = no]: Likewise.
19912 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
19913 * misc/Makefile [$(cross-compiling) = no]: Likewise.
19914 * posix/Makefile [$(cross-compiling) = no]: Likewise.
19915 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
19916 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
19917 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
19918 * string/Makefile [$(cross-compiling) = no]: Likewise.
19919
ebfd1bbd
JM
19920 * posix/Makefile ($(objpfx)globtest.out): Pass
19921 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
19922 $(rtld-installed-name).
19923 * posix/globtest.sh (elf_objpfx): Remove variable.
19924 (rtld_installed_name): Likewise.
19925 (library_path): Likewise.
19926 (run_program_prefix): New variable. Use for running globtest
19927 binary.
19928
166bca24
JB
199292012-10-23 Jim Blandy <jimb@codesourcery.com>
19930 Joseph Myers <joseph@codesourcery.com>
19931
19932 * Makeconfig (host-built-program-cmd): New variable.
19933 * elf/Makefile (tst-stackguard1-ARGS): Use
19934 $(host-built-program-cmd).
19935 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
19936 (tst-spawn-ARGS): Likewise.
19937 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
19938
88866099
JM
199392012-10-23 Joseph Myers <joseph@codesourcery.com>
19940 Jim Blandy <jimb@codesourcery.com>
19941
19942 * Makeconfig (run-via-rtld-prefix): New variable.
19943 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
19944 (built-program-cmd): Likewise.
19945
b4b4c296
AJ
199462012-10-22 Andreas Jaeger <aj@suse.de>
19947
19948 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
19949 __O_RSYNC if it exists, otherwise to O_SYNC.
19950
6fb54a22
JB
199512012-10-22 Jim Blandy <jimb@codesourcery.com>
19952 Joseph Myers <joseph@codesourcery.com>
19953
19954 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
19955 /dev/null.
19956 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
19957 from /dev/null
19958 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
19959 /dev/null.
19960
481b90b9
AJ
199612012-10-22 Andreas Jaeger <aj@suse.de>
19962
2a0e2669
AJ
19963 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
19964 Define always.
19965 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
19966
76e38f9a
AJ
19967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
19968 bits/fcntl-linux.h.
19969
7cd37b43
AJ
19970 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
19971 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
19972
481b90b9
AJ
19973 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
19974 to __O_LARGEFILE.
19975 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
19976 to __O_LARGEFILE.
19977
aba75984
JB
199782012-10-21 Jim Blandy <jimb@codesourcery.com>
19979 Joseph Myers <joseph@codesourcery.com>
19980
19981 * config.make.in (NM): New variable.
19982
88d4247f
AJ
199832012-10-21 Andreas Jaeger <aj@suse.de>
19984
19985 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
19986 definitions and declarations that are provided by
19987 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19988
f2eed205
L
199892012-10-20 H.J. Lu <hongjiu.lu@intel.com>
19990
19991 [BZ #14683]
19992 * elf/Makefile (tests-static): Add tst-leaks1-static.
19993 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
19994 ($(objpfx)tst-leaks1-static): New rule.
19995 ($(objpfx)tst-leaks1-static-mem): Likewise.
19996 (tst-leaks1-static-ENV): New macro.
19997 * elf/dl-open.c (dl_open_worker): Check the main application
19998 only if SHARED is defined.
19999 * elf/tst-leaks1-static.c: New file.
20000
335e6931
AJ
200012012-10-20 Andreas Jaeger <aj@suse.de>
20002
20003 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
20004 generic values for Linux.
20005 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
20006 and declarations that are provided by <bits/fcntl-linux.h> and
20007 include <bits/fcntl-linux.h>.
20008 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
20009 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
20010
ac5c94d3
RM
200112012-10-20 Roland McGrath <roland@hack.frob.com>
20012
20013 * io/fcntl.h: Move include of <bits/types.h> to the top and
20014 include it unconditionally.
20015
de54b33a
L
200162012-10-20 H.J. Lu <hongjiu.lu@intel.com>
20017
228cfb01
L
20018 * wcsmbs/Makefile (tests-ifunc): New variable.
20019 (tests): Add $(tests-ifunc).
20020 * wcsmbs/test-wcschr-ifunc.c: New file.
20021 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
20022 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
20023 * wcsmbs/test-wcslen-ifunc.c: Likewise.
20024 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
20025 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
20026
69f07e5f
L
20027 * string/Makefile (tests-ifunc): New variable.
20028 (tests): Add $(tests-ifunc).
20029 * string/test-memccpy.c (TEST_NAME): New macro.
20030 * string/test-memchr.c (TEST_NAME): Likewise.
20031 * string/test-memcmp.c (TEST_NAME): Likewise.
20032 * string/test-memcpy.c (TEST_NAME): Likewise.
20033 * string/test-memmem.c (TEST_NAME): Likewise.
20034 * string/test-memmove.c (TEST_NAME): Likewise.
20035 * string/test-memset.c (TEST_NAME): Likewise.
20036 * string/test-rawmemchr.c (TEST_NAME): Likewise.
20037 * string/test-stpcpy.c (TEST_NAME): Likewise.
20038 * string/test-stpncpy.c (TEST_NAME): Likewise.
20039 * string/test-strcasecmp.c (TEST_NAME): Likewise.
20040 * string/test-strcasestr.c (TEST_NAME): Likewise.
20041 * string/test-strcat.c (TEST_NAME): Likewise.
20042 * string/test-strchr.c (TEST_NAME): Likewise.
20043 * string/test-strcmp.c(TEST_NAME): Likewise.
20044 * string/test-strcpy.c (TEST_NAME): Likewise.
20045 * string/test-strcspn.c (TEST_NAME): Likewise.
20046 * string/test-strlen.c (TEST_NAME): Likewise.
20047 * string/test-strncasecmp.c (TEST_NAME): Likewise.
20048 * string/test-strncmp.c (TEST_NAME): Likewise.
20049 * string/test-strncpy.c (TEST_NAME): Likewise.
20050 * string/test-strnlen.c (TEST_NAME): Likewise.
20051 * string/test-strpbrk.c (TEST_NAME): Likewise.
20052 * string/test-strrchr.c (TEST_NAME): Likewise.
20053 * string/test-strspn.c (TEST_NAME): Likewise.
20054 * string/test-strstr.c (TEST_NAME): Likewise.
20055 * string/test-bcopy-ifunc.c: New file.
20056 * string/test-bzero-ifunc.c: Likewise.
20057 * string/test-memccpy-ifunc.c: Likewise.
20058 * string/test-memchr-ifunc.c: Likewise.
20059 * string/test-memcmp-ifunc.c: Likewise.
20060 * string/test-memcpy-ifunc.c: Likewise.
20061 * string/test-memmem-ifunc.c: Likewise.
20062 * string/test-memmove-ifunc.c: Likewise.
20063 * string/test-mempcpy-ifunc.c: Likewise.
20064 * string/test-memset-ifunc.c: Likewise.
20065 * string/test-rawmemchr-ifunc.c: Likewise.
20066 * string/test-stpcpy-ifunc.c: Likewise.
20067 * string/test-stpncpy-ifunc.c: Likewise.
20068 * string/test-strcasecmp-ifunc.c: Likewise.
20069 * string/test-strcasestr-ifunc.c: Likewise.
20070 * string/test-strcat-ifunc.c: Likewise.
20071 * string/test-strchr-ifunc.c: Likewise.
20072 * string/test-strchrnul-ifunc.c: Likewise.
20073 * string/test-strcmp-ifunc.c: Likewise.
20074 * string/test-strcpy-ifunc.c: Likewise.
20075 * string/test-strcspn-ifunc.c: Likewise.
20076 * string/test-strlen-ifunc.c: Likewise.
20077 * string/test-strncasecmp-ifunc.c: Likewise.
20078 * string/test-strncat-ifunc.c: Likewise.
20079 * string/test-strncmp-ifunc.c: Likewise.
20080 * string/test-strncpy-ifunc.c: Likewise.
20081 * string/test-strnlen-ifunc.c: Likewise.
20082 * string/test-strpbrk-ifunc.c: Likewise.
20083 * string/test-strrchr-ifunc.c: Likewise.
20084 * string/test-strspn-ifunc.c: Likewise.
20085 * string/test-strstr-ifunc.c: Likewise.
20086
de54b33a
L
20087 * debug/Makefile (tests-ifunc): New variable.
20088 (tests): Add $(tests-ifunc).
20089 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
20090 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
20091 * debug/test-stpcpy_chk-ifunc.c: New file.
20092 * debug/test-strcpy_chk-ifunc.c: Likewise.
20093
88481c16
SP
200942012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20095
20096 [BZ #13601]
20097 * elf/dl-load.c (open_verify): Retry read if the entire ELF
20098 header is not read in.
20099
135948bd
JM
201002012-10-19 Joseph Myers <joseph@codesourcery.com>
20101
89f1c388
JM
20102 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
20103 script to $(SHELL) as $<. Pass $(common-objpfx) to script
20104 directly. Pass built executable to script as
20105 $(built-program-cmd).
20106 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
20107 $testprogram without using LD_LIBRARY_PATH and $ldso.
20108
e40a0d21
JM
20109 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
20110 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
20111 $(rtld-installed-name).
20112 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
20113 (rtld_installed_name): Likewise.
20114 (library_path): Likewise.
20115 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
20116 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
20117 $(run-program-prefix) to tst-tables.sh.
20118 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
20119 it to run tst-table-from and tst-table-to.
20120 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
20121 Pass it to tst-table.sh.
20122 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
20123 $(run-program-prefix) to tst-gettext.sh.
20124 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
20125 tst-translit.sh.
20126 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
20127 tst-gettext2.sh.
20128 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
20129 to run tst-gettext.
20130 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
20131 to run tst-gettext2.
20132 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
20133 to run tst-translit.
20134 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
20135 $(run-program-prefix) to tst-mtrace.sh.
20136 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
20137 to run tst-mtrace.
20138 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
20139 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
20140 $(rtld-installed-name).
20141 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
20142 (rtld_installed_name): Likewise.
20143 (run_program_prefix): New variable. Use it to run wordexp-test.
20144
728e272a
JM
20145 * Makeconfig (ARCH): Remove all definitions.
20146 (machine): Likewise.
20147 [ARCH]: Remove conditional code.
20148 [!objdir]: Give error.
20149 [!objdir] (objpfx): Remove.
20150 [!objdir] (common-objpfx): Likewise.
20151 [!objdir] (common-objdir): Likewise.
20152 * configure.in (config_makefile): Remove. Hardcode Makefile in
20153 AC_CONFIG_FILES call.
20154 * configure: Regenerated.
20155
d528cdcf
JM
20156 [BZ #13888]
20157 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
20158 or TMPDIR.
20159 (testout): Likewise.
20160
135948bd
JM
20161 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
20162 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
20163 $(rtld-installed-name).
20164 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
20165 (rtld_installed_name): Likwise.
20166 (runit): Remove function.
20167 (run_getconf): New variable, Use it for running getconf binary.
20168
38c78296
L
201692012-10-18 H.J. Lu <hongjiu.lu@intel.com>
20170
20171 [BZ #14716]
20172 * string/test-memmem.c (check_result): New function.
20173 (do_one_test): Use it.
20174 (check1): New function.
20175 (test_main): Use it.
20176
d077f65f
MT
201772012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
20178
20179 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
20180
ced52c71
JM
201812012-10-18 Joseph Myers <joseph@codesourcery.com>
20182
20183 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
20184 (_G_LSEEK64): Likewise.
20185 (_G_MMAP64): Likewise.
20186 (_G_FSTAT64): Likewise.
20187 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
20188 (_G_LSEEK64): Likewise.
20189 (_G_MMAP64): Likewise.
20190 (_G_FSTAT64): Likewise.
20191 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
20192 unconditional. Call __mmap64 directly.
20193 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
20194 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
20195 __lseek64 directly.
20196 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
20197 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
20198 __mmap64 directly.
20199 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
20200 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
20201 __lseek64 directly.
20202 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
20203 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
20204 __lseek64 directly.
20205 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
20206 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
20207 __lseek64 directly.
20208 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
20209 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
20210 __fxstat64 directly.
20211 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
20212 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
20213 unconditional.
20214 (freopen64) [!_G_OPEN64]: Remove conditional code.
20215 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
20216 unconditional.
20217 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
20218 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
20219 unconditional.
20220 (ftello64) [!_G_LSEEK64]: Remove conditional code.
20221 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
20222 unconditional.
20223 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20224 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
20225 unconditional.
20226 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
20227 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
20228 unconditional.
20229 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20230 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
20231 unconditional.
20232 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
20233 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
20234 unconditional.
20235 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
20236
b741de23
SP
202372012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20238
20239 [BZ #12140]
20240 * manual/memory.texi (Malloc Tunable Parameters): Add note
20241 about free list pointers overwriting some perturb bytes.
20242 Wording suggested by Roland McGrath.
20243
f9b9d9c9
JM
202442012-10-17 Joseph Myers <joseph@codesourcery.com>
20245
20246 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
20247 (lgamma_test): Likewise.
20248 (tgamma_test): Likewise.
20249
172a631a
FW
202502012-10-16 Florian Weimer <fweimer@redhat.com>
20251
20252 [BZ #14700]
20253 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
20254 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
20255
e9f37252
MK
202562012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
20257
20258 * NEWS: Mention BZ #14716.
20259 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
20260 when removing AVAILABLE1_USES_J macro.
20261
d394eb74
L
202622012-10-12 H.J. Lu <hongjiu.lu@intel.com>
20263
20264 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
20265 (__bswap_64): __uint64_t for unsigned 64-bit int.
20266
ca38dc17
AS
202672012-10-12 Andreas Schwab <schwab@linux-m68k.org>
20268
20269 * include/string.h (memmem): Declare libc hidden alias.
20270 * string/memmem.c (memmem): Define libc hidden alias.
20271 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
20272 __read, __close instead of open, read, close.
20273
9a387d1f
L
202742012-10-11 H.J. Lu <hongjiu.lu@intel.com>
20275
ac49ecaf
L
20276 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
20277 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
20278 global and hidden.
20279 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
20280 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
20281 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
20282 Likewise.
20283 (__rawmemchr_sse2): Likewise.
20284 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
20285 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
20286 (__strchr_sse2): Likewise.
20287 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
20288 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
20289 (__strcasecmp_sse2): Likewise.
20290 (__strncasecmp_sse2): Likewise.
20291 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
20292 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
20293 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
20294 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
20295 (__strrchr_sse2): Likewise.
20296 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
20297 ifunc-impl-list.c.
20298 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
20299 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
20300 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20301 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20302 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
20303 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
20304 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20305 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20306 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
20307 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
20308 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
20309 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
20310 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
20311 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
20312 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
20313 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
20314 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
20315 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
20316 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
20317 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
20318 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
20319 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
20320 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
20321 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20322 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
20323 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20324 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20325 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
20326 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
20327 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
20328
b090e8ea
L
20329 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
20330 global and hidden.
20331 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
20332 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
20333 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
20334 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
20335 Likewise.
20336 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
20337 Likewise.
20338 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
20339 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
20340 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
20341 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
20342 ifunc-impl-list.c.
20343 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
20344 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
20345 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
20346 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
20347 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
20348 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
20349 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
20350 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
20351 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
20352 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
20353 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
20354 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
20355 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
20356 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
20357 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
20358 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
20359 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
20360 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
20361 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
20362 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
20363 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
20364 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
20365 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
20366 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
20367 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
20368 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
20369 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
20370 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
20371 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
20372 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
20373 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
20374 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
20375 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
20376 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
20377 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
20378 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
20379 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
20380 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
20381 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
20382 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
20383 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
20384
11dd4af6
L
20385 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
20386 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
20387 * include/ifunc-impl-list.h: New file.
20388 * misc/ifunc-impl-list.c: Likewise.
20389 * misc/Makefile (routines): Add ifunc-impl-list.
20390 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
20391 * string/test-string.h: Include <ifunc-impl-list.h>.
20392 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
20393 impl_array): New variables.
20394 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
20395 are defined.
20396 (test_init): Call __libc_ifunc_impl_list to initialize
20397 func_list if TEST_IFUNC and TEST_NAME are defined.
20398
9a387d1f
L
20399 * string/Makefile (strop-tests): Add bcopy and bzero.
20400 * string/test-bcopy.c: New file.
20401 * string/test-bzero.c: Likewise.
20402 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
20403 defined.
20404 * string/test-memset.c: Support bzero test if TEST_BZERO is
20405 defined.
20406 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
20407 __libc_memmove.
20408 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
20409 __libc_memset.
20410 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
20411 of memset.
20412
472371b9
JM
204132012-10-10 Joseph Myers <joseph@codesourcery.com>
20414
1e4a9536
JM
20415 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
20416 * configure: Regenerated.
20417
d173d12e
JM
20418 * Makeconfig (+link-static-before-libc): Don't include
20419 $(link-static-libc).
20420
472371b9
JM
20421 * libio/libio.h (_IO_pos_t): Remove.
20422
89a3ad0b
AO
204232012-10-10 Alexandre Oliva <aoliva@redhat.com>
20424
20425 * NEWS: Add note about FIPS mode. Wording suggested by Roland
20426 McGrath.
20427
e7451425
AO
204282012-10-10 Alexandre Oliva <aoliva@redhat.com>
20429
20430 * crypt/crypt-entry.c: Include fips-private.h.
20431 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
20432 * crypt/md5c-test.c (main): Tolerate disabled MD5.
20433 * sysdeps/unix/sysv/linux/fips-private.h: New file.
20434 * sysdeps/generic/fips-private.h: New file, dummy fallback.
20435
4ba74a35
AO
204362012-10-10 Alexandre Oliva <aoliva@redhat.com>
20437
20438 * crypt/crypt-private.h: Include stdbool.h.
20439 (_ufc_setup_salt_r): Return bool.
20440 * crypt/crypt-entry.c: Include errno.h.
20441 (__crypt_r): Return NULL with EINVAL for bad salt.
20442 * crypt/crypt_util.c (bad_for_salt): New.
20443 (_ufc_setup_salt_r): Check that salt is long enough and within
20444 the specified alphabet.
20445 * crypt/badsalttest.c: New file.
20446 * crypt/Makefile (tests): Add it.
20447 ($(objpfx)badsalttest): New.
20448
f96f1242
MK
204492012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
20450
20451 * NEWS: Add entry for BZ #14602.
20452
0e8e0c1c
JM
204532012-10-09 Joseph Myers <joseph@codesourcery.com>
20454
20455 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
20456 type-generic.
20457 * math/libm-test.inc: Update comment listing what functions and
20458 macros are tested.
20459 (isgreater_test): New function.
20460 (isgreaterequal_test): Likewise.
20461 (isless_test): Likewise.
20462 (islessequal_test): Likewise.
20463 (islessgreater_test): Likewise.
20464 (isunordered_test): Likewise.
20465 (main): Call the new functions.
20466
273edc5e
RM
204672012-10-09 Roland McGrath <roland@hack.frob.com>
20468
b8493de0
RM
20469 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
20470 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
20471 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
20472 * sysdeps/i386/configure: Regenerated.
20473 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
20474 * sysdeps/mach/configure: Regenerated.
20475 * sysdeps/mach/hurd/configure: Regenerated.
20476 * sysdeps/powerpc/configure: Regenerated.
20477 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20478 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20479 * sysdeps/s390/s390-32/configure: Regenerated.
20480 * sysdeps/s390/s390-64/configure: Regenerated.
20481 * sysdeps/sh/configure: Regenerated.
20482 * sysdeps/sparc/configure: Regenerated.
20483 * sysdeps/unix/sysv/linux/configure: Regenerated.
20484 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
20485 * sysdeps/x86_64/configure: Regenerated.
20486
273edc5e
RM
20487 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
20488 defined. Don't check if MAP is NULL.
20489
c8450f70
JM
204902012-10-09 Joseph Myers <joseph@codesourcery.com>
20491
20492 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
20493 (_G_stat64): Likewise.
20494 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
20495 (_G_stat64): Likewise.
20496 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
20497 instead of struct _G_stat64.
20498 * libio/fileops.c (mmap_remap_check): Likewise.
20499 (decide_maybe_mmap): Likewise.
20500 (_IO_new_file_seekoff): Likewise.
20501 (_IO_file_stat): Likewise.
20502 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
20503 _G_off64_t.
20504 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
20505 instead of struct _G_stat64.
20506 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20507
57e605ba
MK
205082012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
20509
20510 [BZ #14602]
20511 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20512 Replace with ...
20513 (CHECK_EOL): New macro.
20514 (two_way_short_needle): Check beginning of haystack for EOL. Use
20515 CHECK_EOL.
20516 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20517 Replace with CHECK_EOL.
20518 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
20519 Replace with CHECK_EOL.
20520
ef1bb361
JM
205212012-10-08 Joseph Myers <joseph@codesourcery.com>
20522
20523 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
20524 type-generic.
20525 * math/libm-test.inc: Update comment listing what functions and
20526 macros are tested.
20527 (finite_test): New function.
20528 (isinf_test): Likewise.
20529 (isnan_test): Likewise.
20530 (fpclassify_test): Test subnormal input.
20531 (isfinite_test): Likewise.
20532 (isnormal_test): Likewise.
20533 (main): Call the new functions.
20534
55f11534
JN
205352012-10-08 Jonathan Nieder <jrnieder@gmail.com>
20536
20537 [BZ #14660]
20538 * Makerules (%.dynsym): Force C locale when running
20539 $(OBJDUMP) --dynamic-syms.
20540
1ab29350
AS
205412012-10-08 Andreas Schwab <schwab@linux-m68k.org>
20542
20543 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
20544 <stdint.h>.
20545
f1ecb7ef
DM
205462012-10-06 David S. Miller <davem@davemloft.net>
20547
20548 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
20549 upper 32-bits of the length value in %o2 since we use branch-on-register
20550 tests which consider the entire 64-bit register.
20551
5d41d91a
L
205522012-10-06 H.J. Lu <hongjiu.lu@intel.com>
20553
20554 * string/test-strstr.c (check2): Add a test for page boundary.
20555
3baddb72
DM
205562012-10-05 David S. Miller <davem@davemloft.net>
20557
20558 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
20559 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
20560 file.
20561 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20562 sysdep_routines.
20563 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20564 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
20565 and bzero when HWCAP_SPARC_CRYPTO is present.
20566
9cee5585
L
205672012-10-05 H.J. Lu <hongjiu.lu@intel.com>
20568
d7e0dab9
L
20569 [BZ #14602]
20570 * string/test-strstr.c (check2): New function.
20571 (test_main): Call check2.
20572
03759f47
L
20573 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
20574 and bug-strchr1.
20575 * string/bug-strcasestr1.c (do_test): Moved to ...
20576 * string/test-strcasestr.c (check1): Here. New function.
20577 (do_one_test): Break out result checking code into ...
20578 (check_result): This. New function.
20579 (do_one_test): Call check_result.
20580 (test_main): Call check1.
20581 * string/bug-strchr1.c (do_test): Moved to ...
20582 * string/test-strchr.c (check1): Here. New function.
20583 (do_one_test): Break out result checking code into ...
20584 (check_result): This. New function.
20585 (do_one_test): Call check_result.
20586 (test_main): Call check1.
20587 * string/bug-strstr1.c (main): Moved to ...
046f153e 20588 * string/test-strstr.c (check1): Here. New function.
03759f47
L
20589 (do_one_test): Break out result checking code into ...
20590 (check_result): This. New function.
20591 (do_one_test): Call check_result.
20592 (test_main): Call check1.
20593 * string/bug-strcasestr1.c: Removed.
20594 * string/bug-strchr1.c: Likewise.
20595 * string/bug-strstr1.c: Likewise.
20596
53cea63e
L
20597 * elf/Makefile (dl-routines): Add hwcaps.
20598 * elf/dl-support.c (_dl_important_hwcaps): Removed.
20599 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
20600 (_dl_important_hwcaps): Moved to ...
20601 * elf/dl-hwcaps.c: Here. New file.
20602 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
20603
9cee5585 20604 [BZ #14557]
bb859b06
L
20605 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
20606 if IS_IN_rtld isn't defined.
20607
9cee5585
L
20608 * elf/dl-support.c (_dl_sysinfo_map): New.
20609 Include "get-dynamic-info.h" and "setup-vdso.h".
20610 (_dl_non_dynamic_init): Call setup_vdso.
20611 * elf/dynamic-link.h: Don't include <assert.h>.
20612 (elf_get_dynamic_info): Moved to ...
20613 * elf/get-dynamic-info.h: Here. New file.
20614 * elf/dynamic-link.h: Include "get-dynamic-info.h".
20615 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
20616 * elf/setup-vdso.h: Here. New file.
20617 * elf/rtld.c: Include "setup-vdso.h".
20618 (dl_main): Call setup_vdso.
20619
23c31b76
JM
206202012-10-05 Joseph Myers <joseph@codesourcery.com>
20621
28234b07
JM
20622 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
20623 creal in comment listing functions tested. List finite, isinf,
20624 isnan, isless, islessequal, isgreater, isgreaterequal,
20625 islessgreater, isunordered, lgamma_r and pow10 as functions and
20626 macros not tested. Mention which functions not tested are aliases
20627 for other functions. Fix typo. Note that signs of NaNs are not
20628 tested.
20629
23c31b76
JM
20630 * scripts/config.guess: Update from config.git.
20631 * scripts/config.sub: Likewise.
20632
9043e228
RM
206332012-10-04 Roland McGrath <roland@hack.frob.com>
20634
20635 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
20636 * misc/madvise.c (madvise): Renamed to __madvise.
20637 Make madvise a weak alias.
20638 * include/sys/mman.h: Declare __madvise.
20639 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
20640 * sysdeps/unix/syscalls.list
20641 (madvise): Make __madvise the strong name, and madvise a weak alias.
20642 * sysdeps/unix/sysv/linux/syscalls.list
20643 (madvise, mmap): Remove redundant entries.
20644 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
20645 * malloc/malloc.c (mtrim): Likewise.
20646 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
20647
f57f8055
RM
206482012-10-03 Roland McGrath <roland@hack.frob.com>
20649
20650 * sysdeps/mach/hurd/dl-cache.c: File removed.
20651 * config.h.in (USE_LDCONFIG): New #undef.
20652 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
20653 * configure: Regenerated.
20654 * elf/Makefile (dl-routines): Add dl-cache only under
20655 [$(use-ldconfig) = yes].
20656 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
20657 cache on [USE_LDCONFIG].
20658 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
20659 [USE_LDCONFIG].
20660 * elf/rtld.c (dl_main): Likewise.
20661
5bb0c10a
PT
206622012-10-03 Pino Toscano <toscano.pino@tiscali.it>
20663
20664 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
20665 _SC_LEVEL4_CACHE_LINESIZE.
20666
010188c6
RM
206672012-10-03 Roland McGrath <roland@hack.frob.com>
20668
20669 * sysdeps/unix/bsd/confstr.h: File removed.
20670
b6c5ec07
AO
206712012-10-02 Alexandre Oliva <aoliva@redhat.com>
20672
20673 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
20674 sys/sdt-config.h.
20675
408223d4
RM
206762012-10-02 Roland McGrath <roland@hack.frob.com>
20677
20678 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
20679 Make 'mapoff' field ElfW(Off) rather than off_t.
20680
bb9510dc
DL
206812012-10-02 Dmitry V. Levin <ldv@altlinux.org>
20682
fc997c6e
DL
20683 * nscd/Makefile: Remove nscd-cflags and all its users.
20684 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
20685 (CFLAGS-nonlib): Add compiler flags for nscd modules.
20686
bb9510dc
DL
20687 [BZ #10631]
20688 * malloc.c (malloc_printerr): Clarify error message.
20689
05699367
L
206902012-10-02 H.J. Lu <hongjiu.lu@intel.com>
20691
20692 [BZ #14648]
20693 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20694 Set bit_FMA_Usable if FMA is supported.
20695 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
20696 macro.
20697 (bit_FMA4_Usable): Updated.
20698 (index_FMA_Usable): New macro.
20699 (CPUID_FMA): Likewise
20700 (HAS_FMA): Defined with bit_FMA_Usable.
20701
51367701
RM
207022012-10-01 Roland McGrath <roland@hack.frob.com>
20703
20704 * bits/types.h (__swblk_t): Type removed.
20705 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
20706 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
20707 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20708 (__SWBLK_T_TYPE): Likewise.
20709 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
20710 (__SWBLK_T_TYPE): Likewise.
20711 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20712 (__SWBLK_T_TYPE): Likewise.
20713 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20714 (__SWBLK_T_TYPE): Likewise.
20715
4d57bf63 207162012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 20717 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
20718
20719 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
20720 (xdr_mapname): Use YPMAXMAP as maxsize.
20721 (xdr_peername): Use YPMAXPEER as maxsize.
20722 (xdr_keydat): Use YPAXRECORD as maxsize.
20723 (xdr_valdat): Use YPMAXRECORD as maxsize.
20724
93c65d43
RM
207252012-10-01 Roland McGrath <roland@hack.frob.com>
20726
497a03d6
RM
20727 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
20728
93c65d43
RM
20729 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
20730 * csu/init-first.c: ... here.
20731 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
20732 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20733 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
20734 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
20735 * sysdeps/i386/init-first.c: File removed.
20736 * sysdeps/sh/init-first.c: File removed.
20737
bec749fd
JM
207382012-10-01 Joseph Myers <joseph@codesourcery.com>
20739
20740 [BZ #14645]
20741 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
20742 if x * y might underflow to zero and z is zero.
20743 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20744 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20745 * math/libm-test.inc (min_subnorm_value): New variable.
20746 (fma_test): Add more tests.
20747 (fma_test_towardzero): Likewise.
20748 (fma_test_downward): Likewise
20749 (fma_test_upward): Likewise.
20750 (initialize): Set min_subnorm_value.
20751
8ec5b013
JM
207522012-09-29 Joseph Myers <joseph@codesourcery.com>
20753
20754 [BZ #14638]
20755 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
20756 0 + 0.
20757 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
20758 mode for addition resulting in exact zero.
20759 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
20760 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
20761 exact 0 + 0.
20762 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20763 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20764 * math/libm-test.inc (fma_test): Add more tests.
20765 (fma_test_towardzero): New function.
20766 (fma_test_downward): Likewise.
20767 (fma_test_upward): Likewise.
20768 (main): Call the new functions.
20769
b1fa802e
DM
207702012-09-28 David S. Miller <davem@davemloft.net>
20771
20772 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
20773
d3b9fd9e
RM
207742012-09-28 Roland McGrath <roland@hack.frob.com>
20775
ea4d37b3
RM
20776 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
20777 instead of SIGALRM.
20778
ac51c949
RM
20779 * sysdeps/gnu/_G_config.h: Moved to ...
20780 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
20781 * sysdeps/mach/hurd/_G_config.h: Moved to ...
20782 * sysdeps/generic/_G_config.h: ... here.
20783
28c195f7
RM
20784 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
20785
848917f9
RM
20786 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
20787
6bacf05b
RM
20788 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
20789 Conditionalize target on [libnss_test1.so-version].
20790
91363dbb
RM
20791 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
20792
cc87f7d8
RM
20793 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
20794 (elfobjdir): Move out of conditionals.
20795
b1c608fe
RM
20796 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
20797 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
20798 (__nss_lookup_function): Conditionalize label remove_from_tree on
20799 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 20800
1d9a6d96
DM
208012012-09-28 David S. Miller <davem@davemloft.net>
20802
20803 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
20804 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
20805 file.
20806 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
20807 sysdep_routines.
20808 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
20809 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
20810 when HWCAP_SPARC_CRYPTO is present.
20811
72581615
PT
208122012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20813
20814 * io/tst-mknodat.c: Create a FIFO instead of a socket.
20815
715a900c
JL
208162012-09-28 Andreas Schwab <schwab@linux-m68k.org>
20817
20818 [BZ #6530]
20819 * stdio-common/vfprintf.c (process_string_arg): Revert
20820 2000-07-22 change.
20821
208222011-09-28 Jonathan Nieder <jrnieder@gmail.com>
20823
20824 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
20825 for testcase.
20826 * stdio-common/tst-sprintf.c: Include <locale.h>
20827 (main): Test sprintf's handling of incomplete multibyte
20828 characters.
20829
9bac1d86
L
208302012-09-28 H.J. Lu <hongjiu.lu@intel.com>
20831
20832 * elf/dl-runtime.c (VERSYMIDX): Removed.
20833 * elf/dl-version.c (VERSYMIDX): Likewise.
20834 * elf/do-rel.h (VERSYMIDX): Likewise.
20835 (VALIDX): Likewise.
20836 * elf/dynamic-link.h (VERSYMIDX): Likewise.
20837 * elf/rtld.c (VALIDX): Likewise.
20838 (ADDRIDX): Likewise.
9bac1d86
L
20839 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
20840 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
20841 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
20842 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
20843 (VALIDX): Likewise.
20844 (ADDRIDX): Likewise.
9bac1d86 20845
b31606c0
PT
208462012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20847
20848 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
20849
11541177
JL
208502012-09-28 Dmitry V. Levin <ldv@altlinux.org>
20851
20852 [BZ #11438]
20853 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
20854 to global scope.
20855 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
20856 addresses are in the same scope as 192.0.2/24.
20857 * posix/gai.conf: Document new scope table defaults.
20858
adb26fae
SP
208592012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20860
20861 [BZ #5298]
20862 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
20863 for ftell. Compute offsets from write pointers instead.
20864 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
20865
4573c6b0
SP
208662012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20867
20868 [BZ #14543]
20869 * libio/Makefile (tests): New test case tst-fseek.
20870 * libio/tst-fseek.c: New test case to verify that fseek/ftell
20871 combination works in wide mode.
20872 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
20873 state when the external buffer state changes.
20874
aa9bbfe6
DM
208752012-09-27 David S. Miller <davem@davemloft.net>
20876
20877 [BZ #14376]
20878 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
20879 pass reloc->r_addend in as the 'high' argument to
20880 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
20881
784421e7
DM
20882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20883
c39bc8b8
PT
208842012-09-28 Pino Toscano <toscano.pino@tiscali.it>
20885
20886 * rt/tst-aio2.c: Include <pthread.h>.
20887 * rt/tst-aio3.c: Likewise.
20888
1ccc2399
SE
208892012-09-27 Steve Ellcey <sellcey@mips.com>
20890
20891 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
20892
31ed4153
L
208932012-09-27 H.J. Lu <hongjiu.lu@intel.com>
20894
25f5f885
L
20895 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
20896 contents on [SHARED].
31ed4153 20897
b7bfe116
MP
208982012-09-26 Marek Polacek <polacek@redhat.com>
20899
20900 [BZ #14530]
20901 [BZ #13741]
20902 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
20903 for C++ and GCC <4.3 as well as for non GCC compilers.
20904
43c4edba
MT
209052012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
20906
20907 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20908
6a1bf82f
RM
209092012-09-25 Roland McGrath <roland@hack.frob.com>
20910
20911 * Makefile.in (all, install): Declare with .PHONY.
20912 Reported by Michael Hope <michael.hope@linaro.org>.
20913
8ad11b9a
TMQMF
209142012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20915
20916 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
20917 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
20918 system header.
20919 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
20920 Likewise.
20921 (sydep_routines): Add the new and the internal functions.
20922 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
20923 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
20924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
20925 (GLIBC_2.17): Add the new function.
20926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20927 (GLIBC_2.17): Likewise.
20928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20929 (GLIBC_2.17): Likewise.
20930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
20931 (GLIBC_2.17): Likewise.
20932 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
20933
7e2fca8d
AM
209342012-09-25 Alan Modra <amodra@gmail.com>
20935
20936 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
20937 Add release barrier before setting once_control to say
20938 initialisation is done. Add hints on lwarx. Use macro in
20939 place of isync.
20940 (clear_once_control): Add release barrier.
20941
b87c4b24
JM
209422012-09-25 Joseph Myers <joseph@codesourcery.com>
20943
d032e0d2
JM
20944 [BZ #13629]
20945 * math/s_clog.c (__clog): Handle more values close to |z| = 1
20946 specially.
20947 * math/s_clog10.c (__clog10): Likewise.
20948 * math/s_clog10f.c (__clog10f): Likewise.
20949 * math/s_clog10l.c (__clog10l): Likewise.
20950 * math/s_clogf.c (__clogf): Likewise.
20951 * math/s_clogl.c (__clogl): Likewise.
20952 * math/Makefile (libm-calls): Add x2y2m1.
20953 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
20954 (__x2y2m1): Likewise.
20955 (__x2y2m1l): Likewise.
20956 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
20957 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
20958 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
20959 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
20960 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
20961 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
20962 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
20963 * sysdeps/i386/fpu/libm-test-ulps: Update.
20964 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20965
b87c4b24
JM
20966 [BZ #14621]
20967 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
20968 int as type of variable DEPTH.
20969 (glob): Use size_t instead of int as type of variables NEWCOUNT
20970 and OLD_PATHC.
20971
6d3bf199
LD
209722012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20973
22bf5c17
LD
20974 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
20975 Add s_sincosf-sse2.
20976 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
20977 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
20978 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
20979 macros for using routine as __sincosf_ia32.
20980 Use macro for function declaration and weak_alias.
20981 * sysdeps/i386/fpu/libm-test-ulps: Update.
20982
20983 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
20984 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20985
20986 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
20987 subnormal argument.
20988 * math/s_cexpf.c (__cexpf): Likewise.
20989 * math/s_csinf.c (__csinf): Likewise.
20990 * math/s_csinhf.c (__csinhf): Likewise.
20991 * math/s_ctanf.c (__ctanf): Likewise.
20992 * math/s_ctanhf.c (__ctanhf): Likewise.
20993 * math/s_ccosh.c (__ccoshf): Likewise.
20994 * math/s_cexp.c (__cexpl): Likewise.
20995 * math/s_csin.c (__csin): Likewise.
20996 * math/s_csinh.c (__csinh): Likewise.
20997 * math/s_ctan.c (__ctan): Likewise.
20998 * math/s_ctanh.c (ctanh): Likewise.
20999 * math/s_ccoshl.c (__ccoshl): Likewise.
21000 * math/s_cexpl.c (__cexpl): Likewise.
21001 * math/s_csinl.c (__csinl): Likewise.
21002 * math/s_csinhl.c (__csinhl): Likewise.
21003 * math/s_ctanl.c (__ctanl): Likewise.
21004 * math/s_ctanhl.c (__ctanhl): Likewise.
21005
203e5603
JM
210062012-09-25 Joseph Myers <joseph@codesourcery.com>
21007
21008 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
21009 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
21010 (_IO_off_t): Define to __off_t, not _G_off_t.
21011 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
21012 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
21013 (_IO_wint_t): Define to wint_t, not _G_wint_t.
21014 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
21015 type of __dummy and __dummy2 fields.
21016 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
21017 (_G_ssize_t): Likewise.
21018 (_G_off_t): Likewise.
21019 (_G_pid_t): Likewise.
21020 (_G_uid_t): Likewise.
21021 (_G_wchar_t): Likewise.
21022 (_G_wint_t): Likewise.
21023 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
21024 (_G_ssize_t): Likewise.
21025 (_G_off_t): Likewise.
21026 (_G_pid_t): Likewise.
21027 (_G_uid_t): Likewise.
21028 (_G_wchar_t): Likewise.
21029 (_G_wint_t): Likewise.
21030 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
21031 (_G_ssize_t): Likewise.
21032 (_G_off_t): Likewise.
21033 (_G_pid_t): Likewise.
21034 (_G_uid_t): Likewise.
21035 (_G_wchar_t): Likewise.
21036 (_G_wint_t): Likewise.
21037
9fab36eb
SP
210382012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21039
21040 * malloc/arena.c: Include malloc-sysdep.h.
21041 (shrink_heap): Use check_may_shrink_heap to decide if madvise
21042 is sufficient to shrink the heap or an unmap is needed.
21043 * sysdeps/generic/malloc-sysdep.h: New file. Define
21044 new function check_may_shrink_heap.
21045 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
21046 new function check_may_shrink_heap.
21047
2b4f00d1
SP
210482012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21049
21050 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
21051 comments.
21052
9a9028b1
DL
210532012-09-24 Dmitry V. Levin <ldv@altlinux.org>
21054
57c69bef
DL
21055 * catgets/test-gencat.sh: Add "set -e".
21056 * elf/tst-pathopt.sh: Likewise.
21057 * grp/tst_fgetgrent.sh: Likewise.
21058 * iconvdata/run-iconv-test.sh: Likewise.
21059 * intl/tst-gettext.sh: Likewise.
21060 * intl/tst-gettext2.sh: Likewise.
21061 * intl/tst-gettext4.sh: Likewise.
21062 * intl/tst-gettext6.sh: Likewise.
21063 * intl/tst-translit.sh: Likewise.
21064 * io/ftwtest-sh: Likewise.
21065 * libio/test-freopen.sh: Likewise.
21066 * malloc/tst-mtrace.sh: Likewise.
21067 * posix/globtest.sh: Likewise.
21068 * posix/tst-getconf.sh: Likewise.
21069 * posix/wordexp-tst.sh: Likewise.
21070 * stdio-common/tst-printf.sh: Likewise.
21071 * stdio-common/tst-unbputc.sh: Likewise.
21072 * stdlib/tst-fmtmsg.sh: Likewise.
21073 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21074 * catgets/Makefile: Do not specify -e option when running
21075 testsuite shell scripts.
21076 * elf/Makefile: Likewise.
21077 * grp/Makefile: Likewise.
21078 * iconvdata/Makefile: Likewise.
21079 * intl/Makefile: Likewise.
21080 * io/Makefile: Likewise.
21081 * libio/Makefile: Likewise.
21082 * malloc/Makefile: Likewise.
21083 * posix/Makefile: Likewise.
21084 * stdio-common/Makefile: Likewise.
21085 * stdlib/Makefile: Likewise.
21086 * sysdeps/x86_64/Makefile: Likewise.
21087
9a9028b1
DL
21088 * io/ftwtest-sh: Add copyright header.
21089 * posix/globtest.sh: Likewise.
21090 * posix/tst-getconf.sh: Likewise.
21091 * posix/wordexp-tst.sh: Likewise.
21092 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
21093
ced6f16e
L
210942012-09-24 H.J. Lu <hongjiu.lu@intel.com>
21095
94b32c39
L
21096 [BZ #13679]
21097 * Makeconfig (+link): Defined as $(+link-static) if
21098 $(build-shared) isn't yes.
21099 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
21100 isn't yes.
21101 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
21102
189e935b
L
21103 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
21104
ced6f16e
L
21105 [BZ #14562]
21106 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
21107 new chunk size with MALLOC_ALIGN_MASK.
21108
a9f8e53a
JM
211092012-09-24 Joseph Myers <joseph@codesourcery.com>
21110
21111 [BZ #5044]
21112 * stdio-common/printf_fphex.c: Include <stdbool.h> and
21113 <rounding-mode.h>.
21114 (__printf_fphex): Determine rounding using get_rounding_mode and
21115 round_away.
21116 * stdio-common/tst-printf-round.c (struct hex_test): New
21117 structure.
21118 (hex_tests): New variable.
21119 (test_hex_in_one_mode): New function.
21120 (do_test): Also run tests for hex float output.
21121
43153109
JM
211222012-09-21 Joseph Myers <joseph@codesourcery.com>
21123
21124 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21125 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21126 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
21127 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
21128 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
21129 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
21130 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21131 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
21132
8a26625d
JM
211332012-09-20 Joseph Myers <joseph@codesourcery.com>
21134
21135 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
21136 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
21137 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
21138 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
21139
f3fd569c
DL
211402012-09-19 Dmitry V. Levin <ldv@altlinux.org>
21141
21142 [BZ #14579]
21143 * elf/rtld.c (dl_main): Limit the check for self loading to normal
21144 mode only.
21145 * elf/tst-rtld-load-self.sh: New test.
21146 * elf/Makefile: Run it.
21147
63bbedd4
JM
211482012-09-18 Joseph Myers <joseph@codesourcery.com>
21149
21150 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
21151 (tst-writev-ENV): Remove.
21152 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
21153
626f8b6a
CM
211542012-09-17 Chris Metcalf <cmetcalf@tilera.com>
21155
21156 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
21157
b7aaa4d6
JM
211582012-09-17 Joseph Myers <joseph@codesourcery.com>
21159
21160 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
21161 unconditional.
21162 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
21163 Likewise.
21164 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
21165 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
21166 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
21167 Likewise.
21168
65513990
L
211692012-09-14 H.J. Lu <hongjiu.lu@intel.com>
21170
21171 [BZ #14587]
21172 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
21173 * config.make.in (have-cpp-asm-debuginfo): Removed.
21174 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
21175 * configure: Regenerated.
21176
784761be
JM
211772012-09-14 Joseph Myers <joseph@codesourcery.com>
21178
21179 [BZ #5044]
21180 * stdio-common/printf_fp.c: Include <stdbool.h> and
21181 <rounding-mode.h>.
21182 (___printf_fp): Determine rounding using get_rounding_mode and
21183 round_away.
21184 * stdio-common/tst-printf-round.c: New file.
21185 * stdio-common/Makefile (tests): Add tst-printf-round.
21186 (link-libm): New variable.
21187 ($(objpfx)tst-printf-round): Depend in $(link-libm).
21188
9503345f
L
211892012-09-13 H.J. Lu <hongjiu.lu@intel.com>
21190
21191 [BZ #14576]
21192 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
21193 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
21194 Likewise.
21195 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
21196 Likewise.
21197
ad35fc00
JM
211982012-09-13 Joseph Myers <joseph@codesourcery.com>
21199
21200 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
21201 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21202 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21203 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
21204
6c9b0f68
JM
212052012-09-12 Joseph Myers <joseph@codesourcery.com>
21206
21207 [BZ #14518]
21208 * include/rounding-mode.h: New file.
21209 * sysdeps/generic/get-rounding-mode.h: Likewise.
21210 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
21211 * stdlib/strtod_l.c: Include <rounding-mode.h>.
21212 (MAX_VALUE): New macro.
21213 (MIN_VALUE): Likewise.
21214 (overflow_value): New function.
21215 (underflow_value): Likewise.
21216 (round_and_return): Use overflow_value and underflow_value to
21217 determine return values in overflow and underflow cases. Use
21218 round_away to determine rounding depending on rounding mode.
21219 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
21220 determine return values in overflow and underflow cases.
21221 * stdlib/tst-strtod-round.c: Include <fenv.h>.
21222 (struct test_results): New structure.
21223 (struct test): Use struct test_results to store expected results
21224 for all rounding modes.
21225 (TEST): Include expected results for all rounding modes.
21226 (test_in_one_mode): New function.
21227 (do_test): Use test_in_one_mode to compute and check results.
21228 Check results for all rounding modes.
21229 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
21230 $(link-libm).
21231
19fcedd5
AM
212322012-12-09 Allan McRae <allan@archlinux.org>
21233
1e9d84cd 21234 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 21235
8bbfd2f1
JM
212362012-09-11 Joseph Myers <joseph@codesourcery.com>
21237
21238 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
21239 (_G_int32_t): Likewise.
21240 (_G_uint16_t): Likewise.
21241 (_G_uint32_t): Likewise.
21242 (_G_HAVE_BOOL): Likewise.
21243 (_G_HAVE_ATEXIT): Likewise.
21244 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21245 (_G_HAVE_IO_FILE_OPEN): Likewise.
21246 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
21247 (_G_int32_t): Likewise.
21248 (_G_uint16_t): Likewise.
21249 (_G_uint32_t): Likewise.
21250 (_G_HAVE_BOOL): Likewise.
21251 (_G_HAVE_ATEXIT): Likewise.
21252 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21253 (_G_HAVE_IO_FILE_OPEN): Likewise.
21254 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
21255 (_G_int32_t): Likewise.
21256 (_G_uint16_t): Likewise.
21257 (_G_uint32_t): Likewise.
21258 (_G_HAVE_BOOL): Likewise.
21259 (_G_HAVE_ATEXIT): Likewise.
21260 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
21261 (_G_HAVE_IO_FILE_OPEN): Likewise.
21262
b1dc5912
L
212632012-09-11 H.J. Lu <hongjiu.lu@intel.com>
21264
21265 * csu/libc-tls.c: Update copyright years.
21266
0e886ef9
JM
212672012-09-10 Joseph Myers <joseph@codesourcery.com>
21268
28361c5e
JM
21269 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
21270 [!_G_USING_THUNKS]: Remove conditional code.
21271 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
21272 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
21273
0e886ef9
JM
21274 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
21275 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
21276 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21277 (_G_VTABLE_LABEL_PREFIX): Likewise.
21278 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21279 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21280 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21281 (_G_VTABLE_LABEL_PREFIX): Likewise.
21282 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21283 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
21284 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
21285 (_G_VTABLE_LABEL_PREFIX): Likewise.
21286 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
21287
bcba7aa2
L
212882012-09-10 H.J. Lu <hongjiu.lu@intel.com>
21289
21290 * libio/Makefile: Include ../Makeconfig before tests.
21291 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
21292 only if $(build-shared) is yes.
21293
06585ee8
L
21294 * iconv/gconv_db.c: Update copyright years.
21295
80ccd52c
LD
212962012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21297
21298 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
21299 unwind info if defined PIC. Fix special cases description.
21300 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
21301
21302 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
21303 DP_HI_MASK entry.
21304 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
21305
691bc9c1
L
213062012-09-07 H.J. Lu <hongjiu.lu@intel.com>
21307
3d9b46b3
L
21308 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
21309
de2139a9
L
21310 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
21311 is NULL.
21312
5ca78dd0
L
21313 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
21314 (LDLIBS-tst-chk4): This.
21315 (LDFLAGS-tst-chk5): Renamed to ...
21316 (LDLIBS-tst-chk5): This.
21317 (LDFLAGS-tst-chk6): Renamed to ...
21318 (LDLIBS-tst-chk6): This.
21319 (LDFLAGS-tst-lfschk4): Renamed to ...
21320 (LDLIBS-tst-lfschk4): This.
21321 (LDFLAGS-tst-lfschk5): Renamed to ...
21322 (LDLIBS-tst-lfschk5): This.
21323 (LDFLAGS-tst-lfschk6): Renamed to ...
21324 (LDLIBS-tst-lfschk6): This.
21325
691bc9c1
L
21326 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
21327 on $(common-objpfx)soversions.mk.
21328
65cafb1c
JM
213292012-09-07 Joseph Myers <joseph@codesourcery.com>
21330
21331 [BZ #10014]
21332 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
21333 example host name.
21334
c78ab094
SP
213352012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
21336
21337 * malloc/arena.c (arena_get_retry): New function that gets
21338 another arena for the caller to try its request on.
21339 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
21340 current arena cannot fulfill the request.
21341 (__libc_memalign): Likewise.
21342 (__libc_memalign): Likewise.
21343 (__libc_pvalloc): Likewise.
21344 (__libc_calloc): Likewise.
21345
01f49f59
JT
213462012-09-05 John Tobey <john.tobey@gmail.com>
21347
21348 [BZ #13542]
21349 * manual/arith.texi (Operations on Complex): Fix description
21350 of carg branch cut.
21351
4c23fed5
JM
213522012-09-06 Joseph Myers <joseph@codesourcery.com>
21353
1d3c8572
JM
21354 [BZ #10014]
21355 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
21356 host name.
21357
4c23fed5
JM
21358 [BZ #10038]
21359 * manual/memory.texi (Memory): Make order of menu items match
21360 order of sections.
21361
04570aaa
L
213622012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21363
21364 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
21365 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
21366 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
21367
b80af2f4
L
213682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21369
21370 * csu/libc-tls.c (static_dtv): Renamed to ...
21371 (_dl_static_dtv): This. Make it global.
21372 (_dl_initial_dtv): Removed.
21373 (__libc_setup_tls): Updated.
21374 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
21375 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
21376 DL_INITIAL_DTV.
21377
2abe9f15
PM
213782012-09-06 Petr Machata <pmachata@redhat.com>
21379
21380 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
21381 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
21382 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
21383 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
21384
0948c3af
L
213852012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21386
21387 [BZ #14545]
21388 * csu/libc-tls.c (_dl_initial_dtv): New variable.
21389 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
21390 freeing dtv[-1].
21391
a5055ad1
L
213922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
21393
21394 [BZ #14544]
21395 * Makeconfig (link-static-before-libc): Replace $(+prector)
21396 with $(+prectorT).
21397 (link-static-after-libc): Replace $(+postctor) with
21398 $(+postctorT).
21399 (link-bounded): Replace $(+prector)/$(+postctor) with
21400 $(+prectorT)/$(+postctorT).
21401 (+prectorT): New macro.
21402 (+postctorT): Likewise.
21403
ed8c2ecd
JM
214042012-09-06 Joseph Myers <joseph@codesourcery.com>
21405
21406 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
21407 (round_str): Handle values above the maximum for IBM long double
21408 as inexact.
21409 * stdlib/tst-strtod-round.c (tests): Regenerated.
21410
14c996c8
AK
214112012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21412
21413 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
21414 assembler flag.
21415 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
21416 zarch_nohighgprs around the zarch optimized routines.
21417 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
21418 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
21419 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
21420 for zarch.
21421
430d6ce6
DM
214222012-09-05 David S. Miller <davem@davemloft.net>
21423
21424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21425
ff04dda4
DM
21426 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
21427 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
21428 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
21429 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
21430 entries.
21431
24d4e01b
AO
214322012-09-05 Alexandre Oliva <aoliva@redhat.com>
21433
21434 * malloc/arena.c: Fold copyright years.
21435 * malloc/mcheck.c, malloc/memusage.c: Likewise.
21436
61d58174
AO
214372012-09-05 Alexandre Oliva <aoliva@redhat.com>
21438
21439 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
21440
20196a5e
AO
214412012-09-05 Alexandre Oliva <aoliva@redhat.com>
21442
21443 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
21444
5c447383
AO
214452012-09-05 Alexandre Oliva <aoliva@redhat.com>
21446
21447 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
21448 change internal state upon failure.
21449
fad64255
AO
214502012-09-05 Alexandre Oliva <aoliva@redhat.com>
21451
21452 * malloc/mcheck.c (mcheck_check_all): Fix typo.
21453 * malloc/memusage.c (mmap): Likewise.
21454 (mmap64, mremap): Likewise. Adjust name in comment.
21455
1ffb8c90
SP
214562012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21457
21458 * libio/fileops.c: Fix typos in comments.
21459 * libio/oldfileops.c: Likewise.
21460 * libio/wfileops.c: Likewise.
21461
6ef9cc37
SP
214622012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21463
21464 [BZ #1349]
21465 * malloc/Makefile (tests): Add tst-malloc-usable test case.
21466 (tst-malloc-usable-ENV): Set environment for test case.
21467 * malloc/hooks.c (malloc_check_get_size): New function to get
21468 requested size.
21469 * malloc/malloc.c (musable): Use malloc_check_get_size.
21470 * malloc/tst-malloc-usable.c: New test case.
21471
4d038ae3
AS
214722012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21473
21474 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
21475
c4e85184
AM
214762012-09-05 Allan McRae <allan@archlinux.org>
21477
b9dafc56 21478 [BZ #13966]
c4e85184
AM
21479 * configure.in (CXX_SYSINCLUDES): Use compiler output to
21480 determine header location.
21481 * configure: Regenerated.
21482
e1343020
AS
214832012-09-05 Andreas Schwab <schwab@linux-m68k.org>
21484
21485 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
21486 float format.
21487 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
21488 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
21489 format.
e1343020
AS
21490 (test): Regenerate.
21491
0a9f1987
DM
214922012-09-04 David S. Miller <davem@davemloft.net>
21493
21494 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
21495 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
21496 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
21497
29237804
FW
214982012-09-04 Florian Weimer <fweimer@redhat.com>
21499
21500 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
21501 failures.
21502
edb3cb88
FW
21503 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
21504
60160d83
JM
215052012-09-04 Joseph Myers <joseph@codesourcery.com>
21506
21507 [BZ #9914]
21508 * libio/iogetdelim.c: Include <limits.h>.
21509 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
21510 + len + 1 would overflow.
21511
bcd6c8dc
AJ
215122012-09-03 Andreas Jaeger <aj@suse.de>
21513
21514 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21515 * sysdeps/i386/fpu/libm-test-ulps: Update.
21516
4ffffbd2
LD
215172012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21518
21519 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
21520 Add s_sinf-sse2, s_conf-sse2.
21521
21522 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
21523 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
21524 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
21525 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
21526
21527 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
21528 for using routine as __sinf_ia32.
21529 Use macro for function declaration and weak_alias.
21530 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
21531 for using routine as __cosf_ia32.
21532 Use macro for function declaration and weak_alias.
21533
21534 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
21535 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
21536
21537 * sysdeps/x86_64/fpu/s_sinf.S: New file.
21538 * sysdeps/x86_64/fpu/s_cosf.S: New file.
21539 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21540
21541 * math/libm-test.inc (cos_test): Add more test cases.
21542 (sin_test): Likewise.
21543 (sincos_test): Likewise.
21544
511fa286
AK
215452012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21546
21547 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
21548 (IFUNC_RESOLVE): Make pointers to the specialized implementations
21549 hidden.
21550 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21551
5f30cfec
L
215522012-09-02 H.J. Lu <hongjiu.lu@intel.com>
21553
21554 [BZ #14538]
21555 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
21556 first element of the GOT.
21557 (elf_machine_load_address): Return the difference between
21558 the runtime address of _DYNAMIC and elf_machine_dynamic ().
21559
0786794f
AM
215602012-09-01 Allan McRae <allan@archlinux.org>
21561
5f30cfec
L
21562 [BZ #13412]
21563 * configure.in (AWK): Require gawk version 3.0 or later.
21564 * configure: Regenerated.
0786794f 21565
26889eac
JM
215662012-09-01 Joseph Myers <joseph@codesourcery.com>
21567
21568 * sysdeps/unix/sysv/linux/kernel-features.h
21569 (__ASSUME_POSIX_CPU_TIMERS): Remove.
21570 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
21571 [__NR_clock_getres]: Make code unconditional.
21572 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
21573 (clock_getcpuclockid): Remove code left unreachable by removal of
21574 conditionals.
21575 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
21576 code unconditional.
21577 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21578 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21579 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
21580 Make code unconditional.
21581 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
21582 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21583 * sysdeps/unix/sysv/linux/clock_settime.c
21584 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
21585 conditional code.
21586 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
21587 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
21588
d22e28b0
L
215892012-08-29 H.J. Lu <hongjiu.lu@intel.com>
21590
21591 [BZ #14476]
21592 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
21593 scripts/test-installation.pl.
21594
21595 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
21596 and $ld_so_version if it is set.
21597
050af9c4
SP
215982012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21599
21600 [BZ #14516]
21601 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
21602 failure if reading from procfs failed.
21603 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
21604
ad845c0b
JM
216052012-08-27 Joseph Myers <joseph@codesourcery.com>
21606
21607 * sysdeps/unix/sysv/linux/kernel-features.h
21608 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
21609 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21610 Remove conditional code.
21611 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21612 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
21613 Remove conditional code.
21614 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21615 * sysdeps/unix/sysv/linux/i386/fxstat.c
21616 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21617 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21618 * sysdeps/unix/sysv/linux/i386/fxstatat.c
21619 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21620 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21621 * sysdeps/unix/sysv/linux/i386/lxstat.c
21622 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
21623 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21624 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
21625 Remove conditional code.
21626 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21627 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
21628 Remove conditional code.
21629 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21630 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
21631 <kernel-features.h>.
21632 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
21633 Remove.
21634 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
21635 Remove conditional code.
21636 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
21637 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
21638 Remove conditional.
21639
5dbf56af
MF
216402012-08-27 Mike Frysinger <vapier@gentoo.org>
21641
21642 [BZ #5400]
21643 * NEWS: Add fixed bug number.
21644
d6e70f43
JM
216452012-08-27 Joseph Myers <joseph@codesourcery.com>
21646
7efb4737
JM
21647 [BZ #14519]
21648 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
21649 underflowing exponent in case of negative sign.
21650 * stdlib/tst-strtod-round-data: Add more tests.
21651 * stdlib/tst-strtod-round.c (tests): Regenerated.
21652
af92131a
JM
21653 [BZ #3479]
21654 * stdlib/strtod_l.c (NDIG): Remove.
21655 (HEXNDIG): Likewise.
21656 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
21657 smallest representable value.
21658 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
21659 lie within an exact representation of 1/2 ulp of the result.
21660 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
21661 unconditionally.
21662 (TENS_P9_IDX): Define unconditionally.
21663 (TENS_P9_SIZE): Likewise.
21664 (TENS_P10_IDX): Likewise.
21665 (TENS_P10_SIZE): Likewise.
21666 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
21667 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
21668 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
21669 entries for 10^2^13 and 10^2^14.
21670 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
21671 (TENS_P13_IDX): Define.
21672 (TENS_P13_SIZE): Likewise.
21673 (TENS_P14_IDX): Likewise.
21674 (TENS_P14_SIZE): Likewise.
21675 (_fpioconst_pow10): Change array size to
21676 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
21677 unconditional.
21678 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
21679 1024]: Add entries for 10^2^13 and 10^2^14.
21680 [LAST_POW10 > _LAST_POW10]: Remove #error.
21681 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
21682 (_fpioconst_pow10): Change array size to
21683 FPIOCONST_POW10_ARRAY_SIZE.
21684 * stdlib/gen-fpioconst.c: New file.
21685 * stdlib/gen-tst-strtod-round.c: Likewise.
21686 * stdlib/tst-strtod-round-data: Likewise.
21687 * stdlib/tst-strtod-round.c: Likewise.
21688 * stdlib/Makefile (tests): Add tst-strtod-round.
21689
d6e70f43
JM
21690 [BZ #14459]
21691 * stdlib/strtod_l.c: Include <stdint.h>.
21692 (NDEBUG): Do not define.
21693 (round_and_return): Change EXPONENT parameter to type intmax_t.
21694 Rearrange calculations to avoid internal overflow possibilities.
21695 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
21696 Rearrange calculations to avoid internal overflow possibilities.
21697 Assert that number fits inside MPNSIZE limbs.
21698 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
21699 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
21700 calculations and add assertions to avoid internal overflow
21701 possibilities. Add casts to avoid signed/unsigned operations.
21702 * stdlib/tst-strtod-overflow.c: New file.
21703 * stdlib/Makefile (tests): Add tst-strtod-overflow.
21704
1f529f7d
MP
217052012-08-25 Marek Polacek <polacek@redhat.com>
21706
21707 * time/time.h: Fix some typos in comments.
21708
59a629f1
RM
217092012-08-23 Roland McGrath <roland@hack.frob.com>
21710
21711 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
21712 * posix/tst-rfc3484-2.c: Likewise.
21713 * posix/tst-rfc3484-3.c: Likewise.
21714
d3bafbc9
SM
217152012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
21716
21717 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
21718 (EF_ARM_ABI_FLOAT_HARD): Likewise.
21719
4efcc022
JM
217202012-08-23 Joseph Myers <joseph@codesourcery.com>
21721
21722 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
21723 #include of fxstatat64.c.
21724
3cc3ef96
RM
217252012-08-22 Roland McGrath <roland@hack.frob.com>
21726
f04e2132
RM
21727 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
21728 * shadow/getspent_r.c: Likewise.
21729 * shadow/getspnam.c: Likewise.
21730 * shadow/getspnam_r.c: Likewise.
21731 * gshadow/getsgent.c: Likewise.
21732 * gshadow/getsgent_r.c: Likewise.
21733 * gshadow/getsgnam.c: Likewise.
21734 * gshadow/getsgnam_r.c: Likewise.
21735 * inet/getnetbyad.c: Likewise.
21736 * inet/getnetbyad_r.c: Likewise.
21737 * inet/getnetbynm.c: Likewise.
21738 * inet/getnetbynm_r.c: Likewise.
21739 * inet/getnetent.c: Likewise.
21740 * inet/getnetent_r.c: Likewise.
21741 * inet/getproto.c: Likewise.
21742 * inet/getproto_r.c: Likewise.
21743 * inet/getprtent.c: Likewise.
21744 * inet/getprtent_r.c: Likewise.
21745 * inet/getprtname.c: Likewise.
21746 * inet/getprtname_r.c: Likewise.
21747 * inet/getrpcbyname.c: Likewise.
21748 * inet/getrpcbyname_r.c: Likewise.
21749 * inet/getrpcbynumber.c: Likewise.
21750 * inet/getrpcbynumber_r.c: Likewise.
21751 * inet/getrpcent.c: Likewise.
21752 * inet/getrpcent_r.c: Likewise.
21753 * inet/getaliasent.c: Likewise.
21754 * inet/getaliasent_r.c: Likewise.
21755 * inet/getaliasname.c: Likewise.
21756 * inet/getaliasname_r.c: Likewise.
21757 * nscd/getgrgid_r.c: Likewise.
21758 * nscd/getgrnam_r.c: Likewise.
21759 * nscd/gethstbyad_r.c: Likewise.
21760 * nscd/gethstbynm3_r.c: Likewise.
21761 * nscd/getpwnam_r.c: Likewise.
21762 * nscd/getpwuid_r.c: Likewise.
21763 * nscd/getsrvbynm_r.c: Likewise.
21764 * nscd/getsrvbypt_r.c: Likewise.
21765 * nscd/gai.c: Likewise.
21766
c53d909c
RM
21767 * configure.in (build_nscd): New substituted variable, set
21768 by --disable-build-nscd and defaults to $use_nscd.
21769 * configure: Regenerated.
21770 * config.make.in (build-nscd): New substituted variable.
21771 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
21772 Change conditional to require [$(build-nscd) = yes] as well.
21773 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
21774
3cc3ef96
RM
21775 [BZ# 13696]
21776 * configure.in (use_nscd): New substituted variable, set by
21777 --disable-nscd. If enabled, define USE_NSCD.
21778 * configure: Regenerated.
21779 * config.h.in: Add USE_NSCD.
21780 * config.make.in (use-nscd): New substituted variable.
21781 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21782 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
21783 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
21784 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
21785 (CFLAGS-getgrnam_r.c): Likewise.
21786 (CFLAGS-initgroups.c): Likewise.
21787 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
21788 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
21789 Variables removed.
21790 * inet/getnetgrent_r.c
21791 (nscd_setnetgrent): New function, broken out of ...
21792 (setnetgrent): ... here. Call it.
21793 (innetgr): Conditionalize nscd bits on [USE_NSCD].
21794 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
21795 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
21796 * nscd/Makefile (routines, aux): Move definitions after include of
21797 Makeconfig. Conditionalize on [$(use-nscd) != no].
21798 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
21799 Conditionalize on [USE_NSCD].
21800 (is_nscd, nscd_init_cb): Likewise.
21801 (nss_load_library): Conditionalize init callback on [USE_NSCD].
21802 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
21803 * nss/nss_db/db-init.c: Likewise.
21804 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
21805 [USE_NSCD].
21806 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
21807 (make_request): Use it.
21808 (cache_valid_p): New function.
21809 (__check_pf): Use it.
21810 * NEWS: Add item for --disable-nscd.
21811
07e51550
DL
218122012-08-22 Dmitry V. Levin <ldv@altlinux.org>
21813
21814 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
21815 to support sed >= 4.2.1-20-ga9bf076.
21816 * configure: Regenerated.
21817
35a5b08b
RM
218182012-08-22 Roland McGrath <roland@hack.frob.com>
21819
21820 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
21821 Conditionalize whole body on [IREL].
21822
8479f23a
JL
218232012-08-22 Jeff Law <law@redhat.com>
21824
21825 [BZ #14505]
21826 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
21827 if the family is PF_UNSPEC.
21828
48da0b21
MF
218292012-08-22 Mike Frysinger <vapier@gentoo.org>
21830
21831 * Makerules (lib-version): Rename from V.
21832 (install-lib-nosubdir): Change V to lib-version.
21833
15d0da8c
WS
218342012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
21835
21836 [BZ #14252]
21837 * powerpc32/power6/wcschr.c: New file.
21838 * powerpc32/power6/wcscpy.c: New file.
21839 * powerpc32/power6/wcsrchr.c: New file.
21840 * powerpc64/power6/wcschr.c: New file.
21841 * powerpc64/power6/wcscpy.c: New file.
21842 * powerpc64/power6/wcsrchr.c: New file.
21843
bcca0895
MK
218442012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21845
21846 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
21847 (two_way_short_needle): Use it.
5a4aaa33
RM
21848 * string/strstr.c (AVAILABLE1_USES_J): Define.
21849 * string/strcasestr.c: Likewise.
99677e57
MK
21850
21851 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
21852 array references.
21853 * string/strcasestr.c (TOLOWER): Make side-effect safe.
21854
400726de
MK
21855 [BZ #11607]
21856 * NEWS: Add an entry.
21857 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
21858 define their defaults.
21859 (two_way_short_needle): Detect end-of-string on-the-fly.
21860 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
21861 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
21862 * string/bug-strcasestr1.c: New test.
21863 * string/Makefile: Run it.
21864
20a71f2c
MK
218652012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
21866
21867 [BZ #11607]
21868 * string/str-two-way.h (two_way_short_needle): Optimize matching of
21869 the first character.
21870
21ad0558
RM
218712012-08-21 Roland McGrath <roland@hack.frob.com>
21872
21873 * csu/elf-init.c (__libc_csu_irel): Function removed.
21874 * csu/libc-start.c (apply_irel): New function.
21875 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
21876
0e1d9911
JM
218772012-08-21 Joseph Myers <joseph@codesourcery.com>
21878
21879 * sysdeps/unix/sysv/linux/kernel-features.h
21880 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
21881 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
21882 <kernel-features.h>.
21883 [__NR_fadvise64_64]: Make code unconditional.
21884 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
21885 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21886 !__NR_fadvise64_64)]: Likewise.
21887 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
21888 !__NR_fadvise64_64))]: Likewise.
21889 [__NR_fadvise64]: Make code unconditional.
21890 [!__NR_fadvise64]: Remove conditional code.
21891 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
21892 <kernel-features.h>.
21893 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21894 unconditional.
21895 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21896 conditional code.
21897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
21898 not include <kernel-features.h>.
21899 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21900 unconditional.
21901 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21902 conditional code.
21903 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
21904 include <kernel-features.h>.
21905 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
21906 unconditional.
21907 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
21908 conditional code.
21909
14a50c9d
WS
219102012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
21911
21912 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
21913 slight instruction rearrangements per scrollpipe analysis.
21914 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21915
c0f4faf0
RM
219162012-08-20 Roland McGrath <roland@hack.frob.com>
21917
696da859
RM
21918 * manual/syslog.texi (syslog; vsyslog, closelog):
21919 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
21920 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
21921
c0f4faf0
RM
21922 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
21923 DSOCAPS to match condition on defining it.
21924
348363b2
JM
219252012-08-20 Joseph Myers <joseph@codesourcery.com>
21926
a35cbf28
JM
21927 * sysdeps/unix/sysv/linux/kernel-features.h
21928 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
21929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
21930 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21931 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
21933 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21934 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
21936 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
21937 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
21938
445f7ecd
JM
21939 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
21940 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
21941
348363b2
JM
21942 * sysdeps/unix/sysv/linux/kernel-features.h
21943 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
21944 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
21945 unconditional.
21946 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21947 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
21948 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21949 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21950 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
21951 Make code unconditional.
21952 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21953 (__mmap64) [!__NR_mmap2]: Likewise.
21954 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
21955 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
21956 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21957 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
21958 [__NR_mmap2]: Make code unconditional.
21959 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
21960 (__mmap64) [!__NR_mmap2]: Likewise.
21961
bc5bc0e5
AK
219622012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21963
21964 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
21965
88d506de
AJ
219662012-08-18 Andreas Jaeger <aj@suse.de>
21967
21968 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
21969
493387d2
MF
219702012-08-18 Mike Frysinger <vapier@gentoo.org>
21971
21972 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
21973 * include/unistd.h (__have_sock_cloexec): Likewise.
21974 (__have_pipe2): Likewise.
21975 (__have_dup3): Likewise.
21976
a277af22
MF
219772012-08-18 Mike Frysinger <vapier@gentoo.org>
21978
21979 [BZ #9685]
21980 * include/unistd.h (__have_pipe2): Change define into an extern int.
21981 (__have_dup3): Likewise.
21982 * socket/have_sock_cloexec.c: Include fcntl.h.
21983 (__have_pipe2): New variable.
21984 (__have_dup3): Likewise.
21985
fdab8fd3
MF
219862012-08-17 Mike Frysinger <vapier@gentoo.org>
21987
21988 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
21989
31035e80
MP
219902012-08-17 Marek Polacek <polacek@redhat.com>
21991
21992 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
21993 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
21994
3bd9e993
RM
219952012-08-17 Roland McGrath <roland@hack.frob.com>
21996
c91c505f
RM
21997 * configure.in: Add AC_SUBST for sysheaders.
21998 * configure: Regenerated.
21999 * config.make.in (sysheaders): New substituted variable.
22000
7c6f9d53
RM
22001 * sysdeps/unix/mkfifo.c: Moved ...
22002 * sysdeps/posix/mkfifo.c: ... here.
22003 * sysdeps/unix/mkfifoat.c: Moved ...
22004 * sysdeps/posix/mkfifoat.c: ... here.
22005
22006 * sysdeps/unix/utime.c: Moved ...
22007 * sysdeps/posix/utime.c: ... here.
22008
22009 * sysdeps/unix/time.c: Moved ...
22010 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
22011 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
22012 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
22013
22014 * sysdeps/unix/nice.c: Moved ...
22015 * sysdeps/posix/nice.c: ... here.
22016
22017 * sysdeps/unix/alarm.c: Moved ...
22018 * sysdeps/posix/alarm.c: ... here.
22019
3bd9e993
RM
22020 * intl/Makefile ($(codeset_mo)): Depend on the input file.
22021
d1f09384
JL
220222012-08-17 Jeff Law <law@redhat.com>
22023
22024 * intl/Makefile (codeset_mo): New variable.
22025 ($(codeset_mo)): New target.
22026 (tst-codeset.out): Depend on that. Remove explicit rule.
22027 (tst-gettext3.out, tst-gettext5.out): Likewise.
22028 (LOCPATH-ENV, tst-codeset-ENV): New variables.
22029 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
22030 * intl/tst-codeset.sh: Remove.
22031 * intl/tst-gettext3.sh: Likewise.
22032 * intl/tst-gettext5.sh: Likewise.
22033
2ae1ae5c
RM
220342012-08-17 Roland McGrath <roland@hack.frob.com>
22035
c31fdb83
RM
22036 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
22037 * sysdeps/unix/syscalls.list: ... here.
22038
a0844057
RM
22039 * sysdeps/posix/getaddrinfo.c
22040 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
22041 (gaiconf_init, gaiconf_reload): Use them.
22042 [!_STATBUF_ST_NSEC]
22043 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
22044 Define using time_t rather than struct timespec.
22045
750c1f2a
RM
22046 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
22047 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
22048 Macros removed.
22049 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
22050 [!NO_THREADS].
22051 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
22052 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
22053 Likewise.
22054
2ae1ae5c
RM
22055 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
22056 __libc_cleanup_push argument.
22057
e66a42f5
RM
22058 * bits/param.h: New file.
22059 * misc/sys/param.h: New file.
22060 * include/sys/param.h: New file.
22061 * misc/Makefile (headers): Add bits/param.h.
22062 * sysdeps/generic/sys/param.h: File removed.
22063 * sysdeps/unix/sysv/linux/bits/param.h: New file.
22064 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
22065 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 22066 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 22067
b7c08a66
RM
22068 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
22069 last change.
22070
b2e1c562
RM
22071 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
22072 [_IO_MTSAFE_IO].
22073 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
22074 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
22075 New macros.
22076
c75ccd4c
RM
22077 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
22078 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
22079 rather than -D_IO_MTSAFE_IO conditionally.
22080 * stdio-common/Makefile (CPPFLAGS): Likewise.
22081 * wcsmbs/Makefile (CPPFLAGS): Likewise.
22082 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
22083 Use $(libio-mtsafe).
22084 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
22085 of -D_IO_MTSAFE_IO.
22086 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
22087 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
22088 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
22089 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
22090 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
22091 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
22092 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
22093 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
22094 (CFLAGS-fread_u_chk.c): Likewise.
22095 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
22096 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
22097 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
22098 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
22099 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
22100 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
22101 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
22102 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
22103 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
22104
22105 * libio/Makefile: Test [$(libc-reentrant) = yes]
22106 instead of [$(filter %REENTRANT, $(defines)) nonempty].
22107
22108 * Makeconfig
22109 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
22110 * sysdeps/pthread/configure: File removed.
22111 * sysdeps/pthread/Makeconfig: New file.
22112 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
22113 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
22114
d9195db8
GB
221152012-08-16 Gary Benson <gbenson@redhat.com>
22116
22117 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
22118 unmapping the first object in a namespace.
22119
86466cd9
RM
221202012-08-16 Roland McGrath <roland@hack.frob.com>
22121
22122 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
22123 (__internal_setnetgrent): ... this. Add internal_function to
22124 definition. Add libc_hidden_def.
22125 (setnetgrent): Update caller.
22126 (internal_endnetgrent): Renamed to ...
22127 (__internal_endnetgrent): ... this. Add internal_function to
22128 definition. Add libc_hidden_def.
22129 (endnetgrent): Update caller.
22130 (internal_getnetgrent_r): Renamed to ...
22131 (__internal_getnetgrent_r): ... this. Add internal_function to
22132 definition. Add libc_hidden_def.
22133 (__getnetgrent_r): Update caller.
22134 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
22135
c3c8283c
JM
221362012-08-16 Joseph Myers <joseph@codesourcery.com>
22137
22138 * stdlib/longlong.h: Update from GCC.
22139
db1ee0a8
RM
221402012-08-16 Roland McGrath <roland@hack.frob.com>
22141
22142 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
22143 on _QL, which is set by umul_ppmm but never used.
22144 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
22145 variables, which are set by GMP macros but never used.
22146 * stdio-common/_itowa.c (_itowa): Likewise.
22147 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
22148 * stdlib/mod_1.c (mpn_mod_1): Likewise.
22149
30f69637
CD
221502012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
22151
22152 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
22153 struct La_sh_regs is not constant.
22154 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
22155 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
22156 and struct La_sparc64_regs are not constant.
22157
93a78ac4
JM
221582012-08-16 Joseph Myers <joseph@codesourcery.com>
22159
22160 * sysdeps/unix/sysv/linux/kernel-features.h
22161 (__ASSUME_POSIX_TIMERS): Remove.
22162 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22163 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22164 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
22165 Make code unconditional.
22166 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22167 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
22168 Make code unconditional.
22169 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22170 * sysdeps/unix/sysv/linux/clock_nanosleep.c
22171 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
22172 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22173 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
22174 Make code unconditional.
22175 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
22176 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
22177 (__libc_missing_posix_timers): Remove.
22178
dd924cd7
RM
221792012-08-15 Roland McGrath <roland@hack.frob.com>
22180
4b4f2771
RM
22181 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
22182 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
22183
601c888b
RM
22184 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
22185
176790a7
RM
22186 * elf/dl-sym.c: Include <stdlib.h>.
22187
329bc018
RM
22188 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
22189 constants, which avoids warnings in 32-bit builds.
22190
e04e272d
RM
22191 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
22192 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
22193
952bf94a
RM
22194 * misc/lseek.c: File moved to ...
22195 * io/lseek.c: ... here.
22196
7c99b50a
RM
22197 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
22198
dd924cd7
RM
22199 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
22200 shifting LEN more than 31 bits at once.
22201
b3f479a8
LD
222022012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22203
22204 [BZ #14195]
8c4ae0d4
RM
22205 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
22206 segmentation fault for a case of two empty input strings.
b3f479a8
LD
22207 * string/test-strncasecmp.c (check1): Renamed to...
22208 (bz12205): ...this.
22209 (bz14195): Add new testcase for two empty input strings and N > 0.
22210 (test_main): Call new testcase, adapt for renamed function.
22211
9c55864e
AJ
222122012-08-15 Andreas Jaeger <aj@suse.de>
22213
22214 [BZ #14090]
22215 * crypt/md5test2.c: New test, based on test supplied by Serge
22216 Belyshev <belyshev@depni.sinp.msu.ru>.
22217 * crypt/Makefile (xtests): Add md5test-giant..
22218 * crypt/Makefile ($(objpfx)md5test-giant): Add.
22219
02dcb6c5
PE
222202012-08-15 Paul Eggert <eggert@cs.ucla.edu>
22221
22222 [BZ #14090]
22223 * crypt/md5.c (md5_process_block): Don't assume the buffer
22224 length is less than 2**32.
22225 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
22226 length is less than 2**64.
22227
a3f95dcc
RM
222282012-08-15 Roland McGrath <roland@hack.frob.com>
22229
be75d758
RM
22230 * string/str-two-way.h: Include <sys/param.h>.
22231 (MAX): Macro removed.
22232
7312ca90
RM
22233 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
22234 Move #define and #undef of memmove to just before and after
22235 including <string.h>.
22236
9a0a5486
RM
22237 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
22238 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
22239 and after including <string.h>. Move declarations of
22240 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
22241 to before #include "string/memmove.c".
22242
67cc348d
RM
22243 * include/dirent.h: Declare __getdirentries.
22244
a3f95dcc
RM
22245 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
22246 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
22247
ca98e171
MF
222482012-08-14 Mike Frysinger <vapier@gentoo.org>
22249
22250 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
22251 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
22252 * sysdeps/i386/configure: Regenerated.
22253 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
22254 STABS_CURRENT_FILE, and STABS_FUN.
22255 (END): Remove call to STABS_FUN_END.
22256 (STABS_CURRENT_FILE1): Delete.
22257 (STABS_CURRENT_FILE): Likewise.
22258 (STABS_FUN): Likewise.
22259 (STABS_FUN_END): Likewise.
22260 (STABS_FUN2): Likewise.
22261 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
22262 * sysdeps/x86_64/configure: Regenerated.
22263
5908bf46
RM
222642012-08-14 Roland McGrath <roland@hack.frob.com>
22265
22266 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 22267 * elf/dl-lookup.c: Likewise.
5908bf46 22268
f2c05b9e
JM
222692012-08-14 Joseph Myers <joseph@codesourcery.com>
22270
22271 * sysdeps/unix/sysv/linux/kernel-features.h
22272 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
22273 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
22274 unconditionally.
22275 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
22276 unconditionally.
22277 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
22278 condition on __ASSUME_CLONE_THREAD_FLAGS.
22279
e11f5155
AJ
222802012-08-14 Andreas Jaeger <aj@suse.de>
22281
22282 * sysdeps/i386/fpu/libm-test-ulps: Update.
22283
51a9ba86
MK
222842012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
22285
2fdd4f78
AJ
22286 * include/atomic.h (atomic_exchange_and_add): Split into ...
22287 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
22288 New atomic macros.
51a9ba86 22289
ba6cba9e
MT
222902012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
22291
22292 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22293
42443a47
JL
222942012-08-13 Jeff Law <law@redhat.com>
22295
22296 * manual/stdio.texi (snprintf): Clarify handling of the trailing
22297 null byte in the output string.
22298
121dce05
JM
222992012-08-10 Joseph Myers <joseph@codesourcery.com>
22300
22301 * sysdeps/unix/sysv/linux/kernel-features.h
22302 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
22303 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
22304 (__ASSUME_ARG_MAX_STACK_BASED): Define.
22305 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
22306 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
22307 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
22308 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
22309
bf51f568
JL
223102012-08-09 Jeff Law <law@redhat.com>
22311
22312 [BZ #13939]
22313 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
22314 When avoid_arena is set, don't retry in the that arena. Pick the
22315 next one, whatever it might be.
22316 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
22317 (arena_lock): Pass in new parameter to arena_get2.
22318 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
22319 arena_get2.
22320 (__libc_malloc): Unify retrying after main arena failure with
22321 __libc_memalign version.
22322 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
22323
f85fa270
L
223242012-08-09 H.J. Lu <hongjiu.lu@intel.com>
22325
22326 [BZ #14166]
22327 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
22328 to __redirect_strstr.
22329 (__strstr_sse42): Use typeof __redirect_strstr.
22330 (__strstr_ia32): Likewise.
22331 (__libc_strstr): New prototype.
22332 (strstr): Renamed to ...
22333 (__libc_strstr): This.
22334 (strstr): New strong alias of __libc_strstr.
22335 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22336 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
22337 __redirect_time.
22338 Include <time.h>.
22339 (__libc_time): New prototype.
22340 (time_ifunc): Replace time with __libc_time.
22341 (time): New strong alias and hidden definition of __libc_time.
22342 (__GI_time): Remove strong alias.
22343 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
22344 Include <stddef.h>.
22345 (memmove): Redefined to __redirect_memmove.
22346 (__memmove_sse2): Use typeof __redirect_memmove.
22347 (__memmove_ssse3): Likewise.
22348 (__memmove_ssse3_back): Likewise.
22349 (__libc_memmove): New prototype.
22350 (memmove): Renamed to ...
22351 (__libc_memmove): This.
22352 (memmove): New strong alias of __libc_memmove.
22353
33b4a91e
MS
223542012-08-08 Mark Salter <msalter@redhat.com>
22355
22356 * elf/elf.h
22357 (R_MN10300_TLS_GD): Define.
22358 (R_MN10300_TLS_LD): Likewise.
22359 (R_MN10300_TLS_LDO): Likewise.
22360 (R_MN10300_TLS_GOTIE): Likewise.
22361 (R_MN10300_TLS_IE): Likewise.
22362 (R_MN10300_TLS_LE): Likewise.
22363 (R_MN10300_TLS_DTPMOD): Likewise.
22364 (R_MN10300_TLS_DTPOFF): Likewise.
22365 (R_MN10300_TLS_TPOFF): Likewise.
22366 (R_MN10300_SYM_DIFF): Likewise.
22367 (R_MN10300_ALIGN): Likewise.
22368 (R_MN10300_NUM): Update.
22369
b36137f1
JM
223702012-08-08 Joseph Myers <joseph@codesourcery.com>
22371
22372 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
22373 Remove.
22374
cdd915fd
RM
223752012-08-08 Roland McGrath <roland@hack.frob.com>
22376
a2433aac
RM
22377 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
22378
cdd915fd
RM
22379 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
22380 sysdeps/unix -> sysdeps/posix move.
22381 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22382
bf9b740a
AM
223832012-08-07 Allan McRae <allan@archlinux.org>
22384
22385 [BZ #14303]
22386 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
22387 (SUNOS_CPP): Likewise.
22388 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
22389 not found.
22390 (open_input): Call CPP using execvp.
22391
93df14ee
JM
223922012-08-07 Joseph Myers <joseph@codesourcery.com>
22393
22394 * sysdeps/unix/sysv/linux/kernel-features.h
22395 (__ASSUME_PROT_GROWSUPDOWN): Remove.
22396 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22397 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22398 (__ASSUME_WAITID_SYSCALL): Likewise.
22399 * sysdeps/unix/sysv/linux/dl-execstack.c
22400 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
22401 code unconditional.
22402 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
22403 conditional code.
22404 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
22405 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
22406 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
22407 code.
22408 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
22409 unconditional.
22410 [__ASSUME_WAITID_SYSCALL]: Likewise.
22411 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
22412
d34689de
RM
224132012-08-07 Roland McGrath <roland@hack.frob.com>
22414
a281decc
RM
22415 * sysdeps/unix/closedir.c: Renamed to ...
22416 * sysdeps/posix/closedir.c: ... here.
22417 * sysdeps/unix/dirfd.c: Renamed to ...
22418 * sysdeps/posix/dirfd.c: ... here.
22419 * sysdeps/unix/dirstream.h: Renamed to ...
22420 * sysdeps/posix/dirstream.h: ... here.
22421 * sysdeps/unix/fdopendir.c: Renamed to ...
22422 * sysdeps/posix/fdopendir.c: ... here.
22423 * sysdeps/unix/opendir.c: Renamed to ...
22424 * sysdeps/posix/opendir.c: ... here.
22425 * sysdeps/unix/readdir.c: Renamed to ...
22426 * sysdeps/posix/readdir.c: ... here.
22427 * sysdeps/unix/readdir_r.c: Renamed to ...
22428 * sysdeps/posix/readdir_r.c: ... here.
22429 * sysdeps/unix/rewinddir.c: Renamed to ...
22430 * sysdeps/posix/rewinddir.c: ... here.
22431 * sysdeps/unix/seekdir.c: Renamed to ...
22432 * sysdeps/posix/seekdir.c: ... here.
22433 * sysdeps/unix/telldir.c: Renamed to ...
22434 * sysdeps/posix/telldir.c: ... here.
22435 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
22436 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
22437 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
22438 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
22439
22895b47
RM
22440 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
22441 * bits/fcntl.h: ... here.
22442
707a53b6
RM
22443 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
22444 not 0.
22445 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
22446 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
22447 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
22448 (struct flock): Move l_start, l_len to the beginning.
22449 Use __pid_t for l_pid.
22450 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
22451 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
22452 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
22453 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
22454 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
22455 [__USE_LARGEFILE64] (struct flock64): New type.
22456 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
22457
f0bd3e25
RM
22458 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
22459 * bits/dirent.h: ... here.
22460
d34689de
RM
22461 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
22462 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
22463
6dad2c06
JM
224642012-08-07 Joseph Myers <joseph@codesourcery.com>
22465
22466 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22467 Change from 2.6.0 to 2.6.16.
22468 * sysdeps/unix/sysv/linux/configure: Regenerated.
22469 * sysdeps/unix/sysv/linux/kernel-features.h
22470 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
22471 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
22472 version.
22473 (__ASSUME_UTIMES): Likewise.
22474 (__ASSUME_CLONE_STOPPED): Remove.
22475 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
22476 architectures, not kernel version.
22477 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
22478 (__ASSUME_NO_CLONE_DETACHED): Likewise.
22479 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
22480 (__ASSUME_WAITID_SYSCALL): Likewise.
22481 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
22482 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
22483 * README: State 2.6.16 as minimum Linux kernel version. Do not
22484 refer to older versions.
22485
03af9520
RM
224862012-08-06 Roland McGrath <roland@hack.frob.com>
22487
8e49df1d
RM
22488 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
22489 Define alphasort64 as an alias.
22490 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
22491 Define versionsort64 as an alias.
22492 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
22493 Define scandir64 as an alias.
22494 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
22495 Define scandirat64 as an alias.
22496 * dirent/alphasort64.c (alphasort64):
22497 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
22498 * dirent/versionsort64.c: Likewise.
22499 * dirent/scandir64.c: Likewise.
22500 * dirent/scandirat64.c: Likewise.
22501 * sysdeps/wordsize-64/alphasort.c: File removed.
22502 * sysdeps/wordsize-64/alphasort64.c: File removed.
22503 * sysdeps/wordsize-64/scandir.c: File removed.
22504 * sysdeps/wordsize-64/scandir64.c: File removed.
22505 * sysdeps/wordsize-64/scandirat.c: File removed.
22506 * sysdeps/wordsize-64/scandirat64.c: File removed.
22507 * sysdeps/wordsize-64/versionsort.c: File removed.
22508 * sysdeps/wordsize-64/versionsort64.c: File removed.
22509 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
22510 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
22511 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
22512 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
22513 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
22514 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
22515 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
22516 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
22517
22518 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
22519 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22520 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
22521 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22522 [defined __arch64__ || defined __sparcv9]
22523 (__INO_T_MATCHES_INO64_T): New macro.
22524 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22525 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
22526 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
22527 * sysdeps/unix/sysv/linux/bits/dirent.h
22528 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
22529 (_DIRENT_MATCHES_DIRENT64): New macro.
22530
03af9520
RM
22531 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
22532 Define lockf64 as an alias.
22533 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
22534 Define fseeko64 as an alias.
22535 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
22536 Define ftello64 as an alias.
22537 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
22538 Define _IO_fgetpos64 and fgetpos64 as aliases.
22539 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
22540 Define _IO_fsetpos64 and fsetpos64 as aliases.
22541 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
22542 Conditionalize body on this.
22543 * libio/fseeko64.c: Likewise.
22544 * libio/ftello64.c: Likewise.
22545 * libio/iofgetpos64.c: Likewise.
22546 * libio/iofsetpos64.c: Likewise.
22547 * sysdeps/wordsize-64/lockf.c: File removed.
22548 * sysdeps/wordsize-64/lockf64.c: File removed.
22549 * sysdeps/wordsize-64/fseeko.c: File removed.
22550 * sysdeps/wordsize-64/fseeko64.c: File removed.
22551 * sysdeps/wordsize-64/ftello.c: File removed.
22552 * sysdeps/wordsize-64/ftello64.c: File removed.
22553 * sysdeps/wordsize-64/iofgetpos.c: File removed.
22554 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
22555 * sysdeps/wordsize-64/iofsetpos.c: File removed.
22556 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
22557 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
22558 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
22559 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
22560 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
22561 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
22562 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
22563 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
22564 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
22565 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
22566 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
22567
22568 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22569 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
22570 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
22571 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22572 [defined __arch64__ || defined __sparcv9]
22573 (__OFF_T_MATCHES_OFF64_T): New macro.
22574 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22575 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
22576 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22577 (__OFF_T_MATCHES_OFF64_T): New macro.
22578
c5757acd
L
225792012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22580
22581 * stdlib/secure-getenv.c (__secure_getenv): Replace
22582 GLIBC_2_16 with GLIBC_2_17.
22583
3a31811e
L
225842012-08-06 H.J. Lu <hongjiu.lu@intel.com>
22585
22586 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
22587 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22588
faa2bccb
DM
225892012-08-03 David S. Miller <davem@davemloft.net>
22590
22591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22592
85fe1997
JM
225932012-08-03 Joseph Myers <joseph@codesourcery.com>
22594
22595 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
22596 Remove.
22597 (__ASSUME_CORRECT_SI_PID): Likewise.
22598 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
22599 (__ASSUME_TMPFS_NAME): Likewise.
22600 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
22601 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
22602 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
22603 (HAVE_AUX_SECURE): Make definition unconditional.
22604 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
22605 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
22606
4f75b7a0
RM
226072012-08-03 Roland McGrath <roland@hack.frob.com>
22608
22609 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
22610 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
22611 * sysdeps/mach/hurd/eloop-threshold.h: New file.
22612 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22613 __eloop_threshold instead of SYMLOOP_MAX.
22614
22615 * sysdeps/generic/eloop-threshold.h: New file.
22616 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
22617 of MAXSYMLINKS.
22618 * elf/chroot_canon.c (chroot_canon): Likewise.
22619
7aab07e4
JM
226202012-08-03 Joseph Myers <joseph@codesourcery.com>
22621
22622 [BZ #13717]
22623 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
22624 Change to 2.6.0 everywhere.
22625 * sysdeps/unix/sysv/linux/configure: Regenerated.
22626 * sysdeps/unix/sysv/linux/kernel-features.h
22627 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
22628 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
22629 kernel versions.
22630 (__ASSUME_POSIX_TIMERS): Define unconditionally.
22631 (__ASSUME_FUTEX_REQUEUE): Remove.
22632 (__ASSUME_STATFS64): Define unconditionally.
22633 (__ASSUME_AT_SECURE): Likewise.
22634 (__ASSUME_CORRECT_SI_PID): Likewise.
22635 (__ASSUME_TGKILL): Define without depending on kernel version for
22636 i386.
22637 (__ASSUME_UTIMES): Likewise.
22638 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
22639 kernel version.
22640 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
22641 (__ASSUME_TMPFS_NAME): Likewise.
22642 * README: Update reference to Linux kernel versions.
22643
b67e9372
MP
226442012-08-02 Marek Polacek <polacek@redhat.com>
22645
1f529f7d 22646 [BZ# 14150]
b67e9372
MP
22647 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
22648 libc_cv_asm_type_prefix with %.
22649 * configure: Regenerated.
d2441631
RM
22650 * include/libc-symbols.h: Remove comment about
22651 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
22652 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
22653 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
22654 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
22655 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
22656 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
22657 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
22658 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
22659 * elf/tst-unique2mod1.c: Likewise.
22660 * elf/tst-unique1mod2.c: Likewise.
22661 * elf/tst-unique1mod1.c: Likewise.
22662 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
22663 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
22664 Replace ASM_TYPE_DIRECTIVE with .type.
22665 * sysdeps/s390/s390-64/sysdep.h: Likewise.
22666 * sysdeps/i386/sysdep.h: Likewise.
22667 * sysdeps/x86_64/sysdep.h: Likewise.
22668 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
22669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22670 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 22671 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
22672 * sysdeps/powerpc/powerpc32/sysdep.h:
22673 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
22674 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
22675 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22676 * sysdeps/i386/fpu/e_powf.S: Likewise.
22677 * sysdeps/i386/fpu/e_expl.S: Likewise.
22678 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
22679 * sysdeps/i386/fpu/e_acosh.S: Likewise.
22680 * sysdeps/i386/fpu/e_pow.S: Likewise.
22681 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
22682 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
22683 * sysdeps/i386/fpu/s_expm1.S: Likewise.
22684 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
22685 * sysdeps/i386/fpu/e_log2.S: Likewise.
22686 * sysdeps/i386/fpu/e_log2l.S: Likewise.
22687 * sysdeps/i386/fpu/e_scalb.S: Likewise.
22688 * sysdeps/i386/fpu/e_powl.S: Likewise.
22689 * sysdeps/i386/fpu/e_log10f.S: Likewise.
22690 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
22691 * sysdeps/i386/fpu/e_logl.S: Likewise.
22692 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
22693 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
22694 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
22695 * sysdeps/i386/fpu/e_log2f.S: Likewise.
22696 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
22697 * sysdeps/i386/fpu/e_log.S: Likewise.
22698 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
22699 * sysdeps/i386/fpu/e_logf.S: Likewise.
22700 * sysdeps/i386/fpu/e_log10l.S: Likewise.
22701 * sysdeps/i386/fpu/e_atanh.S: Likewise.
22702 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
22703 * sysdeps/i386/fpu/e_log10.S: Likewise.
22704 * sysdeps/i386/fpu/s_frexp.S: Likewise.
22705 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
22706 * sysdeps/i386/fpu/s_asinh.S: Likewise.
22707 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
22708 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
22709 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
22710 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
22711 * sysdeps/i386/i686/strtok.S: Likewise.
22712 * sysdeps/i386/i386-mcount.S: Likewise.
22713 * sysdeps/i386/strtok.S: Likewise.
22714 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
22715 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
22716 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
22717 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
22718 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22719 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
22720 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
22721 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
22722 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
22723 * sysdeps/x86_64/_mcount.S: Likewise.
22724 * sysdeps/x86_64/strtok.S: Likewise.
22725 * sysdeps/sh/_mcount.S: Likewise.
22726
2747bf9a
RM
227272012-08-01 Roland McGrath <roland@hack.frob.com>
22728
22729 * libio/iofopen.c: Include <fcntl.h>.
22730 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
22731 (_IO_fopen64, fopen64): Define as aliases.
22732 * libio/iofopen64.c: Include <fcntl.h>.
22733 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
22734 Conditionalize body on this.
22735 * sysdeps/wordsize-64/iofopen.c: File removed.
22736 * sysdeps/wordsize-64/iofopen64.c: File removed.
22737
3fb791b8
MP
227382012-08-01 Marek Polacek <polacek@redhat.com>
22739
22740 * libc/Makeconfig: Use elf in place of binfmt-subdir.
22741 Use dlfcn directly instead of a variable.
22742 (binfmt-subdir): Do not define.
22743 (dlfcn): Likewise.
22744
a9f1039f
JM
227452012-08-01 Joseph Myers <joseph@codesourcery.com>
22746
23bddc06
JM
22747 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22748 Remove all definitions.
22749 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
22750 <kernel-features.h>.
22751 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22752 (miss_F_GETOWN_EX): Remove all definitions.
22753 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
22754 macro definition.
22755 [!__ASSUME_FCNTL64]: Remove conditional code.
22756 [__ASSUME_FCNTL64]: Make code unconditional.
22757 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
22758 <kernel-features.h>.
22759 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
22760 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
22761 (lockf64) [__NR_fcntl64]: Make code unconditional.
22762 (lockf64) [__ASSUME_FCNTL64]: Likewise.
22763
a9f1039f
JM
22764 * sysdeps/unix/sysv/linux/kernel-features.h
22765 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
22766 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
22767 Make code unconditional.
22768 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22769 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
22771 [__NR_vfork]: Make code unconditional.
22772 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22773 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
22775 [__NR_vfork]: Make code unconditional.
22776 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
22777 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
22778
09c0ee5f
RM
227792012-08-01 Roland McGrath <roland@hack.frob.com>
22780
48aec5b9
RM
22781 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
22782 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
22783
cd97c966
RM
22784 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22785 Define mkstemp64 as an alias.
3f55550c
RM
22786 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22787 Define mkstemps64 as an alias.
cd97c966
RM
22788 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22789 Define mkostemp64 as an alias.
b8625cfc
RM
22790 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
22791 Define mkostemps64 as an alias.
cd97c966
RM
22792 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
22793 Conditionalize body on this.
22794 * misc/mkostemp64.c: Likewise.
b8625cfc 22795 * misc/mkostemps64.c: Likewise.
3f55550c 22796 * misc/mkstemps64.c: Likewise.
cd97c966
RM
22797 * sysdeps/wordsize-64/mkstemp64.c: File removed.
22798 * sysdeps/wordsize-64/mkostemp64.c: File removed.
22799 * sysdeps/wordsize-64/mkostemp.c: File removed.
22800 * sysdeps/wordsize-64/mkstemp.c: File removed.
22801 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
22802 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
22803 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
22804 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
22805
09c0ee5f
RM
22806 [BZ #14138]
22807 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
22808 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
22809 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
22810 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
22811
22812 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
22813 compat_symbol macros from <shlib-compat.h> rather than the underlying
22814 default_symbol_version and symbol_version macros, so that DEFAULT
22815 lines in shlib-versions are respected.
22816 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
22817
7e66ee51
FW
228182012-08-01 Florian Weimer <fweimer@redhat.com>
22819
22820 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
22821 Declare with warn_unused_result.
22822 (setgid, setregid, setegid, setresgid): Likewise.
22823 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
22824 Likewise.
22825 * WUR-REPORT: Remove set*id functions.
22826
d2a54255
PT
228272012-07-31 Pino Toscano <toscano.pino@tiscali.it>
22828
22829 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
22830
7ecdb005
RM
228312012-07-31 Roland McGrath <roland@hack.frob.com>
22832
b4180a5e 22833 [BZ #10191]
789bd351
RM
22834 * include/sys/socket.h (__libc_accept, __libc_accept4):
22835 Add attribute_hidden.
22836 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
22837
40ce302d
RM
22838 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
22839 use of PTR_MANGLE.
22840 * inet/getnetgrent_r.c (setup): Likewise.
22841
7ecdb005
RM
22842 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
22843
e2eabb2c
DM
228442012-07-31 David S. Miller <davem@davemloft.net>
22845
22846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22847
d0419dbf
JM
228482012-07-31 Joseph Myers <joseph@codesourcery.com>
22849
22850 [BZ #13629]
22851 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
22852 value between 1.0 and 2.0 and smaller part has absolute value less
22853 than 1.0.
22854 * math/s_clog10.c (__clog10): Likewise.
22855 * math/s_clog10f.c (__clog10f): Likewise.
22856 * math/s_clog10l.c (__clog10l): Likewise.
22857 * math/s_clogf.c (__clogf): Likewise.
22858 * math/s_clogl.c (__clogl): Likewise.
22859 * math/libm-test.inc (clog_test): Add more tests.
22860 (clog10_test): Likewise.
22861 * sysdeps/i386/fpu/libm-test-ulps: Update.
22862 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22863
2bc13872
FW
228642012-07-31 Florian Weimer <fweimer@redhat.com>
22865
22866 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
22867 Exit with zero in case no suitable GID is found, and write a
22868 message to standard error.
22869
bea9b193
RM
228702012-07-30 Roland McGrath <roland@hack.frob.com>
22871
22872 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
22873 rather than to 1.
22874 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
22875 (MAXPATHLEN): Removed.
22876 (NOGROUP, NODEV): New macros.
22877 (setbit, clrbit, isset, isclr): New macros.
22878 (howmany, roundup, powerof2): New macros.
22879 (DEV_BSIZE): New macro.
22880
22881 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
22882 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
22883
22884 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
22885 definition on [!__NO_LONG_DOUBLE_MATH].
22886
22887 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
22888 PTR_MANGLE and PTR_DEMANGLE.
22889
22890 * socket/accept4.c (accept4): Rename to __libc_accept4.
22891 Define accept4 as a weak alias.
22892
22893 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
22894 on [_DIRENT_HAVE_D_TYPE].
22895 * io/ftw.c (ftw_dir): Likewise.
22896
22897 * io/xmknod.c (__xmknod): Don't check PATH for being null.
22898
22899 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
22900
22901 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
22902 Use the BSD numbers rather than the arbitrary ones we had.
22903 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
22904 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
22905 (SIGXCPU, SIGXFSZ): New macros.
22906 (_NSIG): Now 32.
22907
22908 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
22909 initializer on [_LIBC_REENTRANT].
22910
22911 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
22912 definitions inside [_POSIX_MAPPED_FILES].
22913
22914 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
22915
22916 * dirent/opendir.c: Include <fcntl.h>.
22917
22918 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
22919 (__libc_getspecific): Likewise.
22920 (__libc_key_create): Likewise.
22921
22922 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
22923 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
22924 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
22925 (tmpfile64): Define as alias.
22926 * sysdeps/wordsize-64/tmpfile.c: File removed.
22927 * sysdeps/wordsize-64/tmpfile64.c: File removed.
22928 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
22929 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
22930
22931 * stdio-common/vfscanf.c: Include <stdbool.h>.
22932 * nss/makedb.c: Likewise.
22933 * stdio-common/_i18n_number.h: Likewise.
22934 * argp/argp-help.c: Likewise.
22935 * posix/wordexp.c: Likewise.
22936 * sysdeps/posix/spawni.c: Likewise.
22937 * nss/nss_files/files-initgroups.c: Likewise.
22938 * stdio-common/reg-modifier.c: Include <stdlib.h>.
22939 * nss/nss_files/files-initgroups.c: Likewise.
22940 * nss/nss_db/db-netgrp.c: Likewise.
22941 * nss/nss_db/db-initgroups.c: Likewise.
22942 * io/fchmodat.c: Include <sys/stat.h>.
22943
22944 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
22945 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
22946
22947 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
22948 [HAVE_MMAP].
22949
22950 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
22951 Add multiple inclusion protection.
22952
e5abc686
DM
229532012-07-27 David S. Miller <davem@davemloft.net>
22954
22955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22956
815e6fa3
GB
229572012-07-27 Gary Benson <gbenson@redhat.com>
22958
22959 [BZ #14298]
22960 * elf/rtld.c: Include <stap-probe.h>.
22961 (dl_main): Added static probes "init_start" and "init_complete".
22962 * elf/dl-load.c: Include <stap-probe.h>.
22963 (lose): Take new parameter "nsid".
22964 Added static probe "map_failed".
22965 (_dl_map_object_from_fd): Pass namespace id to lose.
22966 Added static probe "map_start".
22967 (open_verify): Pass namespace id to lose.
22968 * elf/dl-open.c: Include <stap-probe.h>.
22969 (dl_open_worker) Added static probes "map_complete", "reloc_start"
22970 and "reloc_complete".
22971 * elf/dl-close.c: Include <stap-probe.h>.
22972 (_dl_close_worker): Added static probes "unmap_start" and
22973 "unmap_complete".
22974 * elf/rtld-debugger-interface.txt: New file documenting the above.
22975
9f98c16c
RM
229762012-07-26 Roland McGrath <roland@hack.frob.com>
22977
22978 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
22979 rather than a string variable.
22980 * sunrpc/rpc_main.c (h_output): Likewise.
22981 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
22982
f3c22df3
PT
229832012-07-26 Pino Toscano <toscano.pino@tiscali.it>
22984
22985 * inet/check_native.c: New file.
22986
3129cfc6
JM
229872012-07-26 Joseph Myers <joseph@codesourcery.com>
22988
da865e95
JM
22989 [BZ #13629]
22990 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
22991 if larger part has absolute value 1.0.
22992 * math/s_clog10.c (__clog10): Likewise.
22993 * math/s_clog10f.c (__clog10f): Likewise.
22994 * math/s_clog10l.c (__clog10l): Likewise.
22995 * math/s_clogf.c (__clogf): Likewise.
22996 * math/s_clogl.c (__clogl): Likewise.
22997 * math/libm-test.inc (clog_test): Add more tests.
22998 (clog10_test): Likewise.
22999 * sysdeps/i386/fpu/libm-test-ulps: Update.
23000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23001
3129cfc6
JM
23002 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
23003 (pltexit): Likewise.
23004 (La_regs): Likewise.
23005 (La_retval): Likewise.
23006 (int_retval): Likewise.
23007 Update #error for removed macros to refer only to definitions in
23008 tst-audit.h.
23009 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
23010 macro.
23011 (pltexit): Likewise.
23012 (La_regs): Likewise.
23013 (La_retval): Likewise.
23014 (int_retval): Likewise.
23015 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
23016 macro.
23017 (pltexit): Likewise.
23018 (La_regs): Likewise.
23019 (La_retval): Likewise.
23020 (int_retval): Likewise.
23021 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
23022 macro.
23023 (pltexit): Likewise.
23024 (La_regs): Likewise.
23025 (La_retval): Likewise.
23026 (int_retval): Likewise.
23027 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
23028 macro.
23029 (pltexit): Likewise.
23030 (La_regs): Likewise.
23031 (La_retval): Likewise.
23032 (int_retval): Likewise.
23033 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
23034 macro.
23035 (pltexit): Likewise.
23036 (La_regs): Likewise.
23037 (La_retval): Likewise.
23038 (int_retval): Likewise.
23039 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
23040 macro.
23041 (pltexit): Likewise.
23042 (La_regs): Likewise.
23043 (La_retval): Likewise.
23044 (int_retval): Likewise.
23045 * sysdeps/generic/tst-audit.h: Update comment to refer only to
23046 macro definitions in tst-audit.h.
23047 * sysdeps/i386/tst-audit.h: New file.
23048 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
23049 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
23050 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
23051 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
23052 * sysdeps/sh/tst-audit.h: Likewise.
23053 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
23054 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
23055 * sysdeps/x86_64/tst-audit.h: Likewise.
23056
bfc07087
AJ
230572012-07-26 Andreas Jaeger <aj@suse.de>
23058
b1b2aaf8
AJ
23059 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
23060 ptrace.
23061
23062 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
23063 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
23064 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
23065 PTRACE_O_MASK.
23066 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
23067 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
23068 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
23069
bfc07087
AJ
23070 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
23071 value.
23072
23073 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
23074 _sigsys.
23075 (si_call_addr, si_syscall, si_arch): Define new macro.
23076 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
23077 _sigsys.
23078 (si_call_addr, si_syscall, si_arch): Define new marcro.
23079 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
23080 _sigsys.
23081 (si_call_addr, si_syscall, si_arch): Define new macro.
23082 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
23083 _sigsys.
23084 (si_call_addr, si_syscall, si_arch): Define new macro.
23085
89b4b02f
JM
230862012-07-25 Joseph Myers <joseph@codesourcery.com>
23087
23088 [BZ #13717]
23089 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23090 Change to 2.4.21 where previously 2.4.1.
23091 * sysdeps/unix/sysv/linux/configure: Regenerated.
23092 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
23093 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
23094 Linux kernel version.
23095 (__ASSUME_STD_AUXV): Remove.
23096 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
23097 kernel version.
23098 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
23099 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
23100 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
23101 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
23102 (__ASSUME_NETLINK_SUPPORT): Likewise.
23103 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
23104 (__no_netlink_support): Remove conditional definition.
23105 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
23106 Remove.
23107 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23108 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
23109 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
23110 (if_nameindex_ioctl): Remove.
23111 (if_nameindex_netlink): Do not handle __no_netlink_support.
23112 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23113 code.
23114 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
23115 Remove conditional code.
23116 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
23117 code.
23118 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
23119 unconditional.
23120 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
23121 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
23122 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
23123 Remove.
23124 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
23125 [!__ASSUME_STD_AUXV]: Remove conditional code.
23126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
23127 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
23128 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
23129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
23130 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
23131 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23132 code.
23133 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23135 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
23136 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23137 conditional code.
23138 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
23139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23140 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
23141 code.
23142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23143 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
23144 conditional code.
23145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
23146 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23147 code unconditional.
23148 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23149 conditional code.
23150 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23151 unconditional.
23152 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23153 conditional code.
23154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
23155 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23156 unconditional.
23157 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23158 conditional code.
23159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23160 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23161 code unconditional.
23162 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23163 conditional code.
23164 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23165 unconditional.
23166 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23167 conditional code.
23168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23169 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
23170 code unconditional.
23171 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23172 conditional code.
23173 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
23174 unconditional.
23175 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
23176 conditional code.
23177
842a39cd
AS
231782012-07-25 Andreas Schwab <schwab@linux-m68k.org>
23179
23180 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
23181 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
23182 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
23183 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
23184 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
23185 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
23186 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
23187 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
23188 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
23189 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
23190 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
23191 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
23192 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
23193 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
23194 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
23195 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
23196 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
23197 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
23198 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
23199 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
23200 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
23201 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
23202 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
23203
84b3fd84
FW
232042012-07-25 Florian Weimer <fweimer@redhat.com>
23205
23206 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
23207 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
23208 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
23209 Introduce __libc_secure_getenv.
0c7936d5
FW
23210 * stdlib/Versions (2.17): Add secure_getenv
23211 (GLIBC_PRIVATE): Add __libc_secure_getenv.
23212 * stdlib/secure-getenv.c: Rename __secure_getenv to
23213 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
23214 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
23215 * stdlib/tst-secure-getenv.c: New.
23216 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
23217 * manual/startup.texi (Environment Access): Document
23218 secure_getenv.
84b3fd84
FW
23219 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
23220 __libc_secure_getenv.
23221 * inet/ruserpass.c (ruserpass): Likewise.
23222 * malloc/mtrace.c (mtrace): Likewise.
23223 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 23224 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
23225 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
23226 * sysdeps/posix/tempname.c: Likewise. Evaluate
23227 HAVE_SECURE_GETENV.
23228 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 23229 __secure_getenv to __libc_secure_getenv.
84b3fd84 23230 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
23231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23232 Likewise.
23233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23234 Likewise.
23235 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
23236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
23237 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
23238 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
23239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
23240 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
23241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 23242
56e49b71
JM
232432012-07-25 Joseph Myers <joseph@codesourcery.com>
23244
23245 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
23246 (struct La_i86_retval): Likewise.
23247 (struct La_x86_64_regs): Likewise.
23248 (struct La_x86_64_retval): Likewise.
23249 (struct La_x32_regs): Likewise.
23250 (struct La_x32_retval): Likewise.
23251 (struct La_ppc32_regs): Likewise.
23252 (struct La_ppc32_retval): Likewise.
23253 (struct La_ppc64_regs): Likewise.
23254 (struct La_ppc64_retval): Likewise.
23255 (struct La_sh_regs): Likewise.
23256 (struct La_sh_retval): Likewise.
23257 (struct La_s390_32_regs): Likewise.
23258 (struct La_s390_32_retval): Likewise.
23259 (struct La_s390_64_regs): Likewise.
23260 (struct La_s390_64_retval): Likewise.
23261 (struct La_sparc32_regs): Likewise.
23262 (struct La_sparc32_retval): Likewise.
23263 (struct La_sparc64_regs): Likewise.
23264 (struct La_sparc64_retval): Likewise.
23265 (struct audit_ifaces): Remove architecture-specific pltenter and
23266 pltexit members.
23267 * sysdeps/i386/ldsodefs.h: New file.
23268 * sysdeps/powerpc/ldsodefs.h: Likewise.
23269 * sysdeps/s390/ldsodefs.h: Likewise.
23270 * sysdeps/sh/ldsodefs.h: Likewise.
23271 * sysdeps/sparc/ldsodefs.h: Likewise.
23272 * sysdeps/x86_64/ldsodefs.h: Likewise.
23273
354691b7
MP
232742012-07-25 Marek Polacek <polacek@redhat.com>
23275
23276 [BZ #6808]
23277 * math/libm-test.inc (yn_test): Add another test.
23278 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
23279 to ERANGE when the result is +-Inf.
23280 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
23281 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
23282 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
23283 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
23284
bf9e2071
JM
232852012-07-24 Joseph Myers <joseph@codesourcery.com>
23286
23287 * conform/data/time.h-data (NULL): Use macro-constant. Require
23288 equal to 0.
23289 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
23290 clock_t.
23291 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
23292
57633811
TS
232932012-07-23 Thomas Schwinge <thomas@codesourcery.com>
23294
23295 * configure.in <sysdeps resolving>: Correct printing
23296 Implies_before.
23297 * configure: Regenerate.
23298
c23c33b0
TS
232992012-07-22 Thomas Schwinge <thomas@codesourcery.com>
23300
23301 * math/w_ilogb.c: Include <limits.h>.
23302 * math/w_ilogbl.c: Likewise.
23303
b5982523
JM
233042012-07-20 Joseph Myers <joseph@codesourcery.com>
23305
23306 * manual/lang.texi (__va_copy): Document primarily as ISO C99
23307 va_copy. Document allowing for unavailable va_copy only as
23308 pre-C99 compatibility.
23309 * manual/string.texi (Copying and Concatenation): Use va_copy
23310 instead of __va_copy in concat example.
23311
ac4ea442
PT
233122012-07-20 Pino Toscano <toscano.pino@tiscali.it>
23313
23314 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
23315 (__sendto): Use create_address_port. Initialize APORT and deallocate
23316 it if not null.
23317
f98eafbd
PT
23318 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
23319 with O_NOLINK passed to __file_name_lookup.
23320
898c7aab
PT
23321 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
23322 with O_NOLINK passed to __file_name_lookup.
23323
0ced335a
PT
23324 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
23325 negative N or less than NGIDS.
23326
b3404dbd
PT
23327 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
23328 type to string_t. Set ERANGE as errno and return it if NAME is not big
23329 enough. Use memcpy instead of strncpy.
23330
0f48659e
JM
233312012-07-20 Joseph Myers <joseph@codesourcery.com>
23332
23333 * elf/Makefile (check-data): Remove.
23334 (localplt.data): New vpath directive.
23335 ($(objpfx)check-localplt.out): Use localplt.data from vpath
23336 instead of $(check-data).
23337 * scripts/data/localplt-generic.data: Move to ...
23338 * sysdeps/generic/localplt.data: ... here.
23339 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
23340 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
23341 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
23342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
23343 ... here.
23344 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
23345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
23346 ... here.
23347 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
23348 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
23349 ... here.
23350 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
23351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
23352 ... here.
23353 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
23354 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
23355 ... here.
23356 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
23357 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
23358 ... here.
23359
d37cbdaa
AZ
233602012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23361
23362 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
23363 PPC32 and PPC64 files.
23364 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
23365 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
23366
46f85fc2
AK
233672012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23368
23369 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
23370 __makecontext_ret to ...
23371 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
23372 ... here and call exit if uc_link is NULL. New file.
23373 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
23374 __makecontext_ret.S.
23375 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
23376 __makecontext_ret to ...
23377 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
23378 ... here and call exit if uc_link is NULL. New file.
23379 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
23380 __makecontext_ret.S.
23381
08f43f9b
AK
233822012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23383
23384 * elf/elf.h (R_390_IRELATIVE): New definition.
23385 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
23386 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
23387 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
23388 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
23389 (elf_machine_lazy_rel): Likewise.
23390 * sysdeps/s390/dl-irel.h: New file.
23391 * sysdeps/s390/s390-64/memcpy.S: New asm code.
23392 * sysdeps/s390/s390-64/memset.S: New asm code.
23393 * sysdeps/s390/s390-64/memcmp.S: New asm code.
23394 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
23395 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
23396 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
23397 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
23398 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
23399 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
23400 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
23401 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
23402 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
23403 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
23404 * sysdeps/s390/s390-32/memcpy.S: New asm code.
23405 * sysdeps/s390/s390-32/memset.S: New asm code.
23406 * sysdeps/s390/s390-32/memcmp.S: New asm code.
23407
3b05db33
MP
234082012-07-17 Marek Polacek <polacek@redhat.com>
23409
23410 [BZ #14349]
23411 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
23412 * sysdeps/s390/s390-64/configure.in: Likewise.
23413 * sysdeps/sparc/configure.in: Likewise.
23414 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
23415 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
23416 * sysdeps/i386/configure.in: Likewise.
23417 * sysdeps/x86_64/configure.in: Likewise.
23418 * sysdeps/sh/configure.in: Likewise.
23419 * sysdeps/s390/s390-32/configure: Regenerated.
23420 * sysdeps/s390/s390-64/configure: Likewise.
23421 * sysdeps/x86_64/configure: Likewise.
23422 * sysdeps/sh/configure: Likewise.
23423 * sysdeps/powerpc/powerpc64/configure: Likewise.
23424 * sysdeps/powerpc/powerpc32/configure: Likewise.
23425 * sysdeps/sparc/configure: Likwise.
23426 * sysdeps/i386/configure: Likewise.
23427
a66877c6
MP
23428 * elf/dl-open.c: Comment fixes.
23429
cfc82fd8
JM
234302012-07-17 Joseph Myers <joseph@codesourcery.com>
23431
bd29910a
JM
23432 * Makefile [CXX] (check-data): Remove.
23433 [CXX] (c++-types.data): New vpath directive.
23434 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
23435 vpath. Do not allow for C++ type data being missing.
23436 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
23437 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
23438 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
23439 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
23440 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
23441 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
23442 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
23443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
23444 ... here.
23445 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
23446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
23447 ... here.
23448 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
23449 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
23450 ... here.
23451 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
23452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
23453 ... here.
23454 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
23455 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
23456 ... here.
23457 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
23458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
23459 ... here.
23460 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
23461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
23462 ... here.
23463 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
23464 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
23465
cfc82fd8
JM
23466 * elf/tls-macros.h (TLS_LE): Move architecture-specific
23467 definitions to architecture-specific files.
23468 (TLS_IE): Likewise.
23469 (TLS_LD): Likewise.
23470 (TLS_GD): Likewise.
23471 * sysdeps/i386/tls-macros.h: New file.
23472 * sysdeps/powerpc/tls-macros.h: Likewise.
23473 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23474 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23475 * sysdeps/sh/tls-macros.h: Likewise.
23476 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
23477 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
23478 * sysdeps/x86_64/tls-macros.h: Likewise.
23479
f7db3170
TS
234802012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23481
07cbfc23
TS
23482 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
23483 zero value for regular exit case.
23484
f7db3170
TS
23485 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23486 (__start_context): Preserve zero value for regular exit case.
23487
dc97c227
TS
234882012-07-17 Thomas Schwinge <thomas@codesourcery.com>
23489 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23490
23491 * manual/setjmp.texi (setcontext): Clarify normal process
23492 termination when uc_link is the null pointer.
23493 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
23494 exit call.
23495
d0cd7d02
AS
234962012-07-16 Andreas Schwab <schwab@linux-m68k.org>
23497
23498 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
23499 preprocessor. Test for each exception mask separately.
23500
dd318934
AJ
235012012-07-16 Andreas Jaeger <aj@suse.de>
23502
23503 * po/ru.po: Update from translation team.
23504
8048311a
JM
235052012-07-15 Joseph Myers <joseph@codesourcery.com>
23506
23507 * conform/data/string.h-data (NULL): Use macro-constant. Require
23508 equal to 0.
23509 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
23510 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
23511 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
23512 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
23513 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23514
b637d46e
AJ
235152012-07-13 Andreas Jaeger <aj@suse.de>
23516
23517 * po/fr.po: Update from translation team.
23518
541428fe
MP
235192012-07-12 Marek Polacek <polacek@redhat.com>
23520
23521 [BZ #14173]
23522 * math/libm-test.inc (yn_test): Add test for BZ #14173.
23523 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
23524 loop condition.
23525
ec332e94
JM
235262012-07-12 Joseph Myers <joseph@codesourcery.com>
23527
23528 [BZ #13717]
23529 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23530 Change to 2.4.1 where previously 2.4.0.
23531 * sysdeps/unix/sysv/linux/configure: Regenerated.
23532 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
23533 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
23534 version.
23535 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
23536 (__ASSUME_AT_CLKTCK): Remove.
23537 (__ASSUME_AT_PAGESIZE): Likewise.
23538 (__ASSUME_AT_XID): Likewise.
23539 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
23540 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
23541 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
23542 unconditionally.
23543 (HAVE_AUX_PAGESIZE): Likewise.
23544 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
23545 [__ASSUME_AT_CLKTCK]: Make code unconditional.
23546 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
23547
7b6e99be
JB
235482012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
23549
23550 [BZ #14307]
23551 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
23552 the temporary buffer used to invoke __gethostbyname2_r,
23553 __gethostbyaddr_r and gethostbyname4_r to make room for struct
23554 host_data / struct gaih_addrtuple.
23555 * resolv/nss_dns/dns-host.c (global scope): Move definition of
23556 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
23557 header file nss/nsswitch.h.
23558 * nss/nsswitch.h (global scope): Add definition of implementation
23559 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
23560 resolv/nss_dns/dns-host.c).
23561
608404eb
AJ
235622012-07-11 Andreas Jaeger <aj@suse.de>
23563
23564 * po/fr.po: Update from translation team.
23565
71220aca
AJ
23566 * po/sv.po: Update from translation team
23567 * po/fr.po: Another update from translation team.
23568
28cfe843
AZ
235692012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23570
23571 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
23572 for subnormals or multiply small sinh result by itself.
23573 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23575
6b90f981
DM
235762012-07-11 David S. Miller <davem@davemloft.net>
23577
23578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23579
c6825772
AS
235802012-07-10 Andreas Schwab <schwab@linux-m68k.org>
23581
23582 [BZ #14347]
23583 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
23584 (INTERNAL_MARK): Shift it here.
23585
7b8e0d49
MP
235862012-07-10 Marek Polacek <polacek@redhat.com>
23587
23588 [BZ #14151]
23589 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
23590 libc_cv_asm_global_directive with .globl.
23591 * configure: Regenerated.
23592 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
23593 with .globl.
23594 * sysdeps/i386/configure: Regenerated.
23595 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
23596 with .globl.
23597 * sysdeps/x86_64/configure: Regenerated.
23598 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
23599 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
23600 * elf/tst-unique2mod2.c: Likewise.
23601 * elf/tst-unique2mod1.c: Likewise.
23602 * elf/tst-unique1mod2.c: Likewise.
23603 * elf/tst-unique1mod1.c: Likewise.
23604 * sysdeps/s390/s390-32/sysdep.h: Likewise.
23605 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
23606 * sysdeps/s390/s390-64/sysdep.h: Likewise.
23607 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
23608 * sysdeps/mach/sysdep.h: Likewise.
23609 * sysdeps/i386/sysdep.h: Likewise.
23610 * sysdeps/i386/i386-mcount.S: Likewise.
23611 * sysdeps/x86_64/_mcount.S: Likewise.
23612 * sysdeps/x86_64/sysdep.h: Likewise.
23613 * sysdeps/sh/_mcount.S: Likewise.
23614 * sysdeps/sh/sysdep.h: Likewise.
23615 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
23616 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
23617 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
23618 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23619 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
23620 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
23621 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
23622 * locale/localeinfo.h: Likewise.
23623 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
23624 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
23625
6c55cda3
RM
236262012-07-09 Roland McGrath <roland@hack.frob.com>
23627
23628 [BZ #14336]
23629 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
23630 system".
23631 * manual/message.texi (The Uniforum approach): Likewise.
23632 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
23633 (glibc iconv Implementation): Likewise.
23634
638a572e
JM
236352012-07-09 Joseph Myers <joseph@codesourcery.com>
23636
23637 [BZ #14337]
23638 * math/s_clog.c (__clog): Avoid scaling a value down where that
23639 could result in underflow.
23640 * math/s_clog10.c (__clog10): Likewise.
23641 * math/s_clog10f.c (__clog10f): Likewise.
23642 * math/s_clog10l.c (__clog10l): Likewise.
23643 * math/s_clogf.c (__clogf): Likewise.
23644 * math/s_clogl.c (__clogl): Likewise.
23645 * math/libm-test.inc (clog_test): Add more tests.
23646 (clog10_test): Likewise.
23647 * sysdeps/i386/fpu/libm-test-ulps: Update.
23648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23649
261f4859
AS
236502012-07-06 Andreas Schwab <schwab@linux-m68k.org>
23651
0abaf3e4
AS
23652 [BZ #14283]
23653 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
23654 by 7 not 8 to examine high bit of fractional part.
23655
261f4859
AS
23656 [BZ #14042]
23657 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
23658 for call to __mcount_internal.
23659 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
23660 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
23661 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
23662
f17ac40d
JM
236632012-07-06 Joseph Myers <joseph@codesourcery.com>
23664
9ad63c23
JM
23665 [BZ #14154]
23666 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
23667 approximation for values within 0x1p-13f of an odd multiple of
23668 pi/4.
23669 * math/libm-test.inc (tan_test): Do not allow spurious underflow
23670 exception. Add more tests.
23671 * sysdeps/i386/fpu/libm-test-ulps: Update.
23672
f17ac40d
JM
23673 [BZ #6778]
23674 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
23675 inputs and return -1 for them. Do not check for +Inf in case not
23676 reachable for +Inf.
23677 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23678 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
23679 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23680 and return -1 for them. Do not check for +Inf in case not
23681 reachable for +Inf.
23682 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
23683 define.
23684 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
23685 and return -1 for them. Do not check for +Inf in case not
23686 reachable for +Inf.
23687 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
23688 spurious underflow.
23689 * sysdeps/i386/fpu/libm-test-ulps: Update.
23690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23691
fb21f89b
MF
236922012-07-06 Mike Frysinger <vapier@gentoo.org>
23693
23694 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
23695
cdfe2c5e
JM
236962012-07-05 Joseph Myers <joseph@codesourcery.com>
23697
23698 [BZ #14157]
23699 [BZ #14331]
23700 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
23701 could result in spurious underflow. Scale down values above
23702 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
23703 * math/s_csqrtf.c (__csqrtf): Likewise.
23704 * math/s_csqrtl.c (__csqrtl): Likewise.
23705 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
23706 spurious underflow.
23707 * sysdeps/i386/fpu/libm-test-ulps: Update.
23708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23709
70d35b67
AS
237102012-07-04 Andreas Schwab <schwab@linux-m68k.org>
23711
704bc459
AS
23712 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
23713 xopen-msg.sed.
23714 * catgets/xopen-msg.awk: New file.
23715 * catgets/xopen-msg.sed: Removed.
23716
70d35b67
AS
23717 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
23718 po2text.sed.
23719 * intl/po2test.awk: New file.
23720 * intl/po2test.sed: Removed.
23721
ca61cf32
JM
237222012-07-04 Joseph Myers <joseph@codesourcery.com>
23723
23724 [BZ #14328]
23725 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
23726 or multiply small sinh result by itself.
23727 * math/s_ctanf.c (__ctanf): Likewise.
23728 * math/s_ctanh.c (__ctanh): Likewise.
23729 * math/s_ctanhf.c (__ctanhf): Likewise.
23730 * math/s_ctanhl.c (__ctanhl): Likewise.
23731 * math/s_ctanl.c (__ctanl): Likewise.
23732 * math/libm-test.inc (ctan_test_tonearest): New function.
23733 (ctan_test_towardzero): Likewise.
23734 (ctan_test_downward): Likewise.
23735 (ctan_test_upward): Likewise.
23736 (ctanh_test_tonearest): Likewise.
23737 (ctanh_test_towardzero): Likewise.
23738 (ctanh_test_downward): Likewise.
23739 (ctanh_test_upward): Likewise.
23740 (main): Call these new functions.
23741 * sysdeps/i386/fpu/libm-test-ulps: Update.
23742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23743
ca48a46a
MF
237442012-07-03 Mike Frysinger <vapier@gentoo.org>
23745
23746 * .gitignore: Delete /ports entry.
23747
9d63d37d
AJ
237482012-07-03 Andreas Jaeger <aj@suse.de>
23749
23750 * po/bg.po: Update from translation team.
23751 * po/cs.po: Likewise.
23752 * po/de.po: Likewise.
23753 * po/hr.po: Likewise.
23754 * po/nl.pl: Likewise.
23755 * po/pl.po: Likewise.
23756 * po/vi.po: Likewise.
23757
370ca3d2
JM
237582012-07-03 Joseph Myers <joseph@codesourcery.com>
23759
95f5a9a8
JM
23760 * Makeconfig [!+link] (+link-before-libc): New variable.
23761 [!+link] (+link-after-libc): Likewise.
23762 [!+link] (+link-tests): Likewise.
23763 [!+link] (+link): Define in terms of $(+link-before-libc) and
23764 $(+link-after-libc).
23765 [!+link-static] (+link-static-before-libc): New variable.
23766 [!+link-static] (+link-static-after-libc): Likewise.
23767 [!+link-static] (+link-static-tests): Likewise.
23768 [!+link-static] (+link-static): Define in terms of
23769 $(+link-static-before-libc) and $(+link-static-after-libc).
23770 [build-shared] (link-libc-before-gnulib): New variable.
23771 [build-shared] (link-libc-tests): Likewise.
23772 [build-shared] (link-libc): Define in terms of
23773 $(link-libc-before-gnulib).
23774 [!build-shared] (link-libc-tests): New variable.
23775 (link-libc-static-tests): New variable.
23776 [!gnulib] (gnulib-arch): New variable.
23777 [!gnulib] (gnulib-tests): Likewise.
23778 [!gnulib] (static-gnulib-arch): Likewise.
23779 [!gnulib] (static-gnulib-tests): Likewise.
23780 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
23781 Define with "=" instead of ":=".
23782 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
23783 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
23784 * Rules (binaries-all-notests): New variable.
23785 (binaries-all-tests): Likewise.
23786 (binaries-static-notests): Likewise.
23787 (binaries-static-tests): Likewise.
23788 (binaries-all): Define using $(binaries-all-notests) and
23789 $(binaries-all-tests).
23790 (binaries-static): Define using $(binaries-static-notests) and
23791 $(binaries-static-tests).
23792 (binaries-shared-tests): New variable.
23793 (binaries-shared-notests): Likewise.
23794 (binaries-shared): Remove variable.
23795 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
23796 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
23797 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
23798 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
23799 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
23800 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
23801 * elf/Makefile (sln-modules): New variable.
23802 (extra-objs): Add $(sln-modules:=.o).
23803 (ldconfig-modules): Add static-stubs.
23804 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
23805 * elf/static-stubs.c: New file.
23806
7a845b2c
JM
23807 [BZ #14283]
23808 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
23809 by 7 not 8 to examine high bit of fractional part. Use volatile
23810 variables when splitting into final array of floats if
23811 __FLT_EVAL_METHOD__ != 0.
23812 * math/libm-test.inc (cos_test): Add another test.
23813 (sin_test): Likewise.
23814 * sysdeps/i386/fpu/libm-test-ulps: Update.
23815
e2283f38
JM
23816 [BZ #14273]
23817 * math/libm-test.inc (cosh_test): Add more tests.
23818
370ca3d2
JM
23819 * version.h (RELEASE): Set to "development".
23820 (VERSION): Set to "2.16.90".
23821
ee9247c3
CD
238222012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
23823
23824 * NEWS: Update copyright. Remove last-updated date.
23825 Mention math library bug fixes and timezone data changes.
23826 * README: Mention GNU/Hurd, x32, and HPPA support status.
23827
4648c381
TS
238282012-06-28 Thomas Schwinge <thomas@codesourcery.com>
23829
23830 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
23831
aac78a43
AJ
238322012-06-27 Andreas Jaeger <aj@suse.de>
23833
23834 * manual/contrib.texi (Contributors): Add Samuel Thibault.
23835
ed3dbfad
AJ
238362012-06-25 Andreas Jaeger <aj@suse.de>
23837
23838 * sysdeps/s390/fpu/libm-test-ulps: Update.
23839
4d0ee855
AS
238402012-06-23 Andreas Schwab <schwab@linux-m68k.org>
23841 Thomas Schwinge <thomas@codesourcery.com>
23842
23843 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
23844 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
23845 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
23846 fanotify_mark.
23847
af1bce34
TS
238482012-06-23 Thomas Schwinge <thomas@codesourcery.com>
23849
a9fa33ba
TS
23850 * sysdeps/mach/start.c: Remove file.
23851 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
23852 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
23853 * sysdeps/sh/init-first.c: Likewise.
23854
58f902b8
TS
23855 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
23856 registers for frame unwinding purposes, add CFI directives.
23857 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23858 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
23859 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
23860 Likewise.
23861
1518f58b
TS
23862 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
23863 __fortify_fail returning.
23864 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
23865
db9b5059
TS
23866 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
23867 sysdeps/sh/____longjmp_chk.S.
23868 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
23869 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
23870 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
23871 (gen-as-const-headers): Append sigaltstack-offsets.sym.
23872
967705fe
TS
23873 * sysdeps/sh/abort-instr.h: New file.
23874 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
23875 process in case exit returns.
23876
a9def8c4
TS
23877 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
23878 initialize the GOT register before use.
23879
2a649725
TS
23880 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
23881 calculation of ARGC > 4.
23882
af1bce34
TS
23883 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
23884 meaningful names to some local labels.
23885
d230f50a
KK
238862012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23887 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23888
23889 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
23890 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
23891 (__arch_compare_and_exchange_val_16_acq): Likewise.
23892 (__arch_compare_and_exchange_val_32_acq): Likewise.
23893 (atomic_exchange_and_add): Fix gUSA sequence.
23894 (atomic_add): Likewise.
23895 (atomic_add_negative): Likewise.
23896 (atomic_add_zero): Likewise.
23897 (atomic_bit_test_set): Likewise.
23898
0479b305
AS
238992012-06-22 Andreas Schwab <schwab@redhat.com>
23900
23901 [BZ #13579]
23902 * include/link.h (struct link_map): Add l_free_initfini.
23903 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
23904 l_initfini.
23905 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
23906 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
23907 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
23908 set.
23909
0e3933b9
CD
239102012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
23911
23912 * configure.in: Use AC_LANG_SOURCE.
23913 * configure: Regenerate.
23914
4248b1b1
RM
239152012-06-22 Roland McGrath <roland@hack.frob.com>
23916
23917 * configure.in (libc_cv_localstatedir): New substituted variable.
23918 * configure: Regenerated.
23919 * config.make.in (localstatedir): New variable, substituted from
23920 libc_cv_localstatedir.
23921 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
23922 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
23923 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
23924 * sysdeps/gnu/configure: Regenerated.
23925
006dd861
JL
239262012-06-21 Jeff Law <law@redhat.com>
23927
23928 [BZ #14277]
23929 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
23930 free. Simplify list management for _LIBC case.
23931
79662d42
JM
239322012-06-21 Joseph Myers <joseph@codesourcery.com>
23933
b7abb4bf
JM
23934 [BZ #14273]
23935 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
23936 Clear sign bit of 64-bit integer value before comparing against
23937 overflow value.
23938
79662d42
JM
23939 * sysdeps/mach/configure: Regenerated.
23940
1f150908
L
239412012-06-21 H.J. Lu <hongjiu.lu@intel.com>
23942
23943 [BZ #14278]
23944 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
23945
28363bbf
JL
239462012-06-21 Jeff Law <law@redhat.com>
23947
23948 [BZ #13882]
23949 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
23950 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 23951 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
23952 * elf/dl-open.c (dl_open_worker): Likewise.
23953
09615db4
CD
239542012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
23955
23956 * scripts/list-sources.sh: Scan PORTS for translations.
23957 * po/libc.pot: Regenerated.
23958
2174c6dd
AJ
239592012-06-21 Andreas Jaeger <aj@suse.de>
23960
23961 [BZ #12194]
23962 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
23963 warning.
23964 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
23965 * bits/byteswap-16.h (__bswap_16): Likewise.
23966 * bits/byteswap.h (__bswap_constant_16): Likewise.
23967
3ee947b1
L
239682012-06-18 H.J. Lu <hongjiu.lu@intel.com>
23969
23970 [BZ #14117]
a2f34833
L
23971 * sysdeps/i386/fpu_control.h: Removed.
23972 * sysdeps/x86_64/fpu_control.h: Moved to ...
23973 * sysdeps/x86/fpu_control.h: Here.
23974
3ee947b1
L
23975 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
23976 (_FPU_SETCW): Likewise.
23977
ed1825f8
L
239782012-06-15 H.J. Lu <hongjiu.lu@intel.com>
23979
25f1282a
L
23980 [BZ #14117]
23981 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
23982 * sysdeps/x86/fpu/bits/mathinline.h: This.
23983 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
23984
ed1825f8
L
23985 [BZ #14050]
23986 [BZ #14117]
23987 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
23988 functions if __x86_64__ is defined.
23989
36d54b74
CLT
239902012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
23991
23992 * string/endian.h: Add !__ASSEMBLER__ condition for including
23993 conversion interfaces.
23994
10285c21
JM
239952012-06-15 Joseph Myers <joseph@codesourcery.com>
23996
23997 [BZ #14241]
23998 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
23999 of ABS(x) in calculating zero to negative powers other than odd
24000 integers.
24001 * math/libm-test.inc (pow_test): Add more tests.
24002
06c5abbd
AJ
240032012-06-15 Andreas Jaeger <aj@suse.de>
24004
24005 * manual/contrib.texi (Contributors): Update entry of Liubov
24006 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
24007 Machado Filho.
24008
a3aeac40
CH
240092012-06-15 Cyril Hrubis <metan@ucw.cz>
24010
24011 * string/string.h: Add __wur to GNU version of strerror_r.
24012
49bdf4c1
L
240132012-06-14 H.J. Lu <hongjiu.lu@intel.com>
24014
24015 [BZ #14229]
24016 * string/Makefile (tests): Add tst-strtok_r.
24017 * string/tst-strtok_r.c: New file.
24018 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
24019 RAX_LP/RDX_LP on SAVE_PTR.
24020
834f9b8d
RM
240212012-06-14 Roland McGrath <roland@hack.frob.com>
24022
24023 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
24024
75fa1921
JM
240252012-06-14 Joseph Myers <joseph@codesourcery.com>
24026
24027 * libm_test.inc (csqrt_test): Allow more spurious underflow
24028 exceptions.
24029 (j0_test): Likewise.
24030 (j1_test): Likewise.
24031 (y0_test): Likewise.
24032 (y1_test): Likewise.
24033
771766df
CD
240342012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
24035
24036 * po/Makefile (libc.pot): Use UTF-8 charset.
24037
ceb9e56b
PP
240382012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
24039
24040 [BZ #14210]
24041 Suppress sign-conversion warning from FD_SET.
24042 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
24043 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
24044 not unsigned long int.
24045 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
24046
ddb28975
L
240472012-06-12 H.J. Lu <hongjiu.lu@intel.com>
24048
24049 [BZ #14050]
24050 [BZ #14117]
24051 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
24052 __extern_always_inline instead of __extern_inline.
24053 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
24054 (__signbit): Likewise.
24055 (__signbitl): Support C++ namespace.
24056 (lrintf): New inline function.
24057 (lrint): Likewise.
24058 (llrintf): Likewise.
24059 (llrint): Likewise.
24060 (fmaxf): Likewise.
24061 (fmax): Likewise.
24062 (fminf): Likewise.
24063 (fmin): Likewise.
24064 (rint): Likewise.
24065 (rintf): Likewise.
24066 (ceil): Likewise.
24067 (ceilf): Likewise.
24068 (floor): Likewise.
24069 (floorf): Likewise.
24070 (nearbyint): Likewise.
24071 (nearbyintf): Likewise.
24072
d7b4fb26
TS
240732012-06-12 Thomas Schwinge <thomas@codesourcery.com>
24074
24075 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
24076 non-default versions.
24077
eb55f5c2
RM
240782012-06-11 Roland McGrath <roland@hack.frob.com>
24079
24080 [BZ #14218]
24081 * manual/argp.texi (Argp): Reword argp_parse description slightly.
24082
366af02c
TS
240832012-06-09 Thomas Schwinge <thomas@codesourcery.com>
24084
99ff6e5c
TS
24085 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
24086 (FE_UPWARD, FE_DOWNWARD): Don't define.
24087 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
24088 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24089
366af02c
TS
24090 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
24091 reading it.
24092 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24093 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24094
793ea851
KK
240952012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24096
24097 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24098 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
24099 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
24100 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
24101
a728a38f
L
241022012-06-06 H.J. Lu <hongjiu.lu@intel.com>
24103
24104 [BZ #14117]
c08010c7
L
24105 * sysdeps/i386/fpu/bits/fenv.h: Removed.
24106 * sysdeps/i386/fpu/Implies: New file.
24107 * sysdeps/x86_64/fpu/Implies: Likewise.
24108 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
24109 * sysdeps/x86/fpu/bits/fenv.h: This.
24110
a728a38f
L
24111 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
24112 __SSE_MATH__.
24113
6e230d11
SP
241142012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
24115
24116 [BZ #14134]
24117 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
24118 character 0xffff that matches the last element of the
24119 conversion table.
24120
1b671feb
AZ
241212012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24122
24123 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
24124 fmodl commit.
24125
6043738b
AZ
241262012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24127
24128 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
24129 values higher than 25.6283.
24130
34ae0b32
AZ
241312012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24132
24133 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
24134 subnormal exponent extraction and add some __builtin_expect.
24135 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
24136 Fix for subnormal mantissa calculation.
24137
1214ec8f
MF
241382012-06-04 Mike Frysinger <vapier@gentoo.org>
24139
24140 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
24141 cpu2 is -1 and errno is not ENOSYS.
24142
f3d1f93c
L
241432012-06-04 H.J. Lu <hongjiu.lu@intel.com>
24144
24145 [BZ #14117]
0e4a3cd7
L
24146 * sysdeps/i386/i486/bits/string.h: Renamed to ...
24147 * sysdeps/x86/bits/string.h: This.
24148 * sysdeps/x86_64/bits/string.h: Removed.
24149
6704c645
L
24150 * sysdeps/i386/i486/bits/string.h: Define inline functions only
24151 if not compiling for x86-64, but compiling for >= i486.
24152
48495318
L
24153 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
24154 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
24155
14adcbfc
L
24156 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
24157 New macro from Linux kernel 3.4.0.
24158 (FP_XSTATE_MAGIC2): Likewise.
24159 (FP_XSTATE_MAGIC2_SIZE): Likewise.
24160 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
24161 (struct _fpx_sw_bytes): New struct.
24162 (struct _xsave_hdr): Likewise.
24163 (struct _ymmh_state): Likewise.
24164 (struct _xstate): Likewise.
24165
68e408ab
L
24166 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
24167 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
24168 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
24169 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
24170 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
24171 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
24172
f3d1f93c
L
24173 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
24174 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
24175 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
24176 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
24177 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
24178 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
24179
d9dc34cd
TMQMF
241802012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24181
24182 [BZ #13743]
24183 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
24184 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
24185 (sysdep_headers): Include sys/platform/ppc.h.
24186 * sysdeps/powerpc/test-gettimebase.c: Test for
24187 __ppc_get_timebase() to catch future ISA opcode/insn changes.
24188 * manual/Makefile (appendices): Include platform.texi.
24189 * manual/contrib.texi (Contributors): Update @node pointers.
24190 * manual/maint.texi (Maintenance): Likewise.
24191 (Platform): New node.
24192 * manual/platform.texi: New file. Document the new features.
24193
4af3879c
SP
241942012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24195 Jakub Jelinek <jakub@redhat.com>
24196
24197 [BZ #14188]
24198 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
24199 where __builtin_expect is unavailable.
24200
2fd6ff13
DM
242012012-06-03 David S. Miller <davem@davemloft.net>
24202
24203 * stdlib/longlong.h: Updated from GCC.
24204
173f7220
AS
242052012-06-02 Andreas Schwab <schwab@linux-m68k.org>
24206
24207 [BZ #14042]
24208 * sysdeps/powerpc/powerpc32/mcount.c: New file.
24209 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
24210 __mcount_internal.
24211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
24212 (GLIBC_2.16): Likewise.
24213
f34a1c6f
L
242142012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24215
24216 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
24217
88a4576f
JM
242182012-06-01 Joseph Myers <joseph@codesourcery.com>
24219
ea32bcdd
JM
24220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
24221 (default-abi): New variable.
24222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
24223 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
24224 variable.
24225 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
24226 Likewise.
24227 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
24228 Likewise.
24229 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
24230 Likewise.
24231
88a4576f
JM
24232 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
24233 definition. Document in comment.
24234
402fe938
DM
242352012-06-01 David S. Miller <davem@davemloft.net>
24236
24237 * stdlib/longlong.h: Updated from GCC.
24238
3553723f
L
242392012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24240
24241 [BZ #14117]
3bd872c4
L
24242 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
24243 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
24244 sys/debugreg.h sys/io.h here.
24245 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
24246 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
24247 sys/io.h.
24248 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
24249 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
24250 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
24251 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
24252 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
24253 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
24254
3553723f
L
24255 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
24256 Define only if __x86_64__ is defined.
24257
4842e4fe
JM
242582012-06-01 Joseph Myers <joseph@codesourcery.com>
24259
c5bfe3d5
JM
24260 [BZ #14048]
24261 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
24262 Use int64_t for variable i.
24263 * math/libm-test.inc (fmod_test): Add more tests.
24264
4842e4fe
JM
24265 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
24266 z computation is not scheduled after fetestexcept.
24267 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
24268 Use math_force_eval instead of asm to ensure calculation scheduled
24269 before exception test.
24270 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
24271 Ensure a1 + u.d computation is not scheduled after fetestexcept.
24272
efb73488
AJ
242732012-06-01 Aurelien Jarno <aurelien@aurel32.net>
24274
24275 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
24276 computation is not scheduled after fetestexcept.
24277
29bcce7c
L
242782012-06-01 H.J. Lu <hongjiu.lu@intel.com>
24279
24280 [BZ #14117]
24281 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
24282 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
24283
73a68f94
AZ
242842012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24285
24286 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
24287 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
24288
67b6df78
L
242892012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24290
edf2933a 24291 [BZ #14117]
ebc64a18
L
24292 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
24293 <bits/wordsize.h>.
24294 (__WCHAR_MIN): Support __WORDSIZE == 64.
24295 (__WCHAR_MAX): Likewise.
24296
edf2933a
L
24297 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
24298 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
24299
57c6cf40
L
24300 [BZ #14183]
24301 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
24302 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
24303
67b6df78 24304 [BZ #14117]
8eb6281e
L
24305 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
24306 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
24307
aac639f4
L
24308 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
24309 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
24310
67b6df78
L
24311 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
24312 Defined to 1 if __x86_64__ isn't defined.
24313 (_STAT_VER_LINUX_OLD): New.
24314 (st_atime): Remove duplicate.
24315 (st_mtime): Likewise.
24316 (st_ctime): Likewise.
24317
1c2cfe81
DM
243182012-05-31 David S. Miller <davem@davemloft.net>
24319
24320 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
24321 entries.
24322
5be8418c
AS
243232012-06-01 Andreas Schwab <schwab@linux-m68k.org>
24324
e7725326
AS
24325 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
24326 gen-libm-test.pl.
24327
5be8418c
AS
24328 [BZ #14132]
24329 * elf/dl-reloc.c: Include <_itoa.h>.
24330 (_dl_reloc_bad_type): Remove use of INTUSE.
24331 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
24332 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
24333 * stdio-common/psiginfo.c (psiginfo): Likewise.
24334 * stdio-common/psignal.c (psignal): Likewise.
24335 * string/strsignal.c (strsignal): Likewise.
24336 * include/signal.h (_sys_siglist): Declare hidden proto.
24337 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
24338 INTVARDEF with libc_hidden_data_def.
24339 * stdio-common/itoa-udigits.c: Likewise.
24340 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
24341 (_itoa_lower_digits_internal): Remove declaration.
24342 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
24343 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
24344 (_sys_sigabbrev_internal): Remove aliases.
24345 (_sys_siglist): Define hidden alias.
24346
507352f1
MT
243472012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
24348
24349 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24350 bits/sysctl.h.
24351
42bbb1c3
L
243522012-05-31 H.J. Lu <hongjiu.lu@intel.com>
24353
24354 [BZ #14117]
6bd784b6
L
24355 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
24356 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
24357
8bca20f0
L
24358 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
24359 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
24360 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
24361 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
24362 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
24363 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
24364
f9e890a9
L
24365 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
24366 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
24367 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
24368
471101a1
L
24369 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
24370 with __addr.
24371 (insw): Likewise.
24372 (insl): Likewise.
24373 (outsb): Likewise.
24374 (outsw): Likewise.
24375 (outsl): Likewise.
24376
6451c862
L
24377 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
24378 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
24379 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
24380
a254b8c9
L
24381 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
24382 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
24383 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
24384 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
24385 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
24386 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
24387
b8dfdd92
L
24388 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
24389 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
24390
578cd270
L
24391 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
24392 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
24393
de662f5f
L
24394 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
24395 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
24396 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
24397
25653439
L
24398 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
24399 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
24400 to ...
24401 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
24402
6bad24a0
L
24403 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
24404 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
24405 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
24406
42bbb1c3
L
24407 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
24408 for x86-64.
24409 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
24410
2d10d547
JM
244112012-05-31 Joseph Myers <joseph@codesourcery.com>
24412
24413 * math/math.h (M_El): Use two more decimal places.
24414 (M_LOG2El): Likewise.
24415 (M_LOG10El): Likewise.
24416 (M_LN2l): Likewise.
24417 (M_LN10l): Likewise.
24418 (M_PIl): Likewise.
24419 (M_PI_2l): Likewise.
24420 (M_PI_4l): Likewise.
24421 (M_1_PIl): Likewise.
24422 (M_2_PIl): Likewise.
24423 (M_2_SQRTPIl): Likewise.
24424 (M_SQRT2l): Likewise.
24425 (M_SQRT1_2l): Likewise.
24426
f230c29b
DM
244272012-05-31 David S. Miller <davem@davemloft.net>
24428
24429 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
24430 values between float registers.
24431 * sysdeps/sparc/sparc64/memset.S: Likewise.
24432 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
24433
fed806c3
MF
244342012-05-31 Mike Frysinger <vapier@gentoo.org>
24435
24436 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
24437 -D_FORTIFY_SOURCE=1.
24438 (CPPFLAGS-tst-longjmp_chk.c): Define.
24439 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
24440 (CPPFLAGS-tst-longjmp_chk2.c): Define.
24441 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
24442 CFLAGS-tst-wchar-h.c.
24443
30917259
MP
244442012-05-31 Marek Polacek <polacek@redhat.com>
24445
24446 [BZ #14132]
24447 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
24448 __endmntent_internal): Remove declaration.
24449 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
24450 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
24451 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
24452
1c58d5dc
DM
244532012-05-30 David S. Miller <davem@davemloft.net>
24454
24455 * sysdeps/sparc/sparc32/soft-fp/q_util.c
24456 (___Q_simulate_exceptions): Use real FP ops rather than writing
24457 into the %fsr.
24458 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
24459 Likewise.
24460
7dc00e0d
L
244612012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24462
24463 [BZ #14117]
0bd53985
L
24464 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
24465 * sysdeps/x86/bits/xtitypes.h: This.
24466
3a257e66
L
24467 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
24468 * sysdeps/x86/bits/wordsize.h: This.
24469
62f62904
L
24470 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
24471 * sysdeps/x86/bits/huge_vall.h: This.
24472
404fe9d9
L
24473 * sysdeps/i386/bits/select.h: Removed.
24474 * sysdeps/x86_64/bits/select.h: Renamed to ...
24475 * sysdeps/x86/bits/select.h: This.
24476
d48d0446
L
24477 * sysdeps/i386/bits/setjmp.h: Removed.
24478 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
24479 * sysdeps/x86/bits/setjmp.h: This.
24480
7dc00e0d
L
24481 * sysdeps/i386/bits/mathdef.h: Removed.
24482 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
24483 * sysdeps/x86/bits/mathdef.h: This.
24484
03277f8f
AS
244852012-05-30 Andreas Schwab <schwab@linux-m68k.org>
24486
24487 [BZ #14132]
24488 * include/sys/socket.h (__connect_internal)
24489 (__libc_sa_len_internal): Remove declaration.
24490 (__connect, __libc_sa_len): Declare hidden_proto.
24491 (SA_LEN): Remove use of INTUSE.
24492 * socket/connect.c: Add libc_hidden_def.
24493 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
24494 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
24495 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
24496 alias.
24497 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
24498 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
24499 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
24500 of adding _internal alias.
24501
13764867
L
245022012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24503
24504 [BZ #14117]
6bd97696
L
24505 * sysdeps/i386/bits/link.h: Removed.
24506 * sysdeps/i386/bits/linkmap.h: Likewise.
24507 * sysdeps/x86_64/bits/link.h: Renamed to ...
24508 * sysdeps/x86/bits/link.h: This.
24509 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
24510 * sysdeps/x86/bits/linkmap.h: This.
24511
f726f0bb
L
24512 * sysdeps/i386/bits/endian.h: Removed.
24513 * sysdeps/x86_64/bits/endian.h: Renamed to ...
24514 * sysdeps/x86/bits/endian.h: This.
24515
13764867
L
24516 * sysdeps/i386/bits/byteswap.h: Removed.
24517 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24518 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
24519 * sysdeps/x86/bits/byteswap.h: This.
24520 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
24521 * sysdeps/x86/bits/byteswap-16.h: This.
24522 * sysdeps/i386/Implies: Add x86.
24523 * sysdeps/x86_64/Implies: Likewise.
24524
ae251b0b
DM
245252012-05-30 David S. Miller <davem@davemloft.net>
24526
24527 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
24528 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
24529 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
24530 (FP_TRAPPING_EXCEPTIONS): Define.
24531 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
24532 (FP_TRAPPING_EXCEPTIONS): Define.
24533 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
24534 subnormals only when inexact has been signalled or underflow
24535 exceptions are enabled.
24536 (_FP_PACK_CANONICAL): Likewise.
24537
d5c90867
L
245382012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24539
24540 [BZ #14183]
24541 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
24542 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
24543
63f1549e
RH
245442012-05-30 Richard Henderson <rth@twiddle.net>
24545
8d8f2279
RH
24546 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
24547 with #ifndef NOT_IN_libc.
24548
63f1549e
RH
24549 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
24550 marked to avoid plt entry.
24551
0ab0291b
L
245522012-05-30 H.J. Lu <hongjiu.lu@intel.com>
24553
24554 [BZ #14112]
24555 * Makeconfig (default-abi): New macro.
24556 (abi-includes): Likewise.
24557 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
24558 $(abi-$(default-abi)-lib-soname) for soname if defined.
24559 ($(common-objpfx)gnu/lib-names.stmp): Generate from
24560 abi-variants.
24561 * Makefile (installed-stubs): Likewise.
24562 * include/stubs-biarch.h: Removed.
24563 * scripts/lib-names.awk: Only handle one library at a time.
24564 * scripts/soversions.awk: Remove WORDSIZE support.
24565 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
24566 entries.
24567 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
24568 Removed.
24569 (syscall-list-default-condition): Likewise.
24570 (syscall-list-default-condition): Likewise.
24571 (syscall-list-includes): Likewise.
24572 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
24573 syscall-list-* with abi-*. Handle undefined abi-variants.
24574 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
24575 * sysdeps/unix/sysv/linux/i386/Implies: New file.
24576 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
24577 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
24578 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
24579 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
24580 Removed.
24581 (syscall-list-32-options): Likewise.
24582 (syscall-list-32-condition): Likewise.
24583 (syscall-list-64-options): Likewise.
24584 (syscall-list-64-condition): Likewise.
24585 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
24586 macro.
24587 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
24588 Renamed to ...
24589 (abi-*): This.
24590 (abi-64-ld-soname): New macro.
24591 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
24592 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
24593 Renamed to ...
24594 (abi-*): This.
24595 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
24596 * sysdeps/x86_64/x32/shlib-versions: Likewise.
24597
4da0431d
JM
245982012-05-30 Joseph Myers <joseph@codesourcery.com>
24599
3a85279c
JM
24600 * sysdeps/unix/sysv/linux/kernel-features.h
24601 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
24602 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
24603 include <kernel-features.h>.
24604 [!__NR_ftruncate64]: Remove conditional code.
24605 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24606 [__NR_ftruncate64]: Make code unconditional.
24607 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24608 * sysdeps/unix/sysv/linux/truncate64.c: Do not
24609 include <kernel-features.h>.
24610 [!__NR_ftruncate64]: Remove conditional code.
24611 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24612 [__NR_ftruncate64]: Make code unconditional.
24613 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
24615 include <kernel-features.h>.
24616 [!__NR_ftruncate64]: Remove conditional code.
24617 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24618 [__NR_ftruncate64]: Make code unconditional.
24619 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
24621 include <kernel-features.h>.
24622 [!__NR_ftruncate64]: Remove conditional code.
24623 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24624 [__NR_ftruncate64]: Make code unconditional.
24625 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
24626
4da0431d
JM
24627 * configure.in (libc_cv_fpie): Weaken to a compile test using
24628 LIBC_TRY_CC_OPTION.
24629 * configure: Regenerated.
24630
11ef492c
AK
246312012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24632
24633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
24634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
24635 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
24636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24637 Refreshed.
24638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
24639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
24640 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
24641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
24642 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
24643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24644 Refreshed.
24645
d66ef399
DM
246462012-05-27 David S. Miller <davem@davemloft.net>
24647
24648 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
24649 (___Q_zero): New.
24650 (__Q_simulate_exceptions): Return void. Change to simulate
24651 exceptions by writing into the %fsr.
24652 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
24653 (__Qp_handle_exceptions): Likewise.
24654 (numbers): Delete.
24655 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
24656 __Qp_handle_exceptions.
24657 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
24658 __Qp_handle_exceptions.
24659 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24660 as unused and give dummy FP_RND_NEAREST initializer.
24661 (FP_INHIBIT_RESULTS): Define.
24662 (___Q_simulate_exceptions): Update declaration.
24663 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
24664 formatting.
24665 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
24666 as unused and give dummy FP_RND_NEAREST initializer.
24667 (__Qp_handle_exceptions): Update declaration.
24668 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
24669 formatting.
24670
04fb54b5
TS
246712012-05-27 Thomas Schwinge <thomas@codesourcery.com>
24672
24673 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
24674 the temporary FPU control word.
24675 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
24676 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
24677 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24678 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
24679 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24680 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24681 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24682 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24683 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24684 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
24685 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
24686
3f99608f
KK
246872012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24688
24689 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
24690 fields.
24691
65a4de4e
CLT
246922012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
24693
24694 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
24695 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
24696 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
24697 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
24698 Likewise.
24699 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
24700 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
24701 Likewise.
24702
15749d40
UD
247032012-05-27 Ulrich Drepper <drepper@gmail.com>
24704
24705 * po/h.po: Update from translation team.
24706
25dbcb27
AS
247072012-05-26 Andreas Schwab <schwab@linux-m68k.org>
24708
3d3f8e55
AS
24709 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
24710
25dbcb27
AS
24711 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
24712 handling of denormals.
24713 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
24714 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
24715 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
24716 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
24717 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24718 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
24719 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
24720 Likewise.
24721
7ad47a80 247222012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
24723
24724 [BZ #14152]
24725 * math/libm-test.inc (fma_test): Don't always expect underflow
24726 exception.
24727
9c6ea9fa
SP
247282012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24729
24730 [BZ #12416]
24731 * elf/tst-execstack.c: Include stackinfo.h.
24732 (do_test): Adjust test case to ensure that pthread_getattr_np
24733 behaviour remains the same after marking stack executable.
24734
a8239222
JM
247352012-05-25 Joseph Myers <joseph@codesourcery.com>
24736
24737 * sysdeps/unix/sysv/linux/kernel-features.h
24738 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
24739 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
24740 kernel-features.h.
24741 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24742 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24743 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
24744 kernel-features.h.
24745 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
24746 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
24747
918b5606
L
247482012-05-25 H.J. Lu <hongjiu.lu@intel.com>
24749
24750 * configure.in: Define the default includes to being none.
24751 * configure: Regenerated.
24752
3a097cc7
RM
247532012-05-25 Roland McGrath <roland@hack.frob.com>
24754
8422c9a5
RM
24755 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
24756 * sysdeps/x86_64/setjmp.S: Likewise.
24757 * sysdeps/i386/bsd-setjmp.S: Likewise.
24758 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24759 * sysdeps/i386/setjmp.S: Likewise.
24760 * sysdeps/i386/__longjmp.S: Likewise.
24761 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
24762 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
24763
3a097cc7
RM
24764 * include/stap-probe.h: New file.
24765 * configure.in: Handle --enable-systemtap.
24766 * configure: Regenerated.
24767 * config.h.in (USE_STAP_PROBE): New #undef.
24768 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
24769 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
24770 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
24771
21708942
JM
247722012-05-25 Joseph Myers <joseph@codesourcery.com>
24773
24774 [BZ #13717]
24775 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
24776 to 2.4.0 where earlier.
24777 * sysdeps/unix/sysv/linux/configure: Regenerated.
24778 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
24779 <kernel-features.h>.
24780 [__ASSUME_32BITUIDS]: Make code unconditional.
24781 [!__ASSUME_32BITUIDS]: Remove conditional code.
24782 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
24783 <kernel-features.h>.
24784 [__ASSUME_32BITUIDS]: Make code unconditional.
24785 [!__ASSUME_32BITUIDS]: Remove conditional code.
24786 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
24787 [__ASSUME_32BITUIDS]: Make code unconditional.
24788 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
24789 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
24790 <kernel-features.h>.
24791 [__ASSUME_32BITUIDS]: Make code unconditional.
24792 [!__ASSUME_32BITUIDS]: Remove conditional code.
24793 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
24794 <kernel-features.h>.
24795 [__ASSUME_32BITUIDS]: Make code unconditional.
24796 [!__ASSUME_32BITUIDS]: Remove conditional code.
24797 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
24798 <kernel-features.h>.
24799 [__ASSUME_32BITUIDS]: Make code unconditional.
24800 [!__ASSUME_32BITUIDS]: Remove conditional code.
24801 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
24802 <kernel-features.h>.
24803 [__ASSUME_32BITUIDS]: Make code unconditional.
24804 [!__ASSUME_32BITUIDS]: Remove conditional code.
24805 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
24806 <kernel-features.h>.
24807 [__ASSUME_32BITUIDS]: Make code unconditional.
24808 [!__ASSUME_32BITUIDS]: Remove conditional code.
24809 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
24810 <kernel-features.h>.
24811 [__ASSUME_32BITUIDS]: Make code unconditional.
24812 [!__ASSUME_32BITUIDS]: Remove conditional code.
24813 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
24814 <kernel-features.h>.
24815 [__ASSUME_32BITUIDS]: Make code unconditional.
24816 [!__ASSUME_32BITUIDS]: Remove conditional code.
24817 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
24818 <kernel-features.h>.
24819 [__ASSUME_32BITUIDS]: Make code unconditional.
24820 [!__ASSUME_32BITUIDS]: Remove conditional code.
24821 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
24822 <kernel-features.h>.
24823 [__ASSUME_32BITUIDS]: Make code unconditional.
24824 [!__ASSUME_32BITUIDS]: Remove conditional code.
24825 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
24826 <kernel-features.h>.
24827 [__ASSUME_32BITUIDS]: Make code unconditional.
24828 [!__ASSUME_32BITUIDS]: Remove conditional code.
24829 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
24830 <kernel-features.h>.
24831 [__NR_setresgid] (__setresgid): Do not declare.
24832 [__ASSUME_32BITUIDS]: Make code unconditional.
24833 [!__ASSUME_32BITUIDS]: Remove conditional code.
24834 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
24835 <kernel-features.h>.
24836 [__NR_setresuid] (__setresuid): Do not declare.
24837 [__ASSUME_32BITUIDS]: Make code unconditional.
24838 [!__ASSUME_32BITUIDS]: Remove conditional code.
24839 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
24840 <kernel-features.h>.
24841 [__ASSUME_32BITUIDS]: Make code unconditional.
24842 [!__ASSUME_32BITUIDS]: Remove conditional code.
24843 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
24844 <kernel-features.h>.
24845 [__ASSUME_32BITUIDS]: Make code unconditional.
24846 [!__ASSUME_32BITUIDS]: Remove conditional code.
24847 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
24848 <kernel-features.h>.
24849 [__ASSUME_32BITUIDS]: Make code unconditional.
24850 [!__ASSUME_32BITUIDS]: Remove conditional code.
24851 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
24852 <kernel-features.h>.
24853 [__ASSUME_32BITUIDS]: Make code unconditional.
24854 [!__ASSUME_32BITUIDS]: Remove conditional code.
24855 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
24856 <kernel-features.h>.
24857 [__ASSUME_32BITUIDS]: Make code unconditional.
24858 [!__ASSUME_32BITUIDS]: Remove conditional code.
24859 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
24860 <kernel-features.h>.
24861 [__ASSUME_32BITUIDS]: Make code unconditional.
24862 [!__ASSUME_32BITUIDS]: Remove conditional code.
24863 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
24864 <kernel-features.h>.
24865 [__ASSUME_32BITUIDS]: Make code unconditional.
24866 [!__ASSUME_32BITUIDS]: Remove conditional code.
24867 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
24868 <kernel-features.h>.
24869 [__ASSUME_32BITUIDS]: Make code unconditional.
24870 [!__ASSUME_32BITUIDS]: Remove conditional code.
24871 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
24872 <kernel-features.h>.
24873 [__ASSUME_32BITUIDS]: Make code unconditional.
24874 [!__ASSUME_32BITUIDS]: Remove conditional code.
24875 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
24876 <kernel-features.h>.
24877 [__ASSUME_32BITUIDS]: Make code unconditional.
24878 [!__ASSUME_32BITUIDS]: Remove conditional code.
24879 * sysdeps/unix/sysv/linux/kernel-features.h
24880 (__ASSUME_SETRESUID_SYSCALL): Remove.
24881 (__ASSUME_SETRESGID_SYSCALL): Likewise.
24882 (__ASSUME_32BITUIDS): Likewise.
24883 (__ASSUME_LDT_WORKS): Likewise.
24884 (__ASSUME_O_DIRECTORY): Likewise.
24885 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
24886 architecture but not kernel version.
24887 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
24888 (__ASSUME_MMAP2_SYSCALL): Likewise.
24889 (__ASSUME_STAT64_SYSCALL): Likewise.
24890 (__ASSUME_IPC64): Likewise.
24891 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
24892 <kernel-features.h>.
24893 [__ASSUME_32BITUIDS]: Make code unconditional.
24894 [!__ASSUME_32BITUIDS]: Remove conditional code.
24895 * sysdeps/unix/sysv/linux/opendir.c: Do not include
24896 <kernel-features.h>.
24897 [__ASSUME_O_DIRECTORY]: Make code unconditional.
24898 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
24899 132096]: Remove conditional code.
24900 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
24901 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
24902 <kernel-features.h>.
24903 [__ASSUME_32BITUIDS]: Make code unconditional.
24904 [!__ASSUME_32BITUIDS]: Remove conditional code.
24905 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
24906 <kernel-features.h>.
24907 [__ASSUME_32BITUIDS]: Make code unconditional.
24908 [!__ASSUME_32BITUIDS]: Remove conditional code.
24909 * sysdeps/unix/sysv/linux/setegid.c: Do not include
24910 <kernel-features.h>.
24911 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
24912 unconditional.
24913 (__setresgid): Do not declare.
24914 [__ASSUME_32BITUIDS]: Make code unconditional.
24915 [!__ASSUME_32BITUIDS]: Remove conditional code.
24916 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
24917 <kernel-features.h>.
24918 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
24919 unconditional.
24920 (__setresuid): Do not declare.
24921 [__ASSUME_32BITUIDS]: Make code unconditional.
24922 [!__ASSUME_32BITUIDS]: Remove conditional code.
24923 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
24924 <kernel-features.h>.
24925 [__ASSUME_32BITUIDS]: Make code unconditional.
24926 [!__ASSUME_32BITUIDS]: Remove conditional code.
24927 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
24928 <kernel-features.h>.
24929 [__ASSUME_32BITUIDS]: Make code unconditional.
24930 [!__ASSUME_32BITUIDS]: Remove conditional code.
24931
a386f1cc
RH
249322012-05-25 Richard Henderson <rth@twiddle.net>
24933
24934 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
24935 dl_hwcap to ifunc resolver.
24936 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
24937 elf_ifunc_invoke.
24938 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
24939 dl_hwcap to ifunc resolver.
24940 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
24941
b6550497
JM
249422012-05-24 Joseph Myers <joseph@codesourcery.com>
24943
24944 [BZ #14153]
24945 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
24946 for |x| <= 2**-26, not 2**-57.
24947 * math/libm-test.inc (acos_test): Do not allow spurious underflow
24948 exception.
24949
b0bc23a1
JL
249502012-05-24 Jeff Law <law@redhat.com>
24951
24952 * stdio-common/Makefile (tests): Add bug25.
24953 * stdio-common/bug25.c: New test.
24954
347c92e9
L
249552012-05-24 H.J. Lu <hongjiu.lu@intel.com>
24956
24957 [BZ #13576]
24958 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
24959 multiple of MALLOC_ALIGNMENT in size.
24960 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
24961
6bcc8b3f
JM
249622012-05-24 Joseph Myers <joseph@codesourcery.com>
24963
24964 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
24965 Require >= 256.
24966 (FILENAME_MAX): Use macro-int-constant.
24967 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
24968 (_IOFBF): Use macro-int-constant.
24969 (_IOLBF): Likewise.
24970 (_IONBF): Likewise.
24971 (SEEK_CUR): Likewise.
24972 (SEEK_END): Likewise.
24973 (SEEK_SET): Likewise.
24974 (TMP_MAX): Likewise.
24975 (EOF): Use macro-int-constant. Require < 0.
24976 (NULL): Use macro-constant. Require == 0.
24977 (stdin): Require type to be FILE *.
24978 (stdout): Likewise.
24979 (stderr): Likewise.
24980 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
24981 macro-int-constant.
24982 (EXIT_SUCCESS): Likewise.
24983 (NULL): Use macro-constant. Require == 0.
24984 (RAND_MAX): Use macro-int-constant.
24985 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
24986 [C99-based standards] (strtof): Require function.
24987 [C99-based standards] (strtold): Likewise.
24988 [C99-based standards] (strtoll): Likewise.
24989 [C99-based standards] (strtoull): Likewise.
24990 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
24991 [ISO || ISO99 || ISO11] (limits.h): Likewise.
24992 [ISO || ISO99 || ISO11] (math.h): Likewise.
24993 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
24994 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
24995 [ISO || ISO99 || ISO11] (*_t): Do not allow.
24996
d18ea0c5
AS
249972012-05-24 Andreas Schwab <schwab@linux-m68k.org>
24998
24999 [BZ #14132]
56d25bb8
AS
25000 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
25001 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
25002 * intl/dgettext.c (DCGETTEXT): Likewise.
25003 * intl/gettext.c (DCGETTEXT): Likewise.
25004 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
25005 * posix/regex_internal.h (gettext): Likewise.
25006 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
25007 Remove declaration.
25008 * include/argz.h (__argz_count_internal)
25009 (__argz_stringify_internal): Remove declaration.
25010 (__argz_count, __argz_stringify): Declare hidden proto.
25011 * intl/dcgettext.c: Remove use of INTDEF.
25012 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
25013 * string/argz-stringify.c: Likewise.
25014 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
25015 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
25016 Declare hidden proto.
d18ea0c5
AS
25017 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
25018 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
25019 Declare hidden proto.
25020 * include/stdio.h (__asprintf_internal): Don't declare.
25021 (__asprintf): Don't define as macro. Declare hidden proto.
25022 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
25023 (__fsetlocking): Declare hidden proto.
25024 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
25025 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
25026 hidden proto.
25027 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
25028 (_IO_setlinebuf): Remove use of INTUSE.
25029 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
25030 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
25031 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
25032 Remove declaration.
25033 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
25034 (_IO_do_flush): Remove use of INTUSE.
25035 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
25036 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
25037 (_IO_adjust_column, _IO_least_wmarker)
25038 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
25039 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
25040 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
25041 (_IO_default_doallocate, _IO_wdefault_doallocate)
25042 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
25043 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
25044 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
25045 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
25046 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
25047 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
25048 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
25049 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
25050 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
25051 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
25052 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
25053 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
25054 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
25055 proto.
25056 (_IO_flush_all_internal, _IO_adjust_column_internal)
25057 (_IO_default_uflow_internal, _IO_default_finish_internal)
25058 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
25059 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
25060 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
25061 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
25062 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
25063 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
25064 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
25065 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
25066 (_IO_file_close_internal, _IO_file_close_it_internal)
25067 (_IO_file_underflow_internal, _IO_file_overflow_internal)
25068 (_IO_file_init_internal, _IO_file_attach_internal)
25069 (_IO_file_fopen_internal, _IO_file_read_internal)
25070 (_IO_file_sync_internal, _IO_file_seek_internal)
25071 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
25072 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
25073 (_IO_str_underflow_internal, _IO_str_overflow_internal)
25074 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
25075 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
25076 (_IO_list_all_internal, _IO_link_in_internal)
25077 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
25078 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
25079 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
25080 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
25081 (_IO_do_write_internal, _IO_padn_internal)
25082 (_IO_getline_info_internal, _IO_getline_internal)
25083 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
25084 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
25085 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
25086 (_IO_vfscanf_internal, _IO_vfprintf_internal)
25087 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
25088 (_IO_init_internal, _IO_un_link_internal): Don't declare.
25089 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
25090 with libc_hidden_ver, remove use of INTUSE.
25091 * libio/genops.c: Likewise.
25092 * libio/freopen.c: Likewise.
25093 * libio/freopen64.c: Likewise.
25094 * libio/iofclose.c: Likewise.
25095 * libio/iofdopen.c: Likewise.
25096 * libio/iofflush.c: Likewise.
25097 * libio/iofflush_u.c: Likewise.
25098 * libio/iofgets.c: Likewise.
25099 * libio/iofgets_u.c: Likewise.
25100 * libio/iofopen.c: Likewise.
25101 * libio/iofopncook.c: Likewise.
25102 * libio/iofread.c: Likewise.
25103 * libio/iofread_u.c: Likewise.
25104 * libio/ioftell.c: Likewise.
25105 * libio/iofwrite.c: Likewise.
25106 * libio/iogetline.c: Likewise.
25107 * libio/iogets.c: Likewise.
25108 * libio/iogetwline.c: Likewise.
25109 * libio/iopadn.c: Likewise.
25110 * libio/iopopen.c: Likewise.
25111 * libio/ioseekoff.c: Likewise.
25112 * libio/ioseekpos.c: Likewise.
25113 * libio/iosetbuffer.c: Likewise.
25114 * libio/iosetvbuf.c: Likewise.
25115 * libio/ioungetc.c: Likewise.
25116 * libio/ioungetwc.c: Likewise.
25117 * libio/iovdprintf.c: Likewise.
25118 * libio/iovsprintf.c: Likewise.
25119 * libio/iovsscanf.c: Likewise.
25120 * libio/memstream.c: Likewise.
25121 * libio/obprintf.c: Likewise.
25122 * libio/oldfileops.c: Likewise.
25123 * libio/oldiofclose.c: Likewise.
25124 * libio/oldiofdopen.c: Likewise.
25125 * libio/oldiofopen.c: Likewise.
25126 * libio/oldiopopen.c: Likewise.
25127 * libio/oldstdfiles.c: Likewise.
25128 * libio/putc.c: Likewise.
25129 * libio/setbuf.c: Likewise.
25130 * libio/setlinebuf.c: Likewise.
25131 * libio/stdfiles.c: Likewise.
25132 * libio/strops.c: Likewise.
25133 * libio/vasprintf.c: Likewise.
25134 * libio/vscanf.c: Likewise.
25135 * libio/vsnprintf.c: Likewise.
25136 * libio/vswprintf.c: Likewise.
25137 * libio/wfiledoalloc.c: Likewise.
25138 * libio/wfileops.c: Likewise.
25139 * libio/wgenops.c: Likewise.
25140 * libio/wmemstream.c: Likewise.
25141 * libio/wstrops.c: Likewise.
25142 * libio/__fpurge.c: Likewise.
25143 * libio/__fsetlocking.c: Likewise.
25144 * assert/assert.c: Likewise.
25145 * debug/fgets_chk.c: Likewise.
25146 * debug/fgets_u_chk.c: Likewise.
25147 * debug/fread_chk.c: Likewise.
25148 * debug/fread_u_chk.c: Likewise.
25149 * debug/gets_chk.c: Likewise.
25150 * debug/obprintf_chk.c: Likewise.
25151 * debug/vasprintf_chk.c: Likewise.
25152 * debug/vdprintf_chk.c: Likewise.
25153 * debug/vsnprintf_chk.c: Likewise.
25154 * debug/vsprintf_chk.c: Likewise.
25155 * malloc/mtrace.c: Likewise.
25156 * misc/error.c: Likewise.
25157 * misc/syslog.c: Likewise.
25158 * stdio-common/asprintf.c: Likewise.
25159 * stdio-common/fxprintf.c: Likewise.
25160 * stdio-common/getw.c: Likewise.
25161 * stdio-common/isoc99_fscanf.c: Likewise.
25162 * stdio-common/isoc99_scanf.c: Likewise.
25163 * stdio-common/isoc99_vfscanf.c: Likewise.
25164 * stdio-common/isoc99_vscanf.c: Likewise.
25165 * stdio-common/isoc99_vsscanf.c: Likewise.
25166 * stdio-common/printf-prs.c: Likewise.
25167 * stdio-common/printf_fp.c: Likewise.
25168 * stdio-common/printf_fphex.c: Likewise.
25169 * stdio-common/printf_size.c: Likewise.
25170 * stdio-common/putw.c: Likewise.
25171 * stdio-common/scanf.c: Likewise.
25172 * stdio-common/sprintf.c: Likewise.
25173 * stdio-common/tmpfile.c: Likewise.
25174 * stdio-common/vfprintf.c: Likewise.
25175 * stdio-common/vfscanf.c: Likewise.
25176 * stdlib/strfmon_l.c: Likewise.
25177 * sunrpc/openchild.c: Likewise.
25178 * sunrpc/xdr_stdio.c: Likewise.
25179 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
25180 * sysdeps/mach/hurd/tmpfile.c: Likewise.
25181
d6c33fda
RM
251822012-05-24 Roland McGrath <roland@hack.frob.com>
25183
c1487492
RM
25184 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25185
25186 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
25187 in the third column, to generate for the shared library an IFUNC
25188 that uses _dl_vdso_vsym.
25189 * Makerules (COMPILE.c, compile-stdin.c): New variables.
25190 * Makeconfig (object-suffixes-noshared): New variable.
25191
25192 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
25193 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
25194 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
25195 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
25196
d6c33fda
RM
25197 [BZ #14132]
25198 * include/sys/time.h (__gettimeofday): Remove macro.
25199 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
25200 * time/gettimeofday.c (__gettimeofday): Remove #undef.
25201 Remove INTDEF.
25202 (__gettimeofday): Add libc_hidden_def.
25203 (gettimeofday): Add libc_hidden_weak.
25204 * sysdeps/mach/gettimeofday.c: Likewise.
25205 * sysdeps/posix/gettimeofday.c: Likewise.
25206 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
25207 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
25208 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
25209 (__gettimeofday_internal): Remove strong_alias.
25210 (__gettimeofday): Add libc_hidden_def.
25211 (gettimeofday): Add libc_hidden_weak.
25212 * sysdeps/unix/syscalls.list (gettimeofday):
25213 Remove __gettimeofday_internal alias.
25214
b5a2bbe6
L
252152012-05-24 Daniel Jacobowitz <drow@false.org>
25216 H.J. Lu <hongjiu.lu@intel.com>
25217
25218 [BZ #12495]
25219 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
25220 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
25221 (largebin_index_32_big): New.
25222 (largebin_index): Use it for 16-byte alignment.
25223 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
25224 correction with front_misalign.
25225
cfba4fda
L
252262012-05-24 H.J. Lu <hongjiu.lu@intel.com>
25227
7f907421
L
25228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
25229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
25230 Likewise.
25231 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
25232 Likewise.
25233 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
25234 Likewise.
25235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
25236 Likewise.
25237 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
25238 Likewise.
25239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
25240 Likewise.
25241 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
25242 Likewise.
25243 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25244 Likewise.
25245 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
25246 Likewise.
25247 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
25248 Likewise.
25249 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
25250 Likewise.
25251 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
25252 Likewise.
25253
cfba4fda
L
25254 * scripts/data/c++-types-x32-linux-gnu.data: New file.
25255 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
25256
80bad0cc
JM
252572012-05-24 Joseph Myers <joseph@codesourcery.com>
25258
7a25eb06
JM
25259 [BZ #10846]
25260 [BZ #14036]
25261 * math/libm-test.inc (exp_test): Add test from bug 14036.
25262 (pow_test): Add test from bug 10846.
25263
795405f9
JM
25264 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
25265 and other flags.
25266 (special_function): Do not include flags in test name.
25267 (parse_args): Likewise.
25268 * sysdeps/i386/fpu/libm-test-ulps: Update.
25269 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25270 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25271 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25273
80bad0cc
JM
25274 * math/gen-libm-test.pl (%beautify): Add entries for underflow
25275 exceptions.
25276 * math/libm-test.inc ("Philosophy"): Update comment about
25277 exception testing.
25278 (UNDERFLOW_EXCEPTION): New macro.
25279 (UNDERFLOW_EXCEPTION_OK): Likewise.
25280 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
25281 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
25282 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
25283 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
25284 (INVALID_EXCEPTION_OK): Update value.
25285 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25286 (OVERFLOW_EXCEPTION_OK): Likewise.
25287 (IGNORE_ZERO_INF_SIGN): Likewise.
25288 (test_exceptions): Handle underflow exceptions.
25289 (acos_test): Update for underflow exception expectations.
25290 (cexp_test): Likewise.
25291 (clog_test): Likewise.
25292 (clog10_test): Likewise.
25293 (csqrt_test): Likewise.
25294 (ctan_test): Likewise.
25295 (ctanh_test): Likewise.
25296 (exp_test): Likewise.
25297 (exp10_test): Likewise.
25298 (exp2_test): Likewise.
25299 (expm1_test): Likewise.
25300 (fma_test): Likewise.
25301 (j0_test): Likewise.
25302 (jn_test): Likewise.
25303 (nexttoward_test): Likewise.
25304 (pow_test): Likewise.
25305 (scalbn_test): Likewise.
25306 (scalbln_test): Likewise.
25307 (tan_test): Likewise.
25308 (y1_test): Likewise.
25309 * sysdeps/i386/fpu/libm-test-ulps: Update.
25310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25311
9e0e3d0b
DM
253122012-05-23 David S. Miller <davem@davemloft.net>
25313
25314 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
25315 (__libc_sigaction): Remove unused local variables.
25316
ccd0a08f
L
253172012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25318
25319 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
25320
62bdf9a6
PE
253212012-05-23 Paul Eggert <eggert@cs.ucla.edu>
25322
f8591f80
PE
25323 mktime: avoid signed integer overflow
25324 * time/mktime.c (__mktime_internal): Do not mishandle the case
25325 where diff == INT_MIN.
25326
94c7d826
PE
25327 mktime: simplify computation of average
25328 * time/mktime.c (ranged_convert): Use new time_t_avg function
25329 instead of rolling our own (probably-slower) code.
25330
ce73d683
PE
25331 mktime: do not assume signed right shift propagates sign bit
25332 * time/mktime.c (isdst_differ): New static function.
25333 (__mktime_internal): No need to normalize tm_isdst now.
25334 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
25335 tm_isdst values.
25336
72a22e59
PE
25337 mktime: merge another wrapv change from gnulib
25338 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
25339 from some compilers.
25340
68605433
PE
25341 mktime: remove incorrect attempt at unusual arithmetics
25342 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
25343 The code didn't really work on such machines anyway.
25344 (TYPE_MINIMUM): Assume two's complement.
25345 (twos_complement_arithmetic): Verify that long_int and time_t
25346 are two's complement (or unsigned, in the latter case).
25347
03cf7fe3
PE
25348 mktime: check signed shifts on long_int and time_t, too
25349 * time/mktime.c (SHR): Check that shifts work as desired
25350 on the types long_int and time_t too, as SHR is used on
25351 such types.
25352
f04dfbc2
PE
25353 mktime: do not assume 'long' is wide enough
25354 * time/mktime.c (verify): Move decl up.
25355 (long_int): New type.
25356 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
25357 to remove assumption in the code that 'long' is wide enough to
25358 store year values. This assumption is not true on x32 and on
25359 some non-glibc platforms.
25360
62bdf9a6
PE
25361 mktime: merge wrapv change from gnulib
25362 * time/mktime.c (WRAPV): New macro.
25363 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
25364 (guess_time_tm, __mktime_internal): Do not assume that signed
25365 integer overflow wraps around; modern compilers generate code
25366 where this assumption is no longer valid.
25367
5e292e4f
L
253682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25369
25370 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25371 Replace "jmp L(pseudo_end)" with "ret".
25372 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
25373 Likewise.
25374
8caf8c87
AJ
253752012-05-23 Andreas Jaeger <aj@suse.de>
25376
25377 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
25378 * sysdeps/unix/sysv/linux/poll.c: Remove file.
25379
1a09dc56
AJ
253802012-05-23 Andreas Jaeger <aj@suse.de>
25381 Maximilian Attems <max@stro.at>
25382
25383 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
25384 New macros.
25385
1c87aba0
L
253862012-05-23 H.J. Lu <hongjiu.lu@intel.com>
25387
25388 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
25389 code so that pseudo_end is just ret and the stack pointer is
25390 correct also for static library in error case.
25391
40e45bd5
JM
253922012-05-23 Joseph Myers <joseph@codesourcery.com>
25393
c2670533
JM
25394 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
25395 move to syscalls.list.
25396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
25397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
25398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
25399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
25400
40e45bd5
JM
25401 * manual/install.texi (Running make install): Do not mention Linux
25402 kernel version for which pt_chown is not needed.
25403 (Linux): Do not mention problems with nscd with 2.0 kernels.
25404 * INSTALL: Regenerated.
25405
be08eda5
AJ
254062012-05-23 Andreas Jaeger <aj@suse.de>
25407
25408 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
25409 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
25410 macro.
25411 * sysdeps/unix/sysv/linux/s390/bits/mman.h
25412 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25413 * sysdeps/unix/sysv/linux/sh/bits/mman.h
25414 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25415 * sysdeps/unix/sysv/linux/i386/bits/mman.h
25416 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25417 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
25418 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25419 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
25420 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
25421 * sysdeps/unix/sysv/linux/bits/in.h
25422 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
25423
a6a056bb
RM
254242012-05-22 Roland McGrath <roland@hack.frob.com>
25425
25426 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
25427 (PREPARE_VERSION): Just use assert instead, it will be elided
25428 under [NDEBUG] anyway.
25429
c9009328
L
254302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25431
25432 * sysdeps/unix/sysv/linux/Makefile: Include
25433 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 25434 (sysdep_routines): Remove sysctl.
c9009328
L
25435 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
25436 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
25437 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
25438 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
25439 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
25440
73338355
AJ
254412012-05-22 Andreas Jaeger <aj@suse.de>
25442
25443 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
25444 that pseudo_end is just ret and the stack pointer is correct also
25445 for static library in error case.
25446
d44638b0
PP
254472012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
25448
25449 [BZ #14122]
25450 * nss/nsswitch.c (defconfig_entries): New variable.
25451 (__nss_database_lookup): Don't leak defconfig entries.
25452 (nss_parse_service_list): Don't leak on error paths.
25453 (free_database_entries): New function.
25454 (free_defconfig): New function.
25455 (free_mem): Move common code to free_database_entries.
25456
31a39bd8
L
254572012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25458
da0331a8
L
25459 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
25460 Add arch_prctl.
25461 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
25462
31a39bd8
L
25463 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
25464 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
25465 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
25466 New macro.
25467 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25468 (INTERNAL_SYSCALL_TYPES): Likewise.
25469 (LOAD_ARGS_TYPES_[1-6]): Likewise.
25470 (LOAD_REGS_TYPES_[1-6]): Likewise.
25471 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
25472 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
25473
45470df3
AZ
254742012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25475
25476 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
25477 copysignl for GLIBC_2_0.
25478 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
25479 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
25480 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
25481 logbl for GLIBC_2_0.
25482 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25483 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25484
98a61bcb
L
254852012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25486
a4f6e481
L
25487 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
25488 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
25489
f63d5db6
L
25490 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
25491 Use "neg %eax".
25492
98a61bcb
L
25493 * time/mktime.c: Update copyright years.
25494
95770f14
PE
254952012-05-22 Paul Eggert <eggert@cs.ucla.edu>
25496
6226efbd
PE
25497 mktime: merge comment-quoting-style change from gnulib
25498 * time/mktime.c: Quote 'like this' in comments.
25499 The GNU coding standards suggest that we no longer quote `like this',
25500 as "`" and "'" are typically rendered asymmetrically nowadays.
25501 The typical gnulib style is to quote 'like this' when quoting
25502 code, and "like this" when quoting English.
25503
b99e4f78
PE
25504 * time/mktime.c (compile-command): Add "-I.".
25505
643e01e6
PE
25506 mktime: merge mktime-internal.h change from gnulib
25507 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
25508
2554247d
PE
25509 mktime: merge time_r change from gnulib
25510 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
25511
826dd0ab
PE
25512 mktime: merge DEBUG change from gnulib
25513 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
25514 case system <time.h> has a #define.
25515
bd83aabe
PE
25516 mktime: merge <sys/types.h> change from gnulib
25517 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
25518 since <time.t> is now guaranteed to define time_t.
25519
95770f14
PE
25520 mktime: merge HAVE_CONFIG_H change from gnulib
25521 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
25522
5e1a27a9
L
255232012-05-22 H.J. Lu <hongjiu.lu@intel.com>
25524
0e44a77e
L
25525 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25526 Use "neg %eax".
25527
5e1a27a9
L
25528 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
25529 __rlim_t cast.
25530 (struct rusage): Use anonymous union to pad each field to
25531 __syscall_slong_t.
25532
46259bec
DM
255332012-05-21 David S. Miller <davem@davemloft.net>
25534
25535 * Makefules (o-iterator): Remove .s cases.
25536 (compile-command.s): Delete.
25537 (COMPILE.s): Delete.
25538 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
25539
59f0c22e
JM
255402012-05-21 Joseph Myers <joseph@codesourcery.com>
25541
25542 * configure.in (libc_cv_predef_stack_protector): Only consider
25543 "foobar" and "__stack_chk_fail" lines in libc_undefs.
25544 * configure: Regenerated.
25545
20c07380
L
255462012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25547
bbb3154b
L
25548 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
25549 New macro. Use R*LP on int and pointer.
25550 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
25551 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
25552 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
25553 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
25554
20c07380
L
25555 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
25556 [__WORDSIZE_TIME64_COMPAT32] instead of
25557 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
25558 (struct utmp): Likewise.
25559 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
25560 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
25561 Renamed to ...
25562 (__WORDSIZE_TIME64_COMPAT32): This.
25563 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
25564 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
25565 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
25566 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
25567 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
25568 (__WORDSIZE_TIME64_COMPAT32): New macro.
25569
d8d1017e
AJ
255702012-05-21 Andreas Jaeger <aj@suse.de>
25571
25572 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
25573 only if [SHARED]. Add prototype for __wcschr_ia32.
25574
6c7fb145
RM
255752012-05-21 Roland McGrath <roland@hack.frob.com>
25576
25577 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
25578 of %rbp unmolested in the jmp_buf while mangling the low bits.
25579 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
25580 unmolested high bits of %rbp while demangling the low bits.
25581 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
25582
66274218
AJ
255832012-05-21 Andreas Jaeger <aj@suse.de>
25584
07c58f8f
AJ
25585 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
25586 * sunrpc/svc_simple.c: Use it for registerrpc.
25587 * sunrpc/xcrypt.c: Use it for passwd2des.
25588
66274218
AJ
25589 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
25590
61f65140
L
255912012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25592
25593 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
25594 Don't define if [__SYSCALL_WORDSIZE != 32].
25595 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
25596 New macro.
25597
5fefb436
AJ
255982012-05-21 Bruno Haible <bruno@clisp.org>
25599 Andreas Jaeger <aj@suse.de>
25600
25601 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
25602 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
25603 inptr and inend for must_buffer_ch.
25604 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
25605 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
25606 * stdio-common/Makefile (tests): Remove bug15.
25607 (bug15-ENV): Remove macro.
25608 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
25609 anymore.
25610
d8e272ab
AJ
256112012-05-19 Andreas Jaeger <aj@suse.de>
25612 Roland McGrath <roland@hack.frob.com>
25613
25614 * manual/contrib.texi: Completely rewritten. It contains now an
25615 alphabetical list of contributors and their contributions.
25616
4a56a162
RH
256172012-05-21 Richard Henderson <rth@twiddle.net>
25618
25619 * misc/getauxval.c (__getauxval): Use unsigned long int.
25620 * misc/sys/auxv.h: Include <sys/cdefs.h>.
25621 (getauxval): Use unsigned long int.
25622
d024d23c
L
256232012-05-21 H.J. Lu <hongjiu.lu@intel.com>
25624
25625 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
25626
cbc00a03
RM
256272012-05-21 Roland McGrath <roland@hack.frob.com>
25628
25629 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
25630 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
25631 __alignof__ (long double).
25632
478143fa
AZ
256332012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25634
25635 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25636
c7683a6d
RH
256372012-05-20 Richard Henderson <rth@twiddle.net>
25638
25639 * misc/getauxval.c: New file.
25640 * misc/sys/auxv.h: New file.
25641 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
25642 (routines): Add getauxval.
25643 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
25644 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
25645 * elf/dl-sysdep.c (_dl_auxv): Remove.
25646 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
25647 * elf/dl-support.c (_dl_auxv): New variable.
25648 (_dl_aux_init): Initialize it.
25649 * manual/startup.texi (Auxiliary Vector): New node.
25650 * sysdeps/generic/bits/hwcap.h: New file.
25651 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
25652 * sysdeps/powerpc/sysdep.h: ... here. Include it.
25653 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
25654 * sysdeps/sparc/sysdep.h: ... here. Include it.
25655 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
25656 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
25657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25658 Update.
c7683a6d
RH
25659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
25660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
25661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
25662 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
25663 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25664 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
25665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
25666 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
25667
a6f1845d
AZ
256682012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25669
25670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25671
cbcbe830
DM
256722012-05-19 David S. Miller <davem@davemloft.net>
25673
25674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25675
e0b16cc2
JM
256762012-05-19 Joseph Myers <joseph@codesourcery.com>
25677
25678 [BZ #14123]
25679 * math/s_ccosh.c: Include <float.h>
25680 (__ccosh): Avoid internal overflow calculating sinh and cosh
25681 values before multiplying by sin and cos values.
25682 * math/s_ccoshf.c: Likewise.
25683 * math/s_ccoshl.c: Likewise.
25684 * math/s_csin.c: Likewise.
25685 * math/s_csinf.c: Likewise.
25686 * math/s_csinl.c: Likewise.
25687 * math/s_csinh.c: Likewise.
25688 * math/s_csinhf.c: Likewise.
25689 * math/s_csinhl.c: Likewise.
25690 * math/libm-test.inc (ccos_test): Add more tests.
25691 (ccosh_test): Likewise.
25692 (csin_test): Likewise.
25693 (csinh_test): Likewise.
25694 * sysdeps/i386/fpu/libm-test-ulps: Update.
25695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25696
6ad13e08
L
256972012-05-19 H.J. Lu <hongjiu.lu@intel.com>
25698
f66f0ce8
L
25699 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
25700 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
25701
6ad13e08
L
25702 * sysdeps/x86_64/x32/_itoa.h: Add comment.
25703
b1d072a7
JM
257042012-05-19 Joseph Myers <joseph@codesourcery.com>
25705
25706 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
25707 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
25708 * sysdeps/powerpc/soft-fp/Versions: Likewise.
25709 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
25710 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
25711 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
25712 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
25713 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
25714 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
25715 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
25716 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
25717 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
25718 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
25719 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
25720 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
25721 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
25722 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
25723 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
25724 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
25725 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
25726 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
25727 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
25728 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
25729 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
25730 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
25731 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
25732 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
25733 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
25734 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
25735 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
25736 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
25737
9eae47cb
AJ
257382012-05-18 Andreas Jaeger <aj@suse.de>
25739
25740 * csu/.gitignore: Delete.
25741
bb07f69f
L
257422012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25743
25744 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
25745 (timex): Use __syscall_slong_t.
25746
e6bdb741
AJ
257472012-05-18 Andreas Jaeger <aj@suse.de>
25748 Carlos O'Donell <carlos_odonell@mentor.com>
25749
25750 * manual/install.texi (Configuring and compiling): Update
25751 description about files modified in the source directory.
d6c33fda 25752 * INSTALL: Regenerated.
e6bdb741 25753
1b74487e
L
257542012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25755
25756 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
25757 value. Use "or" to set return value to -1.
25758 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
25759 negate return value.
25760
a88b64b9
TMQMF
257612012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25762
25763 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
25764 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
25765 failure if the compiler has Graphite support disabled.
25766 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
25767 Likewise.
25768 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
25769 CFLAGS-memmove.c): Likewise.
25770 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
25771 Likewise.
25772
3707636e
L
257732012-05-18 H.J. Lu <hongjiu.lu@intel.com>
25774
610b8622
L
25775 * sysdeps/x86_64/x32/_itoa.h: New file.
25776
7cd195df
L
25777 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
25778 getdents system call only if kernel and user dirents have the
25779 same d_ino and d_off.
25780
94b07d20
L
25781 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25782 LLONG_MAX != LONG_MAX.
25783 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25784 (_fitoa_word): Likewise.
25785
18298070
L
25786 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
25787 years.
25788 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
25789 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
25790 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
25791
553c7ea4
L
25792 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
25793 include <bits/wordsize.h>. Check __x86_64__ instead of
25794 __WORDSIZE.
25795 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
25796 if __x86_64__ is defined. Use anonymous union on fpstate.
25797
3707636e
L
25798 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
25799 anonymous union.
25800
b53ef01a
AS
258012012-05-18 Andreas Schwab <schwab@linux-m68k.org>
25802
37fb1dc0
AS
25803 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
25804 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
25805 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
25806 Refer to _rtld_local_ro instead of _rtld_global_ro.
25807 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
25808 Likewise.
25809 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
25810 Likewise.
25811 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
25812 Likewise.
25813 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
25814 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
25815 of _rtld_global, and rtld_progname instead of _dl_argv[0].
25816
b53ef01a
AS
25817 * sysdeps/powerpc/powerpc32/dl-machine.c
25818 (__elf_machine_runtime_setup) [PROF]: Don't reference
25819 _dl_prof_resolve.
25820
7a185db2
AJ
258212012-05-18 Andreas Jaeger <aj@suse.de>
25822
25823 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
25824 function only available for GCCs before 3.4 since GCC 3.4
25825 introduced a builtin.
25826 (lrint): Likewise.
25827 (llrintf): Likewise.
25828 (llrint): Likewise.
25829 (fmaxf): Likewise.
25830 (fmax): Likewise.
25831 (fminf): Likewise.
25832 (fmin): Likewise.
25833 (rint): Likewise.
25834 (rintf): Likewise.
25835 (nearbyint): Likewise.
25836 (nearbyintf): Likewise.
25837 (ceil): Likewise.
25838 (ceilf): Likewise.
25839 (floor): Likewise.
25840 (floorf): Likewise.
25841
3e5aef87
L
258422012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25843
428bd707
L
25844 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
25845 on both fields and cast pointer to __syscall_ulong_t.
25846
3e5aef87
L
25847 * bits/types.h (__fsword_t): New type.
25848 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
25849 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
25850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25851 (__FSWORD_T_TYPE): Likewise.
25852 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25853 (__FSWORD_T_TYPE): Likewise.
25854 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25855 (__FSWORD_T_TYPE): Likewise.
25856 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
25857 (__FSWORD_T_TYPE): Likewise.
25858 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
25859 __SWORD_TYPE with __fsword_t.
25860 (statfs64): Likewise.
25861
1ba7c3dc
DM
258622012-05-17 David S. Miller <davem@davemloft.net>
25863
25864 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
25865
59910343
AJ
258662012-05-17 Andreas Jaeger <aj@suse.de>
25867
25868 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
25869 warning.
25870
2e4c1e9e
L
258712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25872
25873 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
25874
de7f5ce7
AJ
258752012-05-17 Andreas Jaeger <aj@suse.de>
25876
25877 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
25878 when it is used.
25879
286abc3d
CM
258802012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25881
25882 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
25883
477cc68e
L
258842012-05-17 H.J. Lu <hongjiu.lu@intel.com>
25885
25886 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
25887 * sysdeps/x86_64/tst-mallocalign1.c: New file.
25888
1a0994f5
CD
258892012-05-17 Andreas Jaeger <aj@suse.de>
25890 Carlos O'Donell <carlos_odonell@mentor.com>
25891
25892 [BZ #14059]
25893 * sysdeps/x86_64/multiarch/init-arch.h
25894 (bit_YMM_Usable): Rename to...
25895 (bit_AVX_Usable): ... this.
25896 (bit_FMA4_Usable): New macro.
25897 (bit_XMM_state): New macro.
25898 (bit_YMM_state): New macro.
25899 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
25900 [__ASSEMBLER__] (index_AVX_Usable): ... this.
25901 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
25902 (CPUID_OSXSAVE): New macro.
25903 (CPUID_AVX): New macro.
25904 (CPUID_FMA4): New macro.
25905 (index_YMM_Usable): Rename to...
25906 (index_AVX_Usable): ... this.
25907 (HAS_AVX): Use HAS_ARCH_FEATURE.
25908 (HAS_FMA4): Likewise.
25909 (HAS_YMM_USABLE): Remove.
25910 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25911 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
25912 are present.
25913 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
25914 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
25915 * sysdeps/x86_64/multiarch/Makefile: Likewise.
25916 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
25917 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
25918
0af797de
CM
259192012-05-17 Chris Metcalf <cmetcalf@tilera.com>
25920
25921 * math/libm-test.c: Support platforms without multiple rounding modes.
25922 * math/bug-nextafter.c: Support platforms without FP exceptions.
25923 * math/bug-nexttoward.c: Likewise.
25924 * math/test-fenv.c: Likewise.
25925 * math/test-misc.c: Likewise.
25926 * stdlib/bug-getcontext.c: Likewise.
25927
e39745ff
AJ
259282012-05-17 Andreas Jaeger <aj@suse.de>
25929
25930 * manual/examples/search.c (critter_cmp): Change signature to
25931 avoid warnings.
25932 * manual/string.texi (Collation Functions): Likewise.
25933
48970aba
L
259342012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25935
25936 * bits/types.h: Fold copyright years.
25937 * bits/typesizes.h: Likewise.
25938 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
25939 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
25940 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
25941 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
25942 * time/time.h: Likewise.
25943
bedee953
PP
259442012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
25945
25946 [BZ #208]
25947 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
25948 in instead of returning them. Return void.
25949 (__libc_mallinfo): Accumulate over all arenas.
25950 (__malloc_stats): Adjust for change in int_mallinfo interface.
25951
61653dfb
RM
259522012-05-16 Roland McGrath <roland@hack.frob.com>
25953
30b99d79
RM
25954 [BZ #10375]
25955 * configure.in (NM): Add AC_CHECK_TOOL for it.
25956 (libc_extra_cflags): New substituted variable.
25957 Check for -fstack-protector being used implicitly.
25958 * configure: Regenerated.
25959 * config.make.in (config-extra-cflags): New variable,
25960 gets @libc_extra_cflags@.
25961 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
25962
61653dfb
RM
25963 [BZ #10375]
25964 * configure.in: Check for _FORTIFY_SOURCE being predefined.
25965 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
25966 * configure: Regenerated.
25967 * config.make.in (CPPUNDEFS): New substituted variable.
25968 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
25969 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
25970 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
25971
661768bb
L
259722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25973
25974 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
25975 (mq_attr): Use __syscall_slong_t.
25976
d4261567
L
259772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25978
25979 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
25980 Check __x86_64__ instead of __WORDSIZE.
25981 (_STAT_VER_LINUX): Likewise.
25982 (stat): Check __x86_64__ instead of __WORDSIZE. Use
25983 __syscall_ulong_t and __syscall_slong_t.
25984 (stat64): Likewise.
25985
cf3ff365
L
259862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25987
25988 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
25989
76cf3e4d
L
259902012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25991
25992 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
25993
a637753a
L
259942012-05-16 H.J. Lu <hongjiu.lu@intel.com>
25995
25996 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
25997 __syscall_ulong_t.
25998
d5e05119
L
25999 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
26000 include <bits/wordsize.h>. Check __x86_64__ instead of
26001 __WORDSIZE.
26002 (greg_t): Use "__extension__ long long int" if __x86_64__ is
26003 defined.
26004 (mcontext_t): Replace "unsigned long" with "unsigned long long".
26005
f62ee380
L
26006 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
26007 include <bits/wordsize.h>. Check __x86_64__ instead of
26008 __WORDSIZE.
26009 (user_regs_struct): Use "__extension__ unsigned long long"
26010 instead of "unsigned long" if __x86_64__ is defined.
26011 (user): Likewise. Pad after pointer field if __ILP32__ is
26012 defined.
26013
4e124ced
JM
260142012-05-16 Joseph Myers <joseph@codesourcery.com>
26015
6a3951a0
JM
26016 * configure.in (makeinfo): Require version 4.5 or later. Allow
26017 versions 5 to 9.
26018 * configure: Regenerated.
26019 * manual/install.texi (texinfo): Increase version requirement to
26020 4.5 or later.
26021 * INSTALL: Regenerated.
26022
4e124ced
JM
26023 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
26024
953ca31a
L
260252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
26026
26027 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
26028
617aca05
L
26029 * sysdeps/x86_64/x32/ffs.c: New file.
26030
5762f7ae
L
26031 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
26032 __syscall_ulong_t.
26033 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
26034 defined. Use __syscall_ulong_t.
26035 (shminfo): Use __syscall_ulong_t.
26036 (shm_info): Likewise.
26037
a26b6856
L
26038 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
26039 __syscall_ulong_t.
26040
cb2b9ef7
L
26041 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
26042 <bits/wordsize.h>.
26043 (msgqnum_t): Use __syscall_ulong_t.
26044 (msglen_t): Likewise.
26045 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
26046 __syscall_ulong_t.
26047
34683bb0
L
26048 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
26049 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
26050
84a68786
L
26051 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
26052
48baa5f1
L
26053 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
26054 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
26055
180be88b
L
26056 * sysvipc/sys/msg.h (msgbuf): Replace long int with
26057 __syscall_slong_t.
26058
5e90c8ad
L
26059 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
26060 include <bits/wordsize.h>. Check __x86_64__ instead of
26061 __WORDSIZE.
26062
23dfb58b
L
26063 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
26064 "unsigned long long int" if __x86_64__ is defined.
26065 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
26066
ce5d54b0
L
26067 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
26068 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
26069 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
26070
13dc9eac
L
26071 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
26072 <stdint.h>.
26073 (GET_PC): Cast to uintptr_t first.
26074 (GET_FRAME): Likewise.
26075 (GET_STACK): Likewise.
26076
a7895d15
L
26077 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
26078 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
26079 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
26080 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
26081 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
26082 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
26083 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
26084 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
26085 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
26086 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
26087 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
26088 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
26089 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26090 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
26091 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
26092 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
26093 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
26094 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
26095 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
26096 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
26097 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
26098 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
26099 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
26100 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
26101 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
26102 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
26103 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
26104 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
26105 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
26106
656416c9
AS
261072012-05-16 Andreas Schwab <schwab@linux-m68k.org>
26108
5bd66283
AS
26109 * Makerules (+depfiles): Also collect depfiles from .oS in
26110 $(extra-objs).
26111 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
26112 .oS, $(libnldbl-routines)).
26113
656416c9
AS
26114 * Makerules (native-compile-mkdep-flags): Define.
26115 * sunrpc/Makefile (extra-objs): Add $(addprefix
26116 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
26117 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
26118 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
26119 calling $(make-target-directory).
26120
a46f2169
L
261212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26122
26123 * bits/types.h (__snseconds_t): Removed.
26124 * time/time.h (struct timespec): Replace __snseconds_t with
26125 __syscall_slong_t.
26126 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
26127 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
26128 Likewise.
26129 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26130 (__SNSECONDS_T_TYPE): Likewise.
26131 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26132 (__SNSECONDS_T_TYPE): Likewise.
26133 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26134 (__SNSECONDS_T_TYPE): Likewise.
26135
6af6528b
L
261362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26137
26138 * sysdeps/mach/hurd/bits/typesizes.h
26139 (__SYSCALL_SLONG_TYPE): New macro.
26140 (__SYSCALL_ULONG_TYPE): Likewise.
26141
de986b56
L
261422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26143
26144 * bits/types.h (__syscall_slong_t): New type.
26145 (__syscall_ulong_t): Likewise.
26146
26147 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
26148 (__SYSCALL_ULONG_TYPE): Likewise.
26149 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26150 (__SYSCALL_SLONG_TYPE): Likewise.
26151 (__SYSCALL_ULONG_TYPE): Likewise.
26152 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
26153 (__SYSCALL_SLONG_TYPE): Likewise.
26154 (__SYSCALL_ULONG_TYPE): Likewise.
26155 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26156 (__SYSCALL_SLONG_TYPE): Likewise.
26157 (__SYSCALL_ULONG_TYPE): Likewise.
26158
85736dc7
L
261592012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26160
26161 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
26162 Add sigaltstack-offsets.sym.
26163 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
26164 <sigaltstack-offsets.h>.
26165 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
26166 longjmp_msg pointer.
26167 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
26168 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
26169 signal stack.
26170 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
26171
cc03b296
JM
261722012-05-15 Joseph Myers <joseph@codesourcery.com>
26173
a9538892
JM
26174 * elf/stackguard-macros.h: Remove file.
26175 * sysdeps/generic/stackguard-macros.h: New file.
26176 * sysdeps/i386/stackguard-macros.h: Likewise.
26177 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
26178 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
26179 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26180 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26181 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
26182 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
26183 * sysdeps/x86_64/stackguard-macros.h: Likewise.
26184 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
26185 <elf/stackguard-macros.h>.
26186
cc03b296
JM
26187 [BZ #14109]
26188 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
26189 __aligned__ in attribute.
26190 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
26191 (gregset_t): Likewise.
26192
93171016
L
261932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26194
26195 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
26196 * sysdeps/x86_64/64/Implies-after: Here. New file.
26197 * sysdeps/x86_64/x32/Implies-after: New file.
26198
d86813a0
L
261992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26200
26201 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
26202 and access return value for _dl_profile_fixup. Use R10_LP to
26203 load frame size.
26204
2953ec75
L
262052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26206
26207 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
26208
3b550e9e
L
262092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26210
26211 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
26212 * sysdeps/x86_64/x32/sysdep.h: New file.
26213
eda41706
L
262142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26215
26216 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
26217 * sysdeps/x86_64/setjmp.S: Likewise.
26218
9ea01d93
AZ
262192012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26220
26221 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
26222 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
26223 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
26224 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
26225 remove unused global constant.
26226
02a91938
CM
262272012-05-15 Chris Metcalf <cmetcalf@tilera.com>
26228
26229 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
26230 include of <not-cancel.h>.
26231
6540185f
RM
262322012-05-15 Roland McGrath <roland@hack.frob.com>
26233
26234 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
26235
509072a0
AJ
262362012-05-15 Jeff Law <law@redhat.com>
26237 Andreas Jaeger <aj@suse.de>
26238
26239 [BZ #13594]
26240 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
26241 out from...
26242 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
26243 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
26244 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
26245 code changing __hst_map_handle.map.
26246
ba75122d
RM
262472012-05-15 Roland McGrath <roland@hack.frob.com>
26248
26249 * configure.in (sysnames): Look for Implies-before and Implies-after
26250 files.
26251 * configure: Regenerated.
26252
890d8bd8
L
262532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26254
26255 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
26256 8-byte data alignment with LP_SIZE alignment.
26257
f6ee6623
L
262582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26259
26260 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
26261 into R10_LP.
26262
ea2626f6
L
262632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26264
26265 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
26266
085f715e
L
262672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26268
26269 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
26270 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
26271 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
26272 Likewise.
26273 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26274
be8498fc
L
262752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26276
26277 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
26278 (stackinfo_sub_sp): Likewise.
26279
70bc83b9
L
262802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26281
26282 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
26283 RAX_LP.
26284
9bc0b730
L
262852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26286
26287 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
26288 into R*_LP.
26289
6d2850e7
L
262902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26291
26292 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
26293 sizes into R*_LP.
26294
3cb84561
L
262952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26296
26297 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
26298
54e2ed81
L
262992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26300
26301 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
26302 into R11_LP and load __x86_64_shared_cache_size_half into
26303 R8_LP.
26304
8a17f349
L
263052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
26306
26307 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
26308 R8_LP.
26309
777b1eea
AZ
263102012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26311
26312 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
26313 logb for POWER7.
26314 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
26315 logbf for POWER7.
26316 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
26317 logbl for POWER7.
26318 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
26319 powerpc32/power7/fpu/s_logb.c via #include.
26320 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
26321 powerpc32/power7/fpu/s_logbf.c via #include.
26322 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
26323 powerpc32/power7/fpu/s_logbl.c via #include.
26324
d20d4ac2
JM
263252012-05-15 Joseph Myers <joseph@codesourcery.com>
26326
26327 * README.libm: Remove file.
26328
6cdef1ab
L
263292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26330
26331 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
26332 count for x32. Use R*_LP and omit operand-size suffix.
26333
0b254d8f
L
263342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26335
26336 * shlib-versions: Move x86_64-.*-linux.* entries to ...
26337 * sysdeps/x86_64/64/shlib-versions: Here. New file.
26338 * sysdeps/x86_64/x32/shlib-versions: New file.
26339
ceb809dc
RM
263402012-05-14 Roland McGrath <roland@hack.frob.com>
26341
26342 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
26343 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
26344 Use _dl_fatal_printf instead.
26345
37f1abd4
JM
263462012-05-14 Joseph Myers <joseph@codesourcery.com>
26347
26348 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
26349 set if not set by the user. Do not allow for being unset.
26350 * sysdeps/unix/sysv/linux/configure: Regenerated.
26351
11de3a33
L
263522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26353
26354 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
26355 the `q' suffix from lea and replace .quad with ASM_ADDR.
26356
e02f153a
L
263572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26358
26359 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
26360 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
26361 instead of $17.
26362 (PTR_DEMANGLE): Likewise.
26363
520ae0fd
L
263642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26365
26366 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
26367 (LP_OP): Likewise.
26368 (ASM_ADDR): Likewise.
26369 (RAX_LP): Likewise.
26370 (RBP_LP): Likewise.
26371 (RBX_LP): Likewise.
26372 (RCX_LP): Likewise.
26373 (RDI_LP): Likewise.
26374 (RSI_LP): Likewise.
26375 (RSP_LP): Likewise.
26376 (R8_LP): Likewise.
26377 (R9_LP): Likewise.
26378 (R10_LP): Likewise.
26379 (R10_LP): Likewise.
26380 (R11_LP): Likewise.
26381 (R12_LP): Likewise.
26382 (R13_LP): Likewise.
26383 (R14_LP): Likewise.
26384 (R15_LP): Likewise.
26385
b985be81
L
263862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26387
26388 * sysdeps/x86_64/x32/dl-machine.h: New file.
26389
6a4888ff
AJ
263902012-05-14 Andreas Jaeger <aj@suse.de>
26391
26392 * manual/Makefile (subdir): Remove export of subdir.
26393 (all): Remove target.
26394 (.PHONY): Remove all from list.
26395 (mkinstalldirs): Remove.
26396 (.PHONY): Remove installdirs from list.
26397 ($(inst_infodir)/libc.info): Use make-target-directory.
26398 (installdirs): Remove.
26399 (subdir_%): Remove.
26400 (glibc-targets): Remove.
26401 (lib): Remove.
26402 (stubs): Remove.
26403 ($(objpfx)stubs ../po/manual.pot): Remove.
26404 ($(objpfx)stamp%): Remove.
26405 (make-target-directory): Remove.
26406 (subdir_install): Remove.
26407 (routines): Remove.
26408 (aux): Remove.
26409 (sources): Remove.
26410 (objects): Remove.
26411 (headers): Remove.
26412
26413 [BZ #13750]
26414 * manual/.gitignore: Remove, it's not needed anymore.
26415 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
26416 all files in it.
26417 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
26418 directory.
26419 (texis): Renamed to $(objpfx)texis.
26420 (texis-path): New, contains path to generated files.
26421 (chapters.%): Use texis-path for complete path, add extra argument
26422 libc-texinfo.sh.
26423 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
26424 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
26425 (summary,texi, stamp-summary): Use complete path of
26426 files. Generate files in build dir.
26427 (dir-add.texi): Build in build dir.
26428 (libm-err.texi,stamp-libm-err): Likewise.
26429 (version.texi, stamp-version): Likewise.
26430 (.%c.texi): Likewise.
26431 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
26432 (mostlyclean): Remove target.
26433 (realclean): Remove target.
26434 (generated): Add new variable with contents from mostlyclean and
26435 realclean, remove entries duplicated in common-mostlyclean, add
26436 stamp-libm-err and stamp-version.
26437 (generated-dirs): Add libc directory.
26438 ($(inst_infodir)/libc.info): Install files from build dir.
26439
26440 * manual/install.texi (Configuring and compiling): Adjust since
26441 the info files are not part of the tar ball anymore.
26442
7ac77294
AJ
264432012-05-14 Andreas Jaeger <aj@suse.de>
26444
26445 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
26446 variable.
26447
ffb7875d
JM
264482012-05-14 Joseph Myers <joseph@codesourcery.com>
26449
26450 [BZ #13717]
26451 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26452 to 2.2.0 where earlier.
26453 * sysdeps/unix/sysv/linux/configure: Regenerated.
26454 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
26455 Remove conditional code.
26456 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
26457 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
26458 Remove conditional code.
26459 [!__NR_lchown]: Likewise.
26460 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26461 [__NR_lchown]: Likewise.
26462 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
26463 comment referencing __ASSUME_LCHOWN_SYSCALL.
26464 * sysdeps/unix/sysv/linux/i386/sigaction.c
26465 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26466 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26467 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
26468 Remove conditional code.
26469 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
26470 (__protocol_available): Remove #if 0 code.
26471 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
26472 conditional code.
26473 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
26474 * sysdeps/unix/sysv/linux/kernel-features.h
26475 (__ASSUME_GETCWD_SYSCALL): Don't define.
26476 (__ASSUME_REALTIME_SIGNALS): Likewise.
26477 (__ASSUME_PREAD_SYSCALL): Likewise.
26478 (__ASSUME_PWRITE_SYSCALL): Likewise.
26479 (__ASSUME_POLL_SYSCALL): Likewise.
26480 (__ASSUME_LCHOWN_SYSCALL): Likewise.
26481 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
26482 non-SPARC.
26483 (__ASSUME_SIOCGIFNAME): Don't define.
26484 (__ASSUME_MSG_NOSIGNAL): Likewise.
26485 (__ASSUME_SENDFILE): Define unconditionally.
26486 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
26487 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
26488 conditional code.
26489 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
26490 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
26491 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26492 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26493 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
26494 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
26495 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
26496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
26497 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26498 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26500 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26501 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
26503 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26504 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26506 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26507 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
26509 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26510 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26512 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
26513 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
26515 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26516 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26518 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26519 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26520 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
26521 Remove conditional code.
26522 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26523 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26524 Remove conditional code.
26525 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26526 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
26527 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
26528 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26529 Remove conditional code.
26530 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26531 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
26532 Remove conditional code.
26533 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26534 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
26535 Remove conditional code.
26536 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26537 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
26538 Remove conditional code.
26539 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
26540 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
26541 Remove conditional code.
26542 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26543 * sysdeps/unix/sysv/linux/sh/pwrite64.c
26544 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
26545 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
26546 * sysdeps/unix/sysv/linux/sigaction.c
26547 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26548 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26549 * sysdeps/unix/sysv/linux/sigpending.c
26550 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26551 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26552 * sysdeps/unix/sysv/linux/sigprocmask.c
26553 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26554 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26555 * sysdeps/unix/sysv/linux/sigsuspend.c
26556 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
26557 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
26558 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26559 (__libc_missing_rt_sigs): Remove.
26560 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
26561 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
26562 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
26563 Remove conditional code.
26564 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
26565 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
26566 return 1.
26567 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
26568 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
26569 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
26570 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
26571
1bfb7291
AJ
265722012-05-14 Andreas Jaeger <aj@suse.de>
26573
caae5a81
AJ
26574 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
26575 it's not used in glibc.
26576 (__coshm1): Likewise.
26577 (__acosh1p): Likewise.
26578 (__sgn): Likewise.
26579
1bfb7291
AJ
26580 * manual/string.texi (Copying and Concatenation): Add missing
26581 variable in concat example.
26582 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
26583
c044d724
L
265842012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26585
144c5467 26586 [BZ #14103]
c044d724
L
26587 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
26588 __builtin_clzl with __builtin_clzll.
26589
2523c62b
L
265902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
26591
26592 [BZ #14104]
26593 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
26594 libc_freeres_ptr.
26595
d7bb4c42
LD
265962012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26597
26598 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
26599 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
26600 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
26601 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
26602
9dc4e1fb
MF
266032012-05-14 Mike Frysinger <vapier@gentoo.org>
26604
26605 * NEWS: Update ia64 info.
26606
c7df0112
AS
266072012-05-12 Andreas Schwab <schwab@linux-m68k.org>
26608
26609 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
26610 used as bcopy.
26611
dc70356c
TS
266122012-05-12 Thomas Schwinge <thomas@codesourcery.com>
26613
26614 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
26615 * sysdeps/unix/syscalls.list (dup3): Likewise.
26616 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
26617 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
26618
9fb1a21f
L
266192012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26620
26621 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
26622 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
26623
4822a2a5
L
266242012-05-11 H.J. Lu <hongjiu.lu@intel.com>
26625
26626 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
26627 thread pointer.
26628 (TLS_IE): Use mov/add instead of movq/addq to load thread
26629 pointer.
26630 (TLS_GD_PREFIX): New.
26631 (TLS_GD): Use it.
26632
842b81d6
DM
266332012-05-11 David S. Miller <davem@davemloft.net>
26634
26635 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
26636 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
26637 (_FPU_SETCW): Likewise.
26638
1cf463cd
L
266392012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26640
26641 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
26642 is 32-byte aligned.
26643
60cc4a18
AS
266442012-05-11 Andreas Schwab <schwab@linux-m68k.org>
26645
26646 [BZ #11837]
26647 * iconvdata/gb18030.c: Update tables.
26648 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
26649 characters specially.
26650 (BODY for TO_LOOP): Add encoding of missing ranges.
26651
febb44a4
TS
266522012-05-11 Thomas Schwinge <thomas@codesourcery.com>
26653
26654 [BZ #13673]
26655 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
26656 * sysdeps/mach/hurd/dup3.c: Likewise.
26657 * sysdeps/mach/hurd/readlinkat.c: Likewise.
26658 * sysdeps/powerpc/memmove.c:: Likewise.
26659
0a10fb9e
L
266602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26661
26662 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
26663 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
26664
df8a552f
L
266652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
26666
26667 * elf/elf.h (R_X86_64_RELATIVE64): New.
26668 (R_X86_64_NUM): Updated.
26669 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
26670 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
26671 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
26672 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
26673 tst-quad1pie tst-quad2pie
26674 (modules-names): Add tst-quadmod1 tst-quadmod2.
26675 ($(objpfx)tst-quad1): New dependency.
26676 ($(objpfx)tst-quad2): Likewise.
26677 ($(objpfx)tst-quad1pie): Likewise.
26678 ($(objpfx)tst-quad2pie): Likewise.
26679 * sysdeps/x86_64/tst-quad1.c: New file.
26680 * sysdeps/x86_64/tst-quad1pie.c: New file.
26681 * sysdeps/x86_64/tst-quad2.c: Likewise.
26682 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
26683 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
26684 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
26685 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
26686 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
26687
f34d6f84
ST
266882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26689
f42d41d1
ST
26690 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
26691 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
26692 * streams/stropts.h (t_scalar_t): Define type.
26693
3c3571fc
ST
26694 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
26695 (_PATH_PRESERVE): Set to "/var/lib".
26696 (_PATH_RWHODIR): Set to "/var/spool/rwho".
26697
61f06bd3
ST
26698 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
26699 instead of int.
26700
918d4d71
ST
26701 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
26702 if __dir_mkfile succeeded.
26703
f34d6f84
ST
26704 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
26705 checking for _hurd_dtablesize. Unlock it right after having
26706 finished _hurd_dtable allocation.
26707
10589b4a
TS
267082012-05-10 Thomas Schwinge <thomas@schwinge.name>
26709
674cdbc7
TS
26710 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
26711 * sysdeps/mach/hurd/configure: Regenerated.
26712 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
26713 special-casing to...
26714 * sysdeps/gnu/configure.in: ... this new file.
26715 * sysdeps/unix/sysv/linux/configure: Regenerated.
26716 * sysdeps/gnu/configure: New generated file.
26717
8e41b99f
TS
26718 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
26719 for Linux: use nsec instead of usec, as well as:
26720 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
26721 members of type struct timespec.
26722 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
26723 New macros.
26724 (struct stat64): Likewise.
26725 (_STATBUF_ST_NSEC): New macro.
26726 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
26727
10589b4a
TS
26728 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26729 __strtoul_internal rather than strtoul.
26730
63643c85
PT
267312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26732
26733 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
26734 and reject them.
26735
3faebe6a
ST
267362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26737
26738 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
26739 which preserves existing values.
26740 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
26741
c6474b07
PT
267422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26743
26744 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
26745 TIMEOUT values. Return EINVAL for NFDS values either negative or
26746 greater than FD_SETSIZE.
26747
1043890b
ST
267482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26749
26750 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
26751 allocated, call __vm_protect to finish enabling the existing space, and
26752 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
26753 allocate the remainder.
26754
37ed8b9b
PT
267552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26756
26757 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
26758 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
26759
db653660
ST
267602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26761
37ed8b9b
PT
26762 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
26763 sysdeps/mach/hurd/readlink.c.
b29d4053 26764
db653660
ST
26765 * posix/tst-sysconf.c (posix_options): Only use
26766 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
26767 _POSIX_SYNCHRONIZED_IO when they are defined
26768 * sysdeps/mach/hurd/bits/posix_opt.h:
26769 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
26770 (_XOPEN_REALTIME): Undefine macro.
26771 (_XOPEN_REALTIME_THREADS): Undefine macro.
26772 (_XOPEN_SHM): Undefine macro.
26773 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
26774 macro to -1.
26775 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
26776 macro to -1.
26777 (_POSIX_ASYNC_IO): Undefine macro.
26778 (_POSIX_PRIORITIZED_IO): Undefine macro.
26779 (_POSIX_SPIN_LOCKS): Define macro to -1.
26780
ee16e894
ST
26781 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
26782 SA_NODEFER, SA_RESETHAND.
26783 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
26784 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
26785 F_DUPFD_CLOEXEC.
26786
6103ae3b
TS
267872012-05-10 Thomas Schwinge <thomas@schwinge.name>
26788
26789 * elf/Makefile (pldd-modules): Define unconditionally.
26790
80b4e5f3
TS
267912012-05-10 Thomas Schwinge <thomas@schwinge.name>
26792
26793 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
26794
edadcbd6
ST
267952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26796
26797 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
26798 Return ENOENT when name is empty.
26799 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
26800
80694780
TS
268012012-05-10 Thomas Schwinge <thomas@schwinge.name>
26802
1792c087
TS
26803 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
26804
80694780
TS
26805 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
26806
6b645f0d
ST
268072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26808
80694780
TS
26809 Fix mlock in all cases except non-readable pages.
26810 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
26811 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 26812
6b645f0d
ST
26813 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
26814 (__mkdir): When path is `/', just fail with EEXIST.
26815 * sysdeps/mach/hurd/mkdirat.c: Likewise.
26816
e468f8a3
TS
268172012-05-10 Thomas Schwinge <thomas@schwinge.name>
26818
26819 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
26820 <sys/uio.h> (for writev).
26821 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
26822 and <sys/param.h> (for MIN).
26823
a4186cff
PT
268242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
26825
26826 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
26827 REQUESTED_TIME. Properly set the remaining time and return EINTR
26828 if interrupted.
26829
510bbf14
TS
268302012-05-10 Thomas Schwinge <thomas@schwinge.name>
26831
26832 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
26833 Depend on against $(link-rpcuserlibs).
26834
5d5722e8
ST
268352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26836
a4186cff
PT
26837 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
26838 (__libc_stack_end): Do not use attribute_relro.
26839 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
26840 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 26841 to libthread-provided value.
a4186cff
PT
26842 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
26843 attribute_relro.
5d5722e8 26844
37233df9
TS
268452012-05-10 Thomas Schwinge <thomas@schwinge.name>
26846
be971a2b
TS
26847 [BZ #3748]
26848 * bits/libc-lock.h (__libc_once_get): New macro.
26849 * sysdeps/mach/bits/libc-lock.h: Likewise.
26850 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
26851 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
26852 instead of using implementation details.
26853
37233df9
TS
26854 * libio/fileops.c: Unconditionally include <kernel-features.h>.
26855 * libio/freopen.c: Likewise.
26856 * libio/freopen64.c: Likewise.
26857 * misc/syslog.c: Likewise.
26858 * nscd/connections.c: Likewise.
26859 * nscd/netgroupcache.c: Likewise.
26860 * sysdeps/posix/getcwd.c: Likewise.
26861
38de94a5
RM
268622012-05-10 Roland McGrath <roland@hack.frob.com>
26863
26864 * math/w_ilogbf.c: Add #include <limits.h>.
26865
67530489
ST
268662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26867
a4186cff 26868 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
26869 path instead of returning without unlocking.
26870
67530489
ST
26871 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
26872 immediate-write ioctls.
26873 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
26874
5aa3a74a
TS
268752012-05-10 Thomas Schwinge <thomas@schwinge.name>
26876
18bad2ae
TS
26877 * sysdeps/mach/hurd/i386/init-first.c (init): Use
26878 __builtin_frame_address instead of making assumptions about the
26879 location of the return address relative to DATA. Force early load of
26880 the return address.
26881 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
26882 __builtin_frame_address.
26883
5aa3a74a
TS
26884 dup3 for GNU Hurd.
26885 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
26886 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
26887 implement dup3 and do some further code clean-ups.
26888 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
26889 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
26890
ecd0de9a
ST
268912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26892
cd9fa985
ST
26893 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
26894
a4186cff
PT
26895 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
26896 HURD_CRITICAL_END around holding _hurd_dtable_lock.
26897 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
26898 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
26899 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
26900 d->port.lock.
802ca5a5 26901
a4186cff
PT
26902 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
26903 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
26904 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 26905
bcf55240
TS
269062012-05-10 Thomas Schwinge <thomas@schwinge.name>
26907
6960eb42
TS
26908 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
26909 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
26910 definitions.
26911
eb43375f
TS
26912 accept4 for GNU Hurd.
26913 * include/sys/socket.h (__libc_accept4): New prototype.
26914 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
26915 to implement __libc_accept4.
26916 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
26917 __libc_accept4.
26918 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
26919
bcf55240
TS
26920 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
26921 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
26922 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
26923 signal-defines.sym.
26924
6178c55b
ST
269252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26926
a4186cff 26927 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 26928
6f080c2f
TS
269292012-05-10 Thomas Schwinge <thomas@schwinge.name>
26930
26931 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
26932 assertion on O_CLOEXEC flag.
26933 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
26934 * hurd/intern-fd.c: Likewise.
26935 * hurd/port2fd.c: Likewise.
26936
bcfe3a54
ST
269372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
26938
26939 [BZ #3906]
26940 * bits/in.h (IPV6_PKTINFO): Define new macro.
26941 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
26942
89c9aa49
AZ
269432012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26944
26945 [BZ #13954]
26946 [BZ #13955]
26947 [BZ #13956]
26948 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
26949 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26950 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
26951 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26952 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26953 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26954 * math/libm-test.inc (logb_test) : Additional logb tests.
26955
021db4be
AJ
269562012-05-09 Andreas Schwab <schwab@linux-m68k.org>
26957 Andreas Jaeger <aj@suse.de>
26958
26959 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
26960 * configure: Regenerated.
26961 * config.h.in (LINK_OBSOLETE_RPC): New macro.
26962 * config.make.in (link-obsolete-rpc): New substituted variable.
26963 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
26964 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
26965 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26966 (shared-only-routines): Don't set it under [link-obsolete-rpc],
26967 so that libc.a contains the symbols.
26968 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
26969 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
26970 * sunrpc/auth_none.c: Likewise.
26971 * sunrpc/auth_unix.c: Likewise.
26972 * sunrpc/authdes_prot.c: Likewise.
26973 * sunrpc/authuxprot.c: Likewise.
26974 * sunrpc/clnt_gen.c: Likewise.
26975 * sunrpc/clnt_perr.c: Likewise.
26976 * sunrpc/clnt_raw.c: Likewise.
26977 * sunrpc/clnt_simp.c: Likewise.
26978 * sunrpc/clnt_tcp.c: Likewise.
26979 * sunrpc/clnt_udp.c: Likewise.
26980 * sunrpc/clnt_unix.c: Likewise.
26981 * sunrpc/des_crypt.c: Likewise.
26982 * sunrpc/des_soft.c: Likewise.
26983 * sunrpc/get_myaddr.c: Likewise.
26984 * sunrpc/key_call.c: Likewise.
26985 * sunrpc/key_prot.c: Likewise.
26986 * sunrpc/netname.c: Likewise.
26987 * sunrpc/pm_getmaps.c: Likewise.
26988 * sunrpc/pm_getport.c: Likewise.
26989 * sunrpc/pmap_clnt.c: Likewise.
26990 * sunrpc/pmap_prot.c: Likewise.
26991 * sunrpc/pmap_prot2.c: Likewise.
26992 * sunrpc/pmap_rmt.c: Likewise.
26993 * sunrpc/publickey.c: Likewise.
26994 * sunrpc/rpc_cmsg.c: Likewise.
26995 * sunrpc/rpc_common.c: Likewise.
26996 * sunrpc/rpc_dtable.c: Likewise.
26997 * sunrpc/rpc_prot.c: Likewise.
26998 * sunrpc/rpc_thread.c: Likewise.
26999 * sunrpc/rtime.c: Likewise.
27000 * sunrpc/svc.c: Likewise.
27001 * sunrpc/svc_auth.c: Likewise.
27002 * sunrpc/svc_raw.c: Likewise.
27003 * sunrpc/svc_run.c: Likewise.
27004 * sunrpc/svc_tcp.c: Likewise.
27005 * sunrpc/svc_udp.c: Likewise.
27006 * sunrpc/svc_unix.c: Likewise.
27007 * sunrpc/svcauth_des.c: Likewise.
27008 * sunrpc/xcrypt.c: Likewise.
27009 * sunrpc/xdr.c: Likewise.
27010 * sunrpc/xdr_array.c: Likewise.
27011 * sunrpc/xdr_float.c: Likewise.
27012 * sunrpc/xdr_intXX_t.c: Likewise.
27013 * sunrpc/xdr_mem.c: Likewise.
27014 * sunrpc/xdr_rec.c: Likewise.
27015 * sunrpc/xdr_ref.c: Likewise.
27016 * sunrpc/xdr_sizeof.c: Likewise.
27017 * sunrpc/xdr_stdio.c: Likewise.
27018
b5c086a2
RM
270192012-05-10 Roland McGrath <roland@hack.frob.com>
27020
27021 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
27022 change. Update copyright years.
27023
6d74dd09
JM
270242012-05-10 Joseph Myers <joseph@codesourcery.com>
27025
27026 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
27027
28e72501
MK
270282012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
27029 Joseph Myers <joseph@codesourcery.com>
27030 Paul Pluzhnikov <ppluzhnikov@google.com>
27031
27032 [BZ #14012]
27033 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
27034 requiring rpcgen.
27035 [cross-compiling] (extra-libs): Likewise.
27036 [cross-compiling] (extra-libs-others): Likewise.
27037 [cross-compiling] (librpcsvc-routines): Likewise.
27038 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
27039 [cross-compiling] (omit-deps): Likewise.
27040 (sunrpc-CPPFLAGS): New variable.
27041 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
27042 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
27043 (cross-rpcgen-objs): New variable.
27044 (extra-objs): Append $(cross-rpcgen-objs).
27045 ($(cross-rpcgen-objs)): New rule.
27046 ($(objpfx)cross-rpcgen): Likewise.
27047 (rpcgen-cmd): Define to use $(built-program-file). Expand
27048 comment.
27049 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
27050 ($(objpfx)x%.stmp): Likewise.
27051 * sunrpc/proto.h [IS_IN_build] (_): Define.
27052 [IS_IN_build] (_libc_intl_domainname): Likewise.
27053
c8c59454
L
270542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
27055
27056 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
27057 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
27058 and R_X86_64_TPOFF64.
27059
6f27cd16
JM
270602012-05-10 Joseph Myers <joseph@codesourcery.com>
27061
27062 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
27063 sysdeps/unix/sysv/syscalls.list.
27064 (stime): Likewise.
27065 (utime): Likewise.
27066 * sysdeps/unix/sysv/syscalls.list: Remove file.
27067
02467e1c
PE
270682012-05-10 Paul Eggert <eggert@cs.ucla.edu>
27069
27070 [BZ #3440]
27071 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
27072 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
27073 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
27074 (__LC_IDENTIFICATION): Make these macros useful in #if
27075 expressions, as required by C99.
27076
da392631
AS
270772012-05-10 Andreas Schwab <schwab@linux-m68k.org>
27078
27079 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
27080 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
27081 after this.
27082
8115f29b
L
270832012-05-09 H.J. Lu <hongjiu.lu@intel.com>
27084
27085 * stdlib/longlong.h: Updated from GCC.
27086
bdd74070
AJ
270872012-05-09 Andreas Jaeger <aj@suse.de>
27088
edfe0dbe
AJ
27089 * nscd/nscd.c (run_modes): Make named enum, reorder so that
27090 default is first entry.
27091 (run_mode): Set type.
27092 (main): Remove informal message about syslog.
27093 (options): Fix typo.
27094
bcfe3a54
ST
27095 [BZ #14053]
27096 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 27097 to asm.
bcfe3a54
ST
27098 (lrint): Likewise.
27099 (llrintf): Likewise.
27100 (llrint): Likewise.
27101 (rint): Likewise.
27102 (rintf): Likewise.
27103 (nearbyint): Likewise.
27104 (nearbyintf): Likewise.
bdd74070 27105
91d8d69e
AJ
271062012-05-09 Andreas Jaeger <aj@suse.de>
27107 Pedro Alves <palves@redhat.com>
27108
27109 * nscd/nscd.c (run_mode): Use enum.
27110 (main): Cleanup coding style issue.
27111
bb90b80b
AJ
271122012-05-09 Alexandre Oliva <aoliva@redhat.com>
27113 Andreas Jaeger <aj@suse.de>
27114
bcfe3a54
ST
27115 * nscd/nscd.c (go_background): Replaced with...
27116 (run_mode): ... this.
bb90b80b 27117 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
27118 (options): Add -F --foreground.
27119 (main): Implement it.
27120 (parse_opt): Parse it.
bb90b80b 27121
1a4b75a1
AJ
271222012-05-09 Andreas Jaeger <aj@suse.de>
27123
27124 [BZ #14083]
27125 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
27126 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
27127 -Wconversion warning.
27128 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
27129 Likewise.
27130
b1cc2472
JM
271312012-05-09 Joseph Myers <joseph@codesourcery.com>
27132
27133 * conform/data/locale.h-data (NULL): Use macro-constant. Require
27134 == 0.
27135 (LC_ALL): Use macro-int-constant.
27136 (LC_COLLATE): Likewise.
27137 (LC_CTYPE): Likewise.
27138 (LC_MESSAGES): Likewise.
27139 (LC_MONETARY): Likewise.
27140 (LC_NUMERIC): Likewise.
27141 (LC_TIME): Likewise.
27142 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
27143 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27144 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27145 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
27146 Specify type.
27147 [C99-based standards] (float_t): Expect type.
27148 [C99-based standards] (double_t): Expect type.
27149 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
27150 type.
27151 [C99-based standards] (HUGE_VALL): Likewise.
27152 [C99-based standards] (INFINITY): Likewise.
27153 [C99-based standards] (NAN): Likewise.
27154 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
27155 [C99-based standards] (FP_NAN): Likewise.
27156 [C99-based standards] (FP_NORMAL): Likewise.
27157 [C99-based standards] (FP_SUBNORMAL): Likewise.
27158 [C99-based standards] (FP_ZERO): Likewise.
27159 [C99-based standards] (FP_FAST_FMA): Use
27160 optional-macro-int-constant. Specify type. Require == 1.
27161 [C99-based standards] (FP_FAST_FMAF): Likewise.
27162 [C99-based standards] (FP_FAST_FMAL): Likewise.
27163 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
27164 [C99-based standards] (FP_ILOGBNAN): Likewise.
27165 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
27166 Specify type.
27167 [C99-based standards] (MATH_ERREXCEPT): Likewise.
27168 [C99-based standards] (math_errhandling): Specify type.
27169 [ISO99 || ISO11] (signgam): Do not allow.
27170 [non-C99-based standards] (copysignf): Do not allow.
27171 [non-C99-based standards] (exp2f): Likewise.
27172 [non-C99-based standards] (log2f): Likewise.
27173 [non-C99-based standards] (modff): Allow.
27174 [non-C99-based standards] (erff): Do not allow.
27175 [non-C99-based standards] (erfcf): Likewise.
27176 [non-C99-based standards] (gammaf): Likewise.
27177 [non-C99-based standards] (hypotf): Likewise.
27178 [non-C99-based standards] (j0f): Likewise.
27179 [non-C99-based standards] (j1f): Likewise.
27180 [non-C99-based standards] (jnf): Likewise.
27181 [non-C99-based standards] (lgammaf): Likewise.
27182 [non-C99-based standards] (tgammaf): Likewise.
27183 [non-C99-based standards] (y0f): Likewise.
27184 [non-C99-based standards] (y1f): Likewise.
27185 [non-C99-based standards] (ynf): Likewise.
27186 [non-C99-based standards] (isnanf): Likewise.
27187 [non-C99-based standards] (acoshf): Likewise.
27188 [non-C99-based standards] (asinhf): Likewise.
27189 [non-C99-based standards] (atanhf): Likewise.
27190 [non-C99-based standards] (cbrtf): Likewise.
27191 [non-C99-based standards] (expm1f): Likewise.
27192 [non-C99-based standards] (ilogbf): Likewise.
27193 [non-C99-based standards] (log1pf): Likewise.
27194 [non-C99-based standards] (logbf): Likewise.
27195 [non-C99-based standards] (nextafterf): Likewise.
27196 [non-C99-based standards] (remainderf): Likewise.
27197 [non-C99-based standards] (rintf): Likewise.
27198 [non-C99-based standards] (scalbf): Likewise.
27199 [non-C99-based standards] (copysignl): Likewise.
27200 [non-C99-based standards] (exp2l): Likewise.
27201 [non-C99-based standards] (log2l): Likewise.
27202 [non-C99-based standards] (modfl): Allow.
27203 [non-C99-based standards] (erfl): Do not allow.
27204 [non-C99-based standards] (erfcl): Likewise.
27205 [non-C99-based standards] (gammal): Likewise.
27206 [non-C99-based standards] (hypotl): Likewise.
27207 [non-C99-based standards] (j0l): Likewise.
27208 [non-C99-based standards] (j1l): Likewise.
27209 [non-C99-based standards] (jnl): Likewise.
27210 [non-C99-based standards] (lgammal): Likewise.
27211 [non-C99-based standards] (tgammal): Likewise.
27212 [non-C99-based standards] (y0l): Likewise.
27213 [non-C99-based standards] (y1l): Likewise.
27214 [non-C99-based standards] (ynl): Likewise.
27215 [non-C99-based standards] (isnanl): Likewise.
27216 [non-C99-based standards] (acoshl): Likewise.
27217 [non-C99-based standards] (asinhl): Likewise.
27218 [non-C99-based standards] (atanhl): Likewise.
27219 [non-C99-based standards] (cbrtl): Likewise.
27220 [non-C99-based standards] (expm1l): Likewise.
27221 [non-C99-based standards] (ilogbl): Likewise.
27222 [non-C99-based standards] (log1pl): Likewise.
27223 [non-C99-based standards] (logbl): Likewise.
27224 [non-C99-based standards] (nextafterl): Likewise.
27225 [non-C99-based standards] (remainderl): Likewise.
27226 [non-C99-based standards] (rintl): Likewise.
27227 [non-C99-based standards] (scalbl): Likewise.
27228 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27229 [non-C99-based standards] (FP_*): Do not allow.
27230 [C99-based standards] (FP_*): Change to
27231 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
27232 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27233 allow.
27234 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
27235 (SIG_ERR): Likewise.
27236 [X/Open-based standards] (SIG_HOLD): Likewise.
27237 (SIG_IGN): Likewise.
27238 (SIGABRT): Use macro-int-constant. Specify type. Require
27239 positive value.
27240 (SIGFPE): Likewise.
27241 (SIGILL): Likewise.
27242 (SIGINT): Likewise.
27243 (SIGSEGV): Likewise.
27244 (SIGTER): Likewise.
27245 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
27246 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
27247 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
27248 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
27249 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
27250 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
27251 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
27252 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
27253 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
27254 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
27255 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
27256 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
27257 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
27258 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
27259 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
27260 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
27261 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
27262 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
27263 [X/Open-based standards] (SIGTRAP): Likewise.
27264 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
27265 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
27266 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
27267 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
27268 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27269 allow.
27270
b9f1922d
IW
272712012-05-08 Ian Wienand <ianw@vmware.com>
27272
27273 [BZ #14080]
27274 * time/tzset.c (__tzset_parse_tz): Update default rules for
27275 daylight time changes in the Energy Policy Act of 2005.
27276
1db86e88
AJ
272772012-05-09 Andreas Jaeger <aj@suse.de>
27278
27279 [BZ #13983]
27280 * elf/ldconfig.c (parse_conf): Change string to make clear that
27281 ldconfig only issued a warning if ld.so.conf does not exist.
27282
dee4a4e3
DM
272832012-05-08 David S. Miller <davem@davemloft.net>
27284
ee0db190
DM
27285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
27286 movxtod instead of popping the value on the stack.
27287
dee4a4e3
DM
27288 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27289
6a43ec98
CD
272902012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
27291
27292 * config.h.in: Add HAVE_ARM_PCS_VFP.
27293
05c2c961
RMG
272942012-05-08 Roland Mc Grath <roland@hack.frob.com>
27295
bcfe3a54
ST
27296 [BZ #13979]
27297 * include/features.h: Warn if user requests __FORTIFY_SOURCE
27298 checking but the checks are disabled for any reason.
05c2c961 27299
4b30f61a
L
273002012-05-08 H.J. Lu <hongjiu.lu@intel.com>
27301
27302 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
27303 and ELF64_R_TYPE with ELFW(R_TYPE).
27304
eee2bc67
JM
273052012-05-08 Joseph Myers <joseph@codesourcery.com>
27306
7ea5391a
JM
27307 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
27308 (ulimit): Likewise.
27309
eee2bc67
JM
27310 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
27311 (settimeofday): Likewise.
27312
abb66a67
MF
273132012-05-08 Mike Frysinger <vapier@gentoo.org>
27314
27315 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
27316 a struct th_u2 inside the union, and move tu_block/tu_code into
27317 a new th_u3 union of tu_block/tu_code inside of that. Move
27318 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
27319 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
27320 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
27321 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
27322 (th_stuff): Change to th_u1.tu_stuff.
27323 (th_data): Define.
27324 (th_msg): Change to th_u1.th_u2.tu_data.
27325
7f18b530
DM
273262012-05-07 David S. Miller <davem@davemloft.net>
27327
05760585
DM
27328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27329
7f18b530
DM
27330 [BZ #14074]
27331 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
27332 (SETUP_PIC_REG): Use it.
27333 (SETUP_PIC_REG_LEAF): Use it.
27334
495fd99f
JM
273352012-05-07 Joseph Myers <joseph@codesourcery.com>
27336
27337 [BZ #13885]
27338 [BZ #13923]
27339 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27340 USE_AS_EXPM1L.
27341 (EXPL_FINITE): Likewise.
27342 (FLDLOG): Likewise.
27343 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27344 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27345 e_expl.S.
27346 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27347 USE_AS_EXPM1L.
27348 (EXPL_FINITE): Likewise.
27349 (FLDLOG): Likewise.
27350 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
27351 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
27352 e_expl.S.
27353 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
27354 test of -max_value argument for long double.
27355 * sysdeps/i386/fpu/libm-test-ulps: Update.
27356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27357
6693d694
DM
273582012-05-06 David S. Miller <davem@davemloft.net>
27359
27360 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
27361 quad soft-float symbols whose references which are compiler
27362 generated.
27363 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27364
6c23e11c
JM
273652012-05-06 Joseph Myers <joseph@codesourcery.com>
27366
d8b82cad
JM
27367 [BZ #13884]
27368 [BZ #13914]
27369 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27370 USE_AS_EXP10L.
27371 (EXPL_FINITE): Likewise.
27372 (FLDLOG): Likewise.
27373 (c0): Likewise.
27374 (c1): Likewise.
27375 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27376 Adjust comments for base varying.
27377 (__expl_finite): Change alias to EXPL_FINITE.
27378 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
27379 e_expl.S.
27380 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
27381 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
27382 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27383 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
27384 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
27385 USE_AS_EXP10L.
27386 (EXPL_FINITE): Likewise.
27387 (FLDLOG): Likewise.
27388 (c0): Likewise.
27389 (c1): Likewise.
27390 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
27391 Adjust comments for base varying.
27392 (__expl_finite): Change alias to EXPL_FINITE.
27393 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
27394 tests for bugs.
27395 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27396
6c23e11c
JM
27397 [BZ #14064]
27398 * math/libm-test.inc (check_float_internal): Correct ulp
27399 calculation for subnormal expected results.
27400
29ba805c
AJ
274012012-05-06 Andreas Jaeger <aj@suse.de>
27402
27403 * Makeconfig (+math-flags): New, set to -frounding-math.
27404 (+cflags): Add +math-flags so that all of glibc gets compiled with
27405 it.
27406
27407 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
27408
7b17aeda
JM
274092012-05-05 Joseph Myers <joseph@codesourcery.com>
27410
5779f134
JM
27411 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
27412 Disable one test.
27413
41498f4d
JM
27414 [BZ #13787]
27415 [BZ #13922]
27416 [BZ #14036]
27417 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
27418 (__ieee754_expl): Allow for and saturate large arguments.
27419 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
27420 (u_threshold): Likewise.
27421 (__exp): Call __ieee754_exp before checking for overflow and
27422 underflow.
27423 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
27424 (u_threshold): Likewise.
27425 (__expf): Call __ieee754_expf before checking for overflow and
27426 underflow.
27427 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
27428 (u_threshold): Likewise.
27429 (__expl): Call __ieee754_expl before checking for overflow and
27430 underflow.
27431 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
27432 (__ieee754_expl): Allow for and saturate large arguments.
27433 * math/libm-test.inc (exp_test): Add another test. Do not allow
27434 missing overflow exception on overflow.
27435 (expm1_test): Do not allow missing overflow exception on overflow.
27436
6698b8bf
JM
27437 * sysdeps/i386/fpu/e_expl.c: Move to ...
27438 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
27439 rather than using inline asm.
27440 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
27441 * sysdeps/x86_64/fpu/e_expl.S: Copy from
27442 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
27443
7b17aeda
JM
27444 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
27445 (nice): Likewise.
27446 (poll): Likewise.
27447 (signal): Likewise.
27448 (time): Likewise.
27449 (times): Likewise.
27450
f7c85819
JM
274512012-05-04 Joseph Myers <joseph@codesourcery.com>
27452
27453 * sysdeps/unix/syscalls.list (adjtime): Add entry from
27454 sysdeps/unix/common/syscalls.list.
27455 (fchmod): Likewise.
27456 (fchown): Likewise.
27457 (ftruncate): Likewise.
27458 (getrusage): Likewise.
27459 (gettimeofday): Likewise.
27460 (setpgid): Likewise.
27461 (setregid): Likewise.
27462 (setreuid): Likewise.
27463 (sigaction): Likewise.
27464 (truncate): Likewise.
27465 (vhangup): Likewise.
27466 * sysdeps/unix/common/syscalls.list: Remove file.
27467 * sysdeps/unix/bsd/Implies: Don't include unix/common.
27468 * sysdeps/unix/sysv/linux/Implies: Likewise.
27469
336270d0
L
274702012-05-04 H.J. Lu <hongjiu.lu@intel.com>
27471
27472 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
27473 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
27474 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
27475 Moved to ...
27476 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
27477 Here.
27478 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
27479 to ...
27480 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
27481 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
27482 to ...
27483 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
27484 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
27485 to ...
27486 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
27487 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
27488 to ...
27489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
27490 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
27491 to ...
27492 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
27493 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
27494 to ...
27495 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
27496 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
27497 to ...
27498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
27499 Here.
27500 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
27501 to ...
27502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
27503 Here.
27504 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
27505 to ...
27506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
27507 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
27508 Moved to ...
27509 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
27510 Here.
27511 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
27512 to ...
27513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
27514
d128e450
JM
275152012-05-04 Joseph Myers <joseph@codesourcery.com>
27516
fa8ee516
JM
27517 * sysdeps/unix/common/bits/dirent.h: Remove file.
27518 * sysdeps/unix/common/bits/fcntl.h: Likewise.
27519
d128e450
JM
27520 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
27521 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
27522 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
27523 * sysdeps/unix/bsd/isatty.c: Likewise.
27524 * sysdeps/unix/bsd/tcdrain.c: Likewise.
27525 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
27526 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
27527
ff8faaf0 275282012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 27529
62881be4 27530 [BZ #13563]
31dc8730
AZ
27531 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
27532 long double comparison inaccuracies.
27533 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27534 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27535
6fef930c
AS
275362012-05-04 Andreas Schwab <schwab@linux-m68k.org>
27537
27538 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
27539 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
27540
8f203e6c
JM
275412012-05-04 Joseph Myers <joseph@codesourcery.com>
27542
27543 [BZ #14049]
27544 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
27545 nonzero digits before rounding a hex value.
27546 * stdlib/tst-strtod.c (tests): Add another test.
27547
5197d9c2
AK
275482012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27549
27550 * sysdeps/s390/fpu/libm-test-ulps: Update.
27551
f0c1dedf
AJ
275522012-05-03 Andreas Jaeger <aj@suse.de>
27553
27554 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
27555 does not get optimized out.
27556 (malloc_opt_barrier): New.
27557
a65ef2ae 275582012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 27559 Roland McGrath <roland@hack.frob.com>
a65ef2ae 27560
2b942cb7 27561 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 27562 intermediate file deletion.
2b942cb7 27563 (generated): Add .symlist files.
a65ef2ae 27564
54b71e02
JM
275652012-05-03 Joseph Myers <joseph@codesourcery.com>
27566
27567 [BZ #13775]
27568 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
27569 Redirect under this condition.
27570 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27571 [__USE_GNU] (__dprintf_chk): Not under this condition.
27572 [__USE_GNU] (__vdprintf_chk): Likewise.
27573 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
27574 under this condition.
27575 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
27576 [__USE_XOPEN2K8] (dprintf): Define under this condition.
27577 [__USE_XOPEN2K8] (vdprintf): Likewise.
27578 [__USE_GNU] (__dprintf_chk): Not under this condition.
27579 [__USE_GNU] (__vdprintf_chk): Likewise.
27580 [__USE_GNU] (dprintf): Likewise.
27581 [__USE_GNU] (vdprintf): Likewise.
27582
d3dfcc41
RM
275832012-05-03 Roland McGrath <roland@hack.frob.com>
27584
27585 * elf/Makefile (common-generated): Set this instead of generated for
27586 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
27587 $(all-built-dso)-derived lists.
27588
7ac30cc5
AJ
275892012-05-03 Andreas Jaeger <aj@suse.de>
27590
0c51e550
AJ
27591 * sysdeps/i386/fpu/libm-test-ulps: Update.
27592
7ac30cc5
AJ
27593 * FAQ: Removed.
27594 * FAQ.in: Likewise.
27595 * scripts/gen-FAQ.pl: Likewise.
27596 * manual/install.texi (Installation): Point to online location of
27597 FAQ.
27598 * Makefile (files-for-dist): Remove FAQ.
27599 (FAQ): Remove.
27600
d4c2917f
AM
276012012-05-02 Allan McRae <allan@archlinux.org>
27602
27603 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
27604 (LDFLAGS-reldepmod5.so): Likewise.
27605 (LDFLAGS-reldep6mod1.so): Likewise.
27606 (LDFLAGS-reldep6mod4.so): Likewise.
27607 (LDFLAGS-reldep8mod3.so): Likewise.
27608 (LDFLAGS-unload4mod1.so): Likewise.
27609 (LDFLAGS-unload4mod2.so): Likewise.
27610 (LDFLAGS-tst-initorder): Likewise.
27611 (LDFLAGS-tst-initordera2.so): Likewise.
27612 (LDFLAGS-tst-initordera3.so): Likewise.
27613 (LDFLAGS-tst-initordera4.so): Likewise.
27614 (LDFLAGS-tst-initorderb2.so): Likewise.
27615 (LDFLAGS-noload): Likewise.
27616 (LDFLAGS-next): Likewise.
27617 (LDFLAGS-order2mod1.so): Likewise.
27618 (LDFLAGS-order2mod2.so): Likewise.
27619 (LDFLAGS-tst-initorder2): Likewise.
27620 (LDFLAGS-tst-initorder2a.so): Likewise.
27621 (LDFLAGS-tst-initorder2b.so): Likewise.
27622 (LDFLAGS-tst-initorder2c.so): Likewise.
27623 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
27624
d77f993f
DM
276252012-05-02 David S. Miller <davem@davemloft.net>
27626
27627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27628
171a70b4
PP
276292012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
27630
27631 [BZ #14055]
27632 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
27633
0be196ad
AJ
276342012-05-02 Andreas Jaeger <aj@suse.de>
27635
27636 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
27637 since we manipulate rounding mode.
27638 (CPPFLAGS-test-idouble.c): Likewise.
27639 (CPPFLAGS-test-ifloat.c): Likewise.
27640 (CFLAGS-test-ldouble.c): Likewise.
27641 (CFLAGS-test-double.c): Likewise.
27642 (CFLAGS-test-float.c): Likewise.
27643 (CFLAGS-test-misc.c): Likewise.
27644 (CFLAGS-test-test-fenv.c): Likewise.
27645
4f9d04aa
AZ
276462012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27647
2b942cb7
RM
27648 [BZ #2550]
27649 [BZ #2570]
27650 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
27651 comparisons to determine direction to adjust input.
4f9d04aa 27652
82a79e7d
RM
276532012-05-01 Roland McGrath <roland@hack.frob.com>
27654
f5a01ca9
RM
27655 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
27656 output to the target.
27657
90fe4186
RM
27658 * scripts/localplt.awk: New file.
27659 * elf/Makefile ($(objpfx)check-localplt): Target removed.
27660 (check-localplt-CFLAGS): Variable removed.
27661 ($(all-built-dso:=.jmprel)): New static pattern rule.
27662 (generated): Add those targets.
27663 (localplt-built-dso): New variable.
27664 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
27665
27666 * elf/check-localplt.c: File removed.
27667
82397ed6
RM
27668 * scripts/check-execstack.awk: New file.
27669 * elf/Makefile ($(objpfx)check-execstack): Target removed.
27670 (check-execstack-CFLAGS): Variable removed.
27671 ($(objpfx)check-execstack.h): Target removed.
27672 ($(objpfx)execstack-default): New target.
27673 (generated): Add that instead of check-execstack.h.
27674 ($(all-built-dso:=.phdr)): New static pattern rule.
27675 (generated): Add those targets.
27676 * elf/check-execstack.c: File removed.
27677
82a79e7d
RM
27678 * scripts/check-textrel.awk: New file.
27679 * elf/Makefile ($(objpfx)check-textrel): Target removed.
27680 (check-textrel-CFLAGS): Variable removed.
27681 (all-built-dso): Use := to define.o
27682 ($(all-built-dso:=.dyn)): New static pattern rule.
27683 (generated): Add those targets.
27684 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
27685 * config.make.in (READELF): New substituted variable.
27686 * elf/check-textrel.c: File removed.
27687
62fde54f 276882012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 27689
615605c9
JM
27690 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
27691 allow.
27692 * conform/data/ctype.h-data [C99-based standards] (isblank):
27693 Expect function.
27694 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
27695 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
27696 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27697 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
27698 Specify type. Require positive value.
27699 (EILSEQ): Likewise.
27700 (ERANGE): Likewise.
27701 [ISO || POSIX] (EILSEQ): Do not expect.
27702 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
27703 Specify type. Require positive value.
27704 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
27705 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
27706 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
27707 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
27708 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
27709 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
27710 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
27711 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
27712 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
27713 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
27714 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
27715 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
27716 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
27717 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
27718 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
27719 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
27720 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
27721 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
27722 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
27723 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
27724 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
27725 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
27726 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
27727 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
27728 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
27729 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
27730 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
27731 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
27732 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
27733 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
27734 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
27735 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
27736 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
27737 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
27738 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
27739 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
27740 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
27741 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
27742 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
27743 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
27744 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
27745 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
27746 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
27747 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
27748 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
27749 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
27750 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
27751 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
27752 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
27753 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
27754 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
27755 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
27756 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
27757 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
27758 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
27759 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
27760 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
27761 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
27762 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
27763 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
27764 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
27765 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
27766 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
27767 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
27768 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
27769 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
27770 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
27771 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
27772 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
27773 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
27774 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
27775 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
27776 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
27777 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
27778 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
27779 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
27780 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
27781 Require >= 2.
27782 (FLT_ROUNDS): Expect as macro, not constant.
27783 (FLT_MANT_DIG): Use macro-int-constant.
27784 (DBL_MANT_DIG): Likewise.
27785 (LDBL_MANT_DIG): Likewise.
27786 (FLT_DIG): Likewise.
27787 (DBL_DIG): Likewise.
27788 (LDBL_DIG): Likewise.
27789 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
27790 (DBL_MIN_EXP): Likewise.
27791 (LDBL_MIN_EXP): Likewise.
27792 (FLT_MAX_EXP): Use macro-int-constant.
27793 (DBL_MAX_EXP): Likewise.
27794 (LDBL_MAX_EXP): Likewise.
27795 (FLT_MAX_10_EXP): Likewise.
27796 (DBL_MAX_10_EXP): Likewise.
27797 (LDBL_MAX_10_EXP): Likewise.
27798 (FLT_MAX): Use macro-constant.
27799 (DBL_MAX): Likewise.
27800 (LDBL_MAX): Likewise.
27801 (FLT_EPSILON): Use macro-constant. Give upper bound.
27802 (DBL_EPSILON): Likewise.
27803 (LDBL_EPSILON): Likewise.
27804 (FLT_MIN): Likewise.
27805 (DBL_MIN): Likewise.
27806 (LDBL_MIN): Likewise.
27807 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
27808 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
27809 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
27810 [ISO11] (FLT_HAS_SUBNORM): Likewise.
27811 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
27812 [ISO11] (DBL_DECIMAL_DIG): Likewise.
27813 [ISO11] (FLT_DECIMAL_DIG): Likewise.
27814 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
27815 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
27816 [ISO11] (FLT_TRUE_MIN): Likewise.
27817 [ISO11] (LDBL_TRUE_MIN): Likewise.
27818 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27819 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
27820 (SCHAR_MIN): Use macro-int-constant. Specify type.
27821 (SCHAR_MAX): Likewise.
27822 (UCHAR_MAX): Likewise.
27823 (CHAR_MIN): Likewise.
27824 (CHAR_MAX): Likewise.
27825 (MB_LEN_MAX): Use macro-int-constant.
27826 (SHRT_MIN): Use macro-int-constant. Specify type.
27827 (SHRT_MAX): Likewise.
27828 (USHRT_MAX): Likewise.
27829 (INT_MAX): Likewise.
27830 (INT_MIN): Use macro-int-constant. Specify type. Make upper
27831 bound negative.
27832 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
27833 bound with "U".
27834 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27835 bound with "L".
27836 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
27837 bound negative. Suffix upper bound with "L".
27838 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
27839 bound with "UL".
27840 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
27841 Specify type.
27842 [C99-based standards] (LLONG_MAX): Likewise.
27843 [C99-based standards] (ULLONG_MAX): Likewise.
27844 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
27845 == 0.
27846 [ISO11] (max_align_t): Require type.
27847 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27848
c9140a62
JM
27849 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
27850 from $CFLAGS, without defining away __attribute__ calls.
27851 (checknamespace): Use $CFLAGS_namespace.
27852
9af0bf29
JM
27853 * conform/conformtest.pl (@keywords): Only include C99 keywords
27854 for standards based on C99 or C11.
27855
343222a2
JM
27856 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
27857 Disable tests.
27858 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
27859 UNIX98]: Likewise.
27860
661f8cf0
JM
27861 * conform/conformtest.pl: Handle "macro-int-constant" and test for
27862 usability of symbols in #if.
27863
ee74b9cb
JM
27864 * conform/conformtest.pl: If macro or constant types start
27865 "promoted:", expect the symbol to be of the following type
27866 promoted by the integer promotions.
62fde54f 27867
aafc49b3
JM
27868 * conform/conformtest.pl: Parse all "constant" and "macro" lines
27869 in one place. Also handle "macro-constant".
27870
fefdf574
JM
27871 * conform/conformtest.pl: Only accept expected macro values with
27872 "==". Parse all "macro" lines in one place.
27873 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
27874
f2d922fe
JM
27875 * conform/conformtest.pl: Handle braced types on "constant" lines
27876 instead of handling "typed-constant".
27877 * conform/data/signal.h-data: Use "constant" instead of
27878 "typed-constant".
27879
d22956c9
JM
27880 * conform/conformtest.pl: Handle "optional-" at start of lines in
27881 one place rather than duplicating several cases. Handle each
27882 format of "macro" line with initial "optional-".
27883
028e2e38
JM
27884 * conform/conformtest.pl: Only accept expected constant or
27885 optional-constant values with "==". Parse all "constant" lines in
27886 one place. Parse all "optional-constant" lines in one place.
27887 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
27888 * conform/data/fmtmsg.h-data: Likewise.
27889 * conform/data/netinet/in.h-data: Likewise.
27890 * conform/data/tar.h-data: Likewise.
27891 * conform/data/limits.h-data: Use "==" form on "constant" and
27892 "optional-constant" lines.
27893
1b8f2850
JM
27894 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
27895 Use -std=c99 for XOPEN2K.
27896 (@knownproblems): Remove.
27897 (newtoken): Don't check %isknown.
27898
a05a144b
JM
27899 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
27900 Do not expect macro.
27901 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
27902 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
27903 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
27904 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
27905 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
27906 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
27907 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
27908 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
27909 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
27910 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
27911 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
27912 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
27913 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
27914 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
27915 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
27916 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
27917 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
27918 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
27919 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
27920 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
27921 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
27922 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
27923 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
27924 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
27925 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
27926 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
27927 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
27928 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
27929 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
27930 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
27931 [XPG3] (acosh): Likewise.
27932 [XPG3] (asinh): Likewise.
27933 [XPG3] (atanh): Likewise.
27934 [XPG3] (cbrt): Likewise.
27935 [XPG3] (expm1): Likewise.
27936 [XPG3] (ilogb): Likewise.
27937 [XPG3] (log1p): Likewise.
27938 [XPG3] (logb): Likewise.
27939 [XPG3] (nextafter): Likewise.
27940 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
27941 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
27942 [XPG3] (remainder): Likewise.
27943 [XPG3] (rint): Likewise.
27944 [XPG3 || XPG4 || UNIX98] (round): Likewise.
27945 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
27946 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
27947 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
27948 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
27949 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
27950 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
27951 [UNIX98 || XOPEN2K] (scalb): Expect.
27952 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
27953 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
27954 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
27955 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
27956 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
27957 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
27958 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
27959 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
27960 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
27961 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
27962 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
27963 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
27964 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
27965 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
27966 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
27967 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
27968 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
27969 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
27970 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
27971 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
27972 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
27973 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
27974 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
27975 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
27976 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
27977 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
27978 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
27979 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
27980 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
27981 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
27982 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
27983 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
27984 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
27985 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
27986 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
27987 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
27988 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
27989 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
27990 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
27991 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
27992 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
27993 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
27994 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
27995 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
27996 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
27997 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
27998 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
27999 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
28000 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
28001 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
28002 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
28003 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
28004 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
28005 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
28006 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
28007 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
28008 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
28009 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
28010 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
28011 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
28012 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
28013 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
28014 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
28015 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
28016 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
28017 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
28018 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
28019 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
28020 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
28021 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
28022 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
28023 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
28024 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
28025 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
28026 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
28027 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
28028 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
28029 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
28030 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
28031 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
28032 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
28033 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
28034 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
28035 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
28036 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
28037 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
28038 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
28039 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
28040 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
28041 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
28042 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
28043 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
28044 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
28045 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
28046 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
28047 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
28048 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
28049 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
28050 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
28051 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
28052 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
28053 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
28054 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
28055 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
28056 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
28057 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
28058 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
28059 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
28060 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
28061 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
28062 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
28063 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
28064 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
28065 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
28066 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
28067 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
28068 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
28069 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
28070 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
28071 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
28072 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
28073 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
28074 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
28075 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
28076 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
28077 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
28078 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
28079 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
28080 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
28081 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
28082 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
28083 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
28084 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
28085 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
28086 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
28087 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
28088 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
28089
73c5ebe3
JM
28090 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
28091 _XOPEN_SOURCE_EXTENDED for XPG4.
28092
39c33b6c
JM
28093 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
28094
62fde54f
JM
28095 * Makeconfig (localtime): Remove variable.
28096 (inst_localtime-file): Likewise.
28097
0741d64c
AS
280982012-05-01 Andreas Schwab <schwab@linux-m68k.org>
28099
28100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
28101 Update.
28102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28103 Update.
28104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
28105 Update.
28106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
28107 Update.
28108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
28109 Update.
28110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
28111 Update.
28112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
28113 Update.
28114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
28115 Update.
28116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28117 Update.
28118
7cb029ee
JM
281192012-05-01 Joseph Myers <joseph@codesourcery.com>
28120
28121 [BZ #2550]
28122 [BZ #2570]
28123 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
28124 comparisons to determine direction to adjust input.
28125 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
28126 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
28127 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
28128 Likewise.
28129 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
28130 Likewise.
28131 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
28132 Likewise.
28133 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
28134 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
28135 Likewise.
28136 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
28137 Likewise.
28138 * math/libm-test.inc (nexttoward_test): Add more tests.
28139
412bd966
AS
281402012-05-01 Andreas Schwab <schwab@linux-m68k.org>
28141
28142 [BZ #14040]
28143 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
28144 in version GLIBC_2.1, not GLIBC_2.0.
28145 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
28146 Likewise.
28147
9568c0c2
JM
281482012-04-30 Joseph Myers <joseph@codesourcery.com>
28149
adfbc8ac
JM
28150 [BZ #13942]
28151 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
28152 (1 - x) * (1 + x).
28153 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28154 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
28155 * math/libm-test.inc (acos_test): Add more tests.
28156 (asin_test): Likewise.
28157 * sysdeps/i386/fpu/libm-test-ulps: Update.
28158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28159
5ba3cc69
JM
28160 [BZ #14034]
28161 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
28162 of square root.
28163 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
28164 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
28165 * math/libm-test.inc (acos_test_tonearest): New function.
28166 (acos_test_towardzero): Likewise.
28167 (acos_test_downward): Likewise.
28168 (acos_test_upward): Likewise.
28169 (asin_test_tonearest): Likewise.
28170 (asin_test_towardzero): Likewise.
28171 (asin_test_downward): Likewise.
28172 (asin_test_upward): Likewise.
28173 (main): Call the new functions.
28174 * sysdeps/i386/fpu/libm-test-ulps: Update.
28175 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28176
9568c0c2
JM
28177 [BZ #13884]
28178 [BZ #13924]
28179 * math/e_exp10.c: Include <float.h>.
28180 (__ieee754_exp10): Handle underflow here rather than multiplying
28181 large negative argument by M_LN10.
28182 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
28183 of __ieee754_expf.
28184 * math/e_exp10l.c: Include <float.h>.
28185 (__ieee754_exp10l): Handle underflow here rather than multiplying
28186 large negative argument by M_LN10l.
28187 * math/libm-test.inc (exp10_test): Add another test. Do not allow
28188 spurious overflow exception on underflow.
28189
5ac3ea17
MP
281902012-04-29 Marek Polacek <polacek@redhat.com>
28191
28192 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
28193 (__fortify_function): New macro.
28194 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
28195 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
28196 __extern_always_inline.
28197 * libio/bits/stdio2.h: Likewise.
28198 * libio/bits/stdio.h: Likewise.
28199 * string/string.h: Likewise.
28200 * string/bits/string3.h: Likewise.
28201 * include/stdio.h: Likewise.
28202 * stdlib/bits/stdlib.h: Likewise.
28203 * stdlib/stdlib.h: Likewise.
28204 * rt/bits/mqueue2.h: Likewise.
28205 * rt/mqueue.h: Likewise.
28206 * posix/bits/unistd.h: Likewise.
28207 * posix/unistd.h: Likewise.
28208 * io/bits/poll2.h: Likewise.
28209 * io/bits/fcntl2.h: Likewise.
28210 * io/fcntl.h: Likewise.
28211 * io/sys/poll.h: Likewise.
28212 * misc/bits/syslog.h: Likewise.
28213 * misc/bits/syslog-ldbl.h: Likewise.
28214 * misc/sys/syslog.h: Likewise.
28215 * socket/bits/socket2.h: Likewise.
28216 * socket/sys/socket.h: Likewise.
28217 * debug/tst-chk1.c: Likewise.
28218 * wcsmbs/bits/wchar2.h: Likewise.
28219 * wcsmbs/bits/wchar-ldbl.h: Likewise.
28220 * wcsmbs/wchar.h: Likewise.
28221
ecf0ebfb
AJ
282222012-04-29 Andreas Jaeger <aj@suse.de>
28223
28224 * Makerules (tests): Remove enable-check-abi protection.
28225 (check-abi-warn): Remove.
28226 (check-abi-%): Remove check-abi-warn usage.
28227
28228 * configure.in: Remove check-abi configure option.
28229 * configure: Regenerated.
28230 * config.make.in (enable-check-abi): Remove.
28231
6d5c57fa
AS
282322012-04-28 Andreas Schwab <schwab@linux-m68k.org>
28233
24c5d07e 28234 [BZ #14033]
ded5180a
AS
28235 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
28236 double functions to double *_finite functions.
28237
7e0d315d
AS
28238 [BZ #13941]
28239 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
28240 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
28241 LDBL_MIN_EXP.
28242 * stdio-common/Makefile (tests): Add tst-sprintf3.
28243 * stdio-common/tst-sprintf3.c: New file.
28244
6d5c57fa
AS
28245 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
28246 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
28247
0749ff8b
JM
282482012-04-28 Joseph Myers <joseph@codesourcery.com>
28249
28250 * conform/conformtest.pl: Remove duplicate typed-constant
28251 handling.
28252
8dbd5d7b
DM
282532012-04-28 David S. Miller <davem@davemloft.net>
28254
28255 * Makerules (%.abilist): Add vpath on sysdep_dirs.
28256 (check-abi-%): Remove AWK script prerequisite and explicit
28257 abilist directory.
28258 (check-abi): Rewrite to just diff the symlist with the abilist.
28259 (config-tls, config-abi-config): Delete, no longer used.
28260 (update-abi-%): Remove AWK script and explicit abilist directory.
28261 (update-abi): Rewrite to simply compare and conditionally copy the
28262 symlist and the sysdep abilist file. Remove update-abi-config
28263 checks.
28264 * abilist/ld.abilist: Remove.
28265 * abilist/libBrokenLocale.abilist: Remove.
28266 * abilist/libanl.abilist: Remove.
28267 * abilist/libcrypt.abilist: Remove.
28268 * abilist/libdl.abilist: Remove.
28269 * abilist/librt.abilist: Remove.
28270 * abilist/libthread_db.abilist: Remove.
28271 * abilist/libutil.abilist: Remove.
28272 * scripts/extract-abilist.awk: Remove.
28273 * scripts/merge-abilist.awk: Remove.
28274 * sysdeps/generic/libcidn.abilist: New file.
28275 * sysdeps/generic/libnss_compat.abilist: New file.
28276 * sysdeps/generic/libnss_db.abilist: New file.
28277 * sysdeps/generic/libnss_dns.abilist: New file.
28278 * sysdeps/generic/libnss_files.abilist: New file.
28279 * sysdeps/generic/libnss_hesiod.abilist: New file.
28280 * sysdeps/generic/libnss_nis.abilist: New file.
28281 * sysdeps/generic/libnss_nisplus.abilist: New file.
28282 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
28283 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
28284 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
28285 file.
28286 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
28287 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
28288 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
28289 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
28290 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
28291 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
28292 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
28293 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
28294 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
28295 file.
28296 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
28297 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
28298 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
28299 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
28300 file.
28301 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
28302 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
28303 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
28304 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
28305 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
28306 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
28307 file.
28308 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
28309 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
28310 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
28311 file.
28312 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
28313 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
28314 New file.
28315 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
28316 New file.
28317 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
28318 New file.
28319 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
28320 New file.
28321 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
28322 New file.
28323 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
28324 New file.
28325 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
28326 New file.
28327 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
28328 New file.
28329 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
28330 New file.
28331 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
28332 New file.
28333 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
28334 New file.
28335 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
28336 New file.
28337 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
28338 New file.
28339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
28340 file.
28341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
28342 New file.
28343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
28344 New file.
28345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
28346 file.
28347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
28348 New file.
28349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
28350 New file.
28351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
28352 file.
28353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
28354 New file.
28355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
28356 New file.
28357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
28358 New file.
28359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
28360 New file.
28361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
28362 New file.
28363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
28364 New file.
28365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
28366 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
28367 file.
28368 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
28369 New file.
28370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
28371 file.
28372 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
28373 file.
28374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
28375 file.
28376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
28377 file.
28378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
28379 file.
28380 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28381 New file.
28382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
28383 file.
28384 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
28385 file.
28386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
28387 New file.
28388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
28389 file.
28390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
28391 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
28392 file.
28393 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
28394 New file.
28395 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
28396 file.
28397 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
28398 file.
28399 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
28400 file.
28401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
28402 file.
28403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
28404 file.
28405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28406 New file.
28407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
28408 file.
28409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
28410 file.
28411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
28412 New file.
28413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
28414 file.
28415 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28416 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
28417 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
28418 file.
28419 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
28420 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
28421 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
28422 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
28423 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
28424 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
28425 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
28426 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
28427 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
28428 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
28429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
28430 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
28431 file.
28432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
28433 New file.
28434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
28435 file.
28436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
28437 file.
28438 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
28439 file.
28440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
28441 file.
28442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
28443 file.
28444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
28445 New file.
28446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
28447 New file.
28448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
28449 file.
28450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
28451 New file.
28452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
28453 file.
28454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
28455 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
28456 file.
28457 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
28458 New file.
28459 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
28460 file.
28461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
28462 file.
28463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
28464 file.
28465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
28466 file.
28467 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
28468 file.
28469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
28470 New file.
28471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
28472 New file.
28473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
28474 file.
28475 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
28476 New file.
28477 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
28478 file.
28479
41d73a1b
JM
284802012-04-28 Joseph Myers <joseph@codesourcery.com>
28481
28482 * conform/conformtest.pl: Fix typo in handling typed-constant from
28483 allow-header.
28484
28aeeda4
JM
284852012-04-27 Joseph Myers <joseph@codesourcery.com>
28486
adae8f5e
JM
28487 * README: Cut down references to pre-2.6 Linux kernels and
28488 Linuxthreads. Update lists of configurations in libc and ports
28489 and sort alphabetically. Say "or newer" with Linux kernel version
28490 requirements.
28491
28aeeda4
JM
28492 * config.h.in [IS_IN_build]: Allow compiling without optimization.
28493
a462cb63
RA
284942012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
28495
28496 [BZ #887]
28497 * math/libm-test.inc (logb_test_downward): New test to expose
28498 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
28499 rounding mode.
28500
6ad3493e
JM
285012012-04-27 Joseph Myers <joseph@codesourcery.com>
28502
28503 [BZ #14027]
28504 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
28505 to be done.
28506 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
28507 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
28508
2ce4f015
JM
285092012-04-26 Joseph Myers <joseph@codesourcery.com>
28510
5aeb141a
JM
28511 * sysdeps/unix/i386/brk.S: Remove file.
28512 * sysdeps/unix/i386/dl-brk.S: Likewise.
28513 * sysdeps/unix/i386/pipe.S: Likewise.
28514 * sysdeps/unix/i386/sigreturn.S: Likewise.
28515 * sysdeps/unix/i386/syscall.S: Likewise.
28516 * sysdeps/unix/i386/vfork.S: Likewise.
28517 * sysdeps/unix/i386/wait.S: Likewise.
28518
7143acae
JM
28519 * sysdeps/unix/common/tcsendbrk.c: Move to ...
28520 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
28521
2ce4f015
JM
28522 * configure.in (arm*-none*): Do not allow without
28523 --enable-hacker-mode.
28524 (netbsd*): Remove case setting base_os.
28525 (386bsd*): Likewise.
28526 (freebsd*): Likewise.
28527 (bsdi*): Likewise.
28528 (osf*): Likewise.
28529 (sunos*): Likewise.
28530 (ultrix*): Likewise.
28531 (newsos*): Likewise.
28532 (dynix*): Likewise.
28533 (*bsd*): Likewise.
28534 (sysv*): Likewise.
28535 (isc*): Likewise.
28536 (esix*): Likewise.
28537 (sco*): Likewise.
28538 (minix*): Likewise.
28539 (irix4*): Likewise.
28540 (irix6*): Likewise.
28541 (solaris[2-9]*): Likewise.
28542 (none): Likewise.
28543 * configure: Regenerated.
28544
0ac229c8
AZ
285452012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28546
28547 [BZ #11521]
28548 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
28549 overflow or cancellation in calculating denominator.
28550 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
28551 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
28552 down expression to avoid unexpected rounding in newer GCCs.
28553 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
28554
33f244f4
DM
285552012-04-26 David S. Miller <davem@davemloft.net>
28556
28557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
28558 long-double compat symbols.
28559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
28560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
28561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
28562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
28563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
28564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
28565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
28566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
28567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
28568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
28570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
28571 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28572
cfa1f3e8
DM
285732012-04-25 David S. Miller <davem@davemloft.net>
28574
28575 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
28576 HWCAP_* values only after the memory barriers have been defined.
28577 (atomic_full_barrier): Define.
28578 (atomic_read_barrier): Define.
28579 (atomic_write_barrier): Define.
28580
6e236b92
SP
285812012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28582
28583 * shlib-versions: Add libgcc_s version information.
28584 * sysdeps/generic/libgcc_s.h: Remove.
28585 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
28586 libgcc_s.h.
28587 * sysdeps/gnu/unwind-resume.c: Likewise.
28588 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
28589
aab39a09
DM
285902012-04-25 David S. Miller <davem@davemloft.net>
28591
28592 * sysdeps/unix/sparc/brk.S: Delete.
28593 * sysdeps/unix/sparc/dl-brk.S: Delete.
28594 * sysdeps/unix/sparc/pipe.S: Delete.
28595 * sysdeps/unix/sparc/sysdep.S: Delete.
28596 * sysdeps/unix/sparc/sysdep.h: Delete.
28597 * sysdeps/unix/sparc/vfork.S: Delete.
28598 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
28599 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
28600 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
28601 ret_ERRVAL, r0, r1, MOVE): Define.
28602 (JUMPTARGET): Remove.
28603 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
28604 sysdeps/unix/sparc/sysdep.h
28605 (ENTRY, END): Remove.
28606 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28607
a3cc4f48
JM
286082012-04-25 Joseph Myers <joseph@codesourcery.com>
28609
2ed8cda2
JM
28610 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
28611 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
28612 -DIS_IN_build.
28613
35d76d59
JM
28614 * timezone/README: Update upstream location and email address for
28615 tzcode and tzdata.
28616 * timezone/zdump.c: Update from tzcode 2012b.
28617 * timezone/zic.c: Likewise.
28618
a3cc4f48
JM
28619 * configure.in (libc_cv_as_needed): Remove test.
28620 * configure: Regenerated.
28621 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
28622 conditional definition.
28623 [$(have-as-needed) != yes] (no-as-needed): Likewise.
28624 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
28625 * config.make.in (have-as-needed): Remove variable.
28626
ceab42c3
SP
286272012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28628 Paul Pluzhnikov <ppluzhnikov@google.com>
28629
28630 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
28631 strings correctly.
28632
3ce2865f
CLT
286332012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
28634
28635 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
28636 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
28637 * sysdeps/sh/strlen.S: Likewise.
28638
f37e0d68
JM
286392012-04-24 Joseph Myers <joseph@codesourcery.com>
28640
ae186e9a
JM
28641 * sysdeps/unix/fork.S: Remove file.
28642 * sysdeps/unix/i386/fork.S: Likewise.
28643 * sysdeps/unix/sparc/fork.S: Likewise.
28644
b96914af
JM
28645 * sysdeps/unix/system.c: Remove file.
28646 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
28647
f37e0d68
JM
28648 * sysdeps/unix/getegid.S: Remove file.
28649 * sysdeps/unix/geteuid.S: Likewise.
28650
87ef29ca
RM
286512012-04-24 Roland McGrath <roland@hack.frob.com>
28652
83bcd236
RM
28653 * scripts/check-localplt.awk: New file.
28654 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
28655 of diff.
28656 * scripts/data/localplt-generic.data: Add a comment.
28657
87ef29ca
RM
28658 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
28659 NODE when __dir_mkfile failed.
28660 * sysdeps/mach/hurd/symlinkat.c: Likewise.
28661 Reported by Ludovic Courtès <ludo@gnu.org>.
28662
e5a6e567
AJ
286632012-04-24 Andreas Jaeger <aj@suse.de>
28664
28665 * Makerules (common-clean): Also remove gen-as-const-headers
28666 files.
28667
c1820385
JM
286682012-04-24 Joseph Myers <joseph@codesourcery.com>
28669
28670 * Makerules (native-compile): Do not change working directory for
28671 build. Use $(OUTPUT_OPTION) in command.
28672 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
28673
94e02fc4
AZ
286742012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28675
28676 [BZ #13886]
28677 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
28678 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
28679 * math/libm-test.inc (floor_test): Add more tests.
28680 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
28681
3a533ca3
JM
286822012-04-24 Joseph Myers <joseph@codesourcery.com>
28683
940ab4b3
JM
28684 * sysdeps/unix/getdents.c: Remove file.
28685 * sysdeps/unix/sysv/getdents.c: Likewise.
28686 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
28687
90e037bd
JM
28688 * sysdeps/unix/syscalls.list (madvise): Add syscall from
28689 sysdeps/unix/mman/syscalls.list.
28690 (mmap): Likewise.
28691 (mprotect): Likewise.
28692 (msync): Likewise.
28693 (munmap): Likewise.
28694 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
28695 * sysdeps/unix/mman/syscalls.list: Remove.
28696 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
28697
3a533ca3
JM
28698 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
28699 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
28700 * configure: Regenerated.
28701 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
28702 $(libgcc_s_suffix).
28703 * config.make.in (libgcc_s_suffix): Remove variable.
28704
1ad743de
JM
287052012-04-23 Joseph Myers <joseph@codesourcery.com>
28706
4ad451e2
JM
28707 * sysdeps/unix/sysv/gethostname.c: Move to ...
28708 * sysdeps/posix/gethostname.c: ... here.
28709
5e37ce39
JM
28710 * sysdeps/unix/execve.S: Remove file.
28711
1ad743de
JM
28712 * sysdeps/unix/_exit.S: Remove file.
28713
4e681b5b
AJ
287142012-04-23 Andreas Jaeger <aj@suse.de>
28715
28716 [BZ #13739]
28717 * manual/Makefile: Remove make dist support, there's no
28718 need for a stand-alone documentation tar ball.
28719 (TEXI2DVI): Define always, it's not in Makeconfig.
28720 (dist): Removed.
28721 (tar-it): Removed.
28722 (edition): Removed.
28723 (glibc-doc-$(edition).tar): Removed
28724 (%.Z): Removed.
28725 (%.gz): Removed.
28726 (%.uu): Removed.
28727 (ETAGS): Remove, it's in Makeconfig.
28728 (move-if-change): Remove, it's in Makeconfig.
28729
38686a03 287302012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
28731
28732 [BZ #13970]
28733 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
28734 (strtod, strtof, strtold, strtol, strtoul, strtoq)
28735 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
28736 (strtod_l, strtof_l, strtold_l): Remove __wur.
28737 It is not necessarily an error to ignore strtol's return value.
28738 One can reliably look at the stored endptr to decide whether
28739 the number had valid syntax.
28740
7c0616fa
AJ
287412012-04-21 Andreas Jaeger <aj@suse.de>
28742
803cb6b7 28743 [BZ #13739]
7c0616fa
AJ
28744 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
28745
b0fe253f
JM
287462012-04-21 Joseph Myers <joseph@codesourcery.com>
28747
28748 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
28749 * sysdeps/unix/sysv/Versions: Remove file.
28750
8280f22d
MT
287512012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
28752
28753 [BZ #13927]
28754 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28755
75ce411f 287562012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
28757
28758 [BZ #7064]
28759 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
28760 version from __vm86.
28761
097d59fa
JM
287622012-04-20 Joseph Myers <joseph@codesourcery.com>
28763
a90f3bcb
JM
28764 * sysdeps/unix/common/lxstat.c: Remove file.
28765 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
28766
edc7ea78
JM
28767 * sysdeps/unix/sysv/Makefile: Remove file.
28768
cb78c221
JM
28769 * sysdeps/unix/sysv/direct.h: Remove file.
28770
efa6a45f
JM
28771 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
28772 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
28773 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
28774 * sysdeps/unix/sysv/bits/signum.h: Likewise.
28775 * sysdeps/unix/sysv/bits/stat.h: Likewise.
28776 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
28777 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
28778
9c9f2d0c
JM
28779 * sysdeps/unix/sysv/setrlimit.c: Remove file.
28780
4541c83b
JM
28781 * sysdeps/unix/xmknod.c: Remove file.
28782 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
28783
f5d153a0
JM
28784 * sysdeps/unix/sysv/settimeofday.c: Remove file.
28785
aa746595
JM
28786 * sysdeps/unix/sysv/i386/time.S: Remove file.
28787
cce5905e
JM
28788 * sysdeps/unix/fxstat.c: Remove file.
28789 * sysdeps/unix/xstat.c: Likewise.
28790 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
28791
37fa3841
JM
28792 * sysdeps/unix/sysv/sigaction.c: Remove file.
28793
ff1962a3
JM
28794 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
28795 (sysdep_headers): Remove variable.
28796 [termio.h not in sysdep_headers] (generated): Likewise.
28797 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
28798 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
28799 * sysdeps/unix/sysv/tcdrain.c: Likewise.
28800 * sysdeps/unix/sysv/tcflow.c: Likewise.
28801 * sysdeps/unix/sysv/tcflush.c: Likewise.
28802 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
28803 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
28804 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
28805 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
28806 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
28807
e7740d31
JM
28808 * sysdeps/unix/siglist.c: Remove file.
28809
ee06f18b
JM
28810 * sysdeps/unix/getppid.S: Remove file.
28811
097d59fa
JM
28812 * sysdeps/unix/mkdir.c: Remove file.
28813 * sysdeps/unix/rmdir.c: Likewise.
28814
ff3d51ec
AS
288152012-04-19 Andreas Schwab <schwab@linux-m68k.org>
28816
28817 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
28818 ERR_MAX value.
28819 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
28820 errlist-compat value.
28821
50f81fd7
DM
288222012-04-18 David S. Miller <davem@davemloft.net>
28823
28824 * sysdeps/generic/memcopy.h (reg_char): Delete.
28825 * debug/strcat_chk.c: Use char, not reg_char.
28826 * debug/strcpy_chk.c: Likewise.
28827 * debug/strncat_chk.c: Likewise.
28828 * debug/strncpy_chk.c: Likewise.
28829 * string/memchr.c: Likewise.
28830 * string/memrchr.c: Likewise.
28831 * string/rawmemchr.c: Likewise.
28832 * string/strcat.c: Likewise.
28833 * string/strchr.c: Likewise.
28834 * string/strchrnul.c: Likewise.
28835 * string/strcmp.c: Likewise.
28836 * string/strcpy.c: Likewise.
28837 * string/strncat.c: Likewise.
28838 * string/strncmp.c: Likewise.
28839 * string/strncpy.c: Likewise.
28840
8ff41c46
WS
288412012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28842
28843 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
28844 __builtin_memcopy is called when src and dest ranges are known to not
28845 overlap.
28846
6b652f46
WS
288472012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28848
28849 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
28850 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
28851 fwd_align_merge macro call.
28852 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
28853 bwd_align_merge macro call.
28854 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28855
b282631e
WS
288562012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
28857
28858 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
28859 bwd_align_merge macros.
28860 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
28861 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
28862 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
28863
95aa737c
DM
288642012-04-18 David S. Miller <davem@davemloft.net>
28865
28866 * sysdeps/sparc/sparc64/memcopy.h: Delete.
28867
7a99a614
AJ
288682012-04-18 Andreas Jaeger <aj@suse.de>
28869
28870 [BZ# 6794]
28871 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
28872 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
28873 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28874
28875 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
28876 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
28877 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28878
28879 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
28880 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
28881 Adjust for changed ldbl-128 files.
28882
28883 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
28884 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
28885 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
28886
e5270c23
DM
288872012-04-17 David S. Miller <davem@davemloft.net>
28888
28889 * sysdeps/sparc/sparc32/memcopy.h: Delete.
28890
fb5e92c9
AS
288912012-04-17 Andreas Schwab <schwab@linux-m68k.org>
28892
28893 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
28894 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
28895 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
28896 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
28897 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
28898 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
28899
76da7265
AZ
289002012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28901
28902 [BZ #6794]
28903 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
28904 * math/libm-test.inc: Add ilogb errno and exception tests.
28905 * math/w_ilogb.c: New file: ilogb wrapper.
28906 * math/w_ilogbf.c: New file: ilogbf wrapper.
28907 * math/w_ilogbl.c: New file: ilogbl wrapper.
28908 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
28909 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
28910 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
28911 exception being thrown with 0.0 as argument.
28912 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
28913 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
28914 exception being thrown with 0.0 as argument.
28915 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
28916 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28917 exception being thrown with 0.0 as argument.
28918 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
28919 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
28920 exception being thrown with 0.0 as argument.
28921 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
28922 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 28923 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
28924 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
28925 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
28926 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
28927 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
28928 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
28929 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
28930
0396e69d
PB
289312012-04-17 Petr Baudis <pasky@ucw.cz>
28932
28933 * include/sys/uio.h: Change __vector to __iovec to avoid clash
28934 with altivec.
28935
750b5926
MP
289362012-04-16 Marek Polacek <polacek@redhat.com>
28937
28938 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
28939
751728a1
MP
289402012-04-16 Marek Polacek <polacek@redhat.com>
28941
28942 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
28943 operands of fdivp instruction.
28944
34a27407
L
289452012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28946
28947 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
28948 * elf/tst-auditmod3b.c: Likewise.
28949 * elf/tst-auditmod4b.c: Likewise.
28950 * elf/tst-auditmod5b.c: Likewise.
28951 * elf/tst-auditmod6b.c: Likewise.
28952 * elf/tst-auditmod6c.c: Likewise.
28953 * elf/tst-auditmod7b.c: Likewise.
28954 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
28955 * sysdeps/x86_64/preconfigure.in: Likewise.
28956 * sysdeps/x86_64/preconfigure: Regenerated.
28957
7e73e17d
L
289582012-04-13 H.J. Lu <hongjiu.lu@intel.com>
28959
28960 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
28961 __ILP32__.
28962
c7a6ab72
AB
289632012-04-13 Antoine Balestrat <merkil33@gmail.com>
28964
28965 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
28966 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
28967
a9e8e0e0
CL
289682012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
28969
28970 [BZ #13973]
28971 * locale/iso-639.def: Fix gl language name. Spotted by
28972 Yaron Shahrabani.
28973
ec98af7d
RM
289742012-04-12 Roland McGrath <roland@hack.frob.com>
28975
28976 [BZ #2074]
28977 * libio/libio.h (__io_write_fn): Update comment.
28978
247c3ede
PB
289792012-04-12 Petr Baudis <pasky@ucw.cz>
28980
28981 [BZ #2074]
28982 * stdio.texi (Hook Functions): The user provided writer function
28983 is not allowed to return -1.
28984
55939d6d
DM
289852012-04-11 David S. Miller <davem@davemloft.net>
28986
28987 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28988
90020f5a
MF
289892012-04-11 Mike Frysinger <vapier@gentoo.org>
28990
28991 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
28992 Add a leading slash to rtkaio.
28993
288f9098
JM
289942012-04-11 Jim Meyering <meyering@redhat.com>
28995
90020f5a
MF
28996 [BZ #11959]
28997 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
28998 It is not necessarily an error to ignore fwrite's return
28999 value. One can reliably use ferror to test for errors after
29000 the fact.
288f9098 29001
4be2b570
L
290022012-04-10 H.J. Lu <hongjiu.lu@intel.com>
29003
29004 * bits/types.h (__snseconds_t): New type.
29005 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
29006
29007 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
29008 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
29009 (__SNSECONDS_T_TYPE): Likewise.
29010 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
29011 (__SNSECONDS_T_TYPE): Likewise.
29012 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
29013 (__SNSECONDS_T_TYPE): Likewise.
29014
288f9098 290152012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
29016
29017 [BZ #2636]
29018 * manual/time.texi (Processor Time): Return type of times is
29019 elapsed real time since an arbitrary point in the past.
29020 (CPU Time): Move CLK_TCK from here...
29021 (Processor Time): ...to here. Correct description.
29022 * manual/conf.texi (Constants for Sysconf): Correct description of
29023 _SC_CLK_TCK.
29024
d7dd4413
DM
290252012-04-10 David S. Miller <davem@davemloft.net>
29026
29027 [BZ #13967]
29028 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
29029 where the is a gap between DT_REL(A) and DT_JMPREL.
29030
b46068fc
L
290312012-04-10 H.J. Lu <hongjiu.lu@intel.com>
29032
29033 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
29034 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29035 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29036
73d65cc3
SP
290372012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29038
29039 * elf/dl-support.c (_dl_inhibit_cache): New variable.
29040 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
29041 (dl_main): Handle --inhibit-cache.
29042 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
29043 _dl_inhibit_cache.
29044 * elf/dl-load.c (_dl_map_object): Use it.
29045 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
29046
bcc8d661
JM
290472012-04-09 Joseph Myers <joseph@codesourcery.com>
29048
8f9a2fae
JM
29049 [BZ #13872]
29050 * sysdeps/i386/fpu/e_powl.S (p78): New object.
29051 (__ieee754_powl): Saturate large exponents rather than testing for
29052 overflow of y*log2(x).
29053 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29054 * math/libm-test.inc (pow_test): Do not permit spurious overflow
29055 exceptions.
29056
bcc8d661
JM
29057 [BZ #11521]
29058 * math/s_ctan.c: Include <float.h>.
29059 (__ctan): Avoid internal overflow or cancellation in calculating
29060 denominator.
29061 * math/s_ctanf.c: Likewise.
29062 * math/s_ctanl.c: Likewise.
29063 * math/s_ctanh.c: Likewise.
29064 * math/s_ctanhf.c: Likewise.
29065 * math/s_ctanhl.c: Likewise.
29066 * math/libm-test.inc (ctan_test): Add more tests.
29067 (ctanh_test): Likewise.
29068 * sysdeps/i386/fpu/libm-test-ulps: Update.
29069 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29070
823fbbb4
AJ
290712012-04-09 Andreas Jaeger <aj@suse.de>
29072
03879793
AJ
29073 [BZ #6894]
29074 * manual/filesys.texi (Directory Entries): Mention that d_namlen
29075 is an optional BSD extension.
29076
823fbbb4
AJ
29077 [BZ #10254]
29078 * manual/stdio.texi (Opening Streams): Document additional fopen
29079 parameters.
29080
8de131cb
RM
290812012-04-09 Roland McGrath <roland@hack.frob.com>
29082
29083 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
29084 %eax without telling the compiler.
29085
c0ed9d7d
CD
290862012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
29087
29088 [BZ # 13963]
29089 * manual/install.texi: Use sourceware.org.
29090
c483f6b4
JM
290912012-04-09 Joseph Myers <joseph@codesourcery.com>
29092
d7dd9453
JM
29093 [BZ #13873]
29094 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
29095 (__ieee754_pow): Generate overflow and underflow using huge*huge
29096 and tiny*tiny rather than just returning constant infinity or zero
29097 for large exponents.
29098 * math/libm-test.inc (pow_test): Require overflow exceptions for
29099 applicable cases of large exponents.
29100
c483f6b4
JM
29101 [BZ #706]
29102 * sysdeps/i386/fpu/e_pow.S (p10): New object.
29103 (__ieee754_pow): Use iterative multiplication algorithm only for
29104 integer exponents with absolute value below 1024. Check for odd
29105 integer exponents when using algorithm for real exponents.
29106 * math/libm-test.inc (pow_test): Add more tests.
29107 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29108
d2de7579
JM
291092012-04-08 Joseph Myers <joseph@codesourcery.com>
29110
29111 [BZ #13705]
29112 * math/libm-test.inc (exp_test): Do not allow overflow exception
29113 on underflow test.
29114
f77f1232
AJ
291152012-04-08 Aurelien Jarno <aurelien@aurel32.net>
29116
29117 [BZ #13705]
29118 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
29119 instead of __kernel_standard_f.
29120
3884932b
MF
291212012-04-08 Mike Frysinger <vapier@gentoo.org>
29122
29123 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
29124 * sysdeps/x86_64/memset_chk.S: Likewise.
29125
54472e9c
AJ
291262012-04-08 Andreas Jaeger <aj@suse.de>
29127
6ab0fbfc
AJ
29128 [BZ #10153]
29129 * manual/startup.texi (Environment Access): Describe return value
29130 for putenv and setenv.
29131
61efba8c
AJ
29132 [BZ #6895]
29133 * manual/filesys.texi (Directory Entries): Add description for
29134 DT_LNK.
29135
95c3f29a
AJ
29136 [BZ #6890]
29137 * manual/filesys.texi (Directory Entries): Clarify that it's file
29138 system not operating system in the description of DT_UNKNOWN.
29139
54472e9c
AJ
29140 [BZ #6578]
29141 * manual/syslog.texi (closelog): Fix reference, it's openlog.
29142
624254b1
SC
291432012-04-08 Stephen Compall <s11@member.fsf.org>
29144
29145 [BZ #6649]
29146 * manual/llio.texi (Opening and Closing Files): Add cross
29147 reference to explain mode argument.
29148
1e4920e0
MF
291492012-04-07 Mike Frysinger <vapier@gentoo.org>
29150
29151 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
29152 * sysdeps/x86_64/memset_chk.S: Likewise.
29153
5ed848f3
DM
291542012-04-07 David S. Miller <davem@davemloft.net>
29155
29156 * elf/elf.h (R_SPARC_WDISP10): Define.
29157 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
29158 R_SPARC_SIZE32.
29159 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
29160 R_SPARC_SIZE64 and R_SPARC_H34.
29161
96154cd8
CD
291622012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
29163
29164 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
29165 conditions and remove no longer applicable assertion.
29166
9904dc47
L
291672012-04-06 H.J. Lu <hongjiu.lu@intel.com>
29168
29169 * bits/byteswap.h: Include <features.h>.
29170 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
29171 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
29172
f8887d0a
L
291732012-04-06 H.J. Lu <hongjiu.lu@intel.com>
29174
29175 * bits/byteswap.h (__bswap_16): Removed.
29176 Include <bits/byteswap-16.h> to get __bswap_16.
29177 * sysdeps/i386/bits/byteswap.h: Likewise.
29178 * sysdeps/s390/bits/byteswap.h: Likewise.
29179 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29180 * bits/byteswap-16.h: New file.
29181 * sysdeps/i386/bits/byteswap-16.h: Likewise.
29182 * sysdeps/s390/bits/byteswap-16.h: Likewise.
29183 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
29184 * string/Makefile (headers): Add bits/byteswap-16.h.
29185
62470f60
PP
291862012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29187
29188 [BZ #13895]
29189 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
29190 extra indirection.
29191 * nss/Makefile (tests-static, tests): Add tst-nss-static.
29192 * nss/tst-nss-static.c: New.
29193
4dad7bab
RM
291942012-04-06 Robert Millan <rmh@gnu.org>
29195
29196 [BZ #6486]
29197 * manual/llio.texi (File Position Primitive): lseek
29198 refers to WHENCE when it really means OFFSET.
29199
e9142a17
AJ
292002012-04-06 Andreas Jaeger <aj@suse.de>
29201
2c040eff
AJ
29202 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
29203 strncmp declarations.
29204
e9142a17
AJ
29205 * abilist/libc.abilist: Add __poll and __ppoll.
29206
ff9f1c5f
DM
292072012-04-05 David S. Miller <davem@davemloft.net>
29208
dcd2ae90
DM
29209 * scripts/check-local-headers.sh: Accept a host triplet in the
29210 path matched by the exclude regexp.
29211
993eb054
DM
29212 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
29213 definition.
29214 * sysdeps/powerpc/powerpc32/dl-machine.h
29215 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
29216 * sysdeps/s390/s390-32/dl-machine.h
29217 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29218 * sysdeps/sparc/sparc32/dl-machine.h
29219 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29220 * sysdeps/sparc/sparc64/dl-machine.h
29221 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
29222
ff9f1c5f
DM
29223 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
29224 lazy binding.
48e2e132 29225 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
29226 undefined symbol errors.
29227
48e2e132 29228 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
29229 DT_NEEDED entries.
29230
e80d6f94
MM
292312012-04-05 Michael Matz <matz@suse.de>
29232
29233 [BZ #13592]
29234 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
29235
349fa79f
AJ
292362012-04-05 Andreas Jaeger <aj@suse.de>
29237
29238 [BZ #13908]
29239 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
29240 comment.
29241
f402708f
KK
292422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29243
29244 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
29245 which ROUND is no valid rounding mode.
29246
2ecccfc9
KK
292472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29248
29249 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
29250 read again.
29251 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
29252
8a53f50f
KK
292532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29254
29255 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
29256 an exception using FPU order intentionally.
29257
292582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
29259
29260 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
29261 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
29262 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
29263 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
29264
d653abb7
SJ
292652012-04-05 Simon Josefsson <simon@josefsson.org>
29266
29267 [BZ #12340]
29268 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
29269 EINVAL when BUFLEN is too smal.
29270
c3b1bf7d
TS
292712012-04-05 Thomas Schwinge <thomas@codesourcery.com>
29272
29273 [BZ #13553]
29274 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
29275 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
29276
b1aa60f3
AJ
292772012-04-03 Andreas Jaeger <aj@suse.de>
29278
c3b1bf7d 29279 [BZ #13938]
67f60a26
AJ
29280 * manual/setjmp.texi (System V contexts): Fix sentence.
29281
b1aa60f3
AJ
29282 [BZ #13926]
29283 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
29284 New macro for this case.
29285 [!__GNUC__] (__bswap_64): New inline function for this case.
29286 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29287 * bits/byteswap.h: Likewise.
29288 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
29289 ull, guard with __GLIBC_HAVE_LONG_LONG.
29290
29291 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
29292 __GLIBC_HAVE_LONG_LONG.
29293
29294 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
29295 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
29296
39c59c35
TMQMF
292972012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29298
29299 [BZ #13691]
29300 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
29301 inptr and inend, rather than using last_ch.
29302
135ffda8
DM
293032012-04-02 David S. Miller <davem@davemloft.net>
29304
29305 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
29306 * stdio-common/printf-parse.h (read_int): Change return type to
29307 'int', return -1 on INT_MAX overflow.
29308 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
29309 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
29310 overflows INT_MAX. Check for overflow of in-format-string precision
29311 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
29312 SIZE_MAX not INT_MAX for integer overflow test.
29313 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
29314 skip the construct in the format string but do not record anything.
29315 * stdio-common/bug22.c: Adjust to test both width/prevision
29316 INT_MAX overflow as well as total length INT_MAX overflow. Check
29317 explicitly for proper errno values.
29318
228c019e
TS
293192012-04-02 Thomas Schwinge <thomas@codesourcery.com>
29320
302cadd3
TS
29321 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
29322 CHAR_MAX.
29323 * string/test-strcmp.c [! WIDE]: Likewise.
29324 * time/tst-mktime2.c: Likewise for INT_MAX.
29325 * string/test-string.h: #include <sys/param.h> for MIN.
29326
228c019e
TS
29327 * csu/init-first.c (__libc_init_first): Call __ctype_init.
29328 * sysdeps/i386/init-first.c (init): Likewise.
29329 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
29330 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
29331 * sysdeps/sh/init-first.c (init): Likewise.
29332
cfa633f5
UD
293332012-04-01 Ulrich Drepper <drepper@gmail.com>
29334
29335 * po/ru.po: Update from translation team.
d1635ef8 29336 * po/vi.po: Likewise.
cfa633f5 29337
6cd0a5ea
SP
293382012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29339
29340 * resolv/nss_dns/dns-host.c: Merge copyright years.
29341
4b43400f
LD
293422012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29343
29344 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29345 Optimize memcpy with prefetch if
29346 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
29347 src, dst pointers have unequal 16 byte alignments.
29348
48c41d04
SP
293492012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
29350
29351 [BZ #13928]
29352 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
29353 from a CNAME entry and return the minimum ttl for the query.
29354 (gaih_getanswer_slice): Likewise.
29355
b8dc394d
JL
293562012-03-30 Jeff Law <law@redhat.com>
29357
29358 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
29359 due to long keys.
29360 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
29361 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
29362
2f5a5ed0
JL
29363 * resolv/nss_dns/dns-host.c: Update copyright year.
29364
1d39e359
UD
293652012-03-30 Ulrich Drepper <drepper@gmail.com>
29366
c030f70c 29367 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 29368 requests to save a system call. Fix check that all bytes are sent.
c030f70c 29369
1d39e359
UD
29370 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
29371 comments for sendmmsg.
29372
293732012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
29374
29375 [BZ #13691]
29376 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
29377 with only 1 character between 0x0041 and 0x01b0.
29378 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
29379 * wcsmbs/tst-mbsnrtowcs.c: New file.
29380
20fde227
DM
293812012-03-29 David S. Miller <davem@davemloft.net>
29382
29383 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
29384 small copies by hand.
29385
984a4237
JL
293862012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29387
29388 [BZ #13761]
29389 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
29390 _nss_compat_initgroups_dyn): Fall back to malloc/free
29391 for large group memberships.
29392
18c9d62b
DM
293932012-03-28 David S. Miller <davem@davemloft.net>
29394
88d85d4f
DM
29395 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
29396 that branches into memcpy.
29397 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
29398 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
29399 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
29400 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
29401 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
29402 bits.
29403 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
29404 implementation too.
29405 * sysdeps/sparc/mempcpy.S: New file.
29406
e5aa83e1
DM
29407 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
29408 the IFUNC routine in the libc case.
29409 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
29410
88570753
DM
29411 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
29412 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
29413 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
29414 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
29415 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
29416 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
29417 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
29418 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
29419
249d7567
DM
29420 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
29421 loop to 256 bytes instead of 64 bytes and fix test signedness.
29422
18c9d62b
DM
29423 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
29424 * sysdeps/sparc/sparc32/Makefile: rather than here...
29425 * sysdeps/sparc/sparc64/Makefile: and here.
29426
05f3d1f6
UD
294272012-03-28 Ulrich Drepper <drepper@gmail.com>
29428
29429 * malloc/mallocbug.c: Avoid warnings about unused variables.
29430
86ae07a8
JL
294312012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
29432
29433 [BZ #13760]
29434 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
29435 in the right place. Discard and retry query if response is
29436 larger than input buffer size.
29437
41bf21a1
JM
294382012-03-28 Joseph Myers <joseph@codesourcery.com>
29439
d6270972
JM
29440 [BZ #369]
29441 [BZ #2678]
29442 [BZ #3866]
29443 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
29444 x for large integer exponent.
29445 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
29446 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
29447 sign of result as needed afterwards.
29448 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
29449 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
29450 result for underflowing pow the same as for overflow.
29451 (__kernel_standard_l): Handle powl overflow and underflow here
29452 rather than calling __kernel_standard.
29453 * math/libm-test.inc (pow_test): Add more tests.
29454
414fca03 29455 [BZ #3868]
41bf21a1
JM
29456 [BZ #13879]
29457 [BZ #13910]
29458 [BZ #13911]
29459 [BZ #13912]
29460 [BZ #13913]
29461 [BZ #13915]
29462 [BZ #13916]
29463 [BZ #13917]
29464 [BZ #13918]
29465 [BZ #13919]
29466 [BZ #13920]
29467 [BZ #13921]
29468 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
29469 * sysdeps/ieee754/k_standard.c: Include <float.h>.
29470 (__kernel_standard_l): New function.
29471 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
29472 __kernel_standard.
29473 * math/w_acosl.c (__acosl): Likewise.
29474 * math/w_asinl.c (__asinl): Likewise.
29475 * math/w_atan2l.c (__atan2l): Likewise.
29476 * math/w_atanhl.c (__atanhl): Likewise.
29477 * math/w_coshl.c (__coshl): Likewise.
29478 * math/w_exp10l.c (__exp10l): Likewise.
29479 * math/w_exp2l.c (__exp2l): Likewise.
29480 * math/w_fmodl.c (__fmodl): Likewise.
29481 * math/w_hypotl.c (__hypotl): Likewise.
29482 * math/w_j0l.c (__j0l, __y0l): Likewise.
29483 * math/w_j1l.c (__j1l, __y1l): Likewise.
29484 * math/w_jnl.c (__jnl, __ynl): Likewise.
29485 * math/w_lgammal.c (__lgammal): Likewise.
29486 * math/w_log10l.c (__log10l): Likewise.
29487 * math/w_log2l.c (__log2l): Likewise.
29488 * math/w_logl.c (__logl): Likewise.
29489 * math/w_powl.c (__powl): Likewise.
29490 * math/w_remainderl.c (__remainderl): Likewise.
29491 * math/w_scalbl.c (sysv_scalbl): Likewise.
29492 * math/w_sinhl.c (__sinhl): Likewise.
29493 * math/w_sqrtl.c (__sqrtl): Likewise.
29494 * math/w_tgammal.c (__tgammal): Likewise.
29495 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
29496 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
29497 * math/libm-test.inc (acos_test): Add more tests.
29498 (acosh_test): Likewise.
29499 (asin_test): Likewise.
29500 (atanh_test): Likewise.
29501 (exp_test): Likewise.
29502 (exp10_test): Likewise.
29503 (exp2_test): Likewise.
29504 (expm1_test): Likewise.
29505 (lgamma_test): Likewise.
29506 (log_test): Likewise.
29507 (log10_test): Likewise.
29508 (log1p_test): Likewise.
29509 (log2_test): Likewise.
29510 (pow_test): Do not allow some spurious overflow exceptions.
29511 (sqrt_test): Add more tests.
29512 (tgamma_test): Likewise.
29513 (y0_test): Likewise.
29514 (y1_test): Likewise.
29515 (yn_test): Likewise.
29516
dd62fda6
AB
295172012-03-27 Anton Blanchard <anton@samba.org>
29518
29519 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
29520 MAP_HUGETLB.
29521 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29522 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
29523 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29524
1e3cdfda
AJ
295252012-03-27 David S. Miller <davem@davemloft.net>
29526
b855ab85
DM
29527 * conform/Makefile: Run run-conformtest.sh using $(BASH).
29528
1e3cdfda
AJ
29529 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
29530 have-as-vis3 check.
29531
295322012-03-27 Andreas Jaeger <aj@suse.de>
29533
29534 * sysdeps/x86_64/elf/configure.in: Moved to ...
29535 * sysdeps/x86_64/configure.in: ... here.
29536 * sysdeps/x86_64/elf/start.S: Moved to ...
29537 * sysdeps/x86_64/start.S: ... here.
29538 * sysdeps/x86_64/elf/configure: Delete.
29539
29540 * sysdeps/x86_64/configure.in: Merge contents from
29541 sysdeps/i386/configure.in (without i686 check).
29542
29543 * sysdeps/i386/elf/Versions: Merge into ...
29544 * sysdeps/i386/Versions: ... this.
29545 * sysdeps/i386/elf/Versions: Delete file.
29546 * sysdeps/i386/elf/start.S: Moved to ...
29547 * sysdeps/i386/start.S: ...here.
29548 * sysdeps/i386/elf/configure.in: Merge into...
29549 * sysdeps/i386/configure.in: ...here.
29550 * sysdeps/i386/elf/configure.in: Delete file.
29551 * sysdeps/i386/elf/configure: Delete file.
29552
29553 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
29554 * debug/backtracesyms.c: ... here.
29555 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
29556 * debug/backtracesymsfd.c: ... here.
29557 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
29558 * sysdeps/generic/ifunc-sel.h: ... here.
29559
29560 * sysdeps/unix/i386/start.c: Delete file.
29561 * sysdeps/unix/sparc/start.c: Delete file.
29562 * sysdeps/unix/start.c: Delete file.
29563
29564 * sysdeps/sh/elf/configure.in: Moved to ...
29565 * sysdeps/sh/configure.in: ... here.
29566 * sysdeps/sh/elf/start.S: Moved to ...
29567 * sysdeps/sh/start.S: ... here.
29568 * sysdeps/sh/elf/configure: Delete file.
29569
29570 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
29571 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
29572 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
29573 * sysdeps/powerpc/powerpc64/entry.h: ... here.
29574 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
29575 * sysdeps/powerpc/powerpc64/start.S: here.
29576 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
29577 * sysdeps/powerpc/powerpc64/Makefile: ... this.
29578 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
29579 * sysdeps/powerpc/powerpc64/configure.in: ... this.
29580 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
29581
29582 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
29583 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
29584 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
29585 * sysdeps/powerpc/powerpc32/start.S: ... here.
29586 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
29587 * sysdeps/powerpc/powerpc32/configure.in: ... this.
29588 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
29589
29590 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
29591 * sysdeps/powerpc/ifunc-sel.h: ... here.
29592 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
29593 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
29594
29595 * sysdeps/sparc/elf/configure.in: Moved to ...
29596 * sysdeps/sparc/configure.in: ... here.
29597 * sysdeps/sparc/elf/configure: Delete file.
29598 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
29599 * sysdeps/sparc/sparc32/start.S: ... here.
29600 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
29601 * sysdeps/sparc/sparc64/start.S: ... here.
29602 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
29603 * sysdeps/sparc/sparc32/Makefile: ... this.
29604 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
29605 * sysdeps/sparc/sparc64/Makefile: ... this.
29606
29607 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
29608 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
29609 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
29610 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
29611 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
29612 * sysdeps/s390/s390-32/setjmp.S: ... here.
29613 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
29614 * sysdeps/s390/s390-32/configure.in: ... here.
29615 * sysdeps/s390/s390-32/elf/configure: Delete file.
29616 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
29617 * sysdeps/s390/s390-32/start.S: ... here.
29618
29619 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
29620 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
29621 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
29622 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
29623 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
29624 * sysdeps/s390/s390-64/setjmp.S: ... here.
29625 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
29626 * sysdeps/s390/s390-64/configure.in: ... here
29627 * sysdeps/s390/s390-64/elf/configure: Delete file.
29628 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
29629 * sysdeps/s390/s390-64/start.S: ... here.
29630 * sysdeps/s390/s390-64/elf/configure: Delete.
29631
29632 * configure.in: Remove support for elf directories in sysdeps.
29633
29634 * configure: Regenerated.
29635 * sysdeps/i386/configure: Regenerated.
29636 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29637 * sysdeps/powerpc/powerpc64/configure: Regenerated.
29638 * sysdeps/s390/s390-32/configure: Regenerated.
29639 * sysdeps/s390/s390-64/configure: Regenerated.
29640 * sysdeps/sh/configure: Regenerated.
29641 * sysdeps/sparc/configure: Regenerated.
29642 * sysdeps/x86_64/configure: Regenerated.
29643
a3f61311
AS
296442012-03-26 Andreas Schwab <schwab@linux-m68k.org>
29645
c876e002
AS
29646 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29647
a3f61311
AS
29648 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
29649 denormal result into account.
29650
ac4c54f0
RM
296512012-03-25 Roland McGrath <roland@hack.frob.com>
29652
29653 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
29654 Reported by Allan McRae <allan@archlinux.org>.
29655
6a9b9c02
JL
296562012-03-23 Jeff Law <law@redhat.com>
29657
29658 * nss/getnssent.c (__nss_getent): Fix typo.
29659
4c42a0c1
DM
296602012-03-23 David S. Miller <davem@davemloft.net>
29661
29662 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29663
1532c7ac
L
296642012-03-23 H.J. Lu <hongjiu.lu@intel.com>
29665
29666 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
29667 to pad to uint64_t for each field.
29668 (dl_tls_index): Replace unsigned long with uint64_t.
29669
3ff42526
PP
296702012-03-23 Daniel Jacobowitz <dmj@google.com>
29671 Paul Pluzhnikov <ppluzhnikov@google.com>
29672
29673 [BZ #6528]
29674 * grp/Makefile (otherlibs): Don't set it.
29675 * inet/Makefile (otherlibs): Likewise.
29676 * login/Makefile (otherlibs): Likewise.
29677 * nscd/Makefile (otherlibs): Likewise.
29678 * posix/Makefile (otherlibs): Likewise.
29679 * pwd/Makefile (otherlibs): Likewise.
29680 * rt/Makefile (otherlibs): Likewise.
29681 * sunrpc/Makefile (otherlibs): Likewise.
29682 * nss/Makefile (otherlibs): Likewise.
29683 Add libnss_files to routines and static-only-routines.
29684 ($(objpfx)getent): Remove rule.
29685 * resolv/Makefile: Add libnss_dns and libresolv to routines and
29686 static-only-routines.
29687
7c69cd14
JM
296882012-03-22 Joseph Myers <joseph@codesourcery.com>
29689
29690 [BZ #13892]
29691 * math/s_cexp.c: Include <float.h>.
29692 (__cexp): Handle exp result overflowing not necessarily
29693 overflowing both real and imaginary parts of result.
29694 * math/s_cexpf.c: Likewise.
29695 * math/s_cexpl.c: Likewise.
29696 * math/libm-test.inc (cexp_test): Add more tests.
29697 * sysdeps/i386/fpu/libm-test-ulps: Update.
29698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29699
81b035fe
L
297002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29701
29702 * include/link.h (ELFW): New macro.
29703 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
29704 Replace ELF64_R_TYPE with ELFW(R_TYPE).
29705
1da7940c
L
297062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29707
29708 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
29709 with uint64_t.
29710
b749dbb9
L
297112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29712
29713 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
29714 declaration.
29715 (struct La_x32_retval): Likewise.
29716
2ff87f3f
L
297172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
29718
29719 * sysdeps/x86_64/preconfigure.in: New file.
29720 * sysdeps/x86_64/preconfigure: New generated file.
29721
c0df8e69
JM
297222012-03-22 Joseph Myers <joseph@codesourcery.com>
29723
48e44791
JM
29724 [BZ #13824]
29725 * math/e_exp2l.c: Include <float.h>.
29726 (__ieee754_exp2l): Handle overflow and underflow cases
29727 separately. Only pass fractional part of argument to
29728 __ieee754_expl.
29729 * math/libm-test.inc (exp2_test): Add more tests.
29730
c0df8e69
JM
29731 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
29732 negating x to take absolute value.
29733 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
29734 Likewise.
29735 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
29736 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
29737 Likewise.
29738 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
29739 computing low part if x was negated.
29740 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
29741
c8e43ba7
L
297422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29743
29744 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
29745 la_x32_gnu_pltexit.
29746 (pltexit): Cast int_retval to ptrdiff_t.
29747 * elf/tst-auditmod3b.c: Likewise.
29748 * elf/tst-auditmod4b.c: Likewise.
29749 * elf/tst-auditmod5b.c: Likewise.
29750 * elf/tst-auditmod6b.c: Likewise.
29751 * elf/tst-auditmod6c.c: Likewise.
29752 * elf/tst-auditmod7b.c: Likewise.
29753
29754 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
29755 and x32_gnu_pltexit.
29756
29757 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
29758 __ELF_NATIVE_CLASS.
29759 (La_x32_regs): New macro.
29760 (La_x32_retval): Likewise.
29761 (la_x32_gnu_pltenter): New function prototype.
29762 (la_x32_gnu_pltexit): Likewise.
29763
7998fa78
AS
297642012-03-21 Andreas Schwab <schwab@linux-m68k.org>
29765
dcb33988
AS
29766 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
29767 exponent.
29768
233fc563
AS
29769 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29770
7998fa78
AS
29771 * configure.in (libc_cv_cc_nofma): Check for option to disable
29772 generation of FMA instructions.
29773 * configure: Regenerate.
29774 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
29775 * sysdeps/ieee754/dbl-64/Makefile: New file.
29776 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29777 Remove brandred-fma4.
29778 (CFLAGS-brandred-fma4.c): Remove.
29779 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
29780 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
29781 define.
29782 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
29783 define.
29784
8e95c99a
L
297852012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29786
29787 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
29788 LLONG_MAX != LONG_MAX.
29789 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29790 (_fitoa_word): Likewise.
29791 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
29792 LLONG_MAX != LONG_MAX.
29793 * stdio-common/_itowa.h: Include <_itoa.h>.
29794 (_itowa_word): Use _ITOA_WORD_TYPE on value.
29795 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
29796 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
29797 only if not defined.
29798 (_ITOA_WORD_TYPE): Likewise.
29799 (_itoa_word): Use _ITOA_WORD_TYPE on value.
29800 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
29801
6f4db457
DM
298022012-03-21 David S. Miller <davem@davemloft.net>
29803
29804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29805
7785fe5a
L
298062012-03-21 H.J. Lu <hongjiu.lu@intel.com>
29807
29808 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
29809 of x86_64 when setting libc_cv_slibdir, libdir and
29810 libc_cv_localedir.
29811 * sysdeps/unix/sysv/linux/configure: Regenerated.
29812
4535cd55
JM
298132012-03-21 Joseph Myers <joseph@codesourcery.com>
29814
29815 * manual/lang.texi (Old Varargs): Remove section.
29816 (How Variadic): Update menu.
29817 (va_start): Do not mention varargs.h.
29818
17228132
TS
298192012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29820 Joseph Myers <joseph@codesourcery.com>
29821
29822 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
29823 link test.
29824 * configure: Regenerated.
29825
8149f976
TS
298262012-03-21 Thomas Schwinge <thomas@codesourcery.com>
29827
05f3d1f6
UD
29828 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
29829 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
29830 conformtest.pl
8149f976 29831
1a4ac776
JM
298322012-03-21 Joseph Myers <joseph@codesourcery.com>
29833
be22ce65
JM
29834 * NOTES: Remove.
29835 * Makefile (files-for-dist): Remove NOTES.
29836 (NOTES): Remove rule.
29837 * README: Don't refer to NOTES.
29838 * manual/creature.texi: Don't include macros.texi.
29839 * manual/intro.texi (creature.texi): Remove comment referring to
29840 NOTES.
29841
40b601fb
JM
29842 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
29843 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
29844 * configure: Regenerated.
29845 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
29846 LIBC_TRY_CC_OPTION.
29847 (libc_cv_as_i686): Likewise.
29848 (libc_cv_cc_avx): Likewise.
29849 (libc_cv_cc_sse2avx): Likewise.
29850 (libc_cv_cc_fma4): Likewise.
29851 (libc_cv_cc_novzeroupper): Likewise.
29852 * sysdeps/i386/configure: Regenerated.
29853
1a4ac776
JM
29854 [BZ #13883]
29855 * sysdeps/i386/fpu/s_cexp.S: Remove.
29856 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29857 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29858 * math/libm-test.inc (cexp_test): Add more tests.
29859 * sysdeps/i386/fpu/libm-test-ulps: Update.
29860 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29861
a458e7fe
AM
298622012-03-21 Allan McRae <allan@archlinux.org>
29863
29864 * timezone/Makefile: Do not install iso3166.tab and zone.tab
29865
0cb7efc5
JM
298662012-03-21 Joseph Myers <joseph@codesourcery.com>
29867
29868 [BZ #13871]
29869 * math/w_exp2.c: Do not include <float.h>.
29870 (o_threshold, u_threshold): Remove.
29871 (__exp2): Calculate result before checking finiteness and calling
29872 __kernel_standard.
29873 * math/w_exp2f.c: Likewise.
29874 * math/w_exp2l.c: Likewise.
29875 * math/libm-test.inc (exp2_test): Require overflow exception for
29876 1e6 input.
2460d3aa
JM
29877
29878 [BZ #3866]
29879 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
29880 range of signed 64-bit integers before using fistpll. Remove
29881 checks for whether integers fit in mantissa bits.
29882 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
29883 the range of signed 32-bit integers before using fistpl. Remove
29884 checks for whether integers fit in mantissa bits.
29885 * sysdeps/i386/fpu/e_powl.S (p64): New object.
29886 (__ieee754_powl): Test for y outside the range of signed 64-bit
29887 integers before using fistpll. Reduce 64-bit values to 63-bit
29888 ones as needed.
29889 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
29890 divide-by-zero is raised for zero to large negative powers.
29891 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
29892 (__ieee754_powl): Test for y outside the range of signed 64-bit
29893 integers before using fistpll. Reduce 64-bit values to 63-bit
29894 ones as needed.
29895 * math/libm-test.inc (pow_test): Add more tests.
29896
eb96ffb0
L
298972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29898
29899 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
29900 <stdio-common/_itoa.h>.
29901 * debug/segfault.c: Likewise.
29902 * elf/dl-cache.c: Likewise.
29903 * elf/dl-minimal.c: Likewise.
29904 * elf/dl-misc.c: Likewise.
29905 * elf/dl-sysdep.c: Likewise.
29906 * elf/dl-version.c: Likewise.
29907 * elf/rtld.c: Likewise.
29908 * hurd/hurdsock.c: Likewise.
29909 * hurd/lookup-retry.c: Likewise.
29910 * malloc/malloc.c: Likewise.
29911 * malloc/mtrace.c: Likewise.
29912 * nscd/nscd_getgr_r.c: Likewise.
29913 * nscd/nscd_getpw_r.c: Likewise.
29914 * nscd/nscd_getserv_r.c: Likewise.
29915 * posix/getopt_init.c: Likewise.
29916 * posix/wordexp.c: Likewise.
29917 * stdio-common/_itoa.c: Likewise.
29918 * stdio-common/printf_fphex.c: Likewise.
29919 * stdio-common/vfprintf.c: Likewise.
29920 * string/_strerror.c: Likewise.
29921 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
29922 * sysdeps/i386/i686/hp-timing.h: Likewise.
29923 * sysdeps/mach/_strerror.c: Likewise.
29924 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
29925 * sysdeps/mach/hurd/sethostid.c: Likewise.
29926 * sysdeps/mach/hurd/xmknodat.c: Likewise.
29927 * sysdeps/mach/xpg-strerror.c: Likewise.
29928 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29929 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29930 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
29931 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
29932 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29933 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
29934 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
29935 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
29936 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
29937 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
29938 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
29939 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
29940 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
29941 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
29942 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
29943 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
29944 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
29945 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
29946 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
29947 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
29948 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
29949
29950 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
29951
29952 * stdio-common/_itoa.h: Moved to ...
29953 * sysdeps/generic/_itoa.h: Here.
29954
29955 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
29956
29957 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
29958 instead of "_itoa.h" and "_itowa.h".
29959 * stdio-common/vfprintf.: Likewise.
29960
d1af992d
L
299612012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29962
29963 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
29964 <bits/wordsize.h>.
29965 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
29966 (__signbit): Likwise.
29967 (llrintf): Likwise.
29968 (llrint): Likwise.
29969
114883e0
L
299702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
29971
29972 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
29973 __WORDSIZE != 64.
29974
c135cc1b
JM
299752012-03-20 Joseph Myers <joseph@codesourcery.com>
29976
29977 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
29978 OVERFLOW_EXCEPTION_OK.
29979 * math/libm-test.inc ("Philosophy"): Update comment about
29980 exception testing.
29981 (OVERFLOW_EXCEPTION): Define.
29982 (OVERFLOW_EXCEPTION_OK): Likewise.
29983 (INVALID_EXCEPTION_OK): Renumber.
29984 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29985 (IGNORE_ZERO_INF_SIGN): Likewise.
29986 (test_exceptions): Handle FE_OVERFLOW.
29987 (exp10_test): Expect overflow exceptions.
29988 (exp2_test): Likewise.
29989 (expm1_test): Likewise.
29990 (nextafter_test): Likewise.
29991 (pow_test): Likewise.
29992 (scalbn_test): Likewise.
29993 (scalbln_test): Likewise.
29994
95443d88
L
299952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
29996
29997 * sysdeps/x86_64/bits/atomic.h
29998 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
29999 64bit integer.
30000 (atomic_exchange_acq): Likewise.
30001 (__arch_exchange_and_add_body): Likewise.
30002 (__arch_add_body): Likewise.
30003 (atomic_add_negative): Likewise.
30004 (atomic_add_zero): Likewise.
30005
490df6c4
L
300062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30007
c2722551 30008 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
30009 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
30010
5e52b189
L
300112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30012
30013 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
30014 Check __x86_64__ instead of __WORDSIZE.
30015
a9879d4c
L
300162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30017
30018 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
30019
5df98260
DM
300202012-03-19 David S. Miller <davem@davemloft.net>
30021
e1497744
DM
30022 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30023
5df98260
DM
30024 * sysdeps/sparc/fpu/fenv_private.h: New file.
30025 * sysdeps/sparc/fpu/math_private.h: Use it.
30026 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
30027 Remove.
30028 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
30029 (libc_feholdexcept_setroundl): Remove.
30030 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
30031 Remove.
30032 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
30033 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
30034
b4c35121
L
300352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30036
30037 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
30038 int64_t instead of long int.
30039 (INSERT_WORDS64): Likwise.
30040
56965fd7
L
300412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
30042
30043 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
30044 _Unwind_GetCFA return to _Unwind_Ptr first.
30045
83d1aec8
JM
300462012-03-19 Joseph Myers <joseph@codesourcery.com>
30047
1897ad44
JM
30048 [BZ #13629]
30049 * math/s_clog.c: Include <float.h>.
30050 (__clog): Scale large or subnormal inputs.
30051 * math/s_clogf.c: Likewise.
30052 * math/s_clogl.c: Likewise.
30053 * math/s_clog10.c: Include <float.h>.
30054 (M_LOG10_2): Define.
30055 (__clog10): Scale large or subnormal inputs.
30056 * math/s_clog10f.c: Likewise.
30057 * math/s_clog10l.c: Likewise.
30058 * math/libm-test.inc (clog_test): Add more tests.
30059 (clog10_test): Likewise.
30060 * sysdeps/i386/fpu/libm-test-ulps: Update.
30061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30062
7726d6a9
JM
30063 [BZ #11451]
30064 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
30065 x and y.
30066 * math/libm-test.inc (atan2_test): Add another test.
30067
83d1aec8
JM
30068 * Makerules (common-objdir-compile): Remove.
30069 * sysdeps/unix/Makefile (config-generated): Do not add
30070 $(unix-generated) to variable.
30071 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
30072 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
30073 Remove rule.
30074 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
30075 Likewise.
30076 [generic bits/local_lim.h] (before-compile): Do not append to
30077 variable.
30078 [generic bits/local_lim.h] (common-generated): Likewise.
30079 [generic sys/param.h] (before-compile): Do not append to variable.
30080 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
30081 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
30082 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
30083 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
30084 include.
30085 [generic sys/param.h] (sys/param.h-includes): Remove variable.
30086 [generic sys/param.h] (sys/param.h-includes): Remove rule.
30087 [generic sys/param.h] ($(addprefix
30088 $(common-objpfx),$(sys/param.h-includes))): Likewise.
30089 [generic sys/param.h] (common-generated): Do not append to
30090 variable.
30091 [generic sys/param.h] (sysdep_headers): Likewise.
30092 [generic bits/errno.h] (before-compile): Do not append to
30093 variable.
30094 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
30095 rule.
30096 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
30097 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
30098 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
30099 [generic bits/errno.h] (common-generated): Do not append to
30100 variable.
30101 [generic bits/ioctls.h] (before-compile): Do not append to
30102 variable.
30103 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
30104 rule.
30105 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
30106 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
30107 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
30108 rule.
30109 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
30110 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
30111 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
30112 [generic bits/ioctls.h] (common-generated): Do not append to
30113 variable.
30114 [generic sys/syscall.h] (syscall.h): Remove variable.
30115 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
30116 rule.
30117 [generic sys/syscall.h] (before-compile): Do not append to
30118 variable.
30119 [generic sys/syscall.h] (common-generated): Likewise.
30120 * sysdeps/unix/errnos-tmpl.c: Remove file.
30121 * sysdeps/unix/errnos.awk: Likewise.
30122 * sysdeps/unix/ioctls-tmpl.c: Likewise.
30123 * sysdeps/unix/ioctls.awk: Likewise.
30124 * sysdeps/unix/mk-local_lim.c: Likewise.
30125 * sysdeps/unix/snarf-ioctls: Likewise.
30126
4851a949
RH
301272012-03-19 Richard Henderson <rth@twiddle.net>
30128
bd37f2ee
RH
30129 * sysdeps/i386/fpu/fenv_private.h: New file.
30130 * sysdeps/i386/fpu/math_private.h: Use it.
30131 (math_opt_barrier, math_force_eval): Remove.
30132 (libc_feholdexcept_setround_53bit): Remove.
30133 (libc_feupdateenv_53bit): Remove.
30134 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30135 (math_opt_barrier, math_force_eval): Remove.
30136 (libc_feholdexcept): Remove.
30137 (libc_feholdexcept_setround): Remove.
30138 (libc_fetestexcept, libc_fesetenv): Remove.
30139 (libc_feupdateenv_test): Remove.
30140 (libc_feupdateenv, libc_feholdsetround): Remove.
30141 (libc_feresetround): Remove.
30142
d0adc922
RH
30143 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
30144 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30145
0fe0f1f8
RH
30146 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
30147 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
30148 (libc_feupdateenv_testl): New.
30149 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
30150 (libc_feupdateenv_testf): New.
30151 (libc_feupdateenv): Use libc_feupdateenv_test.
30152 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
30153 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
30154
eb92c487
RH
30155 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
30156 (libc_feholdsetroundf, libc_feholdsetroundl): New.
30157 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
30158 (libc_feresetround_noex): New.
30159 (libc_feresetround_noexf): New.
30160 (libc_feresetround_noexl): New.
30161 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
30162 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
30163 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
30164 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
30165 SET_RESTORE_ROUND.
30166 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
30167 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
30168 (__cos): Likewise.
30169 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
30170 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30171 SET_RESTORE_ROUND_NOEX.
30172 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
30173 SET_RESTORE_ROUND_NOEXF.
30174 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
30175 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
30176 (libc_feholdsetroundf): New.
30177 (libc_feresetround, libc_feresetroundf): New.
30178
7d2e8012
RH
30179 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
30180 (libc_feholdexcept_setround_53bit): Convert from macro to function.
30181 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
30182
b4dabbb4
RH
30183 * sysdeps/generic/math_private.h: Include <fenv.h>.
30184 (default_libc_feholdexcept): New.
30185 (default_libc_feholdexcept_setround): New.
30186 (default_libc_fesetenv, default_libc_feupdateenv): New.
30187 (libc_feholdexcept): Only define if undefined.
30188 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
30189 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
30190 (libc_feholdexcept_setroundl): Likewise.
30191 (libc_feholdexcept_setround_53bit): Likewise.
30192 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
30193 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
30194 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
30195 (libc_feupdateenv_53bit): Likewise.
30196 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
30197 (libc_feholdexcept): Convert from macro to inline function.
30198 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
30199 (libc_fesetenv, libc_feupdateenv): Likewise.
30200
4851a949
RH
30201 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
30202 not previously defined.
30203 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
30204 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
30205 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
30206 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
30207 * sysdeps/ieee754/flt-32/math_private.h: New file.
30208 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
30209 math_private.h below SET_FLOAT_WORD.
30210 (__isnan, __isinf_ns, __finite): Remove.
30211 (__isnanf, __isinf_nsf, __finitef): Remove.
30212
e79d442e
AS
302132012-03-18 Andreas Schwab <schwab@linux-m68k.org>
30214
30215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30216
90b80344
DM
302172012-03-17 David S. Miller <davem@davemloft.net>
30218
30219 [BZ #6471]
30220 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
30221 for 2.16.
30222
edc21804
DM
302232012-03-16 David S. Miller <davem@davemloft.net>
30224
77e927af
DM
30225 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
30226 warnings.
30227
374976dd
DM
30228 [BZ #6471]
30229 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
30230 properly.
30231 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
30232 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
30233 sysdep_routines when subdir is sysvipc.
30234 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
30235 __getshmlba helper.
30236
edc21804
DM
30237 * sysdeps/sparc/fpu/libm-test/ulps: Update.
30238
473c3ef3
L
302392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30240
30241 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
30242 [__LP64__].
30243
eb0f39b6
L
302442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30245
30246 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
30247 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
30248 (__lround): Renamed to ...
30249 (__llround): This. Replace long int with long long int.
30250 Define lround functions as aliases of llround functions.
30251 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
30252
6b6cd74b
L
302532012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30254
30255 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
30256 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
30257 adresses to uintptr_t. Replace "long int" and "unsigned long
30258 int" with "greg_t" on va_arg.
30259
f1a77b01
L
302602012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30261
30262 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
30263 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
30264
30265 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
30266 Move e_machine check before EI_CLASS check. Handle x32
30267 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
30268 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
30269 SKIP_EM_IA_64 and include
30270 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
30271
30272 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
30273 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
30274 (add_system_dir): New macro.
30275
30276 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
30277 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
30278
11b90b9f
JM
302792012-03-16 Joseph Myers <joseph@codesourcery.com>
30280
c36e1d23
JM
30281 [BZ #2551]
30282 [BZ #2552]
30283 [BZ #2553]
30284 [BZ #2554]
30285 [BZ #2562]
30286 [BZ #2563]
30287 [BZ #2565]
30288 [BZ #2566]
30289 [BZ #2576]
30290 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
30291 (y0): Likewise.
30292 * math/w_j0f.c (j0f): Likewise.
30293 (y0f): Likewise.
30294 * math/w_j0l.c (__j0l): Likewise.
30295 (__y0l): Likewise.
30296 * math/w_j1.c (j1): Likewise.
30297 (y1): Likewise.
30298 * math/w_j1f.c (j1f): Likewise.
30299 (y1f): Likewise.
30300 * math/w_j1l.c (__j1l): Likewise.
30301 (__y1l): Likewise.
30302 * math/w_jn.c (jn): Likewise.
30303 (yn): Likewise.
30304 * math/w_jnf.c (jnf): Likewise.
30305 (ynf): Likewise.
30306 * math/w_jnl.c (__jnl): Likewise.
30307 (__ynl): Likewise.
30308 * math/libm-test.inc (j0_test): Add more tests.
30309 (j1_test): Likewise.
30310 (jn_test): Likewise. Add trailing semicolon to existing test.
30311 (y0_test): Likewise.
30312 (y1_test): Likewise.
30313 * sysdeps/i386/fpu/libm-test-ulps: Update.
30314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30315
11b90b9f
JM
30316 [BZ #13851]
30317 [BZ #13854]
30318 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30319 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
30320 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
30321 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
30322 (__tanl): Set errno for infinite argument.
30323 * sysdeps/i386/fpu/mptan.c: Remove.
30324 * sysdeps/i386/fpu/s_tan.S: Likewise.
30325 * sysdeps/i386/fpu/s_tanl.S: Likewise.
30326 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
30327 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
30328 * math/libm-test.inc (tan_test): Add more tests and enable more
30329 tests for double and long double.
30330 * sysdeps/i386/fpu/libm-test-ulps: Update.
30331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30332
6a1bd2a1
JK
303332012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
30334
30335 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
30336 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
30337
10a803e0
RM
303382012-03-16 Roland McGrath <roland@hack.frob.com>
30339
30340 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
30341 * configure.in: Use it for both main tree and add-ons.
30342 * configure: Regenerated.
30343
f196c7f7
L
303442012-03-16 H.J. Lu <hongjiu.lu@intel.com>
30345
30346 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
30347
8848d99d
JM
303482012-03-16 Joseph Myers <joseph@codesourcery.com>
30349
96cbe7f4
JM
30350 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
30351 in comment.
30352
8848d99d
JM
30353 [BZ #13851]
30354 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
30355 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
30356 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
30357 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
30358 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
30359 infinite argument.
30360 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
30361 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
30362 != 0 for prec == 2.
30363 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
30364 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
30365 * sysdeps/i386/fpu/s_cosl.S: Likewise.
30366 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
30367 * sysdeps/i386/fpu/s_sinl.S: Likewise.
30368 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
30369 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
30370 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
30371 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
30372 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
30373 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
30374 * math/libm-test.inc (cos_test): Add more tests and enable more
30375 tests for long double.
30376 (sin_test): Likewise.
30377 (sincos_test): Likewise.
30378 * sysdeps/i386/fpu/libm-test-ulps: Update.
30379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30380
dd7f4703
DM
303812012-03-16 David S. Miller <davem@davemloft.net>
30382
30383 * sysdeps/sparc/fpu/math_private.h: New file.
30384
006f1daa
DM
303852012-03-15 David S. Miller <davem@davemloft.net>
30386
c0c83bc8
DM
30387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
30388 file.
e6a62e18 30389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
30390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
30391 file.
e6a62e18
DM
30392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
30393 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
30394 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
30395 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
30396 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
30397 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
30398 sysdep routines.
30399 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30400
88cb87d9
DM
30401 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
30402 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
30403
006f1daa 30404 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
30405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
30406 sparc-ifunc.h
006f1daa 30407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
30408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
30409 Likewise.
30410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
30411 Likewise.
006f1daa
DM
30412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
30413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
30414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
30415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30416 Likewise.
006f1daa
DM
30417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
30419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
30421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
30422 Likewise.
30423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
30424 Likewise.
006f1daa
DM
30425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
30427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
30428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
30429 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30430 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30431 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
30432 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
30433 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30435 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
30436 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
30437 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
30438 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
30439 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
30440 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
30441 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
30442 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
30443 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
30444 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
30445 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
30446 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
30447 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
30448 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
30449
11e0098e
AS
304502012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30451
30452 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
30453 scaling.
30454 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30455
e85b09d0
AJ
304562012-03-15 Andreas Jaeger <aj@suse.de>
30457
30458 [BZ #13852]
30459 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
30460 ieee754/flt-32 implementation for sin, cos and sincos.
30461 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
30462 * sysdeps/i386/fpu/s_cosf.S: Likewise.
30463 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
30464 * sysdeps/i386/fpu/s_sinf.S: Likewise.
30465 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
30466 ieee754/flt-32 implementation for tan.
30467
30468 * math/libm-test.inc (cos_test): Enable some large input tests for
30469 float as well
30470 (sin_test): Likewise.
30471 (sincos_test): Likewise.
30472 (tan_test): Add tests for large input.
30473
30474 * sysdeps/i386/fpu/libm-test-ulps: Update.
30475
81c64153
AJ
304762012-03-15 Andreas Jaeger <aj@suse.de>
30477
30478 [BZ #13658]
30479 * math/libm-test.inc (cos_test): Add more test cases.
30480 (sin_test): Likewise.
30481 (sincos_test): Likewise.
30482
7bbfa5c6
AJ
304832012-03-15 Andreas Jaeger <aj@suse.de>
30484
30485 [BZ #13837]
30486 * math/libm-test.inc (cos_test): Add a test case for large input
30487 value.
30488 (sin_test): Likewise.
30489 (sincos_test): Likewise.
30490
304912012-03-15 Andreas Jaeger <aj@suse.de>,
30492 Joseph Myers <joseph@codesourcery.com>
30493
30494 [BZ #13658]
0671f479 30495 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
30496 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
30497 * sysdeps/i386/fpu/branred.c: Likewise.
30498 * sysdeps/i386/fpu/dosincos.c: Likewise.
30499 * sysdeps/i386/fpu/mpa.c: Likewise.
30500 * sysdeps/i386/fpu/s_cos.S: Likewise.
30501 * sysdeps/i386/fpu/s_sin.S: Likewise.
30502 * sysdeps/i386/fpu/s_sincos.S: Likewise.
30503 * sysdeps/i386/fpu/sincos32.c: Likewise.
30504
30505 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
30506 Define.
30507 (libc_feupdateenv_53bit): Define.
30508 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
30509 Define.
30510 (libc_feupdateenv_53bit): Define.
30511
30512 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
30513 53 bit (without extend i386 double precision).
30514
30515 * math/libm-test.inc (sincos_test): Add tests for large input.
30516 (sin): Likewise.
30517 (cos): Likewise.
30518
30519 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30520
9cad04ea
AS
305212012-03-15 Andreas Schwab <schwab@linux-m68k.org>
30522
30523 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30524
f7062b9a
DM
305252012-03-15 David S. Miller <davem@davemloft.net>
30526
30527 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
30528 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
30529 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
30530 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
30531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
30532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
30533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
30534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
30535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
30536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
30537 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
30538 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
30539 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
30540 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
30541 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
30542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
30543 file.
f7062b9a 30544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
30545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
30546 file.
f7062b9a 30547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
30548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
30549 file.
f7062b9a 30550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
30551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
30552 file.
f7062b9a
DM
30553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
30554 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
30555 fmin/fmax sysdep routines.
30556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
30557
7bd951ff
DM
305582012-03-14 David S. Miller <davem@davemloft.net>
30559
559398ab
DM
30560 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
30561 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
30562 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
30563 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
30564 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
30565 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
30566 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
30567 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
30568 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
30569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
30570 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
30571 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
30572 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
30573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
30574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
30575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
30576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
30577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
30578 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
30579 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
30580 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
30581 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
30582 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
30583 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
30584 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
30585 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
30586 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
30587 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
30588 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
30589 routines.
30590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
30591 file.
559398ab 30592 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
30593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
30594 file.
559398ab 30595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
30596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
30597 file.
559398ab 30598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
30599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
30600 file.
559398ab 30601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
30602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
30603 file.
559398ab 30604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
30605 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
30606 file.
30607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
30608 file.
30609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
30610 file.
30611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
30612 file.
30613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
30614 New file.
30615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
30616 file.
30617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
30618 file.
559398ab 30619 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
30620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
30621 file.
559398ab 30622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
30623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
30624 file.
559398ab 30625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
30626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
30627 file.
559398ab 30628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
30629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
30630 VIS3 routines.
559398ab
DM
30631
30632 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30633 New file.
30634
5a1c1e32
DM
30635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30636
eae47a36
DM
30637 * sysdeps/sparc/configure.in: New file.
30638 * sysdeps/sparc/configure: Generate.
30639 * configure.in (libc_cv_sparc_as_vis3): Substitute.
30640 * configure: Regenerate.
30641 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
30642 * config.make.in (have-as-vis3): New.
30643 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
30644 available use -Av9d instead of -Av9a.
30645 * sysdeps/sparc/sparc64/Makefile: Likewise.
30646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
30647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
30648 New file.
30649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
30650 file.
30651 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
30652 New file.
30653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
30654 file.
eae47a36
DM
30655 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
30656 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
30657 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
30658 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
30659 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
30660
c0c83bc8
DM
30661 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
30662 fzeros/fnegs to load 0x80000000 into a float register instead of
30663 using the stack.
7bd951ff
DM
30664 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
30665
bd951ccb
JM
306662012-03-14 Joseph Myers <joseph@codesourcery.com>
30667
30668 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30669 bits/syscall.h.
30670 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
30671 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
30672 ($(inst_includedir)/bits/syscall.h): Remove rule.
30673 ($(objpfx)bits/syscall.d): Include instead of
30674 $(objpfx)syscall-list.d.
30675 (generated): Change syscall-list.h and syscall-list.d to
30676 bits/syscall.h and bits/syscall.d.
30677
bb4e6db2
RM
306782012-03-14 Roland McGrath <roland@hack.frob.com>
30679
30680 [BZ #13846]
30681 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
30682
aa4a2ae1
JM
306832012-03-14 Joseph Myers <joseph@codesourcery.com>
30684
e456826d
JM
30685 [BZ #13841]
30686 * math/s_csqrt.c: Include <float.h>.
30687 (__csqrt): Scale large or subnormal inputs.
30688 * math/s_csqrtf.c: Likewise.
30689 * math/s_csqrtl.c: Likewise.
30690 * math/libm-test.inc (csqrt_test): Add more tests.
30691 * sysdeps/i386/fpu/libm-test-ulps: Update.
30692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30693
aa4a2ae1
JM
30694 [BZ #13840]
30695 * math/libm-test.inc (hypot_test): Add more tests.
30696
7c10fd35
DM
306972012-03-13 David S. Miller <davem@davemloft.net>
30698
30699 [BZ #13840]
30700 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
30701 double-precision for the calculation instead of scaling.
30702
f453b98b
JM
307032012-03-13 Joseph Myers <joseph@codesourcery.com>
30704
30705 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
30706 manipulate bits before adding and subtracting TWO52[sx].
30707 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
30708 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
30709 Likewise.
30710 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
30711
09a3453f
DM
307122012-03-13 David S. Miller <davem@davemloft.net>
30713
8e59da90
DM
30714 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
30715 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
30716 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
30717 rtld-global-offsets.h
30718 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30719
2a8ab7f2
DM
30720 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
30721 large parameters.
30722
10f62770
DM
30723 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
30724
5f0bdb18
DM
30725 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
30726 'err' in the ifdef scope in which it is actually used.
30727
09a3453f
DM
30728 * nss/nss_db/db-init.c: Include string.h
30729
b4b2eb5e
DM
307302012-03-12 David S. Miller <davem@davemloft.net>
30731
98bb2f1c
DM
30732 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
30733 masking out of the most significant byte of random value used.
30734 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30735 Fix coding style in previous change.
30736
b4b2eb5e
DM
30737 * sysdeps/unix/sysv/linux/kernel-features.h
30738 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
30739 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
30740 expression.
30741 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
30742 later.
30743
6e226b09
DM
307442012-03-11 David S. Miller <davem@davemloft.net>
30745
a1bcbd40
DM
30746 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
30747 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
30748 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
30749 for 'resultvar' otherwise things get truncated on 64-bit.
30750
cb9d6174
DM
30751 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
30752 Fix masking out of the most significant byte of random value used.
30753
6e226b09
DM
30754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30755
058c132d
AS
307562012-03-10 Andreas Schwab <schwab@linux-m68k.org>
30757
30758 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30759
2d2cd515
DM
307602012-03-09 David S. Miller <davem@davemloft.net>
30761
30762 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
30763 variables with appropriate CPP guards.
30764 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
30765 frame pointer, not the stack pointer. Correct layout comments. Fix test
30766 on resulting framesize and the management of the outregs buffer for pltexit.
30767 Preserve floating point return values across _dl_call_pltexit call.
30768 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
30769 framesize and the management of the outregs buffer for pltexit.
30770 Preserve floating point return values across _dl_call_pltexit
30771 call.
30772 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
30773 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
30774 (print_exit): Fix format string for return register value.
30775
9a07f9d0
JM
307762012-03-10 Joseph Myers <joseph@codesourcery.com>
30777
30778 * sunrpc/Makefile (others): Add rpcgen.
30779 ($(objpfx)rpcgen): Remove special build rule and dependency on
30780 libc.
30781 * sunrpc/rpcgen.c: New file.
30782
547b5e30
PE
307832012-03-09 Paul Eggert <eggert@cs.ucla.edu>
30784
c524201a
PE
30785 [BZ #13673]
30786 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
30787 * stdio-common/bug-vfprintf-nargs.c: Likewise.
30788 * sysdeps/i386/crti.S: Likewise.
30789 * sysdeps/i386/crtn.S: Likewise.
30790 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
30791 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
30792 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
30793 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
30794 * sysdeps/sh/crti.S: Likewise.
30795 * sysdeps/sh/crtn.S: Likewise.
30796 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30797
7b6235f2
PE
30798 [BZ #13673]
30799 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
30800 with URL.
30801 * locale/programs/locfile-kw.gperf: Likewise.
30802 * locale/programs/charmap-kw.h: Regenerated.
30803 * locale/programs/locfile-kw.h: Likewise.
30804
547b5e30
PE
30805 [BZ #13673]
30806 * intl/plural.y: Replace FSF snail mail address with URL.
30807 * intl/plural.c: Regenerated.
30808
5f0a5dae
RH
308092012-03-09 Richard Henderson <rth@twiddle.net>
30810
30811 * include/math_private.h: Remove file.
30812 * math/math_private.h: Move file ...
30813 * sysdeps/generic/math_private.h: ... here.
30814
b8c03620
RH
30815 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
30816 * sysdeps/powerpc/fpu/math_private.h: Likewise.
30817 * sysdeps/x86_64/fpu/math_private.h: Likewise.
30818
4e234f5d 30819 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
30820 and <math_private.h>.
30821 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
30822 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
30823 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
30824 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
30825 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
30826 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
30827 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30828 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30829 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
30830 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30831 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30832 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
30833 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
30834 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30835 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
30836 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
30837 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30838 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
30839 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
30840 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
30841 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30842 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
30843 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
30844 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30845 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
30846 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
30847 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
30848 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30849 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30850 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30851 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
30852 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30853 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
30854 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30855 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
30856 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
30857 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30858 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
30859 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
30860 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30861 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
30862 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
30863 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
30864 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
30865 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
30866 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
30867 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
30868 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
30869 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30870 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
30871 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
30872 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
30873 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
30874 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
30875 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
30876 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30877 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30878 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
30879 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
30880 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
30881 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30882 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
30883 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30884 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
30885 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
30886 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30887 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30888 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30889 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
30890 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
30891 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
30892 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30893 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
30894 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30895 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
30896 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
30897 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
30898 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
30899 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
30900 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
30901 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
30902 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
30903 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
30904 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30905 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30906 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
30907 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
30908 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
30909 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
30910 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
30911 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
30912 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
30913 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30914 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
30915 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
30916 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
30917 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30918 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
30919 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30920 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
30921 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
30922 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
30923 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
30924 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
30925 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30926 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
30927 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
30928 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
30929 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30930 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30931 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30932 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30933 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
30934 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30935 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
30936 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30937 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30938 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
30939 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30940 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30941 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30942 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
30943 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30944 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
30945 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30946 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
30947 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30948 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
30949 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
30950 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
30951 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
30952 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30953 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30954 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
30955 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
30956 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
30957 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30958 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
30959 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
30960 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30961 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30962 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
30963 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
30964 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
30965 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
30966 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
30967 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
30968 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
30969 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
30970 * sysdeps/ieee754/k_standard.c: Likewise.
30971 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
30972 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
30973 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
30974 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
30975 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
30976 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
30977 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
30978 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
30979 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
30980 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
30981 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30982 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
30983 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
30984 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
30985 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
30986 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
30987 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30988 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
30989 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
30990 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
30991 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
30992 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
30993 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30994 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
30995 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30996 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
30997 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
30998 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
30999 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
31000 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
31001 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
31002 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
31003 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
31004 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
31005 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
31006 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
31007 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
31008 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
31009 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
31010 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
31011 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
31012 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
31013 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
31014 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
31015 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
31016 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
31017 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
31018 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
31019 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
31020 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
31021 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
31022 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
31023 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
31024 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
31025 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
31026 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
31027 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
31028 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
31029 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
31030 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
31031 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
31032 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
31033 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
31034 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31035 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31036 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31037 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31038 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31039 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31040 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31041 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31042 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31043 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31044 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31045 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31046 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31047 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
31048 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31049 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31050 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
31051 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
31052 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
31053 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
31054 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
31055 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
31056 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
31057 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
31058 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
31059 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31060 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
31061 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
31062 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
31063 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
31064 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
31065 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
31066 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
31067 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
31068 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
31069 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
31070 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
31071 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
31072 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
31073 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
31074 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
31075 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
31076 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
31077 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
31078 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
31079 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
31080 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
31081 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
31082 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
31083 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31084 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31085 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31086 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31087 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31088 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31089 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31090 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31091 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31092 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31093 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31094 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31095 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31096 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
31097 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31098 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
31099 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
31100 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
31101 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31102 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31103 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31104 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
31105 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
31106 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
31107 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
31108 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
31109 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31110 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
31111 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
31112 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31113 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
31114 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
31115 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
31116 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31117 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31118 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
31119 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
31120 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
31121 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31122 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31123 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
31124 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31125 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
31126 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
31127 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
31128 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
31129 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
31130 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
31131 * sysdeps/ieee754/s_lib_version.c: Likewise.
31132 * sysdeps/ieee754/s_matherr.c: Likewise.
31133 * sysdeps/ieee754/s_signgam.c: Likewise.
31134 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31135 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31136 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
31137 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
31138 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
31139 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31140 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
31141 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
31142 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
31143 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
31144 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
31145 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
31146 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
31147 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
31148 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
31149 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31150 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31151 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31152 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31153 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
31154 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 31155
1991fa03
JM
311562012-03-09 Joseph Myers <joseph@codesourcery.com>
31157
31158 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
31159 * sunrpc/rpc_main.c: Likewise.
31160 * sunrpc/rpc_svcout.c: Likewise.
31161
60d6f5a6
DM
311622012-03-09 David S. Miller <davem@davemloft.net>
31163
31164 * include/math_private.h: New file.
31165
4962050e
JM
311662012-03-09 Joseph Myers <joseph@codesourcery.com>
31167
02a6f887
JM
31168 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
31169 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
31170 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
31171 from <bits/socket_type.h>.
31172 (enum __socket_type): Don't define here.
31173 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
31174 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31175 bits/socket_type.h.
31176
c6e013c1
JM
31177 [BZ #13566]
31178 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
31179 checking __USE_GNU.
31180
4962050e
JM
31181 * Makerules ($(inst_includedir)/%.h): New rule.
31182 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
31183 (install-others): Remove variable setting.
31184 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
31185
38842f45
RH
311862012-03-08 Richard Henderson <rth@twiddle.net>
31187
67bb6da6
RH
31188 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
31189 from macro to inline function; merge with the
31190 !__LIBC_INTERNAL_MATH_INLINES version.
31191 (__ieee754_sqrtf): Likewise.
31192
15194b4b
RH
31193 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
31194 to inline function.
31195 (__rintf, __floor, __floorf): Likewise.
31196
64e21ede
RH
31197 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
31198 macro to inline function.
31199 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
31200
38842f45
RH
31201 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
31202 not <math/math_private.h>.
31203
c64bf5fe
DM
312042012-03-08 David S. Miller <davem@davemloft.net>
31205
31206 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
31207 copyright year.
31208 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
31209
82d86f28
TS
312102012-03-08 Thomas Schwinge <thomas@codesourcery.com>
31211
31212 * resolv/gai_misc.c (handle_requests): Fix struct timespec
31213 normalization.
31214 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
31215 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
31216
aea5d727
UD
312172012-03-08 Ulrich Drepper <drepper@gmail.com>
31218
31219 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
31220 be defined individually, they must be defined as a block. Define
31221 S for printing a string instead of hidint the different by using a
31222 macro for adding the 'l'.
31223 * stdio-common/tst-fphex-wide.c: Adjust.
31224
70bca0a3
MP
312252012-03-07 Marek Polacek <polacek@redhat.com>
31226
31227 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
31228
65b81130
MP
312292012-03-08 Marek Polacek <polacek@redhat.com>
31230
31231 [BZ #13806]
31232 * stdio-common/Makefile (tests): Add tst-fphex-wide.
31233 * stdio-common/tst-fphex.c: Define a few macros to make the
31234 test reusable. Use them.
31235 * stdio-common/tst-fphex-wide.c: New file.
31236
07037eeb
JM
312372012-03-08 Joseph Myers <joseph@codesourcery.com>
31238
a7a93d50
JM
31239 [BZ #6911]
31240 * manual/macros.texi (gnusystems): New macro.
31241 (nongnusystems): Likewise.
31242 (gnulinuxhurdsystems): Likewise.
31243 (gnuhurdsystems): Likewise..
31244 (gnulinuxsystems): Likewise.
31245 * manual/charset.texi: Use new macros or @theglibc{} to refer to
31246 variants of the GNU system, not "GNU system".
31247 * manual/conf.texi: Likewise.
31248 * manual/errno.texi: Likewise. Update example of errno macro
31249 expansion.
31250 * manual/filesys.texi: Likewise.
31251 (getumask): Document as specific to GNU/Hurd.
31252 * manual/install.texi: Likewise. Reword some references to
31253 GNU/Linux.
31254 * manual/intro.texi: Likewise.
31255 * manual/io.texi: Likewise.
31256 (File Name Portability): Detail which constraints are inapplicable
31257 to all GNU systems and which are only inapplicable to GNU/Hurd.
31258 * manual/job.texi: Likewise.
31259 * manual/llio.texi: Likewise.
31260 (O_NOCTTY): Document as present on GNU/Linux.
31261 * manual/maint.texi: Likewise.
31262 * manual/memory.texi: Likewise.
31263 * manual/pattern.texi: Likewise.
31264 * manual/pipe.texi: Likewise.
31265 * manual/process.texi: Likewise.
31266 * manual/resource.texi: Likewise.
31267 (RUSAGE_CHILDREN): Remove statement about specifying a particular
31268 child on GNU/Hurd.
31269 * manual/setjmp.texi: Likewise.
31270 * manual/signal.texi: Likewise.
31271 * manual/startup.texi: Likewise.
31272 * manual/stdio.texi: Likewise.
31273 * manual/terminal.texi: Likewise.
31274 (ONLCR): Document as POSIX.
31275 (OXTABS): Document availability on GNU/Linux as XTABS.
31276 (ONOEOT): Document availability separately from other bits.
31277 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
31278 * manual/time.texi: Likewise.
31279 * manual/users.texi: Likewise.
31280 * INSTALL: Regenerated.
31281 * sysdeps/gnu/errlist.c: Regenerated.
31282
07037eeb
JM
31283 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
31284 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
31285 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
31286 puts.
31287 * configure: Regenerated.
31288
d1d3431a
JM
312892012-03-07 Joseph Myers <joseph@codesourcery.com>
31290
af6a1e37
JM
31291 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
31292 default includes instead of AC_HEADER_CHECK.
31293 * sysdeps/i386/configure: Regenerated.
31294
d1d3431a
JM
31295 [BZ #10716]
31296 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
31297 * math/s_cacoshf.c (__cacoshf): Likewise.
31298 * math/s_cacoshl.c (__cacoshl): Likewise.
31299 * math/s_casinh.c (__casinh): Set signs of result from argument.
31300 * math/s_casinhf.c (__casinhf): Likewise.
31301 * math/s_casinhl.c (__casinhl): Likewise.
31302 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
31303 (casinh_test): Add more tests.
31304 * sysdeps/i386/fpu/libm-test-ulps: Update.
31305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31306
482ff4da
UD
313072012-03-07 Ulrich Drepper <drepper@gmail.com>
31308
872fda05
UD
31309 * po/zh_TW.po: Update from translation team.
31310
a4300c7a
UD
31311 * login/Makefile (distribute): Remove variable.
31312 * catgets/Makefile: Likewise.
31313 * mach/Makefile: Likewise.
31314 * malloc/Makefile: Likewise.
31315 * misc/Makefile: Likewise.
31316 * iconv/Makefile: Likewise.
31317 * nscd/Makefile: Likewise.
31318 * hurd/Makefile: Likewise.
31319 * manual/Makefile: Likewise.
31320 * locale/Makefile: Likewise.
31321 * intl/Makefile: Likewise.
31322 * conform/Makefile: Likewise.
31323 * nss/Makefile: Likewise.
31324 * time/Makefile: Likewise.
31325 * soft-fp/Makefile: Likewise.
31326 * dirent/Makefile: Likewise.
31327 * gmon/Makefile: Likewise.
31328 * po/Makefile: Likewise.
31329 * rt/Makefile: Likewise.
31330 * socket/Makefile: Likewise.
31331 * math/Makefile: Likewise.
31332 * signal/Makefile: Likewise.
31333 * debug/Makefile: Likewise.
31334 * elf/Makefile: Likewise.
31335 * timezone/Makefile: Likewise.
31336 * stdlib/Makefile: Likewise.
31337 * iconvdata/Makefile: Likewise.
31338 * sunrpc/Makefile: Likewise.
31339 * io/Makefile: Likewise.
31340 * argp/Makefile: Likewise.
31341 * inet/Makefile: Likewise.
31342 * hesiod/Makefile: Likewise.
31343 * grp/Makefile: Likewise.
31344 * csu/Makefile: Likewise.
31345 * wctype/Makefile: Likewise.
31346 * crypt/Makefile: Likewise.
31347 * libio/Makefile: Likewise.
31348 * string/Makefile: Likewise.
31349 * nis/Makefile: Likewise.
31350 * resolv/Makefile: Likewise.
31351 * stdio-common/Makefile: Likewise.
31352 * wcsmbs/Makefile: Likewise.
31353 * dlfcn/Makefile: Likewise.
31354 * posix/Makefile: Likewise.
31355
3b7c4e74 31356 [BZ #6959]
482ff4da
UD
31357 * timezone/Makefile: Don't install timezone files, just the programs
31358 and scripts.
31359
f72ed77d
UD
313602012-03-06 Ulrich Drepper <drepper@gmail.com>
31361
a000466f
UD
31362 * nss/databases.def: Add missing gshadow entry.
31363
f72ed77d
UD
31364 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
31365
a53b7a4e
MP
313662012-03-06 Marek Polacek <polacek@redhat.com>
31367
31368 [BZ #13726]
31369 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
31370 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
31371 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
31372 * stdio-common/tst-long-dbl-fphex.c: New file.
31373
e9258400
DM
313742012-03-06 David S. Miller <davem@davemloft.net>
31375
31376 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31377 (set_obp_int): New function.
31378 (get_obp_int): New function.
31379 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
31380 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
31381 Avoid unused variable warnings on 'val' and use builtin_expect.
31382 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
31383 __builtin_expect.
e9258400
DM
31384 (INLINE_CLONE_SYSCALL): Likewise.
31385
3bd2c723
DM
313862012-03-05 David S. Miller <davem@davemloft.net>
31387
31388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31389
bbb78d03
AS
313902012-03-05 Andreas Schwab <schwab@linux-m68k.org>
31391
884c5db4
AS
31392 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31393
bbb78d03
AS
31394 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
31395 only for |x| >= 40.
31396 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31397
1c9f702a 313982012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
31399
31400 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
31401 Replace gettimeofday with __vdso_gettimeofday.
31402
7be16f82
RM
31403 * sysdeps/unix/sysv/linux/x86_64/init-first.c
31404 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
31405 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
31406
31407 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
31408 time with __vdso_time.
31409
ed58a00f
JM
314102012-03-05 Joseph Myers <joseph@codesourcery.com>
31411
31412 * manual/lang.texi (size_t): Note types to which size_t may be
31413 equivalent with the GNU C Library, but do not describe when
31414 differences between them are significant.
31415
30ee4ced
AJ
314162012-03-05 Andreas Jaeger <aj@suse.de>
31417
31418 * sysdeps/i386/fpu/libm-test-ulps: Update.
31419
b7cd39e8
JM
314202012-03-05 Joseph Myers <joseph@codesourcery.com>
31421
31422 [BZ #3976]
31423 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
31424 (__ieee754_pow): Save and restore rounding mode and use
31425 round-to-nearest for main computations.
31426 * math/libm-test.inc (pow_test_tonearest): New function.
31427 (pow_test_towardzero): Likewise.
31428 (pow_test_downward): Likewise.
31429 (pow_test_upward): Likewise.
31430 (main): Call the new functions.
31431 * sysdeps/i386/fpu/libm-test-ulps: Update.
31432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
31433
31434 [BZ #3976]
31435 * math/libm-test.inc (cosh_test_tonearest): New function.
31436 (cosh_test_towardzero): Likewise.
31437 (cosh_test_downward): Likewise.
31438 (cosh_test_upward): Likewise.
31439 (sinh_test_tonearest): Likewise.
31440 (sinh_test_towardzero): Likewise.
31441 (sinh_test_downward): Likewise.
31442 (sinh_test_upward): Likewise.
31443 (main): Call the new functions.
31444 * sysdeps/i386/fpu/libm-test-ulps: Update.
31445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31446
6c6a98c9
TV
314472012-03-05 Tom de Vries <tom@codesourcery.com>
31448
31449 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
31450 default stack guard is set in last bytes.
31451 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
31452
21bb2d2e 314532012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 31454
21bb2d2e 31455 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 31456
21bb2d2e
AJ
31457 [BZ #13656]
31458 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
31459 possibly allocate from heap instead of stack.
31460 * stdio-common/bug-vfprintf-nargs.c: New file.
31461 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 31462
c6922934
AS
314632012-03-03 Andreas Schwab <schwab@linux-m68k.org>
31464
31465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31466
bc957d53
MP
314672012-03-03 Marek Polacek <polacek@redhat.com>
31468
31469 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
31470 * math/math_private.h: Likewise.
31471 * stdlib/tst-strtod.c: Likewise.
31472 * sysdeps/i386/i486/bits/atomic.h: Likewise.
31473 * sysdeps/x86_64/bits/atomic.h: Likewise.
31474
6358490d
DM
314752012-03-02 David S. Miller <davem@davemloft.net>
31476
31477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
31478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
31479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
31480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
31481 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
31482 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
31483 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
31484 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
31485
01ae168d
RM
314862012-03-02 Roland McGrath <roland@hack.frob.com>
31487
d9a17c07
RM
31488 [BZ #13792]
31489 * manual/examples/README: New file, says the example source files
31490 can be used under GPL>=2.
31491 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
31492 line containing just "*/".
31493 * manual/examples/add.c: Add copyright header (GPL>=2).
31494 * manual/examples/argp-ex1.c: Likewise.
31495 * manual/examples/argp-ex2.c: Likewise.
31496 * manual/examples/argp-ex3.c: Likewise.
31497 * manual/examples/argp-ex4.c: Likewise.
31498 * manual/examples/atexit.c: Likewise.
31499 * manual/examples/db.c: Likewise.
31500 * manual/examples/dir.c: Likewise.
31501 * manual/examples/dir2.c: Likewise.
31502 * manual/examples/execinfo.c: Likewise.
31503 * manual/examples/filecli.c: Likewise.
31504 * manual/examples/filesrv.c: Likewise.
31505 * manual/examples/fmtmsgexpl.c: Likewise.
31506 * manual/examples/genpass.c: Likewise.
31507 * manual/examples/inetcli.c: Likewise.
31508 * manual/examples/inetsrv.c: Likewise.
31509 * manual/examples/isockad.c: Likewise.
31510 * manual/examples/longopt.c: Likewise.
31511 * manual/examples/memopen.c: Likewise.
31512 * manual/examples/memstrm.c: Likewise.
31513 * manual/examples/mkfsock.c: Likewise.
31514 * manual/examples/mkisock.c: Likewise.
31515 * manual/examples/mygetpass.c: Likewise.
31516 * manual/examples/pipe.c: Likewise.
31517 * manual/examples/popen.c: Likewise.
31518 * manual/examples/rprintf.c: Likewise.
31519 * manual/examples/search.c: Likewise.
31520 * manual/examples/select.c: Likewise.
31521 * manual/examples/setjmp.c: Likewise.
31522 * manual/examples/sigh1.c: Likewise.
31523 * manual/examples/sigusr.c: Likewise.
31524 * manual/examples/stpcpy.c: Likewise.
31525 * manual/examples/strdupa.c: Likewise.
31526 * manual/examples/strftim.c: Likewise.
31527 * manual/examples/strncat.c: Likewise.
31528 * manual/examples/subopt.c: Likewise.
31529 * manual/examples/swapcontext.c: Likewise.
31530 * manual/examples/termios.c: Likewise.
31531 * manual/examples/testopt.c: Likewise.
31532 * manual/examples/testpass.c: Likewise.
31533 * manual/examples/timeval_subtract.c: Likewise.
31534
01ae168d
RM
31535 [BZ #13792]
31536 * manual/time.texi (Elapsed Time): Move timeval_subtract example
31537 function to ...
31538 * manual/timeval_subtract.c.texi: ... here, new file.
31539
49efa33d
DM
315402012-03-02 David S. Miller <davem@davemloft.net>
31541
31542 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
31543
28afd92d
JM
315442012-03-02 Joseph Myers <joseph@codesourcery.com>
31545
804360ed
JM
31546 [BZ #3976]
31547 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
31548 (__sin): Save and restore rounding mode and use round-to-nearest
31549 for all computations.
31550 (__cos): Save and restore rounding mode and use round-to-nearest
31551 for all computations.
31552 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
31553 <fenv.h>.
31554 (tan): Save and restore rounding mode and use round-to-nearest for
31555 all computations.
31556 * math/libm-test.inc (cos_test_tonearest): New function.
31557 (cos_test_towardzero): Likewise.
31558 (cos_test_downward): Likewise.
31559 (cos_test_upward): Likewise.
31560 (sin_test_tonearest): Likewise.
31561 (sin_test_towardzero): Likewise.
31562 (sin_test_downward): Likewise.
31563 (sin_test_upward): Likewise.
31564 (tan_test_tonearest): Likewise.
31565 (tan_test_towardzero): Likewise.
31566 (tan_test_downward): Likewise.
31567 (tan_test_upward): Likewise.
31568 (main): Call the new functions.
31569 * sysdeps/i386/fpu/libm-test-ulps: Update.
31570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31571
a6d06d7b
JM
31572 [BZ #10135]
31573 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
31574 small n, then large n, before computing and testing k+n.
31575 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
31576 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
31577 Likewise.
31578 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
31579 Likewise.
31580 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
31581 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
31582 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
31583 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
31584 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
31585 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
31586 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
31587 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
31588 * math/libm-test.inc (scalbn_test): Add more tests.
31589 (scalbln_test): Likewise.
31590
07e12bb3
JM
31591 * manual/filesys.texi (mode_t): Describe constraints on size and
31592 signedness, not exact equivalence to a particular type.
31593 (ino_t): Likewise.
31594 (ino64_t): Likewise.
31595 (dev_t): Likewise.
31596 (nlink_t): Likewise.
31597 (blkcnt_t): Likewise.
31598 (blkcnt64_t): Likewise.
31599 * manual/llio.texi (off_t): Likewise.
31600
28afd92d
JM
31601 [BZ #3976]
31602 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
31603 (__ieee754_exp): Save and restore rounding mode and use
31604 round-to-nearest for all computations.
31605 * math/libm-test.inc (exp_test_tonearest): New function.
31606 (exp_test_towardzero): Likewise.
31607 (exp_test_downward): Likewise.
31608 (exp_test_upward): Likewise.
31609 (main): Call the new functions.
31610 * sysdeps/i386/fpu/libm-test-ulps: Update.
31611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31612
b1eeb65d
CD
316132012-03-01 Chris Demetriou <cgd@google.com>
31614
31615 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
31616 have predictable order.
31617
53362a4b
DM
316182012-03-01 David S. Miller <davem@davemloft.net>
31619
3c969083
DM
31620 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
31621
759707de
DM
31622 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
31623 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
31624 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
31625 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
31626
dfdb8ff2
DM
31627 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
31628 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
31629 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
31630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
31631 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
31632 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
31633 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
31634 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
31635 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
31636
ead89f96
DM
31637 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31638
7f66bd07
DM
31639 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
31640 * sysdeps/sparc/fpu/libm-test-ulps: to here.
31641 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
31642
53362a4b
DM
31643 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
31644 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31645 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
31646 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
31647 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
31648 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
31649 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
31650 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31651 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
31652 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
31653 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
31654 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
31655 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31656 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
31657 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
31658 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31659 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
31660 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
31661 * sysdeps/sparc/elf/configure: Regenerated.
31662
7b1902cb
JM
316632012-03-01 Joseph Myers <joseph@codesourcery.com>
31664
bec039bc
JM
31665 * configure.in (AS, LD): Require binutils 2.20 or later.
31666 * configure: Regenerated.
31667 * manual/install.texi (Tools for Compilation): Give binutils 2.20
31668 as required minimum version.
31669 * INSTALL: Regenerated.
31670
7b1902cb
JM
31671 [BZ #2541]
31672 [BZ #4108]
31673 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
31674 before squaring exponent.
31675 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
31676 bottom long double and 27 bits of top long double before squaring
31677 exponent.
31678 * math/libm-test.inc (erfc_test): Add more tests.
31679 * sysdeps/i386/fpu/libm-test-ulps: Update.
31680 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31682
f775c276
KT
316832012-03-01 Kai Tietz <ktietz@redhat.com>
31684
31685 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
31686 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
31687 containing bit-fields.
31688 * soft-fp/extended.h (_FP_UNION_E): Likewise.
31689 * soft-fp/single.h (_FP_UNION_S): Likewise.
31690 * soft-fp/double.h (_FP_UNION_D): Likewise.
31691
5b8a4d4a
JM
316922012-02-29 Joseph Myers <joseph@codesourcery.com>
31693
0bab47b6
JM
31694 [BZ #13786]
31695 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
31696 not include ../strcmp.S.
31697 [USE_AS_STRNCASECMP_L]: Likewise.
31698 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
31699 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
31700 * sysdeps/i386/i686/multiarch/strncase_l-c.c
31701 (__strncasecmp_l_ia32): Define as alias to
31702 __strncasecmp_l_nonascii.
31703
0fcad3e2
JM
31704 [BZ #5794]
31705 * math/libm-test.inc (expm1_test): Add test for bug 5794.
31706 * sysdeps/i386/fpu/libm-test-ulps: Update.
31707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31708
5b8a4d4a
JM
31709 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
31710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31711
8fdceb2e
JL
317122012-02-29 Jeff Law <law@redhat.com>
31713
31714 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
31715 out of bounds read.
31716
1f393a11
MP
317172012-02-29 Marek Polacek <polacek@redhat.com>
31718
31719 [BZ #13706]
31720 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
31721 * elf/Makefile: Add rules to run tst-unused-dep.out.
31722
8847f037
DM
317232012-02-28 David S. Miller <davem@davemloft.net>
31724
31725 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
31726 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
31727 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
31728 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
31729 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
31730 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
31731
169d7f11
JM
317322012-02-29 Joseph Myers <joseph@codesourcery.com>
31733
31734 * math/libm-test.inc (llround_test): Move one test from
31735 lround_test. Use TEST_f_L in moved test.
31736 (lround_test): Move misplaced test to llround_test. Add testcase
31737 from bug 2561.
31738
39adf059
UD
317392012-02-28 Ulrich Drepper <drepper@gmail.com>
31740
31741 * sysdeps/x86_64/fpu/e_expf.S: New file.
31742 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
31743
71b5d1c5
SB
317442012-02-28 Stanislav Brabec <sbrabec@suse.cz>
31745
31746 [BZ #13637]
31747 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
31748 of remain_len that may cause incomplete multi-byte character and
31749 false match.
31750 * posix/bug-regex33.c: New file.
31751 * posix/Makefile (tests): Add bug-regex33.
31752
1f77f049
JM
317532012-02-28 Joseph Myers <joseph@codesourcery.com>
31754
31755 * manual/macros.texi: New file.
31756 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
31757 * manual/libc.texinfo: Include macros.texi.
31758 * manual/creatute.texi: Likewise.
31759 * manual/install.texi: Likewise.
31760 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
31761 @glibcadj{} in references to the GNU C Library.
31762 * manual/charset.texi: Likewise.
31763 * manual/conf.texi: Likewise.
31764 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
31765 when not using those macros.
31766 * manual/creature.texi: Likewise.
31767 * manual/crypt.texi: Likewise.
31768 * manual/errno.texi: Likewise.
31769 * manual/filesys.texi: Likewise.
31770 * manual/header.texi: Likewise.
31771 * manual/install.texi: Likewise.
31772 * manual/intro.texi: Likewise.
31773 * manual/io.texi: Likewise.
31774 * manual/job.texi: Likewise.
31775 * manual/lang.texi: Likewise.
31776 * manual/libc.texiinfo: Likewise.
31777 * manual/llio.texi: Likewise.
31778 * manual/locale.texi: Likewise.
31779 * manual/maint.texi: Likewise.
31780 * manual/math.texi: Likewise.
31781 * manual/memory.texi: Likewise.
31782 * manual/message.texi: Likewise.
31783 * manual/nss.texi: Likewise.
31784 * manual/pattern.texi: Likewise.
31785 * manual/process.texi: Likewise.
31786 * manual/resource.texi: Likewise.
31787 * manual/search.texi: Likewise.
31788 * manual/setjmp.texi: Likewise.
31789 * manual/signal.texi: Likewise.
31790 * manual/socket.texi: Likewise.
31791 * manual/startup.texi: Likewise.
31792 * manual/stdio.texi: Likewise.
31793 * manual/string.texi: Likewise.
31794 * manual/sysinfo.texi: Likewise.
31795 * manual/syslog.texi: Likewise.
31796 * manual/terminal.texi: Likewise.
31797 * manual/time.texi: Likewise.
31798 * manual/users.texi: Likewise.
31799 * INSTALL: Regenerated.
31800 * NOTES: Regenerated.
d40c5d54 31801 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 31802
450bf206
AS
318032012-02-28 Andreas Schwab <schwab@linux-m68k.org>
31804
31805 * include/dirent.h: Include <dirstream.h> before
31806 <dirent/dirent.h>.
31807
741a235b
DM
318082012-02-28 David S. Miller <davem@davemloft.net>
31809
31810 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
31811 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
31812 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
31813 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
31814
d6b5aa58
DM
318152012-02-27 David S. Miller <davem@davemloft.net>
31816
1aff59a3
DM
31817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
31818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
31819 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
31820 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
31821
d6b5aa58
DM
31822 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
31823 frame pointer instead of stack pointer relative arg slot.
31824 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31825 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31826 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31827
433f48bf
CD
318282012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
31829
31830 [BZ #3992]
31831 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
31832
d674b76d
DM
318332012-02-27 David S. Miller <davem@davemloft.net>
31834
31835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
31836 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
31837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
31839 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
31840 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
31841 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
31842 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
31843
0e7727f7
JM
318442012-02-27 Joseph Myers <joseph@codesourcery.com>
31845
31846 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
31847 later. Allow versions 5-9.
43be4ca2 31848 * configure: Regenerated.
0e7727f7
JM
31849 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
31850 required minimum version and 4.6 as recommended version. Do not
31851 mention bugs in GCC 2.7 and 2.8.
43be4ca2 31852 * INSTALL: Regenerated.
0e7727f7 31853
a78bc654
DM
318542012-02-27 David S. Miller <davem@davemloft.net>
31855
428d5830
DM
31856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
31857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
31858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
31859 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
31860 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
31861 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
31862 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
31863 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
31864
a78bc654
DM
31865 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
31866 manipulate bits before adding and subtracting TWO112[sx].
31867 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
31868
4579f81c
RM
318692012-02-27 Roland McGrath <roland@hack.frob.com>
31870
36c8acb4
RM
31871 [BZ #13775]
31872 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
31873 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
31874 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
31875 being in POSIX, because they are in 1003.1-2008.
31876
84ad622b
RM
31877 * rt/tst-aio.c: Include <fcntl.h>.
31878 * rt/tst-aio7.c: Likewise.
31879 * rt/tst-aio64.c: Likewise.
31880
4579f81c
RM
31881 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
31882
abd923db
JM
318832012-02-27 Joseph Myers <joseph@codesourcery.com>
31884
31885 * manual/install.texi (--with-headers): Describe headers as
31886 interface headers, not private headers.
31887 (Specific advice for GNU/Linux systems): Describe use of headers
31888 from "make headers_install", not private headers from older
31889 kernels.
43be4ca2 31890 * INSTALL: Regenerated.
abd923db
JM
31891 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
31892 Change to 2.6.19.
31893 * sysdeps/unix/sysv/linux/configure: Regenerated.
31894
6664049b
JM
31895 * manual/llio.texi (fclean): Remove documentation.
31896
bb8b6697
JM
31897 * manual/Makefile (libc-texi-generated): New variable. Include
31898 version.texi.
31899 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
31900 $(libc-texi-generated), not duplicated list of files.
31901 (version.texi, stamp-version): New rules.
31902 (realclean): Remove $(libc-texi-generated), not individual files
31903 from that list. Do not remove dir-add.texinfo.
31904 * manual/libc.texinfo: Comment out uses of edition numbers and
31905 references to printed manual. Remove last-updated dates.
31906 (EDITION): Comment out.
31907 (ISBN): Likewise.
31908 (VERSION, UPDATED): Remove.
31909 (version.texi): Include.
31910
12e5c3b9
AS
319112012-02-27 Andreas Schwab <schwab@linux-m68k.org>
31912
31913 * sysdeps/posix/spawni.c: Include <signal.h>.
31914 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
31915 * sysdeps/pthread/aio_fsync.c: Likewise.
31916
4efeffc1 319172012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 31918
ba63ba08
UD
31919 * conform/Makefile (tests): Run only when not cross-compiling and
31920 when fast-check is not defined.
31921
d94a4670
UD
31922 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
31923 * conform/data/limits.h-data: Fixes for POSIX2008.
31924 * conform/run-conformtest.sh: Run all tests.
31925 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
31926 headers.
31927 * include/bits/dlfcn.h: Likewise.
31928 * include/langinfo.h: Likewise.
31929 * include/monetary.h: Likewise.
31930 * include/sys/poll.h: Likewise.
31931
31932 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
31933 for __USE_GNU.
31934 * posix/spawn.h: Define __need_sigset_t.
31935 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
31936 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
31937 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
31938 to get sigevent_t only.
31939 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
31940 only for __USE_GNU.
31941 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31942 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
31943 process_vm_writev only for __USE_GNU.
31944 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
31945
31946 * conform/Makefile: For now ignore errors from run-conformtest.
31947 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
31948 POSIX to avoid namespace pollution. Don't prepend headers.
31949 * conform/data/aio.h-data: Fixes for POSIX testing.
31950 * conform/data/fcntl.h-data: Likewise.
31951 * conform/data/glob.h-data: Likewise.
31952 * conform/data/grp.h-data: Likewise.
31953 * conform/data/pthread.h-data: Likewise.
31954 * conform/data/pwd.h-data: Likewise.
31955 * conform/data/signal.h-data: Likewise.
31956 * conform/data/spawn.h-data: Likewise.
31957 * conform/data/stdio.h-data: Likewise.
31958 * conform/data/stdlib.h-data: Likewise.
31959 * conform/data/stropts.h-data: Likewise.
31960 * conform/data/sys/mman.h-data: Likewise.
31961 * conform/data/sys/stat.h-data: Likewise.
31962 * conform/data/sys/types.h-data: Likewise.
31963 * conform/data/sys/wait.h-data: Likewise.
31964 * conform/data/time.h-data: Likewise.
31965 * conform/data/unistd.h-data: Likewise.
31966 * conform/data/utime.h-data: Likewise.
31967
31968 * io/sys/stat.h: fchmod was always in POSIX.
31969 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
31970 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
31971 * rt/aio.h: Define __need_timespec before including <time.h>.
31972 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
31973 struct. Add forward declaration of pthread_attr_t and use it in
31974 sigevent.
31975 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31976 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31977 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
31978 always remove CLK_TCK definition.
31979
c20105c3
AS
319802012-02-26 Andreas Schwab <schwab@linux-m68k.org>
31981
31982 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
31983
7a270350
UD
319842012-02-25 Ulrich Drepper <drepper@gmail.com>
31985
31341567
UD
31986 * conform/run-conformtest.sh: New file.
31987 * conform/Makefile: Run run-conformtest for tests.
31988 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
31989 support.
31990
31991 * conform/data/uchar.h-data: New file.
31992 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
31993 * conform/data/arpa/inet.h-data: Likewise.
31994 * conform/data/assert.h-data: Likewise.
31995 * conform/data/complex.h-data: Likewise.
31996 * conform/data/cpio.h-data: Likewise.
31997 * conform/data/ctype.h-data: Likewise.
31998 * conform/data/dirent.h-data: Likewise.
31999 * conform/data/dlfcn.h-data: Likewise.
32000 * conform/data/errno.h-data: Likewise.
32001 * conform/data/fcntl.h-data: Likewise.
32002 * conform/data/float.h-data: Likewise.
32003 * conform/data/fmtmsg.h-data: Likewise.
32004 * conform/data/fnmatch.h-data: Likewise.
32005 * conform/data/ftw.h-data: Likewise.
32006 * conform/data/glob.h-data: Likewise.
32007 * conform/data/grp.h-data: Likewise.
32008 * conform/data/iconv.h-data: Likewise.
32009 * conform/data/inttypes.h-data: Likewise.
32010 * conform/data/langinfo.h-data: Likewise.
32011 * conform/data/libgen.h-data: Likewise.
32012 * conform/data/limits.h-data: Likewise.
32013 * conform/data/locale.h-data: Likewise.
32014 * conform/data/math.h-data: Likewise.
32015 * conform/data/monetary.h-data: Likewise.
32016 * conform/data/mqueue.h-data: Likewise.
32017 * conform/data/ndbm.h-data: Likewise.
32018 * conform/data/net/if.h-data: Likewise.
32019 * conform/data/netdb.h-data: Likewise.
32020 * conform/data/netinet/in.h-data: Likewise.
32021 * conform/data/nl_types.h-data: Likewise.
32022 * conform/data/poll.h-data: Likewise.
32023 * conform/data/pthread.h-data: Likewise.
32024 * conform/data/pwd.h-data: Likewise.
32025 * conform/data/regex.h-data: Likewise.
32026 * conform/data/sched.h-data: Likewise.
32027 * conform/data/search.h-data: Likewise.
32028 * conform/data/semaphore.h-data: Likewise.
32029 * conform/data/setjmp.h-data: Likewise.
32030 * conform/data/signal.h-data: Likewise.
32031 * conform/data/spawn.h-data: Likewise.
32032 * conform/data/stdarg.h-data: Likewise.
32033 * conform/data/stdio.h-data: Likewise.
32034 * conform/data/stdlib.h-data: Likewise.
32035 * conform/data/string.h-data: Likewise.
32036 * conform/data/strings.h-data: Likewise.
32037 * conform/data/stropts.h-data: Likewise.
32038 * conform/data/sys/ipc.h-data: Likewise.
32039 * conform/data/sys/mman.h-data: Likewise.
32040 * conform/data/sys/msg.h-data: Likewise.
32041 * conform/data/sys/resource.h-data: Likewise.
32042 * conform/data/sys/select.h-data: Likewise.
32043 * conform/data/sys/sem.h-data: Likewise.
32044 * conform/data/sys/shm.h-data: Likewise.
32045 * conform/data/sys/socket.h-data: Likewise.
32046 * conform/data/sys/stat.h-data: Likewise.
32047 * conform/data/sys/statvfs.h-data: Likewise.
32048 * conform/data/sys/time.h-data: Likewise.
32049 * conform/data/sys/timeb.h-data: Likewise.
32050 * conform/data/sys/times.h-data: Likewise.
32051 * conform/data/sys/types.h-data: Likewise.
32052 * conform/data/sys/uio.h-data: Likewise.
32053 * conform/data/sys/un.h-data: Likewise.
32054 * conform/data/sys/utsname.h-data: Likewise.
32055 * conform/data/sys/wait.h-data: Likewise.
32056 * conform/data/syslog.h-data: Likewise.
32057 * conform/data/tar.h-data: Likewise.
32058 * conform/data/termios.h-data: Likewise.
32059 * conform/data/utime.h-data: Likewise.
32060 * conform/data/utmpx.h-data: Likewise.
32061 * conform/data/varargs.h-data: Likewise.
32062 * conform/data/wchar.h-data: Likewise.
32063 * conform/data/wctype.h-data: Likewise.
32064 * conform/data/wordexp.h-data: Likewise.
32065
32066 * include/stropts.h: New file.
32067 * include/uchar.h: New file.
32068 * include/aio.h: Changes to allow conformtest.pl to use the headers.
32069 * include/assert.h: Likewise.
32070 * include/ctype.h: Likewise.
32071 * include/dirent.h: Likewise.
32072 * include/dlfcn.h: Likewise.
32073 * include/fcntl.h: Likewise.
32074 * include/fnmatch.h: Likewise.
32075 * include/glob.h: Likewise.
32076 * include/grp.h: Likewise.
32077 * include/libio.h: Likewise.
32078 * include/locale.h: Likewise.
32079 * include/math.h: Likewise.
32080 * include/net/if.h: Likewise.
32081 * include/netdb.h: Likewise.
32082 * include/netinet/in.h: Likewise.
32083 * include/pthread.h: Likewise.
32084 * include/pwd.h: Likewise.
32085 * include/regex.h: Likewise.
32086 * include/sched.h: Likewise.
32087 * include/search.h: Likewise.
32088 * include/setjmp.h: Likewise.
32089 * include/signal.h: Likewise.
32090 * include/stdio.h: Likewise.
32091 * include/stdlib.h: Likewise.
32092 * include/string.h: Likewise.
32093 * include/sys/cdefs.h: Likewise.
32094 * include/sys/mman.h: Likewise.
32095 * include/sys/msg.h: Likewise.
32096 * include/sys/resource.h: Likewise.
32097 * include/sys/select.h: Likewise.
32098 * include/sys/socket.h: Likewise.
32099 * include/sys/stat.h: Likewise.
32100 * include/sys/statvfs.h: Likewise.
32101 * include/sys/time.h: Likewise.
32102 * include/sys/times.h: Likewise.
32103 * include/sys/uio.h: Likewise.
32104 * include/sys/utsname.h: Likewise.
32105 * include/sys/wait.h: Likewise.
32106 * include/termios.h: Likewise.
32107 * include/time.h: Likewise.
32108 * include/ulimit.h: Likewise.
32109 * include/unistd.h: Likewise.
32110 * include/utime.h: Likewise.
32111 * include/wchar.h: Likewise.
32112 * include/wctype.h: Likewise.
32113 * include/wordexp.h: Likewise.
32114
32115 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
32116
7a270350
UD
32117 * time/time.h: TIME_UTC must be a macro.
32118 Make timespec_get available for ISO C11 only as well.
32119
7724defc
UD
321202012-02-24 Ulrich Drepper <drepper@gmail.com>
32121
32122 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
32123 Reported by Peng Haitao <penght@cn.fujitsu.com>.
32124
6b1d1d46
JM
321252012-02-24 Joseph Myers <joseph@codesourcery.com>
32126
32127 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 32128
0f8bbd69
JM
321292012-02-24 Joseph Myers <joseph@codesourcery.com>
32130
32131 * manual/texinfo.tex: Update to version 2012-01-19.16.
32132
66ab80bc
JM
321332012-02-24 Joseph Myers <joseph@codesourcery.com>
32134
32135 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
32136
74981cc5
RM
321372012-02-24 Roland McGrath <roland@hack.frob.com>
32138
ee968201
RM
32139 [BZ #13738]
32140 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
32141 * manual/fdl-1.3.texi: New file.
32142 * manual/fdl-1.1.texi: File removed.
32143
74981cc5
RM
32144 [BZ #13738]
32145 * manual/libc.texinfo (FDL_VERSION): New @set.
32146 Use it for mention of FDL in cover text.
32147 (Documentation License): Use it in @include file name.
32148
7bb764bc
JM
321492012-02-22 Joseph Myers <joseph@codesourcery.com>
32150 Roland McGrath <roland@hack.frob.com>
32151
32152 [BZ #5461]
32153 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
32154 not LONG_LONG_MAX and LONG_LONG_MIN.
32155 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
32156 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
32157 name.
32158 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
32159
6cbeae47
JM
321602012-02-22 Joseph Myers <joseph@codesourcery.com>
32161
32162 [BZ #2547]
32163 [BZ #11365]
32164 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
32165 manipulate bits before adding and subtracting TWO23[sx].
32166 * math/libm-test.inc (nearbyint_test): Add more tests.
32167
fe45ce09
JM
321682012-02-22 Joseph Myers <joseph@codesourcery.com>
32169
32170 [BZ #2548]
32171 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
32172 bits before adding and subtracting TWO23[sx].
32173 * math/libm-test.inc (rint_test): Add more tests.
32174 (rint_test_tonearest): Likewise.
32175 (rint_test_towardzero): Likewise.
32176 (rint_test_downward): Likewise.
32177 (rint_test_upward: Likewise.
32178
ff3b3d82
JM
321792012-02-22 Joseph Myers <joseph@codesourcery.com>
32180
32181 [BZ #10110]
32182 * include/stdc-predef.h: New file. Extracted from features.h.
32183 * include/features.h: Include stdc-predef.h.
32184 * Makefile (headers): Add stdc-predef.h.
32185 * CONFORMANCE (Compiler limitations): Update.
32186
ef0aab35
JM
321872012-02-22 Joseph Myers <joseph@codesourcery.com>
32188
32189 * manual/libc.texinfo (VERSION, UPDATED): Revert.
32190
58639409
DM
321912012-02-21 David S. Miller <davem@davemloft.net>
32192
32193 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
32194 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32195
c0e70b25
DM
321962012-02-20 David S. Miller <davem@davemloft.net>
32197
32198 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
32199 using a normal save/restore sequence, rather than allocating a
32200 dummy stack frame just to store a frame pointer and restore.
32201 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32202
fb06851d
JM
322032012-02-21 Joseph Myers <joseph@codesourcery.com>
32204
32205 * manual/install.texi: Fix stray word in line-wrapped comment.
32206
7a8b71c3
DM
322072012-02-20 David S. Miller <davem@davemloft.net>
32208
d510c123
DM
32209 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
32210 both binutils and gcc support GOTDATA.
32211
0722d7c2
DM
32212 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
32213 "rd %pc" in the PIC register setup sequences.
32214
3d2b3019
DM
32215 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
32216 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
32217 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
32218 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
32219 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
32220 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32221 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32222 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
32223 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
32224 (SYSCALL_ERROR_HANDLER): Likewise.
32225 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
32226 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
32227 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
32228 (SYSCALL_ERROR_HANDLER): Likewise.
32229
c80098a9
DM
32230 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
32231 (HAVE_GCC_GOTDATA): New.
32232 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
32233 relocation support in both binutils and gcc.
32234 * sysdeps/sparc/elf/configure: Regenerate.
32235
3a2545a0
DM
32236 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
32237 * sysdeps/sparc/sparc32/elf/configure: Delete.
32238 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
32239 * sysdeps/sparc/sparc64/elf/configure: Delete.
32240 * sysdeps/sparc/elf/configure.in: New file.
32241 * sysdeps/sparc/elf/configure: Generate.
32242
7a8b71c3
DM
32243 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
32244 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
32245 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32246 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
32247 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
32248
f1e86fca
JM
322492012-02-21 Joseph Myers <joseph@codesourcery.com>
32250
32251 * manual/install.texi: Do not mention specific glibc version
32252 numbers.
32253 * manual/libc.texinfo (VERSION, UPDATED): Update.
32254 (@copying): Use @copyright{} and range of years.
32255
0e7dfaef
JM
322562012-02-21 Joseph Myers <joseph@codesourcery.com>
32257
32258 [BZ #13695]
32259 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
32260 [crti.S not in sysdirs] (generated): Do not append.
32261 [crti.S not in sysdirs] (omit-deps): Likewise.
32262 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
32263 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
32264 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
32265 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
32266 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
32267 Likewise.
32268 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
32269 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
32270 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
32271 * csu/defs.awk: Remove file.
32272 * sysdeps/generic/initfini.c: Likewise.
32273 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
32274 variable.
32275 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
32276 Likewise.
32277
599af3ca
JM
322782012-02-20 Joseph Myers <joseph@codesourcery.com>
32279
32280 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
32281 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
32282 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
32283 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
32284 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
32285 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
32286 <bits/epoll.h>.
32287 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
32288 (__EPOLL_PACKED): Define to empty if not defined by
32289 <bits/epoll.h>.
32290 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
32291 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32292 bits/epoll.h.
32293
0e499750
JM
322942012-02-20 Joseph Myers <joseph@codesourcery.com>
32295
32296 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
32297 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
32298 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
32299 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
32300 <bits/timerfd.h>.
32301 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
32302 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32303 bits/timerfd.h.
32304
5ad91f6e
JM
323052012-02-20 Joseph Myers <joseph@codesourcery.com>
32306
32307 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
32308 in C locale.
32309 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32310 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
32311 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
32312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32313
06b99b02
AJ
323142012-02-20 Aurelien Jarno <aurelien@aurel32.net>
32315
32316 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32317 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
32318
7638c0fd
AS
323192012-02-19 Andreas Schwab <schwab@linux-m68k.org>
32320
32321 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
32322 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
32323 defined.
32324 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
32325 Likewise.
32326 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
32327 entry for 2.16.
32328
92221550
AJ
323292012-02-19 Aurelien Jarno <aurelien@aurel32.net>
32330
32331 * math/w_acos.c: Use non-signaling floating-point comparisons.
32332 * math/w_acosf.c: Likewise.
32333 * math/w_acosh.c: Likewise.
32334 * math/w_acoshf.c: Likewise.
32335 * math/w_acoshl.c: Likewise.
32336 * math/w_acosl.c: Likewise.
32337 * math/w_asin.c: Likewise.
32338 * math/w_asinf.c: Likewise.
32339 * math/w_asinl.c: Likewise.
32340 * math/w_atanh.c: Likewise.
32341 * math/w_atanhf.c: Likewise.
32342 * math/w_atanhl.c: Likewise.
32343 * math/w_exp2.c: Likewise.
32344 * math/w_exp2f.c: Likewise.
32345 * math/w_exp2l.c: Likewise.
32346 * math/w_j0.c: Likewise.
32347 * math/w_j0f.c: Likewise.
32348 * math/w_j0l.c: Likewise.
32349 * math/w_j1.c: Likewise.
32350 * math/w_j1f.c: Likewise.
32351 * math/w_j1l.c: Likewise.
32352 * math/w_jn.c: Likewise.
32353 * math/w_jnf.c: Likewise.
32354 * math/w_log.c: Likewise.
32355 * math/w_log10.c: Likewise.
32356 * math/w_log10f.c: Likewise.
32357 * math/w_log10l.c: Likewise.
32358 * math/w_log2.c: Likewise.
32359 * math/w_log2f.c: Likewise.
32360 * math/w_log2l.c: Likewise.
32361 * math/w_logf.c: Likewise.
32362 * math/w_logl.c: Likewise.
32363 * math/w_sqrt.c: Likewise.
32364 * math/w_sqrtf.c: Likewise.
32365 * math/w_sqrtl.c: Likewise.
32366 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32367 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
32368 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32369 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
32370 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
32371
ebaf36eb
JM
323722012-02-19 Joseph Myers <joseph@codesourcery.com>
32373
32374 [BZ #9739]
32375 * manual/string.texi (strnlen): Use correct parameter name in
32376 equivalent expression.
32377
71c254a6
JM
323782012-02-19 Joseph Myers <joseph@codesourcery.com>
32379
32380 [BZ #11174]
32381 * manual/users.texi (seteuid): Consistently use neweuid for
32382 argument name.
32383
16d2c631
JM
323842012-02-19 Joseph Myers <joseph@codesourcery.com>
32385
32386 [BZ #13704]
32387 * manual/nss.texi (Services in the NSS configuration): Correct
32388 list of services in example configuration file.
32389
cd837b09
NB
323902012-02-19 Nick Bowler <nbowler@draconx.ca>
32391
32392 [BZ #11322]
32393 * manual/arith.texi: Remove statements about negative zero
32394 behaving identically to zero.
32395
02c4bbad
JM
323962012-02-18 Joseph Myers <joseph@codesourcery.com>
32397
32398 [BZ #5993]
32399 * manual/install.texi: Do not document upgrading from libc5.
32400
366842e7
JM
324012012-02-18 Joseph Myers <joseph@codesourcery.com>
32402
32403 [BZ #4596]
32404 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
32405
dd54084d
DM
324062012-02-18 David S. Miller <davem@davemloft.net>
32407
32408 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
32409 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
32410 %o7 across the call.
32411 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
32412 instead.
32413 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
32414 SETUP_PIC_REG_LEAF.
32415 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32416 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
32417 * sysdeps/sparc/crtn.S: Likewise.
32418
2bcc53a3
UD
324192012-02-17 Ulrich Drepper <drepper@gmail.com>
32420
32421 * aout/Makefile: Remove.
32422
09c093b5
RK
324232012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
32424
32425 [BZ #13058]
32426 * manual/examples/argp-ex1.c (main): Format definition in GNU
32427 style.
32428 * manual/examples/argp-ex2.c (main): Likewise.
32429 * manual/examples/argp-ex3.c (main): Likewise.
32430 * manual/examples/argp-ex4.c (main): Likewise.
32431 * manual/examples/longopt.c (main): Use new-style prototype
32432 definition.
32433 * manual/examples/strncat.c (main): Specify return type and use
32434 (void) for arguments.
32435 * manual/examples/subopt.c (main): Use char **argv argument.
32436
2ee633a2
JM
324372012-02-17 Joseph Myers <joseph@codesourcery.com>
32438
32439 [BZ #5077]
32440 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
32441 rounding modes.
32442
0520adde
FB
324432012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
32444
32445 [BZ #6907]
32446 * manual/string.texi (strchr): Change when strchrnul is
32447 recommended.
32448
3f4081cd
DGM
324492012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
32450
32451 [BZ #174]
32452 * manual/locale.texi (setlocale): Document LOCPATH.
32453
d1b10e78
JM
324542012-02-17 Joseph Myers <joseph@codesourcery.com>
32455
32456 [BZ #10210]
32457 * manual/process.texi (execle): Move @dots{} before last argument.
32458
79c6869c
PB
324592012-02-17 Paul Bolle <pebolle@tiscali.nl>
32460
32461 [BZ #12047]
32462 * manual/charset.texi (Generic Charset Conversion): Fix typo
32463 (LC_TYPE -> LC_CTYPE).
32464
cc6e48bc
NB
324652012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
32466
32467 [BZ #5805]
32468 * manual/arith.texi (scalbn): Use @var{} on parameter names.
32469 (scalbnf): Likewise.
32470 (scalbnl): Likewise.
32471 (scalbln): Likewise.
32472 (scalblnf): Likewise.
32473 (scalblnl): Likewise.
32474 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
32475 (vwarnx): Likewise.
32476 (verr): Likewise.
32477 (verrx): Likewise.
32478 * manual/filesys.texi (telldir): Use braces around return type.
32479 * manual/llio.texi (mmap): Add space after comma.
32480 (mmap64): Likewise.
32481 * manual/math.texi (jn): Use @var{} on parameter names.
32482 (jnf): Likewise.
32483 (jnl): Likewise.
32484 (yn): Likewise.
32485 (ynf): Likewise.
32486 (ynl): Likewise.
32487 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
32488 line.
32489 * manual/resource.texi (ulimit): Use @dots{} instead of literal
32490 "...".
32491 (sched_get_priority_min): Remove semicolon on @deftypefun line.
32492 (sched_get_priority_max): Likewise.
32493 * manual/signal.texi (sigvec): Add space after comma.
32494 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
32495 names.
32496 (if_indextoname): Likewise.
32497 (if_freenameindex): Likewise.
32498 (sendto): Use ',' instead of '.' in prototype.
32499 * manual/startup.texi (syscall): Use @dots{} instead of literal
32500 "...".
32501 * manual/stdio.texi (__fpending): Separate initial words of
32502 paragraph from @deftypefun line.
32503 * manual/syslog.texi (syslog): Use @dots{} instead of literal
32504 "...".
32505 (vsyslog): Use @var{} on parameter names.
32506 * manual/terminal.texi (stty): Use @var{} on parameter names.
32507 * manual/users.texi (getutmp): Use @var{} on parameter names.
32508 (getutmpx): Likewise.
32509
5b23062f
JM
325102012-02-17 Joseph Myers <joseph@codesourcery.com>
32511
32512 [BZ #6884]
32513 * manual/stdio.texi (fopen): Fix typos in description of
32514 ",ccs=STRING".
32515
8dee4833
AJ
325162012-02-17 Aurelien Jarno <aurelien@aurel32.net>
32517
32518 [BZ #4026]
32519 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
32520 get clock_id definition.
32521
9078ce93
TS
325222012-02-17 Thomas Schwinge <thomas@schwinge.name>
32523
32524 [BZ #4822]
32525 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
32526 (madvise): Cast every argument to void on its own.
32527
3835c55f
JM
325282012-02-17 Joseph Myers <joseph@codesourcery.com>
32529
32530 [BZ #9902]
32531 * manual/startup.texi (Exit Status): Fix typo.
32532
35c47e37
JM
325332012-02-17 Joseph Myers <joseph@codesourcery.com>
32534
32535 [BZ #10140]
32536 * manual/examples/argp-ex1.c: Include <stdlib.h>.
32537 * manual/examples/argp-ex2.c: Likewise.
32538 * manual/examples/argp-ex3.c: Likewise.
32539
e3b69ca7
RH
325402012-02-16 Richard Henderson <rth@redhat.com>
32541
32542 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
32543 * sysdeps/s390/s390-32/initfini.c: Remove.
32544 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
32545 * sysdeps/s390/s390-64/initfini.c: Remove.
32546
df83af67
KK
325472012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32548
32549 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
32550 compiler output for sysdeps/generic/initfini.c.
32551 * sysdeps/sh/elf/initfini.c: Remove file.
32552
f63f3380
DM
325532012-02-16 David S. Miller <davem@davemloft.net>
32554
fb59b3a4
DM
32555 [BZ #11494]
32556 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
32557
f63f3380
DM
32558 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
32559 * sysdeps/sparc/crti.S: New file.
32560 * sysdeps/sparc/crtn.S: New file.
32561 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
32562 * sysdeps/sparc/sparc64/Makefile: Likewise.
32563
df6a4a4a
MF
325642012-02-15 Mike Frysinger <vapier@gentoo.org>
32565
6dd8f3dc 32566 [BZ #3335]
df6a4a4a
MF
32567 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
32568
1cac7236
RM
325692012-02-15 Roland McGrath <roland@hack.frob.com>
32570
d2c736f8
RM
32571 [BZ #4822]
32572 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
32573
1cac7236
RM
32574 * mach/devstream.c (cookie_io_functions_t): Macro removed.
32575 (write, read, close): Likewise.
32576 Patch by Aurelien Jarno <aurelien@aurel32.net>.
32577
8e475601
JM
325782012-02-15 Joseph Myers <joseph@codesourcery.com>
32579
32580 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
32581 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
32582 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
32583 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
32584 <bits/signalfd.h>.
32585 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
32586 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32587 bits/signalfd.h.
32588
ed656b40
MP
325892012-02-14 Marek Polacek <polacek@redhat.com>
32590
32591 * sysdeps/x86_64/crti.S: New file.
32592 * sysdeps/x86_64/crtn.S: New file.
32593 * sysdeps/x86_64/elf/initfini.c: Remove file.
32594
2a979d3a
JM
325952012-02-13 Joseph Myers <joseph@codesourcery.com>
32596
32597 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
32598 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
32599 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
32600 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
32601 <bits/inotify.h>.
32602 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
32603 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32604 bits/inotify.h.
32605
2a418ac3
JM
326062012-02-13 Joseph Myers <joseph@codesourcery.com>
32607
32608 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
32609 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
32610 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
32611 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
32612 <bits/eventfd.h>.
32613 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
32614 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32615 bits/eventfd.h.
32616
fb779be7
TS
326172012-02-10 Thomas Schwinge <thomas@codesourcery.com>
32618
e19e83c5
RM
32619 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
32620 __feraiseexcept instead of feraiseexcept.
7c35ffed 32621
fb779be7
TS
32622 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
32623 nanosleep invocations.
32624 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
32625 strings, and add error checking for a nanosleep invocations.
32626
59ba27a6
PE
326272012-02-09 Paul Eggert <eggert@cs.ucla.edu>
32628
32629 Replace FSF snail mail address with URLs, as per GNU coding standards.
32630 Most of the snail mail addresses were wrong anyway, and omitting
32631 them makes the source code easier to maintain. Almost all of the
32632 changes are to license notices and to locale LC_IDENTIFICATION
32633 addresses, except for this one:
32634 * manual/libc.texinfo: In "Published by", give the FSF's URL,
32635 not its snail mail address.
32636
57b957eb
RH
326372012-02-09 Richard Henderson <rth@twiddle.net>
32638
af850b1c
RH
32639 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
32640 of kernel-features.h.
32641
57b957eb
RH
32642 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
32643
6b73181a
MP
326442012-02-08 Marek Polacek <polacek@redhat.com>
32645
32646 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
32647 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
32648 * sysdeps/gnu/_G_config.h: Likewise.
32649 * sysdeps/generic/_G_config.h: Likewise.
32650
26ecc33a
AS
326512012-02-08 Andreas Schwab <schwab@linux-m68k.org>
32652
6c6dbc63
AS
32653 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
32654 tests.
32655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32656
e216c012
AS
32657 * sysdeps/powerpc/powerpc32/crti.S: New file.
32658 * sysdeps/powerpc/powerpc32/crtn.S: New file.
32659 * sysdeps/powerpc/powerpc64/crti.S: New file.
32660 * sysdeps/powerpc/powerpc64/crtn.S: New file.
32661
26ecc33a
AS
32662 * Makeconfig (have-initfini): Don't set.
32663 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
32664 * configure.in (nopic_initfini): Don't substitute.
32665 * config.h.in (HAVE_INITFINI): Don't #undef.
32666 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
32667 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
32668
3add8e13
JM
326692012-02-08 Joseph Myers <joseph@codesourcery.com>
32670
32671 Support crti.S and crtn.S provided directly by architectures.
32672 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
32673 [crti.S in sysdirs] (omit-deps): Likewise.
32674 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
32675 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
32676 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
32677 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
32678 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
32679 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
32680 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
32681 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
32682 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
32683 compiler output for sysdeps/generic/initfini.c.
32684 * sysdeps/i386/elf/Makefile: Remove file.
32685 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
32686
a22f12b4
MP
326872012-02-07 Marek Polacek <polacek@redhat.com>
32688
32689 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
32690 * sysdeps/gnu/_G_config.h: Likewise.
32691 * sysdeps/mach/hurd/_G_config.h: Likewise.
32692
148cf100
MP
326932012-02-07 Marek Polacek <polacek@redhat.com>
32694
32695 * math/Makefile (tests): Add tst-CMPLX2.
32696 * math/tst-CMPLX2.c: New file.
32697
cfdc0dd7
AS
326982012-02-07 Andreas Schwab <schwab@linux-m68k.org>
32699
84ba42c4
AS
32700 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32701
cfdc0dd7
AS
32702 * math/libm-test.inc (jn_test): Add missing L suffix.
32703
622c86f4
MP
327042012-02-06 Marek Polacek <polacek@redhat.com>
32705
32706 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
32707 * sysdeps/i386/fpu/e_powf.S: Likewise.
32708 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
32709 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32710 * sysdeps/i386/fpu/e_acosh.S: Likewise.
32711 * sysdeps/i386/fpu/e_pow.S: Likewise.
32712 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
32713 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
32714 * sysdeps/i386/fpu/s_expm1.S: Likewise.
32715 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
32716 * sysdeps/i386/fpu/e_log2.S: Likewise.
32717 * sysdeps/i386/fpu/e_log2l.S: Likewise.
32718 * sysdeps/i386/fpu/e_scalb.S: Likewise.
32719 * sysdeps/i386/fpu/e_powl.S: Likewise.
32720 * sysdeps/i386/fpu/s_log1p.S: Likewise.
32721 * sysdeps/i386/fpu/e_log10f.S: Likewise.
32722 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
32723 * sysdeps/i386/fpu/e_logl.S: Likewise.
32724 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
32725 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
32726 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
32727 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
32728 * sysdeps/i386/fpu/e_log2f.S: Likewise.
32729 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
32730 * sysdeps/i386/fpu/e_log.S: Likewise.
32731 * sysdeps/i386/fpu/s_cexp.S: Likewise.
32732 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
32733 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
32734 * sysdeps/i386/fpu/e_logf.S: Likewise.
32735 * sysdeps/i386/fpu/e_log10l.S: Likewise.
32736 * sysdeps/i386/fpu/e_atanh.S: Likewise.
32737 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
32738 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
32739 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32740 * sysdeps/i386/fpu/e_log10.S: Likewise.
32741 * sysdeps/i386/fpu/s_frexp.S: Likewise.
32742 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
32743 * sysdeps/i386/fpu/s_asinh.S: Likewise.
32744 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
32745 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
32746 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
32747 * sysdeps/i386/asm-syntax.h: Likewise.
32748 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32749 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32750 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32751 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
32752 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
32753 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32754 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
32755 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
32756 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32757 * sysdeps/powerpc/sysdep.h: Likewise.
32758 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
32759 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
32760
d4a54ac6
JM
327612012-02-06 Joseph Myers <joseph@codesourcery.com>
32762
32763 [BZ #411]
32764 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
32765
314054ea
JM
327662012-02-06 Joseph Myers <joseph@codesourcery.com>
32767
32768 * sysdeps/i386/sysdep.h: Include <features.h>.
32769 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
32770 version.
32771
d8e0ca50
JM
327722012-02-05 Joseph Myers <joseph@codesourcery.com>
32773
32774 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
32775 Define.
32776 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
32777 LOAD_PIC_REG_STR.
32778
b1da7dd9
JM
327792012-02-03 Joseph Myers <joseph@codesourcery.com>
32780
32781 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
32782 (SETUP_PIC_REG): Use GET_PC_THUNK.
32783 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
32784 macro.
32785
9a1d9254
JM
327862012-02-03 Joseph Myers <joseph@codesourcery.com>
32787
32788 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
32789 for non-PIC compilation.
32790 (SETUP_PIC_REG): Add .p2align directive.
32791 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
32792 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32793 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32794 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32795 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32796 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32797 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32798 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32799 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32800 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32801 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32802 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32803 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32804 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32805 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32806 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32807 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32808 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32809 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32810 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32811 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32812 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32813 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32814 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32815 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32816 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32817 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32818 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32819 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32820 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32821 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32822 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32823 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32824 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32825 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32826 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32827 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32828 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32829 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32830 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32831 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32832
65dc3b75
JM
328332012-02-03 Joseph Myers <joseph@codesourcery.com>
32834
32835 * math/tst-CMPLX.c: Include <stdio.h>.
32836
d55bf177
JM
328372012-01-31 Joseph Myers <joseph@codesourcery.com>
32838
32839 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
32840 float.
32841 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
32842 * sysdeps/sparc/bits/mathdef.h: Likewise.
32843
69db4f8f
MP
328442012-01-31 Marek Polacek <polacek@redhat.com>
32845
32846 * libio/libio.h: Don't define _PARAMS.
32847 * locale/programs/config.h: Don't define PARAMS.
32848 * stdlib/strtol_l.c: Likewise.
32849 (__strtol_l): Remove PARAMS from the prototype.
32850
41b81892
UD
328512012-01-31 Ulrich Drepper <drepper@gmail.com>
32852
3b49edc0
UD
32853 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
32854 names. Just use the correct names. Remove unnecessary wrapper
32855 functions.
32856 * malloc/arena.c: Likewise.
32857 * malloc/hooks.c: Likewise.
32858
41b81892
UD
32859 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
32860 ARENA_TEST says not to. Simplify test for creation of a new arena.
32861 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
32862
27a25b6e
UD
328632012-01-30 Ulrich Drepper <drepper@gmail.com>
32864
32865 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
32866 into tail calls.
32867 (update_get_addr): New function.
32868 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
32869 GET_ADDR_MODULE parameter.
32870
c8a89e7d
JM
328712012-01-30 Joseph Myers <joseph@codesourcery.com>
32872
32873 * crypt/cert.c: Remove __STDC__ conditionals.
32874 * crypt/crypt-entry.c: Likewise.
32875 * crypt/crypt_util.c: Likewise.
32876 * libio/filedoalloc.c: Likewise.
32877 * libio/fileops.c: Likewise.
32878 * libio/genops.c: Likewise.
32879 * libio/iofclose.c: Likewise.
32880 * libio/iofdopen.c: Likewise.
32881 * libio/iofopen.c: Likewise.
32882 * libio/iofopen64.c: Likewise.
32883 * libio/iogetdelim.c: Likewise.
32884 * libio/iopopen.c: Likewise.
32885 * libio/obprintf.c: Likewise.
32886 * libio/oldfileops.c: Likewise.
32887 * libio/oldiofclose.c: Likewise.
32888 * libio/oldiofdopen.c: Likewise.
32889 * libio/oldiofopen.c: Likewise.
32890 * libio/oldiopopen.c: Likewise.
32891 * libio/wfiledoalloc.c: Likewise.
32892 * libio/wgenops.c: Likewise.
32893 * locale/programs/xmalloc.c: Likewise.
32894 * misc/syslog.c: Likewise.
32895 * stdio-common/xbug.c: Likewise.
32896 * string/memchr.c: Likewise.
32897 * string/memcmp.c: Likewise.
32898 * string/memrchr.c: Likewise.
32899 * string/rawmemchr.c: Likewise.
32900 * sysdeps/posix/getcwd.c: Likewise.
32901 * time/strftime_l.c: Likewise.
32902
3b100462
JM
329032012-01-30 Joseph Myers <joseph@codesourcery.com>
32904
32905 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
32906 * config.make.in (config-cflags-sse2avx): Define.
32907 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
32908 Fix typo.
32909
607998af
CM
329102012-01-29 Chris Metcalf <cmetcalf@tilera.com>
32911
32912 * scripts/config.guess: Update from upstream config git repository.
32913 * scripts/config.sub: Likewise.
32914
3601428f
CM
329152012-01-28 Chris Metcalf <cmetcalf@tilera.com>
32916
3ac8b282
CM
32917 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
32918 (EM_NUM): Update.
32919 (R_TILEPRO_*, R_TILEGX_*): New macros.
32920
e034841e
CM
32921 * scripts/firstversions.awk: Fix bug in version range handling.
32922
540d7568
CM
32923 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
32924
3601428f
CM
32925 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
32926
463de862
CM
32927 * include/sys/epoll.h: New file.
32928 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
32929 libc_hidden_def.
32930
73139a76
UD
329312012-01-28 Ulrich Drepper <drepper@gmail.com>
32932
96bc5b45
UD
32933 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
32934 Avoid unnecessary __WORDSIZE == 64 test.
32935 (fmaxf): Use VEX format if possible.
32936 (fmax): Likewise.
32937 (fminf): Likewise.
32938 (fmin): Likewise.
32939
56f6f6a2
UD
32940 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
32941 * math/math_private.h: Remove libc_fegetround* and
32942 libc_fesetround*.
32943 * sysdeps/i386/configure.in: Check for -msse2avx.
32944 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
32945 also if SSE2AVX is defined.
32946 Remove libc_fegetround* and libc_fesetround*.
32947 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
32948 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
32949 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
32950 of HAS_YMM_USABLE.
32951 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32952 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32953 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32954 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32955 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32956
73139a76
UD
32957 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
32958
d73f93a4
AZ
329592012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32960
32961 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
32962 size is not set.
32963 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
32964
6ee65ed6
UD
329652012-01-27 Ulrich Drepper <drepper@gmail.com>
32966
32967 [BZ #13618]
32968 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
32969 relocation.
32970 * Makeconfig (libm): Define.
32971 * elf/Makefile: Add rules to build and run tst-relsort1.
32972 * elf/tst-relsort1.c: New file.
32973 * elf/tst-relsort1mod1.c: New file.
32974 * elf/tst-relsort1mod2.c: New file.
32975
8db21882
JM
329762012-01-27 Joseph Myers <joseph@codesourcery.com>
32977
32978 * math/s_ldexp.c: Remove __STDC__ conditionals.
32979 * math/s_ldexpf.c: Likewise.
32980 * math/s_ldexpl.c: Likewise.
32981 * math/s_nextafter.c: Likewise.
32982 * math/s_nexttowardf.c: Likewise.
32983 * math/s_significand.c: Likewise.
32984 * math/s_significandf.c: Likewise.
32985 * math/s_significandl.c: Likewise.
32986 * math/w_jnl.c: Likewise.
32987 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32988 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32989 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32990 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32991 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32992 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32993 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
32994 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32995 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32996 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32997 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32998 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32999 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33000 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33001 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33002 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33003 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33004 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33005 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33006 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33007 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33008 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33009 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33010 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33011 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33012 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33013 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33014 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33015 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33016 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33017 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33018 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33019 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33020 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33021 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33022 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33023 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33024 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33025 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33026 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33027 * sysdeps/ieee754/k_standard.c: Likewise.
33028 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33029 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33030 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33031 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33032 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33033 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33034 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33035 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33036 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33037 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33038 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33039 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33040 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33041 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33042 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33043 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33044 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33045 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33046 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33047 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33048 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33049 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33050 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33051 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33052 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33053 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33054 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33055 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33056 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33057 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33058 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33059 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
33060 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33061 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33062 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33063 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33064 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
33065 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33066 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33067 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
33068 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
33069 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33070 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
33071 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
33072 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33073 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33074 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
33075 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33076 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33077 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
33078 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
33079 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33080 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33081 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33082 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33083 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33084 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
33085 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33086 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33087 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33088 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33089 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33090 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33091 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33092 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33093 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33094 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33095 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33096 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33097 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33098 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33099 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33100 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33101 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33102 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33103 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33104 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33105 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33106 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33107 * sysdeps/ieee754/s_matherr.c: Likewise.
33108 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33109 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33110 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33111 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
33112
965a54a4
JM
331132012-01-26 Joseph Myers <joseph@codesourcery.com>
33114
33115 * crypt/md5.h: Remove __STDC__ conditionals.
33116 * libio/libioP.h: Likewise.
33117 * locale/programs/config.h: Likewise.
33118 * sysdeps/generic/sysdep.h: Likewise.
33119 * sysdeps/i386/asm-syntax.h: Likewise.
33120 * sysdeps/s390/asm-syntax.h: Likewise.
33121 * sysdeps/unix/sysdep.h: Likewise.
33122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33124
7071ad79
JM
331252012-01-26 Joseph Myers <joseph@codesourcery.com>
33126
33127 * libio/libio.h: Remove __STDC__ conditionals.
33128 * malloc/obstack.h: Likewise.
33129 * math/complex.h: Likewise.
33130 * math/math.h: Likewise.
33131 * sysdeps/generic/_G_config.h: Likewise.
33132 * sysdeps/gnu/_G_config.h: Likewise.
33133 * sysdeps/mach/hurd/_G_config.h: Likewise.
33134 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33135 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
33136 * sysdeps/sparc/bits/mathdef.h: Likewise.
33137
afc5ed09
UD
331382012-01-26 Ulrich Drepper <drepper@gmail.com>
33139
33140 [BZ #13583]
33141 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 33142 Clean up HAS_* macros.
afc5ed09 33143 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
33144 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
33145 possible.
33146 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
33147 HAS_AVX.
33148 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33149 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33150 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33151 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33152 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 33153
bdb6de1d
JM
331542012-01-25 Joseph Myers <joseph@codesourcery.com>
33155
33156 * elf/tst-unique3.cc (gets): Remove declaration.
33157 * elf/tst-unique3lib.cc (gets): Likewise.
33158 * elf/tst-unique3lib2.cc (gets): Likewise.
33159 * elf/tst-unique4.cc (gets): Likewise.
33160
b15549e6
UD
331612012-01-24 Ulrich Drepper <drepper@gmail.com>
33162
33163 * include/stdio.h: Add C++ protection. Add gets declarations and
33164 definitions.
33165 * debug/tst-chk1.c: Don't declare gets here.
33166 * stdio-common/tst-gets.c: Likewise.
33167
a037381f
JM
331682012-01-24 Joseph Myers <joseph@codesourcery.com>
33169
33170 * posix/glob: Remove directory.
33171
f1d4aa75
JM
331722012-01-24 Joseph Myers <joseph@codesourcery.com>
33173
33174 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
33175
81c0c964
PT
331762012-01-22 Pino Toscano <toscano.pino@tiscali.it>
33177
33178 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
33179 of the non-standard EPFNOSUPPORT.
33180
0ea698ae
ST
331812011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
33182
33183 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
33184 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
33185 ANYWHERE set to 1 only on KERN_NO_SPACE error.
33186
d220b117
UD
331872012-01-21 Ulrich Drepper <drepper@gmail.com>
33188
33189 * wcsmbs/uchar.h: Test __STDC_VERSION__.
33190
3e1aa84e
UD
331912012-01-20 Ulrich Drepper <drepper@gmail.com>
33192
33193 * nscd/aicache.c (addhstaiX): Do not cache negative results of
33194 transient errors.
33195 * nscd/grpcache.c (cache_addgr): Likewise.
33196 * nscd/hstcache.c (cache_addhst): Likewise.
33197 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33198 * nscd/pwdcache.c (cache_addpw): Likewise.
33199 * nscd/servicescache.c (cache_addserv): Likewise.
33200
400aa020
UD
332012012-01-16 Ulrich Drepper <drepper@gmail.com>
33202
d77e7869
UD
33203 * malloc/malloc.c: Various cleanups.
33204 * malloc/hooks.c: Likewise.
33205
400aa020
UD
33206 * stdlib/Makefile (tests): Add bug-fmtmsg1.
33207 * stdlib/bug-fmtmsg1.c: New file.
33208
33209 * stdlib/fmtmsg.c (init): Add missing unlock.
33210 Patch by Peng Haitao <penght@cn.fujitsu.com>.
33211
e0a309cf
MP
332122012-01-12 Marek Polacek <polacek@redhat.com>
33213
33214 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
33215 and _GNU_SOURCE.
33216
929d11c7
WS
332172012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
33218
33219 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
33220 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
33221 macro to ensure uniqueness of label name.
33222 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33223 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33224
41d0e869
UD
332252012-01-11 Ulrich Drepper <drepper@gmail.com>
33226
0cc5ed3b
UD
33227 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
33228
41d0e869
UD
33229 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
33230 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33231 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33232 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
33233
a47a831a
UD
332342012-01-10 Ulrich Drepper <drepper@gmail.com>
33235
daa891c0
UD
33236 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
33237
33238 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
33239 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33240 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33241
e58ef0f2
UD
33242 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
33243
a47a831a 33244 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
33245 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33246 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 33247 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
33248
33249 * math/bits/math-finite.h: Add ldexp support.
33250
a0bfc9c7
MP
332512012-01-10 Marek Polacek <polacek@redhat.com>
33252
33253 * locale/programs/localedef.h (show_archive_content): Add noreturn
33254 attribute.
33255
d6e97a1d
UD
332562012-01-09 Ulrich Drepper <drepper@gmail.com>
33257
33258 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
33259
d5835c26
UD
332602012-01-08 Ulrich Drepper <drepper@gmail.com>
33261
e5f484c6
UD
33262 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
33263
d5835c26
UD
33264 * io/Makefile (headers): Add bits/poll2.h.
33265
d1f741e9
WS
332662011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
33267
33268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
33269 typo #include statement.
33270
ec09c1c4
UD
332712012-01-08 Ulrich Drepper <drepper@gmail.com>
33272
33273 * include/sys/cdefs.h: Define __attribute_alloc_size.
33274 * catgets/gencat.c: Add alloc_size attribute and apply consistently
33275 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
33276 * elf/pldd.c: Likewise.
33277 * iconv/iconv_charmap.c: Likewise.
33278 * iconv/iconvconfig.c: Likewise.
33279 * iconv/strtab.c: Likewise.
33280 * locale/programs/locale.c: Likewise.
33281 * locale/programs/localedef.h: Likewise.
33282 * locale/programs/simple-hash.c: Likewise.
33283 * nscd/nscd.h: Likewise.
33284 * nss/makedb.c: Likewise.
33285 * sysdeps/generic/ldconfig.h: Likewise.
33286 * locale/programs/localedef.c: Remove xmalloc prototype.
33287 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
33288
20b38e03
PP
332892012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33290
33291 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
33292 appropriate.
33293
a0da5fe1
UD
332942012-01-08 Ulrich Drepper <drepper@gmail.com>
33295
1d5a644a 33296 * math/Makefile (tests): Add tst-CMPLX.
669704fd 33297 * math/tst-CMPLX.c: New file.
1d5a644a 33298
8784a6db
UD
33299 * math/complex.h (CMPLXL): Fix typo.
33300
d9a216c0
UD
33301 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
33302 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
33303 GLIBC_2.16.
33304 * debug/tst-chk1.c: Add poll and ppoll tests.
33305 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
33306 * include/sys/poll.h: Add hidden proto for ppoll.
33307 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
33308 * sysdeps/mach/hurd/ppoll.c: Likewise.
33309 * io/ppoll.c: Likewise.
33310 * debug/poll_chk.c: New file.
33311 * debug/ppoll_chk.c: New file.
33312 * include/bits/poll2.h: New file.
33313 * io/bits/poll2.h: New file.
33314
ac097f5c
UD
33315 [BZ #1350]
33316 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
33317
2119dcfa
UD
33318 * configure.in: static is always set to yes. Remove.
33319 * config.make.in: Don't set build-static.
33320 * Makeconfig: Remove use of build-static.
33321 * dlfcn/Makefile: Likewise.
33322 * elf/Makefile: Likewise.
33323 * math/Makefile: Likewise.
33324 * misc/Makefile: Likewise.
33325 * nptl/Makefile: Likewise.
33326 * sysdeps/mach/hurd/Makefile: Likewise.
33327
121766a9
UD
33328 * configure.in: PWD_P is not used anymore.
33329 * config.make.in: Remove PWD_P entry.
33330
51a1d39c 33331 * configure.in: Remove last remnants of RANLIB.
8720d066 33332 No need to check for signed size_t anymore.
215f4bdc
UD
33333 Don't set libc_commonpagesize and libc_relro_required here for Alpha
33334 and IA-64.
3857022a 33335 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
33336 * aclocal.m4: Likewise.
33337
d3ed7225
UD
33338 * wcsmbs/mbrtoc16.c: Implement using towc function.
33339 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
33340 * wcsmbs/wcsmbsload.c: Likewise.
33341 * iconv/gconv_simple.c: Likewise.
33342 * iconv/gconv_int.h: Likewise.
33343 * iconv/gconv_builtin.h: Likewise.
33344 * iconv/iconv_prog.c: Remove CHAR16 handling.
33345
33346 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
33347
33348 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
33349
a0da5fe1
UD
33350 * configure.in: Remove --with-elf and --enable-bounded options.
33351 Dont set base_machine for ia64. More non-ELF conditions removed.
33352 Remove testing and setting of leading underscore information.
33353 * config.make.in (build-bounded): Set to no.
33354 * config.h.in: Remove NO_UNDERSCORES entry.
33355 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
33356 them.
33357 * csu/start.c: Remove !NO_UNDERSCORE code.
33358 * locale/localeinfo.h: Likewise.
33359 * sysdeps/generic/machine-gmon.h: Likewise.
33360 * sysdeps/generic/sysdep.h: Likewise.
33361 * sysdeps/i386/sysdep.h: Likewise.
33362 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33363 * sysdeps/mach/sysdep.h: Likewise.
33364 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33365 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33366 * sysdeps/sh/sysdep.h: Likewise.
33367 * sysdeps/sparc/sparc32/alloca.S: Likewise.
33368 * sysdeps/unix/i386/sysdep.S: Likewise.
33369 * sysdeps/unix/sparc/start.c: Likewise.
33370 * sysdeps/unix/sparc/sysdep.S: Likewise.
33371 * sysdeps/unix/sparc/sysdep.h: Likewise.
33372 * sysdeps/unix/start.c: Likewise.
33373 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33374 * sysdeps/x86_64/sysdep.h: Likewise.
33375
df78418a
UD
333762012-01-07 Ulrich Drepper <drepper@gmail.com>
33377
a784e502
UD
33378 [BZ #13553]
33379 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
33380 for non-gcc.
33381 * argp/argp-fmtstream.h: Use const instead __const.
33382 * argp/argp.h: Likewise.
33383 * assert/assert.h: Likewise.
33384 * bits/fenv.h: Likewise.
33385 * bits/sched.h: Likewise.
33386 * bits/sigset.h: Likewise.
33387 * bits/sigthread.h: Likewise.
33388 * catgets/nl_types.h: Likewise.
33389 * conform/data/pthread.h-data: Likewise.
33390 * crypt/crypt-private.h: Likewise.
33391 * crypt/crypt.h: Likewise.
33392 * crypt/crypt_util.c: Likewise.
33393 * ctype/ctype.h: Likewise.
33394 * debug/execinfo.h: Likewise.
33395 * debug/mbsnrtowcs_chk.c: Likewise.
33396 * debug/mbsrtowcs_chk.c: Likewise.
33397 * debug/wcsnrtombs_chk.c: Likewise.
33398 * debug/wcsrtombs_chk.c: Likewise.
33399 * debug/wcstombs_chk.c: Likewise.
33400 * dirent/dirent.h: Likewise.
33401 * dlfcn/dlfcn.h: Likewise.
33402 * elf/neededtest4.c: Likewise.
33403 * grp/grp.h: Likewise.
33404 * gshadow/gshadow.h: Likewise.
33405 * iconv/gconv.h: Likewise.
33406 * iconv/gconv_int.h: Likewise.
33407 * iconv/gconv_simple.c: Likewise.
33408 * iconv/iconv.h: Likewise.
33409 * iconv/loop.c: Likewise.
33410 * iconv/skeleton.c: Likewise.
33411 * include/aio.h: Likewise.
33412 * include/aliases.h: Likewise.
33413 * include/argz.h: Likewise.
33414 * include/arpa/inet.h: Likewise.
33415 * include/assert.h: Likewise.
33416 * include/dirent.h: Likewise.
33417 * include/dlfcn.h: Likewise.
33418 * include/execinfo.h: Likewise.
33419 * include/fcntl.h: Likewise.
33420 * include/fenv.h: Likewise.
33421 * include/glob.h: Likewise.
33422 * include/grp.h: Likewise.
33423 * include/libintl.h: Likewise.
33424 * include/mntent.h: Likewise.
33425 * include/netdb.h: Likewise.
33426 * include/pwd.h: Likewise.
33427 * include/rpc/netdb.h: Likewise.
33428 * include/sched.h: Likewise.
33429 * include/search.h: Likewise.
33430 * include/shadow.h: Likewise.
33431 * include/signal.h: Likewise.
33432 * include/stdio.h: Likewise.
33433 * include/stdlib.h: Likewise.
33434 * include/string.h: Likewise.
33435 * include/sys/socket.h: Likewise.
33436 * include/sys/stat.h: Likewise.
33437 * include/sys/statfs.h: Likewise.
33438 * include/sys/statvfs.h: Likewise.
33439 * include/sys/syslog.h: Likewise.
33440 * include/sys/time.h: Likewise.
33441 * include/sys/uio.h: Likewise.
33442 * include/time.h: Likewise.
33443 * include/unistd.h: Likewise.
33444 * include/utmp.h: Likewise.
33445 * include/wchar.h: Likewise.
33446 * include/wctype.h: Likewise.
33447 * inet/aliases.h: Likewise.
33448 * inet/arpa/inet.h: Likewise.
33449 * inet/netinet/ether.h: Likewise.
33450 * inet/netinet/in.h: Likewise.
33451 * intl/libintl.h: Likewise.
33452 * io/bits/fcntl2.h: Likewise.
33453 * io/fcntl.h: Likewise.
33454 * io/ftw.h: Likewise.
33455 * io/sys/poll.h: Likewise.
33456 * io/sys/stat.h: Likewise.
33457 * io/sys/statfs.h: Likewise.
33458 * io/sys/statvfs.h: Likewise.
33459 * io/utime.h: Likewise.
33460 * libio/bits/stdio.h: Likewise.
33461 * libio/bits/stdio2.h: Likewise.
33462 * libio/libio.h: Likewise.
33463 * libio/libioP.h: Likewise.
33464 * libio/stdio.h: Likewise.
33465 * locale/lc-ctype.c: Likewise.
33466 * locale/locale.h: Likewise.
33467 * login/utmp.h: Likewise.
33468 * malloc/arena.c: Likewise.
33469 * malloc/malloc.c: Likewise.
33470 * malloc/malloc.h: Likewise.
33471 * malloc/mcheck.c: Likewise.
33472 * malloc/mtrace.c: Likewise.
33473 * math/bits/mathcalls.h: Likewise.
33474 * math/fenv.h: Likewise.
33475 * math/math_private.h: Likewise.
33476 * misc/bits/error.h: Likewise.
33477 * misc/bits/syslog.h: Likewise.
33478 * misc/err.h: Likewise.
33479 * misc/error.h: Likewise.
33480 * misc/fstab.h: Likewise.
33481 * misc/mntent.h: Likewise.
33482 * misc/regexp.h: Likewise.
33483 * misc/search.h: Likewise.
33484 * misc/sgtty.h: Likewise.
33485 * misc/sys/mman.h: Likewise.
33486 * misc/sys/syslog.h: Likewise.
33487 * misc/sys/uio.h: Likewise.
33488 * misc/sys/xattr.h: Likewise.
33489 * misc/ttyent.h: Likewise.
33490 * nis/rpcsvc/ypclnt.h: Likewise.
33491 * nss/nss.h: Likewise.
33492 * posix/bits/unistd.h: Likewise.
33493 * posix/fnmatch.h: Likewise.
33494 * posix/glob.h: Likewise.
33495 * posix/sched.h: Likewise.
33496 * posix/spawn.h: Likewise.
33497 * posix/sys/wait.h: Likewise.
33498 * posix/unistd.h: Likewise.
33499 * posix/wordexp.h: Likewise.
33500 * pwd/pwd.h: Likewise.
33501 * resolv/netdb.h: Likewise.
33502 * resource/sys/resource.h: Likewise.
33503 * rt/aio.h: Likewise.
33504 * rt/bits/mqueue2.h: Likewise.
33505 * rt/mqueue.h: Likewise.
33506 * shadow/shadow.h: Likewise.
33507 * signal/signal.h: Likewise.
33508 * socket/send.c: Likewise.
33509 * socket/sendto.c: Likewise.
33510 * socket/sys/socket.h: Likewise.
33511 * stdio-common/printf.h: Likewise.
33512 * stdlib/bits/stdlib.h: Likewise.
33513 * stdlib/fmtmsg.h: Likewise.
33514 * stdlib/monetary.h: Likewise.
33515 * stdlib/stdlib.h: Likewise.
33516 * stdlib/ucontext.h: Likewise.
33517 * streams/stropts.h: Likewise.
33518 * string/argz.h: Likewise.
33519 * string/bits/string2.h: Likewise.
33520 * string/string.h: Likewise.
33521 * string/strings.h: Likewise.
33522 * sunrpc/rpc/auth.h: Likewise.
33523 * sunrpc/rpc/auth_des.h: Likewise.
33524 * sunrpc/rpc/clnt.h: Likewise.
33525 * sunrpc/rpc/netdb.h: Likewise.
33526 * sunrpc/rpc/pmap_clnt.h: Likewise.
33527 * sunrpc/rpc/xdr.h: Likewise.
33528 * sysdeps/generic/inttypes.h: Likewise.
33529 * sysdeps/generic/net/if.h: Likewise.
33530 * sysdeps/generic/sys/swap.h: Likewise.
33531 * sysdeps/gnu/net/if.h: Likewise.
33532 * sysdeps/gnu/utmpx.h: Likewise.
33533 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
33534 * sysdeps/i386/i486/bits/string.h: Likewise.
33535 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
33536 * sysdeps/s390/bits/string.h: Likewise.
33537 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
33538 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
33539 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
33540 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
33541 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
33542 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
33543 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
33544 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
33545 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
33546 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
33547 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
33548 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
33549 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
33550 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
33551 * sysdeps/unix/sysv/linux/readv.c: Likewise.
33552 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
33553 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
33554 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33555 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
33556 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
33557 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33558 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
33559 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
33560 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
33561 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
33562 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
33563 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
33564 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33565 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
33566 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
33567 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
33568 * sysvipc/sys/ipc.h: Likewise.
33569 * sysvipc/sys/msg.h: Likewise.
33570 * sysvipc/sys/sem.h: Likewise.
33571 * sysvipc/sys/shm.h: Likewise.
33572 * termios/termios.h: Likewise.
33573 * time/sys/time.h: Likewise.
33574 * time/time.h: Likewise.
33575 * wcsmbs/bits/wchar2.h: Likewise.
33576 * wcsmbs/uchar.h: Likewise.
33577 * wcsmbs/wchar.h: Likewise.
33578 * wctype/wctype.h: Likewise.
33579
0269750c
UD
33580 [BZ #13551]
33581 * Makeconfig: Remove all but ELF support including AIX support.
33582 * Makerules: Likewise.
33583 * config.h.in: Likewise.
33584 * config.make.in: Likewise.
33585 * configure: Likewise.
33586 * configure.in: Likewise.
33587 * csu/Makefile: Likewise.
33588 * csu/version.c: Likewise.
33589 * debug/Makefile: Likewise.
33590 * dlfcn/Makefile: Likewise.
33591 * elf/Makefile: Likewise.
33592 * extra-lib.mk: Likewise.
33593 * iconv/Makefile: Likewise.
33594 * include/libc-symbols.h: Likewise.
33595 * include/shlib-compat.h: Likewise.
33596 * resolv/Makefile: Likewise.
33597 * resolv/res_libc.c: Likewise.
33598 * rt/Makefile: Likewise.
33599 * sysdeps/i386/asm-syntax.h: Likewise.
33600 * sysdeps/i386/sysdep.h: Likewise.
33601 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
33602 * sysdeps/mach/sysdep.h: Likewise.
33603 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
33604 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
33605 * sysdeps/s390/asm-syntax.h: Likewise.
33606 * sysdeps/s390/s390-32/sysdep.h: Likewise.
33607 * sysdeps/s390/s390-64/sysdep.h: Likewise.
33608 * sysdeps/sh/sysdep.h: Likewise.
33609 * sysdeps/unix/sparc/sysdep.h: Likewise.
33610 * sysdeps/wordsize-32/divdi3.c: Likewise.
33611 * sysdeps/x86_64/sysdep.h: Likewise.
33612
00bbd29b
UD
33613 * argp/Versions: Remove _argp_unlock_xxx.
33614
33615 [BZ #13559]
33616 * abilist/ld.abilist: Update. Adjust for removal of tls option.
33617 * abilist/libBrokenLocale.abilist: Likewise.
33618 * abilist/libanl.abilist: Likewise.
33619 * abilist/libc.abilist: Likewise.
33620 * abilist/libcrypt.abilist: Likewise.
33621 * abilist/libdl.abilist: Likewise.
33622 * abilist/libm.abilist: Likewise.
33623 * abilist/libnsl.abilist: Likewise.
33624 * abilist/libpthread.abilist: Likewise.
33625 * abilist/libresolv.abilist: Likewise.
33626 * abilist/librt.abilist: Likewise.
33627 * abilist/libthread_db.abilist: Likewise.
33628 * abilist/libutil.abilist: Likewise.
33629 * abilist/libnss_db.abilist: New file.
33630
33631 * scripts/abilist.awk: Add support for indirect functions.
33632
a2693a0e
UD
33633 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
33634
3f05895f
UD
33635 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
33636
ecb6fb48
UD
33637 * shlib-versions: Remove entries for ports architectures.
33638
664f8cb9
UD
33639 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
33640 files in ports.
33641 * elf/stackguard-macros.h: Remove support for IA-64.
33642 * elf/tst-auditmod1.c: Likewise.
33643 * sysdeps/generic/ldsodefs.h: Likewise.
33644
7ae81d88
UD
33645 * sysdeps/unix/sysv/linux/configure.in: Ports should define
33646 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
33647 configure files.
33648
bdeba135
UD
33649 [BZ #13552]
33650 * configure.in: Remove --enable-omitfp support.
33651 * FAQ.in: Adjust.
33652 * config.make.in: Likewise.
33653 * Makeconfig: Likewise.
33654 * manual/install.texi: Likewise.
33655
d75a0a62
UD
33656 In case anyone cares, the IA-64 architecture could move to ports.
33657 * sysdeps/ia64/*: Removed.
33658 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 33659 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 33660
dcc9756b
UD
33661 [BZ #13555]
33662 * configure.in: Remove entries for unsupported architectures.
33663
d3761ebc 33664 [BZ #13533]
9954432e
UD
33665 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
33666 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
33667 routines.
33668 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
33669 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
33670 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
33671 fall back to using wcrtomb.
33672 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
33673 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
33674 renaming.
33675 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
33676 * wcsmbs/tst-c16c32-1.c: New file.
33677
33678 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
33679 local variable.
33680
c3a87236
UD
33681 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
33682
28926a1b
UD
33683 * elf/tst-unique3.cc: Add explicit declaration of gets.
33684 * elf/tst-unique3lib.cc: Likewise.
33685 * elf/tst-unique3lib2.cc: Likewise.
33686 * elf/tst-unique4.cc: Likewise.
33687
df78418a
UD
33688 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
33689
8ecd6b2a
JM
336902012-01-06 Joseph Myers <joseph@codesourcery.com>
33691
33692 [BZ #13566]
33693 * assert/assert.h (static_assert): Don't define for C++.
33694 * libio/stdio.h (gets): Do declare for C++ <= C++11.
33695 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
33696
9f115170
UD
336972012-01-03 Ulrich Drepper <drepper@gmail.com>
33698
5e0d0300
UD
33699 * iconv/loop.c (single loop): Fix assertion in storing of
33700 remaining bytes.
33701
9f115170
UD
33702 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
33703
81fb02b0
UD
337042012-01-01 Ulrich Drepper <drepper@gmail.com>
33705
33706 * posix/getconf.c: Update copyright year.
33707 * nss/getent.c: Likewise.
a316c1f6 33708 * nss/makedb.c: Likewise.
81fb02b0
UD
33709 * iconv/iconvconfig.c: Likewise.
33710 * iconv/iconv_prog.c: Likewise.
33711 * elf/ldconfig.c: Likewise.
a316c1f6
UD
33712 * elf/pldd.c: Likewise.
33713 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
33714 * catgets/gencat.c: Likewise.
33715 * csu/version.c: Likewise.
33716 * elf/ldd.bash.in: Likewise.
33717 * elf/sprof.c (print_version): Likewise.
33718 * locale/programs/locale.c: Likewise.
33719 * locale/programs/localedef.c: Likewise.
a316c1f6 33720 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
33721 * nscd/nscd.c (print_version): Likewise.
33722 * debug/xtrace.sh: Likewise.
33723 * malloc/memusage.sh: Likewise.
33724 * malloc/mtrace.pl: Likewise.
33725 * debug/catchsegv.sh: Likewise.
33726
2ba92745
JJ
337272011-12-30 Jakub Jelinek <jakub@redhat.com>
33728
33729 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
33730 pure attribute.
33731
dadebdae
UD
337322011-12-24 Ulrich Drepper <drepper@gmail.com>
33733
d3761ebc 33734 [BZ #13533]
db6af3eb
UD
33735 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
33736 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
33737 transformations.
33738 * iconv/gconv_int.h: Likewise.
33739 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
33740 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
33741 from libc for GLIBC_2.16.
33742 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
33743 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
33744 * wcsmbs/uchar.h: Really define mbstate_t.
33745 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
33746 * wcsmbs/c16rtomb.c: New file.
33747 * wcsmbs/mbrtoc16.c: New file.
33748 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
33749 for C/POSIX locale.
33750 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
33751 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
33752
dadebdae
UD
33753 * wcsmbs/wchar.h: Add missing __restrict.
33754
67371b56
UD
337552011-12-23 Ulrich Drepper <drepper@gmail.com>
33756
74033a25
UD
33757 [BZ #13532]
33758 * time/Makefile (routines): Add timespec_get.
33759 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
33760 * time/time.h: Define TIME_UTC and declare timespec_get. Define
33761 timespec for ISO C11.
33762 * time/timespec_get.c: New file.
33763 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
33764 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
33765
380d7e87
UD
33766 [BZ #13531]
33767 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
33768 * stdlib/stdlib.h: Declare aligned_alloc.
33769 * Versions.def: Add GLIBC_2.16 for libc.
33770 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
33771
4e9e7a35
UD
33772 [BZ 13527]
33773 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
33774 ISO C11.
33775
380d7e87 33776 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
33777 code.
33778
03a71829
UD
33779 [BZ #13528]
33780 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
33781
839e283e
UD
33782 [BZ #13529]
33783 * assert/assert.h (static_assert): Define.
33784
ce5294e2 33785 * version.h: Update for 2.16 development version.
90fa7312 33786
8d44e150 33787 [BZ #13526]
d7809905
UD
33788 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
33789 _ISOC11_SOURCE.
33790
c0da14cd
UD
33791 * version.h (RELEASE): Bump for 2.15 release.
33792 * include/features.h (__GLIBC_MINOR__): Bump to 15.
33793
530a3249
MP
33794 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
33795 Patch by Marek Polacek <mpolacek@redhat.com>.
33796
67371b56
UD
33797 * bits/byteswap.h: Protect long long constants with __extension__.
33798 * sysdeps/i386/bits/byteswap.h: Likewise.
33799 * sysdeps/ia64/bits/byteswap.h: Likewise.
33800 * sysdeps/s390/bits/byteswap.h: Likewise.
33801 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33802
15db4de1
LD
338032011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33804
33805 [BZ #13540]
bbe315ea
LD
33806 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
33807 destination buffer.
15db4de1
LD
33808 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33809
2b2596b1
MP
338102011-12-23 Marek Polacek <polacek@redhat.com>
33811
33812 * elf/dl-addr.c (determine_info): Add inline keyword.
33813 * elf/tst-auditmod4b.c (check_avx): Likewise.
33814 * elf/tst-auditmod6b.c (check_avx): Likewise.
33815 * elf/tst-auditmod6c.c (check_avx): Likewise.
33816 * elf/tst-auditmod7b.c (check_avx): Likewise.
33817
70c6c246
UD
338182011-12-23 Ulrich Drepper <drepper@gmail.com>
33819
33820 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
33821 !__SSE_MATH__.
33822
c044cf14
LD
338232011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33824
15db4de1 33825 [BZ #13540]
c044cf14
LD
33826 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
33827 processing for last bytes.
33828
6b13d9d9
BH
338292011-08-06 Bruno Haible <bruno@clisp.org>
33830
d455f537
BH
33831 [BZ #13061]
33832 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
33833 U+0385, not to U+1FEE.
33834
6b13d9d9
BH
33835 [BZ #13062]
33836 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
33837 entry for U+00A5 U+0301.
33838
db910efd
UD
338392011-12-22 Ulrich Drepper <drepper@gmail.com>
33840
27deeafc
UD
33841 [BZ #13166]
33842 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
33843 buffer for the output is too small.
33844
aed9d171
UD
33845 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
33846 optimization.
33847
db910efd
UD
33848 [BZ #13185]
33849 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
33850 SSE flags if possible.
33851
2bd779ae
LD
338522011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
33853
e7f9dac3 33854 [BZ #13540]
2bd779ae
LD
33855 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
33856 processing for last bytes.
33857
154bfc16
JM
338582011-12-22 Joseph Myers <joseph@codesourcery.com>
33859
33860 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
33861 (syscall-list-default-options, syscall-list-default-condition)
33862 (syscall-list-includes): Define.
33863 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
33864 list of ABIs and options and #if conditions for each ABI. Do not
33865 handle common syscalls between ABIs specially.
33866 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
33867 Remove.
33868 (syscall-list-variants, syscall-list-32bit-options)
33869 (syscall-list-32bit-condition, syscall-list-64bit-options)
33870 (syscall-list-64bit-condition): Define.
33871 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
33872 (syscall-list-variants, syscall-list-32bit-options)
33873 (syscall-list-32bit-condition, syscall-list-64bit-options)
33874 (syscall-list-64bit-condition): Define.
33875 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
33876 Remove.
33877 (syscall-list-variants, syscall-list-32bit-options)
33878 (syscall-list-32bit-condition, syscall-list-64bit-options)
33879 (syscall-list-64bit-condition): Define.
33880 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
33881 Remove.
33882 (syscall-list-variants, syscall-list-32bit-options)
33883 (syscall-list-32bit-condition, syscall-list-64bit-options)
33884 (syscall-list-64bit-condition): Define.
33885
21eaf3a5
UD
338862011-12-22 Ulrich Drepper <drepper@gmail.com>
33887
16c6f992
UD
33888 * locale/iso-639.def: Add brx entry.
33889
41043168
UD
33890 [BZ #13328]
33891 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
33892 Proposed by Mariusz_Cukr <marcukr@op.pl>.
33893
21eaf3a5
UD
33894 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
33895 __feraiseexcept_renamed.
33896
e3a851a2
UD
338972011-12-21 Ulrich Drepper <drepper@gmail.com>
33898
4920765e
UD
33899 [BZ #13538]
33900 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
33901 EPOLLET with unsigned values.
33902 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33903 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
33904
e3a851a2
UD
33905 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
33906 to large cancellation.
33907 * math/s_cacoshf.c: Likewise.
33908 * math/s_cacoshl.c: Likewise.
33909
b27e24b8
RK
339102011-11-18 Richard B. Kreckel <kreckel@ginac.de>
33911
33912 [BZ #13305]
aebefeee 33913 [BZ #12786]
b27e24b8
RK
33914 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
33915 * math/s_cacoshf.c: Likewise.
33916 * math/s_cacoshl.c: Likewise.
33917
ee190f67
UD
339182011-12-21 Ulrich Drepper <drepper@gmail.com>
33919
33920 [BZ #13439]
33921 * iconv/gconv.h: Define __GCONV_SWAP.
33922 * iconvdata/unicode.c: The swap bit must be stored in __flags.
33923 * iconvdata/utf-16.c: Likewise.
33924 * iconvdata/utf-32.c: Likewise.
33925
707f25df
AS
339262011-12-21 Andreas Schwab <schwab@linux-m68k.org>
33927
33928 [BZ #13524]
33929 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
33930 numerator after shifting it by one limb.
33931
d2daaa1e
RÁE
339322011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
33933
33934 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
33935 under [__USE_EXTERN_INLINES].
33936
a4647e72
UD
339372011-12-17 Ulrich Drepper <drepper@gmail.com>
33938
33939 [BZ #13446]
33940 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
33941
f0b264f1
AZ
339422011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33943
33944 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
33945 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
33946 optimized code.
33947 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
33948 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
33949 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
33950 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
33951 for strncasecmp/strncasecmp_l compilation.
33952 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
33953 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
33954
8ef4f244
MP
339552011-12-08 Marek Polacek <mpolacek@redhat.com>
33956
33957 [BZ #13484]
33958 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
33959 of __asm__.
33960
97ac2654
UD
339612011-12-17 Ulrich Drepper <drepper@gmail.com>
33962
33963 [BZ #13506]
33964 * time/tzfile.c (__tzfile_read): Check values from file header.
33965
91d2a845
WS
339662011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
33967
33968 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
33969 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
33970 * powerpc/powerpc32/dl-start.S: Likewise.
33971 * powerpc/powerpc32/elf/start.S: Likewise.
33972 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33973 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
33974 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
33975 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
33976 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
33977 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
33978 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
33979 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33980 * powerpc/powerpc32/fpu/s_round.S: Likewise.
33981 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
33982 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
33983 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
33984 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33985 * powerpc/powerpc32/memset.S: Likewise.
33986 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
33987 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33988 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33989 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33990 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33991 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33992 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33993 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33994 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
33995 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
33996 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
33997 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
33998 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
33999
a1267ba1
AZ
340002011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34001
34002 * math/libm-test.inc: Added more nearbyint tests.
34003 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
34004 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
34005 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
34006 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
34007
ad8ac1bd
RL
340082011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
34009
34010 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
34011 FD_CLOEXEC.
34012
1d3e4b61
UD
340132011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34014
34015 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
34016 Add wcscpy-ssse3 wcscpy-c.
34017 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
34018 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
34019 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
34020 * sysdeps/x86_64/wcschr.S: New file.
34021 * sysdeps/x86_64/wcsrchr.S: New file.
34022 * string/test-strcmp.c: Remove checking of wcscmp function for
34023 wrong alignments.
34024 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
34025 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
34026 wcsrchr-sse2 wcsrchr-c.
34027 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
34028 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
34029 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
34030 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
34031 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
34032 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
34033 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
34034 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
34035 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
34036 * wcsmbc/wcschr.c (WCSCHR): New macro.
34037
5b330a2d
UD
340382011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34039
34040 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
34041 * wcsmbs/test-wcsrchr.c: New file.
34042 * string/test-strrchr.c: Add wcsrchr support.
34043 (WIDE): New macro.
34044 * wcsmbs/test-wcscpy.c: New file.
34045 * string/test-strcpy.c: Add wcscpy support.
34046 (WIDE): New macro.
26428b7c 34047
f039c043
UD
340482011-12-10 Ulrich Drepper <drepper@gmail.com>
34049
34050 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
34051 the inner loop.
34052
850fb039
AS
340532011-12-06 Andreas Schwab <schwab@linux-m68k.org>
34054
34055 [BZ #13472]
34056 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
34057
4efbd5cb
UD
340582011-12-04 Ulrich Drepper <drepper@gmail.com>
34059
52ff5dd0 34060 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 34061 Minor optimizations.
52ff5dd0 34062
4efbd5cb
UD
34063 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
34064 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
34065 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34066
8a426e12
UD
340672011-12-03 Ulrich Drepper <drepper@gmail.com>
34068
aff2453d
UD
34069 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
34070 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
34071 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
34072 for gcc to avoid warnings.
34073 * inet/Makefile (tests): Add tst-checks.
34074 * inet/tst-checks.c: New file.
34075
34076 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
34077 warning.
34078
34079 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
34080 __wmemcmp_sse2.
34081
34082 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
34083 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
34084
8a426e12
UD
34085 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
34086
9bea3473
UD
340872011-12-02 Ulrich Drepper <drepper@gmail.com>
34088
3a965496
UD
34089 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
34090 problem.
34091
9bea3473
UD
34092 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
34093
f101631b
UD
340942011-11-29 Joseph Myers <joseph@codesourcery.com>
34095
34096 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
34097 conditional on GCC version.
34098 (__arch_compare_and_exchange_val_8_acq)
34099 (__arch_compare_and_exchange_val_16_acq)
34100 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
34101 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
34102 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
34103
a98275aa
UD
341042011-12-02 Joseph Myers <joseph@codesourcery.com>
34105
34106 * sysdeps/sh/backtrace.c: New file.
34107
d4cc29a2
AS
341082011-12-02 Andreas Schwab <schwab@redhat.com>
34109
34110 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
34111 parenthesis.
34112
6257af2d
AS
341132011-12-01 Andreas Schwab <schwab@redhat.com>
34114
34115 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
34116 falling back to utime.
34117
b5f44c1a
AS
341182011-11-30 Andreas Schwab <schwab@redhat.com>
34119
34120 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
34121 expectations for float.
34122
f3a6cc0a
AS
341232011-11-29 Andreas Schwab <schwab@redhat.com>
34124
34125 * locale/weight.h (findidx): Add parameter len.
34126 * locale/weightwc.h (findidx): Likewise.
34127 * posix/fnmatch_loop.c (FCT): Adjust caller.
34128 * posix/regcomp.c (build_equiv_class): Likewise.
34129 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
34130 * posix/regexec.c (check_node_accept_bytes): Likewise.
34131 * string/strcoll_l.c (STRCOLL): Likewise.
34132 * string/strxfrm_l.c (STRXFRM): Likewise.
34133
9d65ea3a
UD
341342011-11-17 Ulrich Drepper <drepper@gmail.com>
34135
34136 * Makefile.in: Remove CVSOPT handling.
34137 * configure.in: Remove use of AC_REVISION.
34138 * iconvdata/Makefile (distribute): No need to filter out CVS.
34139 * scripts/list-sources.sh: Remove CVS, subversion and monotone
34140 handling.
34141
5583a086
AS
341422011-11-16 Andreas Schwab <schwab@redhat.com>
34143
34144 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
34145 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
34146 [USE_AS_STRNCASECMP_L]: Likewise.
34147 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
34148 NO_TLS_DIRECT_SEG_REFS.
34149 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
34150 Fix argument offsets for non-PIC.
34151 [USE_AS_STRNCASECMP_L]: Likewise.
34152 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
34153 NO_TLS_DIRECT_SEG_REFS.
34154
d62a8200
UD
341552011-11-15 Ulrich Drepper <drepper@gmail.com>
34156
9d65ea3a 34157 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
34158 O_CLOEXEC.
34159 * locale/loadlocale.c (_nl_load_locale): Likewise.
34160
09f93bd3
AS
341612011-11-15 Andreas Schwab <schwab@redhat.com>
34162
446514f9
AS
34163 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
34164 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
34165 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
34166 (SYSCALL_GETTIME): Set errno on error.
34167
09f93bd3
AS
34168 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
34169 count references to noai6ai_cached.
34170
312be3f9
UD
341712011-11-15 Ulrich Drepper <drepper@gmail.com>
34172
34173 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
34174
34175 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
34176 FD_CLOEXEC for /proc/self/maps.
34177
34178 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
34179 FD_CLOEXEC for /proc/meminfo.
34180
34181 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
34182 gai.conf.
34183
34184 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
34185 FD_CLOEXEC for given file.
34186
34187 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
34188
34189 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
34190 FD_CLOEXEC for /etc/hosts.
34191 (_gethtent): Likewise.
34192
34193 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
34194
34195 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
34196 cancellation and set FD_CLOEXEC for /etc/netgroup.
34197
34198 * nss/nss_files/files-key.c (search): Don't allow cancellation when
34199 reading /etc/publickey.
34200
34201 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
34202 allow cancellation when reading /etc/group.
34203
34204 * nss/nss_files/files-alias.c (internal_setent): Don't allow
34205 cancellation.
34206 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
34207
34208 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
34209 when using data file.
34210
34211 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
34212
34213 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
34214 (write_nis_obj): Use "c" and "e" in fopen.
34215
34216 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
34217
34218 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
34219
34220 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
34221
34222 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
34223
34224 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
34225 locale.alias.
34226
34227 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
34228
34229 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
34230
34231 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
34232
34233 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
34234 file parsing and set FD_CLOEXEC.
34235
82af0fa8
UD
342362011-11-14 Ulrich Drepper <drepper@gmail.com>
34237
34238 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
34239
a5fb313c
AS
342402011-11-14 Andreas Schwab <schwab@redhat.com>
34241
34242 * malloc/arena.c (arena_get2): Don't call reused_arena when
34243 _int_new_arena failed.
34244
6abf3465
UD
342452011-11-14 Ulrich Drepper <drepper@gmail.com>
34246
34247 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
34248 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
34249 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
34250 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34251 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34252 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
34253 to compile strcasecmp and strncasecmp.
34254 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
34255 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
34256
34257 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
34258
76e3966e
UD
342592011-11-13 Ulrich Drepper <drepper@gmail.com>
34260
34261 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
34262 locale-defines.sym to gen-as-const-headers.
34263 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
34264 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
34265 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
34266 to compile strcasecmp and strncasecmp.
34267 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
34268 strcasecmp_l and strncasecmp_l.
34269 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
34270 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
34271 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
34272 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
34273 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
34274 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
34275 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
34276 * sysdeps/i386/i686/multiarch/strncase.S: New file.
34277 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
34278 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
34279 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
34280
ab26144e
UD
342812011-11-12 Ulrich Drepper <drepper@gmail.com>
34282
7edb22ef
UD
34283 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
34284 result of SYSDEP_GETTIME_CPU to retval.
34285 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
34286 parameter list to macro. Remove trailing semicolon. Adjust users.
34287
9694fc44
UD
34288 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
34289 variable.
34290
8ad89ef8
UD
34291 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
34292 mantissa words.
34293 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
34294
0c822ef9
UD
34295 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
34296 from unused variable.
34297
874e0564
UD
34298 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
34299 DWARF definitions.
34300 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
34301 for assembling.
34302
3a2edc79
UD
34303 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
34304 over namespaces.
34305
f3c2577f
UD
34306 * sunrpc/rpc_prot.c (rejected): Fix case value.
34307
294ce126
UD
34308 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
34309 unsigned long long int to avoid warnings in shift.
34310
5e2b63c6
UD
34311 * posix/regex_internal.c (re_string_reconstruct): Actually use result
34312 of use of trans.
34313 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
34314 variable tmp.
34315
e7f4b08e
UD
34316 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
34317 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
34318 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
34319
ab26144e
UD
34320 * nis/nis_table.c (nis_list): Use variable of correct type for
34321 result of __follow_path call.
34322
8a6d5255
AZ
343232011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34324
34325 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
34326 of math functions ceil, trunc, floor, round, and sqrt, when
34327 avaliable on the platform.
34328 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
34329 name clash.
34330 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
34331 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
34332 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
34333
aaddc98c
MP
343342011-10-30 Marek Polacek <mpolacek@redhat.com>
34335
34336 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
34337 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
34338
95b7042b
RM
343392011-11-11 Roland McGrath <roland@hack.frob.com>
34340
34341 * include/unistd.h: Fix __readlink return type.
34342 Reported by Chris Metcalf <cmetcalf@tilera.com>.
34343
57769839
UD
343442011-11-11 Ulrich Drepper <drepper@gmail.com>
34345
34346 * stdlib/ucontext.h: Undo last change for makecontext.
34347
edc5984d
AS
343482011-11-11 Andreas Schwab <schwab@redhat.com>
34349
98591e58
AS
34350 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
34351
edc5984d
AS
34352 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
34353 * setjmp/setjmp.h: Mark functions as non-leaf.
34354 * setjmp/bits/setjmp2.h: Likewise.
34355 * stdlib/ucontext.h: Likewise.
34356
77cdc054
AS
343572011-11-10 Andreas Schwab <schwab@redhat.com>
34358
34359 * malloc/arena.c (_int_new_arena): Don't increment narenas.
34360 (reused_arena): Don't check arena limit.
34361 (arena_get2): Atomically check arena limit.
34362
fe72eebd
UD
343632011-11-08 Ulrich Drepper <drepper@gmail.com>
34364
5f078c32
UD
34365 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
34366 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
34367
fe72eebd
UD
34368 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
34369 instructions.
34370
ae1bc2fa
AS
343712011-11-07 Andreas Schwab <schwab@redhat.com>
34372
7583a88d
AS
34373 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
34374 handler when locking.
34375
ae1bc2fa
AS
34376 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
34377 Fix size of allocated buffer.
34378
10fb0bfa
AS
343792011-11-04 Andreas Schwab <schwab@redhat.com>
34380
998832a4
AS
34381 [BZ #10103]
34382 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
34383 declarations for long double functions.
34384 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
34385
10fb0bfa
AS
34386 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
34387
3d7ba52b
AS
343882011-11-03 Andreas Schwab <schwab@redhat.com>
34389
a9ae54a1
AS
34390 * nscd/nscd.c (main): Don't start AVC thread until credentials are
34391 installed.
34392
3d7ba52b
AS
34393 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
34394 is disabled.
34395
bc8db248
ST
343962011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
34397
34398 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
34399
45b96dd6
AS
344002011-11-01 Andreas Schwab <schwab@linux-m68k.org>
34401
647776f6
AS
34402 * include/alloca.h (stackinfo_alloca_round): Define.
34403 (extend_alloca): Use it.
34404 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
34405 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
34406 here.
34407
d91a8b93
AS
34408 * scripts/check-local-headers.sh: Ignore libaudit.h.
34409
45b96dd6
AS
34410 * nscd/Makefile (extra-objs): Make recursively expanded.
34411
432d41ce
UD
344122011-11-01 Ulrich Drepper <drepper@gmail.com>
34413
34372fc6
UD
34414 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
34415 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34416
fadb59f8
UD
34417 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
34418 * posix/tst-rfc3484-2.c: Likewise.
34419 * posix/tst-rfc3484-3.c: Likewise.
34420
78239589
UD
34421 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34422 process_vm_writev.
34423 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
34424 process_vm_writev.
34425 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
34426 process_vm_writev from libc using GLIBC_2.15 version.
34427
432d41ce
UD
34428 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
34429
02f9c6cf
PP
344302011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
34431
34432 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
34433 stack usage.
34434
3a2c0242
UD
344352011-10-31 Ulrich Drepper <drepper@gmail.com>
34436
f4ec4833
UD
34437 [BZ #13367]
34438 * nss/getent.c (initgroups_keys): Show error message in case no group
34439 names are given.
34440
3a2c0242
UD
34441 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
34442 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
34443 __bump_nl_timestamp.
34444 * nscd/connections (nscd_init): When host database is served open
34445 netlink socket and request notification about configuration changes.
34446 (main_loop_poll): Track netlink file descriptor and bump timestamp
34447 in case data becomes available.
34448 (main_loop_epoll): Likewise.
34449 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
34450 (database_pers_head): Add extra_data fileds.
34451 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
34452 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
34453 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
34454 Adjust caller.
34455 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
34456 in6ai data, call __free_in6ai.
34457 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
34458 Add -DHAVE_NETLINK.
34459 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
34460 interface information. Reuse previous data if netlink timestamp
34461 is not changed.
34462 (__bump_nl_timestamp): New function.
34463 (__free_in6ai): New function.
34464
636064eb
UD
344652011-10-30 Ulrich Drepper <drepper@gmail.com>
34466
34467 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
34468 close_not_cancel_no_status here.
34469 (__check_pf): Reorganize code a bit to not call close twice if OOM.
34470
9beb2334
UD
344712011-10-29 Ulrich Drepper <drepper@gmail.com>
34472
6ef76f3b
UD
34473 [BZ #13276]
34474 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
34475 return value.
34476
0ffc4f3e 34477 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
34478 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
34479 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
34480
cb95113e
UD
344812011-07-03 Andreas Jaeger <aj@suse.de>
34482
34483 [BZ #10709]
34484 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
34485 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
34486 * math/libm-test.inc (sin_test): Add test case.
34487
a1b560ff
UD
344882011-10-29 Ulrich Drepper <drepper@gmail.com>
34489
c9aaface
UD
34490 [BZ #13337]
34491 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
34492 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34493
d272e7f1
UD
34494 * elf/chroot_canon.c (chroot_canon): Cleanups.
34495
1bc33071
UD
34496 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
34497
1760874d
TJ
34498 [BZ #13335]
34499 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
34500 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
34501
51d91b18
UD
34502 * string/test-strchr.c: Make usable for strchrnul testing.
34503 * string/test-strchrnul.c: New file.
34504 * string/Makefile (strop-tests): Add strchrnul.
34505
a1b560ff 34506 * po/it.po: Update from translation team.
b611fb81 34507 * po/es.po: Likewise.
a1b560ff 34508
a5b81e1f
UD
345092011-10-28 Ulrich Drepper <drepper@gmail.com>
34510
fd52bc6d
UD
34511 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
34512 the three constants needed as parameters. Drop the others.
34513 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
34514 __m128i_strloadu_tolower.
52e4b9eb
UD
34515 Create and initialize variable zero and use it in all the places
34516 where _mm_setzero_si128 was used.
fd52bc6d 34517
a5b81e1f
UD
34518 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
34519 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
34520 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
34521 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
34522 anymore.
34523 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
34524 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
34525 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
34526 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
34527 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
34528 __mpranred, __mptan.
34529 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
34530 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
34531 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
34532 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
34533 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
34534 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
34535 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
34536 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
34537 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
34538
b4343346
AS
345392011-10-28 Andreas Schwab <schwab@redhat.com>
34540
0c92d8a8
AS
34541 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
34542 redefine if SHARED.
34543 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
34544
b4343346
AS
34545 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
34546 wide char related routines to wcsmbs subdir.
34547
3871f58f
AS
345482011-10-27 Andreas Schwab <schwab@redhat.com>
34549
34550 [BZ #13344]
34551 * misc/sys/cdefs.h (__THROWNL): Define.
34552 * posix/unistd.h: Use __THREADNL instead of __THREAD
34553 for memory synchronization functions.
34554
94d44d9f
RM
345552011-10-26 Roland McGrath <roland@hack.frob.com>
34556
21b64b15 34557 [BZ #13349]
94d44d9f
RM
34558 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
34559 doesn't exist.
34560 * manual/stdio.texi (Obstack Streams): Node removed.
34561
f6ce9294
AS
345622011-10-26 Andreas Schwab <schwab@redhat.com>
34563
80479147
AS
34564 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
34565 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34566 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34567
f6ce9294
AS
34568 * math/math_private.h (math_force_eval): Allow non-addressable
34569 arguments.
34570 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
34571
618280a1
UD
345722011-10-25 Ulrich Drepper <drepper@gmail.com>
34573
e0016b11
UD
34574 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
34575 file is not needed.
34576
34577 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
34578 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34579 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34580 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34581 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34582 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34583 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34584 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
34585 Add AVX variants.
34586 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
34587 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
34588 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
34589 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
34590 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
34591 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
34592 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
34593 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
34594 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
34595 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
34596 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
34597 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
34598 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
34599 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
34600 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
34601 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
34602 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
34603 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
34604 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
34605
34606 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
34607 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
34608
618280a1
UD
34609 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
34610 place. Use VEX encoding when compiling for AVX.
34611
37822576
AS
346122011-10-25 Andreas Schwab <schwab@redhat.com>
34613
1f1e1947
AS
34614 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
34615 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
34616
37822576
AS
34617 * string/test-strchr.c (do_test): Don't generate NUL bytes.
34618
31ea014d
UD
346192011-10-25 Ulrich Drepper <drepper@gmail.com>
34620
d7826aa1 34621 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 34622 useless if() expression.
d7826aa1
UD
34623 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
34624 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
34625 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34626 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34627 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34628 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
34629 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
34630 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
34631 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
34632 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
34633 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
34634 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
34635 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
34636 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
34637 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
34638 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
34639 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
34640 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
34641 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
34642
31ea014d
UD
34643 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
34644
16437fec
AS
346452011-10-25 Andreas Schwab <schwab@redhat.com>
34646
34647 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
34648 condition.
34649 * elf/dl-fini.c (_dl_sort_fini): Likewise.
34650
31d3cc00
UD
346512011-10-25 Ulrich Drepper <drepper@gmail.com>
34652
34653 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
34654 .text section. Avoid duplicate constants.
34655 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
34656 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34657 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
34658 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34659 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34660 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34661 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34662 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34663 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
34664 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
34665 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
34666 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
34667 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
34668 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
34669 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
34670 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
34671 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
34672 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
34673 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
34674 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34675 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
34676 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
34677 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
34678 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
34679 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
34680 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
34681 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
34682 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
34683 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
34684 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
34685 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
34686 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
34687 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
34688 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
34689 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
34690 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
34691 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
34692 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
34693 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
34694 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
34695 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
34696 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
34697 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
34698 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
34699 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
34700
58985aa9
UD
347012011-10-24 Ulrich Drepper <drepper@gmail.com>
34702
202c9deb
UD
34703 * sysdeps/x86_64/dla.h: Move to ...
34704 * sysdeps/x86_64/fpu/dla.h: ...here.
34705 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
34706 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 34707
af968f62
UD
34708 * config.make.in: Add have-mfma4 entry.
34709 * configure.in: Substitute libc_cv_cc_fma4.
34710 * math/Makefile (dbl-only-routines): Add sincostab.
34711 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
34712 Use __sincostab not sincos.
34713 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
34714 name is a macro.
34715 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
34716 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34717 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34718 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
34719 using __copysign.
34720 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
34721 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
34722 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
34723 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
34724 and __inv.
34725 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
34726 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
34727 __copysign.
34728 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
34729 define aliases when function name is a macro.
34730 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
34731 sysdeps/ieee754/dbl-64/sincos.tbl.
34732 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
34733 fma4-enabled routines.
34734 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
34735 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
34736 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
34737 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
34738 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
34739 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
34740 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
34741 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
34742 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
34743 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
34744 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
34745 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
34746 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
34747 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
34748 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
34749 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
34750 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
34751 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
34752 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
34753 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
34754 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
34755 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
34756 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
34757 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
34758 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
34759 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
34760 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
34761 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
34762 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
34763 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
34764
58985aa9
UD
34765 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
34766 rename.
34767 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34768 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34769 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34770 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34771 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34772 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34773 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34774 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34775
a201fbcf
AS
347762011-10-24 Andreas Schwab <schwab@redhat.com>
34777
34778 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
34779
fc2ee42a
LD
347802011-10-23 Ulrich Drepper <drepper@gmail.com>
34781
bb3129bd
UD
34782 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
34783
0275fff8
UD
34784 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
34785 prediction.
34786 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
34787
2fa2ae85
UD
34788 * string/strnlen.c: Don't define STRNLEN, reverse logic.
34789 Remove unused variable magic_bits.
34790 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
34791
fc2ee42a
LD
34792 * string/strnlen.c: Define and use STRNLEN macro.
34793 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
34794 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
34795 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
34796 * wcsmbs/wcslen.c: Define and use WCSLEN.
34797 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
34798 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
34799 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
34800 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
34801 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
34802 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
34803 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
34804
ce7dd29f
LD
348052011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34806
34807 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34808 strnlen-sse2-no-bsf.
34809 Rename strlen-no-bsf to strlen-sse2-no-bsf.
34810 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
34811 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
34812 Add strnlen support.
34813 (USE_AS_STRNLEN): New macro.
34814 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
34815 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
34816 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
34817 * sysdeps/x86_64/wcslen.S: New file.
34818
979c70a3
MZ
348192011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
34820
34821 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
34822 XMM-moves are used for copying on small sizes.
34823
2d09f82f
LD
348242011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34825
34826 * wcsmbs/Makefile (strop-tests): Add wcschr.
34827 * wcsmbs/test-wcschr.c: New file.
34828 * string/test-strchr.c: Update.
34829 Add wcschr support.
34830 (WIDE): New macro.
34831
619fccca
LD
348322011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34833
2d09f82f 34834 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
34835 * wcsmbs/test-wcslen.c: New file.
34836 * string/test-strlen.c: Update.
34837 Add wcslen support.
34838 (WIDE): New macro.
34839
09f699ea
UD
348402011-10-23 Ulrich Drepper <drepper@gmail.com>
34841
34842 * po/it.po: Update from translation team.
34843
95584d3b
LD
348442011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
34845
34846 * sysdeps/x86_64/wcscmp.S: Update.
34847 Fix wrong comparison semantics.
34848 wcscmp shall use signed comparison not unsigned.
34849 Don't use substraction to avoid overflow bug.
34850 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
34851 * wcsmbc/wcscmp.c: Likewise.
34852 * string/test-strcmp.c: Likewise.
34853 Add new tests to check cases with negative values.
34854
c8b3296b
UD
348552011-10-23 Ulrich Drepper <drepper@gmail.com>
34856
34857 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
34858 * sysdeps/x86_64/dla.h: ...here. New file.
34859 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
34860 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34861 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34862 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34863 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34864 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
34865 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34866 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34867 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34868
246ad57a
AS
348692011-10-23 Andreas Schwab <schwab@linux-m68k.org>
34870
34871 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
34872 __ynl_finite aliases.
34873
a1a87169
UD
348742011-10-22 Ulrich Drepper <drepper@gmail.com>
34875
0d355eb7
UD
34876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34877
a1a87169
UD
34878 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
34879 define DLA_FMA.
34880 [DLA_FMA] (EMULV): Use DLA_FMA.
34881 [DLA_FMA] (MUL12): Use EMULV.
34882 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
34883 that are not needed.
34884 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
34885 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
34886 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
34887 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
34888 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
34889 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
34890 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
34891
ee2aafe0
AS
348922011-10-22 Andreas Schwab <schwab@linux-m68k.org>
34893
34894 * math/s_nan.c: Undef __nan.
34895 * math/s_nanf.c: Undef __nanf.
34896 * math/s_nanl.c: Undef __nanl.
34897 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
34898 "math_private.h".
34899
bc62c2fb
UD
349002011-10-22 Ulrich Drepper <drepper@gmail.com>
34901
77425c63
UD
34902 * math/s_catan.c: Add branch predictions.
34903 * math/s_catanf.c: Likewise.
34904 * math/s_catanh.c: Likewise.
34905 * math/s_catanhf.c: Likewise.
34906 * math/s_catanhl.c: Likewise.
34907 * math/s_catanl.c: Likewise.
34908 * math/s_cexp.c: Likewise.
34909 * math/s_cexpf.c: Likewise.
34910 * math/s_cexpl.c: Likewise.
34911 * math/s_clog.c: Likewise.
34912 * math/s_clog10.c: Likewise.
34913 * math/s_clog10f.c: Likewise.
34914 * math/s_clog10l.c: Likewise.
34915 * math/s_clogf.c: Likewise.
34916 * math/s_clogl.c: Likewise.
34917 * math/s_csqrt.c: Likewise.
34918 * math/s_csqrtf.c: Likewise.
34919 * math/s_csqrtl.c: Likewise.
34920 * math/s_ctanf.c: Likewise.
34921 * math/s_ctanh.c: Likewise.
34922 * math/s_ctanhf.c: Likewise.
34923 * math/s_ctanhl.c: Likewise.
34924 * math/s_ctanl.c: Likewise.
34925
bc62c2fb
UD
34926 * math/math_private.h: Define __nan, __nanf, __nanl.
34927 * math/s_cacosh.c: Include <math_private.h>.
34928 * math/s_cacoshl.c: Likewise.
34929 * math/s_casinh.c: Likewise.
34930 * math/s_casinhf.c: Likewise.
34931 * math/s_casinhl.c: Likewise.
34932 * math/s_ccos.c: Rely entire on ccosh.
34933 * math/s_ccosf.c: Rely entire on ccoshf.
34934 * math/s_ccosl.c: Rely entirely on ccoshl.
34935 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
34936 Remove tests for FE_INVALID.
34937 * math/s_ccoshf.c: Likewise.
34938 * math/s_ccoshl.c: Likewise.
34939 * math/s_csin.c: Likewise.
34940 * math/s_csinf.c: Likewise.
34941 * math/s_csinh.c Likewise.
34942 * math/s_csinhf.c: Likewise.
34943 * math/s_csinhl.c: Likewise.
34944 * math/s_csinl.c: Likewise.
34945 * math/s_ctan.c: Likewise.
34946 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
34947 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
34948 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
34949
8ec250a4
UD
349502011-10-21 Ulrich Drepper <drepper@gmail.com>
34951
c196fed8
UD
34952 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
34953 compilation problems.
34954
8ec250a4
UD
34955 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
34956 __builtin_expect.
34957
8d4f46c6
UD
349582011-10-20 Ulrich Drepper <drepper@gmail.com>
34959
ed72b654
UD
34960 * sysdeps/i386/configure.in: Test for -mfma4 option.
34961 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
34962 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
34963 COMMON_CPUID_INDEX_80000001.
34964 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
34965 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
34966 use it if FMA3 is not supported.
34967 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
34968
8d4f46c6
UD
34969 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
34970 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34971
d45c60c2
AS
349722011-10-20 Andreas Schwab <schwab@redhat.com>
34973
34974 [BZ #12892]
34975 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
34976 it would create a cycle with a link time dependency.
34977
d9a4d2ab
UD
349782011-10-19 Ulrich Drepper <drepper@gmail.com>
34979
855d1560
UD
34980 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
34981 instruction.
34982 * string/Makefile (strop-tests): Add rawmemchr.
34983 * string/test-rawmemchr.c: New file.
34984
d9a4d2ab
UD
34985 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
34986 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
34987 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
34988 when compiling str{,n}casecmp and when AVX is available. Hook up
34989 new optimized code in initializers.
34990
8f3b1ffe
AS
349912011-10-19 Andreas Schwab <schwab@redhat.com>
34992
34993 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
34994 __feraiseexcept instead of feraiseexcept.
34995
d38f1dba
UD
349962011-10-18 Ulrich Drepper <drepper@gmail.com>
34997
d9a8d0ab
UD
34998 * math/math_private.h: Define defaults for libc_fetestexcept and
34999 libc_feupdateenv.
35000 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
35001 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
35002 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35003 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35004 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35005 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
35006 libc_fetestexcept and libc_feupdateenv.
35007
4855e3dd
UD
35008 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
35009 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
35010 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
35011 * sysdeps/x86_64/fpu/math_private.h: Define special version of
35012 libc_feholdexcept_setround.
35013
581d30e3
UD
35014 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
35015 Add s_nearbyint-c and s_nearbyintf-c.
35016 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
35017 nearbyintf inlines.
35018 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
35019 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
35020 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
35021 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
35022
d38f1dba
UD
35023 * math/math_private.h: Define defaults for libc_fegetround,
35024 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
35025 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
35026 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
35027 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
35028 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
35029 standard functions.
35030 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35031 Remove comments and hacks for old compiler versions.
35032 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
35033 libc_fegetround, libc_fesetround, libc_feholdexcept, and
35034 libc_feholdexceptl.
35035
caa6c9d8
AS
350362011-10-18 Andreas Schwab <schwab@redhat.com>
35037
35038 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
35039 (__feraiseexcept_renamed): Add __NTH.
35040 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
35041 namespace violations.
35042
97c066e6
UD
350432011-10-17 Ulrich Drepper <drepper@gmail.com>
35044
99ce7b04
UD
35045 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
35046
1004d182
UD
35047 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
35048
228a984d
UD
35049 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
35050 recently added interfaces.
35051 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
35052
c8553a6a
UD
35053 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
35054 about macro parameter expansion.
35055
ed22dcf6
UD
35056 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
35057 __NO_MATH_INLINES is defined. Cleanups.
35058
35059 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
35060 and __floorf is target has SSE4.1.
35061 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
35062 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
35063 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
35064 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
35065
b171c137
UD
35066 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
35067 name.
35068 (floorf): Likewise.
35069
97c066e6
UD
35070 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
35071
629f62ef
AS
350722011-10-17 Andreas Schwab <schwab@redhat.com>
35073
49a43d80
AS
35074 * misc/sys/cdefs.h: Fix last change.
35075
629f62ef
AS
35076 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
35077 database lookup.
35078
e453f6cd
UD
350792011-10-16 Ulrich Drepper <drepper@gmail.com>
35080
aa78043a
UD
35081 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
35082
ad0f5cad
UD
35083 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
35084 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35085 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35086 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35087 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35088 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35089 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35090 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35091 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35092 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
35093 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
35094 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
35095 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
35096 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
35097 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
35098 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
35099 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
35100 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
35101 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
35102 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
35103 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
35104 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
35105
35106 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
35107 ceil, ceilf, floor, floorf.
35108
35109 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
35110 Perform IRELATIVE relocations last.
35111
e453f6cd
UD
35112 * elf/do-rel.h: Add another parameter nrelative, replacing the
35113 local variable with the same name. Change name of the function
35114 to end in Rel or Rela (uppercase).
35115 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
35116 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
35117 elf_dynamic_do_##reloc function.
35118
fd5bdc09
UD
351192011-10-15 Ulrich Drepper <drepper@gmail.com>
35120
79b195b5
UD
35121 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
35122 is sufficient, at least on modern CPUs.
35123
d4a28569
UD
35124 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
35125
b61099b5
UD
35126 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
35127 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
35128
bcf01e6d
UD
35129 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
35130 __expl_finite.
35131 * math/bits/math-finite.h: Add entries for exp.
35132 * math/e_expl.c: Add __*_finite alias.
35133 * sysdeps/i386/fpu/e_exp.S: Likewise.
35134 * sysdeps/i386/fpu/e_expf.S: Likewise.
35135 * sysdeps/i386/fpu/e_expl.c: Likewise.
35136 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35137 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
35138 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
35139 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
35140 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
35141 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35142 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35143
ba1a0d59
UD
35144 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
35145 is sufficient, at least on modern CPUs.
35146
fd5bdc09
UD
35147 * ctype/ctype-info.c (__ctype_init): Define.
35148 * include/ctype.h (__ctype_init): Declare.
35149 (__ctype_b_loc): The variable is always initialized.
35150 (__ctype_toupper_loc): Likewise.
35151 (__ctype_tolower_loc): Likewise.
35152 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
35153 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
35154
7872cfb0
AS
351552011-10-15 Andreas Schwab <schwab@linux-m68k.org>
35156
b468825a
AS
35157 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
35158
7872cfb0
AS
35159 * configure.in: Also look in $cxxmachine/include for C++ system
35160 headers.
35161
be13f7bf
LD
351622011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35163
35164 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
35165 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
35166 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
35167 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
35168 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
35169 (USE_AS_WMEMCMP): New macro.
35170 Fixing indents.
35171 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
35172 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
35173 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
35174 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
35175 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35176 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
35177 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
35178 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
35179 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
35180 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
35181 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
35182 (USE_AS_WMEMCMP): New macro.
35183 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
35184 * sysdeps/string/test-memcmp.c: Update.
35185 Fix simple_wmemcmp.
35186 Add new tests.
35187 * wcsmbs/wmemcmp.c: Update.
35188 (WMEMCMP): New macro.
35189 Fix overflow bug.
35190
556a2007
AJ
351912011-10-12 Andreas Jaeger <aj@suse.de>
35192
35193 [BZ #13268]
35194 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
35195
538faaa7
UD
351962011-10-15 Ulrich Drepper <drepper@gmail.com>
35197
ab6737ff
UD
35198 * libio/iofwide.c (do_length): Avoid warning.
35199
538faaa7
UD
35200 * ctype/ctype.h (__isctype_f): Add missing __THROW.
35201
396a21b1
UD
352022011-10-14 Ulrich Drepper <drepper@gmail.com>
35203
cdf2901f
UD
35204 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
35205
38ad40ce
UD
35206 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
35207 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
35208 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
35209 * sysdeps/i386/i686/fpu/e_log.S: New file.
35210 * sysdeps/i386/i686/fpu/e_logf.S: New file.
35211 * sysdeps/i386/i686/fpu/e_logl.S: New file.
35212
396a21b1
UD
35213 * ctype/ctype.h: Add support for inlined isXXX functions when
35214 compiling C++ code.
35215
6b1f68c9
AS
352162011-10-14 Andreas Schwab <schwab@redhat.com>
35217
349290c0
AS
35218 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35219
6b1f68c9
AS
35220 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
35221
f2282d42
RM
352222011-10-13 Roland McGrath <roland@hack.frob.com>
35223
35224 [BZ #13291]
35225 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
35226
5298ffa8
AS
352272011-10-13 Andreas Schwab <schwab@redhat.com>
35228
714fad23
AS
35229 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
35230 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
35231 feraiseexcept.
35232
81dcc7fb
AS
35233 * sysdeps/x86_64/memrchr.S: Check for zero size.
35234
5298ffa8
AS
35235 * string/stratcliff.c: Add memrchr tests.
35236
951fbcec
LD
352372011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35238
35239 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35240 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
35241 rawmemchr-sse2 rawmemchr-sse2-bsf.
35242 * sysdeps/i386/i686/multiarch/memchr.S: New file.
35243 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
35244 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
35245 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
35246 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
35247 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
35248 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
35249 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
35250 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
35251 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
35252 * string/memrchr.c (MEMRCHR): New macro.
35253
0ac5ae23
UD
352542011-10-12 Ulrich Drepper <drepper@gmail.com>
35255
35256 Add integration with gcc's -ffinite-math-only and optimize wrapper
35257 functions in libm.
35258 * Versions.def: Define GLIBC_2.15 version for libm.
35259 * math/Makefile (headers): Add bits/math-finite.h.
35260 * math/bits/math-finite.h: New file.
35261 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
35262 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
35263 * math/e_acoshl.c: Add __*_finite alias.
35264 * math/e_acosl.c: Likewise.
35265 * math/e_asinl.c: Likewise.
35266 * math/e_atan2l.c: Likewise.
35267 * math/e_atanhl.c: Likewise.
35268 * math/e_coshl.c: Likewise.
35269 * math/e_exp10.c: Likewise.
35270 * math/e_exp10f.c: Likewise.
35271 * math/e_exp10l.c: Likewise.
35272 * math/e_exp2l.c: Likewise.
35273 * math/e_fmodl.c: Likewise.
35274 * math/e_gammal_r.c: Likewise.
35275 * math/e_hypotl.c: Likewise.
35276 * math/e_j0l.c: Likewise.
35277 * math/e_j1l.c: Likewise.
35278 * math/e_jnl.c: Likewise.
35279 * math/e_lgammal_r.c: Likewise.
35280 * math/e_log10l.c: Likewise.
35281 * math/e_log2l.c: Likewise.
35282 * math/e_logl.c: Likewise.
35283 * math/e_powl.c: Likewise.
35284 * math/e_sinhl.c: Likewise.
35285 * math/e_sqrtl.c: Likewise.
35286 * math/e_scalb.c: Completely rewritten and optimized.
35287 * math/e_scalbf.c: Likewise.
35288 * math/e_scalbl.c: Likewise.
35289 * math/w_acos.c: Likewise.
35290 * math/w_acosf.c: Likewise.
35291 * math/w_acosl.c: Likewise.
35292 * math/w_acosh.c: Likewise.
35293 * math/w_acoshf.c: Likewise.
35294 * math/w_acoshl.c: Likewise.
35295 * math/w_asin.c: Likewise.
35296 * math/w_asinf.c: Likewise.
35297 * math/w_asinl.c: Likewise.
35298 * math/w_atan2.c: Likewise.
35299 * math/w_atan2f.c: Likewise.
35300 * math/w_atan2l.c: Likewise.
35301 * math/w_atanh.c: Likewise.
35302 * math/w_atanhf.c: Likewise.
35303 * math/w_atanhl.c: Likewise.
35304 * math/w_exp10.c: Likewise.
35305 * math/w_exp10f.c: Likewise.
35306 * math/w_exp10l.c: Likewise.
35307 * math/w_fmod.c: Likewise.
35308 * math/w_fmodf.c: Likewise.
35309 * math/w_fmodl.c: Likewise.
35310 * math/w_j0.c: Likewise.
35311 * math/w_j0f.c: Likewise.
35312 * math/w_j0l.c: Likewise.
35313 * math/w_j1.c: Likewise.
35314 * math/w_j1f.c: Likewise.
35315 * math/w_j1l.c: Likewise.
35316 * math/w_jn.c: Likewise.
35317 * math/w_jnf.c: Likewise.
35318 * math/w_log.c: Likewise.
35319 * math/w_logf.c: Likewise.
35320 * math/w_logl.c: Likewise.
35321 * math/w_log10.c: Likewise.
35322 * math/w_log10f.c: Likewise.
35323 * math/w_log10l.c: Likewise.
35324 * math/w_log2.c: Likewise.
35325 * math/w_log2f.c: Likewise.
35326 * math/w_log2l.c: Likewise.
35327 * math/w_pow.c: Likewise.
35328 * math/w_powf.c: Likewise.
35329 * math/w_powl.c: Likewise.
35330 * math/w_remainder.c: Likewise.
35331 * math/w_remainderf.c: Likewise.
35332 * math/w_remainderl.c: Likewise.
35333 * math/w_scalb.c: Likewise.
35334 * math/w_scalbf.c: Likewise.
35335 * math/w_scalbl.c: Likewise.
35336 * math/w_sqrt.c: Likewise.
35337 * math/w_sqrtf.c: Likewise.
35338 * math/w_sqrtl.c: Likewise.
35339 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
35340 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
35341 used.
35342 * math/math_private.h: Declare __kernel_standard_f.
35343 * math/w_cosh.c: Remove cruft and optimize a bit.
35344 * math/w_coshf.c: Likewise.
35345 * math/w_coshl.c: Likewise.
35346 * math/w_exp2.c: Likewise.
35347 * math/w_exp2f.c: Likewise.
35348 * math/w_exp2l.c: Likewise.
35349 * math/w_hypot.c: Likewise.
35350 * math/w_hypotf.c: Likewise.
35351 * math/w_hypotl.c: Likewise.
35352 * math/w_lgamma.c: Likewise.
35353 * math/w_lgamma_r.c: Likewise.
35354 * math/w_lgammaf.c: Likewise.
35355 * math/w_lgammaf_r.c: Likewise.
35356 * math/w_lgammal.c: Likewise.
35357 * math/w_lgammal_r.c: Likewise.
35358 * math/w_sinh.c: Likewise.
35359 * math/w_sinhf.c: Likewise.
35360 * math/w_sinhl.c: Likewise.
35361 * math/w_tgamma.c: Likewise.
35362 * math/w_tgammaf.c: Likewise.
35363 * math/w_tgammal.c: Likewise.
35364 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35365 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35366 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
35367 Minor optimizations. Pretty printing. Remove cruft.
35368 * sysdeps/i386/fpu/e_acosf.S: Likewise.
35369 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35370 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35371 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35372 * sysdeps/i386/fpu/e_acosl.c: Likewise.
35373 * sysdeps/i386/fpu/e_asin.S: Likewise.
35374 * sysdeps/i386/fpu/e_asinf.S: Likewise.
35375 * sysdeps/i386/fpu/e_atan2.S: Likewise.
35376 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
35377 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
35378 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35379 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35380 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35381 * sysdeps/i386/fpu/e_exp10.S: Likewise.
35382 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
35383 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
35384 * sysdeps/i386/fpu/e_exp2.S: Likewise.
35385 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
35386 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
35387 * sysdeps/i386/fpu/e_fmod.S: Likewise.
35388 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
35389 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
35390 * sysdeps/i386/fpu/e_hypot.S: Likewise.
35391 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
35392 * sysdeps/i386/fpu/e_log.S: Likewise.
35393 * sysdeps/i386/fpu/e_log10.S: Likewise.
35394 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35395 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35396 * sysdeps/i386/fpu/e_log2.S: Likewise.
35397 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35398 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35399 * sysdeps/i386/fpu/e_logf.S: Likewise.
35400 * sysdeps/i386/fpu/e_logl.S: Likewise.
35401 * sysdeps/i386/fpu/e_pow.S: Likewise.
35402 * sysdeps/i386/fpu/e_powf.S: Likewise.
35403 * sysdeps/i386/fpu/e_powl.S: Likewise.
35404 * sysdeps/i386/fpu/e_remainder.S: Likewise.
35405 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
35406 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
35407 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35408 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35409 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35410 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
35411 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
35412 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
35413 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35414 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35415 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35416 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35417 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
35418 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35419 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
35420 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35421 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35422 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35423 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35424 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35425 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35426 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35427 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35428 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35429 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35430 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35431 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35432 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35433 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35434 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35435 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35436 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35437 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35438 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35439 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
35440 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35441 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
35442 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35443 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35444 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35445 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35446 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35447 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35448 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35449 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35450 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35451 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35452 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35453 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35454 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35455 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35456 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35457 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35458 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35459 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35460 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35461 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35462 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
35463 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35464 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35465 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35466 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35467 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35468 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35469 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35470 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35471 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35472 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35473 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35474 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35475 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35476 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35477 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35478 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35479 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35480 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35481 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
35482 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35483 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35484 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35485 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35486 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35487 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35488 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35489 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35490 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35491 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35492 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35493 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35494 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35495 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
35496 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35497 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35498 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35499 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35500 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35501 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35502 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35503 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35504 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35505 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35506 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
35507 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35508 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35509 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35510 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
35511 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
35512 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
35513 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
35514 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
35515 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
35516 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
35517 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35518 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35519 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35520 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35521 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
35522 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35523 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
35524 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
35525 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
35526 (__isnanf): Likewise.
35527 (__isinf_ns): Likewise.
35528 (__isinf_nsf): Likewise.
35529 (__finite): Likewise.
35530 (__finitef): Likewise.
35531 (__ieee754_sqrt): Define as macro.
35532 (__ieee754_sqrtf): Define as macro.
35533 (__ieee754_sqrtl): Define as macro.
35534 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
35535 inlined copy.
35536 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
35537 __FINITE_MATH_ONLY__ consistent.
35538 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
35539
12cc2fcd
AS
355402011-10-10 Andreas Schwab <schwab@linux-m68k.org>
35541
a843a204
AS
35542 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
35543 of rawmemchr.
35544
12cc2fcd
AS
35545 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
35546
c853acd5
UD
355472011-10-09 Ulrich Drepper <drepper@gmail.com>
35548
35549 * po/ja.po: Update from translation team.
35550
c658d255
RM
355512011-10-08 Roland McGrath <roland@hack.frob.com>
35552
110946e4
RM
35553 * locale/programs/locarchive.c (prepare_address_space): New function.
35554 (create_archive, enlarge_archive, open_archive): Use it.
35555
50604220
RM
35556 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
35557 inside [SHARED], where it is used.
35558
c658d255
RM
35559 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
35560
35561 * nss/getent.c (netgroup_keys): Remove unused variable.
35562 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35563
6a621eb7
UD
355642011-10-08 Ulrich Drepper <drepper@gmail.com>
35565
7edb55ce
UD
35566 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
35567 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
35568 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
35569 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
35570 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
35571 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
35572 * math/Makefile (libm-calls): Add s_isinf_ns.
35573 * math/divtc3.c: Use __isinf_nsl instead of isinf.
35574 * math/multc3.c: Likewise.
35575 * math/s_casin.c: Likewise.
35576 * math/s_casinf.c: Likewise.
35577 * math/s_casinl.c: Likewise.
35578 * math/s_ccos.c: Likewise.
35579 * math/s_ccosf.c: Likewise.
35580 * math/s_ccosl.c: Likewise.
35581 * math/s_ctan.c: Likewise.
35582 * math/s_ctanf.c: Likewise.
35583 * math/s_ctanh.c: Likewise.
35584 * math/s_ctanhf.c: Likewise.
35585 * math/s_ctanhl.c: Likewise.
35586 * math/s_ctanl.c: Likewise.
35587 * math/w_fmod.c: Likewise.
35588 * math/w_fmodf.c: Likewise.
35589 * math/w_fmodl.c: Likewise.
35590 * math/w_remainder.c: Likewise.
35591 * math/w_remainderf.c: Likewise.
35592 * math/w_remainderl.c: Likewise.
35593 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
35594 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
35595 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
35596 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
35597 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
35598 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
35599 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
35600 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
35601
187da0ae
UD
35602 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
35603 of the number.
35604 * stdio-common/printf_fphex.c: Likewise.
35605 * stdio-common/printf_size.c: Likewise.
35606
9277c064
UD
35607 * math/e_exp10.c: Include math_private.h using <...> not "...".
35608 * math/e_exp10f.c: Likewise.
35609 * math/e_exp10l.c: Likewise.
35610 * math/e_exp2l.c: Likewise.
35611 * math/e_j0l.c: Likewise.
35612 * math/e_j1l.c: Likewise.
35613 * math/e_jnl.c: Likewise.
35614 * math/e_lgammal_r.c: Likewise.
35615 * math/e_rem_pio2l.c: Likewise.
35616 * math/e_scalb.c: Likewise.
35617 * math/e_scalbf.c: Likewise.
35618 * math/e_scalbl.c: Likewise.
35619 * math/k_cosl.c: Likewise.
35620 * math/k_sinl.c: Likewise.
35621 * math/k_tanl.c: Likewise.
35622 * math/s_cacoshf.c: Likewise.
35623 * math/s_catan.c: Likewise.
35624 * math/s_catanf.c: Likewise.
35625 * math/s_catanh.c: Likewise.
35626 * math/s_catanhf.c: Likewise.
35627 * math/s_catanhl.c: Likewise.
35628 * math/s_catanl.c: Likewise.
35629 * math/s_ccosh.c: Likewise.
35630 * math/s_ccoshf.c: Likewise.
35631 * math/s_ccoshl.c: Likewise.
35632 * math/s_cexp.c: Likewise.
35633 * math/s_cexpf.c: Likewise.
35634 * math/s_cexpl.c: Likewise.
35635 * math/s_clog.c: Likewise.
35636 * math/s_clog10.c: Likewise.
35637 * math/s_clog10f.c: Likewise.
35638 * math/s_clog10l.c: Likewise.
35639 * math/s_clogf.c: Likewise.
35640 * math/s_clogl.c: Likewise.
35641 * math/s_csin.c: Likewise.
35642 * math/s_csinf.c: Likewise.
35643 * math/s_csinh.c: Likewise.
35644 * math/s_csinhf.c: Likewise.
35645 * math/s_csinhl.c: Likewise.
35646 * math/s_csinl.c: Likewise.
35647 * math/s_csqrt.c: Likewise.
35648 * math/s_csqrtf.c: Likewise.
35649 * math/s_csqrtl.c: Likewise.
35650 * math/s_ctan.c: Likewise.
35651 * math/s_ctanf.c: Likewise.
35652 * math/s_ctanh.c: Likewise.
35653 * math/s_ctanhf.c: Likewise.
35654 * math/s_ctanhl.c: Likewise.
35655 * math/s_ctanl.c: Likewise.
35656 * math/s_ldexp.c: Likewise.
35657 * math/s_ldexpf.c: Likewise.
35658 * math/s_ldexpl.c: Likewise.
35659 * math/s_significand.c: Likewise.
35660 * math/s_significandf.c: Likewise.
35661 * math/s_significandl.c: Likewise.
35662 * math/w_acos.c: Likewise.
35663 * math/w_acosf.c: Likewise.
35664 * math/w_acosh.c: Likewise.
35665 * math/w_acoshf.c: Likewise.
35666 * math/w_acoshl.c: Likewise.
35667 * math/w_acosl.c: Likewise.
35668 * math/w_asin.c: Likewise.
35669 * math/w_asinf.c: Likewise.
35670 * math/w_asinl.c: Likewise.
35671 * math/w_atan2.c: Likewise.
35672 * math/w_atan2f.c: Likewise.
35673 * math/w_atan2l.c: Likewise.
35674 * math/w_atanh.c: Likewise.
35675 * math/w_atanhf.c: Likewise.
35676 * math/w_atanhl.c: Likewise.
35677 * math/w_cosh.c: Likewise.
35678 * math/w_coshf.c: Likewise.
35679 * math/w_coshl.c: Likewise.
35680 * math/w_dremf.c: Likewise.
35681 * math/w_exp10.c: Likewise.
35682 * math/w_exp10f.c: Likewise.
35683 * math/w_exp10l.c: Likewise.
35684 * math/w_exp2.c: Likewise.
35685 * math/w_exp2f.c: Likewise.
35686 * math/w_fmod.c: Likewise.
35687 * math/w_fmodf.c: Likewise.
35688 * math/w_fmodl.c: Likewise.
35689 * math/w_hypot.c: Likewise.
35690 * math/w_hypotf.c: Likewise.
35691 * math/w_hypotl.c: Likewise.
35692 * math/w_j0.c: Likewise.
35693 * math/w_j0f.c: Likewise.
35694 * math/w_j0l.c: Likewise.
35695 * math/w_j1.c: Likewise.
35696 * math/w_j1f.c: Likewise.
35697 * math/w_j1l.c: Likewise.
35698 * math/w_jn.c: Likewise.
35699 * math/w_jnf.c: Likewise.
35700 * math/w_jnl.c: Likewise.
35701 * math/w_lgamma.c: Likewise.
35702 * math/w_lgamma_r.c: Likewise.
35703 * math/w_lgammaf.c: Likewise.
35704 * math/w_lgammaf_r.c: Likewise.
35705 * math/w_lgammal.c: Likewise.
35706 * math/w_lgammal_r.c: Likewise.
35707 * math/w_log.c: Likewise.
35708 * math/w_log10.c: Likewise.
35709 * math/w_log10f.c: Likewise.
35710 * math/w_log10l.c: Likewise.
35711 * math/w_log2.c: Likewise.
35712 * math/w_log2f.c: Likewise.
35713 * math/w_log2l.c: Likewise.
35714 * math/w_logf.c: Likewise.
35715 * math/w_logl.c: Likewise.
35716 * math/w_pow.c: Likewise.
35717 * math/w_powf.c: Likewise.
35718 * math/w_powl.c: Likewise.
35719 * math/w_remainder.c: Likewise.
35720 * math/w_remainderf.c: Likewise.
35721 * math/w_remainderl.c: Likewise.
35722 * math/w_scalb.c: Likewise.
35723 * math/w_scalbf.c: Likewise.
35724 * math/w_scalbl.c: Likewise.
35725 * math/w_sinh.c: Likewise.
35726 * math/w_sinhf.c: Likewise.
35727 * math/w_sinhl.c: Likewise.
35728 * math/w_sqrt.c: Likewise.
35729 * math/w_sqrtf.c: Likewise.
35730 * math/w_sqrtl.c: Likewise.
35731 * math/w_tgamma.c: Likewise.
35732 * math/w_tgammaf.c: Likewise.
35733 * math/w_tgammal.c: Likewise.
35734
6a621eb7
UD
35735 * po/ja.po: Update from translation team.
35736
bf582445
AJ
357372011-09-29 Andreas Jaeger <aj@suse.de>
35738
f9efbf3a
AJ
35739 [BZ #13179]
35740 * sunrpc/netname.c (netname2host): Fix logic.
35741
bf582445
AJ
35742 [BZ #6779]
35743 [BZ #6783]
35744 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
35745 correctly.
35746 * math/w_remainder.c (__remainder): Likewise.
35747 * math/w_remainderf.c (__remainderf): Likewise.
35748 * math/libm-test.inc (remainder_test): Add test cases.
35749
48693bea
AK
357502011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35751
35752 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
35753 sdiv_qrnnd.
35754
42622229
LD
357552011-10-07 Ulrich Drepper <drepper@gmail.com>
35756
35757 * string/test-memcmp.c: Avoid unncessary #defines.
35758 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
35759
093ecf92
LD
357602011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35761
35762 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
35763 Use new sse2 version for core i3 - i7 as it's faster
35764 than sse42 version.
35765 (bit_Prefer_PMINUB_for_stringop): New.
35766 * sysdeps/x86_64/rawmemchr.S: Update.
35767 Replace with faster SSE2 version.
35768 * sysdeps/x86_64/memrchr.S: New file.
35769 * sysdeps/x86_64/memchr.S: Update.
35770 Replace with faster SSE2 version.
35771
fde56e5c
MP
357722011-09-12 Marek Polacek <mpolacek@redhat.com>
35773
35774 * elf/dl-load.c (lose): Add cast to avoid warning.
35775
21fd49a9
UD
357762011-10-07 Ulrich Drepper <drepper@gmail.com>
35777
5a06e643
UD
35778 * po/ca.po: Update from translation team.
35779
684ae515
UD
35780 * inet/getnetgrent_r.c: Hook up nscd.
35781 * nscd/Makefile (routines): Add nscd_netgroup.
35782 (nscd-modules): Add netgroupcache.
35783 (CFLAGS-netgroupcache.c): Define.
35784 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
35785 (cache_search): Add const to second parameter.
35786 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
35787 INNETGR.
35788 (dbs): Add netgrdb entry.
35789 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
35790 (verify_persistent_db): Handle netgrdb.
35791 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
35792 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
35793 GETFDNETGR.
35794 (netgroup_response_header): Define.
35795 (innetgroup_response_header): Define.
35796 (datahead): Add netgroup_response_header and innetgroup_response_header
35797 elements.
35798 * nscd/nscd.conf: Add entries for netgroup cache.
35799 * nscd/nscd.h (dbtype): Add netgrdb.
35800 (_PATH_NSCD_NETGROUP_DB): Define.
35801 (netgroup_iov_disabled): Declare.
35802 (xmalloc, xcalloc, xrealloc): Move declarations here.
35803 (cache_search): Adjust prototype.
35804 Add netgroup-related prototypes.
35805 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
35806 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
35807 (__nscd_innetgr): Declare.
35808 * nscd/selinux.c (perms): Use access_vector_t as element type and
35809 add netgroup-related initializers.
35810 * nscd/netgroupcache.c: New file.
35811 * nscd/nscd_netgroup.c: New file.
35812 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
35813 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
35814 For four parameters use innetgr.
35815 * nss/nss_files/files-init.c: Add definition and callback for netgr.
35816 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
35817 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
35818 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
35819
21fd49a9
UD
35820 * nscd/connections.c (register_traced_file): Don't register file
35821 for disabled databases.
35822
054c0457
UD
358232011-10-06 Ulrich Drepper <drepper@gmail.com>
35824
32b63198
UD
35825 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
35826
054c0457
UD
35827 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
35828 from tree and freeing node.
35829
64031225
JO
358302011-09-25 Jiri Olsa <jolsa@redhat.com>
35831
35832 * nss/nsswitch.c (__nss_database_lookup): Handle
35833 nss_parse_service_list out of memory case.
35834
0490345c
JO
358352011-09-15 Jiri Olsa <jolsa@redhat.com>
35836
35837 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
35838 out of memory case.
35839
3a62d00d
AS
358402011-10-04 Andreas Schwab <schwab@redhat.com>
35841
35842 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
35843 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
35844 pass it down.
35845 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
35846 elf_machine_rela, elf_machine_lazy_rel.
35847 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
35848 (ELF_DYNAMIC_DO_REL): Likewise.
35849 (ELF_DYNAMIC_DO_RELA): Likewise.
35850 (ELF_DYNAMIC_RELOCATE): Likewise.
35851 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
35852 to ELF_DYNAMIC_DO_REL.
35853 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
35854 (dl_main): In trace mode always set __RTLD_NOIFUNC.
35855 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
35856 elf_machine_rela.
35857 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
35858 skip_ifunc, don't call ifunc function if non-zero.
35859 (elf_machine_rela): Likewise.
35860 (elf_machine_lazy_rel): Likewise.
35861 (elf_machine_lazy_rela): Likewise.
35862 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
35863 (elf_machine_lazy_rel): Likewise.
35864 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
35865 Likewise.
35866 (elf_machine_lazy_rel): Likewise.
35867 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35868 Likewise.
35869 (elf_machine_lazy_rel): Likewise.
35870 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
35871 (elf_machine_lazy_rel): Likewise.
35872 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
35873 (elf_machine_lazy_rel): Likewise.
35874 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
35875 (elf_machine_lazy_rel): Likewise.
35876 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
35877 (elf_machine_lazy_rel): Likewise.
35878 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
35879 (elf_machine_lazy_rel): Likewise.
35880 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
35881 (elf_machine_lazy_rel): Likewise.
35882
68577918
UD
358832011-09-28 Ulrich Drepper <drepper@gmail.com>
35884
35885 * nss/nss_files/files-init.c (_nss_files_init): Use static
35886 initialization for all the *_traced_file variables.
35887
68822d74
AS
358882011-09-28 Andreas Schwab <schwab@redhat.com>
35889
35890 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35891
2056100b
RM
358922011-09-27 Roland McGrath <roland@hack.frob.com>
35893
35894 [BZ #13226]
35895 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
35896
32c76b63
AS
358972011-09-27 Andreas Schwab <schwab@redhat.com>
35898
35899 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35900 Reread the line before reparsing it.
35901
bf972c9d
AS
359022011-09-26 Andreas Schwab <schwab@redhat.com>
35903
35904 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
35905
e057a1b5
JM
359062011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
35907 Maxim Kuvyrkov <maxim@codesourcery.com>
35908 Joseph Myers <joseph@codesourcery.com>
35909
35910 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
35911 if needed for __stack_chk_guard.
35912
bc7e1c36
RM
359132011-09-19 Roland McGrath <roland@hack.frob.com>
35914
ecb1482f
RM
35915 * sysdeps/posix/spawni.c (script_execute): Always define it.
35916 It will be optimized away if unused.
35917 (maybe_script_execute): New function.
35918 (__spawni): Call it.
35919
bc7e1c36
RM
35920 * Makerules: Don't include tls.make.
35921 (config-tls): Always set to thread.
35922 * tls.make.c: File removed.
35923
1c3b002b
MF
359242011-09-19 Mike Frysinger <vapier@gentoo.org>
35925
35926 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
35927 * config.make.in (CPPFLAGS-config): New substituted variable.
35928
2840865d
UD
359292011-09-15 Ulrich Drepper <drepper@gmail.com>
35930
88738eb6
UD
35931 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
35932
cbf645a6 35933 [BZ #13192]
2840865d
UD
35934 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
35935 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
35936
b402e91a
RM
359372011-09-15 Roland McGrath <roland@hack.frob.com>
35938
35939 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
35940 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
35941 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35942 (CALL_FAIL): Likewise.
35943 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
35944 (CALL_FAIL): Macro removed.
35945 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
35946
4c1a1f71
UD
359472011-09-15 Ulrich Drepper <drepper@gmail.com>
35948
35949 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
35950 for __FINITE_MATH_ONLY__ == 1.
35951
edc121be
AS
359522011-09-15 Andreas Schwab <schwab@redhat.com>
35953
35954 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
35955 __ieee754_sqrt instead of sqrt.
35956 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
35957 __ieee754_sqrtf instead of sqrtf.
35958 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
35959 __floorf instead of floorf.
35960 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
35961 __floorf, __truncf instead of floorf, truncf.
35962
cd205654
UD
359632011-09-14 Ulrich Drepper <drepper@gmail.com>
35964
ee4d0315
UD
35965 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
35966
cd205654
UD
35967 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
35968 __extern_always_inline.
35969 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
35970 32-bit.
35971
48b67d71
AS
359722011-09-14 Andreas Schwab <schwab@redhat.com>
35973
35974 * elf/rtld.c (dl_main): Also relocate in dependency order when
35975 doing symbol dependency testing.
35976
1ae12c75
AS
359772011-09-13 Andreas Schwab <schwab@linux-m68k.org>
35978
35979 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35980 Always define `refsym'.
35981
995a80df
AS
359822011-09-13 Andreas Schwab <schwab@redhat.com>
35983
e529793b
AS
35984 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
35985 (__FD_ELT): Renamed from __FDELT.
35986 * misc/bits/select2.h (__FD_ELT): Likewise.
35987 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
35988 __FD_MASK instead of __FDELT, __FDMASK.
35989 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35990 Likewise.
35991 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
35992 Likewise.
35993
52d4fef8
AS
35994 * elf/Makefile (gen-ldd): Fix pattern.
35995
995a80df
AS
35996 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
35997 (init_tls): Likewise.
35998
8682f8b0
UD
359992011-09-12 Ulrich Drepper <drepper@gmail.com>
36000
36001 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
36002
de82006d
AS
360032011-09-12 Andreas Schwab <schwab@redhat.com>
36004
a7c8e6a1
AS
36005 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
36006 `struct cmsghdr *' instead of `void *'.
36007 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
36008 Likewise.
36009
0f31fe77
AS
360102011-09-11 Andreas Schwab <schwab@linux-m68k.org>
36011
36012 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
36013 if non-absolute.
36014 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
36015 ldd_rewrite_script.
0f31fe77 36016
32b4c839
UD
360172011-09-11 Ulrich Drepper <drepper@gmail.com>
36018
83cd1420
UD
36019 * configure.in: Remove --with-tls option.
36020 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
36021 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
36022 out in case it is missing.
36023 * sysdeps/ia64/elf/configure.in: Likewise.
36024 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
36025 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
36026 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
36027 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
36028 * sysdeps/sh/elf/configure.in: Likewise.
36029 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
36030 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36031 * sysdeps/x86_64/elf/configure.in: Likewise.
36032 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
36033 * sysdeps/mach/hurd/tls.h: Likewise.
36034
633f745d
UD
36035 [BZ #13067]
36036 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
36037
f318beb8
UD
36038 [BZ #13090]
36039 * configure.in: Fix use of AC_INIT.
36040
32b4c839
UD
36041 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
36042
3ce1f295
UD
360432011-09-10 Ulrich Drepper <drepper@gmail.com>
36044
bb016596
UD
36045 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
36046 __set_errno.
8e58439c
UD
36047 * malloc/hooks.c: Likewise.
36048
aebae053 36049 [BZ #11929]
02d46fc4
UD
36050 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
36051 variables statically.
36052 (narenas): Initialize.
36053 (list_lock): Initialize.
bb016596
UD
36054 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
36055 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
36056 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
36057 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
36058 Add initializers to main_arena and mp_.
36059 (malloc_state): Remove pagesize member. Change all users to use
36060 GLRO(dl_pagesize).
36061
36062 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
36063 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
36064 is always initialized.
36065
22a89187
UD
36066 * malloc/malloc.c: Removed unused configurations and dead code.
36067 * malloc/arena.c: Likewise.
36068 * malloc/hooks.c: Likewise.
02d46fc4 36069 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 36070
d063d164
UD
36071 * include/tls.h: Removed. USE___THREAD must always be defined.
36072 * bits/libc-tsd.h: Don't handle !USE___THREAD.
36073 * elf/dl-libc.c: Likewise.
36074 * elf/dl-tsd.c: Likewise.
36075 * include/errno.h: Likewise.
36076 * include/netdb.h: Likewise.
36077 * include/resolv.h: Likewise.
36078 * inet/herrno-loc.c: Likewise.
36079 * inet/herrno.c: Likewise.
36080 * malloc/arena.c: Likewise.
36081 * malloc/hooks.c: Likewise.
36082 * malloc/malloc.c: Likewise.
36083 * resolv/res-state.c: Likewise.
36084 * resolv/res_libc.c: Likewise.
36085 * sysdeps/i386/dl-machine.h: Likewise.
36086 * sysdeps/ia64/dl-machine.h: Likewise.
36087 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
36088 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
36089 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
36090 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
36091 * sysdeps/sh/dl-machine.h: Likewise.
36092 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36093 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36094 * sysdeps/unix/i386/sysdep.S: Likewise.
36095 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36096 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
36097 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
36098 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36099 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
36100 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36101 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36102 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36103 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36104 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36105 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36106 * sysdeps/x86_64/dl-machine.h: Likewise.
36107 * tls.make.c: Likewise.
36108
3ce1f295
UD
36109 * configure.in: Remove --with-__thread option. Make tests for
36110 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
36111 tls_model attribute fail if no support is available. Remove
36112 USE_IN_LIBIO.
36113 * Makeconfig: Adjust for dropped configure option. All features are
36114 now mandatory.
36115 * Makerules: Likewise.
36116 * Versions.def: Likewise.
36117 * argp/argp-fmtstream.c: Likewise.
36118 * argp/argp-fmtstream.h: Likewise.
36119 * argp/argp-help.c: Likewise.
36120 * assert/assert.c: Likewise.
36121 * config.h.in: Likewise.
36122 * config.make.in: Likewise.
36123 * configure: Likewise.
36124 * configure.in: Likewise.
36125 * csu/Versions: Likewise.
36126 * csu/init.c: Likewise.
36127 * elf/tst-audit2.c: Likewise.
36128 * elf/tst-tls10.c: Likewise.
36129 * elf/tst-tls10.h: Likewise.
36130 * elf/tst-tls11.c: Likewise.
36131 * elf/tst-tls12.c: Likewise.
36132 * elf/tst-tls14.c: Likewise.
36133 * elf/tst-tlsmod11.c: Likewise.
36134 * elf/tst-tlsmod12.c: Likewise.
36135 * elf/tst-tlsmod13.c: Likewise.
36136 * elf/tst-tlsmod13a.c: Likewise.
36137 * elf/tst-tlsmod14a.c: Likewise.
36138 * elf/tst-tlsmod15b.c: Likewise.
36139 * elf/tst-tlsmod16a.c: Likewise.
36140 * elf/tst-tlsmod16b.c: Likewise.
36141 * elf/tst-tlsmod7.c: Likewise.
36142 * elf/tst-tlsmod8.c: Likewise.
36143 * elf/tst-tlsmod9.c: Likewise.
36144 * gmon/gmon.c: Likewise.
36145 * grp/fgetgrent_r.c: Likewise.
36146 * grp/putgrent.c: Likewise.
36147 * hurd/fopenport.c: Likewise.
36148 * include/libc-symbols.h: Likewise.
36149 * include/tls.h: Likewise.
36150 * intl/gettextP.h: Likewise.
36151 * intl/loadinfo.h: Likewise.
36152 * locale/global-locale.c: Likewise.
36153 * locale/localeinfo.h: Likewise.
36154 * mach/devstream.c: Likewise.
36155 * malloc/arena.c: Likewise.
36156 * malloc/set-freeres.c: Likewise.
36157 * misc/err.c: Likewise.
36158 * misc/getttyent.c: Likewise.
36159 * misc/mntent_r.c: Likewise.
36160 * posix/getopt.c: Likewise.
36161 * posix/wordexp.c: Likewise.
36162 * pwd/fgetpwent_r.c: Likewise.
36163 * resolv/Versions: Likewise.
36164 * resolv/res_hconf.c: Likewise.
36165 * shadow/fgetspent_r.c: Likewise.
36166 * shadow/putspent.c: Likewise.
36167 * stdio-common/printf_fphex.c: Likewise.
36168 * stdio-common/tmpfile.c: Likewise.
36169 * stdlib/abort.c: Likewise.
36170 * stdlib/fmtmsg.c: Likewise.
36171 * sunrpc/auth_unix.c: Likewise.
36172 * sunrpc/clnt_perr.c: Likewise.
36173 * sunrpc/clnt_tcp.c: Likewise.
36174 * sunrpc/clnt_udp.c: Likewise.
36175 * sunrpc/clnt_unix.c: Likewise.
36176 * sunrpc/openchild.c: Likewise.
36177 * sunrpc/svc_simple.c: Likewise.
36178 * sunrpc/svc_tcp.c: Likewise.
36179 * sunrpc/svc_udp.c: Likewise.
36180 * sunrpc/svc_unix.c: Likewise.
36181 * sunrpc/xdr.c: Likewise.
36182 * sunrpc/xdr_array.c: Likewise.
36183 * sunrpc/xdr_rec.c: Likewise.
36184 * sunrpc/xdr_ref.c: Likewise.
36185 * sunrpc/xdr_stdio.c: Likewise.
36186
1248c1c4
PB
361872011-09-09 Ulrich Drepper <drepper@gmail.com>
36188
36189 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36190
361912011-07-03 Andreas Jaeger <aj@suse.de>
36192
36193 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
36194 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
36195 regenerate with gen-libm-tests.pl.
36196
361972010-05-12 Petr Baudis <pasky@suse.cz>
36198
36199 [BZ #11589]
36200 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
36201 around j0() zero points by switching to j1().
36202 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36203 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36204 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36205 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36206
f22e1074
UD
362072011-09-09 Ulrich Drepper <drepper@gmail.com>
36208
f19009c1
UD
36209 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
36210 instead of 0.
36211 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 36212 instead of 0.
f19009c1
UD
36213 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36214 Patch in part by Pavel Roskin <proski@gnu.org>.
36215
3f8cc204
UD
36216 [BZ #13138]
36217 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
36218 realloc.
36219 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
36220 Free memory block if necessary.
36221
f22e1074
UD
36222 [BZ #12847]
36223 * libio/genops.c (INTDEF): For string streams the _lock pointer can
36224 be NULL. Don't lock in this case.
36225
0a2349f9
RM
362262011-09-09 Roland McGrath <roland@hack.frob.com>
36227
36228 * elf/elf.h (ELFOSABI_GNU): New macro.
36229 (ELFOSABI_LINUX): Define to that.
36230
f3cdd467
DZ
362312011-07-29 Denis Zaitceff <zaitceff@gmail.com>
36232
36233 * string/strncat.c (strncat): Undef the symbol in case it has been
36234 defined in bits/string.h.
36235
74718d13
UD
362362011-09-09 Ulrich Drepper <drepper@gmail.com>
36237
633e9e0f
UD
36238 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
36239
0a2349f9 36240 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
36241 link map.
36242
f9924780
AJ
362432011-08-17 Andreas Jaeger <aj@suse.de>
36244
36245 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
36246
7f5517aa
PP
362472011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
36248 Ian Lance Taylor <iant@google.com>
36249
36250 * math/libm-test.inc (lround_test): New testcase.
36251 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
36252
762011fe
UD
362532011-09-08 Ulrich Drepper <drepper@gmail.com>
36254
92963737
UD
36255 * Makefile: Remove support for automatic cvs check-ins.
36256 * Makerules: Likewise.
36257 * config.make.in: Likewise.
36258 * configure.in: Likewise.
36259 * intl/Makefile: Likewise.
36260 * locale/Makefile: Likewise.
36261 * po/Makefile: Likewise.
36262 * posix/Makefile: Likewise.
36263 * sysdeps/gnu/Makefile: Likewise.
36264 * sysdeps/mach/hurd/Makefile: Likewise.
36265 * sysdeps/sparc/sparc32/Makefile: Likewise.
36266
b0727fd8
JS
36267 [BZ #13118]
36268 * posix/Makefile (bug-regex32-ENV): Define.
36269 Patch by John Stanley <jpsinthemix@verizon.net>.
36270
a0f33f99
UD
36271 * misc/Makefile (headers): Add bits/select2.h.
36272 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
36273 * misc/bits/select2.h: New file.
36274 * include/bits/select2.h: New file.
36275 * debug/Makefile (routines): Add fdelt_chk.
36276 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
36277 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
36278 FD_ISSET.
36279 * debug/fdelt_chk.c: New file.
36280
762011fe
UD
36281 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
36282 * wcsmbs/test-wmemcmp.c: Likewise.
36283 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 36284 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
36285
362862011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36287
36288 * string/Makefile (strop-tests): Add memcmp.
36289 * string/test-wmemcmp.c: New file.
36290 * string/test-memcmp.c: Add wmemcmp support.
36291
7f513ec8
RM
362922011-09-08 Roland McGrath <roland@hack.frob.com>
36293
0442afb4
RM
36294 [BZ #13153]
36295 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
36296 2011-07-19 change.
36297
7f513ec8
RM
36298 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
36299 garbage value in a __mach_port_mod_refs call in the cases of the
36300 task-self and thread-self ports.
36301
a12b2239
ST
363022011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
36303
36304 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
36305
610f9ab4
AS
363062011-09-08 Andreas Schwab <schwab@redhat.com>
36307
7f513ec8 36308 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 36309
48882a1a
LD
363102011-09-07 Ulrich Drepper <drepper@gmail.com>
36311
b49865be
UD
36312 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
36313
fdc86bc9
UD
36314 * elf/dl-libc.c (dlerror_run): Pass back error code from
36315 dl_catch_error.
36316
c966526a
UD
36317 [BZ #13123]
36318 * elf/dl-load.c (lose): Free l_origin if it is valid.
36319
48882a1a
LD
36320 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
36321 names.
36322 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
36323 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36324 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36325 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36326 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
36327 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
36328
77a2a8b4
AZ
363292011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36330
36331 * sysdeps/powerpc/fpu/e_hypot.c: New file.
36332 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
36333 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
36334 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
36335 * sysdeps/powerpc/fpu/k_cosf.c: New file.
36336 * sysdeps/powerpc/fpu/k_sinf.c: New file.
36337 * sysdeps/powerpc/fpu/s_cosf.c: New file.
36338 * sysdeps/powerpc/fpu/s_sinf.c: New file.
36339 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
36340 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
36341
24f579d8
AM
363422011-08-15 Alan Modra <amodra@gmail.com>
36343
36344 [BZ #13092]
36345 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
36346 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
36347 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
36348 ppc_mcount to static-only-routines.
36349 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
36350 __mcount_internal.
36351 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
36352 __mcount_internal with usual JUMPTARGET. Remove useless nop.
36353
3d4837df
UD
363542011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
36355
36356 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
36357 for finite and infinity parameters.
36358
22700377
WS
363592011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
36360
36361 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
36362 and add nop instructions for throughput optimization.
36363 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
36364
5025581e
WS
363652011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
36366
36367 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
36368 aligned copy for power7 with vector-scalar instructions.
36369 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
36370
08a300c9
L
363712011-07-24 H.J. Lu <hongjiu.lu@intel.com>
36372
36373 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
36374 AVX check.
36375
59178ef9
AS
363762011-09-07 Andreas Schwab <schwab@redhat.com>
36377
36378 [BZ #13144]
36379 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
36380 last change.
36381
e38ba7ab
UD
363822011-09-07 Ulrich Drepper <drepper@gmail.com>
36383
36384 * sysdeps/unix/sysv/linux/x86_64/init-first.c
36385 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
36386 syscall wrapper around clock_gettime in __vdso_clock_gettime.
36387 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
36388 clock_gettime.
36389
d53a73ac
UD
363902011-09-06 Ulrich Drepper <drepper@gmail.com>
36391
fc8bffcc
UD
36392 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
36393 Forgot to demangle the pointer.
36394
ceaa0c5d
UD
36395 * sysdeps/i386/sysdep.h: Define atom_text_section.
36396 * sysdeps/x86_64/sysdep.h: Likewise.
36397 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
36398 section with atom_text_section.
36399 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
36400 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
36401 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
36402 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
36403 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
36404
a77d3c17
UD
36405 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
36406 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
36407 already be defined. Change to take two parameters and don't assign
36408 result to variable. Adjust all users.
36409 Define INTERNAL_GETTIME if not already defined.
36410 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
36411 call.
36412 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
36413 HAVE_CLOCK_GETTIME_VSYSCALL.
36414 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
36415
d53a73ac
UD
36416 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
36417 gettimeofday vsyscall, just use time.
36418
a8f84144
AS
364192011-09-06 Andreas Schwab <schwab@redhat.com>
36420
36421 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
36422 <errno.h>.
36423
ef606249
UD
364242011-09-06 Ulrich Drepper <drepper@gmail.com>
36425
36426 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
36427 syscall on x86-64.
36428 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
36429 syscall.
36430 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36431 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
36432 syscall if possible.
36433
6585cb60
UD
364342011-09-05 Ulrich Drepper <drepper@gmail.com>
36435
36436 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
36437 e_ident. Don't pass to find_mapsXX.
36438 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
36439
a5f524e4
LD
364402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36441
36442 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36443 strchr-sse2-no-bsf strrchr-sse2-no-bsf
36444 * sysdeps/x86_64/multiarch/strchr.S: Update.
36445 Check bit_slow_BSF bit.
36446 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36447 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
36448 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
36449
554881ef
UD
364502011-09-05 Ulrich Drepper <drepper@gmail.com>
36451
d96de963
UD
36452 [BZ #13134]
36453 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
36454 before glibc 2.15.
36455 (tryshell): Define.
36456 (__spawni): Change last parameter to be flag. Test
36457 SPAWN_XFLAGS_USE_PATH flag to use path or not.
36458 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
36459 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
36460 * posix/spawni.c: Likewise.
36461 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
36462 * posix/spawnp.c: Likewise. Change normal version to use
36463 SPAWN_XFLAGS_USE_PATH.
36464 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
36465 SPAWN_XFLAGS_TRY_SHELL.
36466
d48e5868
UD
36467 [BZ #13150]
36468 * posix/glob.h: Remove gcc 1.x support.
36469
554881ef
UD
36470 [BZ #13068]
36471 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
36472
693fb948
LD
364732011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36474
36475 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36476 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
36477 strrchr-sse2-bsf
36478 * sysdeps/i386/i686/multiarch/strchr.S: New file.
36479 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
36480 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
36481 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
36482 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
36483 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
36484
1b48c537
UD
364852011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36486
49d42c37
UD
36487 * sysdeps/x86_64/wcscmp.S: New file.
36488
1b48c537
UD
36489 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
36490 wcscmp-c wcscmp-sse2
36491 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
36492 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
36493 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
36494 * wcsmbs/wcscmp.c: Allow renaming.
36495
15c95c5d
DM
364962011-09-05 David S. Miller <davem@davemloft.net>
36497
36498 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
36499 stack slot, rather than the struct return pointer slot.
36500 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
36501 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
36502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
36503 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
36504
2f0ad8f3
UD
365052011-09-05 Ulrich Drepper <drepper@gmail.com>
36506
d88ae418
UD
36507 * po/ja.po: Update from translation team.
36508
2f0ad8f3
UD
36509 [BZ #13144]
36510 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
36511 kernel in 64-bit binaries.
36512
5f4318d1
DM
365132011-09-01 David S. Miller <davem@davemloft.net>
36514
36515 * elf/elf.h (HWCAP_SPARC_*): Move to..
36516 * sysdeps/sparc/sysdep.h: this new file and add new values.
36517 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
36518 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
36519 _DL_HWCAP_COUNT to 24.
36520 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
36521 entries.
36522 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
36523 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
36524 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
36525 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
36526 instead of magic constants.
36527 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36528
3ba57516
DM
365292011-08-31 David S. Miller <davem@davemloft.net>
36530
36531 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
36532 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
36533 Reimplement to do errno handling inline.
36534 (SYSCALL_ERROR_HANDLER): New macro.
36535 (__SYSCALL_STRING): Do not do errno handling in asm.
36536 (__CLONE_SYSCALL_STRING): Delete.
36537 (__INTERNAL_SYSCALL_STRING): Delete.
36538 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
36539 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
36540 (PSEUDO): Reimplement to do errno handling inline.
36541 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
36542 (SYSCALL_ERROR_HANDLER): New macro.
36543 (__SYSCALL_STRING): Do not do errno handling in asm.
36544 (__CLONE_SYSCALL_STRING): Delete.
36545 (__INTERNAL_SYSCALL_STRING): Delete.
36546 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
36547 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
36548 i386.
36549 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
36550 (inline_syscall*): Add 'err' argument.
36551 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
36552 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
36553 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
36554 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
36555
36556 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
36557 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
36558
2bc17433
AS
365592011-08-30 Andreas Schwab <schwab@redhat.com>
36560
36561 * elf/rtld.c (dl_main): Relocate objects in dependency order.
36562
fbeb5f4d
JO
365632011-08-29 Jiri Olsa <jolsa@redhat.com>
36564
36565 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
36566 directive.
36567
ad69cc26
DM
365682011-08-24 David S. Miller <davem@davemloft.net>
36569
36570 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
36571
39dd69df
AS
365722011-08-24 Andreas Schwab <schwab@redhat.com>
36573
36574 * elf/Makefile: Add rules to build and run unload8 test.
36575 * elf/unload8.c: New file.
36576 * elf/unload8mod1.c: New file.
36577 * elf/unload8mod1x.c: New file.
36578 * elf/unload8mod2.c: New file.
36579 * elf/unload8mod3.c: New file.
36580
36581 * elf/dl-close.c (_dl_close_worker): Reset private search list if
36582 it wasn't used.
36583
2c0b250a
DM
365842011-08-23 David S. Miller <davem@davemloft.net>
36585
36586 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
36587 subtract stack bias.
36588 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
36589 %sp not %fp in calculations.
36590 (_JMPBUF_UNWINDS_ADJ): Likewise.
36591
22044b48
DM
36592 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
36593 (aio_suspend): Call it to force an exception region around the
36594 AIO_MISC_WAIT() invocation.
36595
2cae4995
AS
365962011-08-23 Andreas Schwab <schwab@redhat.com>
36597
36598 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
36599 backslash.
36600
873a772e
AJ
366012011-07-04 Aurelien Jarno <aurelien@aurel32.net>
36602
36603 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
36604 protection macro.
36605 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
36606 and <dl-machine.h>.
36607 (Elf64_FuncDesc): Remove.
36608
25ad0df1
DM
366092011-08-22 David S. Miller <davem@davemloft.net>
36610
36611 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
36612 sigaltstack check, add missing cfi directives.
36613 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
36614 missing cfi directives, and sigaltstack handling.
36615
e888bcbe
AS
366162011-08-16 Andreas Schwab <schwab@redhat.com>
36617
36618 [BZ #11724]
36619 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
36620 object is seen twice.
36621 * elf/dl-fini.c (_dl_sort_fini): Likewise.
36622
36623 * elf/Makefile (distribute): Add tst-initorder2.c.
36624 (tests): Add tst-initorder2.
36625 (modules-names): Add tst-initorder2a tst-initorder2b
36626 tst-initorder2c tst-initorder2d. Add rules to build them.
36627 ($(objpfx)tst-initorder2.out): New rule.
36628 * elf/tst-initorder2.c: New file.
36629 * elf/tst-initorder2.exp: New file.
36630
87162f46
AS
366312011-08-22 Andreas Schwab <schwab@redhat.com>
36632
70538b7f
AS
36633 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
36634
f55ffe58
AS
36635 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
36636 dependencies back to end of function.
36637
87162f46
AS
36638 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36639 $(elfobjdir)/ld.so.
36640
91b392a4
UD
366412011-08-21 Ulrich Drepper <drepper@gmail.com>
36642
36643 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
36644 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
36645 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
36646 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
36647 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
36648 of __vdso_gettimeofday.
36649 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
36650 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
36651 attribute_hidden.
36652 (_libc_vdso_platform_setup): Remove initialization of
36653 __vdso_gettimeofday and __vdso_time.
36654
5c43483f
UD
366552011-08-20 Ulrich Drepper <drepper@gmail.com>
36656
775a77e7
UD
36657 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
36658 and fgetc_unlocked.
36659 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
36660 getc_unlocked.
89f447ed 36661
49c74ba9
UD
36662 * elf/dl-open.c (add_to_global): Report additions to the global scope
36663 for LD_DEBUG=scopes.
36664 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 36665 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 36666
5c43483f
UD
36667 [BZ #13114]
36668 * stdio-common/Makefile (tests): Add bug24.
36669 * stdio-common/bug24.c: New file.
36670
a101b025
AJ
366712011-08-19 Andreas Jaeger <aj@suse.de>
36672
36673 [BZ #13114]
36674 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
36675 non-existant file when using close-on-exec mode.
36676
c88f1766
UD
366772011-08-20 Ulrich Drepper <drepper@gmail.com>
36678
0276a718
UD
36679 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
36680 the very first instruction.
36681
c88f1766
UD
36682 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
36683 the CFI state in the end.
36684 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
36685 inclusion of dl-trampoline.h.
36686 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
36687
51ccffa0
AS
366882011-08-19 Andreas Schwab <schwab@redhat.com>
36689
94d7165f
AS
36690 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
36691 expectations for long double.
36692
51ccffa0
AS
36693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
36694 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
36695
fd708658 366962011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
36697
36698 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
36699 artificual limit depends upon the system page size.
36700
44f0a71e
UD
367012011-08-17 Ulrich Drepper <drepper@gmail.com>
36702
36703 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
36704 * resolv/Makefile: Define CFLAGS-libresolv.
36705
8de79a24
AS
367062011-08-17 Andreas Schwab <schwab@redhat.com>
36707
36708 * nss/makedb.c (compute_tables): Make variables used in nested
36709 function static.
36710
27724598
UD
367112011-08-17 Ulrich Drepper <drepper@gmail.com>
36712
c5305d88
UD
36713 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
36714 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
36715 if buffer was too small.
36716
27724598
UD
36717 * elf/pldd.c (main): Attach to all threads in the process.
36718 Rewrite /proc handling to use *at functions.
36719
076fe015
UD
367202011-08-16 Ulrich Drepper <drepper@gmail.com>
36721
174baab3
UD
36722 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
36723 specifies first scope to show.
36724 (dl_open_worker): Update callers. Move printing scope of new
36725 object to before the relocation.
44f0a71e 36726 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
36727 * sysdeps/generic/ldsodefs.h: Update declaration.
36728
076fe015
UD
36729 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
36730 string for the scope number.
36731
a60df2c3
UD
367322011-08-14 Ulrich Drepper <drepper@gmail.com>
36733
36734 * nscd/servicescache.c (cache_addserv): Make sure written is always
36735 initialized.
36736
5e4287d1
RM
367372011-08-14 Roland McGrath <roland@hack.frob.com>
36738
85ae0589
RM
36739 * sysdeps/i386/i486/bits/atomic.h
36740 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
36741 statement expression, so as to suppress "set but not used" warning.
36742 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
36743
69f63097
RM
36744 * string/strncat.c (STRNCAT): Use prototype definition.
36745
675456ef
RM
36746 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
36747 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
36748 -Iprograms here.
36749 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
36750 (localedef-modules): Add localedef.
36751 (locale-modules): Add locale.
36752
5e4287d1
RM
36753 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
36754 * elf/rtld.c (dl_main): Invert order of assignment in last change,
36755 to avoid a warning.
36756
9c96ff23
DM
367572011-08-14 David S. Miller <davem@davemloft.net>
36758
36759 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
36760 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
36761
f9ddf089
UD
367622011-08-13 Ulrich Drepper <drepper@gmail.com>
36763
44f0a71e 36764 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
36765 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
36766 * elf/rtld.c (dl_main): Set l_name of vDSO.
36767 Call _dl_show_scope when DL_DEBUG_SCOPES.
36768 (process_dl_debug): Recognize scopes flag and also set it for all.
36769 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
36770 Declare _dl_show_scope.
36771
1dc27704
UD
36772 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
36773 (do_dlopen): Pass caller_dlopen to dl_open.
36774 (__libc_dlopen_mode): Initialize caller_dlopen.
36775
f9ddf089
UD
36776 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
36777 of libc. Make tolower call locale-independent. Optimize a bit by
36778 using isdigit instead of isalnum.
36779 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
36780
9ac533d3
UD
367812011-08-12 Ulrich Drepper <drepper@gmail.com>
36782
36783 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
36784 was a dependency or dynamically loaded.
36785
89edf2e9
UD
367862011-08-11 Ulrich Drepper <drepper@gmail.com>
36787
8e999d29
UD
36788 * intl/l10nflist.c: Allow architecture-specific pop function.
36789 * sysdeps/x86_64/l10nflist.c: New file.
36790
89edf2e9
UD
36791 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
36792 classification.
36793
14d96785
AS
367942011-08-10 Andreas Schwab <schwab@redhat.com>
36795
36796 * include/dirent.h: Add libc_hidden_proto for scandirat and
36797 scandirat64. Don't declare __scandirat64.
36798 * dirent/scandirat.c: Add libc_hidden_def.
36799 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
36800 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
36801
6761ac04
DM
368022011-08-10 David S. Miller <davem@davemloft.net>
36803
36804 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
36805 enum.
36806 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36807 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36808 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36809
c55fbd1e
UD
368102011-08-09 Ulrich Drepper <drepper@gmail.com>
36811
36812 * Versions.def [libc]: Add GLIBC_2.15.
36813 * dirent/Makefile (routines): Add scandirat and scandirat64.
36814 * dirent/Versions [libc]: Export scandirat and scandirat64 for
36815 GLIBC_2.15.
36816 * dirent/dirent.h: Declare scandirat and scandirat64.
36817 * dirent/scandirat.c: New file.
36818 * dirent/scandirat64.c: New file.
36819 * sysdeps/wordsize-64/scandirat.c: New file.
36820 * sysdeps/wordsize-64/scandirat64.c: New file.
36821 * dirent/opendir.c: Define opendirat.
36822 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
36823 using scandirat.
36824 * dirent/scandir64.c: Adjust for scandir.c change.
36825 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
36826 __scandirat64, and __scandir_cancel_handler.
36827 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
36828 additional parameter and use openat instead of open (outside of ld.so).
36829 Add new __opendir as wrapper around __opendirat.
36830 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
36831 here without requiring old scandirat implementation.
36832
879165f2
UD
368332011-08-08 Ulrich Drepper <drepper@gmail.com>
36834
36835 * dirent/scandir.c (cancel_handler): Renamed to
36836 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
36837 defined. Adjust users.
36838 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
36839 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
36840
cb7e923b
UD
368412011-08-04 Ulrich Drepper <drepper@gmail.com>
36842
16292edd
UD
36843 * string/test-string.h (IMPL): Use __STRING to expand name and then
36844 stringify it.
36845
cb7e923b
UD
36846 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
36847 of cleanups.
36848
cff82933
LD
368492011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36850
36851 * string/Makefile: Update.
36852 (strop-tests): Append strncat.
36853 * string/test-wcscmp.c: New file.
36854 New comprehensive test for wcscmp.
36855 * string/test-strcmp.c: Update.
36856 (WIDE): New define.
36857
9be9bfcc
AS
368582011-07-22 Andreas Schwab <schwab@redhat.com>
36859
36860 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
36861 line.
36862
2e96f1c7
AS
368632011-07-26 Andreas Schwab <schwab@redhat.com>
36864
36865 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
36866 encoding to ACE if AI_IDN.
36867
85188888
JJ
368682011-08-01 Jakub Jelinek <jakub@redhat.com>
36869
36870 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
36871 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
36872
5fa16e9b
LD
368732011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36874
36875 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
36876 Fix overflow bug in strncat.
36877 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
36878
36879 * string/test-strncat.c: Update.
36880 Add new tests for checking overflow bugs.
36881
368822011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
36883
36884 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36885 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
36886 * sysdeps/i386/i686/multiarch/strcat.S: New file.
36887 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
36888 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
36889 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
36890 * sysdeps/i386/i686/multiarch/strncat.S: New file.
36891 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
36892 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
36893
36894 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
36895 (USE_AS_STRCAT): Define.
36896 Add strcat and strncat support.
36897 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
36898
8c1a459f
AS
368992011-07-25 Andreas Schwab <schwab@redhat.com>
36900
36901 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
36902 __n bigger than INT_MAX+1.
36903 (__strncmp_g): Likewise.
36904
bba33c28
UD
369052011-07-23 Ulrich Drepper <drepper@gmail.com>
36906
798be72d
UD
36907 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
36908 * libio/stido.h: Likewise.
36909
8accd4dc
UD
36910 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
36911 (AF_NFC): Define.
36912 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
36913 (AF_NFC): Define.
36914
cbff0d96
UD
36915 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
36916 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
36917 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
36918 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
36919 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
36920
9191c04a
UD
36921 [BZ #13021]
36922 * scripts/test-installation.pl: Don't expect libnss_test1 to be
36923 installed.
36924
bba33c28
UD
36925 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
36926 typo.
36927 (_dl_x86_64_save_sse): Likewise.
36928
90f139dd
UD
369292011-07-22 Ulrich Drepper <drepper@gmail.com>
36930
1aae088a
UD
36931 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
36932 OSXSAVE.
36933 (_dl_x86_64_save_sse): Likewise.
36934
8e2045f5
UD
36935 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
36936
90f139dd
UD
36937 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
36938
1d002f25
AS
369392011-07-21 Andreas Schwab <schwab@redhat.com>
36940
36941 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
36942 change.
36943 (_dl_x86_64_save_sse): Use correct AVX check.
36944
21137f89
UD
369452011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36946
36947 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
36948 bug in strncpy/strncat.
36949 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
36950
a65c0b7a
UD
369512011-07-21 Ulrich Drepper <drepper@gmail.com>
36952
36953 * string/tester.c (test_strcat): Add tests for different alignments
36954 of source and destination.
36955 (test_strncat): Likewise.
36956
6986b98a
UD
369572011-07-20 Ulrich Drepper <drepper@gmail.com>
36958
90bb2039
UD
36959 [BZ #12852]
36960 * posix/glob.c (glob): Check passed in values before using them in
36961 expressions to avoid some overflows.
36962 (glob_in_dir): Likewise.
36963
5644ef54
UD
36964 [BZ #13007]
36965 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
36966 check for AVX enablement so that we don't crash with old kernels and
36967 new hardware.
36968 * elf/tst-audit4.c: Add same checks here.
36969 * elf/tst-audit6.c: Likewise.
36970
36971 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 36972
bfc9dc9b
AS
369732011-07-09 Andreas Schwab <schwab@linux-m68k.org>
36974
36975 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
36976
702e64bb
UD
369772011-07-20 Ulrich Drepper <drepper@gmail.com>
36978
36979 * po/cs.po: Update from translation team.
36980 * po/bg.po: Likewise.
36981
295e904f
MP
369822011-07-12 Marek Polacek <mpolacek@redhat.com>
36983
36984 * misc/sys/cdefs.h: Add support for const attribute.
36985 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
36986 to gnu_dev_{major,minor,makedev} functions.
36987
3ff94596
MP
369882011-07-20 Marek Polacek <mpolacek@redhat.com>
36989
36990 * intl/dcigettext.c (get_output_charset): Add missing bracket.
36991
28b59fca
AS
369922011-07-20 Andreas Schwab <schwab@redhat.com>
36993
36994 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
36995 strlen results.
36996
19df733e
AK
369972011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36998
36999 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
37000 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
37001 register in order to avoid conflicts with the soft frame pointer
37002 being held in r11 when necessary.
37003 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
37004 (INTERNAL_VSYSCALL_NCS): Likewise.
37005
c8835729
MP
370062011-07-14 Marek Polacek <mpolacek@redhat.com>
37007
37008 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
37009 * elf/dl-fini.c (_dl_fini): Adjust caller.
37010 * elf/dl-close.c (_dl_close_worker): Likewise.
37011 * sysdeps/generic/ldsodefs.h: Adjust declaration.
37012
b902330c
MP
370132011-07-15 Marek Polacek <mpolacek@redhat.com>
37014
8991e135
MP
37015 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
37016 "aux_cache->nlibs < 0".
37017
b902330c
MP
37018 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
37019 in the reload-count case.
37020
99710781
LD
370212011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
37022
37023 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37024 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
37025 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
37026 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
37027 * sysdeps/x86_64/multiarch/strcat.S: New file.
37028 * sysdeps/x86_64/multiarch/strncat.S: New file.
37029 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
37030 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
37031 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
37032 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
37033 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
37034 (USE_AS_STRCAT): Define.
37035 Add strcat and strncat support.
37036 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37037 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
37038 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
37039 * string/strncat.c: Update.
37040 (USE_AS_STRNCAT): Define.
37041 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37042 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
37043 and i7.
37044 * sysdeps/x86_64/multiarch/init-arch.h
37045 (bit_Prefer_PMINUB_for_stringop): New.
37046 (index_Prefer_PMINUB_for_stringop): Likewise.
37047 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
37048 bit_Prefer_PMINUB_for_stringop.
37049
7dc6bd90
UD
370502011-07-19 Ulrich Drepper <drepper@gmail.com>
37051
37052 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
37053 buffer64.
37054 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
37055 of casting of buffer.
37056 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
37057 buffer32 and buffer64.
37058 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
37059 writes instead of casting of buffer.
37060 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
37061 buffer32.
37062 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
37063 casting of buffer.
37064
e0e72284
AS
370652011-07-19 Andreas Schwab <schwab@redhat.com>
37066
37067 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
37068
feb1eb0b
UD
370692011-07-19 Ulrich Drepper <drepper@gmail.com>
37070
37071 * nscd/nscd.c (termination_handler): Don't do anything for a database
37072 if it has not yet been initialized.
37073
298711ff
UD
370742011-07-18 Ulrich Drepper <drepper@gmail.com>
37075
37076 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37077
370782011-07-15 Marek Polacek <mpolacek@redhat.com>
37079
37080 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
37081
f9d68389
UD
370822011-07-18 Ulrich Drepper <drepper@gmail.com>
37083
37084 * po/nl.po: Update from translation team.
37085 * po/sv.po: Likewise.
37086
db290cf5
RM
370872011-07-16 Roland McGrath <roland@hack.frob.com>
37088
37089 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
37090 now disallowed by GCC.
5c550700 37091
fd5e21c7
RM
37092 * configure.in (use-default-link): Default to yes if a test -shared
37093 link meets our qualifications.
37094 * configure: Regenerated.
37095
5c550700
RM
37096 * config.make.in (output-format): New variable.
37097 * configure.in: Check for ld --print-output-format support.
37098 * configure: Regenerated.
37099 * Makerules ($(common-objpfx)format.lds)
37100 [$(output-format) != unknown]: Just use $(output-format),
37101 instead of the linker-script munging.
37102
9fa2c032
RM
371032011-07-14 Roland McGrath <roland@hack.frob.com>
37104
a6928d51
RM
37105 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
37106 of $(common-objpfx)shlib.lds.
37107 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
37108
661607b3
RM
37109 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
37110 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
37111
9fa2c032
RM
37112 * configure.in (-z relro check): Adjust test code to add a large
37113 writable data section after it.
37114 * configure: Regenerated.
37115
defe9061
RM
371162011-07-11 Roland McGrath <roland@hack.frob.com>
37117
37118 * configure.in (-z relro check): Fix test code to make the variable
37119 truly const.
37120 * configure: Regenerated.
37121
319b9ad4
UD
371222011-07-11 Ulrich Drepper <drepper@gmail.com>
37123
37124 * nscd/nscd.h (struct traced_file): Define.
37125 (struct database_dyn): Remove inotify_descr, reset_res, and filename
37126 elements. Add traced_files.
37127 (inotify_fd): Declare.
37128 (register_traced_file): Declare.
37129 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
37130 (inotify_fd): Export.
37131 (resolv_conf_descr): Remove.
37132 (nscd_init): Move inotify descriptor creation to main.
37133 Don't register files for notification here.
37134 (register_traced_file): New function.
37135 (invalidate_cache): Don't use reset_res to determine whether to call
37136 res_init, go through the list of registered files.
37137 (main_loop_poll): The inotify descriptors are now stored in the
37138 structures for the traced files.
37139 (main_loop_epoll): Likewise
37140 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
37141 to __nss_disable_nscd.
37142 * nscd/cache.c (prune_cache): There is no single inotify descriptor
37143 for a database anymore. Check the records for all the registered
37144 files instead.
37145 * nss/Makefile (libnss_files-routines): Add files-init.
37146 (libnss_db-routines): Add db-init.
37147 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
37148 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
37149 * nss/nss_db/db-init.c: New file.
37150 * nss/nss_files/files-init.c: New file.
37151 * nss/nsswitch.c (nss_load_library): New function. Broken out of
37152 __nss_lookup_function.
37153 (__nss_lookup_function): Call nss_load_library.
37154 (nss_load_all_libraries): New function.
37155 (__nss_disable_nscd): Take parameter with callback function for files
37156 to register. Set is_nscd. Load all the DSOs for the NSS modules
37157 used for the cached services.
37158 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
37159 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
37160 options for features to all the files in nscd.
37161
37162 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
37163
23bee3e8
RM
371642011-07-10 Roland McGrath <roland@hack.frob.com>
37165
37166 * csu/elf-init.c (__libc_csu_init): Comment typo.
37167
46a5b7f0
UD
371682011-07-09 Ulrich Drepper <drepper@gmail.com>
37169
37170 * po/pl.po: Update from translation team.
37171 * po/ja.po: Likewise.
37172 * po/ru.po: Likewise.
37173 * po/ko.po: Likewise.
37174 * po/fr.po: Likewise.
37175
d30cf5bb
RM
371762011-07-09 Roland McGrath <roland@hack.frob.com>
37177
113ddea4
RM
37178 * configure.in (.ctors/.dtors header and trailer check):
37179 Use an empirical test on a built program.
37180 * configure: Regenerated.
37181
574920b4
RM
37182 * configure.in (-z relro check): Use an empirical test on a built DSO.
37183 Detect, but do not require, on ia64.
37184 * configure: Regenerated.
37185
d30cf5bb
RM
37186 * configure.in (READELF): Find it with AC_CHECK_TOOL.
37187 Update tests that use readelf to use $READELF instead.
37188 * configure: Regenerated.
37189
8538fdb3
UD
371902011-07-08 Ulrich Drepper <drepper@gmail.com>
37191
37192 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
37193 if the result is not used.
37194
04d08991
AJ
371952011-07-05 Andreas Jaeger <aj@suse.de>
37196
37197 [BZ#9696]
37198 * stdlib/tst-strtod.c: Add testcase.
37199
de283087
AD
372002011-07-07 Ulrich Drepper <drepper@gmail.com>
37201
4e5f31c8 37202 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 37203 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
37204 The latter has a higher limit. Take additional parameter to pass to
37205 the new function.
37206 (__pathconf): Pass file to __statfs_link_max.
37207 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
37208 __statfs_link_max.
37209 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
37210 __statfs_link_max.
37211
de283087
AD
37212 [BZ #12868]
37213 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
37214 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
37215 Handle Lustre.
37216 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
37217 (__statfs_filesize_max): Likewise.
37218 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
37219
c75fa153
AJ
372202011-07-05 Andreas Jaeger <aj@suse.de>
37221
37222 * resolv/res_comp.c (dn_skipname): Remove unused variable.
37223
1a544854
UD
372242011-07-06 Marek Polacek <mpolacek@redhat.com>
37225
37226 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
37227 `status' variable.
37228 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
37229 Likewise.
37230
6f0eec67
UD
372312011-07-04 H.J. Lu <hongjiu.lu@intel.com>
37232
37233 * Makefile (strop-tests): Add strncat.
37234 * string/test-strncat.c: New file.
37235
aae30307
UD
372362011-06-30 Marek Polacek <mpolacek@redhat.com>
37237
37238 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
37239
c0cfb5eb
UD
372402011-06-21 Andreas Jaeger <aj@suse.de>
37241
37242 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
37243 Copy rule from iconvdata/Makefile.
37244
01636b21
UD
372452011-07-06 Ulrich Drepper <drepper@gmail.com>
37246
37247 [BZ #12922]
37248 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
37249 but no long options are defined, just return 'W'.
37250
9895c8bc
UD
372512011-06-22 Marek Polacek <mpolacek@redhat.com>
37252
37253 [BZ #9696]
37254 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
37255
5d4cf042
UD
372562011-07-06 Ulrich Drepper <drepper@gmail.com>
37257
37258 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
37259 netgroups to read.
960e5535 37260 (innetgr): Likewise.
5d4cf042 37261
751eb97e
RM
372622011-07-05 Roland McGrath <roland@hack.frob.com>
37263
37264 * config.make.in (install_root): Default to $(DESTDIR).
37265
f15f1e45
UD
372662011-07-05 Ulrich Drepper <drepper@gmail.com>
37267
37268 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
37269
4e34ac6a
RM
372702011-07-02 Roland McGrath <roland@hack.frob.com>
37271
5e9b6af4
RM
37272 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
37273
84f9ea0f
RM
37274 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
37275 containing directory rather than embedding absolute directory names.
37276
ea5ee9f7
RM
37277 * scripts/check-local-headers.sh: Rewritten using awk.
37278 Match by word, not by line. Print error messages for matches.
37279 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
37280
1b74661a
RM
37281 * Makerules [shlib-lds-flags empty]:
37282 ($(common-objpfx)libc_pic.opts): New target.
37283 ($(common-objpfx)libc_pic.os.clean): New target.
37284 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
37285
37286 * config.make.in (OBJCOPY): New variable.
37287 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
37288 * configure: Regenerated.
37289
f781ef40
RM
37290 * config.make.in (use-default-link): New variable.
37291 * configure.in (use_default_link): Grok --with-default-link to set it.
37292 * configure: Regenerated.
37293 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
37294 (shlib-lds, shlib-lds-flags): Define to empty.
37295
2d4fa81e
RM
37296 * Makerules (shlib-lds): New variable.
37297 (shlib-lds-flags): New variable.
37298 (build-shlib, build-moduile, build-module-asneeded): Use it.
37299 ($(common-objpfx)libc.so): Use $(shlib-lds).
37300 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
37301 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
37302
31fffa6b
RM
37303 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
37304 DT_FLAGS/DT_FLAGS_1 with zero flags.
37305
4e34ac6a
RM
37306 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
37307 linker script munging.
37308
fcfc776b
UD
373092011-07-02 Ulrich Drepper <drepper@gmail.com>
37310
37311 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
37312 as 128-bit value.
37313 * crypt/sha512.c (sha512_process_block): Perform total addition using
37314 128-bit if possible.
37315 (__sha512_finish_ctx): Likewise.
37316 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
37317 as 64-bit value.
37318 * crypt/sha256.c (SWAP64): Define.
37319 (sha256_process_block): Perform total addition using 64-bit if
37320 possible.
37321 (__sha256_finish_ctx): Likewise.
37322
99231d9a
UD
373232011-07-01 Ulrich Drepper <drepper@gmail.com>
37324
37325 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
37326 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37327 * nscd/hstcache.c (cache_addhst): Likewise.
37328 * nscd/grpcache.c (cache_addgr): Likewise.
37329 * nscd/aicache.c (addhstaiX): Likewise
37330 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
37331
445b4a53
TK
373322011-07-01 Thorsten Kukuk <kukuk@suse.de>
37333
37334 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
37335 * nscd/initgrcache.c (addinitgroupsX): Likewise.
37336 * nscd/hstcache.c (cache_addhst): Likewise.
37337 * nscd/grpcache.c (cache_addgr): Likewise.
37338 * nscd/aicache.c (addhstaiX): Likewise
37339
6d4d8e8e
AS
373402011-07-01 Andreas Schwab <schwab@redhat.com>
37341
37342 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
37343 domain only when needed.
37344
89f654c5
AS
373452011-06-30 Andreas Schwab <schwab@redhat.com>
37346
37347 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
37348 is always restored.
37349
cf3b23ff
UD
373502011-06-29 Ulrich Drepper <drepper@gmail.com>
37351
37352 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
37353 are re-adding the entry.
37354 * nscd/servicescache.c (cache_addserv): Likewise.
37355
751626f9
AJ
373562011-06-30 Aurelien Jarno <aurelien@aurel32.net>
37357
37358 * sysdeps/generic/dl-irel.h: fix protection against multiple
37359 inclusions.
37360 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
37361
9113ea1f
UD
373622011-06-28 Ulrich Drepper <drepper@gmail.com>
37363
5c0b8d90
UD
37364 [BZ #12935]
37365 * malloc/memusage.sh: Fix quoting in message.
37366 * debug/xtrace.sh: Likewise.
37367
9113ea1f
UD
37368 * configure.in: Remove support for --experimental-malloc option, make
37369 it the default.
37370 * config.make.in: Likewise.
37371 * malloc/Makefile: Likewise.
37372
a4172181
AS
373732011-06-27 Andreas Schwab <schwab@redhat.com>
37374
37375 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
37376 two-byte characters.
37377
78a7eee7
RM
373782011-06-27 Roland McGrath <roland@hack.frob.com>
37379
62bede13
RM
37380 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
37381 AC_CACHE_CHECK invocation.
37382 * configure: Regenerated.
37383
78a7eee7
RM
37384 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
37385
5ce33a62
UD
373862011-06-27 Ulrich Drepper <drepper@gmail.com>
37387
034807a9
UD
37388 [BZ #12350]
37389 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
37390 bit from old_res_options.
37391
4902da17
UD
37392 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
37393
5ce33a62
UD
37394 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
37395 value type for setfct.
37396
c2344f56
L
373972011-06-23 H.J. Lu <hongjiu.lu@intel.com>
37398
37399 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37400 __gettimeofday instead of gettimeofday.
37401
68468076
UD
374022011-06-26 Ulrich Drepper <drepper@gmail.com>
37403
37404 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
37405
acb0d739
L
374062011-06-24 H.J. Lu <hongjiu.lu@intel.com>
37407
37408 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
37409
37410 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
37411 info.
37412
8912479f
L
374132011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37414
37415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37416 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37417 strcpy-sse2-unaligned strncpy-sse2-unaligned
37418 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
37419 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
37420 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
37421 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
37422 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
37423 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
37424 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
37425 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
37426 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
37427 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
37428 (STRCPY): Support SSE2 and SSSE3 versions.
37429
d5495a11
UD
374302011-06-24 Ulrich Drepper <drepper@gmail.com>
37431
37432 [BZ #12874]
37433 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
37434 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
37435 kernels which artificially limit size of requests.
37436
0b1cbaae
L
374372011-06-22 H.J. Lu <hongjiu.lu@intel.com>
37438
37439 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37440 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
37441 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
37442 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
37443 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
37444 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
37445 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
37446 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
37447 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
37448 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
37449 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
37450 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
37451 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
37452 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
37453 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
37454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37455 Enable unaligned load optimization for Intel Core i3, i5 and i7
37456 processors.
37457 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
37458 Define.
37459 (index_Fast_Unaligned_Load): Define.
37460 (HAS_FAST_UNALIGNED_LOAD): Define.
37461
07f494a0
MP
374622011-06-23 Marek Polacek <mpolacek@redhat.com>
37463
37464 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
37465
fa3fc0fe
UD
374662011-06-22 Ulrich Drepper <drepper@gmail.com>
37467
37468 [BZ #12907]
37469 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
37470 until it is clear that the information is realy needed.
37471 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
37472
e12df166
AS
374732011-06-22 Andreas Schwab <schwab@redhat.com>
37474
37475 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
37476
852eb34d
UD
374772011-06-22 Ulrich Drepper <drepper@gmail.com>
37478
84e2a551
UD
37479 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
37480 /sys/devices/system/cpu/online if it is usable.
37481
852eb34d
UD
37482 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
37483 reading the information from the /proc filesystem to once a second.
37484
6e502e19
UD
374852011-06-21 Andreas Jaeger <aj@suse.de>
37486
37487 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
37488 NULL after inclusion of kernel headers.
37489
75d39ff2
UD
374902011-06-21 Ulrich Drepper <drepper@gmail.com>
37491
51f9aa6a
UD
37492 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
37493 calls to internal_setent.
37494
c0244a9d
UD
37495 [BZ #12885]
37496 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
37497 addresses using gethostbyname4_r ignore IPv4 addresses.
37498
c5e3c2ae
UD
37499 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
37500 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
37501
75d39ff2
UD
37502 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
37503
42675c6f
DM
375042011-06-20 David S. Miller <davem@davemloft.net>
37505
37506 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
37507 inclusions.
37508 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
37509
37510 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
37511 (elf_irel): Use it.
37512 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
37513 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
37514 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
37515 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
37516 * sysdeps/x86_64/dl-irel.h: Likewise.
37517
37518 * elf/dl-runtime.c: Use elf_ifunc_invoke.
37519 * elf/dl-sym.c: Likewise.
37520
57912a71
UD
375212011-06-15 Ulrich Drepper <drepper@gmail.com>
37522
37523 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
37524 need to dereference resplen2.
37525
ee22793d
AS
375262011-06-14 Andreas Schwab <schwab@redhat.com>
37527
37528 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
37529
a9e836b0
UD
375302011-06-15 Ulrich Drepper <drepper@gmail.com>
37531
77fb9117
UD
37532 * Makeconfig: Define vardbdir and inst_vardbdir.
37533 * nss/Makefile: Add rules to install db-Makefile.
37534
40c1b22c
UD
37535 * nss/nss_db/db-XXX.c: Cleanup.
37536
9f2da732
UD
37537 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
37538 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
37539 GLIBC_PRIVATE.
37540 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
37541 * nss/makedb.c: Implement -g option to specify that value strings
37542 are generated and should not be added to table iterated over for
37543 get*ent calls.
37544 * nss/nss_db/db-initgroups.c: New file.
37545
82e9a1f7
UD
37546 * nss/getent.c: Add support for initgroups lookups through getgrouplist
37547 interface.
37548
c41af17e
UD
37549 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
37550 (internal_getgrouplist): Adjust to name change.
37551 Update use_initgroups_entry if this is not the first call.
37552 * nss/databases.def: Add initgroups entry.
37553
a9e836b0
UD
37554 * nss/makedb.c (compute_tables): Check result of multiple hash table
37555 sizes to minimize maximum chain length.
37556
2666d441
UD
375572011-06-14 Ulrich Drepper <drepper@gmail.com>
37558
37559 * Versions.def: Add entry for libnss_db.
37560 * shlib-versions: Likewise.
37561 * nss/Makefile: Add rules to build libnss_db.
37562 * nss/Versions: Add libnss_db information. Organize libnss_files
37563 entries better.
37564 * nss/db-Makefile: Add gshadow support. Change rules for the new
37565 makedb progra. Some minor improvements to generate smaller files.
37566 * nss/nss_db/nss_db.h: Move NSS database header data structures to
37567 here from...
37568 * nss/makedb.c: ...here.
37569 Improve database format to be smaller and require less memory at
37570 runtime.
37571 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
37572 db anymore.
37573 * nss/nss_db/db-netgrp.c: Likewise.
37574 * nss/nss_db/db-open.c: Likewise.
37575 * nss/nss_files/flies-XXX.x: Adjust comments.
37576 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
37577 * nss/nss_files/files-grp.c: Likewise.
37578 * nss/nss_files/files-hosts.c: Likewise.
37579 * nss/nss_files/files-network.c: Likewise.
37580 * nss/nss_files/files-proto.c: Likewise.
37581 * nss/nss_files/files-pwd.c: Likewise.
37582 * nss/nss_files/files-rpc.c: Likewise.
37583 * nss/nss_files/files-service.c: Likewise.
37584 * nss/nss_files/files-sgrp.c: Likewise.
37585 * nss/nss_files/files-spwd.c: Likewise.
37586 * nss/nss_db/db-alias.c: Removed.
37587 * nss/nss_db/dummy-db.h: Removed.
37588
9ee76b5a
UD
375892011-06-02 Ulrich Drepper <drepper@gmail.com>
37590
37591 * nss/makedb.c: Rewritten to not use database library.
37592 * nss/Makefile: Update to build new makedb program.
37593
c71ca1f8
AJ
375942011-06-14 Andreas Jaeger <aj@suse.de>
37595
37596 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
37597 memset declaration.
37598
3154bfb8
UD
375992011-06-10 Andreas Schwab <schwab@redhat.com>
37600
37601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
37602 tmpbuf.
37603
b350afab
RM
376042011-06-10 Roland McGrath <roland@hack.frob.com>
37605
decd4e50
RM
37606 * Makerules (shlib.lds): Fail if the linker script comes out empty.
37607 * elf/Makefile ($(objpfx)ld.so): Likewise.
37608
5615eaf2
RM
37609 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
37610 Don't list ld.so twice in dependencies.
37611
37612 * posix/bug-regex31.c: Include <stdlib.h>.
37613
37614 * nscd/hstcache.c (cache_addhst): Remove unused variable.
37615
37616 * nis/nss_compat/compat-spwd.c
37617 (getspent_next_nss_netgr): Remove unused variable.
37618 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
37619
37620 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
37621 nonmembers" output to use the right array.
37622
37623 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
37624
37625 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
37626
37627 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
37628 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
37629 * catgets/gencat.c (read_input_file): Likewise.
37630 * locale/programs/locarchive.c (enlarge_archive): Likewise.
37631
37632 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
37633 variable definition inside #if's controlling its use.
37634
37635 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
37636
37637 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
37638
37639 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
37640
37641 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
37642 unreachable code.
37643
37644 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
37645
b68e08db
RM
37646 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
37647 * configure: Regenerated.
37648
b350afab
RM
37649 * Makerules: Revert last change.
37650 * elf/Makefile: Likewise.
37651
28368601
RM
376522011-06-09 Roland McGrath <roland@hack.frob.com>
37653
37654 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
37655 * elf/Makefile ($(objpfx)librtld.os): Likewise.
37656 (reloc-link): Likewise.
37657
11988f8f
UD
376582011-06-09 Ulrich Drepper <drepper@gmail.com>
37659
37660 * elf/Makefile: Add rules to build pldd.
37661 * elf/pldd.c: New file.
37662 * elf/pldd-xx.c: New file.
37663
e80fab37
UD
376642011-06-07 Ulrich Drepper <drepper@gmail.com>
37665
37666 * version.h: Update for 2.15 development version.
37667
9b849836
DM
376682011-06-07 David S. Miller <davem@davemloft.net>
37669
37670 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
37671 ifuncs.
37672 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
37673 elf_machine_lazy_rel): Likewise.
37674 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
37675 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
37676 elf_machine_lazy_rel): Likewise.
37677 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
37678 dl_hwcap via passed in argument.
37679 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
37680 Likewise.
37681
5a31b283
AK
376822011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37683
37684 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
37685
069e52f8
RM
376862011-06-06 Roland McGrath <roland@hack.frob.com>
37687
37688 [BZ #12849]
37689 * manual/fdl-1.1.texi: New file, verbatim from:
37690 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
37691 * manual/lgpl-2.1.texi: New file, verbatim from:
37692 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
37693 * manual/Makefile (licenses): New variable, list those new file names.
37694 (texis): Use it.
37695 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
37696
37697 * manual/fdl.texi: File removed.
37698 * manual/lesser.texi: File removed.
37699 * manual/libc.texinfo (Copying, Documentation License):
37700 Use new @include file names, put @appendix directive before @include.
37701
f16846a5
JJ
377022011-06-04 Jakub Jelinek <jakub@redhat.com>
37703
37704 [BZ #12841]
37705 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
37706 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
37707 (mq_open): Add __NTH.
37708
3d29045b
L
377092011-06-02 H.J. Lu <hongjiu.lu@intel.com>
37710
37711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37712 Assume Intel Core i3/i5/i7 processor if AVX is available.
37713
8c297311
UD
377142011-05-31 Ulrich Drepper <drepper@gmail.com>
37715
37716 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37717 typo.
37718
c8fc0c91
UD
377192011-05-31 Andreas Schwab <schwab@redhat.com>
37720
37721 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
37722 memory. Use alloca_account. Fix memory leak when retrying.
37723
5b27a807
UD
377242011-05-31 Ulrich Drepper <drepper@gmail.com>
37725
356f8bc6
UD
37726 * version.h (RELEASE): Bump for 2.14 release.
37727 * include/features.h (__GLIBC_MINOR__): Bump to 14.
37728
5b27a807
UD
37729 * config.make.in (RANLIB): Remove entry.
37730
01f16ab0
UD
377312011-05-30 Ulrich Drepper <drepper@gmail.com>
37732
41fce8bd
UD
37733 * po/Makefile (po-sed-cmd): Add ksh to extensions.
37734 (libc.pot): Work around missing support for .ksh extension in xgettext.
37735
4769ae77
UD
37736 [BZ #12684]
37737 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
37738 if both request failed.
37739 (send_dg): In case of server errors clear resplen or *resplen2.
37740
6b1e7d19
UD
37741 [BZ #12454]
37742 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
37743 when there are multiple maps.
37744 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
37745 (_dl_fini): Remove test here.
37746
01f16ab0
UD
37747 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
37748
b1ebd700
UD
377492011-05-29 Ulrich Drepper <drepper@gmail.com>
37750
7ae22829
UD
37751 [BZ #12350]
37752 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
37753 bit from old_res_options.
37754 (gaih_inet): Likewise.
37755
553149f6 37756 [BZ #11099]
18a84741 37757 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
37758 as signed.
37759
652ffab1
UD
37760 * resolv/res_init.c (res_setoptions): Make the code more compact.
37761
16985fd0
UD
37762 [BZ #11558]
37763 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
37764 set RES_USEVC.
37765
0464f746
UD
37766 [BZ #11634]
37767 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
37768
7d17596c
UD
37769 * malloc/malloc.h: Mark malloc hook variables as deprecated.
37770
cf6bbbd7
UD
37771 [BZ #11781]
37772 * malloc/malloc.h: Declare malloc hook variables as volatile.
37773
13f1ab36
UD
37774 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
37775 in last patch.
37776
b1ebd700
UD
37777 [BZ #11799]
37778 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 37779 raise in the comment.
80e2212d
UD
37780 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
37781 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37782 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 37783
ce67228d
UD
377842011-05-28 Ulrich Drepper <drepper@gmail.com>
37785
8887a920
UD
37786 [BZ #12811]
37787 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
37788 grow the buffers more if it already has to be sufficient.
37789 (build_wcs_upper_buffer): Likewise.
37790 * posix/regexec.c (check_matching): Likewise.
37791 (clean_state_log_if_needed): Likewise.
37792 (extend_buffers): Don't enlarge buffers beyond size of the input
37793 buffer.
37794 Patches mostly by Emil Wojak <emil@wojak.eu>.
37795 * posix/bug-regex32.c: New file.
37796 * posix/Makefile (tests): Add bug-regex32.
37797
4f031072
UD
37798 * locale/findlocale.c (_nl_find_locale): Return right away if
37799 _nl_explode_name failed.
37800 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
37801
d0478f0c
UD
37802 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
37803
de81b246
UD
37804 * debug/xtrace.sh: Unify messages.
37805 * malloc/memusage.sh: Likewise.
37806
c738465a
UD
37807 [BZ #12813]
37808 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
37809 time symbol from vDSO. Substitute with vsyscall if not available.
37810 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
37811 __vdso_time.
37812
f1f929d7
UD
37813 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
37814 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
37815 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
37816 Add sendmmsg and internal_sendmmsg.
37817 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
37818 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
37819 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
37820
ce67228d
UD
37821 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
37822 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
37823 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
37824
e57420c6
UD
378252011-05-27 Ulrich Drepper <drepper@gmail.com>
37826
a8509ca5
UD
37827 [BZ #12813]
37828 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
37829 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
37830 available.
37831 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
37832 __vdso_getcpu.
37833
e57420c6
UD
37834 [BZ #12814]
37835 * iconvdata/Makefile (tests): Add bug-iconv9.
37836 * iconvdata/bug-iconv9.c: New file.
37837
4d07db15
AS
378382011-05-27 Andreas Schwab <schwab@redhat.com>
37839
37840 [BZ #12814]
37841 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
37842
ea486f69
JJ
378432011-05-25 Jakub Jelinek <jakub@redhat.com>
37844
37845 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37846 (struct user_regs_struct): Change intcs field back to cs.
37847
6f038433
UD
378482011-05-25 Ulrich Drepper <drepper@gmail.com>
37849
37850 * po/ja.po: Update from translation team.
37851
67f86a25
UD
378522011-05-23 Ulrich Drepper <drepper@gmail.com>
37853
37854 [BZ #12795]
37855 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
37856 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
37857
def7fbd6
AS
378582011-05-20 Andreas Schwab <schwab@redhat.com>
37859
37860 * stdlib/longlong.h: Update from GCC.
37861
f50ef8f1
AS
378622011-05-23 Andreas Schwab <schwab@redhat.com>
37863
37864 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
37865 parameter name.
37866 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
37867 Add parameter name.
37868 (__sysconf): Pass it down.
37869
de7ce8f1
UD
378702011-05-22 Ulrich Drepper <drepper@gmail.com>
37871
f2962a71
UD
37872 [BZ #12671]
37873 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
37874 some situations.
37875 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
37876 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
37877 add in in __libc_use_alloca calls. Adjust callers.
37878 (glob): Use malloc in some situations.
37879
de7ce8f1
UD
37880 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
37881 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
37882 pltexit.
37883
aec84f53
UD
378842011-05-21 Ulrich Drepper <drepper@gmail.com>
37885
05bb4a68
UD
37886 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
37887 and CLOCK_BOOTTIME_ALARM.
37888
7ea72f99
UD
37889 [BZ #12782]
37890 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
37891 is returned.
37892
7e4afad5
UD
37893 * string/_strerror.c (__strerror_r): Print negative errors as signed
37894 numbers.
37895
8e211fec
UD
37896 [BZ #12777]
37897 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
37898 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
37899 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
37900
f7d82dc9
UD
37901 * configure.in: Fix typo in redirection and correct removal of test
37902 files in two cases.
37903
cc9e536d
UD
37904 [BZ #12788]
37905 * locale/setlocale.c (new_composite_name): Fix test to check for
37906 identical name of all categories.
37907
aec84f53
UD
37908 [BZ #12792]
37909 * libio/filedoalloc.c (local_isatty): New function.
37910 (_IO_file_doallocate): Use local_isatty.
37911 * stdio-common/perror.c (perror): In case a new stream is used
37912 forward the stream error.
37913 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
37914 error flag.
37915
78e64fdc
RT
379162011-05-20 Ulrich Drepper <drepper@gmail.com>
37917
34a9094f
UD
37918 [BZ #11869]
37919 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
37920 alloca.
37921 * include/alloca.h (extend_alloca_account): Define.
37922
78e64fdc
RT
37923 [BZ #11857]
37924 * posix/regex.h: Fix comments with documentation of user-accessible
37925 fields after compilation and describe correct free'ing of pattern
37926 after re_compile_pattern.
37927 Patch by Reuben Thomas <rrt@sc3d.org>.
37928
457bddfc
RA
379292011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
37930
37931 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
37932 and -mno-altivec to prevent the compiler from using Altivec and/or
37933 VSX instructions when the corresponding registers are not available.
37934
a4527b51
AS
379352011-05-19 Andreas Schwab <schwab@redhat.com>
37936
37937 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
37938
ed690b2f
UD
379392011-05-19 Ulrich Drepper <drepper@gmail.com>
37940
37941 * libio/freopen.c (freopen): Use __dup2, not dup2.
37942 * libio/freopen64.c (freopen64): Likewise.
37943
8db73634
L
379442011-05-17 H.J. Lu <hongjiu.lu@intel.com>
37945
37946 [BZ #12775]
37947 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
37948 * math/Makefile (tests): Add test-powl.
37949 (CFLAGS-test-powl.c): Define.
37950 * math/test-powl.c: New file.
37951
0a197a9d
L
379522011-05-16 H.J. Lu <hongjiu.lu@intel.com>
37953
37954 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
37955
ee30c380
UD
379562011-05-17 Ulrich Drepper <drepper@gmail.com>
37957
37958 [BZ #11837]
37959 * iconvdata/gb18030.c: Update to GB18020-2005.
37960
6ce75379
UD
379612011-05-16 Ulrich Drepper <drepper@gmail.com>
37962
a4b89fd8
AR
37963 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
37964 RE_SYNTAX_POSIX_AWK): Update to match recent development.
37965 Patch by Aharon Robbins <arnold@skeeve.com>.
37966
ea389b12
UD
37967 [BZ #11892]
37968 * stdlib/putenv.c (putenv): Don't always create copy of the variable
37969 on the stack.
37970
68a3f91f
UD
37971 [BZ #11895]
37972 * misc/pselect.c (__pselect): Handle timeout value errors hidden
37973 through underflows.
37974
15cc7dd1
UD
37975 [BZ #12766]
37976 * misc/error.c (error_at_line): Ensure file_name and old_file_name
37977 point to strings before performing equality test for error_one_per_line
37978 mode.
37979
f3799213
UD
37980 [BZ #11697]
37981 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
37982
d79a9c94
UD
37983 [BZ #11820]
37984 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
37985 (struct user_fpregs_struct): Avoid __uint*_t types.
37986
56e5eb46
UD
37987 [BZ #6420]
37988 * malloc/mtrace.c (tr_where): Add additional parameter to point to
37989 symbol info. Use it instead of calling _dl_addr locally.
37990 (lock_and_info): New function.
37991 (tr_freehook): Call lock_and_info and pass symbol info as additional
37992 parameter to tr_where.
37993 (tr_mallochook): Likewise.
37994 (tr_reallochook): Likewise.
37995 (tr_memalignhook): Likewise.
37996
6ce75379
UD
37997 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
37998 used and couldn't be at all thread-safe.
37999
f8a3b5bf
UD
380002011-05-15 Ulrich Drepper <drepper@gmail.com>
38001
94b7cc37
UD
38002 * libio/freopen.c (freopen): Don't close old file descriptor
38003 before the new one is opened. Instead dup the new file descriptor
38004 to the old one after the new stream is created.
38005 * libio/freopen64.c (freopen64): Likewise.
38006 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
38007 * libio/fileops.c (_IO_new_file_close_it): Handle new
38008 _IO_FLAGS2_NOCLOSE flag.
38009 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
38010 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
38011 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
38012 _IO_FLAGS2_NOCLOSE flag.
38013 * include/unistd.h: Add hidden_proto for dup3.
38014 Define __have_dup3.
38015 * io/dup3.c: Define hidden symbol.
38016 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
38017
bd25564e
UD
38018 [BZ #7101]
38019 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
38020 when an incomplete long option is used.
38021 * posix/tst-getopt_long1.c: New file.
38022 * posix/Makefile (tests): Add tst-getopt_long1.
38023
c84cfef4
UD
38024 [BZ #10138]
38025 * scripts/config.guess: Update from autoconf-2.68.
38026 * scripts/config.sub: Likewise.
38027
3b85df27
UD
38028 [BZ #10157]
38029 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
38030 tests into ...
38031 (has_cpuclock): ...this. New function.
38032 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
38033 macro here based on has_cpuclock code.
38034
15a856b1
UD
38035 [BZ #10149]
38036 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38037 First byte (not low byte) is now always NUL.
38038 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
38039
05f399e6
UD
38040 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38041 Use non-cancelable interfaces.
38042
10a52685 38043 [BZ #9809]
94ecc67d
UD
38044 * locale/iso-639.def: Add entry for Sorani.
38045
f8a3b5bf
UD
38046 [BZ #11901]
38047 * include/stdlib.h: Move include protection to the right place.
38048 Define abort_msg_s. Declare __abort_msg with it.
38049 * stdlib/abort.c (__abort_msg): Adjust type.
38050 * assert/assert.c (__assert_fail_base): New function. Majority
38051 of code from __assert_fail. Allocate memory for __abort_msg with
38052 mmap.
38053 (__assert_fail): Now call __assert_fail_base.
38054 * assert/assert-perr.c: Remove bulk of implementation. Use
38055 __assert_fail_base.
38056 * include/assert.hL Declare __assert_fail_base.
38057 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
38058 mmap.
38059 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
38060
1af4e298
UD
380612011-05-14 Ulrich Drepper <drepper@gmail.com>
38062
f8a3b5bf 38063 [BZ #11952]
d26dfc60
MG
38064 [BZ #12453]
38065 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
38066 until all modules are registered in the DTV.
38067 * elf/Makefile: Add rules to build and run tst-tls19.
38068 * elf/tst-tls19.c: New file.
38069 * elf/tst-tls19mod1.c: New file.
38070 * elf/tst-tls19mod2.c: New file.
38071 * elf/tst-tls19mod3.c: New file.
38072 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
38073
2fc54d6f
UD
38074 [BZ #12083]
38075 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
38076 correctly.
38077
98d76b46
UD
38078 [BZ #12601]
38079 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
38080 two-byte sequence errors.
38081 * iconvdata/Makefile (tests): Add bug-iconv8.
38082 * iconvdata/bug-iconv8.c: New file.
38083
da3c19ef
UD
38084 [BZ #12626]
38085 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
38086 buf2 definition.
38087
ca408c15
UD
38088 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
38089
d6f67f7d
UD
38090 [BZ #12432]
38091 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
38092 (dummy_getcfa): New function.
38093 (init): Get _Unwind_GetCFA address, use dummy if not found.
38094 (backtrace_helper): In recursion check, also check whether CFA changes.
38095 (__backtrace): Completely initialize arg.
38096
1af4e298 38097 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
38098 storing incomplete byte sequence in state object. Avoid testing for
38099 guaranteed too small input if we know there is enough data available.
1af4e298 38100
da62f81b
AS
381012011-05-11 Andreas Schwab <schwab@redhat.com>
38102
38103 * Makeconfig (+link-pie): Indent.
38104 * Rules (binaries-pie): Define if $(have-fpie) and
38105 $(build-shared).
38106 (binaries-shared): Also filter out $(binaries-pie).
38107 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
38108 * nscd/Makefile (others-pie): Add nscd.
38109 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
38110 ($(objpfx)nscd): Remove command override.
38111 * login/Makefile (others-pie): Add pt_chown.
38112 ($(objpfx)pt_chown): Remove command override.
38113 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
38114 remove command overrides.
38115
fcabc0f8
UD
381162011-05-13 Ulrich Drepper <drepper@gmail.com>
38117
20030ae6
UD
38118 * libio/tst_putwc.c: Fix error messages.
38119
fcabc0f8
UD
38120 [BZ #12724]
38121 * libio/fileops.c (_IO_new_file_close_it): Always flush when
38122 currently writing and seek to current position when not.
38123 * libio/Makefile (tests): Add bug-fclose1.
38124 * libio/bug-fclose1.c: New file.
38125
320a5dc0
PB
381262011-05-12 Ulrich Drepper <drepper@gmail.com>
38127
38128 [BZ #12511]
38129 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
38130 don't set DF_1_NODELETE here.
38131 (do_lookup_x): When entering new entry test for copy relocation
38132 and if necessary set DF_1_NODELETE flag.
38133 * elf/tst-unique4.cc: New file.
38134 * elf/tst-unique4.h: New file.
38135 * elf/tst-unique4lib.cc: New file.
38136 * elf/Makefile: Add rules to build and run tst-unique4.
38137 Patch by Piotr Bury <pbury@goahead.com>.
38138
22836f52
UD
381392011-05-11 Ulrich Drepper <drepper@gmail.com>
38140
f574184a
UD
38141 [BZ #12052]
38142 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
38143
e1fb097f
UD
38144 [BZ #12625]
38145 * misc/mntent_r.c (addmntent): Flush the stream after the output
38146
22836f52
UD
38147 [BZ #12393]
38148 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
38149 (is_trusted_path_normalize): Skip initial colon. Append slash
38150 to empty buffer. Duplicate is_trusted_path code but allow
38151 constructed patch to be prefix.
38152 (is_dst): Allow $ORIGIN followed by /.
38153 (_dl_dst_substitute): Correct clearing of check_for_trusted.
38154 Correct testing of result of is_trusted_path_normalize
38155 (decompose_rpath): Fix warning.
38156
7b3b0b2a
UD
381572011-05-10 Ulrich Drepper <drepper@gmail.com>
38158
38159 [BZ #11257]
38160 * grp/initgroups.c (internal_getgrouplist): When we found the service
38161 list through the initgroups entry in nsswitch.conf do not always
38162 continue on a successful lookup. Don't always use the
eac80ce2 38163 __nss_group_database value if it is set.
7b3b0b2a
UD
38164 * nss/nsswitch.conf (initgroups): Change action for successful db
38165 lookup to continue for compatibility.
38166
2a81eaa5
UD
381672011-05-09 Ulrich Drepper <drepper@gmail.com>
38168
be97a69e
UD
38169 [BZ #11532]
38170 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
38171 and CP774 modules.
38172 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
38173 and CP774 modules.
38174 * iconvdata/tst-tables.sh: Likewise.
38175 * iconvdata/cp770.c: New file.
38176 * iconvdata/cp771.c: New file.
38177 * iconvdata/cp772.c: New file.
38178 * iconvdata/cp773.c: New file.
38179 * iconvdata/cp774.c: New file.
38180 * iconvdata/testdata/CP770: New file.
38181 * iconvdata/testdata/CP770..UTF8: New file.
38182 * iconvdata/testdata/CP771: New file.
38183 * iconvdata/testdata/CP771..UTF8: New file.
38184 * iconvdata/testdata/CP772: New file.
38185 * iconvdata/testdata/CP772..UTF8: New file.
38186 * iconvdata/testdata/CP773: New file.
38187 * iconvdata/testdata/CP773..UTF8: New file.
38188 * iconvdata/testdata/CP774: New file.
38189 * iconvdata/testdata/CP774..UTF8: New file.
38190
38191 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
38192 END CHARMAP line.
38193 * iconvdata/gen-8bit-gap.sh: Likewise.
38194 * iconvdata/gen-8bit.sh: Likewise.
38195
c1e9e399
UD
38196 * locale/iso-639.def: Add ary entry.
38197
24c55fb3 38198 [BZ #11258]
96b4b1b0
UD
38199 * locale/C-translit.h.in: Add U20A1 transliteration.
38200
bdc2f971
KB
38201 [BZ #12178]
38202 * locale/iso-639.def: Add wae entry.
38203 Patch by Kevin Bortis <bortis@translate-wae.ch>.
38204
2952b117
UD
38205 [BZ #12545]
38206 * locale/programs/localedef.c (construct_output_path): Use ssize_t
38207 for n.
38208
2a81eaa5
UD
38209 [BZ #12711]
38210 * locale/C-translit.h.in: Add entry for U20B9.
38211 Patch by pravin.d.s@gmail.com.
38212
28377d1b
UD
382132011-05-08 Ulrich Drepper <drepper@gmail.com>
38214
7fb90fb8
UD
38215 [BZ #12713]
38216 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
38217 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
38218 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
38219 in rtld. Use *stat64.
7fb90fb8 38220 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 38221 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 38222 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
38223 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
38224 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
38225 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
38226 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
38227 __fstatat64 macros.
7fb90fb8
UD
38228 * include/dirent.h: Add libc_hidden_proto for rewinddir.
38229 * dirent/rewinddir.c: Add libc_hidden_def.
38230 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 38231 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 38232
28377d1b
UD
38233 * include/dirent.h (__alloc_dir): Add flags parameter.
38234 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
38235 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
38236 __alloc_dir.
38237 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
38238 from fdopendir if O_CLOEXEC is already set.
38239
66bdbaa4
AM
382402011-03-15 Alan Modra <amodra@gmail.com>
38241
38242 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
38243 l_tls_firstbyte_offset non-zero. Save padding offset in
38244 l_tls_firstbyte_offset for later use.
38245 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
38246 freeing static tls block.
38247
95721191
JN
382482011-03-05 Jonathan Nieder <jrnieder@gmail.com>
38249
38250 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
38251 where #ifdef was intended. The intent is to prevent ARG_MAX from
38252 being defined by the kernel headers.
38253
f87dfb1f
UD
382542011-05-07 Ulrich Drepper <drepper@gmail.com>
38255
38256 [BZ #12734]
38257 * resolv/resolv.h: Define RES_NOTLDQUERY.
38258 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
38259 no-tld-query and set RES_NOTLDQUERY.
38260 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
38261 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
38262 modern BIND to search name as TLD unless forbidden.
38263
47c3cd7a
UD
382642011-05-07 Petr Baudis <pasky@suse.cz>
38265 Ulrich Drepper <drepper@gmail.com>
38266
38267 [BZ #12393]
38268 * elf/dl-load.c (fillin_rpath): Move trusted path check...
38269 (is_trusted_path): ...to here.
c1e9ea35 38270 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 38271 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 38272 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 38273
8a35c912
PP
382742011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
38275
38276 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
38277 __BEGIN/__END_DECLS.
38278
acd41f47
UD
382792011-05-06 Ulrich Drepper <drepper@gmail.com>
38280
38281 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
38282 NSS_STATUS_NOTFOUND if no record was found.
38283
597df647
AS
382842011-05-05 Andreas Schwab <schwab@redhat.com>
38285
38286 * sunrpc/Makefile (headers): Add rpc/netdb.h.
38287 (headers-not-in-tirpc): Remove rpc/netdb.h
38288 * resolv/netdb.h: Revert last change.
38289
b9af1301
PP
382902011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
38291
38292 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
38293 circular dependency between libgcc.a and libc.a.
38294
4e34d5f5
AS
382952011-05-05 Andreas Schwab <schwab@redhat.com>
38296
38297 * resolv/netdb.h: Don't include <rpc/netdb.h>.
38298 * nis/Makefile: Don't install rpcsvc/*.
38299 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
38300 instead of <rpc/types.h>.
38301 (MAXHOSTNAMELEN): Define.
38302
00ee369c
AS
383032011-05-03 Andreas Schwab <schwab@redhat.com>
38304
38305 * elf/ldconfig.c (add_dir): Don't crash on empty path.
38306
0b592a30
MB
383072011-04-28 Maciej Babinski <mbabinski@google.com>
38308
38309 [BZ #12714]
38310 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
38311 gethostbyname4_r when IPv6 results are possible.
38312
6e04cbbe
UD
383132011-05-02 Ulrich Drepper <drepper@gmail.com>
38314
38315 [BZ #12723]
38316 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
38317 _PC_PIPE_BUF handling.
38318
e4ecafe0
BH
383192011-04-30 Bruno Haible <bruno@clisp.org>
38320
38321 [BZ #12717]
38322 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
38323 * resolv/netdb.h (getnameinfo): Change type of flags parameter
38324 to 'int'.
38325 * inet/getnameinfo.c (getnameinfo): Likewise.
38326
125ee683
UD
383272011-04-29 Ulrich Drepper <drepper@gmail.com>
38328
38329 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
38330 to groups setting in database lookup.
38331 * nss/nsswitch.conf: Add initgroups entry.
38332
b722481a
EB
383332011-04-22 Ulrich Drepper <drepper@gmail.com>
38334
38335 [BZ #12685]
38336 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
38337 mode string.
38338 Patch by Eric Blake <eblake@redhat.com>.
38339
4df46dbd
L
383402011-04-20 H.J. Lu <hongjiu.lu@intel.com>
38341
38342 * sunrpc/Makefile (need-export-routines): Add svc_run.
38343 (routines): Remove svc_run.
38344 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
38345 * sunrpc/clnt_perr.c (clnt_perrno): Export.
38346 * sunrpc/svc_run.c (svc_run): Likewise.
38347 * sunrpc/svc_udp.c (svcudp_create): Likewise.
38348
e84142d2
UD
383492011-04-21 Ulrich Drepper <drepper@gmail.com>
38350
38351 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
38352 problem in reallocation in last patch.
38353
877175d8
UD
383542011-04-20 Ulrich Drepper <drepper@gmail.com>
38355
38356 * sunrpc/Makefile: Move inclusion of Rules.
38357
ab8eed78
UD
383582011-04-19 Ulrich Drepper <drepper@gmail.com>
38359
38360 * nss/nss_files/files-initgroups.c: New file.
38361 * nss/Makefile (libnss_files-routines): Add files-initgroups.
38362 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
38363 _nss_files_initgroups_dyn.
38364
e3d8f584
RS
383652011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
38366
38367 * elf/elf.h (R_ARM_IRELATIVE): Define.
38368
af190f45
UD
383692011-04-19 Ulrich Drepper <drepper@gmail.com>
38370
38371 * po/ru.po: Update from translation team.
38372
53cf59ef
UD
383732011-04-17 Ulrich Drepper <drepper@gmail.com>
38374
38375 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
38376 dependencies.
38377
4c559bcd
MF
383782011-02-06 Mike Frysinger <vapier@gentoo.org>
38379
38380 [BZ #12653]
38381 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
38382 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
38383 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
38384 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
38385 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
38386
4420675c
AS
383872011-03-28 Andreas Schwab <schwab@linux-m68k.org>
38388
38389 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
38390 differing bytes.
38391 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
38392 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
38393 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
38394
75ea32ab
UD
383952011-04-17 Ulrich Drepper <drepper@gmail.com>
38396
38397 [BZ #12420]
38398 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
38399 storing it.
38400 * stdlib/bug-getcontext.c: New file.
38401 * stdlib/Makefile: Add rules to build and run bug-getcontext.
38402
27390476
AK
384032011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38404
38405 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
38406 instructions into .machine "z9-109".
38407 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
38408 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
38409
10442705
AK
384102011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38411
38412 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
38413 between environment variables and auxiliary vector.
38414
7b57bfe5
UD
384152011-04-16 Ulrich Drepper <drepper@gmail.com>
38416
38417 * Makefile: Add rules to build linkobj/libc.so.
38418 * include/libc-symbols.h: Define libc_hidden_nolink.
38419 * include/rpc/auth.h: Mark functions which are to be hidden.
38420 * include/rpc/auth_des.h: Likewise.
38421 * include/rpc/auth_unix.h: Likewise.
38422 * include/rpc/clnt.h: Likewise.
38423 * include/rpc/des_crypt.h: Likewise.
38424 * include/rpc/key_prot.h: Likewise.
38425 * include/rpc/pmap_clnt.h: Likewise.
38426 * include/rpc/pmap_prot.h: Likewise.
38427 * include/rpc/pmap_rmt.h: Likewise.
38428 * include/rpc/rpc_msg.h: Likewise.
38429 * include/rpc/svc.h: Likewise.
38430 * include/rpc/svc_auth.h: Likewise.
38431 * include/rpc/xdr.h: Likewise.
38432 * nis/Makefile: Link all DSOs against linkobj/libc.so.
38433 * nss/Makefile: Likewise.
38434 * sunrpc/Makefile: Don't install headers. Build library with normal
38435 entry points. Don't build rpcinfo. Link RPC tests appropriately.
38436 * sunrpc/auth_des.c: Hide exported symbols by default, export some
38437 for the compat linking library. Remove use of INTDEF/INTUSE.
38438 * sunrpc/auth_none.c: Likewise.
38439 * sunrpc/auth_unix.c: Likewise.
38440 * sunrpc/authdes_prot.c: Likewise.
38441 * sunrpc/authuxprot.c: Likewise.
38442 * sunrpc/clnt_gen.c: Likewise.
38443 * sunrpc/clnt_perr.c: Likewise.
38444 * sunrpc/clnt_raw.c: Likewise.
38445 * sunrpc/clnt_simp.c: Likewise.
38446 * sunrpc/clnt_tcp.c: Likewise.
38447 * sunrpc/clnt_udp.c: Likewise.
38448 * sunrpc/clnt_unix.c: Likewise.
38449 * sunrpc/des_crypt.c: Likewise.
38450 * sunrpc/des_soft.c: Likewise.
38451 * sunrpc/get_myaddr.c: Likewise.
38452 * sunrpc/key_call.c: Likewise.
38453 * sunrpc/key_prot.c: Likewise.
38454 * sunrpc/netname.c: Likewise.
38455 * sunrpc/pm_getmaps.c: Likewise.
38456 * sunrpc/pm_getport.c: Likewise.
38457 * sunrpc/pmap_clnt.c: Likewise.
38458 * sunrpc/pmap_prot.c: Likewise.
38459 * sunrpc/pmap_prot2.c: Likewise.
38460 * sunrpc/pmap_rmt.c: Likewise.
38461 * sunrpc/publickey.c: Likewise.
38462 * sunrpc/rpc_cmsg.c: Likewise.
38463 * sunrpc/rpc_common.c: Likewise.
38464 * sunrpc/rpc_dtable.c: Likewise.
38465 * sunrpc/rpc_prot.c: Likewise.
38466 * sunrpc/rpc_thread.c: Likewise.
38467 * sunrpc/rtime.c: Likewise.
38468 * sunrpc/svc.c: Likewise.
38469 * sunrpc/svc_auth.c: Likewise.
38470 * sunrpc/svc_authux.c: Likewise.
38471 * sunrpc/svc_raw.c: Likewise.
38472 * sunrpc/svc_run.c: Likewise.
38473 * sunrpc/svc_simple.c: Likewise.
38474 * sunrpc/svc_tcp.c: Likewise.
38475 * sunrpc/svc_udp.c: Likewise.
38476 * sunrpc/svc_unix.c: Likewise.
38477 * sunrpc/svcauth_des.c: Likewise.
38478 * sunrpc/xcrypt.c: Likewise.
38479 * sunrpc/xdr.c: Likewise.
38480 * sunrpc/xdr_array.c: Likewise.
38481 * sunrpc/xdr_float.c: Likewise.
38482 * sunrpc/xdr_intXX_t.c: Likewise.
38483 * sunrpc/xdr_mem.c: Likewise.
38484 * sunrpc/xdr_rec.c: Likewise.
38485 * sunrpc/xdr_ref.c: Likewise.
38486 * sunrpc/xdr_sizeof.c: Likewise.
38487 * sunrpc/xdr_stdio.c: Likewise.
38488
e6c61494
UD
384892011-04-10 Ulrich Drepper <drepper@gmail.com>
38490
38491 [BZ #12650]
38492 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
38493 * sysdeps/ia64/dl-tls.h: Likewise.
38494 * sysdeps/powerpc/dl-tls.h: Likewise.
38495 * sysdeps/s390/dl-tls.h: Likewise.
38496 * sysdeps/sh/dl-tls.h: Likewise.
38497 * sysdeps/sparc/dl-tls.h: Likewise.
38498 * sysdeps/x86_64/dl-tls.h: Likewise.
38499 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
38500
34fe483e
AS
385012011-03-14 Andreas Schwab <schwab@redhat.com>
38502
38503 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
38504 rpath element also skip the following colon.
38505 (expand_dynamic_string_token): Add is_path parameter and pass
38506 down to DL_DST_REQUIRED and _dl_dst_substitute.
38507 (decompose_rpath): Call expand_dynamic_string_token with
38508 non-zero is_path. Ignore empty rpaths.
38509 (_dl_map_object_from_fd): Call expand_dynamic_string_token
38510 with zero is_path.
38511
f12a32e6
AS
385122011-04-08 Andreas Schwab <schwab@linux-m68k.org>
38513
38514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
38515 Make cancelable.
38516
38a7d692
UD
385172011-04-09 Ulrich Drepper <drepper@gmail.com>
38518
38519 [BZ #12655]
38520 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
38521 Patch by Filipe David Manana <fdmanana@apache.org>.
38522
e451d22b
AS
385232011-04-07 Andreas Schwab <schwab@redhat.com>
38524
38525 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
38526 Maintain aligned stack.
38527 (CHECK_RSP): Remove unused macro.
38528
dedc7c7b
UD
385292011-04-03 Ulrich Drepper <drepper@gmail.com>
38530
38531 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
38532 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
38533
94521213
UD
385342011-04-02 Ulrich Drepper <drepper@gmail.com>
38535
38536 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
38537
8cb700c0 38538 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 38539
0354e355
L
385402011-03-26 H.J. Lu <hongjiu.lu@intel.com>
38541
38542 [BZ #12518]
38543 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
38544 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
38545 * sysdeps/x86_64/memmove.c: New file.
38546 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
38547 (memcpy): Renamed to ...
38548 (__new_memcpy): This.
38549 (memcpy): Provide GLIBC_2_14 memcpy.
38550 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
38551 (memcpy): Provide GLIBC_2_2_5 memcpy.
38552
8593482f
UD
385532011-04-01 Ulrich Drepper <drepper@gmail.com>
38554
38555 [BZ #12631]
38556 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
38557
81a5726b
AS
385582011-03-30 Andreas Schwab <schwab@redhat.com>
38559
38560 * misc/syncfs.c: New file.
38561 * misc/Makefile (routines): Add syncfs.
38562 * posix/unistd.h: Declare syncfs.
38563 * sysdeps/unix/syscalls.list: Add syncfs.
38564
00e5419f
AS
385652011-04-01 Andreas Schwab <schwab@redhat.com>
38566
38567 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
38568 open_by_handle_at.
38569 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
38570 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38571 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38572 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38573 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38574 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
38575 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38576
748876bf
UD
385772011-04-01 Ulrich Drepper <drepper@gmail.com>
38578
658e451d
UD
38579 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
38580 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38581 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
38582 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38583 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38584 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38585 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38586
748876bf
UD
38587 * io/Makefile: Compile fallocate.c, fallocate64.c, and
38588 sync_file_range.c with -fexceptions.
38589 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
38590 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
38591 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38592 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38593 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
38594 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
38595 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
38596 sync_file_range as cancellation point
38597 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
38598 now a wrapper around __call_sync_file_range with cancellation handling.
38599 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
38600 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
38601 function name to __call_sync_file_range.
38602 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
38603 Add call_sync_file_range.
748876bf 38604
6e63d5e1
AS
386052011-04-01 Andreas Schwab <schwab@redhat.com>
38606
38607 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 38608 bits/timex.h.
6e63d5e1 38609
46998f74
UD
386102011-04-01 Ulrich Drepper <drepper@gmail.com>
38611
4c1423ed
UD
38612 * iconv/iconv.h: Fix typo in comment.
38613 * io/fcntl.h: Likewise.
38614 * libio/stdio.h: Likewise.
38615 * posix/spawn.h: Likewise.
38616 * posix/unistd.h: Likewise.
38617 * stdlib/stdlib.h: Likewise.
38618 * time/time.h: Likewise.
38619 * wcsmbs/wchar.h: Likewise.
38620
158648c0
UD
38621 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
38622 open_by_handle): Add.
38623 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
38624 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
38625 Augment a few comments.
38626 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
38627 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38628 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
38629 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38630 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
38631 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
38632 open_by_handle.
38633
46998f74
UD
38634 * io/fcntl.h (AT_EMPTY_PATH): Define.
38635
83fe108b
UD
386362011-03-30 Ulrich Drepper <drepper@gmail.com>
38637
38638 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
38639 * sysdeps/unix/sysv/linux/bits/time.h: New file.
38640 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
38641 to...
38642 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
38643 * Versions.def: Add GLIBC_2.14.
38644 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
38645 Export.
83fe108b 38646
bb242059
UD
386472011-03-22 Ulrich Drepper <drepper@gmail.com>
38648
38649 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
38650 round counter.
38651 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38652
c97a1282
L
386532011-03-20 H.J. Lu <hongjiu.lu@intel.com>
38654
38655 [BZ #12597]
38656 * string/test-strncmp.c (do_page_test): New function.
38657 (check2): Likewise.
38658 (test_main): Call check2.
38659 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
38660
2a115601
UD
386612011-03-20 Ulrich Drepper <drepper@gmail.com>
38662
38663 [BZ #12587]
38664 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
38665 Handle cache information in CPU leaf 4.
38666 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
38667
8126d904
UD
386682011-03-18 Ulrich Drepper <drepper@gmail.com>
38669
042c49c6 38670 [BZ #12583]
8126d904
UD
38671 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
38672 character representation.
38673 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
38674
ccfe366e
RA
386752011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
38676
38677 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
38678 END(__isnan) to END(__isnanf) to match function entry point/label
38679 EALIGN(__isnanf,...).
38680
c6e13027
JJ
386812011-03-10 Jakub Jelinek <jakub@redhat.com>
38682
38683 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
38684
33f85a3f
UD
386852011-03-10 Ulrich Drepper <drepper@gmail.com>
38686
028478fa
UD
38687 [BZ #12510]
38688 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
38689 copy from the symbol referenced in the relocation to initialize the
38690 used variable.
38691 Patch by Piotr Bury <pbury@goahead.com>.
38692 * elf/Makefile: Add rules to build and tst-unique3.
38693 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
38694 * elf/tst-unique3.cc: New file.
38695 * elf/tst-unique3.h: New file.
38696 * elf/tst-unique3lib.cc: New file.
38697 * elf/tst-unique3lib2.cc: New file.
38698
33f85a3f
UD
38699 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
38700
03592fc7
MF
387012011-03-10 Mike Frysinger <vapier@gentoo.org>
38702
38703 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
38704 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
38705 to _start.
03592fc7 38706
6a5ee102
UD
387072011-03-06 Ulrich Drepper <drepper@gmail.com>
38708
38709 * elf/dl-load.c (_dl_map_object): If we are looking for the first
38710 to-be-loaded object along a path to loader is ld.so.
38711
7e4ba49c
HJ
387122011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38713 Ulrich Drepper <drepper@gmail.com>
38714
38715 * sysdeps/x86_64/memset.S: After aligning destination, code
38716 branches to different locations depending on the value of
38717 misalignment, when multiarch is enabled. Fix this.
38718
387192011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
38720
38721 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
38722 Set _x86_64_preferred_memory_instruction for AMD processsors.
38723 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38724 Set bit_Prefer_SSE_for_memop for AMD processors.
38725
13a804de
UD
387262011-03-04 Ulrich Drepper <drepper@gmail.com>
38727
38728 * libio/fmemopen.c (fmemopen): Optimize a bit.
38729
9d25c392
AS
387302011-03-03 Andreas Schwab <schwab@redhat.com>
38731
38732 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
38733
a5543c6a
RM
387342011-03-03 Roland McGrath <roland@redhat.com>
38735
38736 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
38737
012d35f7
DM
387382011-02-28 Aurelien Jarno <aurelien@aurel32.net>
38739
7e4ba49c 38740 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
38741 __bzero_ultra1 instead of __memset_ultra1.
38742
4bff6e01
AS
387432011-02-23 Andreas Schwab <schwab@redhat.com>
38744 Ulrich Drepper <drepper@gmail.com>
38745
38746 [BZ #12509]
38747 * include/link.h (struct link_map): Add l_orig_initfini.
38748 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
38749 returning unsuccessfully.
38750 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
38751 close of a file loaded at startup, restore the original l_initfini
38752 list.
38753 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
38754 list, store the pointer.
38755 * elf/Makefile ($(objpfx)noload-mem): New rule.
38756 (noload-ENV): Define.
38757 (tests): Add $(objpfx)noload-mem.
38758 * elf/noload.c: Include <memcheck.h>.
38759 (main): Call mtrace. Close all opened handles.
38760
f2092faf
AS
387612011-02-17 Andreas Schwab <schwab@redhat.com>
38762
38763 [BZ #12454]
38764 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
38765 dependencies are missing.
38766
6c8a2e88
ST
387672011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
38768
f2092faf 38769 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
38770 Hurd needs munmap.
38771 * sysdeps/mach/hurd/ifreq.h: New file.
38772
84a42118
PB
387732011-01-27 Petr Baudis <pasky@suse.cz>
38774 Ulrich Drepper <drepper@gmail.com>
38775
071f805e 38776 [BZ 12445]#
84a42118
PB
38777 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
38778 to extend_alloca().
38779 * stdio-common/bug23.c: New file.
38780 * stdio-common/Makefile (tests): Add bug23.
38781
e23fe25b
AS
387822010-09-28 Andreas Schwab <schwab@redhat.com>
38783 Ulrich Drepper <drepper@gmail.com>
38784
38785 [BZ #12489]
38786 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
38787 before performing relro protection. At old place add assertion
38788 to make sure nothing changed.
38789
d3f02e10
NS
387902011-02-17 Nathan Sidwell <nathan@codesourcery.com>
38791 Glauber de Oliveira Costa <glommer@gmail.com>
38792
38793 * elf/elf.h: Add new ARM TLS relocs.
38794
d55fd7a5
RA
387952011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
38796
38797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38798 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
38799 cast from r3.
38800 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
38801 'tests' variable.
38802 * sysdeps/wordsize-64/tst-writev.c: New file.
38803
2206397e
RA
388042011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
38805
38806 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
38807 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
38808 insns in _dl_start to prevent a TOC reference before relocs are
38809 resolved.
38810
e9433893
UD
388112011-02-15 Ulrich Drepper <drepper@gmail.com>
38812
38813 [BZ #12469]
38814 * Makeconfig: Remove RANLIB definition.
38815 * Makerules: Don't use RANLIB.
38816 * aclocal.m4: Remove ranlib test.
38817 * configure.in: No need to check for ranlib.
38818 * elf/rtld-Rules: Don't use RANLIB.
38819
f75286c6
ST
388202011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
38821
8e31c82d
ST
38822 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
38823 protection macro.
38824 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
38825 inclusion protection macro.
38826
f75286c6
ST
38827 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
38828 SIGRTMIN and SIGRTMAX and print information in that case only when
38829 SIGRTMIN is defined.
38830
c1d0e639
JJ
388312011-02-11 Jakub Jelinek <jakub@redhat.com>
38832
38833 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
38834 arginfo fn returning -1.
38835
38836 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
38837 and thousands string is zero terminated.
38838
edf9294e
AS
388392011-02-03 Andreas Schwab <schwab@redhat.com>
38840
38841 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
38842 sysdeps/unix/sysv/linux/bits/socket.h.
38843
2b7e92df
ST
388442011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
38845
edf9294e
AS
38846 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
38847 (__CPU_COUNT): Remove old macros.
38848 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
38849 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
38850 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
38851 (__sched_cpualloc, __sched_cpufree): Add declarations.
38852
a4c7ea7b
UD
388532011-02-05 Ulrich Drepper <drepper@gmail.com>
38854
38855 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
38856 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
38857 * nscd/aicache.c (addhstaiX): Return timeout of added value.
38858 (readdhstai): Return value of addhstaiX call.
38859 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
38860 (addgrbyX): Return value returned by cache_addgr.
38861 (readdgrbyname): Return value returned by addgrbyX.
38862 (readdgrbygid): Likewise.
38863 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
38864 (addpwbyX): Return value returned by cache_addpw.
38865 (readdpwbyname): Return value returned by addhstbyX.
38866 (readdpwbyuid): Likewise.
38867 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
38868 (addservbyX): Return value returned by cache_addserv.
38869 (readdservbyname): Return value returned by addservbyX:
38870 (readdservbyport): Likewise.
38871 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
38872 (addhstbyX): Return value returned by cache_addhst.
38873 (readdhstbyname): Return value returned by addhstbyX.
38874 (readdhstbyaddr): Likewise.
38875 (readdhstbynamev6): Likewise.
38876 (readdhstbyaddrv6): Likewise.
38877 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
38878 (readdinitgroups): Return value returned by addinitgroupsX.
38879 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
38880 (prune_cache): Keep track of timeout value of re-added entries.
38881 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
38882 * nscd/nscd.h: Adjust prototypes of readd* functions.
38883
a0bf67cc
RM
388842011-02-04 Roland McGrath <roland@redhat.com>
38885
38886 * nis/nis_server.c (nis_servstate): Use the right name for 0.
38887 (nis_stats): Likewise.
38888 * nis/nis_modify.c (nis_modify): Likewise.
38889 * nis/nis_remove.c (nis_remove): Likewise.
38890 * nis/nis_add.c (nis_add): Likewise.
38891
38892 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
38893
38894 * posix/fnmatch_loop.c: Add some consts.
38895
38896 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
38897
435b95eb
L
388982011-02-02 H.J. Lu <hongjiu.lu@intel.com>
38899
38900 [BZ #12460]
38901 * config.make.in (config-cflags-novzeroupper): Define.
38902 * configure.in: Substitute libc_cv_cc_novzeroupper.
38903 * elf/Makefile (AVX-CFLAGS): Define.
38904 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
38905 (CFLAGS-tst-auditmod4a.c): Likewise.
38906 (CFLAGS-tst-auditmod4b.c): Likewise.
38907 (CFLAGS-tst-auditmod6b.c): Likewise.
38908 (CFLAGS-tst-auditmod6c.c): Likewise.
38909 (CFLAGS-tst-auditmod7b.c): Likewise.
38910 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
38911
8517b15e
UD
389122011-02-02 Ulrich Drepper <drepper@gmail.com>
38913
38914 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
38915 function to the callback.
38916 Patch partly by Jiri Olsa <jolsa@redhat.com>.
38917
10a656fe
AS
389182011-02-02 Andreas Schwab <schwab@redhat.com>
38919
38920 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
38921 of errno.
38922
968dad0a
UD
389232011-01-19 Ulrich Drepper <drepper@gmail.com>
38924
9f94d2ea 38925 [BZ #11724]
968dad0a
UD
38926 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
38927 of constructors.
38928 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
38929 of destructors.
38930 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
38931
38932 [BZ #11724]
38933 * elf/Makefile: Add rules to build and run new test.
38934 * elf/tst-initorder.c: New file.
38935 * elf/tst-initorder.exp: New file.
38936 * elf/tst-initordera1.c: New file.
38937 * elf/tst-initordera2.c: New file.
38938 * elf/tst-initordera3.c: New file.
38939 * elf/tst-initordera4.c: New file.
38940 * elf/tst-initorderb1.c: New file.
38941 * elf/tst-initorderb2.c: New file.
38942 * elf/tst-order-a1.c: New file.
38943 * elf/tst-order-a2.c: New file.
38944 * elf/tst-order-a3.c: New file.
38945 * elf/tst-order-a4.c: New file.
38946 * elf/tst-order-b1.c: New file.
38947 * elf/tst-order-b2.c: New file.
38948 * elf/tst-order-main.c: New file.
38949 New test case by George Gensure <werkt0@gmail.com>.
38950
86e92359
UD
389512010-10-01 Andreas Schwab <schwab@redhat.com>
38952
38953 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38954 decoding ACE if AI_CANONIDN.
38955
5d5732b0
UD
389562011-01-18 Ulrich Drepper <drepper@gmail.com>
38957
38958 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
38959
a77e8cbc
UD
389602011-01-17 Ulrich Drepper <drepper@gmail.com>
38961
6392473f
UD
38962 * version.h (RELEASE): Bump for 2.13 release.
38963 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
38964
620a0529
UD
38965 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
38966
18ba70a5
UD
38967 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
38968 MADV_NOHUGEPAGE.
32465c3e
UD
38969 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
38970 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
38971 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
38972 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
38973 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
38974 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
38975
c0dafcf1
UD
38976 * posix/getconf.c: Update copyright year.
38977 * catgets/gencat.c: Likewise.
38978 * csu/version.c: Likewise.
38979 * debug/catchsegv.sh: Likewise.
38980 * debug/xtrace.sh: Likewise.
38981 * elf/ldconfig.c: Likewise.
38982 * elf/ldd.bash.in: Likewise.
38983 * elf/sprof.c (print_version): Likewise.
38984 * iconv/iconv_prog.c: Likewise.
38985 * iconv/iconvconfig.c: Likewise.
38986 * locale/programs/locale.c: Likewise.
38987 * locale/programs/localedef.c: Likewise.
38988 * malloc/memusage.sh: Likewise.
38989 * malloc/mtrace.pl: Likewise.
38990 * nscd/nscd.c (print_version): Likewise.
38991 * nss/getent.c: Likewise.
38992
a77e8cbc
UD
38993 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
38994 PF_CAIF, and PF_ALG.
38995 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38996
77e8bddf
AS
389972011-01-16 Andreas Schwab <schwab@linux-m68k.org>
38998
1f20b93a
AS
38999 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
39000 (modules-names): Use them.
39001 (ifunc-test-modules, ifunc-pie-tests): Define.
39002 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
39003 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
39004 (test-extras): Likewise.
39005 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
39006 $(compile-command.c).
39007 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
39008 (all-built-dso): Define.
39009 (check-textrel.out, check-execstack.out): Depend on it.
39010
77e8bddf
AS
39011 * configure.in: Don't override --enable-multi-arch.
39012
bc425b33
UD
390132011-01-15 Ulrich Drepper <drepper@gmail.com>
39014
39015 [BZ #6812]
39016 * nscd/hstcache.c (tryagain): Define.
39017 (cache_addhst): Return tryagain not notfound for temporary errors.
39018 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
39019 failed.
39020
794c3ad3
UD
390212011-01-14 Ulrich Drepper <drepper@gmail.com>
39022
70181fdd
UD
39023 [BZ #10563]
39024 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
39025 to make the syscall.
39026 * sysdeps/unix/sysv/linux/setgroups.c: New file.
39027
794c3ad3
UD
39028 [BZ #12378]
39029 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
39030 and fall back to matching as normal character if the string ends before
39031 the matching ']' is found. This is what POSIX requires.
39032 * posix/testfnm.c: Adjust test result.
39033 * posix/globtest.sh: Adjust test result. Add new test.
39034 * posix/tst-fnmatch.input: Likewise.
39035 * posix/tst-fnmatch2.c: Add new test.
39036
68dc9497
AS
390372010-12-28 Andreas Schwab <schwab@linux-m68k.org>
39038
39039 * elf/Makefile (check-execstack): Revert last change. Depend on
39040 check-execstack.h.
39041 (check-execstack.h): New target.
39042 (generated): Add check-execstack.h.
39043 * elf/check-execstack.c: Include "check-execstack.h".
39044 (main): Revert last change.
39045 (handle_file): Return zero if GNU_STACK is absent and
39046 DEFAULT_STACK_PERMS doesn't include PF_X.
39047
451f001b
UD
390482011-01-13 Ulrich Drepper <drepper@gmail.com>
39049
cfa28e56
UD
39050 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
39051 in child fails because the descriptor is already closed.
8cf8ce17
UD
39052 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
39053 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
39054 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 39055
1086d70d
UD
39056 [BZ #12397]
39057 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
39058 syscall.
39059
451f001b
UD
39060 [BZ #10484]
39061 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
39062 temporary buffer used to handle multi lookups locally.
a85b5cb4 39063 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 39064
08769175
UD
390652011-01-12 Ulrich Drepper <drepper@gmail.com>
39066
39067 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
39068 loader is ld.so.
39069
5e49c52e
UD
390702011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
39071
39072 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
39073 alignment for SSE2.
39074
60522a5f
UD
390752011-01-12 Ulrich Drepper <drepper@gmail.com>
39076
39077 [BZ #12394]
39078 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
39079 characters. When rounding increased number of integer digits recompute
39080 number of groups.
39081 * stdio-common/tst-grouping.c: New file.
39082 * stdio-common/Makefile: Add rules to build and run tst-grouping.
39083
f257bbd7
UD
390842011-01-09 Ulrich Drepper <drepper@gmail.com>
39085
39086 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
39087 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
39088
39089 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
39090 void.
39091 * bits/select.h: Likewise.
39092
fa9c15cb
UD
390932011-01-08 Ulrich Drepper <drepper@gmail.com>
39094
39095 * po/ja.po: Update from translation team.
39096
16c2895f
DM
390972011-01-04 David S. Miller <davem@sunset.davemloft.net>
39098
39099 [BZ #11155]
39100 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
39101 implementation just like for lxstat, fxstatat, et al.
39102
2543fef2
JM
391032010-12-27 Jim Meyering <meyering@redhat.com>
39104
39105 [BZ #12348]
39106 * posix/regexec.c (build_trtable): Return failure indication upon
39107 calloc failure. Otherwise, re_search_internal could infloop on OOM.
39108
98727dbe
UD
391092010-12-25 Ulrich Drepper <drepper@gmail.com>
39110
5bd6dc5c
UD
39111 [BZ #12201]
39112 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
39113 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
39114 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
39115 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
39116
97983464
UD
39117 [BZ #12207]
39118 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
39119
98727dbe
UD
39120 [BZ #12204]
39121 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
39122 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
39123
4a531bb0
L
391242010-12-15 H.J. Lu <hongjiu.lu@intel.com>
39125
39126 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
39127 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
39128 script has SORT_BY_INIT_PRIORITY.
39129 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
39130 NO_CTORS_DTORS_SECTIONS is defined.
39131 * elf/soinit.c: Likewise.
39132 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
39133 NO_CTORS_DTORS_SECTIONS is defined.
39134 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
39135 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
39136 * sysdeps/sh/init-first.c: Likewise.
39137 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
39138
07eb4b71
UD
391392010-12-24 Ulrich Drepper <drepper@gmail.com>
39140
39141 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
39142 always use the slow path.
39143
30950a5f
RA
391442010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
39145
39146 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
39147 similar rule which adds the sysdep directories to the header search in
39148 order to pick up the correct platform stackinfo.h.
39149 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
39150 perform test if it is, otherwise return successfully without testing.
39151 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
39152 DEFAULT_STACK_PERMS define in stackinfo.h.
39153 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
39154 defined in stackinfo.h.
39155 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
39156 DEFAULT_STACK_PERMS defined in stackinfo.h.
39157 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
39158 * sysdeps/ia64/stackinfo.h: Likewise.
39159 * sysdeps/s390/stackinfo.h: Likewise.
39160 * sysdeps/sh/stackinfo.h: Likewise.
39161 * sysdeps/sparc/stackinfo.h: Likewise.
39162 * sysdeps/x86_64/stackinfo.h: Likewise.
39163 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
39164 PF_X for powerpc64. Retain PF_X for powerpc32.
39165
db753e2c
UD
391662010-12-19 Ulrich Drepper <drepper@gmail.com>
39167
14b697f7
UD
39168 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
39169 accurately.
db753e2c
UD
39170 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
39171 GETDENTS_64BIT_ALIGNED.
39172
28300719
UD
391732010-12-14 Ulrich Drepper <dreper@gmail.com>
39174
14b697f7 39175 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 39176
4f197237
AS
391772010-12-10 Andreas Schwab <schwab@redhat.com>
39178
dbb0472f
AS
39179 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
39180 _GNU_SOURCE.
39181
4f197237
AS
39182 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
39183 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
39184 Remove __restrict.
39185 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
39186 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
39187
fb88ac72
UD
391882010-12-09 Ulrich Drepper <drepper@gmail.com>
39189
39190 [BZ #11655]
39191 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
39192 are initialized.
39193
42acbb92
JJ
391942010-12-09 Jakub Jelinek <jakub@redhat.com>
39195
39196 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
39197
c038d98d
UD
391982010-12-03 Ulrich Drepper <drepper@gmail.com>
39199
39200 * po/it.po: Update from translation team.
39201
3a4a2499
L
392022010-12-01 H.J. Lu <hongjiu.lu@intel.com>
39203
39204 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
39205 unused codes.
39206
1e24cf6e
UD
392072010-11-30 Ulrich Drepper <drepper@gmail.com>
39208
39209 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
39210
a7690819
AS
392112010-11-24 Andreas Schwab <schwab@redhat.com>
39212
39213 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
39214 specially.
39215 (gaih_getanswer_slice): Likewise.
39216
3bf8d1b1
JJ
392172010-10-20 Jakub Jelinek <jakub@redhat.com>
39218
39219 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
39220
6db52fbb
PB
392212010-05-31 Petr Baudis <pasky@suse.cz>
39222
39223 [BZ #11149]
39224 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
39225 silently even in the chroot mode.
39226
eaca7569
UD
392272010-11-22 Ulrich Drepper <drepper@gmail.com>
39228
39229 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
39230 last patch a bit. Pretty printing
39231
3056dcdb
UD
392322010-05-31 Petr Baudis <pasky@suse.cz>
39233
39234 [BZ #10085]
39235 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
39236 initialization of skip_initgroups_dyn.
39237
cf7c9078
UD
392382010-11-19 Ulrich Drepper <drepper@gmail.com>
39239
39240 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
39241 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
39242
a1fb5e3e
UD
392432010-11-16 Ulrich Drepper <drepper@gmail.com>
39244
39245 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
39246
3540d66b
AS
392472010-11-11 Andreas Schwab <schwab@redhat.com>
39248
39249 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
39250 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
39251 (tst-fnmatch-ENV): Set MALLOC_TRACE.
39252 ($(objpfx)tst-fnmatch-mem): New rule.
39253 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
39254 * posix/tst-fnmatch.c (main): Call mtrace.
39255
13b69574
L
392562010-11-11 H.J. Lu <hongjiu.lu@intel.com>
39257
39258 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39259 Support Intel processor model 6 and model 0x2c.
39260
da93d214
LM
392612010-11-10 Luis Machado <luisgpm@br.ibm.com>
39262
39263 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
39264 signed comparison.
39265
8ca52c6e
L
392662010-11-09 H.J. Lu <hongjiu.lu@intel.com>
39267
39268 [BZ #12205]
39269 * string/test-strncasecmp.c (check_result): New function.
39270 (do_one_test): Use it.
39271 (check1): New function.
39272 (test_main): Use it.
39273 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
39274 Support strcasecmp and strncasecmp.
39275
69da074d
UD
392762010-11-08 Ulrich Drepper <drepper@gmail.com>
39277
39278 [BZ #12194]
39279 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
39280 * sysdeps/x86_64/bits/byteswap.h: Likewise.
39281
ff02d528
L
392822010-11-07 H.J. Lu <hongjiu.lu@intel.com>
39283
39284 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
39285 IFUNC support.
39286 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39287 memset-x86-64.
39288 * sysdeps/x86_64/multiarch/bzero.S: New file.
39289 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
39290 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
39291 * sysdeps/x86_64/multiarch/memset.S: New file.
39292 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
39293 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39294 Set bit_Prefer_SSE_for_memop for Intel processors.
39295 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
39296 Define.
39297 (index_Prefer_SSE_for_memop): Define.
39298 (HAS_PREFER_SSE_FOR_MEMOP): Define.
39299
344d0b54
LM
393002010-11-04 Luis Machado <luisgpm@br.ibm.com>
39301
39302 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
39303 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
39304
c0dde15b
UD
393052010-11-03 H.J. Lu <hongjiu.lu@intel.com>
39306
39307 [BZ #12191]
39308 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39309 (__x86_64_raw_data_cache_size_half): Likewise.
39310 (__x86_64_raw_shared_cache_size): Likewise.
39311 (__x86_64_raw_shared_cache_size_half): Likewise.
39312
39313 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
39314 (__x86_64_raw_data_cache_size_half): Likewise.
39315 (__x86_64_raw_shared_cache_size): Likewise.
39316 (__x86_64_raw_shared_cache_size_half): Likewise.
39317 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
39318 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
39319 and __x86_64_raw_shared_cache_size_half. Round
39320 __x86_64_data_cache_size_half, __x86_64_data_cache_size
39321 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
39322 to multiple of 256 bytes.
39323
0e516e0e
MS
393242010-11-03 Ulrich Drepper <drepper@gmail.com>
39325
39326 [BZ #12167]
39327 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
39328 of inacessible symlinks. Verify result of symlink before returning it.
39329 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39330 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
39331
0e012e87
ER
393322010-10-28 Erich Ritz <erichritz@gmail.com>
39333
39334 * math/math.h (isinf): Fix typo in comment.
39335
de0ff7bc
UD
393362010-11-01 Ulrich Drepper <drepper@gmail.com>
39337
39338 * po/da.po: Update from translation team.
39339
fa41c84d
UD
393402010-10-26 Ulrich Drepper <drepper@gmail.com>
39341
39342 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
39343 is added to the list.
39344
f0967738
AK
393452010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39346 Ulrich Drepper <drepper@gmail.com>
39347
39348 * elf/dl-object.c (_dl_new_object): Don't append the new object to
39349 the global list here. Move code to...
39350 (_dl_add_to_namespace_list): ...here. New function.
39351 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
39352 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
39353 * elf/dl-load.c (lose): Don't remove the element from the list.
39354 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
39355 (_dl_map_object): Likewise.
39356
393572010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
39358
39359 [BZ #12159]
39360 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
39361 into all bytes of SSE register.
39362 Patch by Richard Li <richardpku@gmail.com>.
39363
f0967738 393642010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
39365
39366 [BZ #12140]
39367 * malloc/malloc.c (_int_free): Fill correct number of bytes when
39368 perturbing.
39369
d0b9e94f
MB
393702010-10-20 Michael B. Brutman <brutman@us.ibm.com>
39371
39372 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
39373 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
39374 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
39375 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
39377 submachine.
39378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
39379
8e9f92e9
AS
393802010-10-22 Andreas Schwab <schwab@redhat.com>
39381
39382 * include/dlfcn.h (__RTLD_SECURE): Define.
39383 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
39384 mode & __RTLD_SECURE instead.
39385 (open_path): Rename preloaded parameter to secure.
39386 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
39387 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
39388 * elf/dl-deps.c (openaux): Likewise.
39389 * elf/rtld.c (struct map_args): Remove is_preloaded.
39390 (map_doit): Don't use it.
39391 (dl_main): Likewise.
39392 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
39393 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
39394
bc96fbda
AS
393952010-09-09 Andreas Schwab <schwab@redhat.com>
39396
39397 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
39398 (sysd-rules-targets): Remove duplicates.
39399 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
39400 rtld-%.$o dependency.
39401
22cd1c9b
AS
394022010-10-18 Andreas Schwab <schwab@redhat.com>
39403
39404 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
39405 _dl_map_object do it.
39406
18edac48
UD
394072010-10-19 Ulrich Drepper <drepper@gmail.com>
39408
39409 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
39410 fast fma builtins, define the macros in the C99 standard.
39411 (FP_FAST_FMAF): Likewise.
39412 (FP_FAST_FMAL): Likewise.
39413 * sysdeps/x86_64/bits/mathdef.h: Likewise.
39414
39415 * bits/mathdef.h: Update copyright year.
39416 * sysdeps/powerpc/bits/mathdef.h: Likewise.
39417
d2050124
MM
394182010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
39419
39420 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
39421 builtins, define the macros in the C99 standard.
39422 (FP_FAST_FMAF): Likewise.
39423 (FP_FAST_FMAL): Likewise.
39424 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
39425 multiply/add.
39426 (FP_FAST_FMAF): Likewise.
39427
475facd1
JJ
394282010-10-15 Jakub Jelinek <jakub@redhat.com>
39429
39430 [BZ #3268]
39431 * math/libm-test.inc (fma_test): Some new testcases.
39432 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
39433 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
39434 y and infinite z. Do multiplication by C already in long double.
39435 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
39436 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
39437 y and infinite z. Do bitwise or of inexact bit into u.d.
39438 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
39439 * sysdeps/i386/fpu/s_fmaf.S: Removed.
39440 * sysdeps/i386/fpu/s_fma.S: Removed.
39441 * sysdeps/i386/fpu/s_fmal.S: Removed.
39442
7c08a05c
JJ
394432010-10-16 Jakub Jelinek <jakub@redhat.com>
39444
39445 [BZ #3268]
39446 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
39447 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
39448 computation is not scheduled after fetestexcept. Fix value
39449 of minimum denormal long double.
39450
f3f7372d
JJ
394512010-10-14 Jakub Jelinek <jakub@redhat.com>
39452
39453 [BZ #3268]
39454 * math/libm-test.inc (fma_test): Add some more tests.
39455 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
39456 correctly.
39457
14d43591
AS
394582010-10-15 Andreas Schwab <schwab@redhat.com>
39459
39460 * scripts/data/localplt-s390-linux-gnu.data: New file.
39461 * scripts/data/localplt-s390x-linux-gnu.data: New file.
39462
5e908464
JJ
394632010-10-13 Jakub Jelinek <jakub@redhat.com>
39464
39465 [BZ #3268]
39466 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
39467 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
39468 instead of dbl-64.
39469 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
39470 inlines.
39471 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
39472 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
39473 if one of x and y is very large and the other is subnormal.
39474 * sysdeps/s390/fpu/s_fmaf.c: New file.
39475 * sysdeps/s390/fpu/s_fma.c: New file.
39476 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
39477 * sysdeps/powerpc/fpu/s_fma.S: New file.
39478 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
39479 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
39480 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
39481
394822010-10-12 Jakub Jelinek <jakub@redhat.com>
39483
39484 [BZ #3268]
39485 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
39486 fma tests.
39487 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
39488 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
39489 * sysdeps/i386/i686/multiarch/s_fma.c: Include
39490 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
39491 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
39492 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
39493 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
39494
b833d51f
UD
394952010-10-12 Ulrich Drepper <drepper@redhat.com>
39496
39497 [BZ #12078]
39498 * posix/regcomp.c (parse_branch): One more memory leak plugged.
39499 * posix/bug-regex31.input: Add test case.
39500
1751705d
UD
395012010-10-11 Ulrich Drepper <drepper@gmail.com>
39502
e9b9cbf5
UD
39503 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
39504 * posix/bug-regex31.input: New file.
39505
39506 [BZ #12078]
39507 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
39508 (parse_sub_exp): Fix last change, use postorder.
39509
ef06edbe
UD
39510 * posix/bug-regex31.c: New file.
39511 * posix/Makefile: Add rules to build and run bug-regex31.
39512
a129c80d
UD
39513 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
39514
39515 [BZ #12078]
39516 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
39517
b76b818e
UD
39518 [BZ #12108]
39519 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
39520 to have entries in sys_siglist.
39521
1751705d
UD
39522 [BZ #12093]
39523 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
39524 be NULL.
39525
9ff8d36f
JJ
395262010-10-07 Jakub Jelinek <jakub@redhat.com>
39527
39528 [BZ #3268]
39529 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
39530 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
39531 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
39532 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
39533 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39534 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
39535 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
39536 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
39537 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
39538 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
39539 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
39540 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
39541 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
39542 * math/ftestexcept.c (fetestexcept): Likewise.
39543 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
39544 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
39545 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
39546 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
39547 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
39548 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
39549 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39550
af325969
UD
395512010-10-11 Ulrich Drepper <drepper@gmail.com>
39552
c579b202 39553 [BZ #12107]
af325969
UD
39554 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
39555 newline.
39556
67a67b95
UD
395572010-10-06 Ulrich Drepper <drepper@gmail.com>
39558
39559 * string/bug-strstr1.c: New file.
39560 * string/Makefile: Add rules to build and run bug-strstr1.
39561
5fb308bc
EB
395622010-10-05 Eric Blake <eblake@redhat.com>
39563
39564 [BZ #12092]
39565 * string/str-two-way.h (two_way_long_needle): Always clear memory
39566 when skipping input due to the shift table.
39567
45db99c7
UD
395682010-10-03 Ulrich Drepper <drepper@gmail.com>
39569
3b111893
UD
39570 [BZ #12005]
39571 * malloc/mcheck.c: Handle large requests.
39572
45db99c7
UD
39573 [BZ #12077]
39574 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
39575 for strncmp and strncasecmp.
39576 * string/stratcliff.c: Add tests for strcmp and strncmp.
39577 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
39578
cf7a1eb8
NI
395792010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39580
39581 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
39582 __set_fpscr.
39583
6484ba5e
AJ
395842010-09-30 Andreas Jaeger <aj@suse.de>
39585
39586 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
39587 (CGROUP_SUPER_MAGIC): Define.
39588 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39589 Handle btrfs and cgroup file systems.
39590 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
39591 Likewise.
39592
91c42559
LM
395932010-09-27 Luis Machado <luisgpm@br.ibm.com>
39594
39595 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
39596 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
39597
87a97932
AK
395982010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39599
39600 [BZ #12067]
39601 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
39602 trying to locate the ELF header.
39603
c21cc9bc
AS
396042010-09-27 Andreas Schwab <schwab@redhat.com>
39605
39606 [BZ #11611]
39607 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
39608 Mask out sign-bit copies when constructing f_fsid.
39609
315970f6
PB
396102010-09-24 Petr Baudis <pasky@suse.cz>
39611
39612 * debug/stack_chk_fail_local.c: Add missing licence exception.
39613 * debug/warning-nop.c: Likewise.
39614
1ac7a2c7
JM
396152010-09-15 Joseph Myers <joseph@codesourcery.com>
39616
39617 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
39618 implementing getdents64 using getdents syscall, set d_type if
39619 __ASSUME_GETDENTS32_D_TYPE.
39620
56801c50
AS
396212010-09-16 Andreas Schwab <schwab@redhat.com>
39622
39623 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
39624 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
39625
dda51327
UD
396262010-09-21 Ulrich Drepper <drepper@redhat.com>
39627
39628 [BZ #12037]
39629 * posix/unistd.h: Undo change of feature selection for ftruncate from
39630 2010-01-11.
39631
8ffcee4a
UD
396322010-09-20 Ulrich Drepper <drepper@redhat.com>
39633
a545ecd9 39634 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
39635 detection.
39636
e24f0a8b
AS
396372010-09-20 Andreas Schwab <schwab@redhat.com>
39638
39639 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
39640 fanotify_mark.
39641 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
39642
7291c56f
AS
396432010-09-14 Andreas Schwab <schwab@redhat.com>
39644
39645 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
39646 variables after CHECK_SP call.
39647 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
39648
bc5fb037
AS
396492010-09-13 Andreas Schwab <schwab@redhat.com>
39650 Ulrich Drepper <drepper@redhat.com>
39651
39652 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
39653 re-relocationg ld.so.
39654 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
39655 _dl_init_paths call.
39656 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
39657 here anymore.
39658
e66e7419
UD
396592010-09-14 Ulrich Drepper <drepper@redhat.com>
39660
39661 * resolv/res_init.c (__res_vinit): Count the default server we added.
39662
c044aa75
CLT
396632010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
39664 Ulrich Drepper <drepper@redhat.com>
39665
39666 [BZ #11968]
39667 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
39668 (____longjmp_chk): Use %ebx for saving value across system call.
39669 Add unwind info.
39670
32cf4069
AS
396712010-09-06 Andreas Schwab <schwab@redhat.com>
39672
39673 * manual/Makefile: Don't mix pattern rules with normal rules.
39674
817328ee
AS
396752010-09-05 Andreas Schwab <schwab@linux-m68k.org>
39676
39677 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
39678 operation.
39679 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
39680 * libio/iofopncook.c (_IO_cookie_init): Likewise.
39681 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
39682 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
39683 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
39684 Likewise.
39685
29fddf61
UD
396862010-09-04 Ulrich Drepper <drepper@redhat.com>
39687
39688 [BZ #11979]
39689 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
39690 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
39691
0959ffc9
UD
396922010-09-02 Ulrich Drepper <drepper@redhat.com>
39693
39694 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
39695 * sysdeps/x86_64/addmul_1.S: Likewise.
39696 * sysdeps/x86_64/lshift.S: Likewise.
39697 * sysdeps/x86_64/mul_1.S: Likewise.
39698 * sysdeps/x86_64/rshift.S: Likewise.
39699 * sysdeps/x86_64/sub_n.S: Likewise.
39700 * sysdeps/x86_64/submul_1.S: Likewise.
39701
ece29840
ST
397022010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
39703
0959ffc9
UD
39704 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
39705 Define __sched_param instead of SCHED_* and sched_param when
ece29840 39706 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 39707 * bits/sched.h [__need_schedparam]
ece29840 39708 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
39709 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
39710 (__defined_schedparam): Define to 1.
ece29840
ST
39711 (__sched_param): New structure, identical to sched_param.
39712 (__need_schedparam): Undefine.
39713
e53a31fe
MF
397142010-08-31 Mike Frysinger <vapier@gentoo.org>
39715
fdc0c10d
MF
39716 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
39717 (epoll_create1): Declare.
39718
e53a31fe
MF
39719 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
39720
a726d796
AS
397212010-08-31 Andreas Schwab <schwab@redhat.com>
39722
39723 [BZ #7066]
39724 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
39725 shifting retval into place.
39726
2f3e3dc7
UD
397272010-09-01 Ulrich Drepper <drepper@redhat.com>
39728
f2933da9
UD
39729 * nis/rpcsvc/nis.h: Update copyright notice.
39730 * nis/rpcsvc/nis.x: Likewise.
39731 * nis/rpcsvc/nis_callback.h: Likewise.
39732 * nis/rpcsvc/nis_callback.x: Likewise.
39733 * nis/rpcsvc/nis_object.x: Likewise.
39734 * nis/rpcsvc/nis_tags.h: Likewise.
39735 * nis/rpcsvc/yp.h: Likewise.
39736 * nis/rpcsvc/yp.x: Likewise.
39737 * nis/rpcsvc/ypupd.h: Likewise.
39738 * nis/yp_xdr.c: Likewise.
39739 * nis/ypupdate_xdr.c: Likewise.
39740
2f3e3dc7
UD
39741 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
39742 mainly the body of pmap_getport. Add parameters to specify timeouts.
39743 (pmap_getport): Use __libc_rpc_getport.
39744 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
39745 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
39746 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
39747
f3dcc2f9
AS
397482010-08-31 Andreas Schwab <schwab@linux-m68k.org>
39749
39750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
39751 fanotify_mark.
39752
6d34eb5b
RM
397532010-08-27 Roland McGrath <roland@redhat.com>
39754
39755 * sysdeps/i386/i686/multiarch/Makefile
39756 (CFLAGS-varshift.c): New variable.
39757
9ea3de11
UD
397582010-08-27 Ulrich Drepper <drepper@redhat.com>
39759
c96d23fc
UD
39760 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
39761 * sysdeps/i386/i686/multiarch/varshift.c: New file.
39762
9ea3de11
UD
39763 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
39764
39765 * sysdeps/x86_64/strlen.S: Minimal code improvement.
39766
623aac7f
L
397672010-08-26 H.J. Lu <hongjiu.lu@intel.com>
39768
39769 * sysdeps/x86_64/strlen.S: Unroll the loop.
39770 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39771 strlen-sse2 strlen-sse2-bsf.
39772 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
39773 __strlen_no_bsf if bit_Slow_BSF is set.
39774 (__strlen_sse42): Removed.
39775 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
39776 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
39777
8b2b7715
RM
397782010-08-25 Roland McGrath <roland@redhat.com>
39779
39780 * sysdeps/x86_64/multiarch/varshift.S: File removed.
39781 * sysdeps/x86_64/multiarch/varshift.c: New file.
39782 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
39783 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
39784 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
39785 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
39786
e73015f2
L
397872010-08-25 H.J. Lu <hongjiu.lu@intel.com>
39788
39789 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39790 strlen-sse2 strlen-sse2-bsf.
39791 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
39792 __strlen_sse2_bsf if bit_Slow_BSF is unset.
39793 (__strlen_sse2): Removed.
39794 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
39795 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
39796 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
39797 bit_Slow_BSF for Atom.
39798 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
39799 (index_Slow_BSF): Define.
39800 (HAS_SLOW_BSF): Define.
39801
df24a73e
UD
398022010-08-25 Ulrich Drepper <drepper@redhat.com>
39803
39804 [BZ #10851]
39805 * resolv/res_init.c (__res_vinit): When no server address at all
39806 is given default to loopback.
39807
f2ac4868
RM
398082010-08-24 Roland McGrath <roland@redhat.com>
39809
09055553
RM
39810 * configure.in: Remove config-name.h generation.
39811 * configure: Regenerated.
39812 * config-name.in: File removed.
39813 * scripts/config-uname.sh: New file.
39814 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
39815 ($(objdir)config-name.h): New target.
39816
f2ac4868
RM
39817 * sunrpc/rpc_parse.h: Avoid nested comment.
39818
73f27d5e
RH
398192010-08-24 Richard Henderson <rth@redhat.com>
39820 Ulrich Drepper <drepper@redhat.com>
39821 H.J. Lu <hongjiu.lu@intel.com>
39822
39823 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
39824 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
39825 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
39826 Replace _mm_srli_si128 with __m128i_shift_right. Replace
39827 _mm_alignr_epi8 with _mm_loadu_si128.
39828 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
39829 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
39830 (__m128i_shift_right): Removed.
39831 * sysdeps/i386/i686/multiarch/varshift.h: New file.
39832 * sysdeps/i386/i686/multiarch/varshift.S: New file.
39833 * sysdeps/x86_64/multiarch/varshift.h: New file.
39834 * sysdeps/x86_64/multiarch/varshift.S: New file.
39835
84b9230c
MF
398362010-08-21 Mike Frysinger <vapier@gentoo.org>
39837
39838 * configure.in: Move assembler checks to before sysdep dir checking.
39839
9bbd0ddc
PB
398402010-08-20 Petr Baudis <pasky@suse.cz>
39841
39842 * LICENSES: Sync the sunrpc license.
39843
9da4bb31
UD
398442010-08-19 Ulrich Drepper <drepper@redhat.com>
39845
a7ab6ec8
UD
39846 * sunrpc/auth_des.c: Update copyright notice once again.
39847 * sunrpc/auth_none.c: Likewise.
39848 * sunrpc/auth_unix.c: Likewise.
39849 * sunrpc/authdes_prot.c: Likewise.
39850 * sunrpc/authuxprot.c: Likewise.
39851 * sunrpc/bindrsvprt.c: Likewise.
39852 * sunrpc/clnt_gen.c: Likewise.
39853 * sunrpc/clnt_perr.c: Likewise.
39854 * sunrpc/clnt_raw.c: Likewise.
39855 * sunrpc/clnt_simp.c: Likewise.
39856 * sunrpc/clnt_tcp.c: Likewise.
39857 * sunrpc/clnt_udp.c: Likewise.
39858 * sunrpc/clnt_unix.c: Likewise.
39859 * sunrpc/des_crypt.c: Likewise.
39860 * sunrpc/des_soft.c: Likewise.
39861 * sunrpc/get_myaddr.c: Likewise.
39862 * sunrpc/getrpcport.c: Likewise.
39863 * sunrpc/key_call.c: Likewise.
39864 * sunrpc/key_prot.c: Likewise.
39865 * sunrpc/openchild.c: Likewise.
39866 * sunrpc/pm_getmaps.c: Likewise.
39867 * sunrpc/pm_getport.c: Likewise.
39868 * sunrpc/pmap_clnt.c: Likewise.
39869 * sunrpc/pmap_prot.c: Likewise.
39870 * sunrpc/pmap_prot2.c: Likewise.
39871 * sunrpc/pmap_rmt.c: Likewise.
39872 * sunrpc/rpc/auth.h: Likewise.
39873 * sunrpc/rpc/auth_unix.h: Likewise.
39874 * sunrpc/rpc/clnt.h: Likewise.
39875 * sunrpc/rpc/des_crypt.h: Likewise.
39876 * sunrpc/rpc/key_prot.h: Likewise.
39877 * sunrpc/rpc/netdb.h: Likewise.
39878 * sunrpc/rpc/pmap_clnt.h: Likewise.
39879 * sunrpc/rpc/pmap_prot.h: Likewise.
39880 * sunrpc/rpc/pmap_rmt.h: Likewise.
39881 * sunrpc/rpc/rpc.h: Likewise.
39882 * sunrpc/rpc/rpc_des.h: Likewise.
39883 * sunrpc/rpc/rpc_msg.h: Likewise.
39884 * sunrpc/rpc/svc.h: Likewise.
39885 * sunrpc/rpc/svc_auth.h: Likewise.
39886 * sunrpc/rpc/types.h: Likewise.
39887 * sunrpc/rpc/xdr.h: Likewise.
39888 * sunrpc/rpc_clntout.c: Likewise.
39889 * sunrpc/rpc_cmsg.c: Likewise.
39890 * sunrpc/rpc_common.c: Likewise.
39891 * sunrpc/rpc_cout.c: Likewise.
39892 * sunrpc/rpc_dtable.c: Likewise.
39893 * sunrpc/rpc_hout.c: Likewise.
39894 * sunrpc/rpc_main.c: Likewise.
39895 * sunrpc/rpc_parse.c: Likewise.
39896 * sunrpc/rpc_parse.h: Likewise.
39897 * sunrpc/rpc_prot.c: Likewise.
39898 * sunrpc/rpc_sample.c: Likewise.
39899 * sunrpc/rpc_scan.c: Likewise.
39900 * sunrpc/rpc_scan.h: Likewise.
39901 * sunrpc/rpc_svcout.c: Likewise.
39902 * sunrpc/rpc_tblout.c: Likewise.
39903 * sunrpc/rpc_util.c: Likewise.
39904 * sunrpc/rpc_util.h: Likewise.
39905 * sunrpc/rpcinfo.c: Likewise.
39906 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
39907 * sunrpc/rpcsvc/key_prot.x: Likewise.
39908 * sunrpc/rpcsvc/klm_prot.x: Likewise.
39909 * sunrpc/rpcsvc/mount.x: Likewise.
39910 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
39911 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
39912 * sunrpc/rpcsvc/rex.x: Likewise.
39913 * sunrpc/rpcsvc/rstat.x: Likewise.
39914 * sunrpc/rpcsvc/rusers.x: Likewise.
39915 * sunrpc/rpcsvc/sm_inter.x: Likewise.
39916 * sunrpc/rpcsvc/spray.x: Likewise.
39917 * sunrpc/rpcsvc/yppasswd.x: Likewise.
39918 * sunrpc/rtime.c: Likewise.
39919 * sunrpc/svc.c: Likewise.
39920 * sunrpc/svc_auth.c: Likewise.
39921 * sunrpc/svc_authux.c: Likewise.
39922 * sunrpc/svc_raw.c: Likewise.
39923 * sunrpc/svc_run.c: Likewise.
39924 * sunrpc/svc_simple.c: Likewise.
39925 * sunrpc/svc_tcp.c: Likewise.
39926 * sunrpc/svc_udp.c: Likewise.
39927 * sunrpc/svc_unix.c: Likewise.
39928 * sunrpc/svcauth_des.c: Likewise.
39929 * sunrpc/xcrypt.c: Likewise.
39930 * sunrpc/xdr.c: Likewise.
39931 * sunrpc/xdr_array.c: Likewise.
39932 * sunrpc/xdr_float.c: Likewise.
39933 * sunrpc/xdr_mem.c: Likewise.
39934 * sunrpc/xdr_rec.c: Likewise.
39935 * sunrpc/xdr_ref.c: Likewise.
39936 * sunrpc/xdr_sizeof.c: Likewise.
39937 * sunrpc/xdr_stdio.c: Likewise.
39938
9da4bb31
UD
39939 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
39940 handling.
39941
bdaa77bc
AS
399422010-08-19 Andreas Schwab <schwab@redhat.com>
39943
39944 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
39945
fe2f79db
LM
399462010-08-19 Luis Machado <luisgpm@br.ibm.com>
39947
39948 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
39949 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
39950 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
39951 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
39952 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
39953 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
39954 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
39955 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
39956 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
39957 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
39958 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
39959 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
39960 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
39961 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
39962
b9b42ee0
AB
399632010-07-26 Anton Blanchard <anton@samba.org>
39964
39965 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
39966 * malloc/arena.c (heap_trim): Likewise.
39967
1c06ba31
UD
399682010-08-16 Ulrich Drepper <drepper@redhat.com>
39969
39970 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
39971 here. Not...
39972 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
39973 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
39974
f8392f40
L
399752010-08-12 H.J. Lu <hongjiu.lu@intel.com>
39976
39977 * sysdeps/i386/elf/Makefile: New file.
39978
3162f12e
AS
399792010-08-14 Andreas Schwab <schwab@linux-m68k.org>
39980
39981 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
39982 from fanotify_init.
39983 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
39984 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
39985
28c90b2c
UD
399862010-08-15 Ulrich Drepper <drepper@redhat.com>
39987
39988 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
39989 of strncasecmp_l.
1feccb6c 39990 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 39991
ca6bb004
UD
399922010-08-14 Ulrich Drepper <drepper@redhat.com>
39993
e9f82e0d
UD
39994 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
39995 strncase_l-nonascii.
39996 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
39997 Add strncase_l-ssse3.
39998 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
39999 * sysdeps/x86_64/strcmp.S: Likewise.
40000 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
40001 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
40002 * sysdeps/x86_64/strncase.S: New file.
40003 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
40004 * sysdeps/x86_64/strncase_l.S: New file.
40005 * string/Makefile (strop-tests): Add strncasecmp.
40006 * string/test-strncasecmp.c: New file.
40007
40008 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
40009 warning.
40010
ca6bb004
UD
40011 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
40012 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
40013
052fa7b3
AS
400142010-08-14 Andreas Schwab <schwab@linux-m68k.org>
40015
40016 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
40017
962dba78
UD
400182010-08-12 Ulrich Drepper <drepper@redhat.com>
40019
40020 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
40021 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
40022 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
40023
bebff237
AM
400242010-05-01 Alan Modra <amodra@gmail.com>
40025
40026 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
40027 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
40028 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
40029 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
40030 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
40031 tidying. Don't tail-call __sigjmp_save for static lib.
40032 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
40033 save location.
40034 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
40035 (CALL_MCOUNT): Add eh info, and nop after bl.
40036 (TAIL_CALL_SYSCALL_ERROR): New macro.
40037 (PSEUDO_RET): Use it.
40038 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
40039 Correct save location of integer regs and cr.
40040 (_dl_profile_resolve): Correct cr save location. Delete nops
40041 after bl when SHARED. Reduce cfi size a little by better
40042 placement of cfi directives.
40043 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
40044 make a stack frame. Instead use parm save area as a temp.
40045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
40046 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
40047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
40048 Don't make a stack frame for parent, use parm save area.
40049 Increase child stack frame to 112 bytes. Don't save unused reg,
40050 and adjust reg usage. Set up cfi on error recovery and
40051 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
40052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
40053 (__makecontext): Add dummy nop after jump to exit.
40054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
40055 Use correct parm save area and cr save, reduce stack frame.
40056 Correct cfi for possible PSEUDO_RET frame setup.
40057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
40058 Branch to local label emitted by PSEUDO_RET rather than
40059 __syscall_error.
40060
02637374
AS
400612010-08-12 Andreas Schwab <schwab@redhat.com>
40062
40063 [BZ #11904]
40064 * locale/programs/locale.c (print_assignment): New function.
40065 (show_locale_vars): Use it.
40066
c3e2f19b
UD
400672010-08-11 Ulrich Drepper <drepper@redhat.com>
40068
3cdaa6ad
UD
40069 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
40070 field.
40071 (struct statfs64): Likewise.
40072 (_STATFS_F_FLAGS): Define.
40073 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
40074 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40075 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
40076 (ST_VALID): Define locally.
40077 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
40078 __statvfs_getflags, use the provided value.
40079 * sysdeps/unix/sysv/linux/kernel-features.h: Define
40080 __ASSUME_STATFS_F_FLAGS.
40081
754f7da3
UD
40082 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
40083
10b3bedc
UD
40084 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
40085 Add sys/fanotify.h.
40086 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
40087 fanotify_mask for GLIBC_2.13.
40088 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
40089 fanotify_init and fanotify_mark.
40090 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
40091 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
40092
c08fb0d7
UD
40093 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
40094 Add prlimit.
40095 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
40096 prlimit64 for GLIBC_2.13.
40097 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
40098 prlimit64.
40099 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
40100 syscall.
40101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
40102 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
40103 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
40104 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
40105 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
40106 add prlimit alias.
40107 * sysdeps/unix/sysv/linux/prlimit.c: New file.
40108
15bac72b
UD
40109 [BZ #11903]
40110 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
40111 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
40112
c3e2f19b
UD
40113 * nss/Makefile: Add rules to build and run tst-nss-test1.
40114 * shlib-versions: Add entry for libnss_test1.
40115 * nss/nss_test1.c: New file.
40116 * nss/tst-nss-test1.c: New file.
40117
40118 * nss/nsswitch.c (__nss_database_custom): Define new variable.
40119 (__nss_configure_lookup): Set appropriate entry in
40120 __nss_configure_lookup to true.
40121 * nss/nsswitch.h: Define enum with indeces of databases in
40122 databases and __nss_database_custom arrays. Declare
40123 __nss_database_custom.
40124 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
40125 to avoid using nscd when custom rules are installed.
40126 * nss/getXXbyYY_r.c: Likewise.
40127 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
40128
40129 * nss/nss_files/files-parse.c: Whitespace fixes.
40130
f15ce4d8
UD
401312010-08-09 Ulrich Drepper <drepper@redhat.com>
40132
40133 [BZ #11883]
40134 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
40135 * posix/fnmatch_loop.c: Likewise.
40136
d22e4cc9
AK
401372010-07-17 Andi Kleen <ak@linux.intel.com>
40138
40139 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
40140 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
40141 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
40142 * Versions.def [GLIBC_2.13]: Add.
40143
805bc17d
UD
401442010-08-06 Ulrich Drepper <drepper@redhat.com>
40145
40146 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40147 Also fail if tpwd after pwuid call is NULL.
40148
5a42321d
ST
401492010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
40150
40151 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
40152 when converting to ms.
40153
fd3ebeda
ST
401542010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
40155
40156 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
40157 EOPNOTSUPP errors with ENOTTY.
40158 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
40159 EOPNOTSUPP errors with ENOTTY.
40160
73507d3a
UD
401612010-07-31 Ulrich Drepper <drepper@redhat.com>
40162
40163 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
40164 Add strcasecmp_l-ssse3.
40165 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
40166 strcasecmp.
40167 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
40168 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
40169 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
40170
fe36dd02
UD
401712010-07-30 Ulrich Drepper <drepper@redhat.com>
40172
66f6765a
UD
40173 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
40174
42e08a54
UD
40175 * string/Makefile (strop-tests): Add strcasecmp.
40176 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
40177 strcasecmp_l-nonascii.
40178 (gen-as-const-headers): Add locale-defines.sym.
40179 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
40180 * sysdeps/x86_64/strcasecmp.S: New file.
40181 * sysdeps/x86_64/strcasecmp_l.S: New file.
40182 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
40183 * sysdeps/x86_64/locale-defines.sym: New file.
40184 * string/test-strcasecmp.c: New file.
40185
fe36dd02
UD
40186 * string/test-strcasestr.c: Test both ends of the range of characters.
40187 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
40188
48cbc0d6
RM
401892010-07-29 Roland McGrath <roland@redhat.com>
40190
76e6d6bc 40191 [BZ #11856]
48cbc0d6
RM
40192 * manual/locale.texi (Yes-or-No Questions): Fix example code.
40193
880113d9
UD
401942010-07-27 Ulrich Drepper <drepper@redhat.com>
40195
40196 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
40197 for ld.so.
40198
deb9cabb
AS
401992010-07-27 Andreas Schwab <schwab@redhat.com>
40200
40201 * manual/memory.texi (Malloc Tunable Parameters): Document
40202 M_PERTURB.
40203
1c7570ff
RM
402042010-07-26 Roland McGrath <roland@redhat.com>
40205
40206 [BZ #11840]
40207 * configure.in (-fgnu89-inline check): Set and substitute
40208 gnu89_inline, not libc_cv_gnu89_inline.
40209 * configure: Regenerated.
40210 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
40211
24fb0f88
UD
402122010-07-26 Ulrich Drepper <drepper@redhat.com>
40213
40214 * string/test-strnlen.c: New file.
40215 * string/Makefile (strop-tests): Add strnlen.
40216 * string/tester.c (test_strnlen): Add a few more test cases.
40217 * string/tst-strlen.c: Better error reporting.
40218
40219 * sysdeps/x86_64/strnlen.S: New file.
40220
8e96b93a
UD
402212010-07-24 Ulrich Drepper <drepper@redhat.com>
40222
40223 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
40224 lower-latency instructions.
40225
dbc676d4
UD
402262010-07-23 Ulrich Drepper <drepper@redhat.com>
40227
40228 * string/test-strcasestr.c: New file.
40229 * string/test-strstr.c: New file.
40230 * string/Makefile (strop-tests): Add strstr and strcasestr.
40231 * string/str-two-way.h: Don't undefine MAX.
40232 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
40233
f6a31e0e
AS
402342010-07-21 Andreas Schwab <schwab@redhat.com>
40235
40236 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40237 strcasestr-nonascii.
40238 (CFLAGS-strcasestr-nonascii.c): Define.
40239 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
40240 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
40241 Remove unused attribute.
40242
5dbc3b6c
RM
402432010-07-20 Roland McGrath <roland@redhat.com>
40244
40245 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
40246 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
40247 ld.so.cache was broken. With it, there is no way to disable dsocaps
40248 like LD_HWCAP_MASK can disable hwcaps.
40249
23d101d8
EPM
402502010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40251
40252 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
40253
cc9f2e47
UD
402542010-07-16 Ulrich Drepper <drepper@redhat.com>
40255
40256 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
40257 call in strcasestr.
40258 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
40259 __strcasestr_sse42_nonascii.
40260 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
40261 strcasestr-nonascii.c.
40262 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
40263
77c1b069
LM
402642010-06-15 Luis Machado <luisgpm@br.ibm.com>
40265
40266 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
40267 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
40268 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
40269 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
40270
440566c3
UD
402712010-07-09 Ulrich Drepper <drepper@redhat.com>
40272
40273 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
40274 fcntl.
40275
5be9d05d
AS
402762010-07-06 Andreas Schwab <schwab@redhat.com>
40277
c30b7ee2 40278 [BZ #11577]
5be9d05d
AS
40279 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
40280 dl_signal_cerror.
40281
8a492a67
UD
402822010-07-06 Ulrich Drepper <drepper@redhat.com>
40283
40284 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
40285 _PC_PIPE_BUF using F_GETPIPE_SZ.
40286
713df3d5
RM
402872010-07-05 Roland McGrath <roland@redhat.com>
40288
40289 * manual/arith.texi (Rounding Functions): Fix rint description
40290 implicit in round description.
40291
702e8f14
UD
402922010-07-02 Ulrich Drepper <drepper@redhat.com>
40293
40294 * elf/Makefile: Fix linking for a few tests to make recent linker
40295 happy.
40296
52ed8be9
AS
402972010-06-30 Andreas Schwab <schwab@redhat.com>
40298
40299 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40300 $(common-objpfx)libc_nonshared.a.
40301
f47c9a11
LM
403022010-06-21 Luis Machado <luisgpm@br.ibm.com>
40303
40304 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
40305 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
40306 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40307 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40308 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
40309 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
40310 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40311 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
40313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
40314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
40315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
40316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
40317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
40318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
40319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
40320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
40321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
40322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
40323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
40324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
40325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
40326 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
40327 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
40328 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
40329 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
40330 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
40331 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
40332 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
40333 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
40334 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
40335 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
40336 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
40337 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
40338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
40339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
40340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
40341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
40342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
40343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
40344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
40345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
40346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
40347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
40348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
40349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
40350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
40351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
40352
6fb8cbcb
L
403532010-06-25 H.J. Lu <hongjiu.lu@intel.com>
40354
40355 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
40356 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
40357 * string/memmove.c (memmove): Renamed to ...
40358 (MEMMOVE): ...this. Default to memmove.
40359 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
40360 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
40361 (END_CHK): Define.
40362 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40363 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
40364 mempcpy-ssse3-back memmove-ssse3-back.
40365 * sysdeps/x86_64/multiarch/bcopy.S: New file .
40366 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
40367 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
40368 * sysdeps/x86_64/multiarch/memcpy.S: New file.
40369 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
40370 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
40371 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
40372 * sysdeps/x86_64/multiarch/memmove.c: New file.
40373 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
40374 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
40375 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
40376 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
40377 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
40378 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
40379 Define.
40380 (index_Fast_Copy_Backward): Define.
40381 (HAS_ARCH_FEATURE): Define.
40382 (HAS_FAST_REP_STRING): Define.
40383 (HAS_FAST_COPY_BACKWARD): Define.
40384
4e733bac 403852010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
40386
40387 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
40388 Restore proper fallback handling.
40389
63c4ed22
UD
403902010-06-19 Ulrich Drepper <drepper@redhat.com>
40391
ac2b484c
UD
40392 [BZ #11701]
40393 * posix/group_member.c (__group_member): Correct checking loop.
40394
63c4ed22
UD
40395 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
40396 OOM in getpwuid_r correctly. Return error number when the caller
40397 should return, otherwise -1.
40398 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
40399 call returning > 0 value.
40400 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
40401
765ade4b
AS
404022010-06-07 Andreas Schwab <schwab@redhat.com>
40403
40404 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
40405 libc_nonshared.a from targets in modules-names.
40406
80da2e09
KS
404072010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
40408
40409 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
40410 requires it.
40411
158db122
LM
404122010-06-10 Luis Machado <luisgpm@br.ibm.com>
40413
40414 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
40415 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
40416 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
40417 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
40418
caa78cf8
AS
404192010-06-02 Andreas Schwab <schwab@redhat.com>
40420
40421 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
40422
b2ef2c01
UD
404232010-06-14 Ulrich Drepper <drepper@redhat.com>
40424
40425 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
40426 and F_GETPIPE_SZ.
40427 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40428 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40429 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40430 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40431 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40432 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
40433
fbd643b6
RM
404342010-06-14 Roland McGrath <roland@redhat.com>
40435
40436 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
40437
f32f2869
JJ
404382010-06-07 Jakub Jelinek <jakub@redhat.com>
40439
40440 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
40441 __REDIRECT followed by __THROW.
40442 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
40443 * posix/getopt.h (getopt): Likewise.
40444
2a50c078
EPM
404452010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
40446
40447 * hurd/lookup-at.c (__file_name_lookup_at): Accept
40448 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
40449 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
40450 in AT_FLAGS.
40451 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
40452 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
40453
eb5ad2eb
LM
404542010-05-28 Luis Machado <luisgpm@br.ibm.com>
40455
40456 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
40457
3c88fe1e
L
404582010-05-26 H.J. Lu <hongjiu.lu@intel.com>
40459
40460 [BZ #11640]
40461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40462 Properly check family and model.
40463
d2f73151
TY
404642010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
40465
40466 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
40467
ebd2e13d
LM
404682010-05-24 Luis Machado <luisgpm@br.ibm.com>
40469
40470 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
40471
b32b8b45
UD
404722010-05-21 Ulrich Drepper <drepper@redhat.com>
40473
40474 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
40475 symbol reference.
40476
9acbe24d
AS
404772010-05-19 Andreas Schwab <schwab@redhat.com>
40478
40479 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
40480 symbol reference.
40481
f0ccf6ea
AS
404822010-05-21 Andreas Schwab <schwab@redhat.com>
40483
3d04ff3a
AS
40484 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
40485 and internal_recvmmsg.
40486 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
40487 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
40488 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
40489 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
40490
f0ccf6ea
AS
40491 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
40492 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
40493 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
40494
5b08ac57
AS
404952010-05-20 Andreas Schwab <schwab@redhat.com>
40496
40497 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
40498
4828935d
LM
404992010-05-17 Luis Machado <luisgpm@br.ibm.com>
40500
40501 POWER7 optimizations.
40502 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
40503 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
40504
373d545e
UD
405052010-05-19 Ulrich Drepper <drepper@redhat.com>
40506
40507 * version.h: Update for 2.13 development version.
40508
21a2b1ae
AS
405092010-05-12 Andrew Stubbs <ams@codesourcery.com>
40510
40511 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
40512 exceptions. Return 0.
40513
3f7dcb2b
RM
405142010-05-07 Roland McGrath <roland@redhat.com>
40515
40516 * elf/ldconfig.c (main): Add a const.
40517
5f24d53a 405182010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 40519
a160f8d8
UD
40520 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
40521 (args_options): Add no-idn option.
40522 (ahosts_keys_int): Add idn_flags to ai_flags.
40523 (parse_option): Handle 'i' option to clear idn_flags.
40524
5f24d53a
UD
40525 * malloc/malloc.c (_int_free): Possible race in the most recently
40526 added check. Only act on the data if no current modification
40527 happened.
265bb1ce
UD
40528
40529See ChangeLog.17 for earlier changes.
This page took 5.424448 seconds and 5 git commands to generate.