]> sourceware.org Git - glibc.git/blame - ChangeLog
Avoid spurious failures from <fenv.h> fallback functions (bug 15654).
[glibc.git] / ChangeLog
CommitLineData
c91e0825
JM
12013-06-20 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #15654]
4 * math/fedisblxcpt.c (fedisableexcept): Return 0.
5 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
6 * math/fegetenv.c (__fegetenv): Return 0.
7 * math/fegetexcept.c (fegetexcept): Return 0.
8 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
9 FE_TONEAREST.
10 * math/feholdexcpt.c (feholdexcept): Return 0.
11 * math/fesetenv.c (__fesetenv): Return 0.
12 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13 argument FE_TONEAREST.
14 * math/feupdateenv.c (__feupdateenv): Return 0.
15 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16
bfcacbde
RM
172013-06-18 Roland McGrath <roland@hack.frob.com>
18
19 * elf/rtld-Rules (rtld-compile-command.S): New variable.
20 (rtld-compile-command.s, rtld-compile-command.c): New variables.
21 ($(objpfx)rtld-%.os rules): Use them.
22
e55a9b25
AZ
232013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24
25 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26 fields.
27
346d65b3
RM
282013-06-17 Roland McGrath <roland@hack.frob.com>
29
12086fb4
RM
30 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
31 length of target pattern, then descending length of dependency pattern.
32 * configure.in (AWK): Require gawk 3.1.2 or newer.
33 * manual/install.texi (Tools for Compilation): Say that we do.
34 * configure: Regenerated.
35
346d65b3
RM
36 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
37 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
38 * scripts/sysd-rules.awk: ... this new script.
39 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
40 than a glob-style pattern.
41
1a846317
JM
422013-06-17 Joseph Myers <joseph@codesourcery.com>
43
44 * math/test-misc.c (main): Do not treat incorrectly rounded
45 conversions as failure unless ROUNDING_TESTS passes.
46
8fc75e6f
JM
472013-06-15 Joseph Myers <joseph@codesourcery.com>
48
3711a167
JM
49 [BZ #15631]
50 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
51 restore exception state around main square root computation, then
52 check for inexactness explicitly.
53
8fc75e6f
JM
54 * math/libm-test.inc (fma_test_data): Add another test.
55
61dd6208
SP
562013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
57
adf23d2c
SP
58 * manual/threads.texi (Non-POSIX Extensions): New document
59 node. Document pthread_getattr_default_np and
60 pthread_setattr_default_np.
61
61dd6208
SP
62 * Versions.def (libpthread): Add GLIBC_2.18.
63 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
64 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
65 Likewise.
66 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67 Likewise.
68 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69 Likewise.
70 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71 Likewise.
72 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
73 Likewise.
74 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
75 Likewise.
76 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
77 Likewise.
78 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
79 Likewise.
80 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
81 Likewise.
82
d086fc7b
LD
832013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
84
85 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
87
747ef469
SP
882013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
89 H.J. Lu <hjl.tools@gmail.com>
90
91 [BZ #15627]
92 * sysdeps/x86_64/rtld-memset.c: Remove file.
93 * sysdeps/x86_64/rtld-memset.S: New file.
94
1b2feed2
JM
952013-06-14 Joseph Myers <joseph@codesourcery.com>
96
97 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
98 (test_in_one_mode): Take arguments for whether the rounding mode
99 is supported for each floating-point type.
100 (do_test): Pass new arguments to test_in_one_mode using
101 ROUNDING_TESTS.
102
a58ad3f8
RM
1032013-06-13 Roland McGrath <roland@hack.frob.com>
104
105 * posix/tst-waitid.c (do_test): Distinguish different instances of
106 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
107 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
108 before entering the kernel for waitpid.
109
c204ab28
SP
1102013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
111
112 * NEWS: Fix note on clock function precision. Text by Roland
113 McGrath.
114
f4a29fba
RM
1152013-06-13 Roland McGrath <roland@hack.frob.com>
116
117 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
118 it into place only when and if the sanity check passes.
119
1f24b9ad
JM
1202013-06-13 Joseph Myers <joseph@codesourcery.com>
121
122 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
123 output for whether conversion result is exact. Take argument
124 indicating whether type is IBM long double.
125 (round_for_all): Change need_exact field to ibm_ld.
126 * stdlib/tst-strtod-round.c (struct exactness): New type.
127 (struct test): Change bool ld_ok field to struct exactness exact.
128 (TEST): Update all definitions for change to field.
129 (tests): Regenerate array contents.
130 (test_in_one_mode): Take pointer to new field instead of old ld_ok
131 field value. Check for IBM long double here.
132 (do_test): Update calls to test_in_one_mode.
133
58206c68
SP
1342013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
135
136 [BZ #12515]
137 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
138 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
139
2d6f4c5b 1402013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
141
142 [BZ #15605]
143 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
144 generated by the compiler on loop optimizations.
145 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
146 general definitions.
147
94f2c076
JM
1482013-06-12 Joseph Myers <joseph@codesourcery.com>
149
150 * math/bug-nextafter.c: Include <math-tests.h>.
151 (main): Only test for exceptions if EXCEPTION_TESTS is true for
152 the relevant type.
153 * math/bug-nexttoward.c: Include <math-tests.h>.
154 (main): Only test for exceptions if EXCEPTION_TESTS is true for
155 the relevant type.
156 * math/test-misc.c: Include <math-tests.h>.
157 (main): Only test for exceptions if EXCEPTION_TESTS is true for
158 the relevant type.
159
e0e50a0a
AJ
1602013-06-12 Andreas Jaeger <aj@suse.de>
161
162 * po/ia.po: Update Interlingua translation from translation
163 project.
164
25061094
SP
1652013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
166
167 * include/fenv.h: Include stdbool.h.
168 (struct rm_ctx): New structure.
169 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
170 Define macro.
171 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
172 (SET_RESTORE_ROUNDF): Likewise.
173 (SET_RESTORE_ROUNDL): Likewise.
174 (SET_RESTORE_ROUND_NOEX): Likewise.
175 (SET_RESTORE_ROUND_NOEXF): Likewise.
176 (SET_RESTORE_ROUND_NOEXL): Likewise.
177 (SET_RESTORE_ROUND_53BIT): Likewise.
178 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
179 (libc_feresetround_noexf_ctx): Likewise.
180 (libc_feresetround_noexl_ctx): Likewise.
181 (libc_feholdsetround_53bit_ctx): Likewise.
182 (libc_feresetround_53bit_ctx): Likewise.
183 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
184 (libc_feholdexcept_setround_sse_ctx): New function.
185 (libc_fesetenv_sse_ctx): Likewise.
186 (libc_feupdateenv_sse_ctx): Likewise.
187 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
188 (libc_feholdexcept_setround_387_ctx): Likewise.
189 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
190 (libc_feholdsetround_387_prec_ctx): Likewise.
191 (libc_feholdsetround_387_ctx): Likewise.
192 (libc_feholdsetround_387_53bit_ctx): Likewise.
193 (libc_feholdsetround_sse_ctx): Likewise.
194 (libc_feresetround_sse_ctx): Likewise.
195 (libc_feresetround_387_ctx): Likewise.
196 (libc_feupdateenv_387_ctx): Likewise.
197 (libc_feholdexcept_setroundf_ctx): Define macro.
198 (libc_fesetenvf_ctx): Likewise.
199 (libc_feupdateenvf_ctx): Likewise.
200 (libc_feholdsetroundf_ctx): Likewise.
201 (libc_feresetroundf_ctx): Likewise.
202 (libc_feholdexcept_setround_ctx): Likewise.
203 (libc_fesetenv_ctx): Likewise.
204 (libc_feupdateenv_ctx): Likewise.
205 (libc_feholdsetround_ctx): Likewise.
206 (libc_feresetround_ctx): Likewise.
207 (libc_feholdexcept_setroundl_ctx): Likewise.
208 (libc_feupdateenvl_ctx): Likewise.
209 (libc_feholdsetroundl_ctx): Likewise.
210 (libc_feresetroundl_ctx): Likewise.
211 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
212 (libc_feresetround_53bit_ctx): Likewise.
213
59b30555
SP
2142013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
215
216 * locale/iso-639.def: Convert to UTF-8.
217
f1d73d30
JM
2182013-06-11 Joseph Myers <joseph@codesourcery.com>
219
220 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
221 (EXCEPTION_TESTS_double): Likewise.
222 (EXCEPTION_TESTS_long_double): Likewise.
223 (EXCEPTION_TESTS): Likewise.
224 * math/libm-test.inc (test_exceptions): Only test exceptions if
225 EXCEPTION_TESTS (FLOAT).
226
94aca5e7
SP
2272013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
228
229 * benchtests/Makefile (string-bench): Add strcpy_chk and
230 stpcpy_chk.
231 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
232 * benchtests/bench-stpcpy_chk.c: New file.
233 * benchtests/bench-strcpy_chk-ifunc.c: New file.
234 * benchtests/bench-strcpy_chk.c: New file.
235 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
236 code.
237 (do_test): Likewise.
238
fac0c5f2
RA
2392013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
240
241 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
242 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
243 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
244 with tabs where appropriate.
245 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
246 dl-procinfo.h.
247 [PPC_PLATFORM_PPC440]: Likewise.
248 [PPC_PLATFORM_PPC464]: Likewise.
249 [PPC_PLATFORM_PPC476]: Likewise.
250 (_dl_string_platform): Add support for detecting ppc405, ppc440,
251 ppc464, and ppc476 platform strings merging from ports/
252 dl-procinfo.h.
253
f22bc486
AS
2542013-06-11 Andreas Schwab <schwab@suse.de>
255
256 [BZ #14991]
257 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
258 (from_ucs4_idx): Regenerate.
259 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
260 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
261 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
262 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
263 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
264 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
265 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
266 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
267 from FROM_LOOP and TO_LOOP specific macros.
268 (BODY): Handle combining characters.
269 * iconvdata/BIG5HKSCS.irreversible: Update.
270 * iconvdata/BIG5HKSCS.precomposed: New file.
271 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
272 characters.
273 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
274
c1f75dc3
SP
2752013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
276
4eacded2
SP
277 * include/sys/time.h: Fix indentation and add copyright header.
278
fec799f8
SP
279 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
280 (do_test): Likewise.
281 * string/test-memchr.c (do_one_test): Likewise.
282 (do_test): Likewise.
283 * string/test-memcmp.c (do_one_test): Likewise.
284 (do_test): Likewise.
285 * string/test-memcpy.c (do_one_test): Likewise.
286 (do_test): Likewise.
287 * string/test-memmem.c (do_one_test): Likewise.
288 (do_test): Likewise.
289 (do_random_tests): Likewise.
290 * string/test-memmove.c (do_one_test): Likewise.
291 (do_test): Likewise.
292 * string/test-memset.c (do_one_test): Likewise.
293 (do_test): Likewise.
294 * string/test-rawmemchr.c (do_one_test): Likewise.
295 (do_test): Likewise.
296 * string/test-strcasecmp.c (do_one_test): Likewise.
297 (do_test): Likewise.
298 * string/test-strcasestr.c (do_one_test): Likewise.
299 (do_test): Likewise.
300 * string/test-strcat.c (do_one_test): Likewise.
301 (do_test): Likewise.
302 * string/test-strchr.c (do_one_test): Likewise.
303 (do_test): Likewise.
304 * string/test-strcmp.c (do_one_test): Likewise.
305 (do_test): Likewise.
306 * string/test-strcpy.c (do_one_test): Likewise.
307 (do_test): Likewise.
308 * string/test-string.h: Likewise.
309 (test_init): Likewise.
310 * string/test-strlen.c (do_one_test): Likewise.
311 (do_test): Likewise.
312 * string/test-strncasecmp.c (do_one_test): Likewise.
313 (do_test): Likewise.
314 * string/test-strncat.c (do_one_test): Likewise.
315 (do_test): Likewise.
316 * string/test-strncmp.c (do_one_test): Likewise.
317 (do_test_limit): Likewise.
318 (do_test): Likewise.
319 * string/test-strncpy.c (do_one_test): Likewise.
320 (do_test): Likewise.
321 * string/test-strnlen.c (do_one_test): Likewise.
322 (do_test): Likewise.
323 * string/test-strpbrk.c (do_one_test): Likewise.
324 (do_test): Likewise.
325 * string/test-strrchr.c (do_one_test): Likewise.
326 (do_test): Likewise.
327 * string/test-strspn.c (do_one_test): Likewise.
328 (do_test): Likewise.
329 * string/test-strstr.c (do_one_test): Likewise.
330 (do_test): Likewise.
331
97020474
SP
332 * benchtests/Makefile (string-bench): Add string benchmarks.
333 * benchtests/bench-bcopy-ifunc.c: New file.
334 * benchtests/bench-bcopy.c: New file.
335 * benchtests/bench-bzero-ifunc.c: New file.
336 * benchtests/bench-bzero.c: New file.
337 * benchtests/bench-memccpy-ifunc.c: New file.
338 * benchtests/bench-memccpy.c: New file.
339 * benchtests/bench-memchr-ifunc.c: New file.
340 * benchtests/bench-memchr.c: New file.
341 * benchtests/bench-memcmp-ifunc.c: New file.
342 * benchtests/bench-memcmp.c: New file.
343 * benchtests/bench-memmem-ifunc.c: New file.
344 * benchtests/bench-memmem.c: New file.
345 * benchtests/bench-memmove-ifunc.c: New file.
346 * benchtests/bench-memmove.c: New file.
347 * benchtests/bench-mempcpy-ifunc.c: New file.
348 * benchtests/bench-mempcpy.c: New file.
349 * benchtests/bench-memset-ifunc.c: New file.
350 * benchtests/bench-memset.c: New file.
351 * benchtests/bench-rawmemchr-ifunc.c: New file.
352 * benchtests/bench-rawmemchr.c: New file.
353 * benchtests/bench-stpcpy-ifunc.c: New file.
354 * benchtests/bench-stpcpy.c: New file.
355 * benchtests/bench-stpncpy-ifunc.c: New file.
356 * benchtests/bench-stpncpy.c: New file.
357 * benchtests/bench-strcasecmp-ifunc.c: New file.
358 * benchtests/bench-strcasecmp.c: New file.
359 * benchtests/bench-strcasestr-ifunc.c: New file.
360 * benchtests/bench-strcasestr.c: New file.
361 * benchtests/bench-strcat-ifunc.c: New file.
362 * benchtests/bench-strcat.c: New file.
363 * benchtests/bench-strchr-ifunc.c: New file.
364 * benchtests/bench-strchr.c: New file.
365 * benchtests/bench-strchrnul-ifunc.c: New file.
366 * benchtests/bench-strchrnul.c: New file.
367 * benchtests/bench-strcmp-ifunc.c: New file.
368 * benchtests/bench-strcmp.c: New file.
369 * benchtests/bench-strcpy-ifunc.c: New file.
370 * benchtests/bench-strcpy.c: New file.
371 * benchtests/bench-strcspn-ifunc.c: New file.
372 * benchtests/bench-strcspn.c: New file.
373 * benchtests/bench-strlen-ifunc.c: New file.
374 * benchtests/bench-strlen.c: New file.
375 * benchtests/bench-strncasecmp-ifunc.c: New file.
376 * benchtests/bench-strncasecmp.c: New file.
377 * benchtests/bench-strncat-ifunc.c: New file.
378 * benchtests/bench-strncat.c: New file.
379 * benchtests/bench-strncmp-ifunc.c: New file.
380 * benchtests/bench-strncmp.c: New file.
381 * benchtests/bench-strncpy-ifunc.c: New file.
382 * benchtests/bench-strncpy.c: New file.
383 * benchtests/bench-strnlen-ifunc.c: New file.
384 * benchtests/bench-strnlen.c: New file.
385 * benchtests/bench-strpbrk-ifunc.c: New file.
386 * benchtests/bench-strpbrk.c: New file.
387 * benchtests/bench-strrchr-ifunc.c: New file.
388 * benchtests/bench-strrchr.c: New file.
389 * benchtests/bench-strspn-ifunc.c: New file.
390 * benchtests/bench-strspn.c: New file.
391 * benchtests/bench-strstr-ifunc.c: New file.
392 * benchtests/bench-strstr.c: New file.
393
c1f75dc3
SP
394 * benchtests/Makefile: Disable parallel execution of targets.
395 (string-bench): Add memcpy.
396 (benchset): New variable to store a list of benchmark sets.
397 (bench-func): Renamed from bench.
398 (bench-set): New target.
399 (bench): Depend on bench-func and bench-set.
400 * benchtests/README: Add section on benchmark sets.
401 * benchtests/bench-memcpy-ifunc.c: New file.
402 * benchtests/bench-memcpy.c: New file.
403 * benchtests/bench-string.h: New file.
404
50fd745b
AS
4052013-06-11 Andreas Schwab <schwab@suse.de>
406
407 [BZ #15577]
408 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
409 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
410 values in the triple.
411 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
412 terminator in the group key.
413
3ee7e9fe
AJ
4142013-06-11 Andreas Jaeger <aj@suse.de>
415
416 * po/zh_TW.po: Update Chinese (traditional) translation from
417 translation project.
418
89fb6835
SP
4192013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
420
421 * include/time.h (__clock_gettime): Add libc_hidden_proto.
422 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
423 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
424 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
425 (clock_getcpuclockid): Likewise.
426 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
427 Add weak_alias and libc_hidden_def.
428 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
429 * rt/clock_gettime.c (clock_gettime): Rename to
430 __clock_gettime. Add weak_alias and libc_hidden_def.
431 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
432 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
433 __clock_nanosleep. Add weak_alias and libc_hidden_def.
434 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
435 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
436 Likewise.
437 * rt/clock_settime.c (clock_settime): Rename to
438 __clock_settime. Add weak_alias and libc_hidden_def.
439 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
440
0efa6f8b
JM
4412013-06-10 Joseph Myers <joseph@codesourcery.com>
442
b8c61b4b
JM
443 * mach/err_boot.sub: Remove trailing whitespace.
444 * mach/err_ipc.sub: Likewise.
445 * mach/err_mach.sub: Likewise.
446
0efa6f8b
JM
447 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
448 (ROUNDING_TESTS_double): Likewise.
449 (ROUNDING_TESTS_long_double): Likewise.
450 (ROUNDING_TESTS): Likewise.
451 * math/libm-test.inc: Include <math-tests.h>.
452 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
453 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
454 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
455 (IF_ROUND_INIT_FE_UPWARD): Likewise.
456
50b818bf
SP
4572013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
458
459 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
460 of assigning.
461
60d2f8f3
JM
4622013-06-08 Joseph Myers <joseph@codesourcery.com>
463
4902d2c3
JM
464 * sysdeps/gnu/errlist.awk: Do not generate space at end of
465 otherwise empty TRANS lines.
466 * sysdeps/gnu/errlist.c: Regenerated.
467
60d2f8f3
JM
468 * catgets/gencat.c (error_print): Use (void) in function
469 definition.
470 * crypt/crypt_util.c (__init_des): Likewise.
471 * crypt/speeds.c (Stop): Likewise.
472 (main): Likewise.
473 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
474 * inet/ruserpass.c (token): Likewise.
475 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
476 * intl/localealias.c (extend_alias_table): Likewise.
477 * intl/plural-exp.c (init_germanic_plural): Likewise.
478 * libio/fcloseall.c (__fcloseall): Likewise.
479 * libio/genops.c (_IO_flush_all): Likewise.
480 (_IO_flush_all_linebuffered): Likewise.
481 (_IO_cleanup): Likewise.
482 (_IO_iter_begin): Likewise.
483 (_IO_iter_end): Likewise.
484 (_IO_list_lock): Likewise.
485 (_IO_list_unlock): Likewise.
486 (_IO_list_resetlock): Likewise.
487 * libio/getchar.c (getchar): Likewise.
488 * libio/getchar_u.c (getchar_unlocked): Likewise.
489 * libio/getwchar.c (getwchar): Likewise.
490 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
491 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
492 * login/getpt.c (__getpt): Likewise.
493 * login/tst-utmp.c (main): Likewise.
494 * malloc/hooks.c (__malloc_check_init): Likewise.
495 * malloc/malloc.c (__malloc_stats): Likewise.
496 * malloc/mtrace.c (tr_break): Likewise.
497 (mtrace): Likewise.
498 (muntrace): Likewise.
499 * misc/fstab.c (endfsent): Likewise.
500 * misc/getclktck.c (__getclktck): Likewise.
501 * misc/getdtsz.c (__getdtablesize): Likewise.
502 * misc/gethostid.c (gethostid): Likewise.
503 * misc/getpagesize.c (__getpagesize): Likewise.
504 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
505 (__get_nprocs): Likewise.
506 (__get_phys_pages): Likewise.
507 (__get_avphys_pages): Likewise.
508 * misc/getttyent.c (getttyent): Likewise.
509 (setttyent): Likewise.
510 (endttyent): Likewise.
511 * misc/getusershell.c (getusershell): Likewise.
512 (endusershell): Likewise.
513 (setusershell): Likewise.
514 (initshells): Likewise.
515 * misc/hsearch.c (__hdestroy): Likewise.
516 * misc/sync.c (sync): Likewise.
517 * misc/syslog.c (closelog_internal): Likewise.
518 (closelog): Likewise.
519 * misc/ttyslot.c (ttyslot): Likewise.
520 * misc/vhangup.c (vhangup): Likewise.
521 * posix/fork.c (__fork): Likewise.
522 * posix/getegid.c (__getegid): Likewise.
523 * posix/geteuid.c (__geteuid): Likewise.
524 * posix/getgid.c (__getgid): Likewise.
525 * posix/getpid.c (__getpid): Likewise.
526 * posix/getppid.c (__getppid): Likewise.
527 * posix/getuid.c (__getuid): Likewise.
528 * posix/pause.c (pause): Likewise.
529 * posix/setpgrp.c (setpgrp): Likewise.
530 * posix/setsid.c (__setsid): Likewise.
531 * posix/test-vfork.c (noop): Likewise.
532 * resolv/gethnamaddr.c (_endhtent): Likewise.
533 (_gethtent): Likewise.
534 (ht_endhostent): Likewise.
535 (gethostent): Likewise.
536 (dns_service): Likewise.
537 * stdlib/drand48.c (drand48): Likewise.
538 * stdlib/lrand48.c (lrand48): Likewise.
539 * stdlib/mrand48.c (mrand48): Likewise.
540 * stdlib/rand.c (rand): Likewise.
541 * stdlib/random.c (__random): Likewise.
542 * stdlib/setenv.c (clearenv): Likewise.
543 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
544 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
545 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
546 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
547 (__get_nprocs): Likewise.
548 (__get_phys_pages): Likewise.
549 (__get_avphys_pages): Likewise.
550 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
551 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
552 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
553 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
554 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
555 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
556 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
557 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
558 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
559 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
560 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
561 * sysdeps/mach/hurd/sync.c (sync): Likewise.
562 * sysdeps/posix/clock.c (clock): Likewise.
563 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
564 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
565 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
566 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
567 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
568 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
569 (__get_nprocs_conf): Likewise.
570 (__get_phys_pages): Likewise.
571 (__get_avphys_pages): Likewise.
572 * time/clock.c (clock): Likewise.
573 * time/tzset.c (__tzname_max): Likewise.
574
2e09a79a
JM
5752013-06-07 Joseph Myers <joseph@codesourcery.com>
576
577 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
578 (__bswap_32): Do not use "register".
579 * crypt/crypt.c (_ufc_doit_r): Likewise.
580 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
581 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
582 * gmon/gmon.c (__monstartup): Likewise.
583 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
584 * hurd/hurdmalloc.c (more_memory): Likewise.
585 (malloc): Likewise.
586 (free): Likewise.
587 (realloc): Likewise.
588 (malloc_fork_prepare): Likewise.
589 (malloc_fork_parent): Likewise.
590 (malloc_fork_child): Likewise.
591 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
592 (_svcauth_des): Likewise.
593 * inet/inet_lnaof.c (inet_lnaof): Likewise.
594 * inet/inet_net.c (inet_network): Likewise.
595 * inet/inet_netof.c (inet_netof): Likewise.
596 * inet/rcmd.c (__validuser2_sa): Likewise.
597 * io/fts.c (fts_open): Likewise.
598 (fts_load): Likewise.
599 (fts_close): Likewise.
600 (fts_read): Likewise.
601 (fts_children): Likewise.
602 (fts_build): Likewise.
603 (fts_stat): Likewise.
604 (fts_sort): Likewise.
605 (fts_alloc): Likewise.
606 (fts_lfree): Likewise.
607 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
608 (_IO_file_xsgetn): Likewise.
609 (_IO_file_xsgetn_mmap): Likewise.
610 * libio/iofopncook.c (_IO_cookie_read): Likewise.
611 (_IO_cookie_write): Likewise.
612 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
613 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
614 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
615 * malloc/obstack.c (_obstack_begin): Likewise.
616 (_obstack_begin_1): Likewise.
617 (_obstack_newchunk): Likewise.
618 (_obstack_allocated_p): Likewise.
619 (obstack_free): Likewise.
620 (_obstack_memory_used): Likewise.
621 * misc/getttyent.c (getttynam): Likewise.
622 (getttyent): Likewise.
623 (skip): Likewise.
624 (value): Likewise.
625 * misc/getusershell.c (initshells): Likewise.
626 * misc/syslog.c (__vsyslog_chk): Likewise.
627 * misc/ttyslot.c (ttyslot): Likewise.
628 * nis/nis_hash.c (__nis_hash): Likewise.
629 * posix/fnmatch_loop.c (FCT): Likewise.
630 * posix/getconf.c (print_all): Likewise.
631 (main): Likewise.
632 * posix/getopt.c (exchange): Likewise.
633 * posix/glob.c (globfree): Likewise.
634 (prefix_array): Likewise.
635 (__glob_pattern_type): Likewise.
636 * resolv/arpa/nameser.h (NS_GET16): Likewise.
637 (NS_GET32): Likewise.
638 (NS_PUT16): Likewise.
639 (NS_PUT32): Likewise.
640 * resolv/gethnamaddr.c (getanswer): Likewise.
641 (gethostbyname2): Likewise.
642 (gethostbyaddr): Likewise.
643 (_gethtent): Likewise.
644 (_gethtbyname2): Likewise.
645 (_gethtbyaddr): Likewise.
646 * resolv/ns_print.c (dst_s_get_int16): Likewise.
647 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
648 * resolv/res_init.c (__res_vinit): Likewise.
649 (net_mask): Likewise.
650 * resolv/res_mkquery.c (outchar): Likewise.
651 (PRINT): Likewise.
652 * stdio-common/printf_fp.c (outchar): Likewise.
653 (PRINT): Likewise.
654 * stdio-common/printf_fphex.c (outchar): Likewise.
655 (PRINT): Likewise.
656 * stdio-common/printf_size.c (outchar): Likewise.
657 (PRINT): Likewise.
658 * stdio-common/test_rdwr.c (main): Likewise.
659 * stdio-common/tfformat.c (matches): Likewise.
660 * stdio-common/vfprintf.c (outchar): Likewise.
661 (printf_unknown): Likewise.
662 (buffered_vfprintf): Likewise.
663 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
664 * stdio-common/xbug.c (AppendToBuffer): Likewise.
665 (ReadFile): Likewise.
666 * stdlib/qsort.c (SWAP): Likewise.
667 (_quicksort): Likewise.
668 * stdlib/setenv.c (__add_to_environ): Likewise.
669 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
670 * stdlib/strtol_l.c (__strtol_l): Likewise.
671 * stdlib/tst-strtod.c (main): Likewise.
672 * stdlib/tst-strtol.c (main): Likewise.
673 * stdlib/tst-strtoll.c (main): Likewise.
674 * string/bits/string2.h (__strcmp_cc): Likewise.
675 (__strcmp_cg): Likewise.
676 (__strcspn_c1): Likewise.
677 (__strcspn_c2): Likewise.
678 (__strcspn_c3): Likewise.
679 (__strspn_c1): Likewise.
680 (__strspn_c2): Likewise.
681 (__strspn_c3): Likewise.
682 (__strsep_1c): Likewise.
683 (__strsep_2c): Likewise.
684 (__strsep_3c): Likewise.
685 * string/memccpy.c (__memccpy): Likewise.
686 * string/stpcpy.c (__stpcpy): Likewise.
687 * string/strcmp.c (strcmp): Likewise.
688 * string/strrchr.c (strrchr): Likewise.
689 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
690 Likewise.
691 * sysdeps/mach/hurd/getcwd.c
692 (_hurd_canonicalize_directory_name_internal): Likewise.
693 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
694 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
695 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
696 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
697 Likewise, in both definitions.
698 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
699 definitions.
700 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
701 64] (__bswap_64): Likewise.
702 * time/test_time.c (main): Likewise.
703 * time/tzfile.c (__tzfile_read): Likewise.
704 (__tzfile_compute): Likewise.
705 * time/tzset.c (__tzset_parse_tz): Likewise.
706 (tzset_internal): Likewise.
707 (compute_change): Likewise.
708 * wcsmbs/wcscat.c (__wcscat): Likewise.
709 * wcsmbs/wcschr.c (wcschr): Likewise.
710 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
711 * wcsmbs/wcscspn.c (wcscspn): Likewise.
712 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
713 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
714 * wcsmbs/wcsspn.c (wcsspn): Likewise.
715 * wcsmbs/wcsstr.c (wcsstr): Likewise.
716 * wcsmbs/wmemchr.c (wmemchr): Likewise.
717 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
718 * wcsmbs/wmemset.c (wmemset): Likewise.
719
9e54314b
JM
7202013-06-06 Joseph Myers <joseph@codesourcery.com>
721
722 * scripts/config.guess: Update to version 2013-05-16.
723 * scripts/config.sub: Update to version 2013-04-24.
724 * scripts/install-sh: Update to version 2011-11-20.07.
725 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
726 * scripts/move-if-change: Update to version 2012-01-06 07:23.
727
350635a5
OB
7282013-06-06 Ondřej Bílka <neleai@seznam.cz>
729
730 * debug/fgetws_u_chk.c: Fix leading whitespaces.
731 * elf/sln.c: Likewise.
732 * hurd/hurd/ioctl.h: Likewise.
733 * hurd/hurdmalloc.c: Likewise.
734 * hurd/xattr.c: Likewise.
735 * include/shlib-compat.h: Likewise.
736 * inet/ruserpass.c: Likewise.
737 * libio/iofgets_u.c: Likewise.
738 * libio/iofgetws_u.c: Likewise.
739 * locale/programs/ld-identification.c: Likewise.
740 * locale/programs/ld-time.c: Likewise.
741 * mach/msg-destroy.c: Likewise.
742 * nss/nss_files/files-netgrp.c: Likewise.
743 * resolv/res_data.c: Likewise.
744 * soft-fp/op-1.h: Likewise.
745 * soft-fp/op-2.h: Likewise.
746 * soft-fp/op-4.h: Likewise.
747 * soft-fp/op-common.h: Likewise.
748 * stdio-common/printf_fphex.c: Likewise.
749 * stdlib/strtod_l.c: Likewise.
750 * sunrpc/rpc/clnt.h: Likewise.
751 * sysdeps/generic/framestate.c: Likewise.
752 * sysdeps/i386/bsd-_setjmp.S: Likewise.
753 * sysdeps/i386/bsd-setjmp.S: Likewise.
754 * sysdeps/i386/__longjmp.S: Likewise.
755 * sysdeps/i386/setjmp.S: Likewise.
756 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
757 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
758 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
759 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
760 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
761 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
762 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
763 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
764 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
765 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
766 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
767 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
768 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
769 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
770 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
771 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
772 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
773 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
774 * sysdeps/ieee754/support.c: Likewise.
775 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
776 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
777 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
778 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
779 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
780 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
781 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
782 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
783 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
784 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
785 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
786 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
787 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
788 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
789 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
790 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
791 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
793
44a988af
OB
7942013-06-05 Ondřej Bílka <neleai@seznam.cz>
795
25506f09 796 * posix/transbug.c: Remove executable mode.
44a988af 797
9c84384c
JM
7982013-06-05 Joseph Myers <joseph@codesourcery.com>
799
800 * crypt/speeds.c: Remove trailing whitespace.
801 * dlfcn/default.c: Likewise.
802 * elf/ifuncdep2.c: Likewise.
803 * elf/ifuncmain1.c: Likewise.
804 * elf/ifuncmain1vis.c: Likewise.
805 * elf/testobj.h: Likewise.
806 * elf/tst-stackguard1.c: Likewise.
807 * gmon/sys/gmon.h: Likewise.
808 * hurd/hurdmsg.c: Likewise.
809 * hurd/new-fd.c: Likewise.
810 * hurd/ports-get.c: Likewise.
811 * iconvdata/ibm1008_420.c: Likewise.
812 * inet/tst-getni1.c: Likewise.
813 * inet/tst-getni2.c: Likewise.
814 * libio/ioungetc.c: Likewise.
815 * libio/wfiledoalloc.c: Likewise.
816 * manual/libm-err-tab.pl: Likewise.
817 * math/w_dremf.c: Likewise.
818 * misc/ftruncate.c: Likewise.
819 * posix/bug-glob2.c: Likewise.
820 * posix/tst-pcre.c: Likewise.
821 * posix/wait4.c: Likewise.
822 * resolv/README: Likewise.
823 * resolv/res_debug.h: Likewise.
824 * resolv/tst-inet_ntop.c: Likewise.
825 * setjmp/bug269-setjmp.c: Likewise.
826 * soft-fp/extended.h: Likewise.
827 * soft-fp/op-1.h: Likewise.
828 * soft-fp/op-2.h: Likewise.
829 * soft-fp/op-4.h: Likewise.
830 * soft-fp/op-8.h: Likewise.
831 * soft-fp/testit.c: Likewise.
832 * stdio-common/bug16.c: Likewise.
833 * stdlib/random.c: Likewise.
834 * sunrpc/rpcsvc/rquota.x: Likewise.
835 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
836 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
837 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
838 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
839 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
840 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
841 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
842 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
843 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
844 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
845 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
846 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
847 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
848 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
849 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
850 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
851 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
852 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
853 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
854 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
855 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
856 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
857 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
858 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
859 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
860 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
861 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
862 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
863 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
864 * sysdeps/ieee754/s_lib_version.c: Likewise.
865 * sysdeps/mach/hurd/check_fds.c: Likewise.
866 * sysdeps/mach/hurd/getsockname.c: Likewise.
867 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
868 * sysdeps/mach/hurd/recvfrom.c: Likewise.
869 * sysdeps/powerpc/bits/link.h: Likewise.
870 * sysdeps/powerpc/dl-procinfo.c: Likewise.
871 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
872 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
873 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
874 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
875 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
876 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
877 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
878 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
879 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
880 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
881 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
882 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
883 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
884 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
885 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
886 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
887 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
888 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
889 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
890 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
891 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
892 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
893 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
894 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
895 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
896 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
897 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
898 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
899 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
900 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
901 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
902 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
903 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
904 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
905 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
906 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
907 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
908 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
909 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
910 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
911 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
912 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
913 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
914 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
915 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
916 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
917 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
918 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
919 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
920 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
921 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
922 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
923 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
924 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
925 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
926 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
927 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
928 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
929 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
930 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
931 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
932 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
933 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
934 * sysdeps/powerpc/sysdep.h: Likewise.
935 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
936 * sysdeps/s390/s390-64/sub_n.S: Likewise.
937 * sysdeps/sh/dl-trampoline.S: Likewise.
938 * sysdeps/sh/memset.S: Likewise.
939 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
940 * sysdeps/sh/strlen.S: Likewise.
941 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
942 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
943 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
944 * sysdeps/sparc/sparc32/rem.S: Likewise.
945 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
946 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
947 * sysdeps/sparc/sparc32/strchr.S: Likewise.
948 * sysdeps/sparc/sparc32/udiv.S: Likewise.
949 * sysdeps/sparc/sparc32/urem.S: Likewise.
950 * sysdeps/sparc/sparc64/add_n.S: Likewise.
951 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
952 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
953 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
954 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
955 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
956 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
957 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
958 * sysdeps/unix/bsd/times.c: Likewise.
959 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
960 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
964 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
965 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
966 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
967 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
968 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
969 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
970 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
971 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
972 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
973 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
974 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
975 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
976 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
977 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
978 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
979 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
980 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
981 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
982 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
983 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
984 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
985 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
986 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
987 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
988 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
989 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
990 * sysdeps/x86_64/strcspn.S: Likewise.
991
869378a5
RA
9922013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
993
994 * locale/C-translit.h: Revert #include <stdint.h> because this is a
995 generated file. Regenerate properly from gen-translit.pl.
996 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
997 locale/C-translit.h.
998
840e2943
AS
9992013-06-05 Andreas Schwab <schwab@suse.de>
1000
1001 [BZ #15100]
1002 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1003 week as 6 instead of -1.
1004 * time/tst-strptime.c (day_tests): Add test case.
1005
4c60cb0c
SP
10062013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1007
1008 * sysdeps/generic/math_private.h
1009 (libc_feholdexcept_setround_53bit): Replace with
1010 libc_feholdsetround_53bit.
1011 (libc_feupdateenv_53bit): Replace with
1012 libc_feresetround_53bit.
1013 (SET_RESTORE_ROUND_53BIT): Adjust.
1014
d180203e
SP
10152013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1016
96df079a
SP
1017 * string/test-strchrnul.c: Add copyright header.
1018
d180203e
SP
1019 * posix/tst-getaddrinfo4.c: Increase test timeout.
1020
8b0ccb2d
CD
10212013-06-03 Carlos O'Donell <carlos@redhat.com>
1022
1023 [BZ #15536]
1024 * math/libm-test.inc (MAX_EXP): Remove
1025 (MIN_EXP): Define.
1026 (ulp): Use MIN_EXP - MANT_DIG.
1027 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1028
3b3c4d40
CD
10292013-05-31 Carlos O'Donell <carlos@redhat.com>
1030
1031 * po/be.po: Revert last change.
1032 * po/zh_CN.po: Likewise.
1033 * po/header.pot: Likewise.
1034
fab7ce3f
JM
10352013-05-31 Joseph Myers <joseph@codesourcery.com>
1036
1037 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1038 link-libc-deps to empty as target-specific variable.
1039 * Makerules (link-libc-args): New variable.
1040 (libc-for-link): Likewise.
1041 (link-libc-deps): Likewise.
1042 (lib%.so): Depend on $(link-libc-deps). Link with
1043 $(link-libc-args).
1044 (build-module): Link with $(link-libc-args).
1045 (build-module-asneeded): Likewise.
1046 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1047 list of objects.
1048 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1049 target-specific variable.
1050 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1051 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1052 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1053 libc.
1054 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1055 libc and ld.so.
1056 ($(objpfx)libpcprofile.so): Likewise.
1057 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1058 libc_nonshared.a.
1059 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1060 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1061 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1062 $(link-libc-deps).
1063 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1064 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1065 * login/Makefile ($(objpfx)libutil.so): Likewise.
1066 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1067 * math/Makefile ($(objpfx)libm.so): Likewise.
1068 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1069 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1070 variable instead of depending directly on libc.
1071 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1072 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1073 $(link-libc-deps).
1074 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1075 libc.
1076 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1077 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1078 ($(objpfx)libanl.so): Likewise.
1079 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1080 ld.so.
1081 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1082 $(link-libc-deps).
1083 * sysdeps/i386/fpu/Makefile: Remove file.
1084 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1085 ($(objpfx)libm.so): Remove dependency on ld.so.
1086
eca5920c
PF
10872013-05-30 Patsy Franklin <pfrankli@redhat.com>
1088
1089 [BZ # 15553]
1090 * nis/yp_xdr.c (XDRMAXNAME): Define.
1091 (XDRMAXRECORD): Define.
1092 (xdr_domainname): Use XDRMAXNAME.
1093 (xdr_mapname): Likewise.
1094 (xdr_peername): Likewise.
1095 (xdr_keydat): Use XDRMAXRECORD.
1096 (xdr_valdat): Likewise.
1097
10982013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1099
1100 [BZ #14256]
1101 * manual/errno.texi (ESTALE): Update to account for more than
1102 just NFS file systems.
1103 * sysdeps/gnu/errlist.c: Regenerated.
1104
b9375348
SP
11052013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1106
1107 [BZ #15465]
1108 * elf/Makefile (tests): Add tst-null-argv.
1109 (modules-names): Add tst-null-argv-lib.
1110 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1111 (tst-null-argv-ENV): Set environment for tst-null-argv.
1112 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1113 (RTLD_PROGNAME): New macro.
1114 * elf/tst-null-argv.c: New test case.
1115 * elf/tst-null-argv-lib.c: Library for test case.
1116 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1117 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1118 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1119 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1120 * elf/dl-init.c (call_init): Likewise.
1121 (_dl_init): Likewise.
1122 * elf/dl-load.c (print_search_path): Likewise.
1123 (_dl_map_object): Likewise.
1124 * elf/dl-lookup.c (do_lookup_x): Likewise.
1125 (add_dependency): Likewise.
1126 (_dl_lookup_symbol_x): Likewise.
1127 (_dl_debug_bindings): Likewise.
1128 * elf/dl-open.c (_dl_show_scope): Likewise.
1129 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1130 * elf/dl-version.c (match_symbol): Likewise.
1131 (_dl_check_map_versions): Likewise.
1132 * elf/rtld.c (dl_main): Likewise.
1133 (print_unresolved): Use RTLD_PROGNAME.
1134 (print_missing_version): Likewise.
1135 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1136 (elf_machine_rela): Likewise.
1137 * sysdeps/powerpc/powerpc32/dl-machine.c
1138 (__process_machine_rela): Likewise.
1139 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1140 Likewise.
1141 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1142 Likewise.
1143 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1144 Likewise.
1145 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1146 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1147 Likewise.
1148 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1149 Likewise.
1150 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1151
8a9f20c8
CD
11522013-05-28 Carlos O'Donell <carlos@redhat.com>
1153
1154 * po/be.po: Add descriptive title.
1155 * po/zh_CN.po: Likewise.
1156 * po/header.pot: Likewise.
1157
0e60d68e
MF
11582013-05-28 Mike Frysinger <vapier@gentoo.org>
1159
1160 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1161 error message.
1162 (enlarge_archive): Likewise.
1163
56b672e9
BN
11642013-05-28 Ben North <ben@redfrontdoor.org>
1165
1166 * manual/arith.texi (frexp): It is the magnitude of the return
1167 value which lies in [0.5, 1), not the return value itself.
1168
5e056687
AZ
11692013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1170
1171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1172
2b66ef5d
TS
11732013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1174
528c2405
TS
1175 * stdio-common/bug26.c (main): Correct fscanf template.
1176
07b4c13d
TS
1177 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1178 declare _dl_skip_args.
1179
ec9dd97c
TS
1180 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1181 Don't declare.
1182
2b66ef5d
TS
1183 * manual/platform.texi: Add missing @end deftypefun.
1184
4f8dfe27
JM
11852013-05-24 Joseph Myers <joseph@codesourcery.com>
1186
0323d086
JM
1187 [BZ #15529]
1188 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1189 bit of mantissa of 2^16382.
1190 * math/libm-test.inc (hypot_test_data): Add more tests.
1191
dd4259b9
JM
1192 * math/libm-test.inc: Add drem and pow10 to list of tested
1193 functions.
1194 (pow10_test): New function.
1195 (drem_test): Likewise.
1196 (drem_test_tonearest): Likewise.
1197 (drem_test_towardzero): Likewise.
1198 (drem_test_downward): Likewise.
1199 (drem_test_upward): Likewise.
1200 (main): Call the new functions.
1201
4f8dfe27
JM
1202 * math/libm-test.inc (finite_test_data): Remove.
1203 (finite_test): Run tests from isfinite_test_data.
1204 (gamma_test_data): Remove.
1205 (gamma_test): Run tests from lgamma_test_data.
1206 * sysdeps/i386/fpu/libm-test-ulps: Update.
1207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1208
d116b7c4
AZ
12092013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1210
1211 * manual/platform.texi: Add PowerPC PPR function set documentation.
1212 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1213 implementation.
1214
e96e3767
CD
12152013-05-24 Carlos O'Donell <carlos@redhat.com>
1216
1217 * math/libm-test.inc (MAX_EXP): Define.
1218 (ULPDIFF): Define.
1219 (ulp): New function.
1220 (check_float_internal): Use ULPDIFF.
1221 (cpow_test): Disable failing test.
1222 (check_ulp): Test ulp() implemetnation.
1223 (main): Call check_ulp before starting tests.
1224
b679a606
JM
12252013-05-24 Joseph Myers <joseph@codesourcery.com>
1226
e8bdba36
JM
1227 * math/gen-libm-test.pl (generate_testfile): Do not handle
1228 START_DATA and END_DATA.
1229 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1230 END_DATA.
1231 (acos_tonearest_test_data): Likewise.
1232 (acos_towardzero_test_data): Likewise.
1233 (acos_downward_test_data): Likewise.
1234 (acos_upward_test_data): Likewise.
1235 (acosh_test_data): Likewise.
1236 (asin_test_data): Likewise.
1237 (asin_tonearest_test_data): Likewise.
1238 (asin_towardzero_test_data): Likewise.
1239 (asin_downward_test_data): Likewise.
1240 (asin_upward_test_data): Likewise.
1241 (asinh_test_data): Likewise.
1242 (atan_test_data): Likewise.
1243 (atanh_test_data): Likewise.
1244 (atan2_test_data): Likewise.
1245 (cabs_test_data): Likewise.
1246 (cacos_test_data): Likewise.
1247 (cacosh_test_data): Likewise.
1248 (carg_test_data): Likewise.
1249 (casin_test_data): Likewise.
1250 (casinh_test_data): Likewise.
1251 (catan_test_data): Likewise.
1252 (catanh_test_data): Likewise.
1253 (cbrt_test_data): Likewise.
1254 (ccos_test_data): Likewise.
1255 (ccosh_test_data): Likewise.
1256 (ceil_test_data): Likewise.
1257 (cexp_test_data): Likewise.
1258 (cimag_test_data): Likewise.
1259 (clog_test_data): Likewise.
1260 (clog10_test_data): Likewise.
1261 (conj_test_data): Likewise.
1262 (copysign_test_data): Likewise.
1263 (cos_test_data): Likewise.
1264 (cos_tonearest_test_data): Likewise.
1265 (cos_towardzero_test_data): Likewise.
1266 (cos_downward_test_data): Likewise.
1267 (cos_upward_test_data): Likewise.
1268 (cosh_test_data): Likewise.
1269 (cosh_tonearest_test_data): Likewise.
1270 (cosh_towardzero_test_data): Likewise.
1271 (cosh_downward_test_data): Likewise.
1272 (cosh_upward_test_data): Likewise.
1273 (cpow_test_data): Likewise.
1274 (cproj_test_data): Likewise.
1275 (creal_test_data): Likewise.
1276 (csin_test_data): Likewise.
1277 (csinh_test_data): Likewise.
1278 (csqrt_test_data): Likewise.
1279 (ctan_test_data): Likewise.
1280 (ctan_tonearest_test_data): Likewise.
1281 (ctan_towardzero_test_data): Likewise.
1282 (ctan_downward_test_data): Likewise.
1283 (ctan_upward_test_data): Likewise.
1284 (ctanh_test_data): Likewise.
1285 (ctanh_tonearest_test_data): Likewise.
1286 (ctanh_towardzero_test_data): Likewise.
1287 (ctanh_downward_test_data): Likewise.
1288 (ctanh_upward_test_data): Likewise.
1289 (erf_test_data): Likewise.
1290 (erfc_test_data): Likewise.
1291 (exp_test_data): Likewise.
1292 (exp_tonearest_test_data): Likewise.
1293 (exp_towardzero_test_data): Likewise.
1294 (exp_downward_test_data): Likewise.
1295 (exp_upward_test_data): Likewise.
1296 (exp10_test_data): Likewise.
1297 (exp2_test_data): Likewise.
1298 (expm1_test_data): Likewise.
1299 (fabs_test_data): Likewise.
1300 (fdim_test_data): Likewise.
1301 (finite_test_data): Likewise.
1302 (floor_test_data): Likewise.
1303 (fma_test_data): Likewise.
1304 (fma_towardzero_test_data): Likewise.
1305 (fma_downward_test_data): Likewise.
1306 (fma_upward_test_data): Likewise.
1307 (fmax_test_data): Likewise.
1308 (fmin_test_data): Likewise.
1309 (fmod_test_data): Likewise.
1310 (fpclassify_test_data): Likewise.
1311 (frexp_test_data): Likewise.
1312 (gamma_test_data): Likewise.
1313 (hypot_test_data): Likewise.
1314 (ilogb_test_data): Likewise.
1315 (isfinite_test_data): Likewise.
1316 (isgreater_test_data): Likewise.
1317 (isgreaterequal_test_data): Likewise.
1318 (isinf_test_data): Likewise.
1319 (isless_test_data): Likewise.
1320 (islessequal_test_data): Likewise.
1321 (islessgreater_test_data): Likewise.
1322 (isnan_test_data): Likewise.
1323 (isnormal_test_data): Likewise.
1324 (issignaling_test_data): Likewise.
1325 (isunordered_test_data): Likewise.
1326 (j0_test_data): Likewise.
1327 (j1_test_data): Likewise.
1328 (jn_test_data): Likewise.
1329 (ldexp_test_data): Likewise.
1330 (lgamma_test_data): Likewise.
1331 (lrint_test_data): Likewise.
1332 (lrint_tonearest_test_data): Likewise.
1333 (lrint_towardzero_test_data): Likewise.
1334 (lrint_downward_test_data): Likewise.
1335 (lrint_upward_test_data): Likewise.
1336 (llrint_test_data): Likewise.
1337 (llrint_tonearest_test_data): Likewise.
1338 (llrint_towardzero_test_data): Likewise.
1339 (llrint_downward_test_data): Likewise.
1340 (llrint_upward_test_data): Likewise.
1341 (log_test_data): Likewise.
1342 (log10_test_data): Likewise.
1343 (log1p_test_data): Likewise.
1344 (log2_test_data): Likewise.
1345 (logb_test_data): Likewise.
1346 (logb_downward_test_data): Likewise.
1347 (lround_test_data): Likewise.
1348 (llround_test_data): Likewise.
1349 (modf_test_data): Likewise.
1350 (nearbyint_test_data): Likewise.
1351 (nextafter_test_data): Likewise.
1352 (nexttoward_test_data): Likewise.
1353 (pow_test_data): Likewise.
1354 (pow_tonearest_test_data): Likewise.
1355 (pow_towardzero_test_data): Likewise.
1356 (pow_downward_test_data): Likewise.
1357 (pow_upward_test_data): Likewise.
1358 (remainder_test_data): Likewise.
1359 (remainder_tonearest_test_data): Likewise.
1360 (remainder_towardzero_test_data): Likewise.
1361 (remainder_downward_test_data): Likewise.
1362 (remainder_upward_test_data): Likewise.
1363 (remquo_test_data): Likewise.
1364 (rint_test_data): Likewise.
1365 (rint_tonearest_test_data): Likewise.
1366 (rint_towardzero_test_data): Likewise.
1367 (rint_downward_test_data): Likewise.
1368 (rint_upward_test_data): Likewise.
1369 (round_test_data): Likewise.
1370 (scalb_test_data): Likewise.
1371 (scalbn_test_data): Likewise.
1372 (scalbln_test_data): Likewise.
1373 (signbit_test_data): Likewise.
1374 (sin_test_data): Likewise.
1375 (sin_tonearest_test_data): Likewise.
1376 (sin_towardzero_test_data): Likewise.
1377 (sin_downward_test_data): Likewise.
1378 (sin_upward_test_data): Likewise.
1379 (sincos_test_data): Likewise.
1380 (sinh_test_data): Likewise.
1381 (sinh_tonearest_test_data): Likewise.
1382 (sinh_towardzero_test_data): Likewise.
1383 (sinh_downward_test_data): Likewise.
1384 (sinh_upward_test_data): Likewise.
1385 (sqrt_test_data): Likewise.
1386 (tan_test_data): Likewise.
1387 (tan_tonearest_test_data): Likewise.
1388 (tan_towardzero_test_data): Likewise.
1389 (tan_downward_test_data): Likewise.
1390 (tan_upward_test_data): Likewise.
1391 (tanh_test_data): Likewise.
1392 (tgamma_test_data): Likewise.
1393 (trunc_test_data): Likewise.
1394 (y0_test_data): Likewise.
1395 (y1_test_data): Likewise.
1396 (yn_test_data): Likewise.
1397 (significand_test_data): Likewise.
1398
b679a606
JM
1399 * math/gen-libm-test.pl (@functions): Remove variable.
1400 (generate_testfile): Don't handle START and END lines.
1401 * math/libm-test.inc (START): New macro.
1402 (END): Likewise.
1403 (END_COMPLEX): Likewise.
1404 (acos_test): Use END macro without arguments.
1405 (acos_test_tonearest): Likewise.
1406 (acos_test_towardzero): Likewise.
1407 (acos_test_downward): Likewise.
1408 (acos_test_upward): Likewise.
1409 (acosh_test): Likewise.
1410 (asin_test): Likewise.
1411 (asin_test_tonearest): Likewise.
1412 (asin_test_towardzero): Likewise.
1413 (asin_test_downward): Likewise.
1414 (asin_test_upward): Likewise.
1415 (asinh_test): Likewise.
1416 (atan_test): Likewise.
1417 (atanh_test): Likewise.
1418 (atan2_test): Likewise.
1419 (cabs_test): Likewise.
1420 (cacos_test): Use END_COMPLEX macro without arguments.
1421 (cacosh_test): Likewise.
1422 (carg_test): Use END macro without arguments.
1423 (casin_test): Use END_COMPLEX macro without arguments.
1424 (casinh_test): Likewise.
1425 (catan_test): Likewise.
1426 (catanh_test): Likewise.
1427 (cbrt_test): Use END macro without arguments.
1428 (ccos_test): Use END_COMPLEX macro without arguments.
1429 (ccosh_test): Likewise.
1430 (ceil_test): Use END macro without arguments.
1431 (cexp_test): Use END_COMPLEX macro without arguments.
1432 (cimag_test): Use END macro without arguments.
1433 (clog_test): Use END_COMPLEX macro without arguments.
1434 (clog10_test): Likewise.
1435 (conj_test): Likewise.
1436 (copysign_test): Use END macro without arguments.
1437 (cos_test): Likewise.
1438 (cos_test_tonearest): Likewise.
1439 (cos_test_towardzero): Likewise.
1440 (cos_test_downward): Likewise.
1441 (cos_test_upward): Likewise.
1442 (cosh_test): Likewise.
1443 (cosh_test_tonearest): Likewise.
1444 (cosh_test_towardzero): Likewise.
1445 (cosh_test_downward): Likewise.
1446 (cosh_test_upward): Likewise.
1447 (cpow_test): Use END_COMPLEX macro without arguments.
1448 (cproj_test): Likewise.
1449 (creal_test): Use END macro without arguments.
1450 (csin_test): Use END_COMPLEX macro without arguments.
1451 (csinh_test): Likewise.
1452 (csqrt_test): Likewise.
1453 (ctan_test): Likewise.
1454 (ctan_test_tonearest): Likewise.
1455 (ctan_test_towardzero): Likewise.
1456 (ctan_test_downward): Likewise.
1457 (ctan_test_upward): Likewise.
1458 (ctanh_test): Likewise.
1459 (ctanh_test_tonearest): Likewise.
1460 (ctanh_test_towardzero): Likewise.
1461 (ctanh_test_downward): Likewise.
1462 (ctanh_test_upward): Likewise.
1463 (erf_test): Use END macro without arguments.
1464 (erfc_test): Likewise.
1465 (exp_test): Likewise.
1466 (exp_test_tonearest): Likewise.
1467 (exp_test_towardzero): Likewise.
1468 (exp_test_downward): Likewise.
1469 (exp_test_upward): Likewise.
1470 (exp10_test): Likewise.
1471 (exp2_test): Likewise.
1472 (expm1_test): Likewise.
1473 (fabs_test): Likewise.
1474 (fdim_test): Likewise.
1475 (finite_test): Likewise.
1476 (floor_test): Likewise.
1477 (fma_test): Likewise.
1478 (fma_test_towardzero): Likewise.
1479 (fma_test_downward): Likewise.
1480 (fma_test_upward): Likewise.
1481 (fmax_test): Likewise.
1482 (fmin_test): Likewise.
1483 (fmod_test): Likewise.
1484 (fpclassify_test): Likewise.
1485 (frexp_test): Likewise.
1486 (gamma_test): Likewise.
1487 (hypot_test): Likewise.
1488 (ilogb_test): Likewise.
1489 (isfinite_test): Likewise.
1490 (isgreater_test): Likewise.
1491 (isgreaterequal_test): Likewise.
1492 (isinf_test): Likewise.
1493 (isless_test): Likewise.
1494 (islessequal_test): Likewise.
1495 (islessgreater_test): Likewise.
1496 (isnan_test): Likewise.
1497 (isnormal_test): Likewise.
1498 (issignaling_test): Likewise.
1499 (isunordered_test): Likewise.
1500 (j0_test): Likewise.
1501 (j1_test): Likewise.
1502 (jn_test): Likewise.
1503 (ldexp_test): Likewise.
1504 (lgamma_test): Likewise.
1505 (lrint_test): Likewise.
1506 (lrint_test_tonearest): Likewise.
1507 (lrint_test_towardzero): Likewise.
1508 (lrint_test_downward): Likewise.
1509 (lrint_test_upward): Likewise.
1510 (llrint_test): Likewise.
1511 (llrint_test_tonearest): Likewise.
1512 (llrint_test_towardzero): Likewise.
1513 (llrint_test_downward): Likewise.
1514 (llrint_test_upward): Likewise.
1515 (log_test): Likewise.
1516 (log10_test): Likewise.
1517 (log1p_test): Likewise.
1518 (log2_test): Likewise.
1519 (logb_test): Likewise.
1520 (logb_test_downward): Likewise.
1521 (lround_test): Likewise.
1522 (llround_test): Likewise.
1523 (modf_test): Likewise.
1524 (nearbyint_test): Likewise.
1525 (nextafter_test): Likewise.
1526 (nexttoward_test): Likewise.
1527 (pow_test): Likewise.
1528 (pow_test_tonearest): Likewise.
1529 (pow_test_towardzero): Likewise.
1530 (pow_test_downward): Likewise.
1531 (pow_test_upward): Likewise.
1532 (remainder_test): Likewise.
1533 (remainder_test_tonearest): Likewise.
1534 (remainder_test_towardzero): Likewise.
1535 (remainder_test_downward): Likewise.
1536 (remainder_test_upward): Likewise.
1537 (remquo_test): Likewise.
1538 (rint_test): Likewise.
1539 (rint_test_tonearest): Likewise.
1540 (rint_test_towardzero): Likewise.
1541 (rint_test_downward): Likewise.
1542 (rint_test_upward): Likewise.
1543 (round_test): Likewise.
1544 (scalb_test): Likewise.
1545 (scalbn_test): Likewise.
1546 (scalbln_test): Likewise.
1547 (signbit_test): Likewise.
1548 (sin_test): Likewise.
1549 (sin_test_tonearest): Likewise.
1550 (sin_test_towardzero): Likewise.
1551 (sin_test_downward): Likewise.
1552 (sin_test_upward): Likewise.
1553 (sincos_test): Likewise.
1554 (sinh_test): Likewise.
1555 (sinh_test_tonearest): Likewise.
1556 (sinh_test_towardzero): Likewise.
1557 (sinh_test_downward): Likewise.
1558 (sinh_test_upward): Likewise.
1559 (sqrt_test): Likewise.
1560 (tan_test): Likewise.
1561 (tan_test_tonearest): Likewise.
1562 (tan_test_towardzero): Likewise.
1563 (tan_test_downward): Likewise.
1564 (tan_test_upward): Likewise.
1565 (tanh_test): Likewise.
1566 (tgamma_test): Likewise.
1567 (trunc_test): Likewise.
1568 (y0_test): Likewise.
1569 (y1_test): Likewise.
1570 (yn_test): Likewise.
1571 (significand_test): Likewise.
1572
bae143d2
OB
15732013-05-24 Ondřej Bílka <neleai@seznam.cz>
1574
1575 [BZ #15381]
1576 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1577
9323d39b
EM
15782013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1579
d4ea44a0 1580 [BZ #14894]
9323d39b
EM
1581 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1582 __ppc_mdoio and __ppc_mdoom.
1583 * manual/platform.texi: Document new functions __ppc_yield,
1584 __ppc_mdoio and __ppc_mdoom.
1585
13e23af7
CD
15862013-05-22 Carlos O'Donell <carlos@redhat.com>
1587
1588 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1589 (main): Mention "tls" pseudo-hwcap is legacy.
1590 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1591
351fe550
JM
15922013-05-22 Joseph Myers <joseph@codesourcery.com>
1593
1594 * math/gen-libm-test.pl (parse_args): Output only string of
1595 arguments as text for test name, not full call or descriptions of
1596 tests for extra outputs.
1597 (generate_testfile): Do not pass function name to parse_args.
1598 Generate this_func variable from START.
1599 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1600 field to arg_str.
1601 (struct test_ff_f_data): Likewise.
1602 (test_ff_f_data_nexttoward): Likewise.
1603 (struct test_fi_f_data): Likewise.
1604 (struct test_fl_f_data): Likewise.
1605 (struct test_if_f_data): Likewise.
1606 (struct test_fff_f_data): Likewise.
1607 (struct test_c_f_data): Likewise.
1608 (struct test_f_f1_data): Likewise. Remove field extra_name.
1609 (struct test_fF_f1_data): Likewise.
1610 (struct test_ffI_f1_data): Likewise.
1611 (struct test_c_c_data): Rename test_name field to arg_str.
1612 (struct test_cc_c_data): Likewise.
1613 (struct test_f_i_data): Likewise.
1614 (struct test_ff_i_data): Likewise.
1615 (struct test_f_l_data): Likewise.
1616 (struct test_f_L_data): Likewise.
1617 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1618 and extra2_name.
1619 (COMMON_TEST_SETUP): New macro.
1620 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1621 (COMMON_TEST_CLEANUP): Likewise.
1622 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1623 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1624 macros.
1625 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1626 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1627 macros.
1628 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1629 (RUN_TEST_fff_f): Take argument string. Call new setup and
1630 cleanup macros.
1631 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1632 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1633 macros.
1634 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1635 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1636 macros.
1637 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1638 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1639 cleanup macros.
1640 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1641 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1642 cleanup macros.
1643 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1644 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1645 cleanup macros.
1646 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1647 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1648 macros.
1649 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1650 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1651 macros.
1652 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1653 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1654 macros.
1655 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1656 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1657 cleanup macros.
1658 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1659 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1660 cleanup macros.
1661 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1662 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1663 macros.
1664 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1665 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1666 cleanup macros.
1667 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1668 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1669 macros.
1670 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1671 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1672 macros.
1673 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1674 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1675 cleanup macros.
1676 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1677
85118d4d
EBM
16782013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1679
1680 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1681 to _sifields.sigfault.
1682 (si_addr_lsb): Define new macro.
1683 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1684 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1685 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1686
7a44c18f
CD
16872013-05-03 Carlos O'Donell <carlos at redhat.com>
1688
1689 [BZ #15441]
1690 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1691 returns -1.
1692 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1693 null return -1.
1694 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1695 loading the domain.
1696
b50a7181
JM
16972013-05-22 Joseph Myers <joseph@codesourcery.com>
1698
1699 * math/gen-libm-test.pl (parse_args): Do not include expected
1700 result in test name.
1701 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1702 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1703 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1704 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1705 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1706 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1707
051063c8
SP
17082013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1709
3ce9e010
SP
1710 * benchtests/Makefile: Sort function entries.
1711
051063c8
SP
1712 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1713 tanh, asinh, acosh, atanh.
1714 * benchtests/acos-inputs: New file.
1715 * benchtests/acosh-inputs: New file.
1716 * benchtests/asin-inputs: New file.
1717 * benchtests/asinh-inputs: New file.
1718 * benchtests/atanh-inputs: New file.
1719 * benchtests/cosh-inputs: New file.
1720 * benchtests/log-inputs: New file.
1721 * benchtests/sinh-inputs: New file.
1722 * benchtests/tanh-inputs: New file.
1723
47c22455
DL
17242013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1725
1726 [BZ #15339]
1727 * posix/tst-getaddrinfo4.c: New test.
1728 * posix/Makefile (tests): Add it.
1729
3d04f5db
SP
17302013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1731
1732 [BZ #15339]
1733 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1734 when no services were used.
1735 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1736 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1737
d5dd6189
AS
17382013-05-21 Andreas Schwab <schwab@suse.de>
1739
1740 [BZ #15014]
1741 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1742 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1743 successful.
1744 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1745 redundant variable declarations and reallocation of buffer when
1746 parsing as IPv6 address. Always set NSS status when called from
1747 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1748 buffer too small. Correct computation of needed size.
1749 * nss/Makefile (tests): Add test-digits-dots.
1750 * nss/test-digits-dots.c: New test.
1751
fef94eab
SP
17522013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1753
1754 * benchtests/Makefile: Remove instructions for adding
1755 benchmark tests.
1756 * benchtests/README: New file to explain how to execute and
1757 enhance the benchmark tests.
1758
e39adf43
AS
17592013-05-21 Andreas Schwab <schwab@suse.de>
1760
1761 [BZ #15493]
1762 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1763 * setjmp/tst-sigsetjmp.c: New test.
1764
b2b671b6
OB
17652013-05-20 Ondřej Bílka <neleai@seznam.cz>
1766
1767 * sysdeps/x86_64/memset.S (memset): New implementation.
1768 (__bzero): Likewise.
1769 (__memset_tail): New function.
1770
2d48b41c
OB
17712013-05-20 Ondřej Bílka <neleai@seznam.cz>
1772
1773 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1774 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1775 __memcpy_sse2_unaligned ifunc selection.
1776 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1777 Add memcpy-sse2-unaligned.S.
1778 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1779 Add: __memcpy_sse2_unaligned.
1780
f16cc3eb
JM
17812013-05-19 Joseph Myers <joseph@codesourcery.com>
1782
3e694268
JM
1783 [BZ #15490]
1784 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1785 math_force_eval before restoring floating-point envrionment.
1786 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1787 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1788 Likewise.
1789 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1790 <math_private.h>.
1791 (__nearbyintl): Use math_force_eval before restoring
1792 floating-point environment.
1793 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1794
db62a907
JM
1795 * math/gen-libm-test.pl (special_functions): Remove.
1796 (parse_args): Don't handle TEST_extra. Handle functions with no
1797 return value.
1798 * math/libm-test.inc (struct test_sincos_data): Replace with
1799 struct test_fFF_11_data.
1800 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1801 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1802 (sincos_test_data): Change element type to struct
1803 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1804 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1805 RUN_TEST_LOOP_sincos.
1806 * math/README.libm-test: Don't mention special handling of
1807 individual functions.
1808 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1809 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1810 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1811 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1812 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1814
f16cc3eb
JM
1815 * math/gen-libm-test.pl (get_variable): Remove function.
1816 (parse_args): Don't show pointer parameters to call in test
1817 names. Use "extra output N" in test names for extra outputs
1818 rather than naming variables.
1819
3779b5b6
JM
18202013-05-18 Joseph Myers <joseph@codesourcery.com>
1821
2ee094ff
JM
1822 [BZ #15488]
1823 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1824 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1825 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1826 double tests.
1827 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1828 disable.
1829 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1830 check_long_double.
1831
3779b5b6
JM
1832 * math/gen-libm-test.pl (@tests): Remove variable.
1833 ($count): Likewise.
1834 (new_test): Remove function.
1835 (show_exceptions): New function.
1836 (special_functions): Use show_exceptions instead of new_test.
1837 (parse_args): Likewise.
1838 (generate_testfile): Pass only function name in generated call to
1839 print_max_error or print_complex_max_error.
1840 (get_ulps): Do not handle complex tests specially.
1841 (output_test): Rename to ...
1842 (get_all_ulps_for_test): ... this. Return a string rather than
1843 printing to a file. Require ulps to be present.
1844 (output_ulps): Generate arrays rather than #defines.
1845 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1846 (struct ulp_data): New type.
1847 (BUILD_COMPLEX_ULP): Remove macro.
1848 (compare_ulp_data): New function.
1849 (find_ulps): Likewise.
1850 (find_test_ulps): Likewise.
1851 (find_function_ulps): Likewise.
1852 (find_complex_function_ulps): Likewise.
1853 (print_max_error): Determine allowed ulps using
1854 find_function_ulps.
1855 (print_complex_max_error): Determine allowed ulps using
1856 find_complex_function_ulps.
1857 (check_float_internal): Determine max ulps using find_test_ulps.
1858 (check_float): Do not take max_ulp parameter. Update call to
1859 check_float_internal.
1860 (check_complex): Likewise.
1861 (check_int): Do not take max_ulp parameter.
1862 (check_long): Likewise.
1863 (check_bool): Likewise.
1864 (check_longlong): Likewise.
1865 (struct test_f_f_data): Remove max_ulp field.
1866 (struct test_ff_f_data): Likewise.
1867 (struct test_ff_f_data_nexttoward): Likewise.
1868 (struct test_fi_f_data): Likewise.
1869 (struct test_fl_f_data): Likewise.
1870 (struct test_if_f_data): Likewise.
1871 (struct test_fff_f_data): Likewise.
1872 (struct test_c_f_data): Likewise.
1873 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1874 (struct test_fF_f1_data): Likewise.
1875 (struct test_ffI_f1_data): Likewise.
1876 (struct test_c_c_data): Remove max_ulp field.
1877 (struct test_cc_c_data): Likewise.
1878 (struct test_f_i_data): Likewise.
1879 (struct test_ff_i_data): Likewise.
1880 (struct test_f_l_data): Likewise.
1881 (struct test_f_L_data): Likewise.
1882 (struct test_sincos_data): Likewise.
1883 (RUN_TEST_f_f): Do not handle ulps.
1884 (RUN_TEST_LOOP_f_f): Likewise.
1885 (RUN_TEST_2_f): Likewise.
1886 (RUN_TEST_LOOP_2_f): Likewise.
1887 (RUN_TEST_fff_f): Likewise.
1888 (RUN_TEST_LOOP_fff_f): Likewise.
1889 (RUN_TEST_c_f): Likewise.
1890 (RUN_TEST_LOOP_c_f): Likewise.
1891 (RUN_TEST_f_f1): Likewise.
1892 (RUN_TEST_LOOP_f_f1): Likewise.
1893 (RUN_TEST_fF_f1): Likewise.
1894 (RUN_TEST_LOOP_fF_f1): Likewise.
1895 (RUN_TEST_fI_f1): Likewise.
1896 (RUN_TEST_LOOP_fI_f1): Likewise.
1897 (RUN_TEST_ffI_f1): Likewise.
1898 (RUN_TEST_LOOP_ffI_f1): Likewise.
1899 (RUN_TEST_c_c): Likewise.
1900 (RUN_TEST_LOOP_c_c): Likewise.
1901 (RUN_TEST_cc_c): Likewise.
1902 (RUN_TEST_LOOP_cc_c): Likewise.
1903 (RUN_TEST_f_i): Likewise.
1904 (RUN_TEST_LOOP_f_i): Likewise.
1905 (RUN_TEST_f_i_tg): Likewise.
1906 (RUN_TEST_LOOP_f_i_tg): Likewise.
1907 (RUN_TEST_ff_i_tg): Likewise.
1908 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1909 (RUN_TEST_f_b): Likewise.
1910 (RUN_TEST_LOOP_f_b): Likewise.
1911 (RUN_TEST_f_b_tg): Likewise.
1912 (RUN_TEST_LOOP_f_b_tg): Likewise.
1913 (RUN_TEST_f_l): Likewise.
1914 (RUN_TEST_LOOP_f_l): Likewise.
1915 (RUN_TEST_f_L): Likewise.
1916 (RUN_TEST_LOOP_f_L): Likewise.
1917 (RUN_TEST_sincos): Likewise.
1918 (RUN_TEST_LOOP_sincos): Likewise.
1919
8269107f
JM
19202013-05-17 Joseph Myers <joseph@codesourcery.com>
1921
bb38759d
JM
1922 [BZ #15480]
1923 [BZ #15485]
1924 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1925 main case of finite arguments, set rounding mode to FE_TONEAREST
1926 and discard exceptions.
1927 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1928 exceptions.
1929 (remainder_tonearest_test_data): New variable.
1930 (remainder_test_tonearest): New function.
1931 (remainder_towardzero_test_data): New variable.
1932 (remainder_test_towardzero): New function.
1933 (remainder_downward_test_data): New variable.
1934 (remainder_test_downward): New function.
1935 (remainder_upward_test_data): New variable.
1936 (remainder_test_upward): New function.
1937 (main): Call the new test functions.
1938
a00bdcf0
JM
1939 * math/libm-test.inc (struct test_f_f1_data): Remove field
1940 extra_init.
1941 (struct test_fF_f1_data): Likewise.
1942 (struct test_ffI_f1_data): Likewise.
1943 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1944 based on value of EXTRA_EXPECTED.
1945 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1946 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1947 EXTRA_VAR based on value of EXTRA_EXPECTED.
1948 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1949 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1950 EXTRA_VAR based on value of EXTRA_EXPECTED.
1951 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1952 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
1953 EXTRA_VAR based on value of EXTRA_EXPECTED.
1954 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1955 * math/gen-libm-test.pl (parse_args): Don't output initializers
1956 for extra output values.
1957
de407f79
JM
1958 * math/libm-test.inc (check_int): Expect result to be exactly
1959 equal to expected value and do not handle ulps.
1960 (check_long): Likewise.
1961 (check_longlong): Likewise.
1962
8269107f
JM
1963 * math/libm-test.inc (ceil_test_data): Test for "inexact"
1964 exceptions.
1965 (cimag_test_data): Likewise.
1966 (conj_test_data): Likewise.
1967 (copysign_test_data): Likewise.
1968 (cproj_test_data): Likewise.
1969 (creal_test_data): Likewise.
1970 (fabs_test_data): Likewise.
1971 (fdim_test_data): Likewise.
1972 (finite_test_data): Likewise.
1973 (floor_test_data): Likewise.
1974 (fmax_test_data): Likewise.
1975 (fmin_test_data): Likewise.
1976 (fmod_test_data): Likewise.
1977 (fpclassify_test_data): Likewise.
1978 (frexp_test_data): Likewise.
1979 (ilogb_test_data): Likewise.
1980 (isfinite_test_data): Likewise.
1981 (isgreater_test_data): Likewise.
1982 (isgreaterequal_test_data): Likewise.
1983 (isinf_test_data): Likewise.
1984 (isless_test_data): Likewise.
1985 (islessequal_test_data): Likewise.
1986 (islessgreater_test_data): Likewise.
1987 (isnan_test_data): Likewise.
1988 (isnormal_test_data): Likewise.
1989 (issignaling_test_data): Likewise.
1990 (isunordered_test_data): Likewise.
1991 (ldexp_test_data): Likewise.
1992 (lrint_test_data): Likewise.
1993 (lrint_test_data) [TEST_FLOAT]: Disable one test.
1994 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1995 (lrint_tonearest_test_data): Test for "inexact" exceptions.
1996 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1997 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1998 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1999 test input.
2000 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2001 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2002 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2003 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2004 that test input.
2005 (lrint_downward_test_data): Test for "inexact" exceptions.
2006 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2007 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2008 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2009 test input.
2010 (lrint_upward_test_data): Test for "inexact" exceptions.
2011 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2012 test input.
2013 (llrint_test_data): Test for "inexact" exceptions.
2014 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2015 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2016 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2017 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2018 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2019 (llrint_downward_test_data): Test for "inexact" exceptions.
2020 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2021 (llrint_upward_test_data): Test for "inexact" exceptions.
2022 (logb_test_data): Likewise.
2023 (logb_downward_test_data): Likewise.
2024 (nextafter_test_data): Likewise.
2025 (nexttoward_test_data): Likewise.
2026 (remainder_test_data): Likewise.
2027 (remquo_test_data): Likewise.
2028 (scalbn_test_data): Likewise.
2029 (scalbln_test_data): Likewise.
2030 (signbit_test_data): Likewise.
2031 (sqrt_test_data): Likewise.
2032 (significand_test_data): Likewise.
2033
48a18de1
SP
20342013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2035
2036 [BZ #15424]
2037 * benchtests/bench-modf.c (struct args): Mark arg0 as
2038 volatile.
2039 * scripts/bench.pl: Mark members of struct args as volatile.
2040
13d3b41a
AZ
20412013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2042
68191c1d 2043 [BZ # 15497]
13d3b41a
AZ
2044 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2045 negative infinity on POWER6 or lower.
2046 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2047
2848b105
MR
20482013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2049
2050 [BZ #15442]
2051 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2052 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2053 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2054 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2055 (_FP_SETQNAN): New macro.
2056 (_FP_SETQNAN_SEMIRAW): Likewise.
2057 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2058 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2059 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2060 (FP_EXTEND): Use _FP_FRAC_SNANP.
2061 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2062 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2063 into account.
2064 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2065 New macro.
2066 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2067 Likewise.
2068
323e5cb7
JM
20692013-05-16 Joseph Myers <joseph@codesourcery.com>
2070
c58b274f
JM
2071 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2072 with DIVIDE_BY_ZERO_EXCEPTION.
2073 (gamma_test_data): Likewise.
2074 (lgamma_test_data): Likewise.
2075 (log_test_data): Likewise.
2076 (log10_test_data): Likewise.
2077 (log2_test_data): Likewise.
2078 (tgamma_test_data): Likewise.
2079
0ab34904
JM
2080 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2081 (acos_test_tonearest): Likewise.
2082 (acos_test_towardzero): Likewise.
2083 (acos_test_downward): Likewise.
2084 (acos_test_upward): Likewise.
2085 (acosh_test): Likewise.
2086 (asin_test): Likewise.
2087 (asin_test_tonearest): Likewise.
2088 (asin_test_towardzero): Likewise.
2089 (asin_test_downward): Likewise.
2090 (asin_test_upward): Likewise.
2091 (asinh_test): Likewise.
2092 (atan_test): Likewise.
2093 (atanh_test): Likewise.
2094 (atan2_test): Likewise.
2095 (cabs_test): Likewise.
2096 (cacos_test): Likewise.
2097 (cacosh_test): Likewise.
2098 (casin_test): Likewise.
2099 (casinh_test): Likewise.
2100 (catan_test): Likewise.
2101 (catanh_test): Likewise.
2102 (cbrt_test): Likewise.
2103 (ccos_test): Likewise.
2104 (ccosh_test): Likewise.
2105 (cexp_test): Likewise.
2106 (clog_test): Likewise.
2107 (clog10_test): Likewise.
2108 (cos_test): Likewise.
2109 (cos_test_tonearest): Likewise.
2110 (cos_test_towardzero): Likewise.
2111 (cos_test_downward): Likewise.
2112 (cos_test_upward): Likewise.
2113 (cosh_test): Likewise.
2114 (cosh_test_tonearest): Likewise.
2115 (cosh_test_towardzero): Likewise.
2116 (cosh_test_downward): Likewise.
2117 (cosh_test_upward): Likewise.
2118 (cpow_test): Likewise.
2119 (csin_test): Likewise.
2120 (csinh_test): Likewise.
2121 (csqrt_test): Likewise.
2122 (ctan_test): Likewise.
2123 (ctan_test_tonearest): Likewise.
2124 (ctan_test_towardzero): Likewise.
2125 (ctan_test_downward): Likewise.
2126 (ctan_test_upward): Likewise.
2127 (ctanh_test): Likewise.
2128 (ctanh_test_tonearest): Likewise.
2129 (ctanh_test_towardzero): Likewise.
2130 (ctanh_test_downward): Likewise.
2131 (ctanh_test_upward): Likewise.
2132 (erf_test): Likewise.
2133 (erfc_test): Likewise.
2134 (exp_test): Likewise.
2135 (exp_test_tonearest): Likewise.
2136 (exp_test_towardzero): Likewise.
2137 (exp_test_downward): Likewise.
2138 (exp_test_upward): Likewise.
2139 (exp10_test): Likewise.
2140 (exp2_test): Likewise.
2141 (expm1_test): Likewise.
2142 (fmod_test): Likewise.
2143 (gamma_test): Likewise.
2144 (hypot_test): Likewise.
2145 (j0_test): Likewise.
2146 (j1_test): Likewise.
2147 (jn_test): Likewise.
2148 (lgamma_test): Likewise.
2149 (log_test): Likewise.
2150 (log10_test): Likewise.
2151 (log1p_test): Likewise.
2152 (log2_test): Likewise.
2153 (logb_test_downward): Likewise.
2154 (pow_test): Likewise.
2155 (pow_test_tonearest): Likewise.
2156 (pow_test_towardzero): Likewise.
2157 (pow_test_downward): Likewise.
2158 (pow_test_upward): Likewise.
2159 (remainder_test): Likewise.
2160 (remquo_test): Likewise.
2161 (sin_test): Likewise.
2162 (sin_test_tonearest): Likewise.
2163 (sin_test_towardzero): Likewise.
2164 (sin_test_downward): Likewise.
2165 (sin_test_upward): Likewise.
2166 (sincos_test): Likewise.
2167 (sinh_test): Likewise.
2168 (sinh_test_tonearest): Likewise.
2169 (sinh_test_towardzero): Likewise.
2170 (sinh_test_downward): Likewise.
2171 (sinh_test_upward): Likewise.
2172 (sqrt_test): Likewise.
2173 (tan_test): Likewise.
2174 (tan_test_tonearest): Likewise.
2175 (tan_test_towardzero): Likewise.
2176 (tan_test_downward): Likewise.
2177 (tan_test_upward): Likewise.
2178 (tanh_test): Likewise.
2179 (tgamma_test): Likewise.
2180 (y0_test): Likewise.
2181 (y1_test): Likewise.
2182 (yn_test): Likewise.
2183
323e5cb7
JM
2184 * math/gen-libm-test.pl (adjust_arg): Remove function.
2185 (special_function): Remove argument $in_func. Only handle
2186 generating output for tables of tests, not inside functions.
2187 (parse_args): Likewise.
2188 (generate_testfile): Remove variable $in_func. Update call to
2189 parse_args.
2190 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2191 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2192 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2193 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2194 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2195 (MAX_VALUE_INIT): Rename macro to max_value.
2196 (MIN_VALUE_INIT): Rename macro to min_value.
2197 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2198 (plus_zero): Remove variable.
2199 (minus_zero): Likewise.
2200 (plus_infty): Likewise.
2201 (minus_infty): Likewise.
2202 (qnan_value): Likewise.
2203 (max_value): Likewise.
2204 (min_value): Likewise.
2205 (min_subnorm_value): Likewise.
2206
e054f494
RA
22072013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2208
2209 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2210 uint64_t or uint32_t usage.
2211 * crypt/sha256-block.c: Likewise.
2212 * crypt/sha256-crypt.c: Likewise.
2213 * crypt/sha256.c: Likewise.
2214 * crypt/sha512-block.c: Likewise.
2215 * crypt/sha512-crypt.c: Likewise.
2216 * crypt/sha512.c: Likewise.
2217 * debug/backtrace-tst.c: Likewise.
2218 * debug/pcprofiledump.c: Likewise.
2219 * elf/cache.c: Likewise.
2220 * elf/dl-cache.c: Likewise.
2221 * elf/dl-misc.c: Likewise.
2222 * elf/dl-profile.c: Likewise.
2223 * elf/dl-support.c: Likewise.
2224 * elf/ldconfig.c: Likewise.
2225 * elf/sprof.c: Likewise.
2226 * iconv/dummy-repertoire.c: Likewise.
2227 * iconv/iconv_charmap.c: Likewise.
2228 * iconv/skeleton.c: Likewise.
2229 * iconvdata/8bit-generic.c: Likewise.
2230 * iconvdata/cp737.h: Likewise.
2231 * iconvdata/cp775.h: Likewise.
2232 * iconvdata/ibm1008.h: Likewise.
2233 * iconvdata/ibm1025.h: Likewise.
2234 * iconvdata/ibm1046.h: Likewise.
2235 * iconvdata/ibm1097.h: Likewise.
2236 * iconvdata/ibm1112.h: Likewise.
2237 * iconvdata/ibm1122.h: Likewise.
2238 * iconvdata/ibm1123.h: Likewise.
2239 * iconvdata/ibm1124.h: Likewise.
2240 * iconvdata/ibm1129.h: Likewise.
2241 * iconvdata/ibm1130.h: Likewise.
2242 * iconvdata/ibm1132.h: Likewise.
2243 * iconvdata/ibm1133.h: Likewise.
2244 * iconvdata/ibm1137.h: Likewise.
2245 * iconvdata/ibm1140.h: Likewise.
2246 * iconvdata/ibm1141.h: Likewise.
2247 * iconvdata/ibm1142.h: Likewise.
2248 * iconvdata/ibm1143.h: Likewise.
2249 * iconvdata/ibm1144.h: Likewise.
2250 * iconvdata/ibm1145.h: Likewise.
2251 * iconvdata/ibm1146.h: Likewise.
2252 * iconvdata/ibm1147.h: Likewise.
2253 * iconvdata/ibm1148.h: Likewise.
2254 * iconvdata/ibm1149.h: Likewise.
2255 * iconvdata/ibm1153.h: Likewise.
2256 * iconvdata/ibm1154.h: Likewise.
2257 * iconvdata/ibm1155.h: Likewise.
2258 * iconvdata/ibm1156.h: Likewise.
2259 * iconvdata/ibm1157.h: Likewise.
2260 * iconvdata/ibm1158.h: Likewise.
2261 * iconvdata/ibm1160.h: Likewise.
2262 * iconvdata/ibm1161.h: Likewise.
2263 * iconvdata/ibm1162.h: Likewise.
2264 * iconvdata/ibm1163.h: Likewise.
2265 * iconvdata/ibm1164.h: Likewise.
2266 * iconvdata/ibm1166.h: Likewise.
2267 * iconvdata/ibm1167.h: Likewise.
2268 * iconvdata/ibm12712.h: Likewise.
2269 * iconvdata/ibm1390.h: Likewise.
2270 * iconvdata/ibm1399.h: Likewise.
2271 * iconvdata/ibm16804.h: Likewise.
2272 * iconvdata/ibm4517.h: Likewise.
2273 * iconvdata/ibm4899.h: Likewise.
2274 * iconvdata/ibm4909.h: Likewise.
2275 * iconvdata/ibm4971.h: Likewise.
2276 * iconvdata/ibm5347.h: Likewise.
2277 * iconvdata/ibm803.h: Likewise.
2278 * iconvdata/ibm856.h: Likewise.
2279 * iconvdata/ibm901.h: Likewise.
2280 * iconvdata/ibm902.h: Likewise.
2281 * iconvdata/ibm9030.h: Likewise.
2282 * iconvdata/ibm9066.h: Likewise.
2283 * iconvdata/ibm921.h: Likewise.
2284 * iconvdata/ibm922.h: Likewise.
2285 * iconvdata/ibm9448.h: Likewise.
2286 * iconvdata/isiri-3342.h: Likewise.
2287 * iconvdata/jis0201.h: Likewise.
2288 * include/link.h: Likewise.
2289 * include/netdb.h: Likewise.
2290 * inet/check_native.c: Likewise.
2291 * inet/check_pf.c: Likewise.
2292 * inet/getipv4sourcefilter.c: Likewise.
2293 * inet/getnameinfo.c: Likewise.
2294 * inet/getsourcefilter.c: Likewise.
2295 * inet/htonl.c: Likewise.
2296 * inet/setipv4sourcefilter.c: Likewise.
2297 * inet/setsourcefilter.c: Likewise.
2298 * inet/test-inet6_opt.c: Likewise.
2299 * inet/tst-network.c: Likewise.
2300 * locale/C-collate.c: Likewise.
2301 * locale/C-ctype.c: Likewise.
2302 * locale/C-time.c: Likewise.
2303 * locale/C-translit.h: Likewise.
2304 * locale/loadarchive.c: Likewise.
2305 * locale/programs/3level.h: Likewise.
2306 * locale/programs/charmap.c: Likewise.
2307 * locale/programs/charmap.h: Likewise.
2308 * locale/programs/ld-address.c: Likewise.
2309 * locale/programs/ld-collate.c: Likewise.
2310 * locale/programs/ld-ctype.c: Likewise.
2311 * locale/programs/ld-identification.c: Likewise.
2312 * locale/programs/ld-measurement.c: Likewise.
2313 * locale/programs/ld-messages.c: Likewise.
2314 * locale/programs/ld-monetary.c: Likewise.
2315 * locale/programs/ld-name.c: Likewise.
2316 * locale/programs/ld-numeric.c: Likewise.
2317 * locale/programs/ld-paper.c: Likewise.
2318 * locale/programs/ld-telephone.c: Likewise.
2319 * locale/programs/ld-time.c: Likewise.
2320 * locale/programs/linereader.c: Likewise.
2321 * locale/programs/locale.c: Likewise.
2322 * locale/programs/locarchive.c: Likewise.
2323 * locale/programs/locfile.h: Likewise.
2324 * locale/programs/repertoire.c: Likewise.
2325 * locale/programs/simple-hash.c: Likewise.
2326 * locale/programs/simple-hash.h: Likewise.
2327 * malloc/memusage.c: Likewise.
2328 * malloc/memusagestat.c: Likewise.
2329 * nis/nis_defaults.c: Likewise.
2330 * nis/nis_hash.c: Likewise.
2331 * nis/nis_print.c: Likewise.
2332 * nis/nis_xdr.c: Likewise.
2333 * nscd/connections.c: Likewise.
2334 * nscd/hstcache.c: Likewise.
2335 * nscd/nscd_gethst_r.c: Likewise.
2336 * nscd/nscd_getserv_r.c: Likewise.
2337 * nscd/nscd_helper.c: Likewise.
2338 * nscd/servicescache.c: Likewise.
2339 * nss/makedb.c: Likewise.
2340 * nss/nss_db/db-XXX.c: Likewise.
2341 * nss/nss_db/db-initgroups.c: Likewise.
2342 * nss/nss_db/db-netgrp.c: Likewise.
2343 * nss/nss_files/files-network.c: Likewise.
2344 * nss/nss_files/files-parse.c: Likewise.
2345 * posix/bug-regex5.c: Likewise.
2346 * posix/fnmatch_loop.c: Likewise.
2347 * posix/regcomp.c: Likewise.
2348 * posix/regexec.c: Likewise.
2349 * posix/tst-rfc3484-2.c: Likewise.
2350 * posix/tst-rfc3484-3.c: Likewise.
2351 * posix/tst-rfc3484.c: Likewise.
2352 * resolv/nss_dns/dns-canon.c: Likewise.
2353 * resolv/nss_dns/dns-network.c: Likewise.
2354 * resolv/res_init.c: Likewise.
2355 * resolv/res_mkquery.c: Likewise.
2356 * resolv/tst-aton.c: Likewise.
2357 * stdlib/cxa_atexit.c: Likewise.
2358 * stdlib/cxa_finalize.c: Likewise.
2359 * stdlib/gen-fpioconst.c: Likewise.
2360 * stdlib/strtol_l.c: Likewise.
2361 * string/tst-endian.c: Likewise.
2362 * sunrpc/auth_des.c: Likewise.
2363 * sunrpc/clnt_udp.c: Likewise.
2364 * sunrpc/rtime.c: Likewise.
2365 * sunrpc/svcauth_des.c: Likewise.
2366 * sunrpc/xdr.c: Likewise.
2367 * sunrpc/xdr_intXX_t.c: Likewise.
2368 * sunrpc/xdr_rec.c: Likewise.
2369 * sysdeps/generic/ldconfig.h: Likewise.
2370 * sysdeps/generic/ldsodefs.h: Likewise.
2371 * sysdeps/generic/memusage.h: Likewise.
2372 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2373 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2374 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2375 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2376 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2377 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2378 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2379 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2380 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2381 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2382 * sysdeps/posix/getaddrinfo.c: Likewise.
2383 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2384 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2385 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2386 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2387 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2388 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2389 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2390 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2391 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2392 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2393 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2394 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2395 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2396 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2397 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2398 * sysdeps/x86_64/dl-tls.h: Likewise.
2399 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2400 * time/alt_digit.c: Likewise.
2401 * time/era.c: Likewise.
2402 * wcsmbs/tst-c16c32-1.c: Likewise.
2403
8c75f674
JM
24042013-05-16 Joseph Myers <joseph@codesourcery.com>
2405
2406 * math/libm-test.inc (struct test_sincos_data): New type.
2407 (RUN_TEST_LOOP_sincos): New macro.
2408 (sincos_test_data): New variable.
2409 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2410
e6e49e59
RH
24112013-05-16 Richard Henderson <rth@redhat.com>
2412
2413 * math/atest-exp2.c (LIMB64): New macro.
2414 (CONSTSZ): New macro.
2415 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2416 (hexdig): Move ...
2417 (print_mpn_fp): ... to function scope.
2418 (read_mpn_hex): Remove.
2419 (get_log2): Remove.
2420 (exp2_mpn): Use mp_log2.
2421 (main): Use mp_exp1.
2422
15c7c18d
JM
24232013-05-16 Joseph Myers <joseph@codesourcery.com>
2424
105a07df
JM
2425 * math/libm-test.inc: Remove comment about not testing "inexact"
2426 exceptions.
2427 (INEXACT_EXCEPTION): New macro.
2428 (NO_INEXACT_EXCEPTION): Likewise.
2429 (INVALID_EXCEPTION_OK): Update value.
2430 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2431 (OVERFLOW_EXCEPTION_OK): Likewise.
2432 (UNDERFLOW_EXCEPTION_OK): Likewise.
2433 (IGNORE_ZERO_INF_SIGN): Likewise.
2434 (ERRNO_UNCHANGED): Likewise.
2435 (ERRNO_EDOM): Likewise.
2436 (ERRNO_ERANGE): Likewise.
2437 (test_exceptions): Handle testing "inexact" exceptions.
2438 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2439 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2440 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2441 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2442 INEXACT_EXCEPTION.
2443 (rint_towardzero_test_data): Likewise.
2444 (rint_downward_test_data): Likewise.
2445 (rint_upward_test_data): Likewise.
2446
e9eee333
JM
2447 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2448 with OVERFLOW_EXCEPTION.
2449 (exp10_test_data): Likewise.
2450 (exp2_test_data): Likewise.
2451 (expm1_test_data): Likewise.
2452 (lgamma_test_data): Likewise.
2453 (pow_test_data): Likewise.
2454 (tgamma_test_data): Likewise.
2455 (yn_test_data): Remove duplicate test of overflow.
2456
1c38ff73
JM
2457 * math/libm-test.inc (struct test_cc_c_data): New type.
2458 (RUN_TEST_LOOP_cc_c): New macro.
2459 (cpow_test_data): New variable.
2460 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2461
15c7c18d
JM
2462 * math/libm-test.inc (struct test_f_L_data): New type.
2463 (RUN_TEST_LOOP_f_L): New macro.
2464 (llrint_test_data): New variable.
2465 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2466 (llrint_tonearest_test_data): New variable.
2467 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2468 (llrint_towardzero_test_data): New variable.
2469 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2470 (llrint_downward_test_data): New variable.
2471 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2472 (llrint_upward_test_data): New variable.
2473 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2474 (llround_test_data): New variable.
2475 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2476
f137ff13
PC
24772013-05-13 Peter Collingbourne <pcc@google.com>
2478
2479 * math/atest-exp2.c (get_log2): Remove const attribute.
2480
3608cb24
JM
24812013-05-15 Joseph Myers <joseph@codesourcery.com>
2482
2483 * math/libm-test.inc (struct test_f_l_data): New type.
2484 (RUN_TEST_LOOP_f_l): New macro.
2485 (lrint_test_data): New variable.
2486 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2487 (lrint_tonearest_test_data): New variable.
2488 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2489 (lrint_towardzero_test_data): New variable.
2490 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2491 (lrint_downward_test_data): New variable.
2492 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2493 (lrint_upward_test_data): New variable.
2494 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2495 (lround_test_data): New variable.
2496 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2497
39b1f617
PC
24982013-05-15 Peter Collingbourne <pcc@google.com>
2499
1deff3dc
PC
2500 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2501 (EXTRACT_WORDS64) Use where appropriate.
2502 (INSERT_WORDS64) Likewise.
2503
791f3ba0
PC
2504 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2505 constraints with x constraints.
2506 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2507
39b1f617
PC
2508 * malloc/obstack.c (_obstack_compat): Add initializer.
2509
12fba011
EM
25102013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2511
2512 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2513 si_trapno and add si_addr_lsb to _sifields.sigfault.
2514 (si_trapno): Remove macro.
2515 (si_addr_lsb): Define new macro.
2516 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2517
d369f531
JM
25182013-05-15 Joseph Myers <joseph@codesourcery.com>
2519
b861c6c4
JM
2520 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2521 instead of TEST_f_l.
2522 (llrint_test_tonearest): Likewise.
2523 (llrint_test_towardzero): Likewise.
2524 (llrint_test_downward): Likewise.
2525 (llrint_test_upward): Likewise.
2526 (llround_test): Likewise.
2527
7abeee12
JM
2528 * math/libm-test.inc (struct test_f_i_data): Add comment.
2529 (RUN_TEST_LOOP_f_b): New macro.
2530 (RUN_TEST_LOOP_f_b_tg): Likewise.
2531 (finite_test_data): New variable.
2532 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2533 (isfinite_test_data): New variable.
2534 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2535 (isinf_test_data): New variable.
2536 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2537 (isnan_test_data): New variable.
2538 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2539 (isnormal_test_data): New variable.
2540 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2541 (issignaling_test_data): New variable.
2542 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2543 (signbit_test_data): New variable.
2544 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2545
cbe8c4d3
JM
2546 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2547 with INVALID_EXCEPTION.
2548 (acosh_test_data): Likewise.
2549 (asin_test_data): Likewise.
2550 (atanh_test_data): Likewise.
2551 (fmod_test_data): Likewise.
2552 (log_test_data): Likewise.
2553 (log10_test_data): Likewise.
2554 (log2_test_data): Likewise.
2555 (pow_test_data): Likewise.
2556 (sqrt_test_data): Likewise.
2557 (y0_test_data): Likewise.
2558 (y1_test_data): Likewise.
2559 (yn_test_data): Likewise.
2560
5575c0e5
JM
2561 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2562 function contents.
2563
d369f531
JM
2564 * math/libm-test.inc (struct test_ff_i_data): New type.
2565 (RUN_TEST_LOOP_ff_i_tg): New macro.
2566 (isgreater_test_data): New variable.
2567 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2568 (isgreaterequal_test_data): New variable.
2569 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2570 (isless_test_data): New variable.
2571 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2572 (islessequal_test_data): New variable.
2573 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2574 (islessgreater_test_data): New variable.
2575 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2576 (isunordered_test_data): New variable.
2577 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2578
781fd748
DM
25792013-05-14 David S. Miller <davem@davemloft.net>
2580
2581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2582
87aa21df
JM
25832013-05-14 Joseph Myers <joseph@codesourcery.com>
2584
5e908270
JM
2585 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2586
f71172e5
JM
2587 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2588 extra_test to int.
2589 (struct test_f_i_data): Change type of max_ulp to int.
2590
8cfa635a
JM
2591 * math/libm-test.inc (test_ffI_f1_data): New type.
2592 (RUN_TEST_LOOP_ffI_f1): New macro.
2593 (remquo_test_data): New variable.
2594 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2595
2bcb36b2
JM
2596 * setjmp/tst-setjmp-fp.c: New file.
2597 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2598 (link-libm): New variable.
2599 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2600
acbd839a
JM
2601 * math/libm-test.inc (struct test_f_i_data): New type.
2602 (RUN_TEST_LOOP_f_i): New macro.
2603 (RUN_TEST_LOOP_f_i_tg): Likewise.
2604 (fpclassify_test_data): New variable.
2605 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2606 (ilogb_test_data): New variable.
2607 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2608
e414d745
JM
2609 * math/libm-test.inc (scalbln_test): Correct function name in END
2610 call.
2611
d9c2a0fd
JM
2612 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2613 (RUN_TEST_LOOP_fI_f1): New macro.
2614 (frexp_test_data): New variable.
2615 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2616
9dc9095d
JM
2617 * math/libm-test.inc (struct test_fF_f1_data): New type.
2618 (RUN_TEST_LOOP_fF_f1): New macro.
2619 (modf_test_data): New variable.
2620 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2621
87aa21df
JM
2622 * math/libm-test.inc (struct test_f_f1_data): New type.
2623 (RUN_TEST_LOOP_f_f1): New macro.
2624 (gamma_test_data): New variable.
2625 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2626 (lgamma_test_data): New variable.
2627 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2628
141af660
CD
26292013-05-13 Carlos O'Donell <carlos@redhat.com>
2630
2631 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2632 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2633 (main): Comment "tls" pseudo-hwcap.
2634
6d33265c
JM
26352013-05-13 Joseph Myers <joseph@codesourcery.com>
2636
68fc074c
JM
2637 * math/libm-test.inc (struct test_fl_f_data): New type.
2638 (RUN_TEST_LOOP_fl_f): New variable.
2639 (scalbln_test_data): New variable.
2640 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2641
243216e1
JM
2642 * math/libm-test.inc (struct test_fi_f_data): New type.
2643 (RUN_TEST_LOOP_fi_f): New macro.
2644 (ldexp_test_data): New variable.
2645 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2646 (scalbn_test_data): New variable.
2647 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2648
6a1992e2
JM
2649 * math/libm-test.inc (struct test_c_f_data): New type.
2650 (RUN_TEST_LOOP_c_f): New macro.
2651 (cabs_test_data): New variable.
2652 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2653 (carg_test_data): New variable.
2654 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2655 (cimag_test_data): New variable.
2656 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2657 (creal_test_data): New variable.
2658 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2659
0e400df5
JM
2660 * math/libm-test.inc (struct test_if_f_data): New type.
2661 (RUN_TEST_LOOP_if_f): New macro.
2662 (jn_test_data): New variable.
2663 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2664 (yn_test_data): New variable.
2665 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2666
6d33265c
JM
2667 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2668
f98ece5f
AZ
26692013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2670
2671 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2672 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2673
0f7d347b
SP
26742013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2675
43fe811b
SP
2676 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2677 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2678 (bench-deps): Add bench-timing.h.
2679 * benchtests-bench-skeleton.c: Include bench-timing.h.
2680 (main): Use TIMING_* macros instead of clock_gettime.
2681 * benchtests/bench-timing.h: New file.
2682
0f7d347b
SP
2683 [BZ #14582]
2684 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2685 Renamed from _LIB_VERSION.
2686 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2687
601a3a5f
JM
26882013-05-12 Joseph Myers <joseph@codesourcery.com>
2689
4f184d30
JM
2690 * math/libm-test.inc (struct test_fff_f_data): New type.
2691 (RUN_TEST_LOOP_fff_f): New macro.
2692 (fma_test_data): New variable.
2693 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2694 (fma_towardzero_test_data): New variable.
2695 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2696 (fma_downward_test_data): New variable.
2697 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2698 (fma_upward_test_data): New variable.
2699 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2700
08198877
JM
2701 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2702 (struct test_c_c_data): New type.
2703 (RUN_TEST_LOOP_c_c): New macro.
2704 (cacos_test_data): New variable.
2705 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2706 (cacosh_test_data): New variable.
2707 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2708 (casin_test_data): New variable.
2709 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2710 (casinh_test_data): New variable.
2711 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2712 (catan_test_data): New variable.
2713 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2714 (catanh_test_data): New variable.
2715 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2716 (ccos_test_data): New variable.
2717 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2718 (ccosh_test_data): New variable.
2719 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2720 (cexp_test_data): New variable.
2721 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2722 (clog_test_data): New variable.
2723 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2724 (clog10_test_data): New variable.
2725 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2726 (conj_test_data): New variable.
2727 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2728 (cproj_test_data): New variable.
2729 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2730 (csin_test_data): New variable.
2731 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2732 (csinh_test_data): New variable.
2733 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2734 (csqrt_test_data): New variable.
2735 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2736 (ctan_test_data): New variable.
2737 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2738 (ctan_tonearest_test_data): New variable.
2739 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2740 (ctan_towardzero_test_data): New variable.
2741 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2742 (ctan_downward_test_data): New variable.
2743 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2744 (ctan_upward_test_data): New variable.
2745 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2746 (ctanh_test_data): New variable.
2747 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2748 (ctanh_tonearest_test_data): New variable.
2749 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2750 (ctanh_towardzero_test_data): New variable.
2751 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2752 (ctanh_downward_test_data): New variable.
2753 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2754 (ctanh_upward_test_data): New variable.
2755 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2756 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2757 of BUILD_COMPLEX.
2758
601a3a5f
JM
2759 * math/libm-test.inc (struct test_ff_f_data): New type.
2760 (struct test_ff_f_data_nexttoward): Likewise.
2761 (RUN_TEST_LOOP_2_f): New macro.
2762 (RUN_TEST_LOOP_ff_f): Likewise.
2763 (atan2_test_data): New variable.
2764 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2765 (copysign_test_data): New variable.
2766 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2767 (fdim_test_data): New variable.
2768 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2769 (fmax_test_data): New variable.
2770 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2771 (fmin_test_data): New variable.
2772 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2773 (fmod_test_data): New variable.
2774 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2775 (hypot_test_data): New variable.
2776 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2777 (nextafter_test_data): New variable.
2778 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2779 (nexttoward_test_data): New variable.
2780 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2781 (pow_test_data): New variable.
2782 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2783 (pow_tonearest_test_data): New variable.
2784 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2785 (pow_towardzero_test_data): New variable.
2786 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2787 (pow_downward_test_data): New variable.
2788 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2789 (pow_upward_test_data): New variable.
2790 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2791 (remainder_test_data): New variable.
2792 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2793 (scalb_test_data): New variable.
2794 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2795 * sysdeps/i386/fpu/libm-test-ulps: Update.
2796
74c57478
JM
27972013-05-11 Joseph Myers <joseph@codesourcery.com>
2798
8329e4da
JM
2799 * math/libm-test.inc (fma_test): Use max_value instead of local
2800 variable fltmax.
2801 (nextafter_test): Likewise.
2802
74c57478
JM
2803 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2804 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2805 (acos_downward_test_data): New variable.
2806 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2807 (acos_upward_test_data): New variable.
2808 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2809 (acosh_test_data): New variable.
2810 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2811 (asin_test_data): New variable.
2812 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2813 (asin_tonearest_test_data): New variable.
2814 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2815 (asin_towardzero_test_data): New variable.
2816 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2817 (asin_downward_test_data): New variable.
2818 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2819 (asin_upward_test_data): New variable.
2820 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2821 (asinh_test_data): New variable.
2822 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2823 (atan_test_data): New variable.
2824 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2825 (atanh_test_data): New variable.
2826 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2827 (cbrt_test_data): New variable.
2828 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2829 (ceil_test_data): New variable.
2830 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2831 (cos_test_data): New variable.
2832 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2833 (cos_tonearest_test_data): New variable.
2834 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2835 (cos_towardzero_test_data): New variable.
2836 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2837 (cos_downward_test_data): New variable.
2838 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2839 (cos_upward_test_data): New variable.
2840 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2841 (cosh_test_data): New variable.
2842 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2843 (cosh_tonearest_test_data): New variable.
2844 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2845 (cosh_towardzero_test_data): New variable.
2846 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2847 (cosh_downward_test_data): New variable.
2848 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2849 (cosh_upward_test_data): New variable.
2850 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2851 (erf_test_data): New variable.
2852 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2853 (erfc_test_data): New variable.
2854 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2855 (exp_test_data): New variable.
2856 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2857 (exp_tonearest_test_data): New variable.
2858 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2859 (exp_towardzero_test_data): New variable.
2860 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2861 (exp_downward_test_data): New variable.
2862 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2863 (exp_upward_test_data): New variable.
2864 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2865 (exp10_test_data): New variable.
2866 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2867 (exp2_test_data): New variable.
2868 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2869 (expm1_test_data): New variable.
2870 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2871 (fabs_test_data): New variable.
2872 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2873 (floor_test_data): New variable.
2874 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2875 (j0_test_data): New variable.
2876 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2877 (j1_test_data): New variable.
2878 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2879 (log_test_data): New variable.
2880 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2881 (log10_test_data): New variable.
2882 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2883 (log1p_test_data): New variable.
2884 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2885 (log2_test_data): New variable.
2886 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2887 (logb_test_data): New variable.
2888 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2889 (logb_downward_test_data): New variable.
2890 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2891 (nearbyint_test_data): New variable.
2892 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2893 (rint_test_data): New variable.
2894 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2895 (rint_tonearest_test_data): New variable.
2896 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2897 (rint_towardzero_test_data): New variable.
2898 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2899 (rint_downward_test_data): New variable.
2900 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2901 (rint_upward_test_data): New variable.
2902 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2903 (round_test_data): New variable.
2904 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2905 (sin_test_data): New variable.
2906 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2907 (sin_tonearest_test_data): New variable.
2908 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2909 (sin_towardzero_test_data): New variable.
2910 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2911 (sin_downward_test_data): New variable.
2912 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2913 (sin_upward_test_data): New variable.
2914 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2915 (sinh_test_data): New variable.
2916 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2917 (sinh_tonearest_test_data): New variable.
2918 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2919 (sinh_towardzero_test_data): New variable.
2920 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2921 (sinh_downward_test_data): New variable.
2922 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2923 (sinh_upward_test_data): New variable.
2924 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2925 (sqrt_test_data): New variable.
2926 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2927 (tan_test_data): New variable.
2928 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2929 (tan_tonearest_test_data): New variable.
2930 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2931 (tan_towardzero_test_data): New variable.
2932 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2933 (tan_downward_test_data): New variable.
2934 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2935 (tan_upward_test_data): New variable.
2936 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2937 (tanh_test_data): New variable.
2938 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2939 (tgamma_test_data): New variable.
2940 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2941 (trunc_test_data): New variable.
2942 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2943 (y0_test_data): New variable.
2944 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2945 (y1_test_data): New variable.
2946 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2947 (significand_test_data): New variable.
2948 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2949
7187d844
CG
29502013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
2951
2952 [BZ #12387]
2953 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2954
f63fae73
PT
29552013-05-10 Pino Toscano <toscano.pino@tiscali.it>
2956
2957 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2958
8a67a4b3
AJ
29592013-05-10 Andreas Jaeger <aj@suse.de>
2960
2961 [BZ #15448]
2962 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2963 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2964
51df539d
JM
29652013-05-10 Joseph Myers <joseph@codesourcery.com>
2966
2967 * math/gen-libm-test.pl (adjust_arg): New function.
2968 (special_functions): Handle generating output in both functions
2969 and arrays.
2970 (parse_args): Likewise.
2971 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
2972 $in_func argument to parse_args.
2973 * math/libm-test.inc (struct test_f_f_data): New type.
2974 (IF_ROUND_INIT_): New macro.
2975 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2976 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2977 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2978 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2979 (ROUND_RESTORE_): Likewise.
2980 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2981 (ROUND_RESTORE_FE_TONEAREST): Likewise.
2982 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2983 (ROUND_RESTORE_FE_UPWARD): Likewise.
2984 (RUN_TEST_LOOP_f_f): New macro.
2985 (acos_test_data): New variable.
2986 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2987 (acos_tonearest_test_data): New variable.
2988 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2989
5c637fe5
SP
29902013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2991
2992 * benchtests/bench-skeleton.c (startup): Fix coding style.
2993
ab2b9461
JM
29942013-05-10 Joseph Myers <joseph@codesourcery.com>
2995
2996 [BZ #6809]
2997 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2998 negative infinity argument.
2999 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3000 negative infinity argument.
3001 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3002 negative infinity argument.
3003 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3004 domain errors.
3005
4c0fe6fe
FW
30062013-05-10 Florian Weimer <fweimer@redhat.com>
3007
3008 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3009 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3010 * iconv/iconv_prog.c (main): Likewise.
3011 * locale/programs/charmap-dir.c (charmap_readdir)
3012 (fopen_uncompressed): Likewise.
3013 * locale/programs/locfile.c (siblings_uncached)
3014 (write_locale_data): Use lstat64 instead of lstat.
3015 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3016 stat.
3017
a3375d29
AJ
30182013-05-10 Andreas Jaeger <aj@suse.de>
3019
3020 [BZ #15395]
3021 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3022 localization.
3023 Include <locale.h>.
3024
36129722
CD
30252013-05-09 Carlos O'Donell <carlos@redhat.com>
3026
3027 * elf/dl-close.c (_dl_close_worker): Add comments.
3028
faa7f811
JM
30292013-05-09 Joseph Myers <joseph@codesourcery.com>
3030
ed41ffef
JM
3031 [BZ #15359]
3032 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3033 high part of pi/2.
3034 (__ieee754_rem_pio2l): Update comments.
3035
d0213cd0
JM
3036 [BZ #15429]
3037 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3038 high part of pi/2.
3039 (__ieee754_rem_pio2l): Update comments.
3040
0d3e777a
JM
3041 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3042 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3043
24f56066
JM
3044 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3045 M_PI_4l.
3046
faa7f811
JM
3047 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3048 (M_PI_34_LOG10El): Likewise.
3049 (M_PI2_LOG10El): Likewise.
3050 (M_PI4_LOG10El): Likewise.
3051 (M_PI_LOG10El): Likewise.
3052
e9a5e0fd
AZ
30532013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3054
3055 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3056
d8cd06db
JM
30572013-05-08 Joseph Myers <joseph@codesourcery.com>
3058
a0d9f9d7
JM
3059 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3060 (MINUS_ZERO_INIT): Likewise.
3061 (PLUS_INFTY_INIT): Likewise.
3062 (MINUS_INFTY_INIT): Likewise.
3063 (QNAN_VALUE_INIT): Likewise.
3064 (MAX_VALUE_INIT): Likewise.
3065 (MIN_VALUE_INIT): Likewise.
3066 (MIN_SUBNORM_VALUE_INIT): Likewise.
3067 (plus_zero): Initialize with PLUS_ZERO_INIT.
3068 (minus_zero): Initialize with MINUS_ZERO_INIT.
3069 (plus_infty): Initialize with PLUS_INFTY_INIT.
3070 (minus_infty): Initialize with MINUS_INFTY_INIT.
3071 (qnan_value): Initialize with QNAN_VALUE_INIT.
3072 (max_value): Initialize with MAX_VALUE_INIT.
3073 (min_value): Initialize with MIN_VALUE_INIT.
3074 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3075
ae08db3b
JM
3076 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3077 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3078 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3079 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3080
f44bf14a
JM
3081 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3082 (RUN_TEST_2_f): Likewise.
3083 (RUN_TEST_ff_f): Likewise.
3084 (RUN_TEST_fi_f): Likewise.
3085 (RUN_TEST_fl_f): Likewise.
3086 (RUN_TEST_fff_f): Likewise.
3087 (RUN_TEST_c_f): Likewise.
3088 (RUN_TEST_f_f1): Likewise.
3089 (RUN_TEST_fF_f1): Likewise.
3090 (RUN_TEST_fI_f1): Likewise.
3091 (RUN_TEST_ffI_f1): Likewise.
3092 (RUN_TEST_c_c): Likewise.
3093 (RUN_TEST_cc_c): Likewise.
3094 (RUN_TEST_f_i): Likewise.
3095 (RUN_TEST_f_i_tg): Likewise.
3096 (RUN_TEST_ff_i_tg): Likewise.
3097 (RUN_TEST_f_b): Likewise.
3098 (RUN_TEST_f_b_tg): Likewise.
3099 (RUN_TEST_f_l): Likewise.
3100 (RUN_TEST_f_L): Likewise.
3101 (RUN_TEST_sincos): Likewise.
3102 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3103 whether to show exceptions. Do not include ");\n" in return
3104 value.
3105 (special_functions): Output call to RUN_TEST_sincos instead of
3106 check_float calls. Update calls to new_test.
3107 (parse_args): Output call to single RUN_TEST_* macro instead of
3108 check_* calls and other assignments. Update calls to new_test.
3109
d8cd06db
JM
3110 [BZ #2546]
3111 [BZ #2560]
3112 [BZ #5159]
3113 [BZ #15426]
3114 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3115 input to result for tgamma overflow.
3116 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3117 (gamma_coeff): New variable.
3118 (NCOEFF): New macro.
3119 (gamma_positive): New function.
3120 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3121 underflow here. Use gamma_positive instead of exp (lgamma) for
3122 other arguments.
3123 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3124 (gamma_coeff): New variable.
3125 (NCOEFF): New macro.
3126 (gammaf_positive): New function.
3127 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3128 underflow here. Use gamma_positive instead of exp (lgamma) for
3129 other arguments.
3130 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3131 (gamma_coeff): New variable.
3132 (NCOEFF): New macro.
3133 (gammal_positive): New function.
3134 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3135 underflow here. Use gamma_positive instead of exp (lgamma) for
3136 other arguments.
3137 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3138 (gamma_coeff): New variable.
3139 (NCOEFF): New macro.
3140 (gammal_positive): New function.
3141 (__ieee754_gammal_r): Handle positive infinity, overflow and
3142 underflow here. Handle NaN the same as positive infinity. Remove
3143 check x < 0xffffffff for negative integers. Use gamma_positive
3144 instead of exp (lgamma) for other arguments.
3145 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3146 (gamma_coeff): New variable.
3147 (NCOEFF): New macro.
3148 (gammal_positive): New function.
3149 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3150 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3151 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3152 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3153 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3154 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3155 * sysdeps/generic/math_private.h (__gamma_productf): New
3156 prototype.
3157 (__gamma_product): Likewise.
3158 (__gamma_productl): Likewise.
3159 * math/Makefile (libm-calls): Add gamma_product.
3160 * math/libm-test.inc (tgamma_test): Add more tests.
3161 * sysdeps/i386/fpu/libm-test-ulps: Update.
3162 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3163
bb7cf681
OB
31642013-05-08 Ondřej Bílka <neleai@seznam.cz>
3165
3166 * benchtests/bench-skeleton.c (main): Preheat CPU.
3167
ba853947
AJ
31682013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3169
3170 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3171
8347c74c
RM
31722013-05-07 Roland McGrath <roland@hack.frob.com>
3173
3174 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3175 and _dl_skip_args_internal.
3176
e8dd4791
CD
31772013-05-07 Carlos O'Donell <carlos@redhat.com>
3178
3179 * manual/message.texi (Message Translation): Talk about users.
3180 Message to key mapping impacts design.
3181
c7405830
RM
31822013-05-06 Roland McGrath <roland@hack.frob.com>
3183
a9173057
RM
3184 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3185
976e2f03
RM
3186 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3187
9723ffc5
RM
3188 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3189 * sysdeps/wordsize-64/glob64.c: ... here.
3190
962e6658
RM
3191 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3192 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3193 New macros.
3194
ee586a6d
RM
3195 * debug/getlogin_r_chk.c: Moved to ...
3196 * login/getlogin_r_chk.c: ... here.
3197 * debug/Makefile (routines): Move getlogin_r_chk to ...
3198 * login/Makefile (routines): ... here.
3199 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3200 * login/Versions (libc: GLIBC_2.4): ... here.
3201
355f9165
RM
3202 * io/poll.c (__poll): Renamed from poll.
3203 Add libc_hidden_def.
3204 (poll): Define as weak alias.
3205
bd9ffde6
RM
3206 * debug/ptsname_r_chk.c: Moved to ...
3207 * login/ptsname_r_chk.c: ... here.
3208 * debug/Makefile (routines): Move ptsname_r_chk to ...
3209 * login/Makefile (routines): ... here.
3210 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3211 * login/Versions (libc: GLIBC_2.4): ... here.
3212
8fb16a04
RM
3213 * posix/getlogin.c: Moved to ...
3214 * login/getlogin.c: ... here.
3215 * posix/getlogin_r.c: Moved to ...
3216 * login/getlogin_r.c: ... here.
3217 * posix/getlogin_r.c: Moved to ...
3218 * login/getlogin_r.c: ... here.
3219 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3220 * login/Makefile (routines): ... here.
3221 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3222 * login/Versions (libc: GLIBC_2.0): ... here.
3223
b99b892f
RM
3224 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3225 (setrlimit): Define as weak alias.
3226
c7405830
RM
3227 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3228 Call __ names for open, ftruncate, and close.
3229 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3230 (truncate): Define as weak alias.
3231
5bf96de5
JM
32322013-05-06 Joseph Myers <joseph@codesourcery.com>
3233
9ea3513c
JM
3234 * math/gen-libm-test.pl (parse_args): Initialize x before each
3235 test of frexp, modf and remquo.
3236
5bf96de5
JM
3237 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3238 test signgam value.
3239
16e616a7
AZ
32402013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3241
3242 [BZ #15418]
3243 [BZ #15419]
3244 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3245 internal tests.
3246 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3247
d5e82754
RM
32482013-05-06 Roland McGrath <roland@hack.frob.com>
3249
3250 * elf/dl-writev.h: New file.
3251 * elf/dl-misc.c: Include it.
3252 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3253 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3254
a7548d41
JM
32552013-05-04 Joseph Myers <joseph@codesourcery.com>
3256
b7dab1e4
JM
3257 * math/libm-test.inc (noXFails): Remove variable.
3258 (noXPasses): Likewise.
3259 (BUILD_COMPLEX_INT): Remove macro.
3260 (print_screen): Remove xfail argument.
3261 (print_screen_max_error): Likewise.
3262 (update_stats): Likewise.
3263 (print_max_error): Likewise. Update calls to other affected
3264 functions.
3265 (print_complex_max_error): Likewise.
3266 (test_single_exception): Update calls to print_screen.
3267 (test_single_errno): Likewise.
3268 (check_float_internal): Remove xfail argument. Update calls to
3269 other affected functions.
3270 (check_float): Likewise.
3271 (check_complex): Likewise.
3272 (check_int): Likewise.
3273 (check_long): Likewise.
3274 (check_bool): Likewise.
3275 (check_longlong): Likewise.
3276 (main): Don't print noXFails and noXPasses.
3277 * math/gen-libm-test.pl (top level): Don't mention expected
3278 failure handling in comment.
3279 (new_test): Don't handle expected failures.
3280 (parse_args): Don't mention expected failure handling in comment.
3281 (generate_testfile): Don't handle expected failures.
3282 (parse_ulps): Likewise.
3283 (print_ulps_file): Likewise.
3284 (get_failure): Remove function.
3285 (output_test): Don't handle expected failures.
3286 * make/README.libm-test: Don't mention expected failure handling.
3287
a7548d41
JM
3288 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3289 (minus_zero): Likewise.
3290 (plus_infty): Likewise.
3291 (minus_infty): Likewise.
3292 (qnan_value): Likewise.
3293 (max_value): Likewise.
3294 (min_value): Likewise.
3295 (min_subnorm_value): Likewise.
3296 (initialize): Do not initialize those variables dynamically.
3297
60bfd54c
RM
32982013-05-03 Roland McGrath <roland@hack.frob.com>
3299
cc0e6ed8
RM
3300 * io/open.c (__open_2): Moved to ...
3301 * io/open_2.c: ... this new file.
3302 * io/open64.c (__open64_2): Moved to ...
3303 * io/open64_2.c: ... this new file.
3304 * io/openat.c (__openat_2): Moved to ...
3305 * io/openat_2.c: ... this new file.
3306 * io/openat64.c (__openat64_2): Moved to ...
3307 * io/openat64_2.c: ... this new file.
3308 * io/Makefile (routines): Add them.
3309 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3310 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3311 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3312 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3313 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3314 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3315 (__openat64): Add hidden_ver.
3316 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3317 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3318
60bfd54c
RM
3319 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3320 Separately conditionalize setting of GLRO(dl_sysinfo) so
3321 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3322 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3323
83e7640f
AZ
33242013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3325
3326 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3327 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3328 definition.
3329 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3330 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3331 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3332 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3333 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3334
d5dc2af3
JM
33352013-05-03 Joseph Myers <joseph@codesourcery.com>
3336
c31a5b1e
JM
3337 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3338 test signgam value.
3339
d5dc2af3
JM
3340 * math/libm-test.inc (hypot_test): Do not use
3341 IGNORE_ZERO_INF_SIGN.
3342
164fd39d
AJ
33432013-05-03 Andreas Jaeger <aj@suse.de>
3344
3345 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3346 Linux 3.9.
3347 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3348 (PF_MAX): Adjust for VSOCK change.
3349
8237f48c
AZ
33502013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3351
3352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3353
9df02941
CD
33542013-05-02 Carlos O'Donell <carlos@redhat.com>
3355
3356 [BZ #15264]
3357 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3358 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3359 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3360
d422395e
DM
33612013-05-02 David S. Miller <davem@davemloft.net>
3362
3363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3364
a07c5731
OB
33652013-05-01 Ondřej Bílka <neleai@seznam.cz>
3366
3367 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3368
1324e37f
RM
33692013-05-01 Roland McGrath <roland@hack.frob.com>
3370
3371 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3372
0695940b
RS
33732013-05-01 Richard Smith <richard@metafoo.co.uk>
3374
bb5f27ad 3375 [BZ #14952]
0695940b
RS
3376 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3377 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3378 Use __attribute__ ((__gnu_inline__)).
3379 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3380 Don't use __attribute__ ((__gnu_inline__)).
3381
10de07f5
JM
33822013-05-01 Joseph Myers <joseph@codesourcery.com>
3383
3384 [BZ #15423]
3385 * math/s_catan.c (__catan): Handle small real or imaginary part of
3386 input specially to avoid spurious underflow.
3387 * math/s_catanf.c (__catanf): Likewise.
3388 * math/s_catanh.c (__catanh): Likewise.
3389 * math/s_catanhf.c (__catanhf): Likewise.
3390 * math/s_catanhl.c (__catanhl): Likewise.
3391 * math/s_catanl.c (__catanl): Likewise.
3392 * math/libm-test.inc (catan_test): Add more tests.
3393 (catanh_test): Likewise.
3394 * sysdeps/i386/fpu/libm-test-ulps: Update.
3395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3396
cb4d5414
AZ
33972013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3398
3399 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3400
caf84319
JM
34012013-04-30 Joseph Myers <joseph@codesourcery.com>
3402
3403 [BZ #15416]
3404 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3405 accurately for denominator in atan2.
3406 * math/s_catanf.c (__catanf): Likewise.
3407 * math/s_catanh.c (__catanh): Likewise.
3408 * math/s_catanhf.c (__catanhf): Likewise.
3409 * math/s_catanhl.c (__catanhl): Likewise.
3410 * math/s_catanl.c (__catanl): Likewise.
3411 * math/libm-test.inc (catan_test): Add more tests.
3412 (catanh_test): Likewise.
3413 * sysdeps/i386/fpu/libm-test-ulps: Update.
3414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3415
d569c6ee
SP
34162013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3417
6dbe713d
SP
3418 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3419
f0ee064b
SP
3420 * benchtests/Makefile (bench): Remove slow benchmarks.
3421 * benchtests/atan-inputs: Add slow benchmark inputs.
3422 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3423 (BENCH_FUNC): Accept variant offset.
3424 (VARIANT): Define.
3425 * benchtests/bench-skeleton.c (main): Run benchmark for each
3426 variant.
3427 * benchtests/cos-inputs: Add slow benchmark inputs.
3428 * benchtests/exp-inputs: Likewise.
3429 * benchtests/pow-inputs: Likewise.
3430 * benchtests/sin-inputs: Likewise.
3431 * benchtests/slowatan-inputs: Remove.
3432 * benchtests/slowatan.c: Remove.
3433 * benchtests/slowcos-inputs: Remove.
3434 * benchtests/slowcos.c: Remove.
3435 * benchtests/slowexp-inputs: Remove.
3436 * benchtests/slowexp.c: Remove.
3437 * benchtests/slowpow-inputs: Remove.
3438 * benchtests/slowpow.c: Remove.
3439 * benchtests/slowsin-inputs: Remove.
3440 * benchtests/slowsin.c: Remove.
3441 * benchtests/slowtan-inputs: Remove.
3442 * benchtests/slowtan.c: Remove.
3443 * benchtests/tan-inputs: Add slow benchmark inputs.
3444 * scripts/bench.pl: Parse comments and directives.
3445
d569c6ee
SP
3446 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3447 in CPPFLAGS.
3448 ($(objpfx)bench-%.c): Remove *-ITER.
3449 * benchtests/bench-modf.c: Remove definition of ITER.
3450 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3451 (main): Loop for DURATION seconds instead of fixed number of
3452 iterations.
3453 * scripts/bench.pl: Don't expect iterations in parameters.
3454
a6a242fe
RM
34552013-04-29 Roland McGrath <roland@hack.frob.com>
3456
3457 * io/fchdir.c (__fchdir): Renamed from fchdir.
3458 (fchdir): Define as weak alias.
3459
f2da7793
JM
34602013-04-29 Joseph Myers <joseph@codesourcery.com>
3461
3462 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3463 (ERRNO_EDOM): Likewise.
3464 (ERRNO_ERANGE): Likewise.
3465 (noErrnoTests): New variable.
3466 (init_max_error): Set errno to 0.
3467 (test_single_errno): New function.
3468 (test_errno): Likewise.
3469 (check_float_internal): Call test_errno. Set errno to 0.
3470 (check_complex): Refer to errno tests in comment.
3471 (check_int): Call test_errno. Set errno to 0.
3472 (check_long): Likewise.
3473 (check_bool): Likewise.
3474 (check_longlong): Likewise.
3475 (cos_test): Use ERRNO_* flags for errno tests instead of
3476 check_int.
3477 (expm1_test): Likewise.
3478 (fmod_test): Likewise.
3479 (ilogb_test): Likewise.
3480 (lgamma_test): Likewise.
3481 (pow_test): Likewise.
3482 (remainder_test): Likewise.
3483 (sin_test): Likewise.
3484 (tan_test): Likewise.
3485 (yn_test): Likewise.
3486 (initialize): Set errno to 0.
3487 (main): Print number of errno tests.
3488 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3489
b1a36ceb
AJ
34902013-04-29 Andreas Jaeger <aj@suse.de>
3491
c3ed8088
AJ
3492 [BZ #15084]
3493 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3494 and RES_USEVC.
3495
f1a24198
AJ
3496 [BZ #15085]
3497 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3498 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3499 unimplemented.
3500
9ce3b2cb
AJ
3501 [BZ #15380]
3502 * stdlib/random.c (__initstate): Return NULL if
3503 __initstate fails.
3504
f1a24198 3505 [BZ #15086]
b1a36ceb
AJ
3506 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3507 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3508 RES_SNGLKUPREOP.
3509
7e7b6f36
AZ
35102013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3511
3512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3513
4d14f449
JM
35142013-04-29 Joseph Myers <joseph@codesourcery.com>
3515
3516 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3517 of individual tests.
3518 (casin_test): Likewise.
3519 (casinh_test): Likewise.
3520
5b4217d7
JM
35212013-04-27 Joseph Myers <joseph@codesourcery.com>
3522
3523 [BZ #15409]
3524 * math/s_catan.c (__catan): Handle arguments with large real or
3525 imaginary part separately without squaring.
3526 * math/s_catanf.c (__catanf): Likewise.
3527 * math/s_catanh.c (__catanh): Likewise.
3528 * math/s_catanhf.c (__catanhf): Likewise.
3529 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3530 and redefine.
3531 (__catanhl): Handle arguments with large real or imaginary part
3532 separately without squaring.
3533 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3534 and redefine.
3535 (__catanl): Handle arguments with large real or imaginary part
3536 separately without squaring.
3537 * math/libm-test.inc (catan_test): Add more tests.
3538 (catanh_test): Likewise.
3539 * sysdeps/i386/fpu/libm-test-ulps: Update.
3540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3541
4220c3ef
AJ
35422013-04-27 Andreas Jaeger <aj@suse.de>
3543
3544 [BZ #15007]
3545 * stdlib/stdlib.h: Update guards for qecvt.
3546 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3547 <stdlib.h>.
3548
4721b2d1
AM
35492013-04-27 Allan McRae <allan@archlinux.org>
3550
3551 * sysdeps/i386/fpu/libm-test-ulps: Update.
3552
f0302940
JM
35532013-04-26 Joseph Myers <joseph@codesourcery.com>
3554
9457fd95
JM
3555 [BZ #15406]
3556 * math/s_catan.c: Include <float.h>.
3557 (__catan): Ensure underflow exception occurs for underflowed
3558 result.
3559 * math/s_catanf.c: Include <float.h>.
3560 (__catanf): Ensure underflow exception occurs for underflowed
3561 result.
3562 * math/s_catanh.c: Include <float.h>.
3563 (__catanh): Ensure underflow exception occurs for underflowed
3564 result.
3565 * math/s_catanhf.c: Include <float.h>.
3566 (__catanhf): Ensure underflow exception occurs for underflowed
3567 result.
3568 * math/s_catanhl.c: Include <float.h>.
3569 (__catanhl): Ensure underflow exception occurs for underflowed
3570 result.
3571 * math/s_catanl.c: Include <float.h>.
3572 (__catanl): Ensure underflow exception occurs for underflowed
3573 result.
3574 * math/libm-test.inc (catan_test): Add more tests.
3575 (catanh_test): Likewise.
3576
f0302940
JM
3577 [BZ #15405]
3578 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3579 underflowed result.
3580 * math/s_ccoshf.c (__ccoshf): Likewise.
3581 * math/s_ccoshl.c (__ccoshl): Likewise.
3582 * math/s_csin.c (__csin): Likewise.
3583 * math/s_csinf.c (__csinf): Likewise.
3584 * math/s_csinh.c (__csinh): Likewise.
3585 * math/s_csinhf.c (__csinhf): Likewise.
3586 * math/s_csinhl.c (__csinhl): Likewise.
3587 * math/s_csinl.c (__csinl): Likewise.
3588 * math/libm-test.inc (ccos_test): Add more tests.
3589 (ccosh_test): Likewise.
3590 (csin_test): Likewise.
3591 (csinh_test): Likewise.
3592
aa630f59
AZ
35932013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3594
3595 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3596 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3597 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3598 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3599 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3600 powerpc/power5+/fpu folders.
3601 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3602
3603
1b835983
MT
36042013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3605
3606 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3607
73709b26
JM
36082013-04-25 Joseph Myers <joseph@codesourcery.com>
3609
3610 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3611 additions to variable.
3612 [$(config-machine) = x86_64] (modules-names): Likewise.
3613 ($(objpfx)tst-audit3): Remove dependency.
3614 ($(objpfx)tst-audit3.out): Likewise.
3615 ($(objpfx)tst-audit4): Likewise.
3616 ($(objpfx)tst-audit4.out): Likewise.
3617 ($(objpfx)tst-audit5): Likewise.
3618 ($(objpfx)tst-audit5.out): Likewise.
3619 ($(objpfx)tst-audit6): Likewise.
3620 ($(objpfx)tst-audit6.out): Likewise.
3621 ($(objpfx)tst-audit7): Likewise.
3622 ($(objpfx)tst-audit7.out): Likewise.
3623 (tst-audit3-ENV): Remove variable.
3624 (tst-audit4-ENV): Likewise.
3625 (tst-audit5-ENV): Likewise.
3626 (tst-audit6-ENV): Likewise.
3627 (tst-audit7-ENV): Likewise.
3628 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3629 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3630 addition to variable.
3631 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3632 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3633 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3634 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3635 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3636 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3637 tst-audit3, tst-audit4 and tst-audit5.
3638 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3639 tst-audit6 and tst-audit7.
3640 [$(subdir) = elf] (modules-names): Add audit modules for those
3641 tests.
3642 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3643 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3644 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3645 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3646 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3647 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3648 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3649 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3650 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3651 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3652 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3653 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3654 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3655 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3656 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3657 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3658 Likewise.
3659 [$(subdir) = elf && $(config-cflags-avx) = yes]
3660 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3661 [$(subdir) = elf && $(config-cflags-avx) = yes]
3662 (CFLAGS-tst-auditmod4a.c): Likewise.
3663 [$(subdir) = elf && $(config-cflags-avx) = yes]
3664 (CFLAGS-tst-auditmod4b.c): Likewise.
3665 [$(subdir) = elf && $(config-cflags-avx) = yes]
3666 (CFLAGS-tst-auditmod6b.c): Likewise.
3667 [$(subdir) = elf && $(config-cflags-avx) = yes]
3668 (CFLAGS-tst-auditmod6c.c): Likewise.
3669 [$(subdir) = elf && $(config-cflags-avx) = yes]
3670 (CFLAGS-tst-auditmod7b.c): Likewise.
3671 * elf/tst-audit3.c: Move to ...
3672 * sysdeps/x86_64/tst-audit3.c: ... here.
3673 * elf/tst-audit4.c: Move to ...
3674 * sysdeps/x86_64/tst-audit4.c: ... here.
3675 * elf/tst-audit5.c: Move to ...
3676 * sysdeps/x86_64/tst-audit5.c: ... here.
3677 * elf/tst-audit6.c: Move to ...
3678 * sysdeps/x86_64/tst-audit6.c: ... here.
3679 * elf/tst-audit7.c: Move to ...
3680 * sysdeps/x86_64/tst-audit7.c: ... here.
3681 * elf/tst-auditmod3a.c: Move to ...
3682 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3683 * elf/tst-auditmod3b.c: Move to ...
3684 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3685 * elf/tst-auditmod4a.c: Move to ...
3686 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3687 * elf/tst-auditmod4b.c: Move to ...
3688 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3689 * elf/tst-auditmod5a.c: Move to ...
3690 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3691 * elf/tst-auditmod5b.c: Move to ...
3692 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3693 * elf/tst-auditmod6a.c: Move to ...
3694 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3695 * elf/tst-auditmod6b.c: Move to ...
3696 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3697 * elf/tst-auditmod6c.c: Move to ...
3698 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3699 * elf/tst-auditmod7a.c: Move to ...
3700 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3701 * elf/tst-auditmod7b.c: Move to ...
3702 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3703
1ef74943
PP
37042013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3705
3706 [BZ #15366]
3707 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3708 define unconditionally.
3709 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3710 define unconditionally.
3711 (INT8_C, INT16_C, etc.): Likewise.
3712
93fd48c5
MR
37132013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3714
ae9552cf
MR
3715 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3716 __ehdr_start with hidden visibility.
3717
93fd48c5
MR
3718 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3719
418601aa
CD
37202013-04-24 Carlos O'Donell <carlos@redhat.com>
3721
3722 * math/libm-test.inc (cos_test): Use accurate hex constants.
3723 (sincost_test): Likewise.
3724
2f38fbfe
JM
37252013-04-24 Joseph Myers <joseph@codesourcery.com>
3726
5e221800
JM
3727 * math/libm-test.inc (catan_test): Add more tests.
3728 (catanh_test): Likewise.
3729
77f143fd
JM
3730 * math/s_catanf.c (__catanf): Use suffixed floating-point
3731 constants.
3732 * math/s_catanhf.c (__catanhf): Likewise.
3733 * math/s_catanhl.c (__catanhl): Likewise.
3734 * math/s_catanl.c (__catanl): Likewise.
3735
2f38fbfe
JM
3736 [BZ #15394]
3737 * math/s_catan.c (__catan): Calculate imaginary part of result
3738 with log1p not log unless computing log of number close to 0.
3739 * math/s_catanf.c (__catanf): Likewise.
3740 * math/s_catanl.c (__catanl): Likewise.
3741 * math/s_catanh.c (__catanh): Calculate real part of result with
3742 log1p not log unless computing log of number close to 0.
3743 * math/s_catanhf.c (__catanhf): Likewise.
3744 * math/s_catanhl.c (__catanhl): Likewise.
3745 * math/libm-test.inc (catan_test): Add more tests.
3746 (catanh_test): Likewise.
3747 * sysdeps/i386/fpu/libm-test-ulps: Update.
3748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3749
45d69176
SP
37502013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3751
3752 * benchtests/Makefile: Mention files in which fast and slow
3753 paths of math functions are implemented.
3754
87f51853
RM
37552013-04-23 Roland McGrath <roland@hack.frob.com>
3756
3757 * sysdeps/posix/timespec_get.c: New file.
3758
3c026539
AZ
37592013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3760
3761 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3762 POWER.
3763 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3764 for POWER.
3765 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3766 powerpc/power5/fpu folders.
3767 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3768 * benchtests/Makefile: Add modf testcase.
3769 * benchtests/bench-modf.c: New file: Benchmark test for mo
3770
ff491d14
SP
37712013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3772
3773 [BZ #14888]
3774 * time/Makefile (tests): Add tst-strptime-whitespace.
3775 * time/strptime_l.c (get_number): Use ISSPACE.
3776 (__strptime_internal): Likewise.
3777 * time/tst-strptime-whitespace.c: New test case.
3778
7ed3f4e8
AS
37792013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3780
3781 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3782 member.
3783 (_nss_files_init): Set it here.
3784
5c95f7b6
HC
37852013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3786
3787 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3788 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3789 unsigned.
3790
d34c9158
JBG
37912013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3792
3793 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3794
2169712d
SP
37952013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3796
3797 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3798 size just once.
3799
29c5de99
DM
38002013-04-21 David S. Miller <davem@davemloft.net>
3801
3802 * po/ru.po: Update Russion translation from translation project.
3803
ccdad15d
AC
38042013-04-17 Adam Conrad <adconrad@0c3.net>
3805
3806 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3807 and setfsgid.
3808
0f122b8d
CD
38092013-04-17 Carlos O'Donell <carlos@redhat.com>
3810
5c5b07da 3811 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 3812 * configure: Regenerate.
5c5b07da 3813 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
3814 Add example to error message.
3815 * sysdeps/i386/configure: Regenerate.
3816
037714dd
SP
38172013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3818
3819 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3820 slowtan.
3821 * benchtests/cos-inputs: New file.
3822 * benchtests/slowcos-inputs: New file.
3823 * benchtests/slowcos.c: New file.
3824 * benchtests/slowtan-inputs: New file.
3825 * benchtests/slowtan.c: New file.
3826 * benchtests/tan-inputs: New file.
3827
e913141d
RM
38282013-04-16 Roland McGrath <roland@hack.frob.com>
3829
3830 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3831 considered kosher.
3832
a2964074
SP
38332013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3834
4856bcd2
SP
3835 * benchtests/Makefile: Include cppflags-iterator.mk to add
3836 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3837
a2964074
SP
3838 * Makefile.in (bench-clean): New target.
3839 * benchtests/Makefile (bench-clean): Likewise.
3840
9fbf9aca
DH
38412013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3842
3843 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3844
207d1e2a
TS
38452013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3846
3847 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3848
306dfba9
AS
38492013-04-15 Andreas Schwab <schwab@suse.de>
3850
3851 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3852 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3853 * nscd/pwdcache.c (cache_addpw): Likewise.
3854 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3855 more than recsize.
3856
206a6699
SP
38572013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3858
3859 * benchtests/Makefile (bench): Write all output to
3860 bench-out.tmp together.
3861
0582f6b3
AS
38622013-04-15 Andreas Schwab <schwab@suse.de>
3863
3864 * nscd/nscd.c (main): Don't fork again after closing files.
3865
acb4325f
SP
38662013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3867
5cb26d0a
SP
3868 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3869
acb4325f
SP
3870 * benchtests/Rules (bench-deps): Collect dependencies into a
3871 single variable. Add Makefile to dependencies.
3872 ($(objpfx)bench-%.c): Depend on bench-deps.
3873
47792506
RM
38742013-04-12 Roland McGrath <roland@hack.frob.com>
3875 Xavier Roche <roche+kml2@exalead.com>
3876
3877 [BZ #15361]
3878 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3879 just that it's a file descriptor.
3880 * manual/llio.texi (Synchronizing AIO Operations): Update description
3881 for EBADF error from aio_fsync.
3882
8fc1bee5
SP
38832013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3884
3885 * Rules (bench): Move target definition...
3886 * benchtests/Makefile: ... here.
3887
aba5e333
CD
38882013-04-11 Carlos O'Donell <carlos@redhat.com>
3889
3890 * math/libm-test.inc (cos_test): Fix PI/2 test.
3891 (sincos_test): Likewise.
3892 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3893 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3894
273cdee8
AS
38952013-04-11 Andreas Schwab <schwab@suse.de>
3896
6ecec3b6
AS
3897 [BZ #13988]
3898 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3899 accept exponent character only when digits were seen.
3900 * stdio-common/Makefile (tests): Add bug26.
3901 * stdio-common/bug26.c: New file.
3902
273cdee8
AS
3903 [BZ #14293]
3904 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3905 non-freeable.
3906
8da491f5
SP
39072013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3908
01dc6df9
SP
3909 * Makeconfig (rtld-prefix): Define built linker prefix.
3910 * Rules (run-bench): Use it.
3911 * math/Makefile (run-regen-ulps): Likewise.
3912
8da491f5
SP
3913 * Rules (bench): Remove eval.
3914
abe7f530
SP
39152013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3916 Roland McGrath <roland@hack.frob.com>
3917 Ondrej Bilka <neleai@seznam.cz>
3918
3919 [BZ #15346]
3920 * time/getdate.c: Include ctype.h and alloca.h.
3921 (__getdate_r): Trim leading and trailing spaces of input.
3922 * time/tst-getdate.c (tests): Add tests with leading and
3923 trailing spaces.
3924
61c23e62
RM
39252013-04-08 Roland McGrath <roland@hack.frob.com>
3926
3927 [BZ #14280]
3928 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3929 when computing value.
3930
7208a313
CD
39312013-04-06 Carlos O'Donell <carlos@redhat.com>
3932
085b2d41
CD
3933 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3934 Use testrun.sh to run libm tests.
3935
7208a313
CD
3936 [BZ #15309]
3937 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3938
872c0acd
MM
39392013-04-06 Marko Myllynen <myllynen@redhat.com>
3940
3941 [BZ #15264]
3942 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3943
26510bdd
CD
39442013-04-06 Carlos O'Donell <carlos@redhat.com>
3945
3946 * Makefile.in (regen-ulps): New target.
3947 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3948 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3949 [ifneq (no,$(PERL)] (regen-ulps): New target.
3950 [ifeq (no,$(PERL)] (regen-ulps): New target.
3951 * math/libm-test.inc (ulps_file_name): Define.
3952 (output_dir): New variable.
3953 (options): Add "output-dir" option.
3954 (parse_opt): Handle 'o' case.
3955 (main): If output_dir is non-NULL use it as a prefix
3956 otherwise use "".
3957 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3958
a01f19c8
CD
39592013-04-06 Carlos O'Donell <carlos@redhat.com>
3960
3961 [BZ #10060, #10062]
3962 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3963 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3964 fail configure if __sync_val_compare_and_swap is not inlined.
3965 * sysdeps/i386/configure: Regenerate.
3966 * configure.in: Build for i686 when configured for i386.
3967 * configure: Regenerate.
3968 * README: Remove i386 reference.
3969
b7a329a5
CD
39702013-04-06 Carlos O'Donell <carlos@redhat.com>
3971
3972 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3973 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3974
bf0f50df
TS
39752013-04-05 Thomas Schwinge <thomas@codesourcery.com>
3976
ee091edf
TS
3977 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3978 (lmsnanval): New variables.
3979 (F): Add conversion tests.
3980 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3981 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3982
a8b792d6
TS
3983 * stdio-common/tstdiomisc.c (F): Properly collect individual
3984 tests' results.
3985
a1cbf437
TS
3986 [BZ #14686, #15336]
3987 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3988 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3989 Instead, use input NaN values or generate a qNaN by arithmetic
3990 operation. Also fix bugs to comply with the standard.
3991 * math/libm-test.inc (remainder_test): Add more tests.
3992
8b43a0c9
TS
3993 [BZ #15335, #15342]
3994 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3995 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3996 input NaN values or generate a qNaN by arithmetic operation.
3997
d91da4ce
TS
3998 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3999 unreachable code.
4000
bf0f50df
TS
4001 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4002 definitions.
4003
05e166c8
JM
40042013-04-03 Joseph Myers <joseph@codesourcery.com>
4005
4006 [BZ #14478]
4007 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4008 underflowed result.
4009 * math/s_cexpf.c (__cexpf): Likewise.
4010 * math/s_cexpl.c (__cexpl): Likewise.
4011 * math/libm-test.inc (cexp_test): Add more tests.
4012
1cef1b19
AS
40132013-04-03 Andreas Schwab <schwab@suse.de>
4014
4015 [BZ #15330]
4016 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4017 order arrays from heap if bigger than alloca cutoff.
4018
74d87055
TS
40192013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4020
4021 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4022 (SNAN_TESTS_double): Refer to GCC PR56831.
4023 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4024 GCC PR56828.
4025
d755bba4
SP
40262013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4027
90d5d5bb
SP
4028 * Rules (bench): Move bench.out after the run is complete.
4029
73e0cd5d
SP
4030 * Rules (bench): Echo currently running benchmark.
4031
64aabd4b
SP
4032 * benchtests/Makefile (bench): Add atan and slowatan.
4033 * benchtests/atan-inputs: New file.
4034 * benchtests/slowatan-inputs: New file.
4035 * benchtests/slowatan.c: New file.
4036
c871eccd
SP
4037 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4038 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4039 its value.
4040
d755bba4
SP
4041 [BZ #15305]
4042 * sysdeps/unix/sysv/linux/kernel-features.h
4043 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4044 __ASSUME_XFS_RESTRICTED_CHOWN.
4045 * sysdeps/unix/sysv/linux/pathconf.c
4046 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4047 Save and restore errno.
4048
52ce4860
JM
40492013-04-02 Joseph Myers <joseph@codesourcery.com>
4050
4051 [BZ #15327]
4052 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4053 arguments using __kernel_casinh.
4054 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4055 arguments using __kernel_casinhf.
4056 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4057 arguments using __kernel_casinhl.
4058 * math/libm-test.inc (cacosh_test): Add more tests.
4059 * sysdeps/i386/fpu/libm-test-ulps: Update.
4060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4061
81f311c2
SP
40622013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4063
e7906a47
SP
4064 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4065 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4066
92e3664b
SP
4067 * bench/Makefile (bench): Add sin and slowsin.
4068 * benchtests/sin-inputs: New file.
4069 * benchtests/slowsin-inputs: New file.
4070 * benchtests/slowsin.c: New file.
4071
81f311c2
SP
4072 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4073 (bench): Add slowexp and slowpow.
4074 (exp-ITER): Increase iterations.
4075 (pow-ITER): Likewise.
4076 * benchtests/exp-inputs: Change input.
4077 * benchtests/pow-inputs: Likewise.
4078 * benchtests/slowexp-inputs: New file.
4079 * benchtests/slowexp.c: New file.
4080 * benchtests/slowpow-inputs: New file.
4081 * benchtests/slowpow.c: New file.
4082
ab0f1aa9
AZ
40832013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4084
4085 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4086 instructions.
4087 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4088 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4089 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4090 * benchtests/Makefile: Add rint benchtest.
4091 * benchtests/rint-inputs: Input for rint benchtest.
4092
57267616
TS
40932013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4094
4095 * Versions.def (libm): Add GLIBC_2.18.
4096 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4097 hidden libm prototypes.
4098 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4099 * math/Makefile (libm-calls): Add s_issignaling.
4100 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4101 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4102 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4103 declaration.
4104 * math/math.h [__USE_GNU] (issignaling): New macro.
4105 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4106 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4107 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4108 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4109 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4110 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4111 * manual/arith.texi (issignaling): New section.
4112 * manual/libm-err-tab.pl (@all_functions): Update comment.
4113 * math/gen-libm-test.pl (parse_args): Apply special handling for
4114 issignaling.
4115 * math/libm-test.inc (print_float, issignaling_test): New
4116 functions.
4117 (check_float_internal): Add issignaling checks.
4118 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4119 default definition.
4120 * sysdeps/powerpc/math-tests.h: New file.
4121 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4122 tests.
4123 * math/test-snan.c (TEST_FUNC): Likewise.
4124
6142896d
DM
41252013-03-30 David S. Miller <davem@davemloft.net>
4126
4127 * po/de.po: Update from translation team.
4128
ccc8cadf
JM
41292013-03-30 Joseph Myers <joseph@codesourcery.com>
4130
4131 [BZ #10357]
4132 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4133 imaginary part less than 1.0 and real part less than 0.5
4134 specially.
4135 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4136 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4137 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4138 (cacos_test): Add more tests.
4139 (casin_test): Likewise.
4140 (casinh_test): Likewise.
4141 * sysdeps/i386/fpu/libm-test-ulps: Update.
4142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4143
0f6a8d4b
SP
41442013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4145
0d1029de
SP
4146 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4147 ONE with its value.
4148
c2d94018
SP
4149 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4150 (__pow_mp): Replace ONE and MONE with their values.
4151 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4152 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4153 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4154 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4155 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4156 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4157
27ec37f1
SP
4158 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4159
a64d7e0e
SP
4160 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4161 (__pow_mp): Replace ZERO and MZERO with their values.
4162 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4163 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4164 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4165 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4166 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4167 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4168 (__sqr): Likewise.
4169
d26dd3eb
SP
4170 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4171
0f6a8d4b
SP
4172 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4173
e57b0c61
RM
41742013-03-28 Roland McGrath <roland@hack.frob.com>
4175
4176 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4177 Declare with __attribute__ ((weak)).
4178 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4179 Call __call_tls_dtors only if it's not NULL.
4180
356b3480
RM
41812013-03-28 Roland McGrath <roland@hack.frob.com>
4182
288f7d79
RM
4183 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4184 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4185 magic __ehdr_start linker symbol if it's defined.
4186 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4187 them up here if it was already done.
4188
dc0a0263
RM
4189 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4190 (_dl_aux_init): Use const in cast when setting it.
4191 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4192 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4193 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4194
3d3436ae
RM
4195 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4196 Declare them here.
4197 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4198 * csu/libc-tls.c: Nor here.
4199 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4200
356b3480
RM
4201 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4202 (__libc_message): Never call vsyslog.
4203
b0f1246a
AM
42042013-03-28 Alan Modra <amodra@gmail.com>
4205
4206 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4207 Define as empty.
4208 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4209 Likewise.
4210
fbbe2b9a
AZ
42112013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4212
4213 [BZ #15214]
4214 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4215 underflow.
4216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4217
1728ab37
SP
42182013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4219
7a86be6e
SP
4220 [BZ #15304]
4221 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4222 Don't add gid passed as argument.
4223
1728ab37
SP
4224 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4225
3a7182a1
JM
42262013-03-27 Joseph Myers <joseph@codesourcery.com>
4227
4228 [BZ #15307]
4229 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4230 imaginary part between 1.0 and 1.5 and real part less than 0.5
4231 specially.
4232 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4233 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4234 * math/libm-test.inc (cacos_test): Add more tests.
4235 (casin_test): Likewise.
4236 (casinh_test): Likewise.
4237 * sysdeps/i386/fpu/libm-test-ulps: Update.
4238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4239
6f2e90e7
SP
42402013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4241
5739f705
SP
4242 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4243 constants.
4244 (norm): Likewise.
4245 (denorm): Likewise.
4246 (__dbl_mp): Likewise.
4247 (add_magnitudes): Likewise.
4248 (sub_magnitudes): Likewise.
4249 (__add): Likewise.
4250 (__sub): Likewise.
4251 (__mul): Likewise.
4252 (__sqr): Likewise.
4253 (__inv): Likewise.
4254 (__dvd): Likewise.
4255
e375e83d
SP
4256 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4257 commented code.
4258 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4259 (__dubcos): Likewise.
4260 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4261 (__ieee754_acos): Likewise.
4262 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4263 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4264 (__exp1): Likewise.
4265 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4266 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4267 (log1): Likewise.
4268 (my_log2): Likewise.
4269 (checkint): Likewise.
4270 * sysdeps/ieee754/dbl-64/e_remainder.c
4271 (__ieee754_remainder): Likewise.
4272 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4273 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4274 (bsloww): Likewise.
4275 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4276
6f2e90e7
SP
4277 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4278 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4279 MANTISSA_STORE_T to store computations on mantissa. Use
4280 macros for rounding and division.
4281 (denorm): Likewise.
4282 (__dbl_mp): Likewise.
4283 (add_magnitudes): Likewise.
4284 (sub_magnitudes): Likewise.
4285 (__mul): Likewise.
4286 (__sqr): Likewise.
4287 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4288 powers of two in terms of TWOPOW macro.
4289 (mp_no): Make type of mantissa as MANTISSA_T.
4290 [!RADIXI]: Define RADIXI.
4291 [!TWO52]: Define TWO52.
4292 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4293
fce14d4e
AZ
42942013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4295
4296 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4297 llroundl symbol when building for PPC32.
4298
9ad027fb
MW
42992013-03-24 Mark H Weaver <mhw@netris.org>
4300
4301 * manual/arith.texi (Normalization Functions): Fix prototypes for
4302 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4303
e42a38dd
AZ
43042013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4305
4306 [BZ #13889]
4307 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4308 high value to check if expl overflow.
4309 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4310 to check for underflow and overflow.
4311 * math/libm-test.inc: Add exp test.
4312
2e0fb521
DL
43132013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4314
4315 [BZ #11120]
4316 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4317 with NOT_IN_libc.
4318
b5784d95
AZ
43192013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4320
4321 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4322 symbol.
4323
5aa4a1a1
TS
43242013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4325
bdef0be7
TS
4326 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4327 wrap blocks consisting of several statements.
4328
5aa4a1a1
TS
4329 * sysdeps/generic/math-tests.h: New file.
4330 * sysdeps/i386/fpu/math-tests.h: Likewise.
4331 * math/test-snan.c: Include it.
4332 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4333
98c48fe5
JM
43342013-03-21 Joseph Myers <joseph@codesourcery.com>
4335
4336 [BZ #15285]
4337 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4338 (__ieee754_j0l): Do not improve calculations using cos of twice
4339 input for inputs above LDBL_MAX / 2.0L.
4340 (__ieee754_y0l): Likewise.
4341 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4342 (__ieee754_j1l): Do not improve calculations using cos of twice
4343 input for inputs above LDBL_MAX / 2.0L.
4344 (__ieee754_y1l): Likewise.
4345 * math/libm-test.inc (j0_test): Add another test.
4346 (j1_test): Likewise.
4347 (y0_test): Likewise.
4348 (y1_test): Likewise.
4349 * sysdeps/i386/fpu/libm-test-ulps: Update.
4350
3775a8bc
SP
43512013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4352
4353 * Rules ($(objpfx)bench-%.c): Include code from a C source
4354 file.
4355
0a1b2ae6
JM
43562013-03-21 Joseph Myers <joseph@codesourcery.com>
4357
4358 [BZ #15287]
4359 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4360 imaginary part 1.0 and real part less than 0.5 specially.
4361 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4362 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4363 * math/libm-test.inc (cacos_test): Add more tests.
4364 (casin_test): Likewise.
4365 (casinh_test): Likewise.
4366 * sysdeps/i386/fpu/libm-test-ulps: Update.
4367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4368
b33d4ce4
SP
43692013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4370
4371 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4372 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4373
bef0b507
JM
43742013-03-20 Joseph Myers <joseph@codesourcery.com>
4375
4376 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4377 * config.make.in (config-cflags-sse4): Remove variable.
4378 (config-cflags-avx): Likewise.
4379 (config-cflags-sse2avx): Likewise.
4380 (config-cflags-novzeroupper): Likewise.
4381 (config-asflags-i686): Likewise.
4382 (have-mfma4): Likewise.
4383 (have-as-vis3): Likewise.
4384 (MIG): Likewise.
4385 * configure.in (MIG): Do not AC_SUBST.
4386 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4387 (libc_cv_cc_sse4): Do not AC_SUBST.
4388 (libc_cv_cc_avx): Likewise.
4389 (libc_cv_cc_sse2avx): Likewise.
4390 (libc_cv_cc_novzeroupper): Likewise.
4391 (libc_cv_cc_fma4): Likewise.
4392 (libc_cv_as_i686): Likewise.
4393 (libc_cv_sparc_as_vis3): Likewise.
4394 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4395 LIBC_CONFIG_VAR.
4396 (config-asflags-i686): Likewise.
4397 (config-cflags-avx): Likewise.
4398 (config-cflags-sse2avx): Likewise.
4399 (have-mfma4): Likewise.
4400 (config-cflags-novzeroupper): Likewise.
4401 * sysdeps/mach/configure.in (MIG): Likewise.
4402 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4403 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4404 LIBC_CONFIG_VAR.
4405 (config-cflags-avx): Likewise.
4406 (config-cflags-sse2avx): Likewise.
4407 (have-mfma4): Likewise.
4408 (config-cflags-novzeroupper): Likewise.
4409 * configure: Regenerated.
4410 * sysdeps/i386/configure: Likewise.
4411 * sysdeps/mach/configure: Likewise.
4412 * sysdeps/sparc/configure: Likewise.
4413 * sysdeps/x86_64/configure: Likewise.
4414
912cc4b3
RM
44152013-03-20 Roland McGrath <roland@hack.frob.com>
4416
4417 [BZ #14812]
4418 * locale/programs/localedef.c (options): Put N_ translation marker
4419 on argument names, not just descriptions.
4420
04eed2b0
MS
44212013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4422
4423 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4424
a065ceff
OB
44252013-03-20 Ondřej Bílka <neleai@seznam.cz>
4426
9bb2a810 4427 [BZ #14176]
a065ceff
OB
4428 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4429
a600e5ce
RM
44302013-03-19 Roland McGrath <roland@hack.frob.com>
4431
4432 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4433 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4434 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4435 [!BEFORE_ABORT] (before_abort): New function.
4436 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4437 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4438 (writev_for_fatal): New function.
4439 (WRITEV_FOR_FATAL): New macro; call that.
4440 (backtrace_and_maps): New function.
4441 (BEFORE_ABORT): New macro; call that.
4442 (struct str_list): Type removed.
4443 (__libc_message, __libc_fatal): Functions removed.
4444 Include <sysdeps/posix/libc_fatal.c> instead.
4445
6b18bea6
JM
44462013-03-19 Joseph Myers <joseph@codesourcery.com>
4447
4448 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4449 constants.
4450 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4451 double constants.
4452
aaa8cb4b
AS
44532013-03-19 Andreas Schwab <schwab@suse.de>
4454
44673770
AS
4455 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4456 * sysdeps/gnu/configure: Regenerate.
4457
aaa8cb4b
AS
4458 * configure.in: Substitute libc_cv_rtlddir.
4459 * configure: Regenerate.
4460 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4461 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4462 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4463 * elf/Makefile (install-others, CFLAGS-interp.c)
4464 (ldso_install, common-ldd-rewrite): Likewise.
4465 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4466 $(inst_slibdir)/$(rtld-installed-name).
4467 * scripts/rellns-sh: Add -p option.
4468 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4469 for source.
4470
d3cfc668
SP
44712013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4472
4473 * manual/nptl.texi: Renamed to ...
4474 * manual/threads.texi: ... this.
4475 * manual/Makefile (chapters): Update.
4476
0e2b9cdd
RM
44772013-03-18 Roland McGrath <roland@hack.frob.com>
4478
4479 [BZ #14812]
4480 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4481 on argument names, not just descriptions.
0e2b9cdd
RM
4482 * malloc/memusagestat.c (options): Likewise.
4483 * nss/getent.c (options): Likewise.
63270c24
RM
4484
44852013-03-18 Benno Schulenberg <bensberg@justemail.net>
4486
4487 [BZ #14812]
4488 * iconv/iconv_prog.c (options): Put N_ translation marker
4489 on argument names, not just descriptions.
4490 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4491
b2e1393c
OB
44922013-03-18 Ondrej Bilka <neleai@seznam.cz>
4493
4494 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4495 implementation which is faster on all x86_64 architectures.
4496 Tested on AMD, Intel Nehalem, SNB, IVB.
4497 * sysdeps/x86_64/strnlen.S: Likewise.
4498
4499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4500 Remove all multiarch strlen and strnlen versions.
4501 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4502 Remove strlen and strnlen related parts.
4503
4504 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4505 Inline strlen part.
4506 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4507
4508 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4509 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4510 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4511 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4512 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4513 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4514
ec4ff04d
CD
45152013-03-17 Carlos O'Donell <carlos@redhat.com>
4516
4517 * manual/memory.texi (Malloc Tunable Parameters):
4518 Sort parameters alphabetically. Add comments for missing entries.
4519
cd18e90a
DM
45202013-03-17 David S. Miller <davem@davemloft.net>
4521
4522 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4523
2a185d32
JM
45242013-03-16 Joseph Myers <joseph@codesourcery.com>
4525
d2f9799e
JM
4526 [BZ #15283]
4527 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4528 for arguments at most half maximum finite value.
4529 * math/libm-test.inc (j0_test): Add more tests.
4530 (j1_test): Likewise.
4531 (y0_test): Likewise.
4532 (y1_test): Likewise.
4533 * sysdeps/i386/fpu/libm-test-ulps: Update.
4534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4535
2a185d32
JM
4536 [BZ #14155]
4537 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4538 1 / x and functions P and Q for arguments above 0x1p256L.
4539 (__ieee754_y0l): Likewise.
4540 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4541 (__ieee754_y1l): Likewise.
4542 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4543 (j1_test): Likewise.
4544 (y0_test): Likewise.
4545 (y1_test): Likewise.
4546
6cbec759
TS
45472013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4548
4549 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4550 variable.
4551
bc16e260
RM
45522013-03-15 Roland McGrath <roland@hack.frob.com>
4553
aefc9b8c
RM
4554 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4555 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4556 zero since it's initialized to EXEC_PAGESIZE.
4557
bc16e260
RM
4558 * sysdeps/unix/sysv/linux/ldsodefs.h
4559 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4560 * sysdeps/generic/ldsodefs.h: ... here.
4561
a57da955
TS
45622013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4563
af00a34d
TS
4564 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4565
495ded2c
TS
4566 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4567 math/test-snan.c.
4568 * math/test-snan.c: Renamed from
4569 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4570 * math/Makefile (tests): Add test-snan.
4571 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4572 test-powerpc-snan.
4573
777b0332
TS
4574 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4575 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4576 functions.
4577 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4578 __builtin_nan family of functions.
4579 * math/libm-test.inc (initialize): Initialize qnan_value with
4580 __builtin_nan family of functions.
4581 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4582 Remove variables.
4583 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4584 Remove functions.
4585 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4586 storage class. Initialize qNaN_var and sNaN_var with
4587 __builtin_nan and __builtin_nans families of functions,
4588 respectively.
4589
64d063b8
TS
4590 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4591 (sqrt_test): Remove duplicate test with qNaN input.
4592 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4593 (round_test, signbit_test, significand_test): Note missing +/-Inf
4594 as well as qNaN tests.
4595
67e971f1
TS
4596 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4597 qNaN_var. Fix a few strings, too.
4598 * math/libm-test.inc (nan_value): Rename to qnan_value.
4599 * math/gen-libm-test.pl (%beautify): Adjust to that.
4600 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4601 * math/test-misc.c (main): Likewise.
4602 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4603 to __qnan_bytes, and __qnan_union, respectively.
4604 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4605 Likewise.
4606 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4607 and lqnanval, respectively.
4608 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4609 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4610 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4611 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4612
64487e12
TS
4613 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4614 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4615 doubles.
4616
e015e27b
TS
4617 * math/test-misc.c (main): Fix copy'n'pastos.
4618 * misc/tst-efgcvt.c (special): Likewise.
4619
a57da955
TS
4620 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4621 Remove declarations.
4622
1e380345
SP
46232013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4624
4625 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4626 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4627 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4628 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4629
ef26eece
AZ
46302013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4631
4632 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4633 macro to return vdso values correctly in IFUNC implementations.
4634 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4635 Optimization by using IFUNC.
4636
8cfdb7e0
SP
46372013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4638 Richard Henderson <rth@redhat.com>
4639 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4640
4641 * Makefile.in (bench): New target.
4642 * NEWS: Mention the benchmark framework.
4643 * Rules (bench): Likewise.
4644 (binaries-bench): Generate binaries for functions to
4645 benchmark.
4646 * benchtests/Makefile: New makefile for benchmark tests.
4647 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4648 programs.
4649 * benchtests/exp-inputs: New input file for EXP function.
4650 * benchtests/pow-inputs: New input file for POW function.
4651 * scripts/bench.pl: New script to generate source files for
4652 benchmark programs.
4653
bcda9880
SP
46542013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4655
d22ca8cd
SP
4656 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4657 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4658 computations on mantissa. Use macros for rounding and
4659 division.
4660 (denorm): Likewise.
4661 (__dbl_mp): Likewise.
4662 (add_magnitudes): Likewise.
4663 (sub_magnitudes): Likewise.
4664 (__mul): Likewise.
4665 (__sqr): Likewise.
4666 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4667 powers of two in terms of TWOPOW macro.
4668 (mp_no): Make type of mantissa as MANTISSA_T.
4669 [!RADIXI]: Define RADIXI.
4670 [!TWO52]: Define TWO52.
4671 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4672
bcda9880
SP
4673 * manual/nptl.texi (cindex): Modify threads to pthreads.
4674
06d5adfb
JM
46752013-03-15 Joseph Myers <joseph@codesourcery.com>
4676
4677 * sysdeps/x86_64/preconfigure: Regenerated.
4678
41c7328e
JM
46792013-03-14 Joseph Myers <joseph@codesourcery.com>
4680
4681 [BZ #14155]
4682 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4683 0x1p28 and above.
4684 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4685 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4686 0x1p28 and above.
4687 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4688 * math/libm-test.inc (j0_test): Do not allow one spurious
4689 underflow exception.
4690 (y1_test): Likewise.
4691
e25cfa60
SP
46922013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4693
0409959c
SP
4694 * manual/Makefile (chapters): Add nptl.
4695 * manual/debug.texi (Debugging Support): Add link to Threads
4696 chapter.
4697 * manual/nptl.texi: New file.
4698
e25cfa60
SP
4699 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4700
58a1335e
PB
47012013-03-14 Petr Baudis <pasky@ucw.cz>
4702
4703 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4704 for non-NULL pointer before the memory validity test. Pointed
4705 out by Holger Brunck <holger.brunck@keymile.com>.
4706
9dc7c64f
AS
47072013-03-13 Andreas Schwab <schwab@suse.de>
4708
4709 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4710 instead of .os.
4711
54206aa6
JM
47122013-03-13 Joseph Myers <joseph@codesourcery.com>
4713
4714 * timezone/zic.c: Update from tzcode 2013b.
4715
e98cdb38
CD
47162013-03-12 Carlos O'Donell <carlos@redhat.com>
4717
4718 * manual/install.texi (Configuring and compiling):
4719 Mention i686 and i586.
4720 * INSTALL: Regenerate.
4721
9967e003
RM
47222013-03-12 Roland McGrath <roland@hack.frob.com>
4723
4724 * sysdeps/init_array/elf-init.c: New file.
4725 * csu/elf-init.c
4726 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4727 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4728
4729 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4730 __gmon_start__ as global, but as static with a .preinit_array pointer.
4731 * sysdeps/init_array/gmon-start.c: New file. Use that.
4732 * sysdeps/init_array/crti.S: New file, empty except for comments.
4733 * sysdeps/init_array/crtn.S: Likewise.
4734
e6b5a293 47352013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
4736
4737 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4738 definining bcopy.
80f844c9
OB
4739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4740 Remove Prefer_SSE_for_memop.
4741 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4742 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4743 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
4744 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4745 memset-x86-64.
80f844c9 4746 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 4747 Remove bzero, memset ifunc support.
80f844c9
OB
4748 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4749 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4750 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4751 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4752
fb6b0fcb
AS
47532013-03-11 Andreas Schwab <schwab@suse.de>
4754
4755 [BZ #15234]
4756 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4757 by SHLIB_COMPAT.
4758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4759 (GLIBC_2.16): Remove pthread_atfork.
4760
3e6bd4b1
PP
47612013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4762
4763 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4764 (ptestcases.h): Likewise.
4765
222d7f00
RM
47662013-03-08 Roland McGrath <roland@hack.frob.com>
4767
4768 * Makeconfig ($(common-objpfx)config.status): Depend on
4769 sysdeps/*/preconfigure{,.in} too.
4770
1ba4f030
JM
47712013-03-08 Joseph Myers <joseph@codesourcery.com>
4772
a222d91a
JM
4773 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4774 (__free_hook): Use void * instead of __malloc_ptr_t.
4775 (__malloc_hook): Likewise.
4776 (__realloc_hook): Likewise.
4777 (__memalign_hook): Likewise.
4778 (__after_morecore_hook): Likewise.
4779 * malloc/arena.c (save_malloc_hook): Likewise.
4780 (save_free_hook): Likewise.
4781 * malloc/hooks.c (malloc_hook_ini): Likewise.
4782 (realloc_hook_ini): Likewise.
4783 (memalign_hook_ini): Likewise.
4784 * malloc/malloc.c (malloc_hook_ini): Likewise.
4785 (realloc_hook_ini): Likewise.
4786 (memalign_hook_ini): Likewise.
4787 (__free_hook): Likewise.
4788 (__malloc_hook): Likewise.
4789 (__realloc_hook): Likewise.
4790 (__memalign_hook): Likewise.
4791 (__libc_malloc): Likewise.
4792 (__libc_free): Likewise.
4793 (__libc_realloc): Likewise.
4794 (__libc_memalign): Likewise.
4795 (__libc_valloc): Likewise.
4796 (__libc_pvalloc): Likewise.
4797 (__libc_calloc): Likewise.
4798 (__posix_memalign): Likewise.
4799 * malloc/morecore.c (__sbrk): Likewise.
4800 (__default_morecore): Likewise.
4801
5cc45e10
JM
4802 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4803
dd54b864
JM
4804 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4805 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4806 __malloc_ptrdiff_t.
4807
1ba4f030
JM
4808 * malloc/malloc.h (__malloc_size_t): Remove macro.
4809 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4810 __malloc_size_t.
4811 (old_memalign_hook): Likewise.
4812 (old_realloc_hook): Likewise.
4813 (struct hdr): Likewise.
4814 (flood): Likewise.
4815 (mallochook): Likewise.
4816 (memalignhook): Likewise.
4817 (reallochook): Likewise.
4818 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4819 (tr_old_realloc_hook): Likewise.
4820 (tr_old_memalign_hook): Likewise.
4821 (tr_mallochook): Likewise.
4822 (tr_reallochook): Likewise.
4823 (tr_memalignhook): Likewise.
4824
edf66e57
AZ
48252013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4826
4827 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4828 default_ldbl_pack and using as default implementation.
4829 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4830 implementation.
4831 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4832 redundant definition.
4833 (ldbl_insert_mantissa): Likewise.
4834 (ldbl_canonicalize): Likewise.
4835 (ldbl_nearbyint): Likewise.
4836 (ldbl_pack): Rename to ldbl_pack_ppc.
4837 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4838 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4839 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4840
6d9145d8
SP
48412013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4842
4843 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4844 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4845 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4846 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4847 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4848 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4849 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4850 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4851
4dd4e157
AJ
48522013-03-07 Andreas Jaeger <aj@suse.de>
4853
4854 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4855 bits/mman-linux.h.
4856
adbb8027
SP
48572013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4858
ce544b5b
SP
4859 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4860 Include mpa.h and declare __MPEXP.
4861 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4862 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4863 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4864 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4865 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4866 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4867 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4868
4cc149fd
SP
4869 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4870 (__slowpow): Use long double EXPL and LOGL functions to
4871 compute POW.
4872 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4873 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4874 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4875 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4876 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4877 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4878
e6ebd4a7
SP
4879 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4880 intermediate variable to calculate exponent.
4881 (__sqr): Likewise.
4882 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4883 Likewise.
4884 (__sqr): Likewise.
4885
82a9811d
SP
4886 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4887 [!NO__SQR]: Define __sqr.
4888 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4889 and NO__SQR. Remove all code except __mul and __sqr. Include
4890 sysdeps/ieee754/dbl-64/mpa.c.
4891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4892
adbb8027
SP
4893 [BZ #12723]
4894 * posix/Makefile (tests): Add tst-pathconf.
4895 * posix/tst-pathconf.c: New test case.
4896 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4897 _PC_PIPE_BUF.
4898 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4899
39120df9
PF
49002013-03-06 Patsy Franklin <pfrankli@redhat.com>
4901
4902 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4903
67525cb8
AJ
49042013-03-06 Andreas Jaeger <aj@suse.de>
4905
664a9ce4
AJ
4906 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4907 definition via __MAP_ANONYMOUS.
4908
8e39047d
AJ
4909 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4910 it's not part of Linux headers.
4911
67525cb8
AJ
4912 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4913 (MAP_HUGE_MASK): Define.
4914
4915 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4916 Define.
4917 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4918 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4919 Define.
4920 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4921 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4922 Define.
4923 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4924 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4925 Define.
4926 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4927
4928 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4929 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4930 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4931 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4932 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4933 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4934
4935 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4936 Handle f2fs.
4937
4938 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4939 Handle f2fs and efivarfs.
4940
4941 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4942 f2fs.
4943
4944 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4945 (EFIVARFS_MAGIC): Add.
4946 (F2FS_LINK_MAX): Add.
4947
e1b42695
PP
49482013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4949
4950 * stdio-common/vfprintf.c: Replace __builtin_expect with
4951 __glibc_unlikely.
4952
2d67d91a
JM
49532013-03-06 Joseph Myers <joseph@codesourcery.com>
4954
4955 [BZ #13550]
4956 * sysdeps/generic/bp-sym.h: Remove file.
4957 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4958 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4959 <bp-sym.h> and <bp-asm.h>.
4960 (__longjmp): Don't use BP_SYM.
4961 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4962 and <bp-asm.h>.
4963 (memcpy): Don't use BP_SYM.
4964 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4965 <bp-sym.h> and <bp-asm.h>.
4966 (memcpy): Don't use BP_SYM.
4967 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4968 <bp-asm.h>.
4969 (memcpy): Don't use BP_SYM.
4970 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4971 <bp-asm.h>.
4972 (memset): Don't use BP_SYM.
4973 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4974 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4975 (__bzero): Don't use BP_SYM.
4976 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4977 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4978 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4979 <bp-sym.h> and <bp-asm.h>.
4980 (memcmp): Don't use BP_SYM. Remove comment about bounded
4981 pointers.
4982 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4983 <bp-sym.h> and <bp-asm.h>.
4984 (memcpy): Don't use BP_SYM.
4985 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4986 <bp-sym.h> and <bp-asm.h>.
4987 (memset): Don't use BP_SYM.
4988 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4989 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4990 (__bzero): Don't use BP_SYM.
4991 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4992 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4993 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4994 <bp-sym.h> and <bp-asm.h>.
4995 (strncmp): Don't use BP_SYM. Remove comment about bounded
4996 pointers.
4997 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4998 <bp-sym.h> and <bp-asm.h>.
4999 (memcpy): Don't use BP_SYM.
5000 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5001 <bp-sym.h> and <bp-asm.h>.
5002 (memset): Don't use BP_SYM.
5003 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5004 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5005 (__bzero): Don't use BP_SYM.
5006 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5007 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5008 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5009 <bp-sym.h> and <bp-asm.h>.
5010 (__memchr): Don't use BP_SYM.
5011 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5012 <bp-sym.h> and <bp-asm.h>.
5013 (memcmp): Don't use BP_SYM. Remove comment about bounded
5014 pointers.
5015 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5016 <bp-sym.h> and <bp-asm.h>.
5017 (memcpy): Don't use BP_SYM.
5018 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5019 <bp-sym.h> and <bp-asm.h>.
5020 (__mempcpy): Don't use BP_SYM.
5021 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5022 <bp-sym.h> and <bp-asm.h>.
5023 (__memrchr): Don't use BP_SYM.
5024 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5025 <bp-sym.h> and <bp-asm.h>.
5026 (memset): Don't use BP_SYM.
5027 (__bzero): Likewise.
5028 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5029 <bp-sym.h> and <bp-asm.h>.
5030 (__rawmemchr): Don't use BP_SYM.
5031 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5032 <bp-sym.h> and <bp-asm.h>.
5033 (__STRCMP): Don't use BP_SYM.
5034 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5035 <bp-sym.h> and <bp-asm.h>.
5036 (strchr): Don't use BP_SYM.
5037 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5038 <bp-sym.h> and <bp-asm.h>.
5039 (__strchrnul): Don't use BP_SYM.
5040 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5041 <bp-sym.h> and <bp-asm.h>.
5042 (strlen): Don't use BP_SYM.
5043 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5044 <bp-sym.h> and <bp-asm.h>.
5045 (strncmp): Don't use BP_SYM. Remove comment about bounded
5046 pointers.
5047 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5048 <bp-sym.h> and <bp-asm.h>.
5049 (__strnlen): Don't use BP_SYM.
5050 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5051 <bp-sym.h> and <bp-asm.h>.
5052 (__GI__setjmp): Don't use BP_SYM.
5053 (_setjmp): Likewise.
5054 (__sigsetjmp): Likewise.
5055 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5056 (L(start_addresses)): Don't use BP_SYM.
5057 (_start): Likewise.
5058 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5059 <bp-asm.h>.
5060 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5061 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5062 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5063 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5064 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5065 <bp-asm.h>.
5066 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5067 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5068 about bounded pointers.
5069 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5070 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5071 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5072 <bp-asm.h>.
5073 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5074 about bounded pointers. Remove GKM FIXME comments.
5075 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5076 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5077 <bp-asm.h>.
5078 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5079 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5080 Remove GKM FIXME comments.
5081 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5082 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5083 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5084 <bp-asm.h>.
5085 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5086 about bounded pointers. Remove GKM FIXME comment.
5087 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5088 and <bp-asm.h>.
5089 (strncmp): Don't use BP_SYM. Remove comment about bounded
5090 pointers.
5091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5092 <bp-sym.h> and <bp-asm.h>.
5093 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5095 <bp-sym.h> and <bp-asm.h>.
5096 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5097 comment.
5098
cdcf361f
PP
50992013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5100
5101 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5102 call free(NULL).
5103
3c4a2b15
DM
51042013-03-05 David S. Miller <davem@davemloft.net>
5105
5106 * po/es.po: Update from translation team.
5107
cdcf361f 51082013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5109
5110 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5111 <bits/mman-linux.h>.
5112 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5113 is fine.
5114 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5115 <bits/mman-linux.h> to end of file.
5116 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5117 is fine.
5118 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5119 <bits/mman-linux.h> to end of file.
5120 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5121 is fine.
5122 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5123 <bits/mman-linux.h> to end of file.
5124
5125 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5126 (MCL_CURRENT, MCL_FUTURE): Define here.
5127
5f67c04f
AK
51282013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5129
8a4473cc 5130 [BZ #15232]
5f67c04f
AK
5131 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5132 attribute_hidden.
5133 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5134
c3e94a95
AK
51352013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5136
5137 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5138 fourth parameter needed for rt_sigprocmask syscall.
5139 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5140 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5141 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5142 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5143 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5144 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5145
cfb6382a
JM
51462013-03-04 Joseph Myers <joseph@codesourcery.com>
5147
5148 [BZ #13550]
5149 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5150 comment about bounded pointers.
5151 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5152 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5153
539d8e01
AJ
51542013-03-04 Andreas Jaeger <aj@suse.de>
5155
5156 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5157 common definitions.
5158
5159 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5160 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5161 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5162 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5163 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5164 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5165
2e167a70 51662013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5167
5168 [BZ #15055]
5169 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5170 __ieee754_sqrl instead of __sqrl.
5171
68508633
JM
51722013-03-01 Joseph Myers <joseph@codesourcery.com>
5173
5174 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5175 * sysdeps/powerpc/fpu_control.h: ... here.
5176 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5177 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5178 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5179 * sysdeps/powerpc/bits/mathinline.h: ... here.
5180
7775448e
RM
51812013-03-01 Roland McGrath <roland@hack.frob.com>
5182
5183 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5184 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5185 to just [NEED_DL_SYSINFO_DSO].
5186 * elf/dl-support.c: Likewise.
5187 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5188 * elf/rtld.c (dl_main): Likewise.
5189 * elf/setup-vdso.h (setup_vdso): Likewise.
5190 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5191 * sysdeps/unix/sysv/linux/dl-sysdep.c
5192 (_dl_discover_osversion): Likewise.
5193
4e9b5995
CD
51942013-03-01 Carlos O'Donell <carlos@redhat.com>
5195
5196 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5197 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5198
e23872c8
SP
51992013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5200
e5c74c63
SP
5201 * NEWS: Mention libm performance improvements and non-x86 PI
5202 futex support.
5203
e23872c8
SP
5204 * csu/libc-start.c (__pthread_initialize_minimal): Change
5205 function arguments.
5206 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5207
b5510883
JM
52082013-02-28 Joseph Myers <joseph@codesourcery.com>
5209
5210 [BZ #13550]
5211 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5212 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5213 <bp-sym.h> and <bp-asm.h>.
5214 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5215 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5216 and <bp-asm.h>.
5217 (memcpy): Don't use BP_SYM.
5218 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5219 <bp-asm.h>.
5220 (__mpn_add_n): Don't use BP_SYM.
5221 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5222 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5223 and <bp-asm.h>.
5224 (__mpn_addmul_1): Don't use BP_SYM.
5225 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5226 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5227 <bp-sym.h>.
5228 (_setjmp): Don't use BP_SYM.
5229 (__novmx_setjmp): Likewise.
5230 (__GI__setjmp): Likewise.
5231 (__vmx_setjmp): Likewise.
5232 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5233 <bp-sym.h>.
5234 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5235 (__bzero): Don't use BP_SYM.
5236 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5237 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5238 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5239 <bp-sym.h> and <bp-asm.h>.
5240 (memcpy): Don't use BP_SYM.
5241 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5242 <bp-sym.h> and <bp-asm.h>.
5243 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5244 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5245 <bp-sym.h> and <bp-asm.h>.
5246 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5247 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5248 <bp-asm.h>.
5249 (__mpn_lshift): Don't use BP_SYM.
5250 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5251 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5252 <bp-asm.h>.
5253 (memset): Don't use BP_SYM.
5254 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5255 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5256 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5257 <bp-asm.h>.
5258 (__mpn_mul_1): Don't use BP_SYM.
5259 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5260 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5261 <bp-sym.h> and <bp-asm.h>.
5262 (memcmp): Don't use BP_SYM.
5263 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5264 <bp-sym.h> and <bp-asm.h>.
5265 (memcpy): Don't use BP_SYM.
5266 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5267 <bp-sym.h> and <bp-asm.h>.
5268 (memset): Don't use BP_SYM.
5269 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5270 <bp-sym.h> and <bp-asm.h>.
5271 (strncmp): Don't use BP_SYM.
5272 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5273 <bp-sym.h> and <bp-asm.h>.
5274 (memcpy): Don't use BP_SYM.
5275 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5276 <bp-sym.h> and <bp-asm.h>.
5277 (memset): Don't use BP_SYM.
5278 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5279 <bp-sym.h> and <bp-asm.h>.
5280 (__memchr): Don't use BP_SYM.
5281 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5282 <bp-sym.h> and <bp-asm.h>.
5283 (memcmp): Don't use BP_SYM.
5284 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5285 <bp-sym.h> and <bp-asm.h>.
5286 (memcpy): Don't use BP_SYM.
5287 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5288 <bp-sym.h> and <bp-asm.h>.
5289 (__mempcpy): Don't use BP_SYM.
5290 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5291 <bp-sym.h> and <bp-asm.h>.
5292 (__memrchr): Don't use BP_SYM.
5293 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5294 <bp-sym.h> and <bp-asm.h>.
5295 (memset): Don't use BP_SYM.
5296 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5297 <bp-sym.h> and <bp-asm.h>.
5298 (__rawmemchr): Don't use BP_SYM.
5299 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5300 <bp-sym.h> and <bp-asm.h>.
5301 (__STRCMP): Don't use BP_SYM.
5302 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5303 <bp-sym.h> and <bp-asm.h>.
5304 (strchr): Don't use BP_SYM.
5305 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5306 <bp-sym.h> and <bp-asm.h>.
5307 (__strchrnul): Don't use BP_SYM.
5308 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5309 <bp-sym.h> and <bp-asm.h>.
5310 (strlen): Don't use BP_SYM.
5311 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5312 <bp-sym.h> and <bp-asm.h>.
5313 (strncmp): Don't use BP_SYM.
5314 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5315 <bp-sym.h> and <bp-asm.h>.
5316 (__strnlen): Don't use BP_SYM.
5317 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5318 <bp-asm.h>.
5319 (__mpn_rshift): Don't use BP_SYM.
5320 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5321 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5322 <bp-sym.h> and <bp-asm.h>.
5323 (__sigsetjmp): Don't use BP_SYM.
5324 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5325 (L(start_addresses)): Don't use BP_SYM.
5326 (_start): Likewise.
5327 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5328 <bp-asm.h>.
5329 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5330 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5331 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5332 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5333 <bp-asm.h>.
5334 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5335 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5336 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5337 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5338 <bp-asm.h>.
5339 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5340 comments.
5341 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5342 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5343 <bp-asm.h>.
5344 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5345 FIXME comments.
5346 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5347 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5348 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5349 <bp-asm.h>.
5350 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5351 comment.
5352 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5353 and <bp-asm.h>.
5354 (strncmp): Don't use BP_SYM,
5355 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5356 <bp-asm.h>.
5357 (__mpn_sub_n): Don't use BP_SYM.
5358 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5359 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5360 and <bp-asm.h>.
5361 (__mpn_submul_1): Don't use BP_SYM.
5362 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5363 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5364 <bp-sym.h> and <bp-asm.h>.
5365 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5367 <bp-sym.h> and <bp-asm.h>.
5368 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5369 comment.
5370
8d19fe64
SP
53712013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5372
5373 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5374 Use ZK to minimize writes to Z.
5375 (sub_magnitudes): Simplify code a bit.
5376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5377 Use ZK to minimize writes to Z.
5378 (sub_magnitudes): Simplify code a bit.
5379
85bd816a
RM
53802013-02-27 Roland McGrath <roland@hack.frob.com>
5381
5382 * csu/gmon-start.c: Add special exception to license text.
5383
b5977bf2
RH
53842013-02-27 Richard Henderson <rth@redhat.com>
5385
5386 * scripts/config.guess: Update from config.git.
5387 * scripts/config.sub: Likewise.
5388
11d6e2f2
SP
53892013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5390
09c14ed2
SP
5391 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5392
a688864e
SP
5393 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5394
6295157a
SP
5395 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5396
b8de2202
SP
5397 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5398
11d6e2f2
SP
5399 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5400
7e80ddb8
RM
54012013-02-26 Roland McGrath <roland@hack.frob.com>
5402
5403 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5404 [$(build-shared = yes].
7e80ddb8 5405
7da6d9ed
SP
54062013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5407
45f05884
SP
5408 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5409 (__mul): Reduce iterations for calculating mantissa.
5410
2236d359
SP
5411 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5412 MPTWO.
5413 (__mpranred): Likewise.
5414
7da6d9ed
SP
5415 [BZ #15160]
5416 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5417 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5418
b7688c42
PE
54192013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5420
5421 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5422 Define __attribute__.
5423
53a5c423
SP
54242013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5425
5426 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5427 unused.
5428 * posix/regex_internal.h (__attribute): Remove.
5429 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5430 (re_string_context_at): Likewise.
5431 (bitset_not): Use __attribute__ and mark function as possibly
5432 unused.
5433 (bitset_merge): Likewise.
5434 (bitset_mask): Likewise.
5435 (re_string_char_size_at): Likewise.
5436 (re_string_wchar_at): Likewise.
5437 (re_string_elem_size_at): Likewise.
5438
60f5a8b5
SP
54392013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5440
2a983a2e
SP
5441 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5442 code.
5443 (cc32): Likewise.
5444
e69804d1
SP
5445 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5446 (__acr): Likewise.
5447 (__cpy): Likewise.
5448 (norm): Likewise.
5449 (denorm): Likewise.
5450 (__dbl_mp): Likewise.
5451 (add_magnitudes): Likewise.
5452 (sub_magnitudes): Likewise.
5453 (__mul): Likewise.
5454 (__inv): Likewise.
5455
2f22a1e8
SP
5456 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5457 style.
5458
8930ddc7
SP
5459 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5460 style.
5461
dc60cb11
SP
5462 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5463 code.
5464
60f5a8b5
SP
5465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5466 up changes with default code.
5467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5468 Likewise.
5469
b4d1fd33
AM
54702013-02-24 Allan McRae <allan@archlinux.org>
5471
faf6f8bc
AM
5472 * manual/socket.texi (The Internet Namespace): Order menu items
5473 to match that in the file.
5474
b4d1fd33
AM
5475 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5476 node listing of the info page menu.
5477
2366713d
JM
54782013-02-21 Joseph Myers <joseph@codesourcery.com>
5479
5480 [BZ #13550]
5481 * sysdeps/i386/bp-asm.h: Remove file.
5482 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5483 (PARMS): Do not use macros from bp-asm.h.
5484 (S1): Likewise.
5485 (S2): Likewise.
5486 (SIZE): Likewise.
5487 (__mpn_add_n): Do not use BP_SYM
5488 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5489 "bp-asm.h".
5490 (PARMS): Do not use macros from bp-asm.h.
5491 (S1): Likewise.
5492 (SIZE): Likewise.
5493 (__mpn_addmul_1): Do not use BP_SYM
5494 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5495 "bp-asm.h".
5496 (PARMS): Do not use macros from bp-asm.h.
5497 (SIGMSK): Likewise.
5498 (_setjmp): Likewise. Do not use BP_SYM.
5499 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5500 "bp-asm.h".
5501 (PARMS): Do not use macros from bp-asm.h.
5502 (SIGMSK): Likewise.
5503 (setjmp): Likewise. Do not use BP_SYM.
5504 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5505 "bp-asm.h".
5506 (PARMS): Do not use macros from bp-asm.h.
5507 (__frexp): Do not use BP_SYM.
5508 (frexp): Likewise.
5509 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5510 "bp-asm.h".
5511 (PARMS): Do not use macros from bp-asm.h.
5512 (__frexpf): Do not use BP_SYM.
5513 (frexpf): Likewise.
5514 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5515 "bp-asm.h".
5516 (PARMS): Do not use macros from bp-asm.h.
5517 (__frexpl): Do not use BP_SYM.
5518 (frexpl): Likewise.
5519 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5520 "bp-asm.h".
5521 (PARMS): Do not use macros from bp-asm.h.
5522 (__remquo): Do not use BP_SYM.
5523 (remquo): Likewise.
5524 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5525 "bp-asm.h".
5526 (PARMS): Do not use macros from bp-asm.h.
5527 (__remquof): Do not use BP_SYM.
5528 (remquof): Likewise.
5529 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5530 "bp-asm.h".
5531 (PARMS): Do not use macros from bp-asm.h.
5532 (__remquol): Do not use BP_SYM.
5533 (remquol): Likewise.
5534 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5535 "bp-asm.h".
5536 (PARMS): Do not use macros from bp-asm.h.
5537 (DEST): Likewise.
5538 (SRC): Likewise.
5539 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5540 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5541 "bp-asm.h".
5542 (PARMS): Do not use macros from bp-asm.h.
5543 (strlen): Do not use BP_SYM.
5544 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5545 "bp-asm.h".
5546 (PARMS): Do not use macros from bp-asm.h.
5547 (S1): Likewise.
5548 (S2): Likewise.
5549 (SIZE): Likewise.
5550 (__mpn_add_n): Do not use BP_SYM.
5551 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5552 "bp-asm.h".
5553 (PARMS): Do not use macros from bp-asm.h.
5554 (S1): Likewise.
5555 (SIZE): Likewise.
5556 (__mpn_addmul_1): Do not use BP_SYM.
5557 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5558 weak_alias.
5559 (bzero): Likewise.
5560 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5561 "bp-asm.h".
5562 (PARMS): Do not use macros from bp-asm.h.
5563 (S): Likewise.
5564 (SIZE): Likewise.
5565 (__mpn_lshift): Do not use BP_SYM.
5566 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5567 "bp-asm.h".
5568 (PARMS): Do not use macros from bp-asm.h.
5569 (DEST): Likewise.
5570 (SRC): Likewise.
5571 (LEN): Likewise.
5572 (memcpy): Likewise. Do not use BP_SYM.
5573 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5574 libc_hidden_def and weak_alias.
5575 (mempcpy): Do not use BP_SYM in weak_alias.
5576 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5577 "bp-asm.h".
5578 (PARMS): Do not use macros from bp-asm.h.
5579 (DEST): Likewise.
5580 (LEN): Likewise.
5581 [!BZERO_P] (CHR): Likewise.
5582 (memset): Likewise. Do not use BP_SYM.
5583 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5584 "bp-asm.h".
5585 (PARMS): Do not use macros from bp-asm.h.
5586 (S1): Likewise.
5587 (SIZE): Likewise.
5588 (__mpn_mul_1): Do not use BP_SYM.
5589 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5590 "bp-asm.h".
5591 (PARMS): Do not use macros from bp-asm.h.
5592 (S): Likewise.
5593 (SIZE): Likewise.
5594 (__mpn_rshift): Do not use BP_SYM.
5595 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5596 "bp-asm.h".
5597 (PARMS): Do not use macros from bp-asm.h.
5598 (STR): Likewise.
5599 (CHR): Likewise.
5600 (strchr): Likewise. Do not use BP_SYM.
5601 (index): Do not use BP_SYM in weak_alias.
5602 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5603 "bp-asm.h".
5604 (PARMS): Do not use macros from bp-asm.h.
5605 (DEST): Likewise.
5606 (SRC): Likewise.
5607 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5608 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5609 "bp-asm.h".
5610 (PARMS): Do not use macros from bp-asm.h.
5611 (strlen): Do not use BP_SYM.
5612 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5613 "bp-asm.h".
5614 (PARMS): Do not use macros from bp-asm.h.
5615 (S1): Likewise.
5616 (S2): Likewise.
5617 (SIZE): Likewise.
5618 (__mpn_sub_n): Do not use BP_SYM.
5619 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5620 "bp-asm.h".
5621 (PARMS): Do not use macros from bp-asm.h.
5622 (S1): Likewise.
5623 (SIZE): Likewise.
5624 (__mpn_submul_1): Do not use BP_SYM.
5625 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5626 "bp-asm.h".
5627 (PARMS): Do not use macros from bp-asm.h.
5628 (S1): Likewise.
5629 (S2): Likewise.
5630 (SIZE): Likewise.
5631 (__mpn_add_n): Do not use BP_SYM.
5632 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5633 weak_alias.
5634 (bzero): Likewise.
5635 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5636 "bp-asm.h".
5637 (PARMS): Do not use macros from bp-asm.h.
5638 (BLK2): Likewise.
5639 (LEN): Likewise.
5640 (memcmp): Do not use BP_SYM.
5641 (bcmp): Do not use BP_SYM in weak_alias.
5642 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5643 "bp-asm.h".
5644 (PARMS): Do not use macros from bp-asm.h.
5645 (DEST): Likewise.
5646 (SRC): Likewise.
5647 (LEN): Likewise.
5648 (memcpy): Likewise. Do not use BP_SYM.
5649 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5650 "bp-asm.h".
5651 (PARMS): Do not use macros from bp-asm.h.
5652 (DEST): Likewise.
5653 (SRC): Likewise.
5654 (LEN): Likewise.
5655 (memmove): Likewise. Do not use BP_SYM.
5656 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5657 "bp-asm.h".
5658 (PARMS): Do not use macros from bp-asm.h.
5659 (DEST): Likewise.
5660 (SRC): Likewise.
5661 (LEN): Likewise.
5662 (__mempcpy): Likewise. Do not use BP_SYM.
5663 (mempcpy): Do not use BP_SYM in weak_alias.
5664 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5665 "bp-asm.h".
5666 (PARMS): Do not use macros from bp-asm.h.
5667 (DEST): Likewise.
5668 (LEN): Likewise.
5669 [!BZERO_P] (CHR): Likewise.
5670 (memset): Likewise. Do not use BP_SYM.
5671 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5672 "bp-asm.h".
5673 (PARMS): Do not use macros from bp-asm.h.
5674 (STR2): Likewise.
5675 (strcmp): Do not use BP_SYM.
5676 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5677 "bp-asm.h".
5678 (PARMS): Do not use macros from bp-asm.h.
5679 (STR): Likewise.
5680 (DELIM): Likewise.
5681 [USE_AS_STRTOK_R] (SAVE): Likewise.
5682 (FUNCTION): Likewise. Do not use BP_SYM.
5683 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5684 aliases.
5685 (strtok_r): Likewise.
5686 (__GI___strtok_r): Likewise.
5687 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5688 (PARMS): Do not use macros from bp-asm.h.
5689 (S): Likewise.
5690 (SIZE): Likewise.
5691 (__mpn_lshift): Do not use BP_SYM.
5692 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5693 (PARMS): Do not use macros from bp-asm.h.
5694 (STR): Likewise.
5695 (CHR): Likewise.
5696 (__memchr): Do not use BP_SYM.
5697 (memchr): Do not use BP_SYM in weak_alias.
5698 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5699 (PARMS): Do not use macros from bp-asm.h.
5700 (BLK2): Likewise.
5701 (LEN): Likewise.
5702 (memcmp): Do not use BP_SYM.
5703 (bcmp): Do not use BP_SYM in weak_alias.
5704 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5705 (PARMS): Do not use macros from bp-asm.h.
5706 (S1): Likewise.
5707 (SIZE): Likewise.
5708 (__mpn_mul_1): Do not use BP_SYM.
5709 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5710 "bp-asm.h".
5711 (PARMS): Do not use macros from bp-asm.h.
5712 (STR): Likewise.
5713 (CHR): Likewise.
5714 (__rawmemchr): Do not use BP_SYM.
5715 (rawmemchr): Do not use BP_SYM in weak_alias.
5716 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5717 (PARMS): Do not use macros from bp-asm.h.
5718 (S): Likewise.
5719 (SIZE): Likewise.
5720 (__mpn_rshift): Do not use BP_SYM.
5721 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5722 (PARMS): Do not use macros from bp-asm.h.
5723 (SIGMSK): Likewise.
5724 (__sigsetjmp): Likewise. Do not use BP_SYM.
5725 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5726 (_start): Do not use BP_SYM.
5727 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5728 (PARMS): Do not use macros from bp-asm.h.
5729 (DEST): Likewise.
5730 (SRC): Likewise.
5731 (__stpcpy): Likewise. Do not use BP_SYM.
5732 (stpcpy): Do not use BP_SYM in weak_alias.
5733 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5734 "bp-asm.h".
5735 (PARMS): Do not use macros from bp-asm.h.
5736 (DEST): Likewise.
5737 (SRC): Likewise.
5738 (LEN): Likewise.
5739 (__stpncpy): Likewise. Do not use BP_SYM.
5740 (stpncpy): Do not use BP_SYM in weak_alias.
5741 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5742 (PARMS): Do not use macros from bp-asm.h.
5743 (STR): Likewise.
5744 (CHR): Likewise.
5745 (strchr): Likewise. Do not use BP_SYM.
5746 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5747 "bp-asm.h".
5748 (PARMS): Do not use macros from bp-asm.h.
5749 (STR): Likewise.
5750 (CHR): Likewise.
5751 (__strchrnul): Likewise. Do not use BP_SYM.
5752 (strchrnul): Do not use BP_SYM in weak_alias.
5753 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5754 "bp-asm.h".
5755 (PARMS): Do not use macros from bp-asm.h.
5756 (STOP): Likewise.
5757 (strcspn): Do not use BP_SYM.
5758 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5759 "bp-asm.h".
5760 (PARMS): Do not use macros from bp-asm.h.
5761 (STR): Likewise.
5762 (STOP): Likewise.
5763 (strpbrk): Likewise. Do not use BP_SYM.
5764 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5765 "bp-asm.h".
5766 (PARMS): Do not use macros from bp-asm.h.
5767 (STR): Likewise.
5768 (CHR): Likewise.
5769 (strrchr): Likewise. Do not use BP_SYM.
5770 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5771 (PARMS): Do not use macros from bp-asm.h.
5772 (SKIP): Likewise.
5773 (strspn): Do not use BP_SYM.
5774 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5775 (PARMS): Do not use macros from bp-asm.h.
5776 (STR): Likewise.
5777 (DELIM): Likewise.
5778 (SAVE): Likewise.
5779 (FUNCTION): Likewise. Do not use BP_SYM.
5780 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5781 aliases.
5782 (strtok_r): Likewise.
5783 (__GI___strtok_r): Likewise.
5784 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5785 (PARMS): Do not use macros from bp-asm.h.
5786 (S1): Likewise.
5787 (S2): Likewise.
5788 (SIZE): Likewise.
5789 (__mpn_sub_n): Do not use BP_SYM.
5790 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5791 "bp-asm.h".
5792 (PARMS): Do not use macros from bp-asm.h.
5793 (S1): Likewise.
5794 (SIZE): Likewise.
5795 (__mpn_submul_1): Do not use BP_SYM.
5796 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5797 <bp-sym.h>.
5798 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5799 and <bp-asm.h>.
5800 (PARMS): Do not use macros from bp-asm.h.
5801 (FLAGS): Likewise.
5802 (PTID): Likewise.
5803 (TLS): Likewise.
5804 (CTID): Likewise.
5805 (__clone): Do not use BP_SYM.
5806 (clone): Do not use BP_SYM in weak_alias.
5807 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5808 and <bp-asm.h>.
5809 (PARMS): Do not use macros from bp-asm.h.
5810 (LEN): Likewise.
5811 (__mmap64): Do not use BP_SYM.
5812 (mmap64): Do not use BP_SYM in weak_alias.
5813 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5814 <bp-sym.h> and <bp-asm.h>.
5815 (PARMS): Do not use macros from bp-asm.h.
5816 (__posix_fadvise64_l64): Do not use BP_SYM.
5817 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5818 (PARMS): Do not use macros from bp-asm.h.
5819 (NSOPS): Likewise.
5820 (semtimedop): Do not use BP_SYM.
5821 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5822 and <bp-asm.h>.
5823
582a3cff
AM
58242013-02-21 Allan McRae <allan@archlinux.org>
5825
5826 * manual/message.texi (Charset conversion in gettext):
5827 Move @end statement to beginning of line.
5828
bab8a695
SP
58292013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5830
80945231
SP
5831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5832 static.
5833 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5834 Likewise.
5835
bab8a695
SP
5836 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5837 (denorm): Likewise.
5838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5839 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5840
e21d7aa7
AK
58412013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5842
5843 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5844 tail-call to the resolved function if pltexit isn't needed.
5845
4c7a4263
SP
58462013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5847
5848 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5849 or Y being zero as being unlikely.
5850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5851 Likewise.
5852
41f49342
CD
58532013-02-20 Carlos O'Donell <carlos@redhat.com>
5854
5855 * manual/nss.texi (System Databases and Name Service Switch):
5856 Remove frobnicate @pxref.
5857
50022a93
TS
58582013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5859
5860 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5861 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5862
08cbd996
PM
58632013-02-20 Petr Machata <pmachata@redhat.com>
5864
5865 * elf/elf.h (R_ARM_TARGET1): New macro.
5866 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5867 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5868 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5869 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5870 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5871 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5872 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5873 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5874 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5875 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5876 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5877 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5878 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5879 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5880 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5881 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5882 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5883 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5884 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5885 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5886 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5887 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5888 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5889 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5890 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5891 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5892 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5893 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5894 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5895 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5896 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5897 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5898 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5899 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5900 (R_ARM_THM_GOT_BREL12): Likewise.
5901 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5902 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5903 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5904 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5905 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5906 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5907 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5908 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5909 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5910
c7b275d6
TS
59112013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5912
5913 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5914 __attribute_used__ to __attribute__ ((unused)).
5915
20cd7fb3
SP
59162013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5917
5918 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5919 powerpc mpa.c.
5920 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5921 comment formatting.
5922 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5923
92945b52
JM
59242013-02-19 Joseph Myers <joseph@codesourcery.com>
5925
5926 [BZ #13550]
5927 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5928 Remove macro.
5929 (ENTER): Remove both macro definitions.
5930 (LEAVE): Likewise.
5931 (CHECK_BOUNDS_LOW): Likewise.
5932 (CHECK_BOUNDS_HIGH): Likewise.
5933 (CHECK_BOUNDS_BOTH): Likewise.
5934 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5935 (RETURN_BOUNDED_POINTER): Likewise.
5936 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5937 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5938 (POP_ERRNO_LOCATION_RETURN): Likewise.
5939 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5940 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5941 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5942 macros.
5943 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5944 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5945 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5946 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5947 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5948 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5949 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5950 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5951 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5952 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5953 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5954 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5955 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5956 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5957 removed macros.
5958 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5959 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5960 macros.
5961 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5962 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5963 * sysdeps/i386/i586/memset.S (memset): Likewise.
5964 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5965 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5966 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5967 macros.
5968 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5969 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5970 Change uses of L(2) to L(out).
5971 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5972 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5973 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5974 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5975 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5976 removed macros.
5977 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5978 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5979 macros.
5980 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5981 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5982 (RETURN): Do not use macro LEAVE.
5983 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5984 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5985 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5986 * sysdeps/i386/i686/memset.S (memset): Likewise.
5987 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5988 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5989 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5990 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5991 Likewise.
5992 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5993 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
5994 L(1_2) and L(1_3) into L(1).
5995 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5996 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5997 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5998 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5999 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6000 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6001 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6002 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6003 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6004 macros.
6005 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6006 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6007 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6008 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6009 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6010 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6011 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6012 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6013 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6014 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6015 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6016 * sysdeps/i386/strspn.S (strspn): Likewise.
6017 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6018 conditional code.
6019 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6020 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6021 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6022 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6023 L(1_3) into L(1_1).
6024 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6025 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6026 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6027 macros.
6028 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6029
2389741a
JJ
60302013-02-19 Jakub Jelinek <jakub@redhat.com>
6031
6032 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6033 macro.
6034
2016b3cd
SP
60352013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6036
e4f22324
SP
6037 * math/atest-exp.c (exp_mpn): Remove ROUND.
6038 * math/atest-exp2.c (exp_mpn): Likewise.
6039 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6040
2016b3cd
SP
6041 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6042 * stdlib/tst-tls-atexit-lib.c: Likewise.
6043 * stdlib/tst-tls-atexit.c: Likewise.
6044
4be9b544
MF
60452013-02-18 Mike Frysinger <vapier@gentoo.org>
6046
6047 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6048 and __attribute_alloc_size__.
6049
2f62b9ee
MF
60502013-02-18 Mike Frysinger <vapier@gentoo.org>
6051
6052 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6053 __attribute_alloc_size__.
6054 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6055 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6056
6ff444c4
MF
60572013-02-18 Mike Frysinger <vapier@gentoo.org>
6058
6059 * include/programs/xmalloc.h: New file.
6060 * catgets/gencat.c: Include it.
6061 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6062 * elf/pldd.c: Likewise.
6063 * iconv/iconv_charmap.c: Likewise.
6064 * iconv/iconvconfig.c: Likewise.
6065 * iconv/strtab.c: Likewise.
6066 * locale/programs/locale.c: Likewise.
6067 * locale/programs/localedef.h: Likewise.
6068 * locale/programs/simple-hash.c: Likewise.
6069 * nscd/nscd.h: Likewise.
6070 * nss/makedb.c: Likewise.
6071 * sysdeps/generic/ldconfig.h: Likewise.
6072
be179c8a
SP
60732013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6074
ba384f6e
SP
6075 * Versions.def: Add GLIBC_2.18.
6076 * include/link.h (struct link_map): New member l_tls_dtor_count.
6077 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6078 (__call_tls_dtors): Likewise.
6079 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6080 __cxa_thread_atexit_impl.
6081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6082 Likewise.
6083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6084 Likewise.
6085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6086 Likewise.
6087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6088 Likewise.
6089 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6091 Likewise.
6092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6093 Likewise.
6094 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6095 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6096 Likewise.
6097 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6098 (tests): Add test case tst-tls-atexit.
6099 (modules-names): Add shared library for tst-tls-atexit.
6100 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6101 (GLIBC_PRIVATE): Add __call_tls_dtors.
6102 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6103 for libstdc++.
6104 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6105 * stdlib/tst-tls-atexit.c: New test case.
6106 * stdlib/tst-tls-atexit-lib.c: New test case.
6107
ffaa74cf 6108 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6109
be179c8a
SP
6110 * elf/Versions (ld): Add _dl_find_dso_for_object.
6111 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6112 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6113 (dl_open_worker): Use _dl_find_dso_for_object.
6114 * elf/dl-sym.c (do_sym): Likewise.
6115 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6116
f78b5caa
AK
61172013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6118
6119 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6120 Syntactic changes only.
6121 (_dl_runtime_profile): Do a tail-call to the resolved function.
6122
29691210
JM
61232013-02-17 Joseph Myers <joseph@codesourcery.com>
6124
6125 [BZ #13550]
6126 * sysdeps/x86_64/bp-asm.h: Remove file.
6127 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6128 <bp-sym.h> and <bp-asm.h>.
6129 (__clone): Do not use BP_SYM.
6130 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6131 <bp-sym.h> and <bp-asm.h>.
6132 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6133 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6134 "bp-asm.h".
6135 (_setjmp): Do not use BP_SYM.
6136 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6137 "bp-asm.h".
6138 (setjmp): Do not use BP_SYM.
6139 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6140 libc_hidden_def.
6141 (mempcpy): Do not use BP_SYM in weak_alias.
6142 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6143 "bp-asm.h".
6144 (strchr): Do not use BP_SYM.
6145 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6146 "bp-asm.h".
6147 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6148 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6149 (_start): Do not use BP_SYM.
6150 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6151 "bp-asm.h".
6152 (strcat): Do not use BP_SYM.
6153 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6154 "bp-asm.h".
6155 (STRCMP): Do not use BP_SYM.
6156 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6157 "bp-asm.h".
6158 (STRCPY): Do not use BP_SYM.
6159 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6160 "bp-asm.h".
6161 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6162 "bp-asm.h".
6163 (FUNCTION): Do not use BP_SYM.
6164 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6165 weak_alias.
6166 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6167
f238fd19
AJ
61682013-02-17 Andreas Jaeger <aj@suse.de>
6169
6170 * time/Versions: Sort entries.
6171 * string/Versions: Likewise.
6172 * resolv/Versions: Likewise.
6173 * posix/Versions: Likewise.
6174 * iconv/Versions: Likewise.
6175 * elf/Versions: Likewise.
6176 * wcsmbs/Versions: Likewise.
6177
bd07f23c 61782013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6179
22af19f9
SP
6180 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6181 loop termination condition.
6182
4709fe76
SP
6183 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6184 variable to calculate EZ.
6185 (__sqr): Likewise.
2d0e0f29
SP
6186
6187 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6188 the lower precision input.
6189
daaa7713
JM
61902013-02-15 Joseph Myers <joseph@codesourcery.com>
6191
6192 [BZ #13550]
6193 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6194 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6195 (run-via-rtld-prefix): Do not handle %-bp tests.
6196 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6197 (all-object-suffixes): Remove .ob.
6198 (bppfx): Remove variable.
6199 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6200 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6201 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6202 [$(build-bounded) = yes] (libtype.ob): Likewise.
6203 * Makerules (elide-routines.ob): Remove variable.
6204 (do-tests-clean): Do not handle *-bp.out.
6205 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6206 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6207 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6208 (tests): Do not include $(tests-bp.out).
6209 (xtests): Do not include $(xtests-bp.out).
6210 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6211 [$(build-bounded) = yes] ($(addprefix
6212 $(objpfx),$(binaries-bounded))): Remove rule.
6213 ($(objpfx)%-bp.out): Remove rule.
6214 * config.make.in (build-bounded): Remove variable.
6215 * crypt/Makefile [$(build-bounded) = yes]
6216 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6217 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6218 append to variable.
6219 [$(build-bounded) = yes] (install-lib): Likewise.
6220 [$(build-bounded) = yes] (generated): Likewise.
6221 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6222 Remove rule.
6223 * intl/Makefile [$(build-bounded) = yes]
6224 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6225 * math/Makefile [$(build-bounded) = yes]
6226 ($(tests:%=$(objpfx)%-bp): Likewise.
6227 * misc/Makefile [$(build-bounded) = yes]
6228 ($(objpfx)tst-tsearch-bp): Likewise.
6229 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6230 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6231 Remove dependency.
6232 * string/Makefile (o-objects.ob): Remove variable.
6233 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6234 (CFLAGS-.ob): Remove variable.
6235 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6236 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6237 both definitions of variable.
6238 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6239 (ASFLAGS-.ob): Remove variable.
6240
e97ed6dd
JM
62412013-02-14 Joseph Myers <joseph@codesourcery.com>
6242
2bdd4ca6
JM
6243 [BZ #13550]
6244 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6245 Remove __BOUNDED_POINTERS__ from condition.
6246 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6247 * string/bits/string2.h [!__NO_STRING_INLINES &&
6248 !__BOUNDED_POINTERS__]: Likewise.
6249 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6250 Likewise.
6251 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6252 Remove conditional code.
6253 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6254 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6255 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6256 condition.
6257
e97ed6dd
JM
6258 [BZ #13550]
6259 * csu/libc-start.c: Do not include <bp-sym.h>.
6260 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6261 * elf/dl-open.c: Do not include <bp-sym.h>.
6262 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6263 * math/fegetenv.c: Do not include <bp-sym.h>.
6264 (fegetenv): Do not use BP_SYM in versioned symbols.
6265 * nptl/sysdeps/pthread/bits/libc-lockP.h
6266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6267 <bp-sym.h>.
6268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6269 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6271 (__pthread_mutex_destroy): Likewise.
6272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6273 (__pthread_mutex_lock): Likewise.
6274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6275 (__pthread_mutex_trylock): Likewise.
6276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6277 (__pthread_mutex_unlock): Likewise.
6278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6279 (__pthread_mutexattr_init): Likewise.
6280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6281 (__pthread_mutexattr_destroy): Likewise.
6282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6283 (__pthread_mutexattr_settype): Likewise.
6284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6285 (__pthread_rwlock_init): Likewise.
6286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6287 (__pthread_rwlock_destroy): Likewise.
6288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6289 (__pthread_rwlock_rdlock): Likewise.
6290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6291 (__pthread_rwlock_tryrdlock): Likewise.
6292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6293 (__pthread_rwlock_wrlock): Likewise.
6294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6295 (__pthread_rwlock_trywrlock): Likewise.
6296 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6297 (__pthread_rwlock_unlock): Likewise.
6298 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6299 (__pthread_key_create): Likewise.
6300 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6301 (__pthread_setspecific): Likewise.
6302 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6303 (__pthread_getspecific): Likewise.
6304 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6305 Likewise.
6306 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6307 (_pthread_cleanup_push_defer): Likewise.
6308 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6309 (_pthread_cleanup_pop_restore): Likewise.
6310 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6311 (pthread_setcancelstate): Likewise.
6312 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6313 <bp-sym.h>.
6314 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6315 (memchr): Do not use BP_SYM in weak_alias.
6316 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6317 (fegetenv): Do not use BP_SYM in versioned symbols.
6318 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6319 (fesetenv): Do not use BP_SYM in versioned symbols.
6320 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6321 (feupdateenv): Do not use BP_SYM in versioned symbols.
6322 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6323 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6324 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6325 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6326 (open64): Do not use BP_SYM in weak_alias.
6327 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6328 (fegetenv): Do not use BP_SYM in versioned symbols.
6329 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6330 (fesetenv): Do not use BP_SYM in versioned symbols.
6331 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6332 (feupdateenv): Do not use BP_SYM in versioned symbols.
6333 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6334 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6335 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6336 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6337 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6338 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6339 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6340 <bp-sym.h>.
6341 (__libc_start_main): Do not use BP_SYM.
6342
d6752ccd
SP
63432013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6344
cb57ce60
SP
6345 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6346 redundant return line.
6347 (norm): Likewise.
6348 (denorm): Likewise.
6349 (dbl_mp): Likewise.
6350 (sub_magnitudes): Likewise.
6351 (__add): Likewise.
6352 (__sub): Likewise.
6353 (__mul): Likewise.
6354 (__inv): Likewise.
6355 (__dvd): Likewise.
6356 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6357 (norm): Likewise.
6358 (denorm): Likewise.
6359 (dbl_mp): Likewise.
6360 (sub_magnitudes): Likewise.
6361 (__add): Likewise.
6362 (__sub): Likewise.
6363 (__mul): Likewise.
6364 (__inv): Likewise.
6365 (__dvd): Likewise.
6366
f414520d
SP
6367 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6368 instead of __mul.
6369 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6370 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6371 (cc32): Likewise.
6372
d6752ccd
SP
6373 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6374 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6375 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6376 of __mul for squares.
6377 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6378 function
6379 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6380 Likewise.
6381 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6382 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6383
70d9946a
JM
63842013-02-13 Joseph Myers <joseph@codesourcery.com>
6385
6386 [BZ #13550]
6387 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6388 code.
6389 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6390 prototype or function definition. Rename ubp_* variables and
6391 parameters. Remove argv definitions conditional on
6392 [__BOUNDED_POINTERS__].
6393 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6394 * elf/dl-runtime.c (_dl_fixup): Likewise.
6395 * include/set-hooks.h (RUN_HOOK): Likewise.
6396 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6397 definition.
6398 * string/strcpy.c (strcpy): Do not use __unbounded.
6399 * sysdeps/generic/frame.h (struct layout): Likewise.
6400 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6401 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6402 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6403 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6404 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6405 (__backtrace): Likewise.
6406 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6407 use __ptrvalue.
6408 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6409 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6410 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6411 Likewise.
6412 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6413 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6414 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6415 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6416 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6417 Do not use __unbounded.
6418 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6419 Rename __unboundedrlimits parameter to rlimits in prototype.
6420 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6421 Do not use __unbounded.
6422 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6423 not use __ptrvalue.
6424 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6425 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6426 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6427 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6428 __ptrvalue or __unbounded.
6429 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6430 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6431 use __unbounded.
6432 (__new_msgctl): Do not use __ptrvalue.
6433 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6434 __unbounded.
6435 (__libc_msgrcv): Do not use __ptrvalue.
6436 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6437 startup_info): Do not use __unbounded.
6438 (__libc_start_main): Likewise. Rename ubp_* variables and
6439 parameters. Remove argv definitions conditional on
6440 [__BOUNDED_POINTERS__].
6441 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6442 __ptrvalue.
6443 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6444 use __unbounded.
6445 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6446 or __ptrvalue.
6447 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6448 use __unbounded.
6449 (__new_shmctl): Do not use __ptrvalue.
6450 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6451 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6452 Likewise.
6453 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6454 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6455 (__libc_sigaction): Likewise.
6456 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6457 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6458 Likewise.
6459 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6460
cc7834d6
OB
64612013-02-13 Ondřej Bílka <neleai@seznam.cz>
6462
ffb1ec7b 6463 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6464
6465 * string/mempcpy.c: Implement by calling memcpy.
6466
bdf02814
SP
64672013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6468
c2af38aa
SP
6469 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6470
4e92d59e
SP
6471 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6472 evaluation.
6473
909279a5
SP
6474 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6475 values in the mantissa.
6476
bdf02814
SP
6477 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6478 minimize writes to Z.
6479 (sub_magnitudes): Simplify code a bit.
6480
cd525923
RM
64812013-02-12 Roland McGrath <roland@hack.frob.com>
6482
6483 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6484 from the message. The linker prefixes all warnings with that already.
6485
7e2f0d2d
AS
64862013-02-12 Andreas Schwab <schwab@suse.de>
6487
a445af0b
AS
6488 [BZ #15078]
6489 * posix/regexec.c (extend_buffers): Add parameter min_len.
6490 (check_matching): Pass minimum needed length.
6491 (clean_state_log_if_needed): Likewise.
6492 (get_subexp): Likewise.
6493 * posix/Makefile (tests): Add bug-regex34.
6494 (bug-regex34-ENV): Define.
6495 * posix/bug-regex34.c: New file.
6496
7e2f0d2d
AS
6497 [BZ #11561]
6498 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6499 elements compare against the byte sequence of it, not its name.
6500 * posix/Makefile (tests): Add bug-regex35.
6501 (bug-regex35-ENV): Define.
6502 * posix/bug-regex35.c: New file.
6503
a175b684
TV
65042013-02-11 Tom de Vries <tom@codesourcery.com>
6505
6506 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6507 comment.
6508 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6509 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6510 (CHECK_EOL): Add undef.
6511
310998fe 65122013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6513
6514 * bits/stdlib-bsearch.h: New file.
6515 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6516 * stdlib/stdlib.h: Likewise.
41eda41d 6517
8ded91fb
RM
65182013-02-11 Roland McGrath <roland@hack.frob.com>
6519
6520 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6521 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6522 declaration.
6523 * manual/search.texi (Array Search Function): Add missing const in
6524 lfind prototype.
6525 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6526 declaration to use rlim_t.
6527 (Basic Scheduling Functions): Remove erroneous const from
6528 sched_getparam prototype. Remove erroneous * from
6529 sched_get_priority_max and sched_get_priority_min prototypes.
6530 (Resource Usage): Fix summary @comment on vtimes to refer to
6531 sys/vtimes.h rather than vtimes.h.
6532 Add missing *s in vtimes prototype.
6533 (Limits on Resources): Fix ulimit prototype to return long int.
6534 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6535 prototypes to use long int rather than double.
6536 (BSD Random): Fix initstate and setstate to use char *, not void *.
6537 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6538 prototype to make second argument 'struct aiocb64 *const[]'.
6539 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6540 (Status of AIO Operations): Remove erroneous const in aio_return and
6541 aio_return64 prototypes.
6542 (Synchronizing I/O): Fix sync prototype to return void.
6543 * manual/startup.texi (Suboptions): Remove an erroneous const in
6544 getsubopt prototype.
6545 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6546 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6547 use size_t rather than int.
6548 (Scanning All Users): Likewise for getpwent_r.
6549 (Setting Groups): Add missing const to setgroups prototype.
6550 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6551 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6552 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6553 'const void *' rather than 'const char *'.
6554 (Host Address Functions): Likewise for inet_ntop.
6555 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6556 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6557 ssize_t for return value.
6558 (Sending Data): Likewise for send, sendto, sendmsg.
6559 (Socket Option Functions): Add a missing const in setsockopt prototype.
6560 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6561 use wchar_t for the argument.
6562 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6563 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6564 take no arguments.
6565 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6566 double/float/long double for second argument.
6567 Fix return types of significand, significandf, significandl.
6568 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6569 argument in fchmod prototype.
6570 (File Owner): Use uid_t and gid_t in fchown prototype.
6571 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6572 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6573 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6574 use 'const struct dirent **' as argument types to CMP function pointer
6575 argument.
6576 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6577 (File Times): Fix summary magic @comment for struct utimbuf and utime
6578 to refer to utime.h, not time.h.
6579 * manual/string.texi (Argz Functions): Add missing const in
6580 argz_extract and argz_next prototypes.
6581 (Finding Tokens in a String): Likewise for basename.
6582 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6583 (Copying and Concatenation): Fix typo in wmemmove prototype.
6584 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6585 (Signal Stack): Remove erroneous const in sigstack prototype.
6586 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6587 prototype.
6588 (Simple Calendar Time): Likewise for stime.
6589 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6590 prototype.
6591 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6592 say sys/sysctl.h instead.
6593 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6594 and vsyslog prototypes.
6595
fe77fe6d
TV
65962013-02-11 Tom de Vries <tom@codesourcery.com>
6597
6598 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6599 Remove.
6600
3a09b620
RM
66012013-02-11 Roland McGrath <roland@hack.frob.com>
6602
6603 * misc/sys/mman.h: Fix typo in mremap comment.
6604
550a0b89
RM
66052013-02-08 Roland McGrath <roland@hack.frob.com>
6606
6607 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6608 the '\0' terminator.
6609
a2da1673
JM
66102013-02-08 Joseph Myers <joseph@codesourcery.com>
6611
6612 [BZ #13550]
6613 * debug/segfault.c: Don't include <bp-checks.h>.
6614 * sysdeps/generic/bp-checks.h: Remove file.
6615 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6616 (__GETDENTS): Don't use CHECK_N.
6617 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6618 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6619 (__getgroups): Don't use CHECK_N.
6620 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6621 (setgroups): Don't use CHECK_N.
6622 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6623 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6624 (__libc_msgrcv): Don't use CHECK_N.
6625 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6626 (__libc_msgsnd): Don't use CHECK_N.
6627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6628 <bp-checks.h>.
6629 (__libc_pread): Don't use CHECK_N.
6630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6631 include <bp-checks.h>.
6632 (__libc_pread64): Don't use CHECK_N.
6633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6634 include <bp-checks.h>.
6635 (__libc_pwrite): Don't use CHECK_N.
6636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6637 include <bp-checks.h>.
6638 (__libc_pwrite64): Don't use CHECK_N.
6639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6640 <bp-checks.h>.
6641 (__libc_pread): Don't use CHECK_N.
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6643 include <bp-checks.h>.
6644 (__libc_pread64): Don't use CHECK_N.
6645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6646 include <bp-checks.h>.
6647 (__libc_pwrite): Don't use CHECK_N.
6648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6649 include <bp-checks.h>.
6650 (__libc_pwrite64): Don't use CHECK_N.
6651 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6652 (do_pread): Don't use CHECK_N.
6653 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6654 (do_pread64): Don't use CHECK_N.
6655 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6656 (do_pwrite): Don't use CHECK_N.
6657 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6658 (do_pwrite64): Don't use CHECK_N.
6659 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6660 (__libc_readv): Don't use CHECK_N.
6661 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6662 (semop): Don't use CHECK_N.
6663 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6664 <bp-checks.h>.
6665 (semtimedop): Don't use CHECK_N.
6666 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6667 (__libc_pread): Don't use CHECK_N.
6668 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6669 <bp-checks.h>.
6670 (__libc_pread64): Don't use CHECK_N.
6671 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6672 <bp-checks.h>.
6673 (__libc_pwrite): Don't use CHECK_N.
6674 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6675 <bp-checks.h>.
6676 (__libc_pwrite64): Don't use CHECK_N.
6677 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6678 <bp-checks.h>.
6679 (__libc_msgrcv): Don't use CHECK_N.
6680 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6681 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6682 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6683 (__libc_writev): Don't use CHECK_N.
6684
b84660a8
RM
66852013-02-08 Roland McGrath <roland@hack.frob.com>
6686
7f3e75f8
RM
6687 * string/strcpy.c: Removed unused variable.
6688
b84660a8
RM
6689 * Makeconfig (+sysdep-includes): Define with := rather than =.
6690 Use an existing include/ subdir of each sysdeps dir before it.
6691
471514d3
CD
66922013-02-08 Carlos O'Donell <carlos@redhat.com>
6693
6694 * nscd/connection.c (register_traced_file): Comment function.
6695 [HAVE_INOTIFY] (union __inev): Define.
6696 [HAVE_INOTIFY] (inotify_check_files): New function.
6697 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6698 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6699 clear_db_cache.
6700 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6701
b2d3c3be
CD
67022013-02-08 Carlos O'Donell <carlos@redhat.com>
6703
6704 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6705 loaded if not already and that a failure is permanent.
6706
b39949d2
CD
67072013-02-08 Carlos O'Donell <carlos@redhat.com>
6708
ddacd1db 6709 [BZ #15006]
b39949d2
CD
6710 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6711 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6712
b2c9eff4
JM
67132013-02-08 Joseph Myers <joseph@codesourcery.com>
6714
f3aae3f3
JM
6715 [BZ #13550]
6716 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6717 (CHECK_1_NULL_OK): Likewise.
6718 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6719 (__fxstat): Do not use CHECK_1.
6720 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6721 <bp-checks.h>.
6722 (___fxstat64): Do not use CHECK_1.
6723 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6724 <bp-checks.h>.
6725 (__fxstatat): Do not use CHECK_1.
6726 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6727 <bp-checks.h>.
6728 (__fxstatat64): Do not use CHECK_1.
6729 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6730 <bp-checks.h>.
6731 (__fxstat): Do not use CHECK_1.
6732 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6733 <bp-checks.h>.
6734 (__fxstatat): Do not use CHECK_1.
6735 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6736 <bp-checks.h>.
6737 (__getresgid): Do not use CHECK_1.
6738 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6739 <bp-checks.h>.
6740 (__getresuid): Do not use CHECK_1.
6741 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6742 <bp-checks.h>.
6743 (__lxstat): Do not use CHECK_1.
6744 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6745 <bp-checks.h>.
6746 (__old_msgctl): Do not use CHECK_1.
6747 (__new_msgctl): Likewise.
6748 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6749 <bp-checks.h>.
6750 (__new_setrlimit): Do not use CHECK_1.
6751 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6752 <bp-checks.h>.
6753 (__old_shmctl): Do not use CHECK_1.
6754 (__new_shmctl): Likewise.
6755 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6756 <bp-checks.h>.
6757 (__xstat): Do not use CHECK_1.
6758 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6759 (__lxstat): Do not use CHECK_1.
6760 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6761 <bp-checks.h>.
6762 (___lxstat64): Do not use CHECK_1.
6763 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6764 (__old_msgctl): Do not use CHECK_1.
6765 (__new_msgctl): Likewise.
6766 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6767 <bp-checks.h>.
6768 (__gettimeofday): Do not use CHECK_1.
6769 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6770 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6771 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6772 <bp-checks.h>.
6773 (__gettimeofday): Do not use CHECK_1.
6774 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6775 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6776 (__new_shmctl): Do not use CHECK_1.
6777 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6778 <bp-checks.h>.
6779 (do_sigtimedwait): Do not use CHECK_1.
6780 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6781 <bp-checks.h>.
6782 (do_sigwaitinfo): Do not use CHECK_1.
6783 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6784 <bp-checks.h>.
6785 (msgctl): Do not use CHECK_1.
6786 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6787 <bp-checks.h>.
6788 (shmctl): Do not use CHECK_1.
6789 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6790 (ustat): Do not use CHECK_1.
6791 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6792 <bp-checks.h>.
6793 (__fxstat): Do not use CHECK_1.
6794 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6795 <bp-checks.h>.
6796 (__fxstatat): Do not use CHECK_1.
6797 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6798 <bp-checks.h>.
6799 (__lxstat): Do not use CHECK_1.
6800 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6801 <bp-checks.h>.
6802 (__xstat): Do not use CHECK_1.
6803 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6804 (__xstat): Do not use CHECK_1.
6805 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6806 (___xstat64): Do not use CHECK_1.
6807
b2c9eff4
JM
6808 [BZ #13550]
6809 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6810 definitions.
6811 (CHECK_BOUNDS_HIGH): Likewise.
6812 * string/strcpy.c: Do not include <bp-checks.h>.
6813 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6814
f1d70dad
RM
68152013-02-07 Roland McGrath <roland@hack.frob.com>
6816
6817 * nscd/nscd-client.h (__nscd_drop_map_ref):
6818 Add __attribute__ ((unused)).
6819 * nis/nss-nisplus.h (niserr2nss): Likewise.
6820
6821 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6822 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6823
6824 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6825 Remove inline keyword.
6826 * include/rounding-mode.h (round_away): Likewise.
6827 * libio/wfileops.c (adjust_wide_data): Likewise.
6828 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6829 (__m128i_strloadu_tolower): Likewise.
6830 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6831 (__m128i_strloadu_tolower): Likewise.
6832 * time/mktime.c (ydhms_diff): Likewise.
6833 * locale/elem-hash.h (elem_hash): Likewise.
6834 * locale/setlocale.c (setdata): Likewise.
6835 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6836 (re_string_wchar_at): Likewise.
6837 (bitset_not, bitset_merge, bitset_mask): Likewise.
6838 [!(__GNUC__ > 3)] (inline): Remove macro.
6839 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6840 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6841 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6842 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6843 * string/memcmp.c (memcmp_bytes): Likewise.
6844 * locale/programs/locarchive.c (compute_hashval): Likewise.
6845 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6846 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6847 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6848 * nss/getent.c (print_rpc, print_protocols): Likewise.
6849 (print_passwd, print_group, print_aliases): Likewise.
6850 * nis/nss-nisplus.h (niserr2nss): Likewise.
6851 * nscd/connections.c (restart_p): Likewise.
6852 Change return type to bool.
6853
eab55bfb
RM
68542013-02-05 Roland McGrath <roland@hack.frob.com>
6855
7bd642f5
RM
6856 * Makeconfig (all-Depend-files): Add existing
6857 $(sorted-subdirs:=/Depend) files.
6858 (all-subdirs): Remove nss.
6859 * sysdeps/unix/inet/Subdirs: Add it here instead.
6860 * hesiod/Depend: New file.
6861
573c29b2
RM
6862 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6863 instead of calling alloca.
6864
b2e25af0
RM
6865 * io/lseek.c (__lseek): Rename to __libc_lseek.
6866 Define __lseek as an alias.
6867
eab55bfb
RM
6868 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6869
9a0d1941
CD
68702013-02-04 Carlos O'Donell <carlos@redhat.com>
6871
6872 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6873 else clause and remove check for non-standard endianness.
6874
b83bbec4
DM
68752013-02-04 David S. Miller <davem@davemloft.net>
6876
6877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6878
6277fdab
JM
68792013-02-04 Joseph Myers <joseph@codesourcery.com>
6880
6881 [BZ #13550]
6882 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6883 (__ubp_memchr): Remove prototype.
6884 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6885 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6886 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6887 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6888 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6889 Remove alias.
6890 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6891 (__ubp_memchr): Likewise.
6892 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6893 (__ubp_memchr): Likewise.
6894 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6895 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6896 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6897 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6898 CHECK_STRING.
6899 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6900 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6901 (__getcwd): Do not use CHECK_STRING.
6902 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6903 <bp-checks.h>.
6904 (__real_chown): Do not use CHECK_STRING.
6905 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6906 <bp-checks.h>.
6907 (fchownat): Do not use CHECK_STRING.
6908 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6909 CHECK_STRING.
6910 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6911 <bp-checks.h>.
6912 (__lchown): Do not use CHECK_STRING.
6913 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6914 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6915 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6916 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6918 include <bp-checks.h>.
6919 (truncate64): Do not use CHECK_STRING.
6920 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6921 <bp-checks.h>.
6922 (__real_chown): Do not use CHECK_STRING.
6923 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6924 <bp-checks.h>.
6925 (__lchown): Do not use CHECK_STRING.
6926 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6927 <bp-checks.h>.
6928 (__chown): Do not use CHECK_STRING.
6929 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6930 <bp-checks.h>.
6931 (truncate64): Do not use CHECK_STRING.
6932 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6933 Likewise.
6934 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6935 (__xmknod): Do not use CHECK_STRING.
6936 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6937 <bp-checks.h>.
6938 (__xmknodat): Do not use CHECK_STRING.
6939 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6940 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6941
903ae060
AS
69422013-02-04 Andreas Schwab <schwab@suse.de>
6943
6944 [BZ #14142]
6945 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6946 * include/netdb.h: Likewise for h_errno.
6947 * elf/tst-stackguard1.c: Include <tls.h>.
6948
542f9466
JK
69492013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6950
6951 * elf/link.h (struct link_map): Extend the l_addr comment.
6952 * include/link.h (struct link_map): Likewise.
6953
e782a927
JM
69542013-02-01 Joseph Myers <joseph@codesourcery.com>
6955
6956 [BZ #13550]
6957 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6958 (BOUNDED_1): Remove macro.
6959 * debug/backtrace.c: Don't include <bp-checks.h>.
6960 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6961 (__backtrace): Likewise.
6962 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6963 <bp-checks.h>.
6964 (__backtrace): Don't use BOUNDED_1.
6965 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6966 <bp-checks.h>.
6967 (__backtrace): Don't use BOUNDED_1.
6968 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6969 (__backtrace): Don't use BOUNDED_1.
6970 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6971 (shmat): Don't use BOUNDED_N.
6972
8cf28c5e
JM
69732013-01-31 Joseph Myers <joseph@codesourcery.com>
6974
3a7ac8a0
JM
6975 [BZ #13550]
6976 * sysdeps/generic/bp-start.h: Remove file.
6977 * csu/libc-start.c: Don't include <bp-start.h>.
6978 (LIBC_START_MAIN): Set up __environ directly instead of using
6979 INIT_ARGV_and_ENVIRON.
6980 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6981 <bp-start.h>.
6982
f3499f95
JM
6983 [BZ #13550]
6984 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6985 definitions.
6986 (CHECK_FCNTL): Likewise.
6987 (CHECK_N_PAGES): Likewise.
6988
32a45bea
JM
6989 [BZ #13550]
6990 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6991 definitions.
6992 (CHECK_SIGSET_NULL_OK): Likewise.
6993 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6994 <bp-checks.h>.
6995 (sigpending): Don't use CHECK_SIGSET.
6996 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6997 <bp-checks.h>.
6998 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6999 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7000 <bp-checks.h>.
7001 (do_sigsuspend): Don't use CHECK_SIGSET.
7002 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7003 use CHECK_SIGSET.
7004 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7005 (do_sigwait): Don't use CHECK_SIGSET.
7006 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7007 use CHECK_SIGSET.
7008 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7009 include <bp-checks.h>.
7010 (sigpending): Don't use CHECK_SIGSET.
7011 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7012 include <bp-checks.h>.
7013 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7014 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7015 <bp-checks.h>.
7016 (sigpending): Don't use CHECK_SIGSET.
7017 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7018 <bp-checks.h>.
7019 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7020
2e8a5c8c
JM
7021 [BZ #13550]
7022 * sysdeps/generic/bp-semctl.h: Remove file.
7023 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7024 <bp-checks.h> and <bp-semctl.h>.
7025 (__old_semctl): Don't use CHECK_SEMCTL.
7026 (__new_semctl): Likewise.
7027 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7028 and <bp-semctl.h>.
7029 (__old_semctl): Don't use CHECK_SEMCTL.
7030 (__new_semctl): Likewise.
7031 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7032 <bp-checks.h> and <bp-semctl.h>.
7033 (__old_semctl): Don't use CHECK_SEMCTL.
7034 (__new_semctl): Likewise.
7035 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7036 <bp-checks.h> and <bp-semctl.h>.
7037 (semctl): Don't use CHECK_SEMCTL.
7038
c2d54929
JM
7039 [BZ #13550]
7040 * Makerules (elide-bp-thunks): Remove variable.
7041 (elide-routines.oS): Don't use $(elide-bp-thunks).
7042 (elide-routines.os): Likewise.
7043 (elide-routines.o): Likewise.
7044 (elide-routines.op): Likewise.
7045 (elide-routines.og): Likewise.
7046 (objects): Don't use $(bp-thunks).
7047 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7048 include.
7049 (common-generated): Do not add s-proto-bp.d.
7050 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7051 (int): Likewise.
7052 (typ): Likewise.
7053 Do not generate makefile rules for bounded-pointer thunks.
7054 * sysdeps/generic/bp-thunks.h: Remove file.
7055 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7056 * sysdeps/unix/s-proto-bp.S: Likewise.
7057
8cf28c5e
JM
7058 [BZ #15062]
7059 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7060 parts of result separately when argument is not close to line from
7061 -i to i and one part of argument is small.
7062 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7063 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7064 * math/libm-test.inc (cacos_test): Add more tests.
7065 (casin_test): Likewise.
7066 (casinh_test): Likewise.
7067 * sysdeps/i386/fpu/libm-test-ulps: Update.
7068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7069
c4e33b8d
DM
70702013-01-31 David S. Miller <davem@davemloft.net>
7071
7072 * po/de.po: Update from translation team.
7073
3b60b421
MK
70742013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7075
7076 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7077
bb931195
TS
70782013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7079
b5a5da23
TS
7080 * configure.in (_AC_PROG_CC_C89): New definition.
7081 * configure: Regenerate.
7082
bb931195
TS
7083 * configure.in (AC_PROG_CPP): New definition.
7084 * configure: Regenerate.
7085
8c53a12c
JM
70862013-01-23 Joseph Myers <joseph@codesourcery.com>
7087
7088 * debug/tst-backtrace.h: New file.
7089 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7090 (ret): Remove variable.
7091 (x): Likewise.
7092 (FAIL): Remove macro.
7093 (NO_INLINE): Likewise.
7094 (fn1): Use match function instead of strstr.
7095 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7096 (ret): Remove variable.
7097 (x): Likewise.
7098 (FAIL): Remove macro.
7099 (NO_INLINE): Likewise.
7100 (fn): Use match function instead of strstr.
7101 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7102 (ret): Remove variable.
7103 (x): Likewise.
7104 (FAIL): Remove macro.
7105 (NO_INLINE): Likewise.
7106 (handle_signal): Use match function instead of strstr.
7107 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7108 (ret): Remove variable.
7109 (x): Likewise.
7110 (FAIL): Remove macro.
7111 (NO_INLINE): Likewise.
7112 (handle_signal): Use match function instead of strstr.
7113
4858fa2a
RM
71142013-01-23 Roland McGrath <roland@hack.frob.com>
7115
7116 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7117
bae8e7f5
DM
71182013-01-23 David S. Miller <davem@davemloft.net>
7119
7120 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7121 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7122 argument of CAS if possible.
7123 * sysdeps/sparc/sparc64/bits/atomic.h
7124 (__arch_compare_and_exchange_val_32_acq): Likewise.
7125 (__arch_compare_and_exchange_val_64_acq): Likewise.
7126
9cbbc4ae
PT
71272013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7128
7129 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7130 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7131 Include <limits.h>.
67b3f58c 7132 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7133
5655a0b5
AC
71342013-01-23 Adam Conrad <adconrad@0c3.net>
7135
7136 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7137 (LDFLAGS-tst-array5): Likewise.
7138
052aff95
JM
71392013-01-23 Joseph Myers <joseph@codesourcery.com>
7140
7141 [BZ #15036]
7142 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7143 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7144 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7145 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7146
7c1e01aa
DM
71472013-01-21 David S. Miller <davem@davemloft.net>
7148
7149 * sysdeps/sparc/backtrace.c: New file.
7150 * sysdeps/sparc/sparc32/backtrace.h: New file.
7151 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7152 * sysdeps/sparc/sparc64/backtrace.h: New file.
7153 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7154 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7155 -funwind-tables.
7156
ab087e0a
AS
71572013-01-21 Andreas Schwab <schwab@suse.de>
7158
7159 [BZ #15020]
7160 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7161 closed its stdout.
7162
ed689c2f
AS
71632013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7164
7165 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7166 "mpa2.h".
7167 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7168
31d470ac
JM
71692013-01-18 Joseph Myers <joseph@codesourcery.com>
7170 Mark Mitchell <mark@codesourcery.com>
7171 Tom de Vries <tom@codesourcery.com>
7172 Paul Pluzhnikov <ppluzhnikov@google.com>
7173
7174 * debug/tst-backtrace2.c: New file.
7175 * debug/tst-backtrace3.c: Likewise.
7176 * debug/tst-backtrace4.c: Likewise.
7177 * debug/tst-backtrace5.c: Likewise.
7178 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7179 (CFLAGS-tst-backtrace3.c): Likewise.
7180 (CFLAGS-tst-backtrace4.c): Likewise.
7181 (CFLAGS-tst-backtrace5.c): Likewise.
7182 (LDFLAGS-tst-backtrace2): Likewise.
7183 (LDFLAGS-tst-backtrace3): Likewise.
7184 (LDFLAGS-tst-backtrace4): Likewise.
7185 (LDFLAGS-tst-backtrace5): Likewise.
7186 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7187 tst-backtrace4 and tst-backtrace5.
7188
90567f30 71892013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7190 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7191
7192 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7193 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7194 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7195 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7197 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7198 "+r" and remove output regs list as redundant. Add explicit inline
7199 asm to specify register of return val to work around compiler codegen
7200 bug. Remove (int) cast on return value. Add return type parameter to
7201 use in macro so that this macro does not truncate return value for
7202 64-bit values.
7203 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7204 pass to INTERNAL_VSYSCALL_NCS.
7205 (INLINE_VSYSCALL): Add 'long int' as return type to
7206 INTERNAL_VSYSCALL_NCS macro invocation.
7207 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7208 INTERNAL_VSYSCALL_NCS macro invocation.
7209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7210
d3b9ea61
SP
72112013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7212
0b57daeb
SP
7213 [BZ #14496]
7214 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7215 Fix application of SIMD FP exception mask.
7216
caa99d06
SP
7217 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7218 mp_no from a power of two.
7219 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7220 __mpexp_twomm1. Use __pow_mp.
7221
d3b9ea61
SP
7222 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7223 multiplication.
7224
1dbaee3c
DM
72252013-01-17 David S. Miller <davem@davemloft.net>
7226
7227 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7228
728d7b43
JM
72292013-01-17 Joseph Myers <joseph@codesourcery.com>
7230
7231 [BZ #15023]
7232 * include/complex.h: Condition contents on [!_COMPLEX_H].
7233 (__kernel_casinhf): New prototype.
7234 (__kernel_casinh): Likewise.
7235 (__kernel_casinhl): Likewise.
7236 * math/Makefile (libm_calls): Add k_casinh.
7237 * math/k_casinh.c: New file.
7238 * math/k_casinhf.c: Likewise.
7239 * math/k_casinhl.c: Likewise.
7240 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7241 finite nonzero arguments.
7242 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7243 finite nonzero arguments.
7244 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7245 finite nonzero arguments.
7246 * math/s_casinh.c: Do not include <float.h>.
7247 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7248 * math/s_casinhf.c: Do not include <float.h>.
7249 (__casinhf): Move code for finite nonzero arguments to
7250 k_casinhf.c.
7251 * math/s_casinhl.c: Do not include <float.h>.
7252 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7253 redefine.
7254 (__casinhl): Move code for finite nonzero arguments to
7255 k_casinhl.c.
7256 * math/libm-test.inc (cacos_test): Add more tests.
7257 * sysdeps/i386/fpu/libm-test-ulps: Update.
7258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7259
2a26ef3a
PT
72602013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7261
7262 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7263 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7264 [!HAVE_MREMAP]: Remove [defined linux] case.
7265 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7266
a897655d
SP
72672013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7268
7269 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7270
881ebe89 72712013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7272
7273 * elf/elf.h (R_386_SIZE32): New relocation.
7274 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7275 R_386_SIZE32.
7276 (elf_machine_rela): Likewise.
7277 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7278 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7279
59981e9b
JM
72802013-01-17 Joseph Myers <joseph@codesourcery.com>
7281
7282 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7283 (FP_FAST_FMA): Do not define.
7284 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7285 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7286 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7287 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7288 !_SOFT_FLOAT]: Likewise.
7289 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7290 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7291 value.
7292 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7293 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7294 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7295 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7296 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7297 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7298 file.
7299
cfa8054f
AS
73002013-01-16 Andreas Schwab <schwab@suse.de>
7301
7302 [BZ #14327]
7303 * include/stdlib.h (__mktemp): Add declaration.
7304 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7305 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7306
dd930cc5
SP
73072013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7308
881ebe89
SP
7309 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7310 definitions.
7311 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7312 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7313 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7314 definitions here.
7315 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7316 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7317 definitions.
7318 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7319 and ONE.
7320 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7321 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7322 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7323 definitions.
7324 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7325 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7326 definitions.
7327 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7328
dd930cc5
SP
7329 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7330
c19a9f89
DM
73312013-01-15 David S. Miller <davem@davemloft.net>
7332
1aa61767
DM
7333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7334 trunc{,f} to libm-sysdep_routes.
7335 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7337 file.
7338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7340 file.
7341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7342 file.
7343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7345 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7346 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7347 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7348 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7349 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7350 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7351
c42d5e98
DM
7352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7353 nearbyint{,f} to libm-sysdep_routes.
7354 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7356 New file.
7357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7358 file.
7359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7360 New file.
7361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7362 file.
7363 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7364 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7365 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7366 file.
7367 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7368 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7369 file.
7370 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7371 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7372 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7373
c19a9f89
DM
7374 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7375 libc_feholdexcept and libc_fesetenv.
7376
357679d2
MF
73772013-01-15 Mike Frysinger <vapier@gentoo.org>
7378
7379 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7380
65a82e3d
DM
73812013-01-14 David S. Miller <davem@davemloft.net>
7382
8b954ab9
DM
7383 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7384 (SPARC_ASM_VIS2_IFUNC): Likewise.
7385 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7387 use of 'siam' instruction.
7388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7389 Likewise.
7390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7391 Likewise.
7392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7393 Likewise.
7394 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7395 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7396 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7397 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7399 file.
7400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7401 file.
7402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7403 file.
7404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7405 file.
7406 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7407 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7408 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7409 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7411 new VIS2 routines.
7412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7415 Likewise.
7416 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7418 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7421 routines to libm-sysdep_routines.
7422 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7423
65a82e3d
DM
7424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7425 fdim/fdimf to libm-sysdep_routines.
7426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7427 file.
7428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7430 file.
7431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7434 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7435 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7436 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7437 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7438
e34ab705
SP
74392013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7440
2a91b573
SP
7441 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7442 to optimize copies.
7443
1066a534
SP
7444 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7445 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7446 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7447
e34ab705
SP
7448 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7449 local variable MPTWO.
7450 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7451 Likewise.
7452
aba5e596
MF
74532013-01-13 Mike Frysinger <vapier@gentoo.org>
7454
7455 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7456 GLOB_NOESCAPE.
7457
e557e9e5
MF
74582013-01-13 Mike Frysinger <vapier@gentoo.org>
7459
7460 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7461
0428cec9
MF
74622013-01-13 Mike Frysinger <vapier@gentoo.org>
7463
7464 * manual/pattern.texi (glob_t): Document gl_flags.
7465 (glob64_t): Likewise.
7466
8794a964
DM
74672013-01-11 David S. Miller <davem@davemloft.net>
7468
66438c3f
RM
7469 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7470 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7471 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7472 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7473 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7474 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7475 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7476 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7477 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7478 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7479 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7480 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7481 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7482
4ae4244d
DM
7483 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7484 sparc V9 rather than using V8 code.
7485 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7486 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7487
8794a964
DM
7488 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7489 Move to...
7490 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7491 Here.
7492
6270516e
RM
74932013-01-11 Roland McGrath <roland@hack.frob.com>
7494
7495 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7496 not in the main loop.
7497 * configure: Regenerated.
7498
6a57d931
JM
74992013-01-11 Joseph Myers <joseph@codesourcery.com>
7500
7501 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7502 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7503 to just #else.
7504 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7505 [!__GLIBC_HAVE_LONG_LONG] case.
7506 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7507 condition to just #else.
7508 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7509 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7510 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7511 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7512 unconditional.
7513 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7514 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7515 #elif condition to just #else.
7516 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7517 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7518 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7519 #elif condition to just #else.
7520
0e8529e9
SE
75212013-01-11 Steve Ellcey <sellcey@mips.com>
7522
7523 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7524 (EF_MIPS_ARCH_64): Fix value.
7525 (EF_MIPS_ARCH_32R2): New.
7526 (EF_MIPS_ARCH_64R2): New.
7527
740b3dbe
L
75282013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7529
7530 * Makeconfig (+link-pie-before-libc): New.
7531 (+link-pie-after-libc): Likewise.
7532 (+link-pie-tests): Likewise.
7533 (+link-pie): Rewritten.
7534 (link-before-libc): Remove $(config-LDFLAGS).
7535 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7536 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7537 (config-LDFLAGS): Renamed to ...
7538 (rtld-LDFLAGS): This.
7539 (rtld-tests-LDFLAGS): New macro.
7540 (link-libc-rpath-link): Likewise.
7541 (link-libc-tests-rpath-link): Likewise.
7542 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7543 (link-libc): Prepand $(link-libc-rpath-link).
7544 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7545 (test-program-prefix): New macro.
7546 (test-via-rtld-prefix): Likewise.
7547 (test-program-cmd): Likewise.
7548 (host-test-program-cmd): Likewise.
7549 * Makefile ($(common-objpfx)testrun.sh): Replace
7550 $(run-program-prefix) with $(test-program-prefix).
7551 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7552 $(rtld-LDFLAGS).
7553 ($(common-objpfx)shlib.lds): Likewise.
7554 (build-module-helper): Likewise.
7555 ($(common-objpfx)format.lds): Likewise.
7556 * Rules (binaries-pie-tests): New.
7557 (binaries-pie-notests): Likewise.
7558 (binaries-pie): Rewritten.
7559 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7560 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7561 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7562 (make-test-out): Replace $(host-built-program-cmd) with
7563 $(host-test-program-cmd).
7564 * config.make.in (build-hardcoded-path-in-tests): New variable.
7565 * configure.in (--enable-hardcoded-path-in-tests): New configure
7566 option.
7567 (hardcoded_path_in_tests): New AC_SUBST.
7568 * configure: Regenerated.
7569 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7570 $(built-program-cmd) with $(test-program-cmd).
7571 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7572 (test_program_cmd): This.
7573 * elf/Makefile ($(objpfx)order.out): Run test with
7574 $(test-program-prefix).
7575 ($(objpfx)order2.out): Likewise.
7576 ($(objpfx)tst-initorder.out): Likewise.
7577 ($(objpfx)tst-initorder2.out): Likewise.
7578 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7579 $(test-program-cmd).
7580 ($(objpfx)tst-array1-static.out): Likewise.
7581 ($(objpfx)tst-array2.out): Likewise.
7582 ($(objpfx)tst-array3.out): Likewise.
7583 ($(objpfx)tst-array4.out): Likewise.
7584 ($(objpfx)tst-array5.out): Likewise.
7585 ($(objpfx)tst-array5-static.out): Likewise.
7586 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7587 $(test-program-cmd).
7588 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7589 $(run-program-prefix) with $(test-program-prefix).
7590 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7591 (test_program_prefix): This.
7592 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7593 $(run-program-prefix) with $(test-program-prefix).
7594 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7595 (test_program_prefix): This.
7596 * iconvdata/tst-tables.sh: Likewise.
7597 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7598 $(run-program-prefix) with $(test-program-prefix).
7599 ($(objpfx)tst-translit.out): Likewise.
7600 ($(objpfx)tst-gettext2.out): Likewise.
7601 ($(objpfx)tst-gettext4.out): Likewise.
7602 ($(objpfx)tst-gettext6.out): Likewise.
7603 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7604 (test_program_prefix): This.
7605 * intl/tst-gettext2.sh: Likewise.
7606 * intl/tst-gettext4.sh Likewise.
7607 * intl/tst-gettext6.sh: Likewise.
7608 * intl/tst-translit.sh: Likewise.
7609 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7610 with $(test-program-cmd).
7611 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7612 $(run-program-prefix) with $(test-program-prefix).
7613 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7614 (test_program_prefix): This.
7615 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7616 $(run-program-prefix) with $(test-program-prefix).
7617 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7618 (test_program_prefix): This.
7619 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7620 * posix/Makefile ($(objpfx)globtest.out): Replace
7621 $(run-via-rtld-prefix) and $(test-wrapper) with
7622 $(test-program-prefix) and $(test-via-rtld-prefix).
7623 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7624 $(test-program-prefix).
7625 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7626 $(host-test-program-cmd).
7627 (tst-spawn-ARGS): Likewise.
7628 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7629 $(test-program-prefix).
7630 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7631 (test_via_rtld_prefix): This.
7632 (test_wrapper): Renamed to ...
7633 (test_program_prefix): This.
7634 (run_program_prefix): Replaced by test_program_prefix.
7635 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7636 (test_program_prefix): This.
7637 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7638 with $(host-test-program-cmd).
7639 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7640 $(run-program-prefix) with $(test-program-prefix).
7641 ($(objpfx)tst-printf.out): Likewise.
7642 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7643 $(test-program-cmd).
7644 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7645 (test_program_prefix): This.
7646 * stdio-common/tst-unbputc.sh: Likewise.
7647 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7648 $(run-program-prefix) with $(test-program-prefix).
7649 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7650 (test_program_prefix): This.
7651 * string/Makefile ($(objpfx)tst-svc.out): Replace
7652 $(built-program-cmd) with $(test-program-cmd).
7653
c6fe55cf
AJ
76542013-01-11 Andreas Jaeger <aj@suse.de>
7655
7656 [BZ #15003]
7657 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7658 value. Sync with Linux 3.7.
7659
9e6919c8
DM
76602013-01-10 David S. Miller <davem@davemloft.net>
7661
7662 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7663 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7664 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7665
1c9f1a02
RM
76662013-01-10 Roland McGrath <roland@hack.frob.com>
7667
7668 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7669 never set.
7670 * configure: Regenerated.
7671
b9de2dde
DM
76722013-01-10 David S. Miller <davem@davemloft.net>
7673
7674 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7675 sparc V9 rather than using V8 code.
7676 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7677 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7678
e7f68ef4
RM
76792013-01-10 Roland McGrath <roland@hack.frob.com>
7680
7681 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7682 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7683 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7684 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7685 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7686 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7687 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7688 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7689 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7690 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7691 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7692 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7693 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7694 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7695 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7696 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7697 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7698 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7699 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7700 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7701 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7702 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7703 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7704 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7705 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7706 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7707 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7708
5a47cc9c
DM
77092013-01-10 David S. Miller <davem@davemloft.net>
7710
7711 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7712
4cf8f209
L
77132013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7714
7715 * posix/Makefile (tests-static): New variable.
7716 (tests): Add $(tests-static).
7717 (tst-exec-static-ARGS): New variable.
7718 (tst-spawn-static-ARGS): Likewise.
7719 * posix/tst-exec-static.c: New file.
7720 * posix/tst-spawn-static.c: Likewise.
7721 * posix/tst-exec.c: Support run directly.
7722 * posix/tst-spawn.c: Likewise.
7723
fed0faa1
JM
77242013-01-10 Joseph Myers <joseph@codesourcery.com>
7725
828beb13
JM
7726 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7727 long.
7728 * math/bits/mathcalls.h (llrint): Likewise.
7729 (llround): Likewise.
7730 * stdlib/stdlib.h (struct drand48_data): Likewise.
7731 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7732 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7733 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7734 Likewise.
7735 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7736 Likewise.
7737 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7738 (elf_greg_t): Likewise.
7739 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7740 (__jmp_buf): Likewise.
7741 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7742 definitions.
7743 (llrint): Likewise, for all definitions.
7744 (llrintl): Likewise.
7745
fed0faa1
JM
7746 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7747 Remove [__GNUC__] condition.
7748 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7749 condition to just [__USE_ISOC99].
7750 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7751
1a20cb20
L
77522013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7753
7754 [BZ #14200]
7755 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7756 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7757 defined.
7758 (_POSIX_V6_ILP32_OFF32): Likewise.
7759 (_XBS5_ILP32_OFF32): Likewise.
7760 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7761 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7762
751b85f7
SP
77632013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7764
7490eb81
SP
7765 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7766
751b85f7
SP
7767 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7768 doubles __mpexp_twomm1. Adjust usage.
7769 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7770 Remove.
7771
988197f0
AS
77722013-01-10 Andreas Schwab <schwab@suse.de>
7773
7774 [BZ #14964]
7775 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7776 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7777
e83d7298
DM
77782013-01-09 David S. Miller <davem@davemloft.net>
7779
034ed64b 7780 [BZ #15003]
e83d7298
DM
7781 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7782 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7783 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7784 TCP_FASTOPEN): Define.
7785 (tcp_repair_opt): New structure.
7786 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7787 enum values.
7788 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7789 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7790 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7791 (tcp_cookie_transactions): New structure.
7792
d5e0b9bd
AB
77932013-01-09 Anton Blanchard <anton@samba.org>
7794
7795 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7796 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7797 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7798 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7799
0c07e3ea
JM
78002013-01-09 Joseph Myers <joseph@codesourcery.com>
7801
7802 * include/features.h (__USE_ANSI): Remove.
7803
232f7002
RM
78042013-01-09 Roland McGrath <roland@hack.frob.com>
7805
ad98e30c
RM
7806 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7807
232f7002
RM
7808 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7809
950c99ca
SP
78102013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7811
b5792741
SP
7812 * sysdeps/s390/fpu/libm-test-ulps: Update.
7813
47cf2278
SP
7814 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7815
950c99ca
SP
7816 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7817 (__acr): Likewise.
7818 (__cpy): Likewise.
7819 (norm): Likewise.
7820 (denorm): Likewise.
7821 (__mp_dbl): Likewise.
7822 (__dbl_mp): Likewise.
7823 (add_magnitudes): Likewise.
7824 (sub_magnitudes): Likewise.
7825 (__add): Likewise.
7826 (__sub): Likewise.
7827 (__mul): Likewise.
7828 (__inv): Likewise.
7829 (__dvd): Likewise.
7830 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7831 (__acr): Likewise.
7832 (__cpy): Likewise.
7833 (norm): Likewise.
7834 (denorm): Likewise.
7835 (__mp_dbl): Likewise.
7836 (__dbl_mp): Likewise.
7837 (add_magnitudes): Likewise.
7838 (sub_magnitudes): Likewise.
7839 (__add): Likewise.
7840 (__sub): Likewise.
7841 (__mul): Likewise.
7842 (__inv): Likewise.
7843 (__dvd): Likewise.
7844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7845 (__acr): Likewise.
7846 (__cpy): Likewise.
7847 (norm): Likewise.
7848 (denorm): Likewise.
7849 (__mp_dbl): Likewise.
7850 (__dbl_mp): Likewise.
7851 (add_magnitudes): Likewise.
7852 (sub_magnitudes): Likewise.
7853 (__add): Likewise.
7854 (__sub): Likewise.
7855 (__mul): Likewise.
7856 (__inv): Likewise.
7857 (__dvd): Likewise.
7858
eede9df9
JM
78592013-01-08 Joseph Myers <joseph@codesourcery.com>
7860
7861 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7862 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7863 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7864 2 && __USE_EXTERN_INLINES]: Likewise.
7865
c40ea3d9
AJ
78662013-01-08 Andreas Jaeger <aj@suse.de>
7867
7868 [BZ# 14985]
7869 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7870 Remove.
7871 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7872 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7873
2ccdea26
AB
78742013-01-07 Anton Blanchard <anton@samba.org>
7875
7876 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7877 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7878 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7879 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7880 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7881 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7882 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7883 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7884 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7885 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7886 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7887 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7888 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7889 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7890 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7891 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7892 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7893 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7894 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7895 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7896 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7897 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7898 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7899 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7900 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7901 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7902 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7903 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7904 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7905 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7906 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7907 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7908 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7909 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7910 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7911 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7912 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7913 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7914 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7915 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7916 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7917 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7918 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7919
a9708fed
JM
79202013-01-07 Joseph Myers <joseph@codesourcery.com>
7921
375607b9
JM
7922 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7923 (__MALLOC_PMT): Likewise.
7924 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7925 [__GNUC__], only on [_LIBC].
7926 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7927 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7928 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7929 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7930 forward declaration.
7931 (realloc_hook_ini): Likewise.
7932 (memalign_hook_ini): Likewise.
7933 (__libc_memalign): Do not use __MALLOC_PMT in variable
7934 declaration.
7935 (__libc_valloc): Likewise.
7936 (__libc_pvalloc): Likewise.
7937 (__libc_calloc): Likewise.
7938 (__posix_memalign): Likewise.
7939
a9708fed
JM
7940 [BZ #14996]
7941 * math/s_casinh.c: Include <float.h>.
7942 (__casinh): Do not do computation with squaring and square root
7943 for large arguments.
7944 * math/s_casinhf.c: Include <float.h>.
7945 (__casinhf): Do not do computation with squaring and square root
7946 for large arguments.
7947 * math/s_casinhl.c: Include <float.h>.
7948 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7949 (__casinhl): Do not do computation with squaring and square root
7950 for large arguments.
7951 * math/libm-test.inc (casin_test): Add more tests.
7952 (casinh_test): Likewise.
7953 * sysdeps/i386/fpu/libm-test-ulps: Update.
7954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7955
afec409a
L
79562013-01-04 H.J. Lu <hongjiu.lu@intel.com>
7957
7958 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7959 (__x86_64_raw_data_cache_size): Likewise.
7960 (__x86_64_data_cache_size_half): Likewise.
7961 (__x86_64_raw_data_cache_size_half): Likewise.
7962 (__x86_64_shared_cache_size): Likewise.
7963 (__x86_64_raw_shared_cache_size): Likewise.
7964 (__x86_64_shared_cache_size_half): Likewise.
7965 (__x86_64_raw_shared_cache_size_half): Likewise.
7966 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7967 to ...
7968 (__x86_data_cache_size): This.
7969 (__x86_64_raw_data_cache_size): Renamed to ...
7970 (__x86_raw_data_cache_size): This.
7971 (__x86_64_data_cache_size_half): Renamed to ...
7972 (__x86_data_cache_size_half): This.
7973 (__x86_64_raw_data_cache_size_half): Renamed to ...
7974 (__x86_raw_data_cache_size_half): This.
7975 (__x86_64_shared_cache_size): Renamed to ...
7976 (__x86_shared_cache_size): This.
7977 (__x86_64_raw_shared_cache_size): Renamed to ...
7978 (__x86_raw_shared_cache_size): This.
7979 (__x86_64_shared_cache_size_half): Renamed to ...
7980 (__x86_shared_cache_size_half): This.
7981 (__x86_64_raw_shared_cache_size_half): Renamed to ...
7982 (__x86_raw_shared_cache_size_half): This.
7983 * sysdeps/x86_64/memcpy.S: Updated.
7984 * sysdeps/x86_64/memset.S: Likewise.
7985 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7986 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7987 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7988
0b3986d0
DM
79892013-01-04 David S. Miller <davem@davemloft.net>
7990
7991 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7992
e47686e9
AS
79932013-01-04 Andreas Schwab <schwab@linux-m68k.org>
7994
d643bac1
AS
7995 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7996 1 to avoid redefinition warning.
7997 (__USE_GNU): Don't define.
7998 (init_signaling_nan): Protoize.
7999
e47686e9
AS
8000 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8001
b18decba
SP
80022013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8003
fffb407f
SP
8004 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8005 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8006 (__cpymn): Likewise.
8007 (norm): Remove commented code.
8008 (denorm): Likewise.
8009 (__mp_dbl): Likewise.
8010 (__inv): Likewise.
8011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8012 (__cpymn): Likewise.
8013 (norm): Remove commented code.
8014 (denorm): Likewise.
8015 (__mp_dbl): Likewise.
8016 (__inv): Likewise.
8017
b18decba
SP
8018 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8019 mp_no value for 1.0 and 2.0.
8020 (norm): Use RADIXI instead of radixi.d.
8021 (denorm): Likewise.
8022 (__mul): Use 0.0 instead of zero.d.
8023 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8024 mp_no value for 1.0 and 2.0.
8025 (norm): Use RADIXI instead of radixi.d.
8026 (denorm): Likewise.
8027 (__mul): Use 0.0 instead of zero.d.
8028
cdc1c96f
JM
80292013-01-04 Joseph Myers <joseph@codesourcery.com>
8030
8031 [BZ #14994]
8032 * math/s_casinh.c (__casinh): Reduce finite argument to first
8033 quadrant then set signs of results at the end.
8034 * math/s_casinhf.c (__casinhf): Likewise.
8035 * math/s_casinhl.c (__casinhl): Likewise.
8036 * math/libm-test.inc (casin_test): Add more tests.
8037 (casinh_test): Likewise.
8038 * sysdeps/i386/fpu/libm-test-ulps: Update.
8039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8040
302913e1
SP
80412013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8042
6420d207
SP
8043 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8044
a9e48ab4
SP
8045 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8046
b7837264
SP
8047 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8048 declarations.
8049 (denorm): Likewise.
8050 (__mp_dbl): Likewise.
8051 (__inv): Likewise.
8052
f8af25d2
SP
8053 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8054 and adjust the header comment.
8055
302913e1
SP
8056 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8057 variable name from declaration.
8058
5d7dd1ca
L
80592013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8060
8061 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8062 Initialize COMMON_CPUID_INDEX_7 element.
8063 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8064 (CPUID_RTM): Likewise.
8065 (HAS_RTM): Likewise.
8066 (COMMON_CPUID_INDEX_7): New enum.
8067
2f5f40f4
AS
80682013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8069
8070 [BZ #14981]
8071 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8072 size is zero, record memory as freed.
8073
4056f4a0
AJ
80742013-01-03 Andreas Jaeger <aj@suse.de>
8075
8076 * po/ia.po: Add new Interlingua translation.
8077
ab15736f 80782012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8079
8080 * locale/programs/localedef.c: Fix description of '--posix' flag.
8081
568035b7
JM
80822013-01-02 Joseph Myers <joseph@codesourcery.com>
8083
e6898b8d
JM
8084 * NEWS: Update dates in second copyright notice.
8085 * README: Update copyright dates in example.
8086 * manual/libc.texinfo: Update copyright dates.
8087 * scripts/test-installation.pl: Update copyright date in --version
8088 output.
8089
0e2f9562
JM
8090 * hurd/ctty-input.c: Fix copyright notice formatting.
8091 * hurd/ctty-output.c: Likewise.
8092 * hurd/dtable.c: Likewise.
8093 * hurd/hurd-raise.c: Likewise.
8094 * hurd/hurdprio.c: Likewise.
8095 * hurd/msgportdemux.c: Likewise.
8096 * misc/sys/file.h: Likewise.
8097 * misc/sys/ioctl.h: Likewise.
8098 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8099 * sysdeps/mach/hurd/chdir.c: Likewise.
8100 * sysdeps/mach/hurd/fchdir.c: Likewise.
8101 * sysdeps/mach/hurd/rename.c: Likewise.
8102 * sysdeps/mach/hurd/rmdir.c: Likewise.
8103 * sysdeps/mach/hurd/seekdir.c: Likewise.
8104 * sysdeps/mach/hurd/setsid.c: Likewise.
8105 * sysdeps/posix/wait3.c: Likewise.
8106
568035b7
JM
8107 * All files with FSF copyright notices: Update copyright dates
8108 using scripts/update-copyrights.
8109 * intl/plural.c: Regenerated.
8110 * locale/programs/charmap-kw.h: Likewise.
8111 * locale/programs/locfile-kw.h: Likewise.
8112
da08f647
SP
81132013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8114
0f5477af
SP
8115 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8116 four values.
8117
44e0d4c2
SP
8118 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8119 calculation loop and add branch prediction.
8120
4d55b4e5
SP
8121 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8122 check access beyond bounds of m1np.
8123
da08f647
SP
8124 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8125 MPTWO.
8126 (__inv): Remove local variable MPTWO to use the global
8127 constant.
8128 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8129 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8130 variable MPTWO.
8131 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8132 MP3HALFS static const.
8133
8e051029
DM
81342013-01-01 David S. Miller <davem@davemloft.net>
8135
8136 * po/ca.po: Update from translation team.
8137
f4cf5f2d
JM
81382013-01-01 Joseph Myers <joseph@codesourcery.com>
8139
8140 * scripts/update-copyrights: New file.
8141 * Makeconfig: Reformat copyright notice.
8142 * ctype/ctype.h: Likewise.
8143 * debug/swprintf_chk.c: Likewise.
8144 * elf/dl-cache.c: Likewise.
8145 * elf/dl-debug.c: Likewise.
8146 * elf/dl-object.c: Likewise.
8147 * grp/initgroups.c: Likewise.
8148 * hurd/Makefile: Likewise.
8149 * hurd/hurd/signal.h: Likewise.
8150 * hurd/hurdfault.c: Likewise.
8151 * hurd/hurdioctl.c: Likewise.
8152 * hurd/hurdlookup.c: Likewise.
8153 * hurd/intr-msg.c: Likewise.
8154 * iconv/gconv_open.c: Likewise.
8155 * libio/swprintf.c: Likewise.
8156 * locale/lc-ctype.c: Likewise.
8157 * locale/nl_langinfo.c: Likewise.
8158 * mach/Machrules: Likewise.
8159 * mach/Makefile: Likewise.
8160 * malloc/obstack.h: Likewise.
8161 * manual/Makefile: Likewise.
8162 * manual/tsort.awk: Likewise.
8163 * misc/bits/stab.def: Likewise.
8164 * nis/nis_print_group_entry.c: Likewise.
8165 * nis/nis_table.c: Likewise.
8166 * nis/nss_compat/compat-pwd.c: Likewise.
8167 * nis/nss_compat/compat-spwd.c: Likewise.
8168 * po/Makefile: Likewise.
8169 * posix/fnmatch.c: Likewise.
8170 * posix/regex.h: Likewise.
8171 * resolv/Makefile: Likewise.
8172 * resolv/nss_dns/dns-network.c: Likewise.
8173 * resolv/res_hconf.c: Likewise.
8174 * scripts/gen-sorted.awk: Likewise.
8175 * soft-fp/soft-fp.h: Likewise.
8176 * stdio-common/printf.h: Likewise.
8177 * stdlib/monetary.h: Likewise.
8178 * stdlib/random.c: Likewise.
8179 * stdlib/random_r.c: Likewise.
8180 * sysdeps/generic/Makefile: Likewise.
8181 * sysdeps/gnu/Makefile: Likewise.
8182 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8183 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8184 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8185 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8186 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8187 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8188 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8189 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8190 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8191 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8192 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8193 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8194 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8195 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8196 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8197 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8198 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8199 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8200 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8201 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8202 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8203 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8204 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8205 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8206 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8207 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8208 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8209 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8210 * sysdeps/mach/hurd/errnos.awk: Likewise.
8211 * sysdeps/mach/hurd/fork.c: Likewise.
8212 * sysdeps/mach/hurd/getcwd.c: Likewise.
8213 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8214 * sysdeps/mach/hurd/mmap.c: Likewise.
8215 * sysdeps/mach/hurd/utimes.c: Likewise.
8216 * sysdeps/mach/hurd/xmknod.c: Likewise.
8217 * sysdeps/posix/profil.c: Likewise.
8218 * sysdeps/posix/readdir_r.c: Likewise.
8219 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8220 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8221 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8222 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8223 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8224 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8225 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8226 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8227 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8228 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8229 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8230 * sysdeps/pthread/lio_listio.c: Likewise.
8231 * sysdeps/sparc/dl-procinfo.h: Likewise.
8232 * sysdeps/unix/i386/sysdep.S: Likewise.
8233 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8234 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8235 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8236 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8238 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8239 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8240 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8241 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8242 * sysdeps/wordsize-32/divdi3.c: Likewise.
8243 * time/sys/time.h: Likewise.
8244 * wcsmbs/Makefile: Likewise.
8245
0549fbba
DM
82462013-01-01 David S. Miller <davem@davemloft.net>
8247
a141f1a7
DM
8248 * po/fr.po: Update from translation team.
8249
0549fbba
DM
8250 * catgets/gencat.c: Update copyright year.
8251 * csu/version.c: Likewise.
8252 * debug/catchsegv.sh: Likewise.
8253 * debug/pcprofiledump.c: Likewise.
8254 * debug/xtrace.sh: Likewise.
8255 * elf/ldconfig.c: Likewise.
8256 * elf/ldd.bash.in: Likewise.
8257 * elf/pldd.c: Likewise.
8258 * elf/sotruss.ksh: Likewise.
8259 * elf/sprof.c: Likewise.
8260 * iconv/iconv_prog.c: Likewise.
8261 * iconv/iconvconfig.c: Likewise.
8262 * locale/programs/locale.c: Likewise.
8263 * locale/programs/localedef.c: Likewise.
8264 * login/programs/pt_chown.c: Likewise.
8265 * malloc/memusage.sh: Likewise.
8266 * malloc/memusagestat.c: Likewise.
8267 * malloc/mtrace.pl: Likewise.
8268 * nscd/nscd.c: Likewise.
8269 * nss/getent.c: Likewise.
8270 * nss/makedb.c: Likewise.
8271 * posix/getconf.c: Likewise.
8272
18ea052c
SP
82732012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8274
8275 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8276 numbers.
8277
9c89fca6
MF
82782012-12-30 Mike Frysinger <vapier@gentoo.org>
8279
8280 * math/bits/mathcalls.h (modf): Use __nonnull.
8281
085ec079
SP
82822012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8283
8284 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8285 (split): Use macro CN instead of the bare value.
8286 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8287 could be used.
8288 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8289 instead of the bare value.
8290 (power1): Likewise.
8291
6d9f97e1
SP
82922012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8293
d63f73be
SP
8294 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8295 __ATAN_TWOM.
8296 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8297
6d9f97e1
SP
8298 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8299 their values.
8300 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8301 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8302 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8303 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8304
4c4febf5
AJ
83052012-12-28 Andreas Jaeger <aj@suse.de>
8306
af5843ef
AJ
8307 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8308 values are from Linux 3.7.
8309
4c4febf5
AJ
8310 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8311 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8312
99136f82
SP
83132012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8314
2f216c3c 8315 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8316 TRUE case.
8317
99136f82
SP
8318 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8319 (norm): Likewise.
8320 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8321 variables with preprocessor constants.
8322 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8323 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8324 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8325
7fffbdff
BH
83262012-12-27 Bruno Haible <bruno@clisp.org>
8327
8328 [BZ #14317]
8329 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8330 only if needed.
8331
b76eb5f0
SP
83322012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8333
31a7fe5c
SP
8334 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8335 and use variable directly.
8336 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8337
b76eb5f0
SP
8338 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8339 MPONE.
8340 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8341 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8342 variable MPONE.
8343 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8344 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8345 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8346 include directive. Remove local variable MPONE.
8347 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8348 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8349 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8350
2c8bfe7d
DM
83512012-12-25 David S. Miller <davem@davemloft.net>
8352
8353 * version.h (RELEASE): Set to "development".
8354 (VERSION): Set to "2.17.90".
8355 * NEWS: Add 2.18 section.
8356
147d03b0
DM
83572012-12-21 David S. Miller <davem@davemloft.net>
8358
8359 * po/hr.po: Update from translation team.
8360
a8ebb2b9
AK
83612012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8362
8363 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8364
95b4f1b6
SE
83652012-12-19 Steve Ellcey <sellcey@mips.com>
8366
b2d94007 8367 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8368
cedb2a90
MS
83692012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8370
8371 * manual/contrib.texi (Contributors): Spelling correction.
8372
bbf527d6
DM
83732012-12-15 David S. Miller <davem@davemloft.net>
8374
8375 * po/ru.po: Update from translation team.
8376
bc38c906
DM
83772012-12-13 David S. Miller <davem@davemloft.net>
8378
85429b1a
DM
8379 * NEWS: Mention IFUNC testsuite enhancements.
8380
d283e353
DM
8381 * po/pl.po: Update from translation team.
8382 * po/bg.po: Likewise.
8383
bc38c906
DM
8384 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8385 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8386
a181b0d7
DM
83872012-12-11 David S. Miller <davem@davemloft.net>
8388
4641d57e
DM
8389 * po/sv.po: Update from translation team.
8390
f7bc6495
DM
8391 * po/vi.po: Update from translation team.
8392
6fc9048f
DM
8393 * po/cs.po: Update from translation team.
8394
a181b0d7
DM
8395 * po/de.po: Update from translation team.
8396 * po/eo.po: Likewise.
8397 * po/nl.po: Likewise.
8398
f70bfe80
SP
83992012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8400
3c8b4190
SP
8401 [BZ #14246]
8402 * manual/argp.texi (Argp Helper Functions): Move node to follow
8403 Argp Parsing State.
8404
f70bfe80
SP
8405 [BZ #14872]
8406 * manual/conf.texi (Limits on File System Capacity): Mention if
8407 terminating null is included in the max size.
8408
188f0adf
AJ
84092012-12-10 Andreas Jaeger <aj@suse.de>
8410
8411 * po/cs.po: Update from translation team.
8412
56e7d3ad
SP
84132012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8414
8415 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8416 void pointer and cast to uintptr_t.
8417 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8418 path.
8419 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8420 * sysdeps/s390/s390-64/memset.S: Likewise.
8421
76f2d2ea 84222012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8423
8424 [BZ #14833]
8425 * menual/message.texi (Message Translation): Fix typos.
8426 (Helper programs for gettext): Likewise.
8427
67cbf9a2
AS
84282012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8429
8430 [BZ #14898]
8431 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8432 Change to -1.
8433
682d0e9a
DM
84342012-12-07 David S. Miller <davem@davemloft.net>
8435
8436 * po/libc.pot: Update.
8437
573cd484
RH
84382012-12-07 Richard Henderson <rth@redhat.com>
8439
7e9da188 8440 [BZ #10114]
573cd484
RH
8441 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8442 normal/normal case to before the switch.
8443 (_FP_DIV): Likewise.
8444
e933a943
MF
84452012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8446 Mike Frysinger <vapier@gentoo.org>
8447
8448 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8449 check for __NR_fadvise64_64.
8450
82123268
CM
84512012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8452
8453 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8454 0, not just to plain "0" as a statement.
8455 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8456 with cw.
8457
d9814526
JM
84582012-12-06 Joseph Myers <joseph@codesourcery.com>
8459
8460 * NEWS: Use sourceware.org in Bugzilla URL.
8461
7728c574
SP
84622012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8463
f16946dd
SP
8464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8465 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8466
5704bbcb
SP
8467 * stdio-common/tst-put-error.c (do_test): Add newline to the
8468 padded test to ensure flush.
8469
17aa0516
JL
84702012-12-05 Jeff Law <law@redhat.com>
8471
8472 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8473
363313b5
JM
84742012-12-05 Joseph Myers <joseph@codesourcery.com>
8475
effbd42a
JM
8476 * README: Don't refer to ports add-on as distributed separately.
8477 Mention AArch64 in list of systems supported in the ports add-on.
8478
87600365
JM
8479 * LICENSES: Add more non-FSF copyright and license notices.
8480
a0d7066a
JM
8481 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8482 ((unused)).
8483
66ca5a5b
JM
8484 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8485
363313b5
JM
8486 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8487 10000 as width of padded output.
8488
b37984ad
JM
84892012-12-04 Joseph Myers <joseph@codesourcery.com>
8490
9003570a
JM
8491 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8492
b37984ad
JM
8493 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8494 variable LX with __attribute__ ((unused)).
8495 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8496 Likewise.
8497 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8498 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8499 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8500 with __attribute__ ((unused)).
8501
c8df52ec
DM
85022012-12-04 David S. Miller <davem@abraco.davemloft.net>
8503
8504 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8505
b3b099af
JM
85062012-12-04 Joseph Myers <joseph@codesourcery.com>
8507
c33aa6e3
JM
8508 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8509 (CFLAGS-nldbl-acos.c): New variable.
8510 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8511 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8512 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8513 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8514 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8515 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8516 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8517 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8518 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8519 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8520 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8521 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8522 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8523 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8524 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8525 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8526 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8527 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8528 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8529 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8530 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8531 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8532 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8533 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8534 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8535 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8536 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8537 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8538 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8539 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8540 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8541 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8542 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8543 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8544 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8545 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8546 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8547 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8548 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8549 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8550 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8551 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8552 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8553 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8554 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8555 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8556 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8557 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8558 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8559 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8560 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8561 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8562 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8563 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8564 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8565 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8566 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8567 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8568 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8569 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8570 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8571 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8572 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8573 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8574 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8575 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8576 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8577 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8578 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8579 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8580 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8581 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8582 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8583 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8584 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8585 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8586 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8587 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8588 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8589 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8590 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8591 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8592 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8593 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8594 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8595 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8596 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8597 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8598 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8599 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8600 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8601 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8602 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8603 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8604 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8605 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8606 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8607
20f0018d
JM
8608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8609 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8610
b3b099af
JM
8611 [BZ #14914]
8612 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8613 whole low double instead of just low 47 bits when splitting values
8614 into two parts.
8615
029264d1
AM
86162012-12-03 Allan McRae <allan@archlinux.org>
8617
8618 * manual/stdio.texi (Predefined Printf Handlers): Remove
8619 @hsep and @vsep usage.
8620
c9d6789e
MF
86212012-12-03 Mike Frysinger <vapier@gentoo.org>
8622
8623 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8624 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8625
4b7634a5
JL
86262012-12-03 Jeff Law <law@redhat.com>
8627
8628 * time/sys/time.h (settimeofday): Do not mark TV argument
8629 as __nonnull.
8630
eb6cbd24
MF
86312012-12-01 Mike Frysinger <vapier@gentoo.org>
8632
8633 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8634 when currently writing and seek to current position when not.
8635 * libio/Makefile (tests): Remove bug-fclose1.
8636 * libio/bug-fclose1.c: Delete.
8637
f638872a
JM
86382012-12-01 Joseph Myers <joseph@codesourcery.com>
8639
8640 * manual/arith.texi (feenableexcept): Fix typo.
8641 (fedisableexcept): Likewise.
8642
48085d14
RM
86432012-11-30 Roland McGrath <roland@hack.frob.com>
8644
8645 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8646 second, differently-typed declaration, rather than a cast.
8647
1a538b9f
SP
86482012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8649
8650 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8651 * include/rpc/svc.h: ... here.
8652
d07f2ff1 86532012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
8654
8655 [BZ #13013]
8656 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8657 depending n and resplen2 to catch cases where answer
8658 equals answerp2.
8659
c93ec1f0
CD
86602012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8661
8662 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8663 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8664
37db69de
MF
86652012-11-29 Mike Frysinger <vapier@gentoo.org>
8666
8667 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8668
e10c4e4f
RM
86692012-11-29 Roland McGrath <roland@hack.frob.com>
8670
8671 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8672
2af1b328
JL
86732012-11-28 Jeff Law <law@redhat.com>
8674
8675 [BZ #13761]
8676 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8677 dataset_temporary. Track alloca usage into alloca_used.
8678 If dataset is large allocate and release it via malloc/free.
8679
111db5b1
FW
86802012-06-04 Florian Weimer <fweimer@redhat.com>
8681
f06cc227 8682 [BZ #14197]
111db5b1
FW
8683 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8684
dd694abd
DM
86852012-11-28 David S. Miller <davem@davemloft.net>
8686
8687 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8688
9984dd01
JM
86892012-11-28 Joseph Myers <joseph@codesourcery.com>
8690
8691 [BZ #14803]
8692 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8693 of pi/2 rounded to nearest to 64 bits.
8694 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8695 nearest to 64 bits.
8696 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8697 bits.
8698
14bc93a9
JL
86992012-11-28 Jeff Law <law@redhat.com>
8700 Martin Osvald <mosvald@redhat.com>
8701
8702 [BZ #14889]
8703 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8704 * sunrpc/svc.c: Include time.h.
8705 (__svc_accept_failed): New function.
8706 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8707 any reason other than EINTR, call __svc_accept_failed.
8708 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8709 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8710
e3c6aa3a
AS
87112012-11-28 Andreas Schwab <schwab@suse.de>
8712
8713 * scripts/abilist.awk: Also handle indirect functions in .opd
8714 section.
8715
1bead169
JM
87162012-11-28 Joseph Myers <joseph@codesourcery.com>
8717
8718 [BZ #13881]
8719 * sysdeps/x86/fpu/powl_helper.c: New file.
8720 * sysdeps/x86/fpu/Makefile: Likewise.
8721 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8722 (p3): New object.
8723 (__ieee754_powl): Use __powl_helper for finite arguments except
8724 integer exponents below 8.
8725 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8726 (p3): New object.
8727 (__ieee754_powl): Use __powl_helper for finite arguments except
8728 integer exponents below 8.
8729 * math/libm-test.inc (pow_test): Add more tests and enable some
8730 previously disabled tests.
8731 * sysdeps/i386/fpu/libm-test-ulps: Update.
8732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8733
0817d63d
SP
87342012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8735 Carlos O'Donell <carlos_odonell@mentor.com>
8736
8737 * nss/makedb.c (is_prime): Assert that input is odd and greater
8738 than 4. Note that fact in a comment too.
8739 (next_prime): Add 4 to input.
8740
de2fd463
SP
87412012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8742
8743 [BZ #11741]
8744 * libio/Makefile (tests): Add test case tst-fwrite-error.
8745 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8746 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8747 * libio/tst-fwrite-error.c: New test case.
8748
c515fb51
L
87492012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8750
8751 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8752 before casting to void *.
8753 * include/libc-internal.h (__pointer_type): New macro.
8754 (__integer_if_pointer_type_sub): Likewise.
8755 (__integer_if_pointer_type): Likewise.
8756 (cast_to_integer): Likewise.
8757 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8758 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8759 before casting to atomic64_t.
8760 (atomic_exchange_acq): Likewise.
8761 (__arch_exchange_and_add_body): Likewise.
8762 (__arch_add_body): Likewise.
8763 (atomic_add_negative): Likewise.
8764 (atomic_add_zero): Likewise.
8765
4cf77aa9
JM
87662012-11-26 Joseph Myers <joseph@codesourcery.com>
8767
8768 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8769 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8770 (add_fdes): Likewise.
8771 (linear_search_fdes): Likewise.
8772 (binary_search_unencoded_fdes): Likewise.
8773
d260b3b4
AS
87742012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8775
8776 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8777
67060746
AC
87782012-11-24 Adam Conrad <adconrad@0c3.net>
8779
8780 * configure.in: Autodetect C++ header directories.
8781 * configure: Regenerated.
8782
800938a1
MF
87832012-11-23 Mike Frysinger <vapier@gentoo.org>
8784
8785 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8786
4e6e34e6
AS
87872012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8788
8789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8790
7c7feb47
JM
87912012-11-22 Joseph Myers <joseph@codesourcery.com>
8792
7184dcdf
JM
8793 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8794 LDBL_MANT_DIG == 106]: Disable some tests.
8795 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8796 Likewise.
8797 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8798 Likewise.
8799
0a42601f
JM
8800 [BZ #14871]
8801 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8802 input for small inputs. Return +/- pi/2 for large inputs.
8803 * math/libm-test.inc (atan_test): Add more tests.
8804
79c9b9fe
JM
8805 * sysdeps/generic/unwind-dw2-fde-glibc.c
8806 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8807 __attribute__ ((unused)).
8808
c60d3bf2
JM
8809 [BZ #14645]
8810 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8811 x * y if x and y are nonzero and z is zero.
8812
ef1e0867
JM
8813 [BZ #14811]
8814 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8815 nonzero exponents with absolute value below 0x1p-117 to +/-
8816 0x1p-117.
8817
1468ded3
JM
8818 [BZ #14869]
8819 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8820 up arguments below 2**-450, not just those below 2**-500.
8821 * math/libm-test.inc (hypot_test): Add another test.
8822
8e27e3cc
JM
8823 [BZ #14868]
8824 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8825 Return a+b for ratio over 2**120, not 2**60.
8826 * math/libm-test.inc (hypot_test): Add another test.
8827
c9c0279b
JM
8828 * math/libm-test.inc (clog_test): Use
8829 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8830 (clog10_test): Likewise.
8831
7c7feb47
JM
8832 [BZ #6778]
8833 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8834
fff1530e
AS
88352012-11-22 Andreas Schwab <schwab@suse.de>
8836
8837 * sysdeps/i386/fpu/libm-test-ulps: Update.
8838
94558d30
PT
88392012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8840
8841 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8842 printf output with newline.
8843
7e1be741
L
88442012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8845
6bfea974
L
8846 [BZ #14865]
8847 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8848 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8849 -z nodlopen, -z initfirst and -z execstack support.
8850 * configure: Regenerated.
8851
7e1be741
L
8852 * elf/elf.h (DF_1_NODIRECT): New macro.
8853 (DF_1_IGNMULDEF): Likewise.
8854 (DF_1_NOKSYMS): Likewise.
8855 (DF_1_NOHDR): Likewise.
8856 (DF_1_EDITED): Likewise.
8857 (DF_1_NORELOC): Likewise.
8858 (DF_1_SYMINTPOSE): Likewise.
8859 (DF_1_GLOBAUDIT): Likewise.
8860 (DF_1_SINGLETON): Likewise.
8861 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8862 DT_1_SUPPORTED_MASK bits.
8863 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8864
105ce2ce
CD
88652012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8866
8867 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8868
123be9de
TS
88692012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8870
d072f3f7
TS
8871 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8872 macro.
8873
123be9de
TS
8874 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8875 (sendmmsg): Move declarations...
8876 * socket/sys/socket.h: ... here.
8877 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8878 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8879 include it from...
8880 * socket/recvmmsg.c: ... this new file.
8881 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8882 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8883 definition of __sendmmsg hidden.
8884 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8885 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8886 Move ENOSYS stub into and include it from...
8887 * socket/sendmmsg.c: ... this new file.
8888 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8889 (sysdep_routines): Move recvmmsg and sendmmsg...
8890 * socket/Makefile (routines): ... here.
8891 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8892 (GLIBC_PRIVATE): Add __sendmmsg.
8893 * include/sys/socket.h (__sendmmsg): Add declarations.
8894 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8895 sendmmsg.
8896
cf9a5d18
JM
88972012-11-20 Joseph Myers <joseph@codesourcery.com>
8898
8899 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8900 variable I1 with __attribute__ ((unused)).
8901 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8902
ecd4caf9
JM
89032012-11-19 Joseph Myers <joseph@codesourcery.com>
8904
be14d48f
JM
8905 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8906 DUMMY variables with __attribute__ ((unused)).
8907
ecd4caf9
JM
8908 * bits/byteswap.h: Include <bits/types.h>.
8909 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8910
986cab95
PT
89112012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8912
8913 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8914 string_t. Do not manually set errno.
8915 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8916 length with __strnlen. Make sure to both set errno and return it on
8917 failure.
8918
6d33cc9d
DM
89192012-11-19 David S. Miller <davem@davemloft.net>
8920
8921 With help from Joseph Myers.
8922 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8923 very large arguments properly.
8924 * math/libm-test.inc (atan_test): New tests.
8925 (atan2_test): New tests.
8926 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8927 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8928
ee663277
JM
89292012-11-19 Joseph Myers <joseph@codesourcery.com>
8930
877f2d8e
JM
8931 [BZ #14856]
8932 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8933 Define to 3.
8934
116fc08a
JM
8935 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8936 [POSIX] (EADDRNOTAVAIL): Likewise.
8937 [POSIX] (EAFNOSUPPORT): Likewise.
8938 [POSIX] (EALREADY): Likewise.
8939 [POSIX] (ECONNABORTED): Likewise.
8940 [POSIX] (ECONNREFUSED): Likewise.
8941 [POSIX] (ECONNRESET): Likewise.
8942 [POSIX] (EDESTADDRREQ): Likewise.
8943 [POSIX] (EDQUOT): Likewise.
8944 [POSIX] (EHOSTUNREACH): Likewise.
8945 [POSIX] (EIDRM): Likewise.
8946 [POSIX] (EISCONN): Likewise.
8947 [POSIX] (ELOOP): Likewise.
8948 [POSIX] (EMULTIHOP): Likewise.
8949 [POSIX] (ENETDOWN): Likewise.
8950 [POSIX] (ENETUNREACH): Likewise.
8951 [POSIX] (ENOBUFS): Likewise.
8952 [POSIX] (ENODATA): Likewise.
8953 [POSIX] (ENOLINK): Likewise.
8954 [POSIX] (ENOMSG): Likewise.
8955 [POSIX] (ENOPROTOOPT): Likewise.
8956 [POSIX] (ENOSR): Likewise.
8957 [POSIX] (ENOSTR): Likewise.
8958 [POSIX] (ENOTCONN): Likewise.
8959 [POSIX] (ENOTSOCK): Likewise.
8960 [POSIX] (EOPNOTSUPP): Likewise.
8961 [POSIX] (EOVERFLOW): Likewise.
8962 [POSIX] (EPROTO): Likewise.
8963 [POSIX] (EPROTONOSUPPORT): Likewise.
8964 [POSIX] (EPROTOTYPE): Likewise.
8965 [POSIX] (ESTALE): Likewise.
8966 [POSIX] (ETIME): Likewise.
8967 [POSIX] (ETXTBSY): Likewise.
8968 [POSIX] (EWOULDBLOCK): Likewise.
8969 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8970 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8971 [POSIX] (SEEK_CUR): Likewise.
8972 [POSIX] (SEEK_END): Likewise.
8973 [POSIX || UNIX98] (mode_t): Do not require.
8974 [POSIX] (off_t): Likewise.
8975 [POSIX] (pid_t): Likewise.
8976 [POSIX] (sys/stat.h): Do not allow header.
8977 [POSIX] (unistd.h): Likewise.
8978 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8979 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8980 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8981 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8982 require.
8983 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8984 sigevent): Specify elements.
8985 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8986 entry.
8987 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8988 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8989
a483863f
JM
8990 * conform/data/cpio.h-data [POSIX]: Disable whole file.
8991 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8992 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8993 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8994 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8995 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8996 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8997 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8998 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8999 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9000 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9001 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9002 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9003 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9004 Likewise.
9005 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9006 Likewise.
9007 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9008 Likewise.
9009 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9010 Likewise.
9011 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9012 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9013 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9014 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9015 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9016 Specify lower bound on value.
9017 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9018 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9019 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9020 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9021 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9022 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9023 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9024 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9025 value.
9026 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9027 as optional.
9028 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9029 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9030 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9031 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9032 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9033 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9034 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9035 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9036 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9037 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9038 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9039 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9040 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9041 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9042 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9043 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9044 entry.
9045 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9046 optional.
9047 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9048 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9049 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9050 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9051 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9052 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9053 Likewise.
9054 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9055 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9056 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9057 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9058 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9059 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9060 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9061 as optional.
9062 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9063 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9064 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9065 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9066 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9067 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9068 specify as optional.
9069 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9070 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9071 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9072 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9073 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9074 [XPG3] (NL_LANGMAX): Likewise.
9075 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9076 [POSIX || XPG3] (NL_NMAX): Likewise.
9077 [POSIX || XPG3] (NL_SETMAX): Likewise.
9078 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9079 [XPG3] (NZERO): Likewise.
9080 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9081 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9082 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9083 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9084 (REG_ERANGE): Expect.
9085 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9086 optional-constant.
9087 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9088 Use (void) in prototype.
9089 [POSIX] (*_t): Allow.
9090 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9091 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9092 (WRDE_BADVAL): Expect.
9093
5ba924e3
JM
9094 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9095 expect.
9096 [XPG3 || XPG4] (O_RSYNC): Likewise.
9097 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9098 Likewise.
9099 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9100 [XPG3 || XPG4] (sigqueue): Likewise.
9101 [XPG3 || XPG4] (sigtimedwait): Likewise.
9102 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9103 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9104 [XPG3 || XPG4] (vsnprintf): Likewise.
9105 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9106 Likewise.
9107 [XPG3 || XPG4] (blksize_t): Likewise.
9108 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9109 Likewise.
9110 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9111 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9112 [XPG3 || XPG4] (struct itimerspec): Likewise.
9113 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9114 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9115 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9116 [XPG3 || XPG4] (clockid_t): Likewise.
9117 [XPG3 || XPG4] (timer_t): Likewise.
9118 [XPG3 || XPG4] (clock_getres): Likewise.
9119 [XPG3 || XPG4] (clock_gettime): Likewise.
9120 [XPG3 || XPG4] (clock_settime): Likewise.
9121 [XPG3 || XPG4] (nanosleep): Likewise.
9122 [XPG3 || XPG4] (timer_create): Likewise.
9123 [XPG3 || XPG4] (timer_delete): Likewise.
9124 [XPG3 || XPG4] (timer_gettime): Likewise.
9125 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9126 [XPG3 || XPG4] (timer_settime): Likewise.
9127 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9128 [XPG3 || XPG4] (getlogin_r): Likewise.
9129 [XPG3 || XPG4] (pread): Likewise.
9130 [XPG3 || XPG4] (pthread_atfork): Likewise.
9131 [XPG3 || XPG4] (pwrite): Likewise.
9132
ee663277
JM
9133 [BZ #14835]
9134 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9135 <bits/siginfo.h>.
9136
942caa16
PT
91372012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9138
e19af380
PT
9139 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9140 finalizing MALLSTREAM.
9141
942caa16
PT
9142 * sysdeps/mach/hurd/syncfs.c: New file.
9143
cfde9b46
SP
91442012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9145
9146 [BZ #14719]
9147 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9148 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9149 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9150 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9151 (_nss_dns_gethostbyname4_r): Likewise.
9152 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9153 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9154
f6da27e5
PH
91552012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9156
9157 [BZ #13763]
9158 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9159
6665d4a2
SM
91602012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9161
1f51ee92
SM
9162 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9163 * elf/cache.c (print_entry): Print ",AArch64" for
9164 FLAG_AARCH64_LIB64
9165
6665d4a2
SM
9166 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9167 * elf/cache.c (print_entry): Print ",hard-float" for
9168 FLAG_ARM_LIBHF.
9169
05b227bd
DM
91702012-11-18 David S. Miller <davem@davemloft.net>
9171
9172 With help from Joseph Myers.
9173 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9174 cutoff to 2**-13.
9175 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9176 cutoff to 2**-25.
9177 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9178 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9179 small.
9180 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9181 * math/libm-test.inc (y0_test): New tests.
9182 (y1_test): New tests.
9183 * sysdeps/i386/fpu/libm-test-ulps: Update.
9184 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9186
786b0b67
AS
91872012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9188
9189 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9190 64-bit targets.
9191 * configure: Regenerated.
9192
8e18b86d
DM
91932012-11-17 David S. Miller <davem@davemloft.net>
9194
9195 [BZ #14811]
9196 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9197 nonzero exponents with absolute value below 0x1p-128 to +/-
9198 0x1p-128.
9199
531f1ae0
JM
92002012-11-17 Joseph Myers <joseph@codesourcery.com>
9201
12df29e2
JM
9202 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9203
150dc1a0
JM
9204 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9205
531f1ae0
JM
9206 * posix/getconf-speclist.c: New file.
9207 * posix/posix-envs.def: Likewise.
9208 * posix/confstr.c (START_ENV_GROUP): New macro.
9209 (END_ENV_GROUP): Likewise.
9210 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9211 (KNOWN_PRESENT_ENV_STRING): Likewise.
9212 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9213 (UNKNOWN_ENVIRONMENT): Likewise.
9214 (confstr): Include posix-envs.def instead of handling
9215 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9216 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9217 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9218 (END_ENV_GROUP): Likewise.
9219 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9220 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9221 (UNKNOWN_ENVIRONMENT): Likewise.
9222 (__sysconf): Include posix-envs.def instead of handling associated
9223 cases directly here.
9224 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9225 preprocessing getconf-speclist.c rather than running getconf or
9226 generating empty file.
9227
a93f9cbc
PT
92282012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9229
9230 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9231
d64d9f87
AL
92322012-11-16 Andrej Lajovic <natrij@gmail.com>
9233
9234 [BZ #14672]
9235 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9236
447885eb
DM
92372012-11-16 David S. Miller <davem@davemloft.net>
9238
9239 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9240 smaller than LDBL_EPSILON/2.0L, just return xm1.
9241
bcbf9830
L
92422012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9243
9244 * elf/tst-array1.c (init): Set constructor priority to 1000.
9245 (fini): Set destructor priority to 1000.
9246 * elf/tst-array2dep.c: Likewise.
9247
2b766585
SP
92482012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9249
9250 [BZ #11741]
9251 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9252 (_IO_new_file_xsputn): Also return EOF if none of the input
9253 data was written when overflow failed.
9254 * libio/iopadn.c (_IO_padn): Likewise.
9255 * libio/iowpadn.c (_IO_wpadn): Likewise.
9256 * stdio-common/tst-put-error.c: Add copyright notice.
9257 (do_test): Add case for printing padded string.
9258 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9259 _IO_padn returned error.
9260 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9261 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9262 return EOF.
9263
b1848fde
SP
92642012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9265
9266 * libio/libioP.h: Add comment note that the references to C++
9267 bits are now obsolete.
9268
2fd89785
MS
92692012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9270
9271 * math/libm-test.inc (check_complex): Use asprintf.
9272
e3ea5409
JM
92732012-11-14 Joseph Myers <joseph@codesourcery.com>
9274
9275 * debug/pcprofiledump.c (print_version): Update copyright year.
9276 * malloc/memusagestat.c (print_version): Likewise.
9277
2e64d265
L
92782012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9279
9280 [BZ #14831]
9281 * elf/Makefile (tests): Add tst-audit8.
9282 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9283 ($(objpfx)tst-audit8.out): New target.
9284 (tst-audit8-ENV): New variable.
9285 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9286 audit if l_reloc_result is NULL.
9287 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9288 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9289 * elf/tst-audit8.c: New file.
9290
c485e4d2
MS
92912012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9292
9293 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9294 * misc/Makefile (CFLAGS-select.c): Define.
9295 * posix/Makefile (CFLAGS-pause.c): Define.
9296
3a0d900a
DM
92972012-11-13 David S. Miller <davem@davemloft.net>
9298
9299 * crypt/Makefile: Move test targets after toplevel Rules
9300 inclusion. Grab any necessary sysdep routines when linking.
9301 * crypt/md5.c (md5_process_block): Remove define, we will always
9302 name it __md5_process_block.
9303 (md5_finish_ctx): Update md5_process_block call.
9304 (md5_stream): Likewise.
9305 (md5_process_bytes): Likewise.
9306 (md5_process_block): Rename to __md5_process_block and move to ...
9307 * crypt/md5-block.c: ... here.
9308 * crypt/sha256.c (sha256_process_block): Move to ...
9309 * crypt/sha256-block.c: ... here.
9310 * crypt/sha512.c (sha512_process_block): Move to ...
9311 * crypt/sha512-block.c: ... here.
9312 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9313 path.
9314 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9315 * sysdeps/sparc/sparc64/multiarch/Makefile
9316 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9317 crypt subdir.
9318 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9319 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9320 multiarch changes.
9321 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9322 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9323 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9324 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9325 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9326 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9327 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9328 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9329 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9330 file.
9331 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9332 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9333 file.
9334 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9335
8ca89318
JM
93362012-11-13 Joseph Myers <joseph@codesourcery.com>
9337
e27d476a
JM
9338 * timezone/tzselect.ksh: Update from tzcode git revision
9339 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9340 * timezone/zdump.c: Likewise.
9341 * timezone/zic.c: Likewise.
9342 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9343 in TZVERSION setting, not $(PKGVERSION).
9344 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9345 REPORT_BUGS_TO settings.
9346
8ca89318
JM
9347 [BZ #14838]
9348 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9349 macro.
9350
47594329
MS
93512012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9352
9353 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9354 detection to immediately after _FP_ROUND().
9355 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9356 bits are 0.
9357
640ac3f1
DM
93582012-11-11 David S. Miller <davem@davemloft.net>
9359
9360 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9361 inttypes.h
9362 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9363 __close rather than their public counterparts.
9364
3d2577bb
JM
93652012-11-10 Joseph Myers <joseph@codesourcery.com>
9366
9367 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9368 file.
9369 [UNIX98] (sem_timedwait): Do not expect.
9370 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9371 [XPG4 || UNIX98] (sockatmark): Do not expect.
9372 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9373 (clock_getcpuclockid): Do not expect.
9374 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9375 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9376 Do not expect.
9377 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9378 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9379 [UNIX98] (vwscanf): Likewise.
9380 [UNIX98] (vswscanf): Likewise.
9381
fb1ae1ee
JM
93822012-11-09 Joseph Myers <joseph@codesourcery.com>
9383
9ec6f8bd
JM
9384 * timezone/version.h: Remove file.
9385 * timezone/README: Do not refer to version.h.
9386 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9387 $(objpfx)version.h.
9388 ($(objpfx)zdump.o): Likewise.
c3f81911 9389 ($(objpfx)version.h): New target.
9ec6f8bd 9390
0aa8f8a1
JM
9391 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9392 2012i.
9393 * timezone/README: Don't mention modification to tzselect.ksh.
9394 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9395 work on unmodified tzselect.ksh. Substitute version numbers in
9396 tzselect.ksh.
9397
4e87147f
JM
9398 * Makefile (format-me): Remove.
9399 (INSTALL): Adjust indentation. Use commands directly instead of
9400 using $(format-me).
9401
8b748aed
JM
9402 * aclocal.m4 (ACX_PKGVERSION): New macro.
9403 (ACX_BUGURL): Likewise.
9404 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9405 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9406 (REPORT_BUGS_TO): Likewise.
9407 * configure: Regenerated.
9408 * config.h.in (PKGVERSION): New macro.
9409 (REPORT_BUGS_TO): Likewise.
9410 * config.make.in (PKGVERSION): New variable.
9411 (PKGVERSION_TEXI): Likewise.
9412 (REPORT_BUGS_TO): Likewise.
9413 (REPORT_BUGS_TEXI): Likewise.
9414 * Makefile (format-me): Use -I$(common-objpfx)manual.
9415 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9416 ($(common-objpfx)manual/%): New target.
9417 (manual/%): Remove target.
9418 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9419 (print_version): Use PKGVERSION.
9420 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9421 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9422 and REPORT_BUGS_TO.
9423 ($(objpfx)xtrace): Likewise.
9424 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9425 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9426 (print_version): Use PKGVERSION.
9427 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9428 (do_version): Use PKGVERSION.
9429 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9430 REPORT_BUGS_TO.
9431 (common-ldd-rewrite): Likewise.
9432 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9433 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9434 (print_version): Use PKGVERSION.
9435 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9436 * elf/pldd.c (argp_program_bug_address): Remove variable.
9437 (more_help): New function.
9438 (argp): Use more_help.
9439 (print_version): Use PKGVERSION.
9440 * elf/sln.c (main): Use PKGVERSION.
9441 (usage): Use REPORT_BUGS_TO.
9442 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9443 (top level): Use PKGVERSION.
9444 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9445 (print_version): Use PKGVERSION.
9446 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9447 (print_version): Use PKGVERSION.
9448 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9449 (print_version): Use PKGVERSION.
9450 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9451 (print_version): Use PKGVERSION.
9452 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9453 (print_version): Use PKGVERSION.
9454 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9455 (print_version): Use PKGVERSION.
9456 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9457 and BUGURL.
9458 ($(objpfx)memusage): Likewise.
9459 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9460 (do_version): Use PKGVERSION.
9461 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9462 (print_version): Use PKGVERSION.
9463 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9464 ($PKGVERSION): New variable.
9465 ($REPORT_BUGS_TO): Likewise.
9466 (usage): Use $REPORT_BUGS_TO.
9467 (top level): Use $PKGVERSION.
9468 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9469 ($(objpfx)pkgvers.texi): New rule.
9470 ($(objpfx)stamp-pkgvers): Likewise.
9471 * manual/install.texi: Include pkgvers.texi.
9472 (--with-pkgversion): Document new configure option.
9473 (--with-bugurl): Likewise.
9474 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9475 than necessarily for this particular distribution. Use
9476 REPORT_BUGS_TO for where to report bugs.
9477 * INSTALL: Regenerated.
9478 * manual/libc.texinfo: Include pkgvers.texi.
9479 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9480 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9481 (print_version): Use PKGVERSION.
9482 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9483 (print_version): Use PKGVERSION.
9484 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9485 (print_version): Use PKGVERSION.
9486 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9487 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9488 macro.
9489 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9490 (print_version): Use PKGVERSION.
9491 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9492 (print_version): Use PKGVERSION.
9493 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9494 and PKGVERSION.
9495
92e4b6a9
JM
9496 * timezone/checktab.awk: Update from tzcode 2012i.
9497 * timezone/ialloc.c: Likewise.
9498 * timezone/private.h: Likewise.
9499 * timezone/scheck.c: Likewise.
9500 * timezone/tzfile.h: Likewise.
9501 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9502 (TZVERSION): Hardcode tzcode version number.
9503 * timezone/zdump.c: Update from tzcode 2012i.
9504 * timezone/zic.c: Likewise.
9505 * timezone/version.h: New file.
9506 * timezone/README: Describe version.h. Update upstream location.
9507
9bde902c
JM
9508 [BZ #14824]
9509 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9510 (mktemp): Enable declaration.
9511 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9512 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9513 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9514 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9515 Likewise.
9516 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9517 Likewise.
9518 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9519 Likewise.
9520 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9521 Likewise.
9522 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9523 Likewise.
9524 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9525 Likewise.
9526
fb1ae1ee
JM
9527 [BZ #14821]
9528 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9529 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9530 for copies of such integer values.
9531 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9532 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9533
2c1adbcb
AJ
95342012-11-09 Andreas Jaeger <aj@suse.de>
9535
9536 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9537 definitions and declarations that are provided by
9538 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9539
d0f8457e
AK
95402012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9541
3a235abb 9542 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9543 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9544 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9545 definition.
9546
57241e26
MS
95472012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9548
9549 * elf/elf.h: Update comment before AArch64 relocations.
9550
60e8270d
DM
95512012-11-07 David S. Miller <davem@davemloft.net>
9552
9553 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9554 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9555 (__start_context): Declare.
9556 (__makecontext_ret): Delete.
9557 (__makecontext): Hook up __start_context instead of
9558 __makecontext_ret.
9559 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9560 (sysdep_routines): Add __start_context when in stdlib.
9561
0fbb0fbc
JM
95622012-11-07 Joseph Myers <joseph@codesourcery.com>
9563
9564 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9565 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9566 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9567 hardcoded "nm".
9568 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9569 (READELF): New variable. Use it instead of hardcoded "readelf".
9570
eb48db7e
L
95712012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9572
9573 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9574 * sysdeps/x86/Makefile: Here.
9575 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9576 * sysdeps/x86/tst-xmmymm.sh: This.
9577
05bcf62a
JM
95782012-11-07 Joseph Myers <joseph@codesourcery.com>
9579
c4b6cf53
JM
9580 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9581 expectations.
9582 [UNIX98] (pthread_barrier_t): Do not expect.
9583 [UNIX98] (pthread_barrierattr_t): Likewise.
9584 [UNIX98] (pthread_spinlock_t): Likewise.
9585 [UNIX98] (pthread_barrier_destroy): Likewise.
9586 [UNIX98] (pthread_barrier_init): Likewise.
9587 [UNIX98] (pthread_barrier_wait): Likewise.
9588 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9589 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9590 [UNIX98] (pthread_barrierattr_init): Likewise.
9591 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9592 [UNIX98] (pthread_getcpuclockid): Likewise.
9593 [UNIX98] (pthread_mutex_timedlock): Likewise.
9594 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9595 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9596 [UNIX98] (pthread_sigmask): Likewise.
9597 [UNIX98] (pthread_spin_destroy): Likewise.
9598 [UNIX98] (pthread_spin_init): Likewise.
9599 [UNIX98] (pthread_spin_lock): Likewise.
9600 [UNIX98] (pthread_spin_trylock): Likewise.
9601 [UNIX98] (pthread_spin_unlock): Likewise.
9602 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9603 Do not expect.
9604 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9605 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9606 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9607 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9608 [XPG3 || XPG4] (pthread_key_t): Likewise.
9609 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9610 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9611 [XPG3 || XPG4] (pthread_once_t): Likewise.
9612 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9613 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9614 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9615 [XPG3 || XPG4] (pthread_t): Likewise.
9616
cbe6e120
JM
9617 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9618 not expect.
9619 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9620
1b126443
JM
9621 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9622 Change function return type to int.
9623
b961a573
JM
9624 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9625 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9626 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9627 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9628 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9629 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9630 [!POSIX] (posix_madvise): Likewise.
9631 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9632 && !UNIX98].
9633 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9634 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9635 (mode_t): Likewise.
9636 (posix_mem_offset): Likewise.
9637 (posix_typed_mem_get_info): Likewise.
9638 (posix_typed_mem_open): Likewise.
9639
9e188909
JM
9640 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9641 Change condition to [XOPEN2K8].
9642
05bcf62a
JM
9643 * conform/conformtest.pl: Preprocess allow-header data with -x c
9644 instead of from stdin.
9645 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9646 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9647 [C99-based standards] (cerfc): Likewise.
9648 [C99-based standards] (cexp2): Likewise.
9649 [C99-based standards] (cexpm1): Likewise.
9650 [C99-based standards] (clog10): Likewise.
9651 [C99-based standards] (clog1p): Likewise.
9652 [C99-based standards] (clog2): Likewise.
9653 [C99-based standards] (clgamma): Likewise.
9654 [C99-based standards] (ctgamma): Likewise.
9655 [C99-based standards] (cerff): Likewise.
9656 [C99-based standards] (cerfcf): Likewise.
9657 [C99-based standards] (cexp2f): Likewise.
9658 [C99-based standards] (cexpm1f): Likewise.
9659 [C99-based standards] (clog10f): Likewise.
9660 [C99-based standards] (clog1pf): Likewise.
9661 [C99-based standards] (clog2f): Likewise.
9662 [C99-based standards] (clgammaf): Likewise.
9663 [C99-based standards] (ctgammaf): Likewise.
9664 [C99-based standards] (cerfl): Likewise.
9665 [C99-based standards] (cerfcl): Likewise.
9666 [C99-based standards] (cexp2l): Likewise.
9667 [C99-based standards] (cexpm1l): Likewise.
9668 [C99-based standards] (clog10l): Likewise.
9669 [C99-based standards] (clog1pl): Likewise.
9670 [C99-based standards] (clog2l): Likewise.
9671 [C99-based standards] (clgammal): Likewise.
9672 [C99-based standards] (ctgammal): Likewise.
9673 * conform/data/inttypes.h-data [C99-based standards]: Include
9674 stdint.h-data. Remove all expectations for stdint.h contents.
9675 [C99-based standards] (PRI*): Do not allow.
9676 [C99-based standards] (SCN*): Likewise.
9677 [C99-based standards] (*_t): Likewise.
9678 [C99-based-standards] (PRId8): Expect macro.
9679 [C99-based-standards] (PRIi8): Likewise.
9680 [C99-based-standards] (PRIo8): Likewise.
9681 [C99-based-standards] (PRIu8): Likewise.
9682 [C99-based-standards] (PRIx8): Likewise.
9683 [C99-based-standards] (PRIX8): Likewise.
9684 [C99-based-standards] (SCNd8): Likewise.
9685 [C99-based-standards] (SCNi8): Likewise.
9686 [C99-based-standards] (SCNo8): Likewise.
9687 [C99-based-standards] (SCNu8): Likewise.
9688 [C99-based-standards] (SCNx8): Likewise.
9689 [C99-based-standards] (PRIdLEAST8): Likewise.
9690 [C99-based-standards] (PRIiLEAST8): Likewise.
9691 [C99-based-standards] (PRIoLEAST8): Likewise.
9692 [C99-based-standards] (PRIuLEAST8): Likewise.
9693 [C99-based-standards] (PRIxLEAST8): Likewise.
9694 [C99-based-standards] (PRIXLEAST8): Likewise.
9695 [C99-based-standards] (SCNdLEAST8): Likewise.
9696 [C99-based-standards] (SCNiLEAST8): Likewise.
9697 [C99-based-standards] (SCNoLEAST8): Likewise.
9698 [C99-based-standards] (SCNuLEAST8): Likewise.
9699 [C99-based-standards] (SCNxLEAST8): Likewise.
9700 [C99-based-standards] (PRIdFAST8): Likewise.
9701 [C99-based-standards] (PRIiFAST8): Likewise.
9702 [C99-based-standards] (PRIoFAST8): Likewise.
9703 [C99-based-standards] (PRIuFAST8): Likewise.
9704 [C99-based-standards] (PRIxFAST8): Likewise.
9705 [C99-based-standards] (PRIXFAST8): Likewise.
9706 [C99-based-standards] (SCNdFAST8): Likewise.
9707 [C99-based-standards] (SCNiFAST8): Likewise.
9708 [C99-based-standards] (SCNoFAST8): Likewise.
9709 [C99-based-standards] (SCNuFAST8): Likewise.
9710 [C99-based-standards] (SCNxFAST8): Likewise.
9711 [C99-based-standards] (PRId16): Likewise.
9712 [C99-based-standards] (PRIi16): Likewise.
9713 [C99-based-standards] (PRIo16): Likewise.
9714 [C99-based-standards] (PRIu16): Likewise.
9715 [C99-based-standards] (PRIx16): Likewise.
9716 [C99-based-standards] (PRIX16): Likewise.
9717 [C99-based-standards] (SCNd16): Likewise.
9718 [C99-based-standards] (SCNi16): Likewise.
9719 [C99-based-standards] (SCNo16): Likewise.
9720 [C99-based-standards] (SCNu16): Likewise.
9721 [C99-based-standards] (SCNx16): Likewise.
9722 [C99-based-standards] (PRIdLEAST16): Likewise.
9723 [C99-based-standards] (PRIiLEAST16): Likewise.
9724 [C99-based-standards] (PRIoLEAST16): Likewise.
9725 [C99-based-standards] (PRIuLEAST16): Likewise.
9726 [C99-based-standards] (PRIxLEAST16): Likewise.
9727 [C99-based-standards] (PRIXLEAST16): Likewise.
9728 [C99-based-standards] (SCNdLEAST16): Likewise.
9729 [C99-based-standards] (SCNiLEAST16): Likewise.
9730 [C99-based-standards] (SCNoLEAST16): Likewise.
9731 [C99-based-standards] (SCNuLEAST16): Likewise.
9732 [C99-based-standards] (SCNxLEAST16): Likewise.
9733 [C99-based-standards] (PRIdFAST16): Likewise.
9734 [C99-based-standards] (PRIiFAST16): Likewise.
9735 [C99-based-standards] (PRIoFAST16): Likewise.
9736 [C99-based-standards] (PRIuFAST16): Likewise.
9737 [C99-based-standards] (PRIxFAST16): Likewise.
9738 [C99-based-standards] (PRIXFAST16): Likewise.
9739 [C99-based-standards] (SCNdFAST16): Likewise.
9740 [C99-based-standards] (SCNiFAST16): Likewise.
9741 [C99-based-standards] (SCNoFAST16): Likewise.
9742 [C99-based-standards] (SCNuFAST16): Likewise.
9743 [C99-based-standards] (SCNxFAST16): Likewise.
9744 [C99-based-standards] (PRId32): Likewise.
9745 [C99-based-standards] (PRIi32): Likewise.
9746 [C99-based-standards] (PRIo32): Likewise.
9747 [C99-based-standards] (PRIu32): Likewise.
9748 [C99-based-standards] (PRIx32): Likewise.
9749 [C99-based-standards] (PRIX32): Likewise.
9750 [C99-based-standards] (SCNd32): Likewise.
9751 [C99-based-standards] (SCNi32): Likewise.
9752 [C99-based-standards] (SCNo32): Likewise.
9753 [C99-based-standards] (SCNu32): Likewise.
9754 [C99-based-standards] (SCNx32): Likewise.
9755 [C99-based-standards] (PRIdLEAST32): Likewise.
9756 [C99-based-standards] (PRIiLEAST32): Likewise.
9757 [C99-based-standards] (PRIoLEAST32): Likewise.
9758 [C99-based-standards] (PRIuLEAST32): Likewise.
9759 [C99-based-standards] (PRIxLEAST32): Likewise.
9760 [C99-based-standards] (PRIXLEAST32): Likewise.
9761 [C99-based-standards] (SCNdLEAST32): Likewise.
9762 [C99-based-standards] (SCNiLEAST32): Likewise.
9763 [C99-based-standards] (SCNoLEAST32): Likewise.
9764 [C99-based-standards] (SCNuLEAST32): Likewise.
9765 [C99-based-standards] (SCNxLEAST32): Likewise.
9766 [C99-based-standards] (PRIdFAST32): Likewise.
9767 [C99-based-standards] (PRIiFAST32): Likewise.
9768 [C99-based-standards] (PRIoFAST32): Likewise.
9769 [C99-based-standards] (PRIuFAST32): Likewise.
9770 [C99-based-standards] (PRIxFAST32): Likewise.
9771 [C99-based-standards] (PRIXFAST32): Likewise.
9772 [C99-based-standards] (SCNdFAST32): Likewise.
9773 [C99-based-standards] (SCNiFAST32): Likewise.
9774 [C99-based-standards] (SCNoFAST32): Likewise.
9775 [C99-based-standards] (SCNuFAST32): Likewise.
9776 [C99-based-standards] (SCNxFAST32): Likewise.
9777 [C99-based-standards] (PRId64): Likewise.
9778 [C99-based-standards] (PRIi64): Likewise.
9779 [C99-based-standards] (PRIo64): Likewise.
9780 [C99-based-standards] (PRIu64): Likewise.
9781 [C99-based-standards] (PRIx64): Likewise.
9782 [C99-based-standards] (PRIX64): Likewise.
9783 [C99-based-standards] (SCNd64): Likewise.
9784 [C99-based-standards] (SCNi64): Likewise.
9785 [C99-based-standards] (SCNo64): Likewise.
9786 [C99-based-standards] (SCNu64): Likewise.
9787 [C99-based-standards] (SCNx64): Likewise.
9788 [C99-based-standards] (PRIdLEAST64): Likewise.
9789 [C99-based-standards] (PRIiLEAST64): Likewise.
9790 [C99-based-standards] (PRIoLEAST64): Likewise.
9791 [C99-based-standards] (PRIuLEAST64): Likewise.
9792 [C99-based-standards] (PRIxLEAST64): Likewise.
9793 [C99-based-standards] (PRIXLEAST64): Likewise.
9794 [C99-based-standards] (SCNdLEAST64): Likewise.
9795 [C99-based-standards] (SCNiLEAST64): Likewise.
9796 [C99-based-standards] (SCNoLEAST64): Likewise.
9797 [C99-based-standards] (SCNuLEAST64): Likewise.
9798 [C99-based-standards] (SCNxLEAST64): Likewise.
9799 [C99-based-standards] (PRIdFAST64): Likewise.
9800 [C99-based-standards] (PRIiFAST64): Likewise.
9801 [C99-based-standards] (PRIoFAST64): Likewise.
9802 [C99-based-standards] (PRIuFAST64): Likewise.
9803 [C99-based-standards] (PRIxFAST64): Likewise.
9804 [C99-based-standards] (PRIXFAST64): Likewise.
9805 [C99-based-standards] (SCNdFAST64): Likewise.
9806 [C99-based-standards] (SCNiFAST64): Likewise.
9807 [C99-based-standards] (SCNoFAST64): Likewise.
9808 [C99-based-standards] (SCNuFAST64): Likewise.
9809 [C99-based-standards] (SCNxFAST64): Likewise.
9810 [C99-based-standards] (PRIdMAX): Likewise.
9811 [C99-based-standards] (PRIiMAX): Likewise.
9812 [C99-based-standards] (PRIoMAX): Likewise.
9813 [C99-based-standards] (PRIuMAX): Likewise.
9814 [C99-based-standards] (PRIxMAX): Likewise.
9815 [C99-based-standards] (PRIXMAX): Likewise.
9816 [C99-based-standards] (SCNdMAX): Likewise.
9817 [C99-based-standards] (SCNiMAX): Likewise.
9818 [C99-based-standards] (SCNoMAX): Likewise.
9819 [C99-based-standards] (SCNuMAX): Likewise.
9820 [C99-based-standards] (SCNxMAX): Likewise.
9821 [C99-based-standards] (PRIdPTR): Likewise.
9822 [C99-based-standards] (PRIiPTR): Likewise.
9823 [C99-based-standards] (PRIoPTR): Likewise.
9824 [C99-based-standards] (PRIuPTR): Likewise.
9825 [C99-based-standards] (PRIxPTR): Likewise.
9826 [C99-based-standards] (PRIXPTR): Likewise.
9827 [C99-based-standards] (SCNdPTR): Likewise.
9828 [C99-based-standards] (SCNiPTR): Likewise.
9829 [C99-based-standards] (SCNoPTR): Likewise.
9830 [C99-based-standards] (SCNuPTR): Likewise.
9831 [C99-based-standards] (SCNxPTR): Likewise.
9832 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9833 allow.
9834 * conform/data/stdint.h-data: Update comments to clarify
9835 requirements.
9836 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9837 type.
9838 [C99-based standards] (INT8_MAX): Likewise.
9839 [C99-based standards] (INT16_MIN): Likewise.
9840 [C99-based standards] (INT16_MAX): Likewise.
9841 [C99-based standards] (INT32_MIN): Likewise.
9842 [C99-based standards] (INT32_MAX): Likewise.
9843 [C99-based standards] (INT64_MIN): Likewise.
9844 [C99-based standards] (INT64_MAX): Likewise.
9845 [C99-based standards] (UINT8_MAX): Likewise.
9846 [C99-based standards] (UINT16_MAX): Likewise.
9847 [C99-based standards] (UINT32_MAX): Likewise.
9848 [C99-based standards] (UINT64_MAX): Likewise.
9849 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9850 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9851 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9852 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9853 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9854 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9855 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9856 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9857 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9858 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9859 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9860 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9861 [C99-based standards] (INT_FAST8_MIN): Likewise.
9862 [C99-based standards] (INT_FAST8_MAX): Likewise.
9863 [C99-based standards] (INT_FAST16_MIN): Likewise.
9864 [C99-based standards] (INT_FAST16_MAX): Likewise.
9865 [C99-based standards] (INT_FAST32_MIN): Likewise.
9866 [C99-based standards] (INT_FAST32_MAX): Likewise.
9867 [C99-based standards] (INT_FAST64_MIN): Likewise.
9868 [C99-based standards] (INT_FAST64_MAX): Likewise.
9869 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9870 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9871 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9872 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9873 [C99-based standards] (INTPTR_MIN): Likewise.
9874 [C99-based standards] (INTPTR_MAX): Likewise.
9875 [C99-based standards] (UINTPTR_MAX): Likewise.
9876 [C99-based standards] (INTMAX_MIN): Likewise.
9877 [C99-based standards] (INTMAX_MAX): Likewise.
9878 [C99-based standards] (UINTMAX_MAX): Likewise.
9879 [C99-based standards] (PTRDIFF_MIN): Likewise.
9880 [C99-based standards] (PTRDIFF_MAX): Likewise.
9881 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9882 [C99-based standards] (SIZE_MAX): Likewise.
9883 [C99-based standards] (WCHAR_MAX): Likewise.
9884 [C99-based standards] (WINT_MAX): Likewise.
9885 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9886 constraint on value.
9887 [C99-based standards] (WCHAR_MIN): Likewise.
9888 [C99-based standards] (WINT_MIN): Likewise.
9889 [C99-based standards] (*_t): Allow.
9890 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9891 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9892 Include math.h-data and complex.h-data. Remove all expectations
9893 of math.h and complex.h contents.
9894 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9895 at end of line.
9896 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9897 (struct tm): Expect tag.
9898 [C99-based-standards] (wcstof): Expect function.
9899 [C99-based-standards] (wcstold): Likewise.
9900 [C99-based-standards] (wcstoll): Likewise.
9901 [C99-based-standards] (wcstoull): Likewise.
9902 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9903 macro-int-constant. Specify type.
9904 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9905 constraint on value.
9906 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9907 Specify type.
9908 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9909 Specify value.
9910 [ISO C standards]: Do not allow headers.
9911 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9912 wcs[abcdefghijklmnopqrstuvwxyz]*.
9913 [ISO C standards] (*_t): Do not allow.
9914 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9915 Expect function.
9916 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9917 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9918 Specify type.
9919 [ISO C standards]: Do not allow headers.
9920 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9921 is[abcdefghijklmnopqrstuvwxyz]*.
9922 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9923 to[abcdefghijklmnopqrstuvwxyz]*.
9924 [ISO C standards] (*_t): Do not allow.
9925 * conform/data/stdalign.h-data: New file.
9926 * conform/data/stdbool.h-data: Likewise.
9927 * conform/data/stdnoreturn.h-data: Likewise.
9928
7514feb8
RM
99292012-11-07 Roland McGrath <roland@hack.frob.com>
9930
9931 [BZ #14815]
9932 * manual/filesys.texi (Directory Entries): Typo fix.
9933 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9934
19b2ecfc
MS
99352012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9936
9937 * elf/elf.h (EM_AARCH64): New macro.
9938 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9939 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9940 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9941 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9942 (R_AARCH64_TLSDESC): Likewise.
9943 (NT_ARM_TLS): Likewise.
9944 (NT_ARM_HW_BREAK): Likewise.
9945 (NT_ARM_HW_WATCH): Likewise.
9946
60e235ee
JM
99472012-11-07 Joseph Myers <joseph@codesourcery.com>
9948
9949 [BZ #14811]
9950 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9951 (__ieee754_powl): Saturate nonzero exponents with absolute value
9952 below 0x1p-79 to +/- 0x1p-79.
9953 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9954 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9955 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9956 nonzero exponents with absolute value below 0x1p-32 to +/-
9957 0x1p-32.
9958 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9959 (__ieee754_powl): Saturate nonzero exponents with absolute value
9960 below 0x1p-79 to +/- 0x1p-79.
9961 * math/libm-test.inc (pow_test): Add more tests.
9962
0ab234b7
AK
99632012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9964
9965 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9966 _dl_s390_cap_flags with kernel. Increase string length.
9967 (_dl_s390_platforms): Add z196 and zEC12.
9968
45832f74
JM
99692012-11-07 Joseph Myers <joseph@codesourcery.com>
9970
9971 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9972 Change XOPEN21K to XOPEN2K.
9973
19218757
MK
99742012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
9975
9976 * string/memmove.c: Use memcpy when possible.
9977
c5f45721
AJ
99782012-11-06 Andreas Jaeger <aj@suse.de>
9979
9980 * po/eo.po: Update from translation team.
9981
82477c28
JM
99822012-11-06 Joseph Myers <joseph@codesourcery.com>
9983
9984 [BZ #14793]
9985 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9986 exponent and small x and y exponents, scale x or y up. Increase
9987 by 2 the exponent used in scaling up.
9988 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9989 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9990 * math/libm-test.inc (fma_test): Add more tests.
9991 (fma_test_towardzero): Likewise.
9992 (fma_test_downward): Likewise.
9993 (fma_test_upward): Likewise.
9994
99252c8c
JM
99952012-11-05 Joseph Myers <joseph@codesourcery.com>
9996
acfa885f
JM
9997 [BZ #14805]
9998 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9999 fenv_t *.
10000
99252c8c
JM
10001 [BZ #14801]
10002 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10003 namespace for names of struct fields.
10004 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10005 fenv_t fields.
10006 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10007 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10008
d6d98dea
ST
100092012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10010
10011 [BZ #3665]
10012 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10013
e10bb107
TS
100142012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10015
10016 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10017 PTR_DEMANGLE.
10018
10019 [BZ #5246]
10020 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10021 PTR_DEMANGLE.
10022
a0c2940d
JM
100232012-11-04 Joseph Myers <joseph@codesourcery.com>
10024
10025 [BZ #14797]
10026 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10027 definitely overflow as x * y not x * y + z.
10028 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10029 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10030 * math/libm-test.inc (fma_test): Add more tests.
10031 (fma_test_towardzero): Likewise.
10032 (fma_test_downward): Likewise.
10033 (fma_test_upward): Likewise.
10034
b830319d
TS
100352012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10036
10037 [BZ #157]
10038
10039 * include/stub-tag.h: Remove file.
10040 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10041 '#include' of it.
10042 * manual/maint.texi (Porting): Don't reference it.
10043 * Makerules ($(objpfx)stubs): Likewise.
10044 * dirent/closedir.c: Don't include <stub-tag.h>.
10045 * dirent/dirfd.c: Likewise.
10046 * dirent/fdopendir.c: Likewise.
10047 * dirent/getdents.c: Likewise.
10048 * dirent/getdents64.c: Likewise.
10049 * dirent/opendir.c: Likewise.
10050 * dirent/readdir.c: Likewise.
10051 * dirent/readdir64.c: Likewise.
10052 * dirent/readdir64_r.c: Likewise.
10053 * dirent/readdir_r.c: Likewise.
10054 * dirent/rewinddir.c: Likewise.
10055 * dirent/seekdir.c: Likewise.
10056 * dirent/telldir.c: Likewise.
10057 * gmon/profil.c: Likewise.
10058 * grp/setgroups.c: Likewise.
10059 * inet/if_index.c: Likewise.
10060 * io/access.c: Likewise.
10061 * io/chdir.c: Likewise.
10062 * io/chmod.c: Likewise.
10063 * io/chown.c: Likewise.
10064 * io/close.c: Likewise.
10065 * io/dup.c: Likewise.
10066 * io/dup2.c: Likewise.
10067 * io/dup3.c: Likewise.
10068 * io/euidaccess.c: Likewise.
10069 * io/faccessat.c: Likewise.
10070 * io/fchdir.c: Likewise.
10071 * io/fchmod.c: Likewise.
10072 * io/fchmodat.c: Likewise.
10073 * io/fchown.c: Likewise.
10074 * io/fchownat.c: Likewise.
10075 * io/fcntl.c: Likewise.
10076 * io/flock.c: Likewise.
10077 * io/fstatfs.c: Likewise.
10078 * io/fstatfs64.c: Likewise.
10079 * io/fstatvfs.c: Likewise.
10080 * io/fstatvfs64.c: Likewise.
10081 * io/futimens.c: Likewise.
10082 * io/fxstat.c: Likewise.
10083 * io/fxstat64.c: Likewise.
10084 * io/fxstatat.c: Likewise.
10085 * io/fxstatat64.c: Likewise.
10086 * io/getcwd.c: Likewise.
10087 * io/isatty.c: Likewise.
10088 * io/lchmod.c: Likewise.
10089 * io/lchown.c: Likewise.
10090 * io/link.c: Likewise.
10091 * io/linkat.c: Likewise.
10092 * io/lseek.c: Likewise.
10093 * io/lseek64.c: Likewise.
10094 * io/lxstat64.c: Likewise.
10095 * io/mkdir.c: Likewise.
10096 * io/mkdirat.c: Likewise.
10097 * io/mkfifo.c: Likewise.
10098 * io/mkfifoat.c: Likewise.
10099 * io/open.c: Likewise.
10100 * io/open64.c: Likewise.
10101 * io/openat.c: Likewise.
10102 * io/openat64.c: Likewise.
10103 * io/pipe.c: Likewise.
10104 * io/pipe2.c: Likewise.
10105 * io/poll.c: Likewise.
10106 * io/posix_fadvise.c: Likewise.
10107 * io/posix_fadvise64.c: Likewise.
10108 * io/posix_fallocate.c: Likewise.
10109 * io/posix_fallocate64.c: Likewise.
10110 * io/read.c: Likewise.
10111 * io/readlink.c: Likewise.
10112 * io/readlinkat.c: Likewise.
10113 * io/rmdir.c: Likewise.
10114 * io/sendfile.c: Likewise.
10115 * io/sendfile64.c: Likewise.
10116 * io/statfs.c: Likewise.
10117 * io/statfs64.c: Likewise.
10118 * io/statvfs.c: Likewise.
10119 * io/statvfs64.c: Likewise.
10120 * io/symlink.c: Likewise.
10121 * io/symlinkat.c: Likewise.
10122 * io/ttyname.c: Likewise.
10123 * io/ttyname_r.c: Likewise.
10124 * io/umask.c: Likewise.
10125 * io/unlink.c: Likewise.
10126 * io/unlinkat.c: Likewise.
10127 * io/utime.c: Likewise.
10128 * io/utimensat.c: Likewise.
10129 * io/write.c: Likewise.
10130 * io/xmknod.c: Likewise.
10131 * io/xmknodat.c: Likewise.
10132 * io/xstat.c: Likewise.
10133 * io/xstat64.c: Likewise.
10134 * login/getpt.c: Likewise.
10135 * login/grantpt.c: Likewise.
10136 * login/unlockpt.c: Likewise.
10137 * math/e_acoshl.c: Likewise.
10138 * math/e_acosl.c: Likewise.
10139 * math/e_asinl.c: Likewise.
10140 * math/e_atan2l.c: Likewise.
10141 * math/e_atanhl.c: Likewise.
10142 * math/e_coshl.c: Likewise.
10143 * math/e_expl.c: Likewise.
10144 * math/e_fmodl.c: Likewise.
10145 * math/e_gammal_r.c: Likewise.
10146 * math/e_hypotl.c: Likewise.
10147 * math/e_j0l.c: Likewise.
10148 * math/e_j1l.c: Likewise.
10149 * math/e_jnl.c: Likewise.
10150 * math/e_lgammal_r.c: Likewise.
10151 * math/e_log10l.c: Likewise.
10152 * math/e_log2l.c: Likewise.
10153 * math/e_logl.c: Likewise.
10154 * math/e_powl.c: Likewise.
10155 * math/e_rem_pio2l.c: Likewise.
10156 * math/e_sinhl.c: Likewise.
10157 * math/e_sqrtl.c: Likewise.
10158 * math/fclrexcpt.c: Likewise.
10159 * math/fedisblxcpt.c: Likewise.
10160 * math/feenablxcpt.c: Likewise.
10161 * math/fegetenv.c: Likewise.
10162 * math/fegetexcept.c: Likewise.
10163 * math/fegetround.c: Likewise.
10164 * math/feholdexcpt.c: Likewise.
10165 * math/fesetenv.c: Likewise.
10166 * math/fesetround.c: Likewise.
10167 * math/feupdateenv.c: Likewise.
10168 * math/fgetexcptflg.c: Likewise.
10169 * math/fraiseexcpt.c: Likewise.
10170 * math/fsetexcptflg.c: Likewise.
10171 * math/ftestexcept.c: Likewise.
10172 * math/k_cosl.c: Likewise.
10173 * math/k_rem_pio2l.c: Likewise.
10174 * math/k_sinl.c: Likewise.
10175 * math/k_tanl.c: Likewise.
10176 * math/s_asinhl.c: Likewise.
10177 * math/s_atanl.c: Likewise.
10178 * math/s_cbrtl.c: Likewise.
10179 * math/s_erfl.c: Likewise.
10180 * math/s_expm1l.c: Likewise.
10181 * math/s_log1pl.c: Likewise.
10182 * math/s_tanhl.c: Likewise.
10183 * misc/acct.c: Likewise.
10184 * misc/brk.c: Likewise.
10185 * misc/chflags.c: Likewise.
10186 * misc/chroot.c: Likewise.
10187 * misc/fchflags.c: Likewise.
10188 * misc/fgetxattr.c: Likewise.
10189 * misc/flistxattr.c: Likewise.
10190 * misc/fremovexattr.c: Likewise.
10191 * misc/fsetxattr.c: Likewise.
10192 * misc/fsync.c: Likewise.
10193 * misc/ftruncate.c: Likewise.
10194 * misc/futimes.c: Likewise.
10195 * misc/futimesat.c: Likewise.
10196 * misc/getdomain.c: Likewise.
10197 * misc/getdtsz.c: Likewise.
10198 * misc/gethostid.c: Likewise.
10199 * misc/gethostname.c: Likewise.
10200 * misc/getloadavg.c: Likewise.
10201 * misc/getpagesize.c: Likewise.
10202 * misc/getsysstats.c: Likewise.
10203 * misc/getxattr.c: Likewise.
10204 * misc/gtty.c: Likewise.
10205 * misc/ioctl.c: Likewise.
10206 * misc/lgetxattr.c: Likewise.
10207 * misc/listxattr.c: Likewise.
10208 * misc/llistxattr.c: Likewise.
10209 * misc/lremovexattr.c: Likewise.
10210 * misc/lsetxattr.c: Likewise.
10211 * misc/lutimes.c: Likewise.
10212 * misc/madvise.c: Likewise.
10213 * misc/mincore.c: Likewise.
10214 * misc/mlock.c: Likewise.
10215 * misc/mlockall.c: Likewise.
10216 * misc/mmap.c: Likewise.
10217 * misc/mprotect.c: Likewise.
10218 * misc/msync.c: Likewise.
10219 * misc/munlock.c: Likewise.
10220 * misc/munlockall.c: Likewise.
10221 * misc/munmap.c: Likewise.
10222 * misc/preadv.c: Likewise.
10223 * misc/preadv64.c: Likewise.
10224 * misc/ptrace.c: Likewise.
10225 * misc/pwritev.c: Likewise.
10226 * misc/pwritev64.c: Likewise.
10227 * misc/readv.c: Likewise.
10228 * misc/reboot.c: Likewise.
10229 * misc/remap_file_pages.c: Likewise.
10230 * misc/removexattr.c: Likewise.
10231 * misc/revoke.c: Likewise.
10232 * misc/select.c: Likewise.
10233 * misc/setdomain.c: Likewise.
10234 * misc/setegid.c: Likewise.
10235 * misc/seteuid.c: Likewise.
10236 * misc/sethostid.c: Likewise.
10237 * misc/sethostname.c: Likewise.
10238 * misc/setregid.c: Likewise.
10239 * misc/setreuid.c: Likewise.
10240 * misc/setxattr.c: Likewise.
10241 * misc/sstk.c: Likewise.
10242 * misc/stty.c: Likewise.
10243 * misc/swapoff.c: Likewise.
10244 * misc/swapon.c: Likewise.
10245 * misc/sync.c: Likewise.
10246 * misc/syncfs.c: Likewise.
10247 * misc/syscall.c: Likewise.
10248 * misc/truncate.c: Likewise.
10249 * misc/ualarm.c: Likewise.
10250 * misc/usleep.c: Likewise.
10251 * misc/ustat.c: Likewise.
10252 * misc/utimes.c: Likewise.
10253 * misc/vhangup.c: Likewise.
10254 * misc/writev.c: Likewise.
10255 * posix/_exit.c: Likewise.
10256 * posix/alarm.c: Likewise.
10257 * posix/execve.c: Likewise.
10258 * posix/fexecve.c: Likewise.
10259 * posix/fork.c: Likewise.
10260 * posix/fpathconf.c: Likewise.
10261 * posix/getaddrinfo.c: Likewise.
10262 * posix/getegid.c: Likewise.
10263 * posix/geteuid.c: Likewise.
10264 * posix/getgid.c: Likewise.
10265 * posix/getgroups.c: Likewise.
10266 * posix/getlogin.c: Likewise.
10267 * posix/getlogin_r.c: Likewise.
10268 * posix/getpgid.c: Likewise.
10269 * posix/getpid.c: Likewise.
10270 * posix/getppid.c: Likewise.
10271 * posix/getresgid.c: Likewise.
10272 * posix/getresuid.c: Likewise.
10273 * posix/getsid.c: Likewise.
10274 * posix/getuid.c: Likewise.
10275 * posix/glob64.c: Likewise.
10276 * posix/nanosleep.c: Likewise.
10277 * posix/pathconf.c: Likewise.
10278 * posix/pause.c: Likewise.
10279 * posix/posix_madvise.c: Likewise.
10280 * posix/pread.c: Likewise.
10281 * posix/pread64.c: Likewise.
10282 * posix/pwrite.c: Likewise.
10283 * posix/pwrite64.c: Likewise.
10284 * posix/sched_getaffinity.c: Likewise.
10285 * posix/sched_getp.c: Likewise.
10286 * posix/sched_gets.c: Likewise.
10287 * posix/sched_primax.c: Likewise.
10288 * posix/sched_primin.c: Likewise.
10289 * posix/sched_rr_gi.c: Likewise.
10290 * posix/sched_setaffinity.c: Likewise.
10291 * posix/sched_setp.c: Likewise.
10292 * posix/sched_sets.c: Likewise.
10293 * posix/sched_yield.c: Likewise.
10294 * posix/setgid.c: Likewise.
10295 * posix/setlogin.c: Likewise.
10296 * posix/setpgid.c: Likewise.
10297 * posix/setresgid.c: Likewise.
10298 * posix/setresuid.c: Likewise.
10299 * posix/setsid.c: Likewise.
10300 * posix/setuid.c: Likewise.
10301 * posix/sleep.c: Likewise.
10302 * posix/spawni.c: Likewise.
10303 * posix/sysconf.c: Likewise.
10304 * posix/times.c: Likewise.
10305 * posix/wait.c: Likewise.
10306 * posix/wait3.c: Likewise.
10307 * posix/wait4.c: Likewise.
10308 * posix/waitpid.c: Likewise.
10309 * resolv/gai_sigqueue.c: Likewise.
10310 * resource/getpriority.c: Likewise.
10311 * resource/getrlimit.c: Likewise.
10312 * resource/getrusage.c: Likewise.
10313 * resource/nice.c: Likewise.
10314 * resource/setpriority.c: Likewise.
10315 * resource/setrlimit.c: Likewise.
10316 * resource/ulimit.c: Likewise.
10317 * rt/aio_cancel.c: Likewise.
10318 * rt/aio_fsync.c: Likewise.
10319 * rt/aio_read.c: Likewise.
10320 * rt/aio_sigqueue.c: Likewise.
10321 * rt/aio_suspend.c: Likewise.
10322 * rt/aio_write.c: Likewise.
10323 * rt/clock_getres.c: Likewise.
10324 * rt/clock_gettime.c: Likewise.
10325 * rt/clock_nanosleep.c: Likewise.
10326 * rt/clock_settime.c: Likewise.
10327 * rt/lio_listio.c: Likewise.
10328 * rt/mq_close.c: Likewise.
10329 * rt/mq_getattr.c: Likewise.
10330 * rt/mq_notify.c: Likewise.
10331 * rt/mq_open.c: Likewise.
10332 * rt/mq_receive.c: Likewise.
10333 * rt/mq_send.c: Likewise.
10334 * rt/mq_setattr.c: Likewise.
10335 * rt/mq_timedreceive.c: Likewise.
10336 * rt/mq_timedsend.c: Likewise.
10337 * rt/mq_unlink.c: Likewise.
10338 * rt/shm_open.c: Likewise.
10339 * rt/shm_unlink.c: Likewise.
10340 * rt/timer_create.c: Likewise.
10341 * rt/timer_delete.c: Likewise.
10342 * rt/timer_getoverr.c: Likewise.
10343 * rt/timer_gettime.c: Likewise.
10344 * rt/timer_settime.c: Likewise.
10345 * setjmp/__longjmp.c: Likewise.
10346 * setjmp/setjmp.c: Likewise.
10347 * signal/kill.c: Likewise.
10348 * signal/killpg.c: Likewise.
10349 * signal/raise.c: Likewise.
10350 * signal/sigaction.c: Likewise.
10351 * signal/sigaltstack.c: Likewise.
10352 * signal/sigblock.c: Likewise.
10353 * signal/sigignore.c: Likewise.
10354 * signal/sigintr.c: Likewise.
10355 * signal/signal.c: Likewise.
10356 * signal/sigpause.c: Likewise.
10357 * signal/sigpending.c: Likewise.
10358 * signal/sigqueue.c: Likewise.
10359 * signal/sigreturn.c: Likewise.
10360 * signal/sigset.c: Likewise.
10361 * signal/sigsetmask.c: Likewise.
10362 * signal/sigstack.c: Likewise.
10363 * signal/sigsuspend.c: Likewise.
10364 * signal/sigtimedwait.c: Likewise.
10365 * signal/sigvec.c: Likewise.
10366 * signal/sigwait.c: Likewise.
10367 * signal/sigwaitinfo.c: Likewise.
10368 * signal/sysv_signal.c: Likewise.
10369 * socket/accept.c: Likewise.
10370 * socket/accept4.c: Likewise.
10371 * socket/bind.c: Likewise.
10372 * socket/connect.c: Likewise.
10373 * socket/getpeername.c: Likewise.
10374 * socket/getsockname.c: Likewise.
10375 * socket/getsockopt.c: Likewise.
10376 * socket/isfdtype.c: Likewise.
10377 * socket/listen.c: Likewise.
10378 * socket/recv.c: Likewise.
10379 * socket/recvfrom.c: Likewise.
10380 * socket/recvmsg.c: Likewise.
10381 * socket/send.c: Likewise.
10382 * socket/sendmsg.c: Likewise.
10383 * socket/sendto.c: Likewise.
10384 * socket/setsockopt.c: Likewise.
10385 * socket/shutdown.c: Likewise.
10386 * socket/sockatmark.c: Likewise.
10387 * socket/socket.c: Likewise.
10388 * socket/socketpair.c: Likewise.
10389 * stdio-common/ctermid.c: Likewise.
10390 * stdio-common/cuserid.c: Likewise.
10391 * stdio-common/remove.c: Likewise.
10392 * stdio-common/rename.c: Likewise.
10393 * stdio-common/renameat.c: Likewise.
10394 * stdio-common/tempname.c: Likewise.
10395 * stdlib/getcontext.c: Likewise.
10396 * stdlib/makecontext.c: Likewise.
10397 * stdlib/setcontext.c: Likewise.
10398 * stdlib/swapcontext.c: Likewise.
10399 * stdlib/system.c: Likewise.
10400 * streams/fattach.c: Likewise.
10401 * streams/fdetach.c: Likewise.
10402 * streams/getmsg.c: Likewise.
10403 * streams/getpmsg.c: Likewise.
10404 * streams/putmsg.c: Likewise.
10405 * streams/putpmsg.c: Likewise.
10406 * sysdeps/unix/bsd/getpt.c: Likewise.
10407 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10408 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10409 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10411 Likewise.
10412 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10413 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10414 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10415 * sysvipc/msgctl.c: Likewise.
10416 * sysvipc/msgget.c: Likewise.
10417 * sysvipc/msgrcv.c: Likewise.
10418 * sysvipc/msgsnd.c: Likewise.
10419 * sysvipc/semctl.c: Likewise.
10420 * sysvipc/semget.c: Likewise.
10421 * sysvipc/semop.c: Likewise.
10422 * sysvipc/semtimedop.c: Likewise.
10423 * sysvipc/shmat.c: Likewise.
10424 * sysvipc/shmctl.c: Likewise.
10425 * sysvipc/shmdt.c: Likewise.
10426 * sysvipc/shmget.c: Likewise.
10427 * termios/tcdrain.c: Likewise.
10428 * termios/tcflow.c: Likewise.
10429 * termios/tcflush.c: Likewise.
10430 * termios/tcgetattr.c: Likewise.
10431 * termios/tcgetpgrp.c: Likewise.
10432 * termios/tcsendbrk.c: Likewise.
10433 * termios/tcsetattr.c: Likewise.
10434 * termios/tcsetpgrp.c: Likewise.
10435 * time/adjtime.c: Likewise.
10436 * time/clock.c: Likewise.
10437 * time/getitimer.c: Likewise.
10438 * time/gettimeofday.c: Likewise.
10439 * time/setitimer.c: Likewise.
10440 * time/settimeofday.c: Likewise.
10441 * time/stime.c: Likewise.
10442 * time/time.c: Likewise.
10443
104442012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10445
a20492cf
PT
10446 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10447 /usr/old/bin.
10448
72e182e3
PT
10449 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10450 instead of spaces.
10451 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10452
fbeafede
JM
104532012-11-03 Joseph Myers <joseph@codesourcery.com>
10454
5b5b04d6
JM
10455 [BZ #14796]
10456 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10457 FE_TONEAREST before applying Dekker multiplication and Knuth
10458 addition. Clear inexact exceptions and check for exact zero
10459 results afterwards.
10460 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10461 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10462 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10463 * math/libm-test.inc (fma_test): Add more tests.
10464 (fma_test_towardzero): Likewise.
10465 (fma_test_downward): Likewise.
10466 (fma_test_upward): Likewise.
10467 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10468 function.
10469 (libc_fesetround): New macro.
10470 (libc_fesetroundf): Likewise.
10471 (libc_fesetroundl): Likewise.
10472 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10473 function.
10474 (libc_fesetround_387): Likewise.
10475 (libc_fesetroundf): New macro.
10476 (libc_fesetround): Likewise.
10477 (libc_fesetroundl): Likewise.
10478 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10479 function.
10480 (libc_fesetroundf): New macro.
10481 (libc_fesetround): Likewise.
10482 (libc_fesetroundl): Likewise.
10483 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10484 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10485 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10486 libm_hidden_ver.
10487 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10488 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10489 libm_hidden_def.
10490 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10491 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10492 libm_hidden_ver.
10493 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10494 libm_hidden_def.
10495
fbeafede
JM
10496 [BZ #3439]
10497 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10498 integer constant usable in #if and use that to give value to enum
10499 constant.
10500 (FE_DIVBYZERO): Likewise.
10501 (FE_UNDERFLOW): Likewise.
10502 (FE_OVERFLOW): Likewise.
10503 (FE_INVALID): Likewise.
10504 (FE_INVALID_SNAN): Likewise.
10505 (FE_INVALID_ISI): Likewise.
10506 (FE_INVALID_IDI): Likewise.
10507 (FE_INVALID_ZDZ): Likewise.
10508 (FE_INVALID_IMZ): Likewise.
10509 (FE_INVALID_COMPARE): Likewise.
10510 (FE_INVALID_SOFTWARE): Likewise.
10511 (FE_INVALID_SQRT): Likewise.
10512 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10513 (FE_TONEAREST): Likewise.
10514 (FE_TOWARDZERO): Likewise.
10515 (FE_UPWARD): Likewise.
10516 (FE_DOWNWARD): Likewise.
10517 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10518 (FE_DIVBYZERO): Likewise.
10519 (FE_OVERFLOW): Likewise.
10520 (FE_UNDERFLOW): Likewise.
10521 (FE_INEXACT): Likewise.
10522 (FE_TONEAREST): Likewise.
10523 (FE_DOWNWARD): Likewise.
10524 (FE_UPWARD): Likewise.
10525 (FE_TOWARDZERO): Likewise.
10526 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10527 (FE_UNDERFLOW): Likewise.
10528 (FE_OVERFLOW): Likewise.
10529 (FE_DIVBYZERO): Likewise.
10530 (FE_INVALID): Likewise.
10531 (FE_TONEAREST): Likewise.
10532 (FE_TOWARDZERO): Likewise.
10533 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10534 (FE_OVERFLOW): Likewise.
10535 (FE_UNDERFLOW): Likewise.
10536 (FE_DIVBYZERO): Likewise.
10537 (FE_INEXACT): Likewise.
10538 (FE_TONEAREST): Likewise.
10539 (FE_TOWARDZERO): Likewise.
10540 (FE_UPWARD): Likewise.
10541 (FE_DOWNWARD): Likewise.
10542 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10543 (FE_DIVBYZERO): Likewise.
10544 (FE_OVERFLOW): Likewise.
10545 (FE_UNDERFLOW): Likewise.
10546 (FE_INEXACT): Likewise.
10547 (FE_TONEAREST): Likewise.
10548 (FE_DOWNWARD): Likewise.
10549 (FE_UPWARD): Likewise.
10550 (FE_TOWARDZERO): Likewise.
10551
105ca950
CM
105522012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10553
10554 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10555
a542b389
AS
105562012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10557
10558 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10559 commands. Quote $PWD.
10560 (blacklist_exports): Don't use remove_newlines. Replace "declare
10561 -x" by "export".
10562 (remove_newlines): Remove.
10563
f62c8abc
L
105642012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10565
10566 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10567 * stdlib/stdlib.h (atof): Moved to ...
10568 * include/bits/stdlib-float.h: Here. New file.
10569 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10570 * stdlib/bits/stdlib-float.h: New file.
10571 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10572 -mno-sse -mno-mmx.
10573 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10574 <xmmintrin.h>.
10575
0155d5b2
JM
105762012-11-02 Joseph Myers <joseph@codesourcery.com>
10577
a68d0680
JM
10578 * conform/conformtest.pl (@headers): Add fenv.h.
10579 * conform/data/fenv.h-data: New file.
10580 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10581 include of <math/fenv.h>.
10582
caf7f573
JM
10583 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10584 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10585 && !UNIX98]. Enables tests for XOPEN2K8.
10586 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10587 POSIX2008]: Likewise.
10588
6c073ad6
JM
10589 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10590 (struct rusage): Do not expect type or its members.
10591
0155d5b2
JM
10592 [BZ #3439]
10593 * math/math.h (FP_NAN): Define macro to integer constant usable in
10594 #if and use that to give value to enum constant.
10595 (FP_INFINITE): Likewise.
10596 (FP_ZERO): Likewise.
10597 (FP_SUBNORMAL): Likewise.
10598 (FP_NORMAL): Likewise.
10599
b5dcacb4
AS
106002012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10601
10602 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10603 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10604 arguments.
10605
f7934be8
RM
106062012-11-02 Roland McGrath <roland@hack.frob.com>
10607
10608 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10609 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10610 autoconf-time if not.
10611 * configure.in: Remove AC_PREREQ.
10612
d7d08bde
TMQMF
106132012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10614
10615 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10616 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10617 of the internal implementation.
10618
dcdae19a
JM
106192012-11-02 Joseph Myers <joseph@codesourcery.com>
10620
10621 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10622 except include of <misc/sys/syslog.h>.
10623
d6cffd3e
AS
106242012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10625
10626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10627 function returns with a NULL context exit with zero.
10628
b3563932
TMQMF
106292012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10630
10631 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10632
b288a93d
L
106332012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10634
10635 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10636 (run_program_cmd): This.
10637 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10638 (tst_langinfo): New variable. Use it.
10639
a2421a68
SAS
106402012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10641
10642 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10643 floating point opcodes.
10644
6f796e1b
TS
106452012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10646
7402596b
TS
10647 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10648 variable.
10649
d0d4f868
TS
10650 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10651
6f796e1b
TS
10652 * sysdeps/mach/hurd/powerpc: Remove directory.
10653 * sysdeps/mach/powerpc: Likewise.
10654
4da224a2
AS
106552012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10656
10657 * scripts/check-local-headers.sh: Ignore c++ headers.
10658
341dd673
TS
106592012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10660
10661 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10662 __libc_cleanup_region_start argument.
10663
473611b2
JM
106642012-11-01 Joseph Myers <joseph@codesourcery.com>
10665
10666 [BZ #14784]
10667 [BZ #14785]
10668 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10669 x * y using scaling, not as x * y + z.
10670 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10671 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10672 * math/libm-test.inc (fma_test): Add more tests.
10673 (fma_test_towardzero): Likewise.
10674 (fma_test_downward): Likewise.
10675 (fma_test_upward): Likewise.
10676
4078da3d
TS
106772012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10678
10679 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10680
903252aa
JM
106812012-10-31 Joseph Myers <joseph@codesourcery.com>
10682
10683 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10684 New variable.
10685
cbc818d0
TS
106862012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10687
10688 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10689
5a03cb1e
AS
106902012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10691
10692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10693 Fix sort order.
10694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10695 Likewise.
10696
90aff2ff
TMQMF
106972012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10698
10699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10700 Fix the order of the list for glibc 2.17.
10701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10702 Likewise.
10703
1818fcb7
AS
107042012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10705
10706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10707
ef82f4da
JM
107082012-10-31 Joseph Myers <joseph@codesourcery.com>
10709
16a0e2ec
JM
10710 [BZ #14610]
10711 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10712 for low part of x being zero before using __atanl (y).
10713 * math/libm-test.inc (atan2_test): Add another test.
10714
0eb69512
JM
10715 * manual/install.texi (Configuring and compiling): Document
10716 general use of test-wrapper and test-wrapper-env.
10717 * INSTALL: Regenerated.
10718
ef82f4da
JM
10719 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10720 (__fma): Do not extract and scale down low bits on after-rounding
10721 systems when result rounded to normal precision would have normal
10722 exponent.
10723 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10724 (__fmal): Do not extract and scale down low bits on after-rounding
10725 systems when result rounded to normal precision would have normal
10726 exponent.
10727 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10728 (__fmal): Do not extract and scale down low bits on after-rounding
10729 systems when result rounded to normal precision would have normal
10730 exponent.
10731 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10732 macro.
10733 (fma_test): Add more tests.
10734 (fma_test_towardzero): Likewise.
10735 (fma_test_downward): Likewise.
10736 (fma_test_upward): Likewise.
10737
954ef0d9
L
107382012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10739
10740 * sysdeps/i386/tininess.h: Renamed to ...
10741 * sysdeps/x86/tininess.h: This.
10742 * sysdeps/x86_64/tininess.h: Removed.
10743
df61ffb2
JM
107442012-10-30 Joseph Myers <joseph@codesourcery.com>
10745
10746 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10747 input. Use $(build-program-cmd).
10748 ($(objpfx)tst-array1-static.out): Likewise.
10749 ($(objpfx)tst-array2.out): Likewise.
10750 ($(objpfx)tst-array3.out): Likewise.
10751 ($(objpfx)tst-array4.out): Likewise.
10752 ($(objpfx)tst-array5.out): Likewise.
10753 ($(objpfx)tst-array5-static.out): Likewise.
10754
01767843
CM
107552012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10756
47cc1490
CM
10757 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10758 if defined.
10759
01767843
CM
10760 * nss/nsswitch.h (nss_interface_function): Provide new
10761 macro for use with NSS functions.
10762 * grp/initgroups.c: Use new macro.
10763 * nss/getXXbyYY.c: Likewise.
10764 * nss/getXXbyYY_r.c: Likewise.
10765 * nss/getXXent.c: Likewise.
10766 * nss/getXXent_r.c: Likewise.
10767 * sysdeps/posix/getaddrinfo.c: Likewise.
10768
8321aa97
AJ
107692012-10-30 Andreas Jaeger <aj@suse.de>
10770
10771 * po/ru.po: Update Russion translation from translation project.
10772
2a27fd6d
JM
107732012-10-30 Joseph Myers <joseph@codesourcery.com>
10774
8627a232
JM
10775 [BZ #14152]
10776 [BZ #14783]
10777 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10778 result and shift together with sticky bit instead of replicating
10779 round-to-nearest rounding.
10780 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10781 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10782 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10783 missing underflow exceptions.
10784 (fma_test_towardzero): Add more tests.
10785 (fma_test_downward): Likewise.
10786 (fma_test_upward): Likewise.
10787
2a27fd6d
JM
10788 [BZ #14047]
10789 * sysdeps/generic/tininess.h: New file.
10790 * sysdeps/i386/tininess.h: Likewise.
10791 * sysdeps/sh/tininess.h: Likewise.
10792 * sysdeps/x86_64/tininess.h: Likewise.
10793 * stdlib/tst-strtod-underflow.c: Likewise.
10794 * stdlib/tst-tininess.c: Likewise.
10795 * stdlib/strtod_l.c: Include <tininess.h>.
10796 (round_and_return): Do not set errno for exact underflow cases.
10797 Force an underflow exception when setting errno for underflow.
10798 Determine underflow based on rounding to normal precision if
10799 TININESS_AFTER_ROUNDING.
10800 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10801 ERANGE for exact underflow cases.
10802 * stdlib/Makefile (tests): Add tst-tininess and
10803 tst-strtod-underflow.
10804 ($(objpfx)tst-tininess): Use $(link-libm).
10805 ($(objpfx)tst-strtod-underflow): Likewise.
10806
e7170363
AJ
108072012-10-30 Andreas Jaeger <aj@suse.de>
10808
e5088dc6
AJ
10809 [BZ#14767]
10810 * elf/Makefile (tests): Remove conditional for have-initfini-array
10811 since this is now always required and the variable does not exist
10812 anymore.
10813 (tests-static): Likewise.
10814 (modules-names): Likewise.
10815
e7170363 10816 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
10817
10818 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10819 merged with constructor/destructor.
10820 (init_array): Likewise.
10821 * elf/tst-array2dep.c (fini_array): Likewise.
10822 (init_array): Likewise.
10823
60457d8a
MF
108242012-10-29 Mike Frysinger <vapier@gentoo.org>
10825
10826 * manual/message.texi: Delete @cartouche tags.
10827
8bece752
PT
108282012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10829
94ce799f
PT
10830 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10831 EOPNOTSUPP.
10832 * sysdeps/mach/hurd/fsync.c: Likewise.
10833
8bece752
PT
10834 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10835 [_POSIX_REALTIME_SIGNALS]: Change condition to
10836 [_POSIX_REALTIME_SIGNALS > 0].
10837
86ebe6b1
AJ
108382012-10-27 Andreas Jaeger <aj@suse.de>
10839
10840 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10841 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10842 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10843 [__WORDSIZE != 64]: Likewise.
10844
54399c08
L
108452012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10846
10847 * iconvdata/tst-table.sh: Remove ${SHELL}.
10848 * iconvdata/tst-tables.sh: Likewise.
10849
e2211bed
DM
108502012-10-25 David S. Miller <davem@davemloft.net>
10851
10852 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10853 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10854 of strtoull.
10855
f303f97c
DM
10856 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10857 ifunc-impl-list.c
10858 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10859 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10860 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10861 file.
10862
1e9d84cd
RM
108632012-10-25 Roland McGrath <roland@hack.frob.com>
10864
10865 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10866 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10867 __getdirentries.
10868
df381762
JM
108692012-10-25 Joseph Myers <joseph@codesourcery.com>
10870 Jim Blandy <jimb@codesourcery.com>
10871
10872 * scripts/cross-test-ssh.sh: New file.
10873 * manual/install.texi (Configuring and compiling): Document use of
10874 cross-test-ssh.sh.
10875 * INSTALL: Regenerated.
10876
bff64913
PT
108772012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10878
10879 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10880 EOPNOTSUPP.
10881
25fe8932
JM
108822012-10-25 Joseph Myers <joseph@codesourcery.com>
10883
10884 * Makeconfig (run-program-prefix): Fix comment.
10885
cc1290d0
JM
108862012-10-24 Joseph Myers <joseph@codesourcery.com>
10887 Jim Blandy <jimb@codesourcery.com>
10888
10889 * Makeconfig (test-wrapper): New variable,
10890 (test-wrapper-env): Likewise.
10891 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10892 (run-built-tests): Define to yes.
10893 (run-program-prefix): Use $(test-wrapper).
10894 (built-program-cmd): Likewise.
10895 * Rules (make-test-out): Use $(test-wrapper-env) and
10896 $(host-built-program-cmd).
10897 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10898 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10899 tst-pathopt.sh.
10900 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10901 $(test-wrapper-env) to tst-rtld-load-self.sh.
10902 ($(objpfx)order2.out): Use $(test-wrapper).
10903 ($(objpfx)tst-initorder.out): Likewise.
10904 ($(objpfx)tst-initorder2.out): Likewise.
10905 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10906 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10907 (test_wrapper_env): New variable. Use it to run ld.so.
10908 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10909 Use it to run ld.so.
10910 (test_wrapper_env): Likewise.
10911 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10912 $(test-wrapper) to run-iconv-test.sh.
10913 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10914 (ICONV): Use $test_wrapper.
10915 * posix/Makefile ($(objpfx)globtest.out): Pass
10916 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10917 globtest.sh, not $(run-program-prefix).
10918 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10919 (test_wrapper): Likewise.
10920 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10921 set together with run_via_rtld_prefix.
10922 (run_program_prefix): Define in terms of test_wrapper and
10923 run_via_rtld_prefix.
10924
6e6249d0
RM
109252012-10-24 Roland McGrath <roland@hack.frob.com>
10926
10927 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10928 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10929 Targets removed.
10930
10931 [BZ #14743]
10932 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10933 Declare __clock_getres, __clock_gettime, __clock_settime,
10934 __clock_nanosleep, and __clock_getcpuclockid.
10935 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10936 Remove librt_hidden_def (clock_gettime).
10937 * sysdeps/unix/clock_gettime.c: Likewise.
10938 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10939 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10940 * rt/clock_getres.c: Define __clock_getres as an alias.
10941 * sysdeps/posix/clock_getres.c: Likewise.
10942 * rt/clock_settime.c: Define __clock_settime as an alias.
10943 * sysdeps/unix/clock_settime.c: Likewise.
10944 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10945 * sysdeps/unix/clock_nanosleep.c: Likewise.
10946 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10947 * rt/clock-compat.c: New file.
10948 * rt/Makefile (librt-routines): Add clock-compat and move
10949 $(clock-routines) to ...
10950 (routines): ... here, new variable.
10951 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10952 Don't add get_clockfreq here.
10953 * rt/Versions (libc: GLIBC_2.17): New version set.
10954 Add clock_* symbols here.
10955 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
10956 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10957 (GLIBC_2.17): Add clock_* symbols.
10958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10959 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10960 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10962 Likewise.
10963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10964 Likewise.
10965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10966 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10967 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10968 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10969 * NEWS: Mention the move.
10970
10971 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10972 Use __open, __read, __close rather than their public counterparts.
10973 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10974 (__get_clockfreq_via_cpuinfo): Likewise.
10975 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10976 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10977
10978 * config.h.in (HAVE_IFUNC): New #undef.
10979 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10980 was successful.
10981 * configure: Regenerated.
10982
0cae3f4b
MF
109832012-10-24 Mike Frysinger <vapier@gentoo.org>
10984
10985 * configure.in: Move READELF check to start of file.
10986 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10987 libc_cv_asm_gnu_indirect_function in the process.
10988 * configure: Regenerated.
10989
8175a253
MF
109902012-10-24 Mike Frysinger <vapier@gentoo.org>
10991
10992 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10993 send the output to /dev/null.
10994 (libc_cv_cc_with_libunwind): Likewise.
10995 (libc_cv_as_noexecstack): Likewise.
10996 * configure: Regenerate.
10997
0708a7d1
JM
109982012-10-24 Joseph Myers <joseph@codesourcery.com>
10999
10b40d85
JM
11000 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11001
0708a7d1
JM
11002 * posix/globtest.sh (TMPDIR): Do not set.
11003 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11004 (testout): Likewise.
11005
9fddec1a
AJ
110062012-10-24 Andreas Jaeger <aj@suse.de>
11007
3a8db22f
AJ
11008 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11009 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11010 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11011 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11012 posix_fadvise64, posix_fallocate64.
11013
9fddec1a
AJ
11014 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11015 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11016 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11017 Likewise.
11018 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11019 Likewise.
11020 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11021
11022 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11023 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11024 <bits/fcntl-linux.h>.
11025 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11026
11027 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11028 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11029 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11030 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11031 [__WORDSIZE != 64]: Likewise.
11032
ebfd1bbd
JM
110332012-10-23 Joseph Myers <joseph@codesourcery.com>
11034
03ac099f
JM
11035 * Makeconfig (run-built-tests): New variable.
11036 * Rules [$(cross-compiling) = yes]: Change condition to
11037 [$(run-built-tests) = no].
11038 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11039 to [$(run-built-tests) = yes].
11040 * elf/Makefile [$(cross-compiling) = no]: Likewise
11041 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11042 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11043 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11044 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11045 * io/Makefile [$(cross-compiling) = no]: Likewise.
11046 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11047 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11048 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11049 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11050 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11051 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11052 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11053 * string/Makefile [$(cross-compiling) = no]: Likewise.
11054
ebfd1bbd
JM
11055 * posix/Makefile ($(objpfx)globtest.out): Pass
11056 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11057 $(rtld-installed-name).
11058 * posix/globtest.sh (elf_objpfx): Remove variable.
11059 (rtld_installed_name): Likewise.
11060 (library_path): Likewise.
11061 (run_program_prefix): New variable. Use for running globtest
11062 binary.
11063
166bca24
JB
110642012-10-23 Jim Blandy <jimb@codesourcery.com>
11065 Joseph Myers <joseph@codesourcery.com>
11066
11067 * Makeconfig (host-built-program-cmd): New variable.
11068 * elf/Makefile (tst-stackguard1-ARGS): Use
11069 $(host-built-program-cmd).
11070 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11071 (tst-spawn-ARGS): Likewise.
11072 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11073
88866099
JM
110742012-10-23 Joseph Myers <joseph@codesourcery.com>
11075 Jim Blandy <jimb@codesourcery.com>
11076
11077 * Makeconfig (run-via-rtld-prefix): New variable.
11078 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11079 (built-program-cmd): Likewise.
11080
b4b4c296
AJ
110812012-10-22 Andreas Jaeger <aj@suse.de>
11082
11083 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11084 __O_RSYNC if it exists, otherwise to O_SYNC.
11085
6fb54a22
JB
110862012-10-22 Jim Blandy <jimb@codesourcery.com>
11087 Joseph Myers <joseph@codesourcery.com>
11088
11089 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11090 /dev/null.
11091 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11092 from /dev/null
11093 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11094 /dev/null.
11095
481b90b9
AJ
110962012-10-22 Andreas Jaeger <aj@suse.de>
11097
2a0e2669
AJ
11098 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11099 Define always.
11100 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11101
76e38f9a
AJ
11102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11103 bits/fcntl-linux.h.
11104
7cd37b43
AJ
11105 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11106 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11107
481b90b9
AJ
11108 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11109 to __O_LARGEFILE.
11110 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11111 to __O_LARGEFILE.
11112
aba75984
JB
111132012-10-21 Jim Blandy <jimb@codesourcery.com>
11114 Joseph Myers <joseph@codesourcery.com>
11115
11116 * config.make.in (NM): New variable.
11117
88d4247f
AJ
111182012-10-21 Andreas Jaeger <aj@suse.de>
11119
11120 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11121 definitions and declarations that are provided by
11122 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11123
f2eed205
L
111242012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11125
11126 [BZ #14683]
11127 * elf/Makefile (tests-static): Add tst-leaks1-static.
11128 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11129 ($(objpfx)tst-leaks1-static): New rule.
11130 ($(objpfx)tst-leaks1-static-mem): Likewise.
11131 (tst-leaks1-static-ENV): New macro.
11132 * elf/dl-open.c (dl_open_worker): Check the main application
11133 only if SHARED is defined.
11134 * elf/tst-leaks1-static.c: New file.
11135
335e6931
AJ
111362012-10-20 Andreas Jaeger <aj@suse.de>
11137
11138 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11139 generic values for Linux.
11140 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11141 and declarations that are provided by <bits/fcntl-linux.h> and
11142 include <bits/fcntl-linux.h>.
11143 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11144 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11145
ac5c94d3
RM
111462012-10-20 Roland McGrath <roland@hack.frob.com>
11147
11148 * io/fcntl.h: Move include of <bits/types.h> to the top and
11149 include it unconditionally.
11150
de54b33a
L
111512012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11152
228cfb01
L
11153 * wcsmbs/Makefile (tests-ifunc): New variable.
11154 (tests): Add $(tests-ifunc).
11155 * wcsmbs/test-wcschr-ifunc.c: New file.
11156 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11157 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11158 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11159 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11160 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11161
69f07e5f
L
11162 * string/Makefile (tests-ifunc): New variable.
11163 (tests): Add $(tests-ifunc).
11164 * string/test-memccpy.c (TEST_NAME): New macro.
11165 * string/test-memchr.c (TEST_NAME): Likewise.
11166 * string/test-memcmp.c (TEST_NAME): Likewise.
11167 * string/test-memcpy.c (TEST_NAME): Likewise.
11168 * string/test-memmem.c (TEST_NAME): Likewise.
11169 * string/test-memmove.c (TEST_NAME): Likewise.
11170 * string/test-memset.c (TEST_NAME): Likewise.
11171 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11172 * string/test-stpcpy.c (TEST_NAME): Likewise.
11173 * string/test-stpncpy.c (TEST_NAME): Likewise.
11174 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11175 * string/test-strcasestr.c (TEST_NAME): Likewise.
11176 * string/test-strcat.c (TEST_NAME): Likewise.
11177 * string/test-strchr.c (TEST_NAME): Likewise.
11178 * string/test-strcmp.c(TEST_NAME): Likewise.
11179 * string/test-strcpy.c (TEST_NAME): Likewise.
11180 * string/test-strcspn.c (TEST_NAME): Likewise.
11181 * string/test-strlen.c (TEST_NAME): Likewise.
11182 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11183 * string/test-strncmp.c (TEST_NAME): Likewise.
11184 * string/test-strncpy.c (TEST_NAME): Likewise.
11185 * string/test-strnlen.c (TEST_NAME): Likewise.
11186 * string/test-strpbrk.c (TEST_NAME): Likewise.
11187 * string/test-strrchr.c (TEST_NAME): Likewise.
11188 * string/test-strspn.c (TEST_NAME): Likewise.
11189 * string/test-strstr.c (TEST_NAME): Likewise.
11190 * string/test-bcopy-ifunc.c: New file.
11191 * string/test-bzero-ifunc.c: Likewise.
11192 * string/test-memccpy-ifunc.c: Likewise.
11193 * string/test-memchr-ifunc.c: Likewise.
11194 * string/test-memcmp-ifunc.c: Likewise.
11195 * string/test-memcpy-ifunc.c: Likewise.
11196 * string/test-memmem-ifunc.c: Likewise.
11197 * string/test-memmove-ifunc.c: Likewise.
11198 * string/test-mempcpy-ifunc.c: Likewise.
11199 * string/test-memset-ifunc.c: Likewise.
11200 * string/test-rawmemchr-ifunc.c: Likewise.
11201 * string/test-stpcpy-ifunc.c: Likewise.
11202 * string/test-stpncpy-ifunc.c: Likewise.
11203 * string/test-strcasecmp-ifunc.c: Likewise.
11204 * string/test-strcasestr-ifunc.c: Likewise.
11205 * string/test-strcat-ifunc.c: Likewise.
11206 * string/test-strchr-ifunc.c: Likewise.
11207 * string/test-strchrnul-ifunc.c: Likewise.
11208 * string/test-strcmp-ifunc.c: Likewise.
11209 * string/test-strcpy-ifunc.c: Likewise.
11210 * string/test-strcspn-ifunc.c: Likewise.
11211 * string/test-strlen-ifunc.c: Likewise.
11212 * string/test-strncasecmp-ifunc.c: Likewise.
11213 * string/test-strncat-ifunc.c: Likewise.
11214 * string/test-strncmp-ifunc.c: Likewise.
11215 * string/test-strncpy-ifunc.c: Likewise.
11216 * string/test-strnlen-ifunc.c: Likewise.
11217 * string/test-strpbrk-ifunc.c: Likewise.
11218 * string/test-strrchr-ifunc.c: Likewise.
11219 * string/test-strspn-ifunc.c: Likewise.
11220 * string/test-strstr-ifunc.c: Likewise.
11221
de54b33a
L
11222 * debug/Makefile (tests-ifunc): New variable.
11223 (tests): Add $(tests-ifunc).
11224 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11225 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11226 * debug/test-stpcpy_chk-ifunc.c: New file.
11227 * debug/test-strcpy_chk-ifunc.c: Likewise.
11228
88481c16
SP
112292012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11230
11231 [BZ #13601]
11232 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11233 header is not read in.
11234
135948bd
JM
112352012-10-19 Joseph Myers <joseph@codesourcery.com>
11236
89f1c388
JM
11237 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11238 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11239 directly. Pass built executable to script as
11240 $(built-program-cmd).
11241 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11242 $testprogram without using LD_LIBRARY_PATH and $ldso.
11243
e40a0d21
JM
11244 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11245 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11246 $(rtld-installed-name).
11247 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11248 (rtld_installed_name): Likewise.
11249 (library_path): Likewise.
11250 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11251 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11252 $(run-program-prefix) to tst-tables.sh.
11253 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11254 it to run tst-table-from and tst-table-to.
11255 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11256 Pass it to tst-table.sh.
11257 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11258 $(run-program-prefix) to tst-gettext.sh.
11259 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11260 tst-translit.sh.
11261 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11262 tst-gettext2.sh.
11263 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11264 to run tst-gettext.
11265 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11266 to run tst-gettext2.
11267 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11268 to run tst-translit.
11269 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11270 $(run-program-prefix) to tst-mtrace.sh.
11271 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11272 to run tst-mtrace.
11273 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11274 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11275 $(rtld-installed-name).
11276 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11277 (rtld_installed_name): Likewise.
11278 (run_program_prefix): New variable. Use it to run wordexp-test.
11279
728e272a
JM
11280 * Makeconfig (ARCH): Remove all definitions.
11281 (machine): Likewise.
11282 [ARCH]: Remove conditional code.
11283 [!objdir]: Give error.
11284 [!objdir] (objpfx): Remove.
11285 [!objdir] (common-objpfx): Likewise.
11286 [!objdir] (common-objdir): Likewise.
11287 * configure.in (config_makefile): Remove. Hardcode Makefile in
11288 AC_CONFIG_FILES call.
11289 * configure: Regenerated.
11290
d528cdcf
JM
11291 [BZ #13888]
11292 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11293 or TMPDIR.
11294 (testout): Likewise.
11295
135948bd
JM
11296 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11297 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11298 $(rtld-installed-name).
11299 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11300 (rtld_installed_name): Likwise.
11301 (runit): Remove function.
11302 (run_getconf): New variable, Use it for running getconf binary.
11303
38c78296
L
113042012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11305
11306 [BZ #14716]
11307 * string/test-memmem.c (check_result): New function.
11308 (do_one_test): Use it.
11309 (check1): New function.
11310 (test_main): Use it.
11311
d077f65f
MT
113122012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11313
11314 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11315
ced52c71
JM
113162012-10-18 Joseph Myers <joseph@codesourcery.com>
11317
11318 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11319 (_G_LSEEK64): Likewise.
11320 (_G_MMAP64): Likewise.
11321 (_G_FSTAT64): Likewise.
11322 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11323 (_G_LSEEK64): Likewise.
11324 (_G_MMAP64): Likewise.
11325 (_G_FSTAT64): Likewise.
11326 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11327 unconditional. Call __mmap64 directly.
11328 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11329 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11330 __lseek64 directly.
11331 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11332 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11333 __mmap64 directly.
11334 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11335 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11336 __lseek64 directly.
11337 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11338 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11339 __lseek64 directly.
11340 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11341 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11342 __lseek64 directly.
11343 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11344 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11345 __fxstat64 directly.
11346 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11347 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11348 unconditional.
11349 (freopen64) [!_G_OPEN64]: Remove conditional code.
11350 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11351 unconditional.
11352 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11353 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11354 unconditional.
11355 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11356 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11357 unconditional.
11358 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11359 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11360 unconditional.
11361 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11362 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11363 unconditional.
11364 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11365 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11366 unconditional.
11367 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11368 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11369 unconditional.
11370 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11371
b741de23
SP
113722012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11373
11374 [BZ #12140]
11375 * manual/memory.texi (Malloc Tunable Parameters): Add note
11376 about free list pointers overwriting some perturb bytes.
11377 Wording suggested by Roland McGrath.
11378
f9b9d9c9
JM
113792012-10-17 Joseph Myers <joseph@codesourcery.com>
11380
11381 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11382 (lgamma_test): Likewise.
11383 (tgamma_test): Likewise.
11384
172a631a
FW
113852012-10-16 Florian Weimer <fweimer@redhat.com>
11386
11387 [BZ #14700]
11388 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11389 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11390
e9f37252
MK
113912012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11392
11393 * NEWS: Mention BZ #14716.
11394 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11395 when removing AVAILABLE1_USES_J macro.
11396
d394eb74
L
113972012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11398
11399 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11400 (__bswap_64): __uint64_t for unsigned 64-bit int.
11401
ca38dc17
AS
114022012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11403
11404 * include/string.h (memmem): Declare libc hidden alias.
11405 * string/memmem.c (memmem): Define libc hidden alias.
11406 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11407 __read, __close instead of open, read, close.
11408
9a387d1f
L
114092012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11410
ac49ecaf
L
11411 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11412 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11413 global and hidden.
11414 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11415 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11416 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11417 Likewise.
11418 (__rawmemchr_sse2): Likewise.
11419 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11420 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11421 (__strchr_sse2): Likewise.
11422 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11423 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11424 (__strcasecmp_sse2): Likewise.
11425 (__strncasecmp_sse2): Likewise.
11426 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11427 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11428 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11429 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11430 (__strrchr_sse2): Likewise.
11431 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11432 ifunc-impl-list.c.
11433 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11434 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11435 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11436 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11437 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11438 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11439 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11440 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11441 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11442 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11443 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11444 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11445 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11446 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11447 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11448 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11449 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11450 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11451 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11452 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11453 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11454 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11455 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11456 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11457 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11458 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11459 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11460 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11461 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11462 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11463
b090e8ea
L
11464 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11465 global and hidden.
11466 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11467 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11468 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11469 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11470 Likewise.
11471 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11472 Likewise.
11473 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11474 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11475 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11476 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11477 ifunc-impl-list.c.
11478 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11479 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11480 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11481 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11482 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11483 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11484 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11485 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11486 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11487 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11488 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11489 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11490 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11491 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11492 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11493 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11494 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11495 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11496 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11497 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11498 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11499 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11500 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11501 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11502 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11503 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11504 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11505 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11506 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11507 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11508 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11509 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11510 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11511 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11512 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11513 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11514 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11515 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11516 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11517 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11518 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11519
11dd4af6
L
11520 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11521 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11522 * include/ifunc-impl-list.h: New file.
11523 * misc/ifunc-impl-list.c: Likewise.
11524 * misc/Makefile (routines): Add ifunc-impl-list.
11525 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11526 * string/test-string.h: Include <ifunc-impl-list.h>.
11527 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11528 impl_array): New variables.
11529 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11530 are defined.
11531 (test_init): Call __libc_ifunc_impl_list to initialize
11532 func_list if TEST_IFUNC and TEST_NAME are defined.
11533
9a387d1f
L
11534 * string/Makefile (strop-tests): Add bcopy and bzero.
11535 * string/test-bcopy.c: New file.
11536 * string/test-bzero.c: Likewise.
11537 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11538 defined.
11539 * string/test-memset.c: Support bzero test if TEST_BZERO is
11540 defined.
11541 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11542 __libc_memmove.
11543 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11544 __libc_memset.
11545 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11546 of memset.
11547
472371b9
JM
115482012-10-10 Joseph Myers <joseph@codesourcery.com>
11549
1e4a9536
JM
11550 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11551 * configure: Regenerated.
11552
d173d12e
JM
11553 * Makeconfig (+link-static-before-libc): Don't include
11554 $(link-static-libc).
11555
472371b9
JM
11556 * libio/libio.h (_IO_pos_t): Remove.
11557
89a3ad0b
AO
115582012-10-10 Alexandre Oliva <aoliva@redhat.com>
11559
11560 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11561 McGrath.
11562
e7451425
AO
115632012-10-10 Alexandre Oliva <aoliva@redhat.com>
11564
11565 * crypt/crypt-entry.c: Include fips-private.h.
11566 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11567 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11568 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11569 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11570
4ba74a35
AO
115712012-10-10 Alexandre Oliva <aoliva@redhat.com>
11572
11573 * crypt/crypt-private.h: Include stdbool.h.
11574 (_ufc_setup_salt_r): Return bool.
11575 * crypt/crypt-entry.c: Include errno.h.
11576 (__crypt_r): Return NULL with EINVAL for bad salt.
11577 * crypt/crypt_util.c (bad_for_salt): New.
11578 (_ufc_setup_salt_r): Check that salt is long enough and within
11579 the specified alphabet.
11580 * crypt/badsalttest.c: New file.
11581 * crypt/Makefile (tests): Add it.
11582 ($(objpfx)badsalttest): New.
11583
f96f1242
MK
115842012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11585
11586 * NEWS: Add entry for BZ #14602.
11587
0e8e0c1c
JM
115882012-10-09 Joseph Myers <joseph@codesourcery.com>
11589
11590 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11591 type-generic.
11592 * math/libm-test.inc: Update comment listing what functions and
11593 macros are tested.
11594 (isgreater_test): New function.
11595 (isgreaterequal_test): Likewise.
11596 (isless_test): Likewise.
11597 (islessequal_test): Likewise.
11598 (islessgreater_test): Likewise.
11599 (isunordered_test): Likewise.
11600 (main): Call the new functions.
11601
273edc5e
RM
116022012-10-09 Roland McGrath <roland@hack.frob.com>
11603
b8493de0
RM
11604 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11605 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11606 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11607 * sysdeps/i386/configure: Regenerated.
11608 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11609 * sysdeps/mach/configure: Regenerated.
11610 * sysdeps/mach/hurd/configure: Regenerated.
11611 * sysdeps/powerpc/configure: Regenerated.
11612 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11613 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11614 * sysdeps/s390/s390-32/configure: Regenerated.
11615 * sysdeps/s390/s390-64/configure: Regenerated.
11616 * sysdeps/sh/configure: Regenerated.
11617 * sysdeps/sparc/configure: Regenerated.
11618 * sysdeps/unix/sysv/linux/configure: Regenerated.
11619 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11620 * sysdeps/x86_64/configure: Regenerated.
11621
273edc5e
RM
11622 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11623 defined. Don't check if MAP is NULL.
11624
c8450f70
JM
116252012-10-09 Joseph Myers <joseph@codesourcery.com>
11626
11627 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11628 (_G_stat64): Likewise.
11629 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11630 (_G_stat64): Likewise.
11631 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11632 instead of struct _G_stat64.
11633 * libio/fileops.c (mmap_remap_check): Likewise.
11634 (decide_maybe_mmap): Likewise.
11635 (_IO_new_file_seekoff): Likewise.
11636 (_IO_file_stat): Likewise.
11637 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11638 _G_off64_t.
11639 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11640 instead of struct _G_stat64.
11641 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11642
57e605ba
MK
116432012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11644
11645 [BZ #14602]
11646 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11647 Replace with ...
11648 (CHECK_EOL): New macro.
11649 (two_way_short_needle): Check beginning of haystack for EOL. Use
11650 CHECK_EOL.
11651 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11652 Replace with CHECK_EOL.
11653 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11654 Replace with CHECK_EOL.
11655
ef1bb361
JM
116562012-10-08 Joseph Myers <joseph@codesourcery.com>
11657
11658 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11659 type-generic.
11660 * math/libm-test.inc: Update comment listing what functions and
11661 macros are tested.
11662 (finite_test): New function.
11663 (isinf_test): Likewise.
11664 (isnan_test): Likewise.
11665 (fpclassify_test): Test subnormal input.
11666 (isfinite_test): Likewise.
11667 (isnormal_test): Likewise.
11668 (main): Call the new functions.
11669
55f11534
JN
116702012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11671
11672 [BZ #14660]
11673 * Makerules (%.dynsym): Force C locale when running
11674 $(OBJDUMP) --dynamic-syms.
11675
1ab29350
AS
116762012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11677
11678 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11679 <stdint.h>.
11680
f1ecb7ef
DM
116812012-10-06 David S. Miller <davem@davemloft.net>
11682
11683 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11684 upper 32-bits of the length value in %o2 since we use branch-on-register
11685 tests which consider the entire 64-bit register.
11686
5d41d91a
L
116872012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11688
11689 * string/test-strstr.c (check2): Add a test for page boundary.
11690
3baddb72
DM
116912012-10-05 David S. Miller <davem@davemloft.net>
11692
11693 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11694 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11695 file.
11696 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11697 sysdep_routines.
11698 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11699 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11700 and bzero when HWCAP_SPARC_CRYPTO is present.
11701
9cee5585
L
117022012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11703
d7e0dab9
L
11704 [BZ #14602]
11705 * string/test-strstr.c (check2): New function.
11706 (test_main): Call check2.
11707
03759f47
L
11708 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11709 and bug-strchr1.
11710 * string/bug-strcasestr1.c (do_test): Moved to ...
11711 * string/test-strcasestr.c (check1): Here. New function.
11712 (do_one_test): Break out result checking code into ...
11713 (check_result): This. New function.
11714 (do_one_test): Call check_result.
11715 (test_main): Call check1.
11716 * string/bug-strchr1.c (do_test): Moved to ...
11717 * string/test-strchr.c (check1): Here. New function.
11718 (do_one_test): Break out result checking code into ...
11719 (check_result): This. New function.
11720 (do_one_test): Call check_result.
11721 (test_main): Call check1.
11722 * string/bug-strstr1.c (main): Moved to ...
046f153e 11723 * string/test-strstr.c (check1): Here. New function.
03759f47
L
11724 (do_one_test): Break out result checking code into ...
11725 (check_result): This. New function.
11726 (do_one_test): Call check_result.
11727 (test_main): Call check1.
11728 * string/bug-strcasestr1.c: Removed.
11729 * string/bug-strchr1.c: Likewise.
11730 * string/bug-strstr1.c: Likewise.
11731
53cea63e
L
11732 * elf/Makefile (dl-routines): Add hwcaps.
11733 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11734 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11735 (_dl_important_hwcaps): Moved to ...
11736 * elf/dl-hwcaps.c: Here. New file.
11737 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11738
9cee5585 11739 [BZ #14557]
bb859b06
L
11740 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11741 if IS_IN_rtld isn't defined.
11742
9cee5585
L
11743 * elf/dl-support.c (_dl_sysinfo_map): New.
11744 Include "get-dynamic-info.h" and "setup-vdso.h".
11745 (_dl_non_dynamic_init): Call setup_vdso.
11746 * elf/dynamic-link.h: Don't include <assert.h>.
11747 (elf_get_dynamic_info): Moved to ...
11748 * elf/get-dynamic-info.h: Here. New file.
11749 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11750 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11751 * elf/setup-vdso.h: Here. New file.
11752 * elf/rtld.c: Include "setup-vdso.h".
11753 (dl_main): Call setup_vdso.
11754
23c31b76
JM
117552012-10-05 Joseph Myers <joseph@codesourcery.com>
11756
28234b07
JM
11757 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11758 creal in comment listing functions tested. List finite, isinf,
11759 isnan, isless, islessequal, isgreater, isgreaterequal,
11760 islessgreater, isunordered, lgamma_r and pow10 as functions and
11761 macros not tested. Mention which functions not tested are aliases
11762 for other functions. Fix typo. Note that signs of NaNs are not
11763 tested.
11764
23c31b76
JM
11765 * scripts/config.guess: Update from config.git.
11766 * scripts/config.sub: Likewise.
11767
9043e228
RM
117682012-10-04 Roland McGrath <roland@hack.frob.com>
11769
11770 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11771 * misc/madvise.c (madvise): Renamed to __madvise.
11772 Make madvise a weak alias.
11773 * include/sys/mman.h: Declare __madvise.
11774 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11775 * sysdeps/unix/syscalls.list
11776 (madvise): Make __madvise the strong name, and madvise a weak alias.
11777 * sysdeps/unix/sysv/linux/syscalls.list
11778 (madvise, mmap): Remove redundant entries.
11779 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11780 * malloc/malloc.c (mtrim): Likewise.
11781 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11782
f57f8055
RM
117832012-10-03 Roland McGrath <roland@hack.frob.com>
11784
11785 * sysdeps/mach/hurd/dl-cache.c: File removed.
11786 * config.h.in (USE_LDCONFIG): New #undef.
11787 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11788 * configure: Regenerated.
11789 * elf/Makefile (dl-routines): Add dl-cache only under
11790 [$(use-ldconfig) = yes].
11791 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11792 cache on [USE_LDCONFIG].
11793 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11794 [USE_LDCONFIG].
11795 * elf/rtld.c (dl_main): Likewise.
11796
5bb0c10a
PT
117972012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11798
11799 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11800 _SC_LEVEL4_CACHE_LINESIZE.
11801
010188c6
RM
118022012-10-03 Roland McGrath <roland@hack.frob.com>
11803
11804 * sysdeps/unix/bsd/confstr.h: File removed.
11805
b6c5ec07
AO
118062012-10-02 Alexandre Oliva <aoliva@redhat.com>
11807
11808 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11809 sys/sdt-config.h.
11810
408223d4
RM
118112012-10-02 Roland McGrath <roland@hack.frob.com>
11812
11813 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11814 Make 'mapoff' field ElfW(Off) rather than off_t.
11815
bb9510dc
DL
118162012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11817
fc997c6e
DL
11818 * nscd/Makefile: Remove nscd-cflags and all its users.
11819 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11820 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11821
bb9510dc
DL
11822 [BZ #10631]
11823 * malloc.c (malloc_printerr): Clarify error message.
11824
05699367
L
118252012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11826
11827 [BZ #14648]
11828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11829 Set bit_FMA_Usable if FMA is supported.
11830 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11831 macro.
11832 (bit_FMA4_Usable): Updated.
11833 (index_FMA_Usable): New macro.
11834 (CPUID_FMA): Likewise
11835 (HAS_FMA): Defined with bit_FMA_Usable.
11836
51367701
RM
118372012-10-01 Roland McGrath <roland@hack.frob.com>
11838
11839 * bits/types.h (__swblk_t): Type removed.
11840 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11841 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11842 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11843 (__SWBLK_T_TYPE): Likewise.
11844 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11845 (__SWBLK_T_TYPE): Likewise.
11846 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11847 (__SWBLK_T_TYPE): Likewise.
11848 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11849 (__SWBLK_T_TYPE): Likewise.
11850
4d57bf63 118512012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 11852 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
11853
11854 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11855 (xdr_mapname): Use YPMAXMAP as maxsize.
11856 (xdr_peername): Use YPMAXPEER as maxsize.
11857 (xdr_keydat): Use YPAXRECORD as maxsize.
11858 (xdr_valdat): Use YPMAXRECORD as maxsize.
11859
93c65d43
RM
118602012-10-01 Roland McGrath <roland@hack.frob.com>
11861
497a03d6
RM
11862 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11863
93c65d43
RM
11864 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11865 * csu/init-first.c: ... here.
11866 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11867 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11868 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11869 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11870 * sysdeps/i386/init-first.c: File removed.
11871 * sysdeps/sh/init-first.c: File removed.
11872
bec749fd
JM
118732012-10-01 Joseph Myers <joseph@codesourcery.com>
11874
11875 [BZ #14645]
11876 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11877 if x * y might underflow to zero and z is zero.
11878 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11879 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11880 * math/libm-test.inc (min_subnorm_value): New variable.
11881 (fma_test): Add more tests.
11882 (fma_test_towardzero): Likewise.
11883 (fma_test_downward): Likewise
11884 (fma_test_upward): Likewise.
11885 (initialize): Set min_subnorm_value.
11886
8ec5b013
JM
118872012-09-29 Joseph Myers <joseph@codesourcery.com>
11888
11889 [BZ #14638]
11890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11891 0 + 0.
11892 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11893 mode for addition resulting in exact zero.
11894 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11895 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11896 exact 0 + 0.
11897 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11898 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11899 * math/libm-test.inc (fma_test): Add more tests.
11900 (fma_test_towardzero): New function.
11901 (fma_test_downward): Likewise.
11902 (fma_test_upward): Likewise.
11903 (main): Call the new functions.
11904
b1fa802e
DM
119052012-09-28 David S. Miller <davem@davemloft.net>
11906
11907 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11908
d3b9fd9e
RM
119092012-09-28 Roland McGrath <roland@hack.frob.com>
11910
ea4d37b3
RM
11911 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11912 instead of SIGALRM.
11913
ac51c949
RM
11914 * sysdeps/gnu/_G_config.h: Moved to ...
11915 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11916 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11917 * sysdeps/generic/_G_config.h: ... here.
11918
28c195f7
RM
11919 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11920
848917f9
RM
11921 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11922
6bacf05b
RM
11923 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11924 Conditionalize target on [libnss_test1.so-version].
11925
91363dbb
RM
11926 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11927
cc87f7d8
RM
11928 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11929 (elfobjdir): Move out of conditionals.
11930
b1c608fe
RM
11931 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11932 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11933 (__nss_lookup_function): Conditionalize label remove_from_tree on
11934 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 11935
1d9a6d96
DM
119362012-09-28 David S. Miller <davem@davemloft.net>
11937
11938 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11939 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11940 file.
11941 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11942 sysdep_routines.
11943 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11944 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11945 when HWCAP_SPARC_CRYPTO is present.
11946
72581615
PT
119472012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11948
11949 * io/tst-mknodat.c: Create a FIFO instead of a socket.
11950
715a900c
JL
119512012-09-28 Andreas Schwab <schwab@linux-m68k.org>
11952
11953 [BZ #6530]
11954 * stdio-common/vfprintf.c (process_string_arg): Revert
11955 2000-07-22 change.
11956
119572011-09-28 Jonathan Nieder <jrnieder@gmail.com>
11958
11959 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11960 for testcase.
11961 * stdio-common/tst-sprintf.c: Include <locale.h>
11962 (main): Test sprintf's handling of incomplete multibyte
11963 characters.
11964
9bac1d86
L
119652012-09-28 H.J. Lu <hongjiu.lu@intel.com>
11966
11967 * elf/dl-runtime.c (VERSYMIDX): Removed.
11968 * elf/dl-version.c (VERSYMIDX): Likewise.
11969 * elf/do-rel.h (VERSYMIDX): Likewise.
11970 (VALIDX): Likewise.
11971 * elf/dynamic-link.h (VERSYMIDX): Likewise.
11972 * elf/rtld.c (VALIDX): Likewise.
11973 (ADDRIDX): Likewise.
9bac1d86
L
11974 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11975 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11976 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
11977 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11978 (VALIDX): Likewise.
11979 (ADDRIDX): Likewise.
9bac1d86 11980
b31606c0
PT
119812012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11982
11983 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11984
11541177
JL
119852012-09-28 Dmitry V. Levin <ldv@altlinux.org>
11986
11987 [BZ #11438]
11988 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11989 to global scope.
11990 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11991 addresses are in the same scope as 192.0.2/24.
11992 * posix/gai.conf: Document new scope table defaults.
11993
adb26fae
SP
119942012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11995
11996 [BZ #5298]
11997 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11998 for ftell. Compute offsets from write pointers instead.
11999 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12000
4573c6b0
SP
120012012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12002
12003 [BZ #14543]
12004 * libio/Makefile (tests): New test case tst-fseek.
12005 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12006 combination works in wide mode.
12007 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12008 state when the external buffer state changes.
12009
aa9bbfe6
DM
120102012-09-27 David S. Miller <davem@davemloft.net>
12011
12012 [BZ #14376]
12013 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12014 pass reloc->r_addend in as the 'high' argument to
12015 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12016
784421e7
DM
12017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12018
c39bc8b8
PT
120192012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12020
12021 * rt/tst-aio2.c: Include <pthread.h>.
12022 * rt/tst-aio3.c: Likewise.
12023
1ccc2399
SE
120242012-09-27 Steve Ellcey <sellcey@mips.com>
12025
12026 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12027
31ed4153
L
120282012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12029
25f5f885
L
12030 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12031 contents on [SHARED].
31ed4153 12032
b7bfe116
MP
120332012-09-26 Marek Polacek <polacek@redhat.com>
12034
12035 [BZ #14530]
12036 [BZ #13741]
12037 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12038 for C++ and GCC <4.3 as well as for non GCC compilers.
12039
43c4edba
MT
120402012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12041
12042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12043
6a1bf82f
RM
120442012-09-25 Roland McGrath <roland@hack.frob.com>
12045
12046 * Makefile.in (all, install): Declare with .PHONY.
12047 Reported by Michael Hope <michael.hope@linaro.org>.
12048
8ad11b9a
TMQMF
120492012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12050
12051 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12052 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12053 system header.
12054 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12055 Likewise.
12056 (sydep_routines): Add the new and the internal functions.
12057 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12058 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12060 (GLIBC_2.17): Add the new function.
12061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12062 (GLIBC_2.17): Likewise.
12063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12064 (GLIBC_2.17): Likewise.
12065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12066 (GLIBC_2.17): Likewise.
12067 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12068
7e2fca8d
AM
120692012-09-25 Alan Modra <amodra@gmail.com>
12070
12071 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12072 Add release barrier before setting once_control to say
12073 initialisation is done. Add hints on lwarx. Use macro in
12074 place of isync.
12075 (clear_once_control): Add release barrier.
12076
b87c4b24
JM
120772012-09-25 Joseph Myers <joseph@codesourcery.com>
12078
d032e0d2
JM
12079 [BZ #13629]
12080 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12081 specially.
12082 * math/s_clog10.c (__clog10): Likewise.
12083 * math/s_clog10f.c (__clog10f): Likewise.
12084 * math/s_clog10l.c (__clog10l): Likewise.
12085 * math/s_clogf.c (__clogf): Likewise.
12086 * math/s_clogl.c (__clogl): Likewise.
12087 * math/Makefile (libm-calls): Add x2y2m1.
12088 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12089 (__x2y2m1): Likewise.
12090 (__x2y2m1l): Likewise.
12091 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12092 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12093 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12094 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12095 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12096 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12097 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12098 * sysdeps/i386/fpu/libm-test-ulps: Update.
12099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12100
b87c4b24
JM
12101 [BZ #14621]
12102 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12103 int as type of variable DEPTH.
12104 (glob): Use size_t instead of int as type of variables NEWCOUNT
12105 and OLD_PATHC.
12106
6d3bf199
LD
121072012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12108
22bf5c17
LD
12109 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12110 Add s_sincosf-sse2.
12111 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12112 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12113 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12114 macros for using routine as __sincosf_ia32.
12115 Use macro for function declaration and weak_alias.
12116 * sysdeps/i386/fpu/libm-test-ulps: Update.
12117
12118 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12119 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12120
12121 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12122 subnormal argument.
12123 * math/s_cexpf.c (__cexpf): Likewise.
12124 * math/s_csinf.c (__csinf): Likewise.
12125 * math/s_csinhf.c (__csinhf): Likewise.
12126 * math/s_ctanf.c (__ctanf): Likewise.
12127 * math/s_ctanhf.c (__ctanhf): Likewise.
12128 * math/s_ccosh.c (__ccoshf): Likewise.
12129 * math/s_cexp.c (__cexpl): Likewise.
12130 * math/s_csin.c (__csin): Likewise.
12131 * math/s_csinh.c (__csinh): Likewise.
12132 * math/s_ctan.c (__ctan): Likewise.
12133 * math/s_ctanh.c (ctanh): Likewise.
12134 * math/s_ccoshl.c (__ccoshl): Likewise.
12135 * math/s_cexpl.c (__cexpl): Likewise.
12136 * math/s_csinl.c (__csinl): Likewise.
12137 * math/s_csinhl.c (__csinhl): Likewise.
12138 * math/s_ctanl.c (__ctanl): Likewise.
12139 * math/s_ctanhl.c (__ctanhl): Likewise.
12140
203e5603
JM
121412012-09-25 Joseph Myers <joseph@codesourcery.com>
12142
12143 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12144 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12145 (_IO_off_t): Define to __off_t, not _G_off_t.
12146 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12147 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12148 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12149 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12150 type of __dummy and __dummy2 fields.
12151 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12152 (_G_ssize_t): Likewise.
12153 (_G_off_t): Likewise.
12154 (_G_pid_t): Likewise.
12155 (_G_uid_t): Likewise.
12156 (_G_wchar_t): Likewise.
12157 (_G_wint_t): Likewise.
12158 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12159 (_G_ssize_t): Likewise.
12160 (_G_off_t): Likewise.
12161 (_G_pid_t): Likewise.
12162 (_G_uid_t): Likewise.
12163 (_G_wchar_t): Likewise.
12164 (_G_wint_t): Likewise.
12165 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12166 (_G_ssize_t): Likewise.
12167 (_G_off_t): Likewise.
12168 (_G_pid_t): Likewise.
12169 (_G_uid_t): Likewise.
12170 (_G_wchar_t): Likewise.
12171 (_G_wint_t): Likewise.
12172
9fab36eb
SP
121732012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12174
12175 * malloc/arena.c: Include malloc-sysdep.h.
12176 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12177 is sufficient to shrink the heap or an unmap is needed.
12178 * sysdeps/generic/malloc-sysdep.h: New file. Define
12179 new function check_may_shrink_heap.
12180 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12181 new function check_may_shrink_heap.
12182
2b4f00d1
SP
121832012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12184
12185 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12186 comments.
12187
9a9028b1
DL
121882012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12189
57c69bef
DL
12190 * catgets/test-gencat.sh: Add "set -e".
12191 * elf/tst-pathopt.sh: Likewise.
12192 * grp/tst_fgetgrent.sh: Likewise.
12193 * iconvdata/run-iconv-test.sh: Likewise.
12194 * intl/tst-gettext.sh: Likewise.
12195 * intl/tst-gettext2.sh: Likewise.
12196 * intl/tst-gettext4.sh: Likewise.
12197 * intl/tst-gettext6.sh: Likewise.
12198 * intl/tst-translit.sh: Likewise.
12199 * io/ftwtest-sh: Likewise.
12200 * libio/test-freopen.sh: Likewise.
12201 * malloc/tst-mtrace.sh: Likewise.
12202 * posix/globtest.sh: Likewise.
12203 * posix/tst-getconf.sh: Likewise.
12204 * posix/wordexp-tst.sh: Likewise.
12205 * stdio-common/tst-printf.sh: Likewise.
12206 * stdio-common/tst-unbputc.sh: Likewise.
12207 * stdlib/tst-fmtmsg.sh: Likewise.
12208 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12209 * catgets/Makefile: Do not specify -e option when running
12210 testsuite shell scripts.
12211 * elf/Makefile: Likewise.
12212 * grp/Makefile: Likewise.
12213 * iconvdata/Makefile: Likewise.
12214 * intl/Makefile: Likewise.
12215 * io/Makefile: Likewise.
12216 * libio/Makefile: Likewise.
12217 * malloc/Makefile: Likewise.
12218 * posix/Makefile: Likewise.
12219 * stdio-common/Makefile: Likewise.
12220 * stdlib/Makefile: Likewise.
12221 * sysdeps/x86_64/Makefile: Likewise.
12222
9a9028b1
DL
12223 * io/ftwtest-sh: Add copyright header.
12224 * posix/globtest.sh: Likewise.
12225 * posix/tst-getconf.sh: Likewise.
12226 * posix/wordexp-tst.sh: Likewise.
12227 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12228
ced6f16e
L
122292012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12230
94b32c39
L
12231 [BZ #13679]
12232 * Makeconfig (+link): Defined as $(+link-static) if
12233 $(build-shared) isn't yes.
12234 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12235 isn't yes.
12236 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12237
189e935b
L
12238 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12239
ced6f16e
L
12240 [BZ #14562]
12241 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12242 new chunk size with MALLOC_ALIGN_MASK.
12243
a9f8e53a
JM
122442012-09-24 Joseph Myers <joseph@codesourcery.com>
12245
12246 [BZ #5044]
12247 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12248 <rounding-mode.h>.
12249 (__printf_fphex): Determine rounding using get_rounding_mode and
12250 round_away.
12251 * stdio-common/tst-printf-round.c (struct hex_test): New
12252 structure.
12253 (hex_tests): New variable.
12254 (test_hex_in_one_mode): New function.
12255 (do_test): Also run tests for hex float output.
12256
43153109
JM
122572012-09-21 Joseph Myers <joseph@codesourcery.com>
12258
12259 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12260 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12261 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12262 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12263 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12264 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12265 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12266 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12267
8a26625d
JM
122682012-09-20 Joseph Myers <joseph@codesourcery.com>
12269
12270 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12271 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12272 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12273 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12274
f3fd569c
DL
122752012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12276
12277 [BZ #14579]
12278 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12279 mode only.
12280 * elf/tst-rtld-load-self.sh: New test.
12281 * elf/Makefile: Run it.
12282
63bbedd4
JM
122832012-09-18 Joseph Myers <joseph@codesourcery.com>
12284
12285 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12286 (tst-writev-ENV): Remove.
12287 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12288
626f8b6a
CM
122892012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12290
12291 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12292
b7aaa4d6
JM
122932012-09-17 Joseph Myers <joseph@codesourcery.com>
12294
12295 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12296 unconditional.
12297 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12298 Likewise.
12299 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12300 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12301 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12302 Likewise.
12303
65513990
L
123042012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12305
12306 [BZ #14587]
12307 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12308 * config.make.in (have-cpp-asm-debuginfo): Removed.
12309 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12310 * configure: Regenerated.
12311
784761be
JM
123122012-09-14 Joseph Myers <joseph@codesourcery.com>
12313
12314 [BZ #5044]
12315 * stdio-common/printf_fp.c: Include <stdbool.h> and
12316 <rounding-mode.h>.
12317 (___printf_fp): Determine rounding using get_rounding_mode and
12318 round_away.
12319 * stdio-common/tst-printf-round.c: New file.
12320 * stdio-common/Makefile (tests): Add tst-printf-round.
12321 (link-libm): New variable.
12322 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12323
9503345f
L
123242012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12325
12326 [BZ #14576]
12327 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12328 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12329 Likewise.
12330 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12331 Likewise.
12332
ad35fc00
JM
123332012-09-13 Joseph Myers <joseph@codesourcery.com>
12334
12335 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12336 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12337 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12338 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12339
6c9b0f68
JM
123402012-09-12 Joseph Myers <joseph@codesourcery.com>
12341
12342 [BZ #14518]
12343 * include/rounding-mode.h: New file.
12344 * sysdeps/generic/get-rounding-mode.h: Likewise.
12345 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12346 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12347 (MAX_VALUE): New macro.
12348 (MIN_VALUE): Likewise.
12349 (overflow_value): New function.
12350 (underflow_value): Likewise.
12351 (round_and_return): Use overflow_value and underflow_value to
12352 determine return values in overflow and underflow cases. Use
12353 round_away to determine rounding depending on rounding mode.
12354 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12355 determine return values in overflow and underflow cases.
12356 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12357 (struct test_results): New structure.
12358 (struct test): Use struct test_results to store expected results
12359 for all rounding modes.
12360 (TEST): Include expected results for all rounding modes.
12361 (test_in_one_mode): New function.
12362 (do_test): Use test_in_one_mode to compute and check results.
12363 Check results for all rounding modes.
12364 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12365 $(link-libm).
12366
19fcedd5
AM
123672012-12-09 Allan McRae <allan@archlinux.org>
12368
1e9d84cd 12369 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12370
8bbfd2f1
JM
123712012-09-11 Joseph Myers <joseph@codesourcery.com>
12372
12373 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12374 (_G_int32_t): Likewise.
12375 (_G_uint16_t): Likewise.
12376 (_G_uint32_t): Likewise.
12377 (_G_HAVE_BOOL): Likewise.
12378 (_G_HAVE_ATEXIT): Likewise.
12379 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12380 (_G_HAVE_IO_FILE_OPEN): Likewise.
12381 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12382 (_G_int32_t): Likewise.
12383 (_G_uint16_t): Likewise.
12384 (_G_uint32_t): Likewise.
12385 (_G_HAVE_BOOL): Likewise.
12386 (_G_HAVE_ATEXIT): Likewise.
12387 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12388 (_G_HAVE_IO_FILE_OPEN): Likewise.
12389 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12390 (_G_int32_t): Likewise.
12391 (_G_uint16_t): Likewise.
12392 (_G_uint32_t): Likewise.
12393 (_G_HAVE_BOOL): Likewise.
12394 (_G_HAVE_ATEXIT): Likewise.
12395 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12396 (_G_HAVE_IO_FILE_OPEN): Likewise.
12397
b1dc5912
L
123982012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12399
12400 * csu/libc-tls.c: Update copyright years.
12401
0e886ef9
JM
124022012-09-10 Joseph Myers <joseph@codesourcery.com>
12403
28361c5e
JM
12404 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12405 [!_G_USING_THUNKS]: Remove conditional code.
12406 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12407 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12408
0e886ef9
JM
12409 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12410 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12411 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12412 (_G_VTABLE_LABEL_PREFIX): Likewise.
12413 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12414 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12415 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12416 (_G_VTABLE_LABEL_PREFIX): Likewise.
12417 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12418 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12419 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12420 (_G_VTABLE_LABEL_PREFIX): Likewise.
12421 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12422
bcba7aa2
L
124232012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12424
12425 * libio/Makefile: Include ../Makeconfig before tests.
12426 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12427 only if $(build-shared) is yes.
12428
06585ee8
L
12429 * iconv/gconv_db.c: Update copyright years.
12430
80ccd52c
LD
124312012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12432
12433 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12434 unwind info if defined PIC. Fix special cases description.
12435 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12436
12437 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12438 DP_HI_MASK entry.
12439 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12440
691bc9c1
L
124412012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12442
3d9b46b3
L
12443 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12444
de2139a9
L
12445 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12446 is NULL.
12447
5ca78dd0
L
12448 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12449 (LDLIBS-tst-chk4): This.
12450 (LDFLAGS-tst-chk5): Renamed to ...
12451 (LDLIBS-tst-chk5): This.
12452 (LDFLAGS-tst-chk6): Renamed to ...
12453 (LDLIBS-tst-chk6): This.
12454 (LDFLAGS-tst-lfschk4): Renamed to ...
12455 (LDLIBS-tst-lfschk4): This.
12456 (LDFLAGS-tst-lfschk5): Renamed to ...
12457 (LDLIBS-tst-lfschk5): This.
12458 (LDFLAGS-tst-lfschk6): Renamed to ...
12459 (LDLIBS-tst-lfschk6): This.
12460
691bc9c1
L
12461 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12462 on $(common-objpfx)soversions.mk.
12463
65cafb1c
JM
124642012-09-07 Joseph Myers <joseph@codesourcery.com>
12465
12466 [BZ #10014]
12467 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12468 example host name.
12469
c78ab094
SP
124702012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12471
12472 * malloc/arena.c (arena_get_retry): New function that gets
12473 another arena for the caller to try its request on.
12474 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12475 current arena cannot fulfill the request.
12476 (__libc_memalign): Likewise.
12477 (__libc_memalign): Likewise.
12478 (__libc_pvalloc): Likewise.
12479 (__libc_calloc): Likewise.
12480
01f49f59
JT
124812012-09-05 John Tobey <john.tobey@gmail.com>
12482
12483 [BZ #13542]
12484 * manual/arith.texi (Operations on Complex): Fix description
12485 of carg branch cut.
12486
4c23fed5
JM
124872012-09-06 Joseph Myers <joseph@codesourcery.com>
12488
1d3c8572
JM
12489 [BZ #10014]
12490 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12491 host name.
12492
4c23fed5
JM
12493 [BZ #10038]
12494 * manual/memory.texi (Memory): Make order of menu items match
12495 order of sections.
12496
04570aaa
L
124972012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12498
12499 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12500 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12501 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12502
b80af2f4
L
125032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12504
12505 * csu/libc-tls.c (static_dtv): Renamed to ...
12506 (_dl_static_dtv): This. Make it global.
12507 (_dl_initial_dtv): Removed.
12508 (__libc_setup_tls): Updated.
12509 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12510 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12511 DL_INITIAL_DTV.
12512
2abe9f15
PM
125132012-09-06 Petr Machata <pmachata@redhat.com>
12514
12515 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12516 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12517 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12518 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12519
0948c3af
L
125202012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12521
12522 [BZ #14545]
12523 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12524 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12525 freeing dtv[-1].
12526
a5055ad1
L
125272012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12528
12529 [BZ #14544]
12530 * Makeconfig (link-static-before-libc): Replace $(+prector)
12531 with $(+prectorT).
12532 (link-static-after-libc): Replace $(+postctor) with
12533 $(+postctorT).
12534 (link-bounded): Replace $(+prector)/$(+postctor) with
12535 $(+prectorT)/$(+postctorT).
12536 (+prectorT): New macro.
12537 (+postctorT): Likewise.
12538
ed8c2ecd
JM
125392012-09-06 Joseph Myers <joseph@codesourcery.com>
12540
12541 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12542 (round_str): Handle values above the maximum for IBM long double
12543 as inexact.
12544 * stdlib/tst-strtod-round.c (tests): Regenerated.
12545
14c996c8
AK
125462012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12547
12548 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12549 assembler flag.
12550 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12551 zarch_nohighgprs around the zarch optimized routines.
12552 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12553 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12554 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12555 for zarch.
12556
430d6ce6
DM
125572012-09-05 David S. Miller <davem@davemloft.net>
12558
12559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12560
ff04dda4
DM
12561 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12562 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12563 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12564 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12565 entries.
12566
24d4e01b
AO
125672012-09-05 Alexandre Oliva <aoliva@redhat.com>
12568
12569 * malloc/arena.c: Fold copyright years.
12570 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12571
61d58174
AO
125722012-09-05 Alexandre Oliva <aoliva@redhat.com>
12573
12574 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12575
20196a5e
AO
125762012-09-05 Alexandre Oliva <aoliva@redhat.com>
12577
12578 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12579
5c447383
AO
125802012-09-05 Alexandre Oliva <aoliva@redhat.com>
12581
12582 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12583 change internal state upon failure.
12584
fad64255
AO
125852012-09-05 Alexandre Oliva <aoliva@redhat.com>
12586
12587 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12588 * malloc/memusage.c (mmap): Likewise.
12589 (mmap64, mremap): Likewise. Adjust name in comment.
12590
1ffb8c90
SP
125912012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12592
12593 * libio/fileops.c: Fix typos in comments.
12594 * libio/oldfileops.c: Likewise.
12595 * libio/wfileops.c: Likewise.
12596
6ef9cc37
SP
125972012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12598
12599 [BZ #1349]
12600 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12601 (tst-malloc-usable-ENV): Set environment for test case.
12602 * malloc/hooks.c (malloc_check_get_size): New function to get
12603 requested size.
12604 * malloc/malloc.c (musable): Use malloc_check_get_size.
12605 * malloc/tst-malloc-usable.c: New test case.
12606
4d038ae3
AS
126072012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12608
12609 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12610
c4e85184
AM
126112012-09-05 Allan McRae <allan@archlinux.org>
12612
b9dafc56 12613 [BZ #13966]
c4e85184
AM
12614 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12615 determine header location.
12616 * configure: Regenerated.
12617
e1343020
AS
126182012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12619
12620 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12621 float format.
12622 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
12623 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12624 format.
e1343020
AS
12625 (test): Regenerate.
12626
0a9f1987
DM
126272012-09-04 David S. Miller <davem@davemloft.net>
12628
12629 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12630 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12631 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12632
29237804
FW
126332012-09-04 Florian Weimer <fweimer@redhat.com>
12634
12635 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12636 failures.
12637
edb3cb88
FW
12638 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12639
60160d83
JM
126402012-09-04 Joseph Myers <joseph@codesourcery.com>
12641
12642 [BZ #9914]
12643 * libio/iogetdelim.c: Include <limits.h>.
12644 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12645 + len + 1 would overflow.
12646
bcd6c8dc
AJ
126472012-09-03 Andreas Jaeger <aj@suse.de>
12648
12649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12650 * sysdeps/i386/fpu/libm-test-ulps: Update.
12651
4ffffbd2
LD
126522012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12653
12654 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12655 Add s_sinf-sse2, s_conf-sse2.
12656
12657 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12658 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12659 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12660 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12661
12662 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12663 for using routine as __sinf_ia32.
12664 Use macro for function declaration and weak_alias.
12665 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12666 for using routine as __cosf_ia32.
12667 Use macro for function declaration and weak_alias.
12668
12669 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12670 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12671
12672 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12673 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12674 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12675
12676 * math/libm-test.inc (cos_test): Add more test cases.
12677 (sin_test): Likewise.
12678 (sincos_test): Likewise.
12679
511fa286
AK
126802012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12681
12682 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12683 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12684 hidden.
12685 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12686
5f30cfec
L
126872012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12688
12689 [BZ #14538]
12690 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12691 first element of the GOT.
12692 (elf_machine_load_address): Return the difference between
12693 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12694
0786794f
AM
126952012-09-01 Allan McRae <allan@archlinux.org>
12696
5f30cfec
L
12697 [BZ #13412]
12698 * configure.in (AWK): Require gawk version 3.0 or later.
12699 * configure: Regenerated.
0786794f 12700
26889eac
JM
127012012-09-01 Joseph Myers <joseph@codesourcery.com>
12702
12703 * sysdeps/unix/sysv/linux/kernel-features.h
12704 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12705 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12706 [__NR_clock_getres]: Make code unconditional.
12707 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12708 (clock_getcpuclockid): Remove code left unreachable by removal of
12709 conditionals.
12710 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12711 code unconditional.
12712 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12713 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12714 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12715 Make code unconditional.
12716 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12717 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12718 * sysdeps/unix/sysv/linux/clock_settime.c
12719 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12720 conditional code.
12721 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12722 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12723
d22e28b0
L
127242012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12725
12726 [BZ #14476]
12727 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12728 scripts/test-installation.pl.
12729
12730 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12731 and $ld_so_version if it is set.
12732
050af9c4
SP
127332012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12734
12735 [BZ #14516]
12736 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12737 failure if reading from procfs failed.
12738 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12739
ad845c0b
JM
127402012-08-27 Joseph Myers <joseph@codesourcery.com>
12741
12742 * sysdeps/unix/sysv/linux/kernel-features.h
12743 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12744 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12745 Remove conditional code.
12746 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12747 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12748 Remove conditional code.
12749 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12750 * sysdeps/unix/sysv/linux/i386/fxstat.c
12751 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12752 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12753 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12754 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12755 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12756 * sysdeps/unix/sysv/linux/i386/lxstat.c
12757 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12758 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12759 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12760 Remove conditional code.
12761 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12762 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12763 Remove conditional code.
12764 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12765 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12766 <kernel-features.h>.
12767 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12768 Remove.
12769 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12770 Remove conditional code.
12771 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12772 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12773 Remove conditional.
12774
5dbf56af
MF
127752012-08-27 Mike Frysinger <vapier@gentoo.org>
12776
12777 [BZ #5400]
12778 * NEWS: Add fixed bug number.
12779
d6e70f43
JM
127802012-08-27 Joseph Myers <joseph@codesourcery.com>
12781
7efb4737
JM
12782 [BZ #14519]
12783 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12784 underflowing exponent in case of negative sign.
12785 * stdlib/tst-strtod-round-data: Add more tests.
12786 * stdlib/tst-strtod-round.c (tests): Regenerated.
12787
af92131a
JM
12788 [BZ #3479]
12789 * stdlib/strtod_l.c (NDIG): Remove.
12790 (HEXNDIG): Likewise.
12791 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12792 smallest representable value.
12793 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12794 lie within an exact representation of 1/2 ulp of the result.
12795 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12796 unconditionally.
12797 (TENS_P9_IDX): Define unconditionally.
12798 (TENS_P9_SIZE): Likewise.
12799 (TENS_P10_IDX): Likewise.
12800 (TENS_P10_SIZE): Likewise.
12801 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12802 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12803 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12804 entries for 10^2^13 and 10^2^14.
12805 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12806 (TENS_P13_IDX): Define.
12807 (TENS_P13_SIZE): Likewise.
12808 (TENS_P14_IDX): Likewise.
12809 (TENS_P14_SIZE): Likewise.
12810 (_fpioconst_pow10): Change array size to
12811 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12812 unconditional.
12813 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12814 1024]: Add entries for 10^2^13 and 10^2^14.
12815 [LAST_POW10 > _LAST_POW10]: Remove #error.
12816 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12817 (_fpioconst_pow10): Change array size to
12818 FPIOCONST_POW10_ARRAY_SIZE.
12819 * stdlib/gen-fpioconst.c: New file.
12820 * stdlib/gen-tst-strtod-round.c: Likewise.
12821 * stdlib/tst-strtod-round-data: Likewise.
12822 * stdlib/tst-strtod-round.c: Likewise.
12823 * stdlib/Makefile (tests): Add tst-strtod-round.
12824
d6e70f43
JM
12825 [BZ #14459]
12826 * stdlib/strtod_l.c: Include <stdint.h>.
12827 (NDEBUG): Do not define.
12828 (round_and_return): Change EXPONENT parameter to type intmax_t.
12829 Rearrange calculations to avoid internal overflow possibilities.
12830 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12831 Rearrange calculations to avoid internal overflow possibilities.
12832 Assert that number fits inside MPNSIZE limbs.
12833 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12834 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12835 calculations and add assertions to avoid internal overflow
12836 possibilities. Add casts to avoid signed/unsigned operations.
12837 * stdlib/tst-strtod-overflow.c: New file.
12838 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12839
1f529f7d
MP
128402012-08-25 Marek Polacek <polacek@redhat.com>
12841
12842 * time/time.h: Fix some typos in comments.
12843
59a629f1
RM
128442012-08-23 Roland McGrath <roland@hack.frob.com>
12845
12846 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12847 * posix/tst-rfc3484-2.c: Likewise.
12848 * posix/tst-rfc3484-3.c: Likewise.
12849
d3bafbc9
SM
128502012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12851
12852 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12853 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12854
4efcc022
JM
128552012-08-23 Joseph Myers <joseph@codesourcery.com>
12856
12857 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12858 #include of fxstatat64.c.
12859
3cc3ef96
RM
128602012-08-22 Roland McGrath <roland@hack.frob.com>
12861
f04e2132
RM
12862 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12863 * shadow/getspent_r.c: Likewise.
12864 * shadow/getspnam.c: Likewise.
12865 * shadow/getspnam_r.c: Likewise.
12866 * gshadow/getsgent.c: Likewise.
12867 * gshadow/getsgent_r.c: Likewise.
12868 * gshadow/getsgnam.c: Likewise.
12869 * gshadow/getsgnam_r.c: Likewise.
12870 * inet/getnetbyad.c: Likewise.
12871 * inet/getnetbyad_r.c: Likewise.
12872 * inet/getnetbynm.c: Likewise.
12873 * inet/getnetbynm_r.c: Likewise.
12874 * inet/getnetent.c: Likewise.
12875 * inet/getnetent_r.c: Likewise.
12876 * inet/getproto.c: Likewise.
12877 * inet/getproto_r.c: Likewise.
12878 * inet/getprtent.c: Likewise.
12879 * inet/getprtent_r.c: Likewise.
12880 * inet/getprtname.c: Likewise.
12881 * inet/getprtname_r.c: Likewise.
12882 * inet/getrpcbyname.c: Likewise.
12883 * inet/getrpcbyname_r.c: Likewise.
12884 * inet/getrpcbynumber.c: Likewise.
12885 * inet/getrpcbynumber_r.c: Likewise.
12886 * inet/getrpcent.c: Likewise.
12887 * inet/getrpcent_r.c: Likewise.
12888 * inet/getaliasent.c: Likewise.
12889 * inet/getaliasent_r.c: Likewise.
12890 * inet/getaliasname.c: Likewise.
12891 * inet/getaliasname_r.c: Likewise.
12892 * nscd/getgrgid_r.c: Likewise.
12893 * nscd/getgrnam_r.c: Likewise.
12894 * nscd/gethstbyad_r.c: Likewise.
12895 * nscd/gethstbynm3_r.c: Likewise.
12896 * nscd/getpwnam_r.c: Likewise.
12897 * nscd/getpwuid_r.c: Likewise.
12898 * nscd/getsrvbynm_r.c: Likewise.
12899 * nscd/getsrvbypt_r.c: Likewise.
12900 * nscd/gai.c: Likewise.
12901
c53d909c
RM
12902 * configure.in (build_nscd): New substituted variable, set
12903 by --disable-build-nscd and defaults to $use_nscd.
12904 * configure: Regenerated.
12905 * config.make.in (build-nscd): New substituted variable.
12906 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12907 Change conditional to require [$(build-nscd) = yes] as well.
12908 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12909
3cc3ef96
RM
12910 [BZ# 13696]
12911 * configure.in (use_nscd): New substituted variable, set by
12912 --disable-nscd. If enabled, define USE_NSCD.
12913 * configure: Regenerated.
12914 * config.h.in: Add USE_NSCD.
12915 * config.make.in (use-nscd): New substituted variable.
12916 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12917 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12918 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12919 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12920 (CFLAGS-getgrnam_r.c): Likewise.
12921 (CFLAGS-initgroups.c): Likewise.
12922 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12923 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12924 Variables removed.
12925 * inet/getnetgrent_r.c
12926 (nscd_setnetgrent): New function, broken out of ...
12927 (setnetgrent): ... here. Call it.
12928 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12929 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12930 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12931 * nscd/Makefile (routines, aux): Move definitions after include of
12932 Makeconfig. Conditionalize on [$(use-nscd) != no].
12933 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12934 Conditionalize on [USE_NSCD].
12935 (is_nscd, nscd_init_cb): Likewise.
12936 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12937 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12938 * nss/nss_db/db-init.c: Likewise.
12939 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12940 [USE_NSCD].
12941 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12942 (make_request): Use it.
12943 (cache_valid_p): New function.
12944 (__check_pf): Use it.
12945 * NEWS: Add item for --disable-nscd.
12946
07e51550
DL
129472012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12948
12949 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12950 to support sed >= 4.2.1-20-ga9bf076.
12951 * configure: Regenerated.
12952
35a5b08b
RM
129532012-08-22 Roland McGrath <roland@hack.frob.com>
12954
12955 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12956 Conditionalize whole body on [IREL].
12957
8479f23a
JL
129582012-08-22 Jeff Law <law@redhat.com>
12959
12960 [BZ #14505]
12961 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12962 if the family is PF_UNSPEC.
12963
48da0b21
MF
129642012-08-22 Mike Frysinger <vapier@gentoo.org>
12965
12966 * Makerules (lib-version): Rename from V.
12967 (install-lib-nosubdir): Change V to lib-version.
12968
15d0da8c
WS
129692012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
12970
12971 [BZ #14252]
12972 * powerpc32/power6/wcschr.c: New file.
12973 * powerpc32/power6/wcscpy.c: New file.
12974 * powerpc32/power6/wcsrchr.c: New file.
12975 * powerpc64/power6/wcschr.c: New file.
12976 * powerpc64/power6/wcscpy.c: New file.
12977 * powerpc64/power6/wcsrchr.c: New file.
12978
bcca0895
MK
129792012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12980
12981 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12982 (two_way_short_needle): Use it.
5a4aaa33
RM
12983 * string/strstr.c (AVAILABLE1_USES_J): Define.
12984 * string/strcasestr.c: Likewise.
99677e57
MK
12985
12986 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12987 array references.
12988 * string/strcasestr.c (TOLOWER): Make side-effect safe.
12989
400726de
MK
12990 [BZ #11607]
12991 * NEWS: Add an entry.
12992 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12993 define their defaults.
12994 (two_way_short_needle): Detect end-of-string on-the-fly.
12995 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12996 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12997 * string/bug-strcasestr1.c: New test.
12998 * string/Makefile: Run it.
12999
20a71f2c
MK
130002012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13001
13002 [BZ #11607]
13003 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13004 the first character.
13005
21ad0558
RM
130062012-08-21 Roland McGrath <roland@hack.frob.com>
13007
13008 * csu/elf-init.c (__libc_csu_irel): Function removed.
13009 * csu/libc-start.c (apply_irel): New function.
13010 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13011
0e1d9911
JM
130122012-08-21 Joseph Myers <joseph@codesourcery.com>
13013
13014 * sysdeps/unix/sysv/linux/kernel-features.h
13015 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13016 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13017 <kernel-features.h>.
13018 [__NR_fadvise64_64]: Make code unconditional.
13019 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13020 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13021 !__NR_fadvise64_64)]: Likewise.
13022 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13023 !__NR_fadvise64_64))]: Likewise.
13024 [__NR_fadvise64]: Make code unconditional.
13025 [!__NR_fadvise64]: Remove conditional code.
13026 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13027 <kernel-features.h>.
13028 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13029 unconditional.
13030 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13031 conditional code.
13032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13033 not include <kernel-features.h>.
13034 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13035 unconditional.
13036 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13037 conditional code.
13038 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13039 include <kernel-features.h>.
13040 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13041 unconditional.
13042 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13043 conditional code.
13044
14a50c9d
WS
130452012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13046
13047 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13048 slight instruction rearrangements per scrollpipe analysis.
13049 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13050
c0f4faf0
RM
130512012-08-20 Roland McGrath <roland@hack.frob.com>
13052
696da859
RM
13053 * manual/syslog.texi (syslog; vsyslog, closelog):
13054 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13055 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13056
c0f4faf0
RM
13057 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13058 DSOCAPS to match condition on defining it.
13059
348363b2
JM
130602012-08-20 Joseph Myers <joseph@codesourcery.com>
13061
a35cbf28
JM
13062 * sysdeps/unix/sysv/linux/kernel-features.h
13063 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13064 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13065 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13066 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13068 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13069 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13071 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13072 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13073
445f7ecd
JM
13074 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13075 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13076
348363b2
JM
13077 * sysdeps/unix/sysv/linux/kernel-features.h
13078 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13079 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13080 unconditional.
13081 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13082 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13083 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13084 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13085 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13086 Make code unconditional.
13087 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13088 (__mmap64) [!__NR_mmap2]: Likewise.
13089 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13090 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13091 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13092 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13093 [__NR_mmap2]: Make code unconditional.
13094 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13095 (__mmap64) [!__NR_mmap2]: Likewise.
13096
bc5bc0e5
AK
130972012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13098
13099 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13100
88d506de
AJ
131012012-08-18 Andreas Jaeger <aj@suse.de>
13102
13103 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13104
493387d2
MF
131052012-08-18 Mike Frysinger <vapier@gentoo.org>
13106
13107 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13108 * include/unistd.h (__have_sock_cloexec): Likewise.
13109 (__have_pipe2): Likewise.
13110 (__have_dup3): Likewise.
13111
a277af22
MF
131122012-08-18 Mike Frysinger <vapier@gentoo.org>
13113
13114 [BZ #9685]
13115 * include/unistd.h (__have_pipe2): Change define into an extern int.
13116 (__have_dup3): Likewise.
13117 * socket/have_sock_cloexec.c: Include fcntl.h.
13118 (__have_pipe2): New variable.
13119 (__have_dup3): Likewise.
13120
fdab8fd3
MF
131212012-08-17 Mike Frysinger <vapier@gentoo.org>
13122
13123 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13124
31035e80
MP
131252012-08-17 Marek Polacek <polacek@redhat.com>
13126
13127 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13128 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13129
3bd9e993
RM
131302012-08-17 Roland McGrath <roland@hack.frob.com>
13131
c91c505f
RM
13132 * configure.in: Add AC_SUBST for sysheaders.
13133 * configure: Regenerated.
13134 * config.make.in (sysheaders): New substituted variable.
13135
7c6f9d53
RM
13136 * sysdeps/unix/mkfifo.c: Moved ...
13137 * sysdeps/posix/mkfifo.c: ... here.
13138 * sysdeps/unix/mkfifoat.c: Moved ...
13139 * sysdeps/posix/mkfifoat.c: ... here.
13140
13141 * sysdeps/unix/utime.c: Moved ...
13142 * sysdeps/posix/utime.c: ... here.
13143
13144 * sysdeps/unix/time.c: Moved ...
13145 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13146 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13147 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13148
13149 * sysdeps/unix/nice.c: Moved ...
13150 * sysdeps/posix/nice.c: ... here.
13151
13152 * sysdeps/unix/alarm.c: Moved ...
13153 * sysdeps/posix/alarm.c: ... here.
13154
3bd9e993
RM
13155 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13156
d1f09384
JL
131572012-08-17 Jeff Law <law@redhat.com>
13158
13159 * intl/Makefile (codeset_mo): New variable.
13160 ($(codeset_mo)): New target.
13161 (tst-codeset.out): Depend on that. Remove explicit rule.
13162 (tst-gettext3.out, tst-gettext5.out): Likewise.
13163 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13164 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13165 * intl/tst-codeset.sh: Remove.
13166 * intl/tst-gettext3.sh: Likewise.
13167 * intl/tst-gettext5.sh: Likewise.
13168
2ae1ae5c
RM
131692012-08-17 Roland McGrath <roland@hack.frob.com>
13170
c31fdb83
RM
13171 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13172 * sysdeps/unix/syscalls.list: ... here.
13173
a0844057
RM
13174 * sysdeps/posix/getaddrinfo.c
13175 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13176 (gaiconf_init, gaiconf_reload): Use them.
13177 [!_STATBUF_ST_NSEC]
13178 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13179 Define using time_t rather than struct timespec.
13180
750c1f2a
RM
13181 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13182 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13183 Macros removed.
13184 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13185 [!NO_THREADS].
13186 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13187 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13188 Likewise.
13189
2ae1ae5c
RM
13190 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13191 __libc_cleanup_push argument.
13192
e66a42f5
RM
13193 * bits/param.h: New file.
13194 * misc/sys/param.h: New file.
13195 * include/sys/param.h: New file.
13196 * misc/Makefile (headers): Add bits/param.h.
13197 * sysdeps/generic/sys/param.h: File removed.
13198 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13199 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13200 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13201 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13202
b7c08a66
RM
13203 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13204 last change.
13205
b2e1c562
RM
13206 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13207 [_IO_MTSAFE_IO].
13208 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13209 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13210 New macros.
13211
c75ccd4c
RM
13212 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13213 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13214 rather than -D_IO_MTSAFE_IO conditionally.
13215 * stdio-common/Makefile (CPPFLAGS): Likewise.
13216 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13217 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13218 Use $(libio-mtsafe).
13219 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13220 of -D_IO_MTSAFE_IO.
13221 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13222 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13223 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13224 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13225 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13226 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13227 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13228 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13229 (CFLAGS-fread_u_chk.c): Likewise.
13230 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13231 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13232 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13233 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13234 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13235 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13236 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13237 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13238 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13239
13240 * libio/Makefile: Test [$(libc-reentrant) = yes]
13241 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13242
13243 * Makeconfig
13244 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13245 * sysdeps/pthread/configure: File removed.
13246 * sysdeps/pthread/Makeconfig: New file.
13247 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13248 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13249
d9195db8
GB
132502012-08-16 Gary Benson <gbenson@redhat.com>
13251
13252 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13253 unmapping the first object in a namespace.
13254
86466cd9
RM
132552012-08-16 Roland McGrath <roland@hack.frob.com>
13256
13257 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13258 (__internal_setnetgrent): ... this. Add internal_function to
13259 definition. Add libc_hidden_def.
13260 (setnetgrent): Update caller.
13261 (internal_endnetgrent): Renamed to ...
13262 (__internal_endnetgrent): ... this. Add internal_function to
13263 definition. Add libc_hidden_def.
13264 (endnetgrent): Update caller.
13265 (internal_getnetgrent_r): Renamed to ...
13266 (__internal_getnetgrent_r): ... this. Add internal_function to
13267 definition. Add libc_hidden_def.
13268 (__getnetgrent_r): Update caller.
13269 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13270
c3c8283c
JM
132712012-08-16 Joseph Myers <joseph@codesourcery.com>
13272
13273 * stdlib/longlong.h: Update from GCC.
13274
db1ee0a8
RM
132752012-08-16 Roland McGrath <roland@hack.frob.com>
13276
13277 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13278 on _QL, which is set by umul_ppmm but never used.
13279 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13280 variables, which are set by GMP macros but never used.
13281 * stdio-common/_itowa.c (_itowa): Likewise.
13282 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13283 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13284
30f69637
CD
132852012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13286
13287 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13288 struct La_sh_regs is not constant.
13289 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13290 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13291 and struct La_sparc64_regs are not constant.
13292
93a78ac4
JM
132932012-08-16 Joseph Myers <joseph@codesourcery.com>
13294
13295 * sysdeps/unix/sysv/linux/kernel-features.h
13296 (__ASSUME_POSIX_TIMERS): Remove.
13297 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13298 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13299 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13300 Make code unconditional.
13301 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13302 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13303 Make code unconditional.
13304 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13305 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13306 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13307 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13308 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13309 Make code unconditional.
13310 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13311 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13312 (__libc_missing_posix_timers): Remove.
13313
dd924cd7
RM
133142012-08-15 Roland McGrath <roland@hack.frob.com>
13315
4b4f2771
RM
13316 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13317 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13318
601c888b
RM
13319 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13320
176790a7
RM
13321 * elf/dl-sym.c: Include <stdlib.h>.
13322
329bc018
RM
13323 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13324 constants, which avoids warnings in 32-bit builds.
13325
e04e272d
RM
13326 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13327 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13328
952bf94a
RM
13329 * misc/lseek.c: File moved to ...
13330 * io/lseek.c: ... here.
13331
7c99b50a
RM
13332 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13333
dd924cd7
RM
13334 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13335 shifting LEN more than 31 bits at once.
13336
b3f479a8
LD
133372012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13338
13339 [BZ #14195]
8c4ae0d4
RM
13340 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13341 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13342 * string/test-strncasecmp.c (check1): Renamed to...
13343 (bz12205): ...this.
13344 (bz14195): Add new testcase for two empty input strings and N > 0.
13345 (test_main): Call new testcase, adapt for renamed function.
13346
9c55864e
AJ
133472012-08-15 Andreas Jaeger <aj@suse.de>
13348
13349 [BZ #14090]
13350 * crypt/md5test2.c: New test, based on test supplied by Serge
13351 Belyshev <belyshev@depni.sinp.msu.ru>.
13352 * crypt/Makefile (xtests): Add md5test-giant..
13353 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13354
02dcb6c5
PE
133552012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13356
13357 [BZ #14090]
13358 * crypt/md5.c (md5_process_block): Don't assume the buffer
13359 length is less than 2**32.
13360 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13361 length is less than 2**64.
13362
a3f95dcc
RM
133632012-08-15 Roland McGrath <roland@hack.frob.com>
13364
be75d758
RM
13365 * string/str-two-way.h: Include <sys/param.h>.
13366 (MAX): Macro removed.
13367
7312ca90
RM
13368 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13369 Move #define and #undef of memmove to just before and after
13370 including <string.h>.
13371
9a0a5486
RM
13372 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13373 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13374 and after including <string.h>. Move declarations of
13375 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13376 to before #include "string/memmove.c".
13377
67cc348d
RM
13378 * include/dirent.h: Declare __getdirentries.
13379
a3f95dcc
RM
13380 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13381 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13382
ca98e171
MF
133832012-08-14 Mike Frysinger <vapier@gentoo.org>
13384
13385 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13386 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13387 * sysdeps/i386/configure: Regenerated.
13388 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13389 STABS_CURRENT_FILE, and STABS_FUN.
13390 (END): Remove call to STABS_FUN_END.
13391 (STABS_CURRENT_FILE1): Delete.
13392 (STABS_CURRENT_FILE): Likewise.
13393 (STABS_FUN): Likewise.
13394 (STABS_FUN_END): Likewise.
13395 (STABS_FUN2): Likewise.
13396 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13397 * sysdeps/x86_64/configure: Regenerated.
13398
5908bf46
RM
133992012-08-14 Roland McGrath <roland@hack.frob.com>
13400
13401 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13402 * elf/dl-lookup.c: Likewise.
5908bf46 13403
f2c05b9e
JM
134042012-08-14 Joseph Myers <joseph@codesourcery.com>
13405
13406 * sysdeps/unix/sysv/linux/kernel-features.h
13407 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13408 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13409 unconditionally.
13410 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13411 unconditionally.
13412 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13413 condition on __ASSUME_CLONE_THREAD_FLAGS.
13414
e11f5155
AJ
134152012-08-14 Andreas Jaeger <aj@suse.de>
13416
13417 * sysdeps/i386/fpu/libm-test-ulps: Update.
13418
51a9ba86
MK
134192012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13420
2fdd4f78
AJ
13421 * include/atomic.h (atomic_exchange_and_add): Split into ...
13422 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13423 New atomic macros.
51a9ba86 13424
ba6cba9e
MT
134252012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13426
13427 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13428
42443a47
JL
134292012-08-13 Jeff Law <law@redhat.com>
13430
13431 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13432 null byte in the output string.
13433
121dce05
JM
134342012-08-10 Joseph Myers <joseph@codesourcery.com>
13435
13436 * sysdeps/unix/sysv/linux/kernel-features.h
13437 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13438 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13439 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13440 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13441 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13442 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13443 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13444
bf51f568
JL
134452012-08-09 Jeff Law <law@redhat.com>
13446
13447 [BZ #13939]
13448 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13449 When avoid_arena is set, don't retry in the that arena. Pick the
13450 next one, whatever it might be.
13451 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13452 (arena_lock): Pass in new parameter to arena_get2.
13453 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13454 arena_get2.
13455 (__libc_malloc): Unify retrying after main arena failure with
13456 __libc_memalign version.
13457 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13458
f85fa270
L
134592012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13460
13461 [BZ #14166]
13462 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13463 to __redirect_strstr.
13464 (__strstr_sse42): Use typeof __redirect_strstr.
13465 (__strstr_ia32): Likewise.
13466 (__libc_strstr): New prototype.
13467 (strstr): Renamed to ...
13468 (__libc_strstr): This.
13469 (strstr): New strong alias of __libc_strstr.
13470 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13471 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13472 __redirect_time.
13473 Include <time.h>.
13474 (__libc_time): New prototype.
13475 (time_ifunc): Replace time with __libc_time.
13476 (time): New strong alias and hidden definition of __libc_time.
13477 (__GI_time): Remove strong alias.
13478 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13479 Include <stddef.h>.
13480 (memmove): Redefined to __redirect_memmove.
13481 (__memmove_sse2): Use typeof __redirect_memmove.
13482 (__memmove_ssse3): Likewise.
13483 (__memmove_ssse3_back): Likewise.
13484 (__libc_memmove): New prototype.
13485 (memmove): Renamed to ...
13486 (__libc_memmove): This.
13487 (memmove): New strong alias of __libc_memmove.
13488
33b4a91e
MS
134892012-08-08 Mark Salter <msalter@redhat.com>
13490
13491 * elf/elf.h
13492 (R_MN10300_TLS_GD): Define.
13493 (R_MN10300_TLS_LD): Likewise.
13494 (R_MN10300_TLS_LDO): Likewise.
13495 (R_MN10300_TLS_GOTIE): Likewise.
13496 (R_MN10300_TLS_IE): Likewise.
13497 (R_MN10300_TLS_LE): Likewise.
13498 (R_MN10300_TLS_DTPMOD): Likewise.
13499 (R_MN10300_TLS_DTPOFF): Likewise.
13500 (R_MN10300_TLS_TPOFF): Likewise.
13501 (R_MN10300_SYM_DIFF): Likewise.
13502 (R_MN10300_ALIGN): Likewise.
13503 (R_MN10300_NUM): Update.
13504
b36137f1
JM
135052012-08-08 Joseph Myers <joseph@codesourcery.com>
13506
13507 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13508 Remove.
13509
cdd915fd
RM
135102012-08-08 Roland McGrath <roland@hack.frob.com>
13511
a2433aac
RM
13512 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13513
cdd915fd
RM
13514 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13515 sysdeps/unix -> sysdeps/posix move.
13516 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13517
bf9b740a
AM
135182012-08-07 Allan McRae <allan@archlinux.org>
13519
13520 [BZ #14303]
13521 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13522 (SUNOS_CPP): Likewise.
13523 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13524 not found.
13525 (open_input): Call CPP using execvp.
13526
93df14ee
JM
135272012-08-07 Joseph Myers <joseph@codesourcery.com>
13528
13529 * sysdeps/unix/sysv/linux/kernel-features.h
13530 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13531 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13532 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13533 (__ASSUME_WAITID_SYSCALL): Likewise.
13534 * sysdeps/unix/sysv/linux/dl-execstack.c
13535 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13536 code unconditional.
13537 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13538 conditional code.
13539 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13540 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13541 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13542 code.
13543 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13544 unconditional.
13545 [__ASSUME_WAITID_SYSCALL]: Likewise.
13546 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13547
d34689de
RM
135482012-08-07 Roland McGrath <roland@hack.frob.com>
13549
a281decc
RM
13550 * sysdeps/unix/closedir.c: Renamed to ...
13551 * sysdeps/posix/closedir.c: ... here.
13552 * sysdeps/unix/dirfd.c: Renamed to ...
13553 * sysdeps/posix/dirfd.c: ... here.
13554 * sysdeps/unix/dirstream.h: Renamed to ...
13555 * sysdeps/posix/dirstream.h: ... here.
13556 * sysdeps/unix/fdopendir.c: Renamed to ...
13557 * sysdeps/posix/fdopendir.c: ... here.
13558 * sysdeps/unix/opendir.c: Renamed to ...
13559 * sysdeps/posix/opendir.c: ... here.
13560 * sysdeps/unix/readdir.c: Renamed to ...
13561 * sysdeps/posix/readdir.c: ... here.
13562 * sysdeps/unix/readdir_r.c: Renamed to ...
13563 * sysdeps/posix/readdir_r.c: ... here.
13564 * sysdeps/unix/rewinddir.c: Renamed to ...
13565 * sysdeps/posix/rewinddir.c: ... here.
13566 * sysdeps/unix/seekdir.c: Renamed to ...
13567 * sysdeps/posix/seekdir.c: ... here.
13568 * sysdeps/unix/telldir.c: Renamed to ...
13569 * sysdeps/posix/telldir.c: ... here.
13570 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13571 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13572 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13573 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13574
22895b47
RM
13575 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13576 * bits/fcntl.h: ... here.
13577
707a53b6
RM
13578 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13579 not 0.
13580 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13581 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13582 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13583 (struct flock): Move l_start, l_len to the beginning.
13584 Use __pid_t for l_pid.
13585 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13586 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13587 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13588 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13589 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13590 [__USE_LARGEFILE64] (struct flock64): New type.
13591 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13592
f0bd3e25
RM
13593 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13594 * bits/dirent.h: ... here.
13595
d34689de
RM
13596 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13597 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13598
6dad2c06
JM
135992012-08-07 Joseph Myers <joseph@codesourcery.com>
13600
13601 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13602 Change from 2.6.0 to 2.6.16.
13603 * sysdeps/unix/sysv/linux/configure: Regenerated.
13604 * sysdeps/unix/sysv/linux/kernel-features.h
13605 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13606 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13607 version.
13608 (__ASSUME_UTIMES): Likewise.
13609 (__ASSUME_CLONE_STOPPED): Remove.
13610 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13611 architectures, not kernel version.
13612 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13613 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13614 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13615 (__ASSUME_WAITID_SYSCALL): Likewise.
13616 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13617 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13618 * README: State 2.6.16 as minimum Linux kernel version. Do not
13619 refer to older versions.
13620
03af9520
RM
136212012-08-06 Roland McGrath <roland@hack.frob.com>
13622
8e49df1d
RM
13623 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13624 Define alphasort64 as an alias.
13625 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13626 Define versionsort64 as an alias.
13627 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13628 Define scandir64 as an alias.
13629 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13630 Define scandirat64 as an alias.
13631 * dirent/alphasort64.c (alphasort64):
13632 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13633 * dirent/versionsort64.c: Likewise.
13634 * dirent/scandir64.c: Likewise.
13635 * dirent/scandirat64.c: Likewise.
13636 * sysdeps/wordsize-64/alphasort.c: File removed.
13637 * sysdeps/wordsize-64/alphasort64.c: File removed.
13638 * sysdeps/wordsize-64/scandir.c: File removed.
13639 * sysdeps/wordsize-64/scandir64.c: File removed.
13640 * sysdeps/wordsize-64/scandirat.c: File removed.
13641 * sysdeps/wordsize-64/scandirat64.c: File removed.
13642 * sysdeps/wordsize-64/versionsort.c: File removed.
13643 * sysdeps/wordsize-64/versionsort64.c: File removed.
13644 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13645 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13646 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13647 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13648 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13649 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13650 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13651 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13652
13653 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13654 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13655 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13656 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13657 [defined __arch64__ || defined __sparcv9]
13658 (__INO_T_MATCHES_INO64_T): New macro.
13659 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13660 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13661 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13662 * sysdeps/unix/sysv/linux/bits/dirent.h
13663 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13664 (_DIRENT_MATCHES_DIRENT64): New macro.
13665
03af9520
RM
13666 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13667 Define lockf64 as an alias.
13668 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13669 Define fseeko64 as an alias.
13670 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13671 Define ftello64 as an alias.
13672 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13673 Define _IO_fgetpos64 and fgetpos64 as aliases.
13674 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13675 Define _IO_fsetpos64 and fsetpos64 as aliases.
13676 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13677 Conditionalize body on this.
13678 * libio/fseeko64.c: Likewise.
13679 * libio/ftello64.c: Likewise.
13680 * libio/iofgetpos64.c: Likewise.
13681 * libio/iofsetpos64.c: Likewise.
13682 * sysdeps/wordsize-64/lockf.c: File removed.
13683 * sysdeps/wordsize-64/lockf64.c: File removed.
13684 * sysdeps/wordsize-64/fseeko.c: File removed.
13685 * sysdeps/wordsize-64/fseeko64.c: File removed.
13686 * sysdeps/wordsize-64/ftello.c: File removed.
13687 * sysdeps/wordsize-64/ftello64.c: File removed.
13688 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13689 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13690 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13691 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13692 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13693 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13694 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13695 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13696 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13697 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13698 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13699 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13700 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13701 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13702
13703 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13704 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13705 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13706 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13707 [defined __arch64__ || defined __sparcv9]
13708 (__OFF_T_MATCHES_OFF64_T): New macro.
13709 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13710 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13711 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13712 (__OFF_T_MATCHES_OFF64_T): New macro.
13713
c5757acd
L
137142012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13715
13716 * stdlib/secure-getenv.c (__secure_getenv): Replace
13717 GLIBC_2_16 with GLIBC_2_17.
13718
3a31811e
L
137192012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13720
13721 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13722 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13723
faa2bccb
DM
137242012-08-03 David S. Miller <davem@davemloft.net>
13725
13726 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13727
85fe1997
JM
137282012-08-03 Joseph Myers <joseph@codesourcery.com>
13729
13730 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13731 Remove.
13732 (__ASSUME_CORRECT_SI_PID): Likewise.
13733 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13734 (__ASSUME_TMPFS_NAME): Likewise.
13735 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13736 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13737 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13738 (HAVE_AUX_SECURE): Make definition unconditional.
13739 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13740 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13741
4f75b7a0
RM
137422012-08-03 Roland McGrath <roland@hack.frob.com>
13743
13744 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13745 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13746 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13747 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13748 __eloop_threshold instead of SYMLOOP_MAX.
13749
13750 * sysdeps/generic/eloop-threshold.h: New file.
13751 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13752 of MAXSYMLINKS.
13753 * elf/chroot_canon.c (chroot_canon): Likewise.
13754
7aab07e4
JM
137552012-08-03 Joseph Myers <joseph@codesourcery.com>
13756
13757 [BZ #13717]
13758 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13759 Change to 2.6.0 everywhere.
13760 * sysdeps/unix/sysv/linux/configure: Regenerated.
13761 * sysdeps/unix/sysv/linux/kernel-features.h
13762 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13763 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13764 kernel versions.
13765 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13766 (__ASSUME_FUTEX_REQUEUE): Remove.
13767 (__ASSUME_STATFS64): Define unconditionally.
13768 (__ASSUME_AT_SECURE): Likewise.
13769 (__ASSUME_CORRECT_SI_PID): Likewise.
13770 (__ASSUME_TGKILL): Define without depending on kernel version for
13771 i386.
13772 (__ASSUME_UTIMES): Likewise.
13773 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13774 kernel version.
13775 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13776 (__ASSUME_TMPFS_NAME): Likewise.
13777 * README: Update reference to Linux kernel versions.
13778
b67e9372
MP
137792012-08-02 Marek Polacek <polacek@redhat.com>
13780
1f529f7d 13781 [BZ# 14150]
b67e9372
MP
13782 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13783 libc_cv_asm_type_prefix with %.
13784 * configure: Regenerated.
d2441631
RM
13785 * include/libc-symbols.h: Remove comment about
13786 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
13787 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13788 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13789 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13790 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13791 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13792 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13793 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13794 * elf/tst-unique2mod1.c: Likewise.
13795 * elf/tst-unique1mod2.c: Likewise.
13796 * elf/tst-unique1mod1.c: Likewise.
13797 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13798 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13799 Replace ASM_TYPE_DIRECTIVE with .type.
13800 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13801 * sysdeps/i386/sysdep.h: Likewise.
13802 * sysdeps/x86_64/sysdep.h: Likewise.
13803 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
13804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13805 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 13806 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
13807 * sysdeps/powerpc/powerpc32/sysdep.h:
13808 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
13809 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13810 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13811 * sysdeps/i386/fpu/e_powf.S: Likewise.
13812 * sysdeps/i386/fpu/e_expl.S: Likewise.
13813 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13814 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13815 * sysdeps/i386/fpu/e_pow.S: Likewise.
13816 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13817 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13818 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13819 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13820 * sysdeps/i386/fpu/e_log2.S: Likewise.
13821 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13822 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13823 * sysdeps/i386/fpu/e_powl.S: Likewise.
13824 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13825 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13826 * sysdeps/i386/fpu/e_logl.S: Likewise.
13827 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13828 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13829 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13830 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13831 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13832 * sysdeps/i386/fpu/e_log.S: Likewise.
13833 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13834 * sysdeps/i386/fpu/e_logf.S: Likewise.
13835 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13836 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13837 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13838 * sysdeps/i386/fpu/e_log10.S: Likewise.
13839 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13840 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13841 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13842 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13843 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13844 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13845 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13846 * sysdeps/i386/i686/strtok.S: Likewise.
13847 * sysdeps/i386/i386-mcount.S: Likewise.
13848 * sysdeps/i386/strtok.S: Likewise.
13849 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13850 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13851 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13852 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13853 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13854 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13855 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13856 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13857 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13858 * sysdeps/x86_64/_mcount.S: Likewise.
13859 * sysdeps/x86_64/strtok.S: Likewise.
13860 * sysdeps/sh/_mcount.S: Likewise.
13861
2747bf9a
RM
138622012-08-01 Roland McGrath <roland@hack.frob.com>
13863
13864 * libio/iofopen.c: Include <fcntl.h>.
13865 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13866 (_IO_fopen64, fopen64): Define as aliases.
13867 * libio/iofopen64.c: Include <fcntl.h>.
13868 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13869 Conditionalize body on this.
13870 * sysdeps/wordsize-64/iofopen.c: File removed.
13871 * sysdeps/wordsize-64/iofopen64.c: File removed.
13872
3fb791b8
MP
138732012-08-01 Marek Polacek <polacek@redhat.com>
13874
13875 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13876 Use dlfcn directly instead of a variable.
13877 (binfmt-subdir): Do not define.
13878 (dlfcn): Likewise.
13879
a9f1039f
JM
138802012-08-01 Joseph Myers <joseph@codesourcery.com>
13881
23bddc06
JM
13882 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13883 Remove all definitions.
13884 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13885 <kernel-features.h>.
13886 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13887 (miss_F_GETOWN_EX): Remove all definitions.
13888 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13889 macro definition.
13890 [!__ASSUME_FCNTL64]: Remove conditional code.
13891 [__ASSUME_FCNTL64]: Make code unconditional.
13892 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13893 <kernel-features.h>.
13894 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13895 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13896 (lockf64) [__NR_fcntl64]: Make code unconditional.
13897 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13898
a9f1039f
JM
13899 * sysdeps/unix/sysv/linux/kernel-features.h
13900 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13901 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13902 Make code unconditional.
13903 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13904 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13906 [__NR_vfork]: Make code unconditional.
13907 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13908 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13909 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13910 [__NR_vfork]: Make code unconditional.
13911 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13912 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13913
09c0ee5f
RM
139142012-08-01 Roland McGrath <roland@hack.frob.com>
13915
48aec5b9
RM
13916 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13917 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13918
cd97c966
RM
13919 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13920 Define mkstemp64 as an alias.
3f55550c
RM
13921 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13922 Define mkstemps64 as an alias.
cd97c966
RM
13923 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13924 Define mkostemp64 as an alias.
b8625cfc
RM
13925 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13926 Define mkostemps64 as an alias.
cd97c966
RM
13927 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13928 Conditionalize body on this.
13929 * misc/mkostemp64.c: Likewise.
b8625cfc 13930 * misc/mkostemps64.c: Likewise.
3f55550c 13931 * misc/mkstemps64.c: Likewise.
cd97c966
RM
13932 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13933 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13934 * sysdeps/wordsize-64/mkostemp.c: File removed.
13935 * sysdeps/wordsize-64/mkstemp.c: File removed.
13936 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13937 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13938 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13939 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13940
09c0ee5f
RM
13941 [BZ #14138]
13942 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13943 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13944 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13945 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13946
13947 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13948 compat_symbol macros from <shlib-compat.h> rather than the underlying
13949 default_symbol_version and symbol_version macros, so that DEFAULT
13950 lines in shlib-versions are respected.
13951 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13952
7e66ee51
FW
139532012-08-01 Florian Weimer <fweimer@redhat.com>
13954
13955 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13956 Declare with warn_unused_result.
13957 (setgid, setregid, setegid, setresgid): Likewise.
13958 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13959 Likewise.
13960 * WUR-REPORT: Remove set*id functions.
13961
d2a54255
PT
139622012-07-31 Pino Toscano <toscano.pino@tiscali.it>
13963
13964 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13965
7ecdb005
RM
139662012-07-31 Roland McGrath <roland@hack.frob.com>
13967
b4180a5e 13968 [BZ #10191]
789bd351
RM
13969 * include/sys/socket.h (__libc_accept, __libc_accept4):
13970 Add attribute_hidden.
13971 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13972
40ce302d
RM
13973 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13974 use of PTR_MANGLE.
13975 * inet/getnetgrent_r.c (setup): Likewise.
13976
7ecdb005
RM
13977 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13978
e2eabb2c
DM
139792012-07-31 David S. Miller <davem@davemloft.net>
13980
13981 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13982
d0419dbf
JM
139832012-07-31 Joseph Myers <joseph@codesourcery.com>
13984
13985 [BZ #13629]
13986 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13987 value between 1.0 and 2.0 and smaller part has absolute value less
13988 than 1.0.
13989 * math/s_clog10.c (__clog10): Likewise.
13990 * math/s_clog10f.c (__clog10f): Likewise.
13991 * math/s_clog10l.c (__clog10l): Likewise.
13992 * math/s_clogf.c (__clogf): Likewise.
13993 * math/s_clogl.c (__clogl): Likewise.
13994 * math/libm-test.inc (clog_test): Add more tests.
13995 (clog10_test): Likewise.
13996 * sysdeps/i386/fpu/libm-test-ulps: Update.
13997 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13998
2bc13872
FW
139992012-07-31 Florian Weimer <fweimer@redhat.com>
14000
14001 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14002 Exit with zero in case no suitable GID is found, and write a
14003 message to standard error.
14004
bea9b193
RM
140052012-07-30 Roland McGrath <roland@hack.frob.com>
14006
14007 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14008 rather than to 1.
14009 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14010 (MAXPATHLEN): Removed.
14011 (NOGROUP, NODEV): New macros.
14012 (setbit, clrbit, isset, isclr): New macros.
14013 (howmany, roundup, powerof2): New macros.
14014 (DEV_BSIZE): New macro.
14015
14016 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14017 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14018
14019 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14020 definition on [!__NO_LONG_DOUBLE_MATH].
14021
14022 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14023 PTR_MANGLE and PTR_DEMANGLE.
14024
14025 * socket/accept4.c (accept4): Rename to __libc_accept4.
14026 Define accept4 as a weak alias.
14027
14028 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14029 on [_DIRENT_HAVE_D_TYPE].
14030 * io/ftw.c (ftw_dir): Likewise.
14031
14032 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14033
14034 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14035
14036 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14037 Use the BSD numbers rather than the arbitrary ones we had.
14038 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14039 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14040 (SIGXCPU, SIGXFSZ): New macros.
14041 (_NSIG): Now 32.
14042
14043 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14044 initializer on [_LIBC_REENTRANT].
14045
14046 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14047 definitions inside [_POSIX_MAPPED_FILES].
14048
14049 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14050
14051 * dirent/opendir.c: Include <fcntl.h>.
14052
14053 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14054 (__libc_getspecific): Likewise.
14055 (__libc_key_create): Likewise.
14056
14057 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14058 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14059 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14060 (tmpfile64): Define as alias.
14061 * sysdeps/wordsize-64/tmpfile.c: File removed.
14062 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14063 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14064 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14065
14066 * stdio-common/vfscanf.c: Include <stdbool.h>.
14067 * nss/makedb.c: Likewise.
14068 * stdio-common/_i18n_number.h: Likewise.
14069 * argp/argp-help.c: Likewise.
14070 * posix/wordexp.c: Likewise.
14071 * sysdeps/posix/spawni.c: Likewise.
14072 * nss/nss_files/files-initgroups.c: Likewise.
14073 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14074 * nss/nss_files/files-initgroups.c: Likewise.
14075 * nss/nss_db/db-netgrp.c: Likewise.
14076 * nss/nss_db/db-initgroups.c: Likewise.
14077 * io/fchmodat.c: Include <sys/stat.h>.
14078
14079 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14080 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14081
14082 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14083 [HAVE_MMAP].
14084
14085 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14086 Add multiple inclusion protection.
14087
e5abc686
DM
140882012-07-27 David S. Miller <davem@davemloft.net>
14089
14090 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14091
815e6fa3
GB
140922012-07-27 Gary Benson <gbenson@redhat.com>
14093
14094 [BZ #14298]
14095 * elf/rtld.c: Include <stap-probe.h>.
14096 (dl_main): Added static probes "init_start" and "init_complete".
14097 * elf/dl-load.c: Include <stap-probe.h>.
14098 (lose): Take new parameter "nsid".
14099 Added static probe "map_failed".
14100 (_dl_map_object_from_fd): Pass namespace id to lose.
14101 Added static probe "map_start".
14102 (open_verify): Pass namespace id to lose.
14103 * elf/dl-open.c: Include <stap-probe.h>.
14104 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14105 and "reloc_complete".
14106 * elf/dl-close.c: Include <stap-probe.h>.
14107 (_dl_close_worker): Added static probes "unmap_start" and
14108 "unmap_complete".
14109 * elf/rtld-debugger-interface.txt: New file documenting the above.
14110
9f98c16c
RM
141112012-07-26 Roland McGrath <roland@hack.frob.com>
14112
14113 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14114 rather than a string variable.
14115 * sunrpc/rpc_main.c (h_output): Likewise.
14116 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14117
f3c22df3
PT
141182012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14119
14120 * inet/check_native.c: New file.
14121
3129cfc6
JM
141222012-07-26 Joseph Myers <joseph@codesourcery.com>
14123
da865e95
JM
14124 [BZ #13629]
14125 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14126 if larger part has absolute value 1.0.
14127 * math/s_clog10.c (__clog10): Likewise.
14128 * math/s_clog10f.c (__clog10f): Likewise.
14129 * math/s_clog10l.c (__clog10l): Likewise.
14130 * math/s_clogf.c (__clogf): Likewise.
14131 * math/s_clogl.c (__clogl): Likewise.
14132 * math/libm-test.inc (clog_test): Add more tests.
14133 (clog10_test): Likewise.
14134 * sysdeps/i386/fpu/libm-test-ulps: Update.
14135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14136
3129cfc6
JM
14137 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14138 (pltexit): Likewise.
14139 (La_regs): Likewise.
14140 (La_retval): Likewise.
14141 (int_retval): Likewise.
14142 Update #error for removed macros to refer only to definitions in
14143 tst-audit.h.
14144 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14145 macro.
14146 (pltexit): Likewise.
14147 (La_regs): Likewise.
14148 (La_retval): Likewise.
14149 (int_retval): Likewise.
14150 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14151 macro.
14152 (pltexit): Likewise.
14153 (La_regs): Likewise.
14154 (La_retval): Likewise.
14155 (int_retval): Likewise.
14156 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14157 macro.
14158 (pltexit): Likewise.
14159 (La_regs): Likewise.
14160 (La_retval): Likewise.
14161 (int_retval): Likewise.
14162 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14163 macro.
14164 (pltexit): Likewise.
14165 (La_regs): Likewise.
14166 (La_retval): Likewise.
14167 (int_retval): Likewise.
14168 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14169 macro.
14170 (pltexit): Likewise.
14171 (La_regs): Likewise.
14172 (La_retval): Likewise.
14173 (int_retval): Likewise.
14174 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14175 macro.
14176 (pltexit): Likewise.
14177 (La_regs): Likewise.
14178 (La_retval): Likewise.
14179 (int_retval): Likewise.
14180 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14181 macro definitions in tst-audit.h.
14182 * sysdeps/i386/tst-audit.h: New file.
14183 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14184 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14185 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14186 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14187 * sysdeps/sh/tst-audit.h: Likewise.
14188 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14189 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14190 * sysdeps/x86_64/tst-audit.h: Likewise.
14191
bfc07087
AJ
141922012-07-26 Andreas Jaeger <aj@suse.de>
14193
b1b2aaf8
AJ
14194 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14195 ptrace.
14196
14197 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14198 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14199 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14200 PTRACE_O_MASK.
14201 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14202 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14203 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14204
bfc07087
AJ
14205 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14206 value.
14207
14208 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14209 _sigsys.
14210 (si_call_addr, si_syscall, si_arch): Define new macro.
14211 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14212 _sigsys.
14213 (si_call_addr, si_syscall, si_arch): Define new marcro.
14214 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14215 _sigsys.
14216 (si_call_addr, si_syscall, si_arch): Define new macro.
14217 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14218 _sigsys.
14219 (si_call_addr, si_syscall, si_arch): Define new macro.
14220
89b4b02f
JM
142212012-07-25 Joseph Myers <joseph@codesourcery.com>
14222
14223 [BZ #13717]
14224 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14225 Change to 2.4.21 where previously 2.4.1.
14226 * sysdeps/unix/sysv/linux/configure: Regenerated.
14227 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14228 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14229 Linux kernel version.
14230 (__ASSUME_STD_AUXV): Remove.
14231 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14232 kernel version.
14233 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14234 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14235 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14236 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14237 (__ASSUME_NETLINK_SUPPORT): Likewise.
14238 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14239 (__no_netlink_support): Remove conditional definition.
14240 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14241 Remove.
14242 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14243 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14244 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14245 (if_nameindex_ioctl): Remove.
14246 (if_nameindex_netlink): Do not handle __no_netlink_support.
14247 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14248 code.
14249 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14250 Remove conditional code.
14251 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14252 code.
14253 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14254 unconditional.
14255 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14256 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14257 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14258 Remove.
14259 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14260 [!__ASSUME_STD_AUXV]: Remove conditional code.
14261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14262 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14263 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14265 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14266 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14267 code.
14268 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14270 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14271 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14272 conditional code.
14273 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14275 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14276 code.
14277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14278 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14279 conditional code.
14280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14281 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14282 code unconditional.
14283 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14284 conditional code.
14285 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14286 unconditional.
14287 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14288 conditional code.
14289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14290 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14291 unconditional.
14292 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14293 conditional code.
14294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14295 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14296 code unconditional.
14297 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14298 conditional code.
14299 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14300 unconditional.
14301 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14302 conditional code.
14303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14304 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14305 code unconditional.
14306 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14307 conditional code.
14308 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14309 unconditional.
14310 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14311 conditional code.
14312
842a39cd
AS
143132012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14314
14315 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14316 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14317 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14318 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14319 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14320 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14321 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14322 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14323 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14324 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14325 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14326 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14327 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14328 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14329 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14330 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14331 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14332 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14333 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14334 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14335 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14336 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14337 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14338
84b3fd84
FW
143392012-07-25 Florian Weimer <fweimer@redhat.com>
14340
14341 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14342 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14343 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14344 Introduce __libc_secure_getenv.
0c7936d5
FW
14345 * stdlib/Versions (2.17): Add secure_getenv
14346 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14347 * stdlib/secure-getenv.c: Rename __secure_getenv to
14348 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14349 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14350 * stdlib/tst-secure-getenv.c: New.
14351 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14352 * manual/startup.texi (Environment Access): Document
14353 secure_getenv.
84b3fd84
FW
14354 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14355 __libc_secure_getenv.
14356 * inet/ruserpass.c (ruserpass): Likewise.
14357 * malloc/mtrace.c (mtrace): Likewise.
14358 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14359 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14360 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14361 * sysdeps/posix/tempname.c: Likewise. Evaluate
14362 HAVE_SECURE_GETENV.
14363 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14364 __secure_getenv to __libc_secure_getenv.
84b3fd84 14365 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14367 Likewise.
14368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14369 Likewise.
14370 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14371 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14372 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14373 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14374 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14375 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14377
56e49b71
JM
143782012-07-25 Joseph Myers <joseph@codesourcery.com>
14379
14380 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14381 (struct La_i86_retval): Likewise.
14382 (struct La_x86_64_regs): Likewise.
14383 (struct La_x86_64_retval): Likewise.
14384 (struct La_x32_regs): Likewise.
14385 (struct La_x32_retval): Likewise.
14386 (struct La_ppc32_regs): Likewise.
14387 (struct La_ppc32_retval): Likewise.
14388 (struct La_ppc64_regs): Likewise.
14389 (struct La_ppc64_retval): Likewise.
14390 (struct La_sh_regs): Likewise.
14391 (struct La_sh_retval): Likewise.
14392 (struct La_s390_32_regs): Likewise.
14393 (struct La_s390_32_retval): Likewise.
14394 (struct La_s390_64_regs): Likewise.
14395 (struct La_s390_64_retval): Likewise.
14396 (struct La_sparc32_regs): Likewise.
14397 (struct La_sparc32_retval): Likewise.
14398 (struct La_sparc64_regs): Likewise.
14399 (struct La_sparc64_retval): Likewise.
14400 (struct audit_ifaces): Remove architecture-specific pltenter and
14401 pltexit members.
14402 * sysdeps/i386/ldsodefs.h: New file.
14403 * sysdeps/powerpc/ldsodefs.h: Likewise.
14404 * sysdeps/s390/ldsodefs.h: Likewise.
14405 * sysdeps/sh/ldsodefs.h: Likewise.
14406 * sysdeps/sparc/ldsodefs.h: Likewise.
14407 * sysdeps/x86_64/ldsodefs.h: Likewise.
14408
354691b7
MP
144092012-07-25 Marek Polacek <polacek@redhat.com>
14410
14411 [BZ #6808]
14412 * math/libm-test.inc (yn_test): Add another test.
14413 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14414 to ERANGE when the result is +-Inf.
14415 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14416 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14417 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14418 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14419
bf9e2071
JM
144202012-07-24 Joseph Myers <joseph@codesourcery.com>
14421
14422 * conform/data/time.h-data (NULL): Use macro-constant. Require
14423 equal to 0.
14424 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14425 clock_t.
14426 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14427
57633811
TS
144282012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14429
14430 * configure.in <sysdeps resolving>: Correct printing
14431 Implies_before.
14432 * configure: Regenerate.
14433
c23c33b0
TS
144342012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14435
14436 * math/w_ilogb.c: Include <limits.h>.
14437 * math/w_ilogbl.c: Likewise.
14438
b5982523
JM
144392012-07-20 Joseph Myers <joseph@codesourcery.com>
14440
14441 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14442 va_copy. Document allowing for unavailable va_copy only as
14443 pre-C99 compatibility.
14444 * manual/string.texi (Copying and Concatenation): Use va_copy
14445 instead of __va_copy in concat example.
14446
ac4ea442
PT
144472012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14448
14449 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14450 (__sendto): Use create_address_port. Initialize APORT and deallocate
14451 it if not null.
14452
f98eafbd
PT
14453 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14454 with O_NOLINK passed to __file_name_lookup.
14455
898c7aab
PT
14456 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14457 with O_NOLINK passed to __file_name_lookup.
14458
0ced335a
PT
14459 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14460 negative N or less than NGIDS.
14461
b3404dbd
PT
14462 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14463 type to string_t. Set ERANGE as errno and return it if NAME is not big
14464 enough. Use memcpy instead of strncpy.
14465
0f48659e
JM
144662012-07-20 Joseph Myers <joseph@codesourcery.com>
14467
14468 * elf/Makefile (check-data): Remove.
14469 (localplt.data): New vpath directive.
14470 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14471 instead of $(check-data).
14472 * scripts/data/localplt-generic.data: Move to ...
14473 * sysdeps/generic/localplt.data: ... here.
14474 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14475 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14476 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14478 ... here.
14479 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14481 ... here.
14482 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14484 ... here.
14485 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14486 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14487 ... here.
14488 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14490 ... here.
14491 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14493 ... here.
14494
d37cbdaa
AZ
144952012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14496
14497 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14498 PPC32 and PPC64 files.
14499 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14500 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14501
46f85fc2
AK
145022012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14503
14504 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14505 __makecontext_ret to ...
14506 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14507 ... here and call exit if uc_link is NULL. New file.
14508 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14509 __makecontext_ret.S.
14510 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14511 __makecontext_ret to ...
14512 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14513 ... here and call exit if uc_link is NULL. New file.
14514 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14515 __makecontext_ret.S.
14516
08f43f9b
AK
145172012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14518
14519 * elf/elf.h (R_390_IRELATIVE): New definition.
14520 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14521 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14522 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14523 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14524 (elf_machine_lazy_rel): Likewise.
14525 * sysdeps/s390/dl-irel.h: New file.
14526 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14527 * sysdeps/s390/s390-64/memset.S: New asm code.
14528 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14529 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14530 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14531 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14532 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14533 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14534 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14535 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14536 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14537 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14538 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14539 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14540 * sysdeps/s390/s390-32/memset.S: New asm code.
14541 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14542
3b05db33
MP
145432012-07-17 Marek Polacek <polacek@redhat.com>
14544
14545 [BZ #14349]
14546 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14547 * sysdeps/s390/s390-64/configure.in: Likewise.
14548 * sysdeps/sparc/configure.in: Likewise.
14549 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14550 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14551 * sysdeps/i386/configure.in: Likewise.
14552 * sysdeps/x86_64/configure.in: Likewise.
14553 * sysdeps/sh/configure.in: Likewise.
14554 * sysdeps/s390/s390-32/configure: Regenerated.
14555 * sysdeps/s390/s390-64/configure: Likewise.
14556 * sysdeps/x86_64/configure: Likewise.
14557 * sysdeps/sh/configure: Likewise.
14558 * sysdeps/powerpc/powerpc64/configure: Likewise.
14559 * sysdeps/powerpc/powerpc32/configure: Likewise.
14560 * sysdeps/sparc/configure: Likwise.
14561 * sysdeps/i386/configure: Likewise.
14562
a66877c6
MP
14563 * elf/dl-open.c: Comment fixes.
14564
cfc82fd8
JM
145652012-07-17 Joseph Myers <joseph@codesourcery.com>
14566
bd29910a
JM
14567 * Makefile [CXX] (check-data): Remove.
14568 [CXX] (c++-types.data): New vpath directive.
14569 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14570 vpath. Do not allow for C++ type data being missing.
14571 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14572 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14573 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14574 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14575 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14576 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14577 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14579 ... here.
14580 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14582 ... here.
14583 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14585 ... here.
14586 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14587 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14588 ... here.
14589 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14590 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14591 ... here.
14592 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14594 ... here.
14595 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14596 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14597 ... here.
14598 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14600
cfc82fd8
JM
14601 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14602 definitions to architecture-specific files.
14603 (TLS_IE): Likewise.
14604 (TLS_LD): Likewise.
14605 (TLS_GD): Likewise.
14606 * sysdeps/i386/tls-macros.h: New file.
14607 * sysdeps/powerpc/tls-macros.h: Likewise.
14608 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14609 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14610 * sysdeps/sh/tls-macros.h: Likewise.
14611 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14612 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14613 * sysdeps/x86_64/tls-macros.h: Likewise.
14614
f7db3170
TS
146152012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14616
07cbfc23
TS
14617 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14618 zero value for regular exit case.
14619
f7db3170
TS
14620 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14621 (__start_context): Preserve zero value for regular exit case.
14622
dc97c227
TS
146232012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14624 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14625
14626 * manual/setjmp.texi (setcontext): Clarify normal process
14627 termination when uc_link is the null pointer.
14628 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14629 exit call.
14630
d0cd7d02
AS
146312012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14632
14633 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14634 preprocessor. Test for each exception mask separately.
14635
dd318934
AJ
146362012-07-16 Andreas Jaeger <aj@suse.de>
14637
14638 * po/ru.po: Update from translation team.
14639
8048311a
JM
146402012-07-15 Joseph Myers <joseph@codesourcery.com>
14641
14642 * conform/data/string.h-data (NULL): Use macro-constant. Require
14643 equal to 0.
14644 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14645 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14646 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14647 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14648 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14649
b637d46e
AJ
146502012-07-13 Andreas Jaeger <aj@suse.de>
14651
14652 * po/fr.po: Update from translation team.
14653
541428fe
MP
146542012-07-12 Marek Polacek <polacek@redhat.com>
14655
14656 [BZ #14173]
14657 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14658 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14659 loop condition.
14660
ec332e94
JM
146612012-07-12 Joseph Myers <joseph@codesourcery.com>
14662
14663 [BZ #13717]
14664 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14665 Change to 2.4.1 where previously 2.4.0.
14666 * sysdeps/unix/sysv/linux/configure: Regenerated.
14667 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14668 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14669 version.
14670 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14671 (__ASSUME_AT_CLKTCK): Remove.
14672 (__ASSUME_AT_PAGESIZE): Likewise.
14673 (__ASSUME_AT_XID): Likewise.
14674 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14675 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14676 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14677 unconditionally.
14678 (HAVE_AUX_PAGESIZE): Likewise.
14679 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14680 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14681 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14682
7b6e99be
JB
146832012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14684
14685 [BZ #14307]
14686 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14687 the temporary buffer used to invoke __gethostbyname2_r,
14688 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14689 host_data / struct gaih_addrtuple.
14690 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14691 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14692 header file nss/nsswitch.h.
14693 * nss/nsswitch.h (global scope): Add definition of implementation
14694 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14695 resolv/nss_dns/dns-host.c).
14696
608404eb
AJ
146972012-07-11 Andreas Jaeger <aj@suse.de>
14698
14699 * po/fr.po: Update from translation team.
14700
71220aca
AJ
14701 * po/sv.po: Update from translation team
14702 * po/fr.po: Another update from translation team.
14703
28cfe843
AZ
147042012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14705
14706 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14707 for subnormals or multiply small sinh result by itself.
14708 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14710
6b90f981
DM
147112012-07-11 David S. Miller <davem@davemloft.net>
14712
14713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14714
c6825772
AS
147152012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14716
14717 [BZ #14347]
14718 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14719 (INTERNAL_MARK): Shift it here.
14720
7b8e0d49
MP
147212012-07-10 Marek Polacek <polacek@redhat.com>
14722
14723 [BZ #14151]
14724 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14725 libc_cv_asm_global_directive with .globl.
14726 * configure: Regenerated.
14727 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14728 with .globl.
14729 * sysdeps/i386/configure: Regenerated.
14730 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14731 with .globl.
14732 * sysdeps/x86_64/configure: Regenerated.
14733 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14734 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14735 * elf/tst-unique2mod2.c: Likewise.
14736 * elf/tst-unique2mod1.c: Likewise.
14737 * elf/tst-unique1mod2.c: Likewise.
14738 * elf/tst-unique1mod1.c: Likewise.
14739 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14740 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14741 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14742 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14743 * sysdeps/mach/sysdep.h: Likewise.
14744 * sysdeps/i386/sysdep.h: Likewise.
14745 * sysdeps/i386/i386-mcount.S: Likewise.
14746 * sysdeps/x86_64/_mcount.S: Likewise.
14747 * sysdeps/x86_64/sysdep.h: Likewise.
14748 * sysdeps/sh/_mcount.S: Likewise.
14749 * sysdeps/sh/sysdep.h: Likewise.
14750 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14751 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14752 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14753 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14754 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14755 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14756 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14757 * locale/localeinfo.h: Likewise.
14758 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14759 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14760
6c55cda3
RM
147612012-07-09 Roland McGrath <roland@hack.frob.com>
14762
14763 [BZ #14336]
14764 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14765 system".
14766 * manual/message.texi (The Uniforum approach): Likewise.
14767 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14768 (glibc iconv Implementation): Likewise.
14769
638a572e
JM
147702012-07-09 Joseph Myers <joseph@codesourcery.com>
14771
14772 [BZ #14337]
14773 * math/s_clog.c (__clog): Avoid scaling a value down where that
14774 could result in underflow.
14775 * math/s_clog10.c (__clog10): Likewise.
14776 * math/s_clog10f.c (__clog10f): Likewise.
14777 * math/s_clog10l.c (__clog10l): Likewise.
14778 * math/s_clogf.c (__clogf): Likewise.
14779 * math/s_clogl.c (__clogl): Likewise.
14780 * math/libm-test.inc (clog_test): Add more tests.
14781 (clog10_test): Likewise.
14782 * sysdeps/i386/fpu/libm-test-ulps: Update.
14783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14784
261f4859
AS
147852012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14786
0abaf3e4
AS
14787 [BZ #14283]
14788 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14789 by 7 not 8 to examine high bit of fractional part.
14790
261f4859
AS
14791 [BZ #14042]
14792 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14793 for call to __mcount_internal.
14794 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14795 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14796 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14797
f17ac40d
JM
147982012-07-06 Joseph Myers <joseph@codesourcery.com>
14799
9ad63c23
JM
14800 [BZ #14154]
14801 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14802 approximation for values within 0x1p-13f of an odd multiple of
14803 pi/4.
14804 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14805 exception. Add more tests.
14806 * sysdeps/i386/fpu/libm-test-ulps: Update.
14807
f17ac40d
JM
14808 [BZ #6778]
14809 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14810 inputs and return -1 for them. Do not check for +Inf in case not
14811 reachable for +Inf.
14812 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14813 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14814 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14815 and return -1 for them. Do not check for +Inf in case not
14816 reachable for +Inf.
14817 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14818 define.
14819 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14820 and return -1 for them. Do not check for +Inf in case not
14821 reachable for +Inf.
14822 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14823 spurious underflow.
14824 * sysdeps/i386/fpu/libm-test-ulps: Update.
14825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14826
fb21f89b
MF
148272012-07-06 Mike Frysinger <vapier@gentoo.org>
14828
14829 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14830
cdfe2c5e
JM
148312012-07-05 Joseph Myers <joseph@codesourcery.com>
14832
14833 [BZ #14157]
14834 [BZ #14331]
14835 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14836 could result in spurious underflow. Scale down values above
14837 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14838 * math/s_csqrtf.c (__csqrtf): Likewise.
14839 * math/s_csqrtl.c (__csqrtl): Likewise.
14840 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14841 spurious underflow.
14842 * sysdeps/i386/fpu/libm-test-ulps: Update.
14843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14844
70d35b67
AS
148452012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14846
704bc459
AS
14847 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14848 xopen-msg.sed.
14849 * catgets/xopen-msg.awk: New file.
14850 * catgets/xopen-msg.sed: Removed.
14851
70d35b67
AS
14852 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14853 po2text.sed.
14854 * intl/po2test.awk: New file.
14855 * intl/po2test.sed: Removed.
14856
ca61cf32
JM
148572012-07-04 Joseph Myers <joseph@codesourcery.com>
14858
14859 [BZ #14328]
14860 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14861 or multiply small sinh result by itself.
14862 * math/s_ctanf.c (__ctanf): Likewise.
14863 * math/s_ctanh.c (__ctanh): Likewise.
14864 * math/s_ctanhf.c (__ctanhf): Likewise.
14865 * math/s_ctanhl.c (__ctanhl): Likewise.
14866 * math/s_ctanl.c (__ctanl): Likewise.
14867 * math/libm-test.inc (ctan_test_tonearest): New function.
14868 (ctan_test_towardzero): Likewise.
14869 (ctan_test_downward): Likewise.
14870 (ctan_test_upward): Likewise.
14871 (ctanh_test_tonearest): Likewise.
14872 (ctanh_test_towardzero): Likewise.
14873 (ctanh_test_downward): Likewise.
14874 (ctanh_test_upward): Likewise.
14875 (main): Call these new functions.
14876 * sysdeps/i386/fpu/libm-test-ulps: Update.
14877 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14878
ca48a46a
MF
148792012-07-03 Mike Frysinger <vapier@gentoo.org>
14880
14881 * .gitignore: Delete /ports entry.
14882
9d63d37d
AJ
148832012-07-03 Andreas Jaeger <aj@suse.de>
14884
14885 * po/bg.po: Update from translation team.
14886 * po/cs.po: Likewise.
14887 * po/de.po: Likewise.
14888 * po/hr.po: Likewise.
14889 * po/nl.pl: Likewise.
14890 * po/pl.po: Likewise.
14891 * po/vi.po: Likewise.
14892
370ca3d2
JM
148932012-07-03 Joseph Myers <joseph@codesourcery.com>
14894
95f5a9a8
JM
14895 * Makeconfig [!+link] (+link-before-libc): New variable.
14896 [!+link] (+link-after-libc): Likewise.
14897 [!+link] (+link-tests): Likewise.
14898 [!+link] (+link): Define in terms of $(+link-before-libc) and
14899 $(+link-after-libc).
14900 [!+link-static] (+link-static-before-libc): New variable.
14901 [!+link-static] (+link-static-after-libc): Likewise.
14902 [!+link-static] (+link-static-tests): Likewise.
14903 [!+link-static] (+link-static): Define in terms of
14904 $(+link-static-before-libc) and $(+link-static-after-libc).
14905 [build-shared] (link-libc-before-gnulib): New variable.
14906 [build-shared] (link-libc-tests): Likewise.
14907 [build-shared] (link-libc): Define in terms of
14908 $(link-libc-before-gnulib).
14909 [!build-shared] (link-libc-tests): New variable.
14910 (link-libc-static-tests): New variable.
14911 [!gnulib] (gnulib-arch): New variable.
14912 [!gnulib] (gnulib-tests): Likewise.
14913 [!gnulib] (static-gnulib-arch): Likewise.
14914 [!gnulib] (static-gnulib-tests): Likewise.
14915 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14916 Define with "=" instead of ":=".
14917 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14918 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14919 * Rules (binaries-all-notests): New variable.
14920 (binaries-all-tests): Likewise.
14921 (binaries-static-notests): Likewise.
14922 (binaries-static-tests): Likewise.
14923 (binaries-all): Define using $(binaries-all-notests) and
14924 $(binaries-all-tests).
14925 (binaries-static): Define using $(binaries-static-notests) and
14926 $(binaries-static-tests).
14927 (binaries-shared-tests): New variable.
14928 (binaries-shared-notests): Likewise.
14929 (binaries-shared): Remove variable.
14930 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14931 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14932 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14933 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14934 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14935 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14936 * elf/Makefile (sln-modules): New variable.
14937 (extra-objs): Add $(sln-modules:=.o).
14938 (ldconfig-modules): Add static-stubs.
14939 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14940 * elf/static-stubs.c: New file.
14941
7a845b2c
JM
14942 [BZ #14283]
14943 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14944 by 7 not 8 to examine high bit of fractional part. Use volatile
14945 variables when splitting into final array of floats if
14946 __FLT_EVAL_METHOD__ != 0.
14947 * math/libm-test.inc (cos_test): Add another test.
14948 (sin_test): Likewise.
14949 * sysdeps/i386/fpu/libm-test-ulps: Update.
14950
e2283f38
JM
14951 [BZ #14273]
14952 * math/libm-test.inc (cosh_test): Add more tests.
14953
370ca3d2
JM
14954 * version.h (RELEASE): Set to "development".
14955 (VERSION): Set to "2.16.90".
14956
ee9247c3
CD
149572012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
14958
14959 * NEWS: Update copyright. Remove last-updated date.
14960 Mention math library bug fixes and timezone data changes.
14961 * README: Mention GNU/Hurd, x32, and HPPA support status.
14962
4648c381
TS
149632012-06-28 Thomas Schwinge <thomas@codesourcery.com>
14964
14965 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14966
aac78a43
AJ
149672012-06-27 Andreas Jaeger <aj@suse.de>
14968
14969 * manual/contrib.texi (Contributors): Add Samuel Thibault.
14970
ed3dbfad
AJ
149712012-06-25 Andreas Jaeger <aj@suse.de>
14972
14973 * sysdeps/s390/fpu/libm-test-ulps: Update.
14974
4d0ee855
AS
149752012-06-23 Andreas Schwab <schwab@linux-m68k.org>
14976 Thomas Schwinge <thomas@codesourcery.com>
14977
14978 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14979 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14980 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14981 fanotify_mark.
14982
af1bce34
TS
149832012-06-23 Thomas Schwinge <thomas@codesourcery.com>
14984
a9fa33ba
TS
14985 * sysdeps/mach/start.c: Remove file.
14986 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14987 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14988 * sysdeps/sh/init-first.c: Likewise.
14989
58f902b8
TS
14990 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14991 registers for frame unwinding purposes, add CFI directives.
14992 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14993 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14994 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14995 Likewise.
14996
1518f58b
TS
14997 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14998 __fortify_fail returning.
14999 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15000
db9b5059
TS
15001 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15002 sysdeps/sh/____longjmp_chk.S.
15003 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15004 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15005 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15006 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15007
967705fe
TS
15008 * sysdeps/sh/abort-instr.h: New file.
15009 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15010 process in case exit returns.
15011
a9def8c4
TS
15012 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15013 initialize the GOT register before use.
15014
2a649725
TS
15015 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15016 calculation of ARGC > 4.
15017
af1bce34
TS
15018 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15019 meaningful names to some local labels.
15020
d230f50a
KK
150212012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15022 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15023
15024 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15025 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15026 (__arch_compare_and_exchange_val_16_acq): Likewise.
15027 (__arch_compare_and_exchange_val_32_acq): Likewise.
15028 (atomic_exchange_and_add): Fix gUSA sequence.
15029 (atomic_add): Likewise.
15030 (atomic_add_negative): Likewise.
15031 (atomic_add_zero): Likewise.
15032 (atomic_bit_test_set): Likewise.
15033
0479b305
AS
150342012-06-22 Andreas Schwab <schwab@redhat.com>
15035
15036 [BZ #13579]
15037 * include/link.h (struct link_map): Add l_free_initfini.
15038 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15039 l_initfini.
15040 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15041 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15042 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15043 set.
15044
0e3933b9
CD
150452012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15046
15047 * configure.in: Use AC_LANG_SOURCE.
15048 * configure: Regenerate.
15049
4248b1b1
RM
150502012-06-22 Roland McGrath <roland@hack.frob.com>
15051
15052 * configure.in (libc_cv_localstatedir): New substituted variable.
15053 * configure: Regenerated.
15054 * config.make.in (localstatedir): New variable, substituted from
15055 libc_cv_localstatedir.
15056 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15057 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15058 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15059 * sysdeps/gnu/configure: Regenerated.
15060
006dd861
JL
150612012-06-21 Jeff Law <law@redhat.com>
15062
15063 [BZ #14277]
15064 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15065 free. Simplify list management for _LIBC case.
15066
79662d42
JM
150672012-06-21 Joseph Myers <joseph@codesourcery.com>
15068
b7abb4bf
JM
15069 [BZ #14273]
15070 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15071 Clear sign bit of 64-bit integer value before comparing against
15072 overflow value.
15073
79662d42
JM
15074 * sysdeps/mach/configure: Regenerated.
15075
1f150908
L
150762012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15077
15078 [BZ #14278]
15079 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15080
28363bbf
JL
150812012-06-21 Jeff Law <law@redhat.com>
15082
15083 [BZ #13882]
15084 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15085 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15086 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15087 * elf/dl-open.c (dl_open_worker): Likewise.
15088
09615db4
CD
150892012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15090
15091 * scripts/list-sources.sh: Scan PORTS for translations.
15092 * po/libc.pot: Regenerated.
15093
2174c6dd
AJ
150942012-06-21 Andreas Jaeger <aj@suse.de>
15095
15096 [BZ #12194]
15097 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15098 warning.
15099 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15100 * bits/byteswap-16.h (__bswap_16): Likewise.
15101 * bits/byteswap.h (__bswap_constant_16): Likewise.
15102
3ee947b1
L
151032012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15104
15105 [BZ #14117]
a2f34833
L
15106 * sysdeps/i386/fpu_control.h: Removed.
15107 * sysdeps/x86_64/fpu_control.h: Moved to ...
15108 * sysdeps/x86/fpu_control.h: Here.
15109
3ee947b1
L
15110 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15111 (_FPU_SETCW): Likewise.
15112
ed1825f8
L
151132012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15114
25f1282a
L
15115 [BZ #14117]
15116 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15117 * sysdeps/x86/fpu/bits/mathinline.h: This.
15118 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15119
ed1825f8
L
15120 [BZ #14050]
15121 [BZ #14117]
15122 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15123 functions if __x86_64__ is defined.
15124
36d54b74
CLT
151252012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15126
15127 * string/endian.h: Add !__ASSEMBLER__ condition for including
15128 conversion interfaces.
15129
10285c21
JM
151302012-06-15 Joseph Myers <joseph@codesourcery.com>
15131
15132 [BZ #14241]
15133 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15134 of ABS(x) in calculating zero to negative powers other than odd
15135 integers.
15136 * math/libm-test.inc (pow_test): Add more tests.
15137
06c5abbd
AJ
151382012-06-15 Andreas Jaeger <aj@suse.de>
15139
15140 * manual/contrib.texi (Contributors): Update entry of Liubov
15141 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15142 Machado Filho.
15143
a3aeac40
CH
151442012-06-15 Cyril Hrubis <metan@ucw.cz>
15145
15146 * string/string.h: Add __wur to GNU version of strerror_r.
15147
49bdf4c1
L
151482012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15149
15150 [BZ #14229]
15151 * string/Makefile (tests): Add tst-strtok_r.
15152 * string/tst-strtok_r.c: New file.
15153 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15154 RAX_LP/RDX_LP on SAVE_PTR.
15155
834f9b8d
RM
151562012-06-14 Roland McGrath <roland@hack.frob.com>
15157
15158 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15159
75fa1921
JM
151602012-06-14 Joseph Myers <joseph@codesourcery.com>
15161
15162 * libm_test.inc (csqrt_test): Allow more spurious underflow
15163 exceptions.
15164 (j0_test): Likewise.
15165 (j1_test): Likewise.
15166 (y0_test): Likewise.
15167 (y1_test): Likewise.
15168
771766df
CD
151692012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15170
15171 * po/Makefile (libc.pot): Use UTF-8 charset.
15172
ceb9e56b
PP
151732012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15174
15175 [BZ #14210]
15176 Suppress sign-conversion warning from FD_SET.
15177 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15178 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15179 not unsigned long int.
15180 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15181
ddb28975
L
151822012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15183
15184 [BZ #14050]
15185 [BZ #14117]
15186 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15187 __extern_always_inline instead of __extern_inline.
15188 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15189 (__signbit): Likewise.
15190 (__signbitl): Support C++ namespace.
15191 (lrintf): New inline function.
15192 (lrint): Likewise.
15193 (llrintf): Likewise.
15194 (llrint): Likewise.
15195 (fmaxf): Likewise.
15196 (fmax): Likewise.
15197 (fminf): Likewise.
15198 (fmin): Likewise.
15199 (rint): Likewise.
15200 (rintf): Likewise.
15201 (ceil): Likewise.
15202 (ceilf): Likewise.
15203 (floor): Likewise.
15204 (floorf): Likewise.
15205 (nearbyint): Likewise.
15206 (nearbyintf): Likewise.
15207
d7b4fb26
TS
152082012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15209
15210 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15211 non-default versions.
15212
eb55f5c2
RM
152132012-06-11 Roland McGrath <roland@hack.frob.com>
15214
15215 [BZ #14218]
15216 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15217
366af02c
TS
152182012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15219
99ff6e5c
TS
15220 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15221 (FE_UPWARD, FE_DOWNWARD): Don't define.
15222 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15223 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15224
366af02c
TS
15225 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15226 reading it.
15227 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15228 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15229
793ea851
KK
152302012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15231
15232 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15233 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15234 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15235 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15236
a728a38f
L
152372012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15238
15239 [BZ #14117]
c08010c7
L
15240 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15241 * sysdeps/i386/fpu/Implies: New file.
15242 * sysdeps/x86_64/fpu/Implies: Likewise.
15243 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15244 * sysdeps/x86/fpu/bits/fenv.h: This.
15245
a728a38f
L
15246 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15247 __SSE_MATH__.
15248
6e230d11
SP
152492012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15250
15251 [BZ #14134]
15252 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15253 character 0xffff that matches the last element of the
15254 conversion table.
15255
1b671feb
AZ
152562012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15257
15258 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15259 fmodl commit.
15260
6043738b
AZ
152612012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15262
15263 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15264 values higher than 25.6283.
15265
34ae0b32
AZ
152662012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15267
15268 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15269 subnormal exponent extraction and add some __builtin_expect.
15270 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15271 Fix for subnormal mantissa calculation.
15272
1214ec8f
MF
152732012-06-04 Mike Frysinger <vapier@gentoo.org>
15274
15275 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15276 cpu2 is -1 and errno is not ENOSYS.
15277
f3d1f93c
L
152782012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15279
15280 [BZ #14117]
0e4a3cd7
L
15281 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15282 * sysdeps/x86/bits/string.h: This.
15283 * sysdeps/x86_64/bits/string.h: Removed.
15284
6704c645
L
15285 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15286 if not compiling for x86-64, but compiling for >= i486.
15287
48495318
L
15288 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15289 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15290
14adcbfc
L
15291 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15292 New macro from Linux kernel 3.4.0.
15293 (FP_XSTATE_MAGIC2): Likewise.
15294 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15295 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15296 (struct _fpx_sw_bytes): New struct.
15297 (struct _xsave_hdr): Likewise.
15298 (struct _ymmh_state): Likewise.
15299 (struct _xstate): Likewise.
15300
68e408ab
L
15301 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15302 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15303 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15304 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15305 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15306 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15307
f3d1f93c
L
15308 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15309 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15310 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15311 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15312 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15313 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15314
d9dc34cd
TMQMF
153152012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15316
15317 [BZ #13743]
15318 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15319 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15320 (sysdep_headers): Include sys/platform/ppc.h.
15321 * sysdeps/powerpc/test-gettimebase.c: Test for
15322 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15323 * manual/Makefile (appendices): Include platform.texi.
15324 * manual/contrib.texi (Contributors): Update @node pointers.
15325 * manual/maint.texi (Maintenance): Likewise.
15326 (Platform): New node.
15327 * manual/platform.texi: New file. Document the new features.
15328
4af3879c
SP
153292012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15330 Jakub Jelinek <jakub@redhat.com>
15331
15332 [BZ #14188]
15333 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15334 where __builtin_expect is unavailable.
15335
2fd6ff13
DM
153362012-06-03 David S. Miller <davem@davemloft.net>
15337
15338 * stdlib/longlong.h: Updated from GCC.
15339
173f7220
AS
153402012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15341
15342 [BZ #14042]
15343 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15344 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15345 __mcount_internal.
15346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15347 (GLIBC_2.16): Likewise.
15348
f34a1c6f
L
153492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15350
15351 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15352
88a4576f
JM
153532012-06-01 Joseph Myers <joseph@codesourcery.com>
15354
ea32bcdd
JM
15355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15356 (default-abi): New variable.
15357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15358 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15359 variable.
15360 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15361 Likewise.
15362 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15363 Likewise.
15364 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15365 Likewise.
15366
88a4576f
JM
15367 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15368 definition. Document in comment.
15369
402fe938
DM
153702012-06-01 David S. Miller <davem@davemloft.net>
15371
15372 * stdlib/longlong.h: Updated from GCC.
15373
3553723f
L
153742012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15375
15376 [BZ #14117]
3bd872c4
L
15377 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15378 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15379 sys/debugreg.h sys/io.h here.
15380 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15381 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15382 sys/io.h.
15383 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15384 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15385 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15386 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15387 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15388 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15389
3553723f
L
15390 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15391 Define only if __x86_64__ is defined.
15392
4842e4fe
JM
153932012-06-01 Joseph Myers <joseph@codesourcery.com>
15394
c5bfe3d5
JM
15395 [BZ #14048]
15396 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15397 Use int64_t for variable i.
15398 * math/libm-test.inc (fmod_test): Add more tests.
15399
4842e4fe
JM
15400 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15401 z computation is not scheduled after fetestexcept.
15402 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15403 Use math_force_eval instead of asm to ensure calculation scheduled
15404 before exception test.
15405 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15406 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15407
efb73488
AJ
154082012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15409
15410 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15411 computation is not scheduled after fetestexcept.
15412
29bcce7c
L
154132012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15414
15415 [BZ #14117]
15416 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15417 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15418
73a68f94
AZ
154192012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15420
15421 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15422 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15423
67b6df78
L
154242012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15425
edf2933a 15426 [BZ #14117]
ebc64a18
L
15427 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15428 <bits/wordsize.h>.
15429 (__WCHAR_MIN): Support __WORDSIZE == 64.
15430 (__WCHAR_MAX): Likewise.
15431
edf2933a
L
15432 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15433 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15434
57c6cf40
L
15435 [BZ #14183]
15436 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15437 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15438
67b6df78 15439 [BZ #14117]
8eb6281e
L
15440 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15441 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15442
aac639f4
L
15443 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15444 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15445
67b6df78
L
15446 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15447 Defined to 1 if __x86_64__ isn't defined.
15448 (_STAT_VER_LINUX_OLD): New.
15449 (st_atime): Remove duplicate.
15450 (st_mtime): Likewise.
15451 (st_ctime): Likewise.
15452
1c2cfe81
DM
154532012-05-31 David S. Miller <davem@davemloft.net>
15454
15455 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15456 entries.
15457
5be8418c
AS
154582012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15459
e7725326
AS
15460 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15461 gen-libm-test.pl.
15462
5be8418c
AS
15463 [BZ #14132]
15464 * elf/dl-reloc.c: Include <_itoa.h>.
15465 (_dl_reloc_bad_type): Remove use of INTUSE.
15466 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15467 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15468 * stdio-common/psiginfo.c (psiginfo): Likewise.
15469 * stdio-common/psignal.c (psignal): Likewise.
15470 * string/strsignal.c (strsignal): Likewise.
15471 * include/signal.h (_sys_siglist): Declare hidden proto.
15472 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15473 INTVARDEF with libc_hidden_data_def.
15474 * stdio-common/itoa-udigits.c: Likewise.
15475 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15476 (_itoa_lower_digits_internal): Remove declaration.
15477 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15478 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15479 (_sys_sigabbrev_internal): Remove aliases.
15480 (_sys_siglist): Define hidden alias.
15481
507352f1
MT
154822012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15483
15484 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15485 bits/sysctl.h.
15486
42bbb1c3
L
154872012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15488
15489 [BZ #14117]
6bd784b6
L
15490 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15491 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15492
8bca20f0
L
15493 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15494 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15495 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15496 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15497 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15498 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15499
f9e890a9
L
15500 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15501 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15502 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15503
471101a1
L
15504 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15505 with __addr.
15506 (insw): Likewise.
15507 (insl): Likewise.
15508 (outsb): Likewise.
15509 (outsw): Likewise.
15510 (outsl): Likewise.
15511
6451c862
L
15512 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15513 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15514 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15515
a254b8c9
L
15516 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15517 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15518 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15519 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15520 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15521 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15522
b8dfdd92
L
15523 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15524 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15525
578cd270
L
15526 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15527 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15528
de662f5f
L
15529 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15530 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15531 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15532
25653439
L
15533 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15534 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15535 to ...
15536 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15537
6bad24a0
L
15538 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15539 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15540 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15541
42bbb1c3
L
15542 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15543 for x86-64.
15544 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15545
2d10d547
JM
155462012-05-31 Joseph Myers <joseph@codesourcery.com>
15547
15548 * math/math.h (M_El): Use two more decimal places.
15549 (M_LOG2El): Likewise.
15550 (M_LOG10El): Likewise.
15551 (M_LN2l): Likewise.
15552 (M_LN10l): Likewise.
15553 (M_PIl): Likewise.
15554 (M_PI_2l): Likewise.
15555 (M_PI_4l): Likewise.
15556 (M_1_PIl): Likewise.
15557 (M_2_PIl): Likewise.
15558 (M_2_SQRTPIl): Likewise.
15559 (M_SQRT2l): Likewise.
15560 (M_SQRT1_2l): Likewise.
15561
f230c29b
DM
155622012-05-31 David S. Miller <davem@davemloft.net>
15563
15564 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15565 values between float registers.
15566 * sysdeps/sparc/sparc64/memset.S: Likewise.
15567 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15568
fed806c3
MF
155692012-05-31 Mike Frysinger <vapier@gentoo.org>
15570
15571 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15572 -D_FORTIFY_SOURCE=1.
15573 (CPPFLAGS-tst-longjmp_chk.c): Define.
15574 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15575 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15576 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15577 CFLAGS-tst-wchar-h.c.
15578
30917259
MP
155792012-05-31 Marek Polacek <polacek@redhat.com>
15580
15581 [BZ #14132]
15582 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15583 __endmntent_internal): Remove declaration.
15584 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15585 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15586 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15587
1c58d5dc
DM
155882012-05-30 David S. Miller <davem@davemloft.net>
15589
15590 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15591 (___Q_simulate_exceptions): Use real FP ops rather than writing
15592 into the %fsr.
15593 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15594 Likewise.
15595
7dc00e0d
L
155962012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15597
15598 [BZ #14117]
0bd53985
L
15599 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15600 * sysdeps/x86/bits/xtitypes.h: This.
15601
3a257e66
L
15602 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15603 * sysdeps/x86/bits/wordsize.h: This.
15604
62f62904
L
15605 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15606 * sysdeps/x86/bits/huge_vall.h: This.
15607
404fe9d9
L
15608 * sysdeps/i386/bits/select.h: Removed.
15609 * sysdeps/x86_64/bits/select.h: Renamed to ...
15610 * sysdeps/x86/bits/select.h: This.
15611
d48d0446
L
15612 * sysdeps/i386/bits/setjmp.h: Removed.
15613 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15614 * sysdeps/x86/bits/setjmp.h: This.
15615
7dc00e0d
L
15616 * sysdeps/i386/bits/mathdef.h: Removed.
15617 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15618 * sysdeps/x86/bits/mathdef.h: This.
15619
03277f8f
AS
156202012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15621
15622 [BZ #14132]
15623 * include/sys/socket.h (__connect_internal)
15624 (__libc_sa_len_internal): Remove declaration.
15625 (__connect, __libc_sa_len): Declare hidden_proto.
15626 (SA_LEN): Remove use of INTUSE.
15627 * socket/connect.c: Add libc_hidden_def.
15628 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15629 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15630 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15631 alias.
15632 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15633 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15634 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15635 of adding _internal alias.
15636
13764867
L
156372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15638
15639 [BZ #14117]
6bd97696
L
15640 * sysdeps/i386/bits/link.h: Removed.
15641 * sysdeps/i386/bits/linkmap.h: Likewise.
15642 * sysdeps/x86_64/bits/link.h: Renamed to ...
15643 * sysdeps/x86/bits/link.h: This.
15644 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15645 * sysdeps/x86/bits/linkmap.h: This.
15646
f726f0bb
L
15647 * sysdeps/i386/bits/endian.h: Removed.
15648 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15649 * sysdeps/x86/bits/endian.h: This.
15650
13764867
L
15651 * sysdeps/i386/bits/byteswap.h: Removed.
15652 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15653 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15654 * sysdeps/x86/bits/byteswap.h: This.
15655 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15656 * sysdeps/x86/bits/byteswap-16.h: This.
15657 * sysdeps/i386/Implies: Add x86.
15658 * sysdeps/x86_64/Implies: Likewise.
15659
ae251b0b
DM
156602012-05-30 David S. Miller <davem@davemloft.net>
15661
15662 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15663 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15664 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15665 (FP_TRAPPING_EXCEPTIONS): Define.
15666 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15667 (FP_TRAPPING_EXCEPTIONS): Define.
15668 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15669 subnormals only when inexact has been signalled or underflow
15670 exceptions are enabled.
15671 (_FP_PACK_CANONICAL): Likewise.
15672
d5c90867
L
156732012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15674
15675 [BZ #14183]
15676 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15677 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15678
63f1549e
RH
156792012-05-30 Richard Henderson <rth@twiddle.net>
15680
8d8f2279
RH
15681 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15682 with #ifndef NOT_IN_libc.
15683
63f1549e
RH
15684 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15685 marked to avoid plt entry.
15686
0ab0291b
L
156872012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15688
15689 [BZ #14112]
15690 * Makeconfig (default-abi): New macro.
15691 (abi-includes): Likewise.
15692 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15693 $(abi-$(default-abi)-lib-soname) for soname if defined.
15694 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15695 abi-variants.
15696 * Makefile (installed-stubs): Likewise.
15697 * include/stubs-biarch.h: Removed.
15698 * scripts/lib-names.awk: Only handle one library at a time.
15699 * scripts/soversions.awk: Remove WORDSIZE support.
15700 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15701 entries.
15702 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15703 Removed.
15704 (syscall-list-default-condition): Likewise.
15705 (syscall-list-default-condition): Likewise.
15706 (syscall-list-includes): Likewise.
15707 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15708 syscall-list-* with abi-*. Handle undefined abi-variants.
15709 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15710 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15711 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15712 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15713 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15714 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15715 Removed.
15716 (syscall-list-32-options): Likewise.
15717 (syscall-list-32-condition): Likewise.
15718 (syscall-list-64-options): Likewise.
15719 (syscall-list-64-condition): Likewise.
15720 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15721 macro.
15722 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15723 Renamed to ...
15724 (abi-*): This.
15725 (abi-64-ld-soname): New macro.
15726 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15727 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15728 Renamed to ...
15729 (abi-*): This.
15730 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15731 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15732
4da0431d
JM
157332012-05-30 Joseph Myers <joseph@codesourcery.com>
15734
3a85279c
JM
15735 * sysdeps/unix/sysv/linux/kernel-features.h
15736 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15737 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15738 include <kernel-features.h>.
15739 [!__NR_ftruncate64]: Remove conditional code.
15740 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15741 [__NR_ftruncate64]: Make code unconditional.
15742 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15743 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15744 include <kernel-features.h>.
15745 [!__NR_ftruncate64]: Remove conditional code.
15746 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15747 [__NR_ftruncate64]: Make code unconditional.
15748 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15750 include <kernel-features.h>.
15751 [!__NR_ftruncate64]: Remove conditional code.
15752 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15753 [__NR_ftruncate64]: Make code unconditional.
15754 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15756 include <kernel-features.h>.
15757 [!__NR_ftruncate64]: Remove conditional code.
15758 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15759 [__NR_ftruncate64]: Make code unconditional.
15760 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15761
4da0431d
JM
15762 * configure.in (libc_cv_fpie): Weaken to a compile test using
15763 LIBC_TRY_CC_OPTION.
15764 * configure: Regenerated.
15765
11ef492c
AK
157662012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15767
15768 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15769 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15770 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15771 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15772 Refreshed.
15773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15775 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15777 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15778 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15779 Refreshed.
15780
d66ef399
DM
157812012-05-27 David S. Miller <davem@davemloft.net>
15782
15783 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15784 (___Q_zero): New.
15785 (__Q_simulate_exceptions): Return void. Change to simulate
15786 exceptions by writing into the %fsr.
15787 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15788 (__Qp_handle_exceptions): Likewise.
15789 (numbers): Delete.
15790 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15791 __Qp_handle_exceptions.
15792 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15793 __Qp_handle_exceptions.
15794 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15795 as unused and give dummy FP_RND_NEAREST initializer.
15796 (FP_INHIBIT_RESULTS): Define.
15797 (___Q_simulate_exceptions): Update declaration.
15798 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15799 formatting.
15800 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15801 as unused and give dummy FP_RND_NEAREST initializer.
15802 (__Qp_handle_exceptions): Update declaration.
15803 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15804 formatting.
15805
04fb54b5
TS
158062012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15807
15808 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15809 the temporary FPU control word.
15810 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15811 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15812 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15813 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15814 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15815 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15816 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15817 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15818 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15819 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15820 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15821
3f99608f
KK
158222012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15823
15824 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15825 fields.
15826
65a4de4e
CLT
158272012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15828
15829 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15830 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15831 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15832 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15833 Likewise.
15834 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15835 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15836 Likewise.
15837
15749d40
UD
158382012-05-27 Ulrich Drepper <drepper@gmail.com>
15839
15840 * po/h.po: Update from translation team.
15841
25dbcb27
AS
158422012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15843
3d3f8e55
AS
15844 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15845
25dbcb27
AS
15846 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15847 handling of denormals.
15848 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15849 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15850 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15851 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15852 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15853 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15854 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15855 Likewise.
15856
7ad47a80 158572012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
15858
15859 [BZ #14152]
15860 * math/libm-test.inc (fma_test): Don't always expect underflow
15861 exception.
15862
9c6ea9fa
SP
158632012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15864
15865 [BZ #12416]
15866 * elf/tst-execstack.c: Include stackinfo.h.
15867 (do_test): Adjust test case to ensure that pthread_getattr_np
15868 behaviour remains the same after marking stack executable.
15869
a8239222
JM
158702012-05-25 Joseph Myers <joseph@codesourcery.com>
15871
15872 * sysdeps/unix/sysv/linux/kernel-features.h
15873 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15874 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15875 kernel-features.h.
15876 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15877 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15878 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15879 kernel-features.h.
15880 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15881 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15882
918b5606
L
158832012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15884
15885 * configure.in: Define the default includes to being none.
15886 * configure: Regenerated.
15887
3a097cc7
RM
158882012-05-25 Roland McGrath <roland@hack.frob.com>
15889
8422c9a5
RM
15890 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15891 * sysdeps/x86_64/setjmp.S: Likewise.
15892 * sysdeps/i386/bsd-setjmp.S: Likewise.
15893 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15894 * sysdeps/i386/setjmp.S: Likewise.
15895 * sysdeps/i386/__longjmp.S: Likewise.
15896 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15897 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15898
3a097cc7
RM
15899 * include/stap-probe.h: New file.
15900 * configure.in: Handle --enable-systemtap.
15901 * configure: Regenerated.
15902 * config.h.in (USE_STAP_PROBE): New #undef.
15903 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15904 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15905 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15906
21708942
JM
159072012-05-25 Joseph Myers <joseph@codesourcery.com>
15908
15909 [BZ #13717]
15910 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15911 to 2.4.0 where earlier.
15912 * sysdeps/unix/sysv/linux/configure: Regenerated.
15913 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15914 <kernel-features.h>.
15915 [__ASSUME_32BITUIDS]: Make code unconditional.
15916 [!__ASSUME_32BITUIDS]: Remove conditional code.
15917 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15918 <kernel-features.h>.
15919 [__ASSUME_32BITUIDS]: Make code unconditional.
15920 [!__ASSUME_32BITUIDS]: Remove conditional code.
15921 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15922 [__ASSUME_32BITUIDS]: Make code unconditional.
15923 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15924 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15925 <kernel-features.h>.
15926 [__ASSUME_32BITUIDS]: Make code unconditional.
15927 [!__ASSUME_32BITUIDS]: Remove conditional code.
15928 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15929 <kernel-features.h>.
15930 [__ASSUME_32BITUIDS]: Make code unconditional.
15931 [!__ASSUME_32BITUIDS]: Remove conditional code.
15932 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15933 <kernel-features.h>.
15934 [__ASSUME_32BITUIDS]: Make code unconditional.
15935 [!__ASSUME_32BITUIDS]: Remove conditional code.
15936 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15937 <kernel-features.h>.
15938 [__ASSUME_32BITUIDS]: Make code unconditional.
15939 [!__ASSUME_32BITUIDS]: Remove conditional code.
15940 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
15941 <kernel-features.h>.
15942 [__ASSUME_32BITUIDS]: Make code unconditional.
15943 [!__ASSUME_32BITUIDS]: Remove conditional code.
15944 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
15945 <kernel-features.h>.
15946 [__ASSUME_32BITUIDS]: Make code unconditional.
15947 [!__ASSUME_32BITUIDS]: Remove conditional code.
15948 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
15949 <kernel-features.h>.
15950 [__ASSUME_32BITUIDS]: Make code unconditional.
15951 [!__ASSUME_32BITUIDS]: Remove conditional code.
15952 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
15953 <kernel-features.h>.
15954 [__ASSUME_32BITUIDS]: Make code unconditional.
15955 [!__ASSUME_32BITUIDS]: Remove conditional code.
15956 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
15957 <kernel-features.h>.
15958 [__ASSUME_32BITUIDS]: Make code unconditional.
15959 [!__ASSUME_32BITUIDS]: Remove conditional code.
15960 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
15961 <kernel-features.h>.
15962 [__ASSUME_32BITUIDS]: Make code unconditional.
15963 [!__ASSUME_32BITUIDS]: Remove conditional code.
15964 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
15965 <kernel-features.h>.
15966 [__NR_setresgid] (__setresgid): Do not declare.
15967 [__ASSUME_32BITUIDS]: Make code unconditional.
15968 [!__ASSUME_32BITUIDS]: Remove conditional code.
15969 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15970 <kernel-features.h>.
15971 [__NR_setresuid] (__setresuid): Do not declare.
15972 [__ASSUME_32BITUIDS]: Make code unconditional.
15973 [!__ASSUME_32BITUIDS]: Remove conditional code.
15974 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15975 <kernel-features.h>.
15976 [__ASSUME_32BITUIDS]: Make code unconditional.
15977 [!__ASSUME_32BITUIDS]: Remove conditional code.
15978 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15979 <kernel-features.h>.
15980 [__ASSUME_32BITUIDS]: Make code unconditional.
15981 [!__ASSUME_32BITUIDS]: Remove conditional code.
15982 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15983 <kernel-features.h>.
15984 [__ASSUME_32BITUIDS]: Make code unconditional.
15985 [!__ASSUME_32BITUIDS]: Remove conditional code.
15986 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15987 <kernel-features.h>.
15988 [__ASSUME_32BITUIDS]: Make code unconditional.
15989 [!__ASSUME_32BITUIDS]: Remove conditional code.
15990 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
15991 <kernel-features.h>.
15992 [__ASSUME_32BITUIDS]: Make code unconditional.
15993 [!__ASSUME_32BITUIDS]: Remove conditional code.
15994 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
15995 <kernel-features.h>.
15996 [__ASSUME_32BITUIDS]: Make code unconditional.
15997 [!__ASSUME_32BITUIDS]: Remove conditional code.
15998 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
15999 <kernel-features.h>.
16000 [__ASSUME_32BITUIDS]: Make code unconditional.
16001 [!__ASSUME_32BITUIDS]: Remove conditional code.
16002 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16003 <kernel-features.h>.
16004 [__ASSUME_32BITUIDS]: Make code unconditional.
16005 [!__ASSUME_32BITUIDS]: Remove conditional code.
16006 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16007 <kernel-features.h>.
16008 [__ASSUME_32BITUIDS]: Make code unconditional.
16009 [!__ASSUME_32BITUIDS]: Remove conditional code.
16010 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16011 <kernel-features.h>.
16012 [__ASSUME_32BITUIDS]: Make code unconditional.
16013 [!__ASSUME_32BITUIDS]: Remove conditional code.
16014 * sysdeps/unix/sysv/linux/kernel-features.h
16015 (__ASSUME_SETRESUID_SYSCALL): Remove.
16016 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16017 (__ASSUME_32BITUIDS): Likewise.
16018 (__ASSUME_LDT_WORKS): Likewise.
16019 (__ASSUME_O_DIRECTORY): Likewise.
16020 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16021 architecture but not kernel version.
16022 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16023 (__ASSUME_MMAP2_SYSCALL): Likewise.
16024 (__ASSUME_STAT64_SYSCALL): Likewise.
16025 (__ASSUME_IPC64): Likewise.
16026 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16027 <kernel-features.h>.
16028 [__ASSUME_32BITUIDS]: Make code unconditional.
16029 [!__ASSUME_32BITUIDS]: Remove conditional code.
16030 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16031 <kernel-features.h>.
16032 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16033 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16034 132096]: Remove conditional code.
16035 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16036 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16037 <kernel-features.h>.
16038 [__ASSUME_32BITUIDS]: Make code unconditional.
16039 [!__ASSUME_32BITUIDS]: Remove conditional code.
16040 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16041 <kernel-features.h>.
16042 [__ASSUME_32BITUIDS]: Make code unconditional.
16043 [!__ASSUME_32BITUIDS]: Remove conditional code.
16044 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16045 <kernel-features.h>.
16046 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16047 unconditional.
16048 (__setresgid): Do not declare.
16049 [__ASSUME_32BITUIDS]: Make code unconditional.
16050 [!__ASSUME_32BITUIDS]: Remove conditional code.
16051 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16052 <kernel-features.h>.
16053 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16054 unconditional.
16055 (__setresuid): Do not declare.
16056 [__ASSUME_32BITUIDS]: Make code unconditional.
16057 [!__ASSUME_32BITUIDS]: Remove conditional code.
16058 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16059 <kernel-features.h>.
16060 [__ASSUME_32BITUIDS]: Make code unconditional.
16061 [!__ASSUME_32BITUIDS]: Remove conditional code.
16062 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16063 <kernel-features.h>.
16064 [__ASSUME_32BITUIDS]: Make code unconditional.
16065 [!__ASSUME_32BITUIDS]: Remove conditional code.
16066
a386f1cc
RH
160672012-05-25 Richard Henderson <rth@twiddle.net>
16068
16069 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16070 dl_hwcap to ifunc resolver.
16071 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16072 elf_ifunc_invoke.
16073 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16074 dl_hwcap to ifunc resolver.
16075 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16076
b6550497
JM
160772012-05-24 Joseph Myers <joseph@codesourcery.com>
16078
16079 [BZ #14153]
16080 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16081 for |x| <= 2**-26, not 2**-57.
16082 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16083 exception.
16084
b0bc23a1
JL
160852012-05-24 Jeff Law <law@redhat.com>
16086
16087 * stdio-common/Makefile (tests): Add bug25.
16088 * stdio-common/bug25.c: New test.
16089
347c92e9
L
160902012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16091
16092 [BZ #13576]
16093 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16094 multiple of MALLOC_ALIGNMENT in size.
16095 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16096
6bcc8b3f
JM
160972012-05-24 Joseph Myers <joseph@codesourcery.com>
16098
16099 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16100 Require >= 256.
16101 (FILENAME_MAX): Use macro-int-constant.
16102 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16103 (_IOFBF): Use macro-int-constant.
16104 (_IOLBF): Likewise.
16105 (_IONBF): Likewise.
16106 (SEEK_CUR): Likewise.
16107 (SEEK_END): Likewise.
16108 (SEEK_SET): Likewise.
16109 (TMP_MAX): Likewise.
16110 (EOF): Use macro-int-constant. Require < 0.
16111 (NULL): Use macro-constant. Require == 0.
16112 (stdin): Require type to be FILE *.
16113 (stdout): Likewise.
16114 (stderr): Likewise.
16115 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16116 macro-int-constant.
16117 (EXIT_SUCCESS): Likewise.
16118 (NULL): Use macro-constant. Require == 0.
16119 (RAND_MAX): Use macro-int-constant.
16120 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16121 [C99-based standards] (strtof): Require function.
16122 [C99-based standards] (strtold): Likewise.
16123 [C99-based standards] (strtoll): Likewise.
16124 [C99-based standards] (strtoull): Likewise.
16125 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16126 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16127 [ISO || ISO99 || ISO11] (math.h): Likewise.
16128 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16129 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16130 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16131
d18ea0c5
AS
161322012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16133
16134 [BZ #14132]
56d25bb8
AS
16135 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16136 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16137 * intl/dgettext.c (DCGETTEXT): Likewise.
16138 * intl/gettext.c (DCGETTEXT): Likewise.
16139 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16140 * posix/regex_internal.h (gettext): Likewise.
16141 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16142 Remove declaration.
16143 * include/argz.h (__argz_count_internal)
16144 (__argz_stringify_internal): Remove declaration.
16145 (__argz_count, __argz_stringify): Declare hidden proto.
16146 * intl/dcgettext.c: Remove use of INTDEF.
16147 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16148 * string/argz-stringify.c: Likewise.
16149 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16150 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16151 Declare hidden proto.
d18ea0c5
AS
16152 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16153 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16154 Declare hidden proto.
16155 * include/stdio.h (__asprintf_internal): Don't declare.
16156 (__asprintf): Don't define as macro. Declare hidden proto.
16157 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16158 (__fsetlocking): Declare hidden proto.
16159 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16160 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16161 hidden proto.
16162 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16163 (_IO_setlinebuf): Remove use of INTUSE.
16164 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16165 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16166 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16167 Remove declaration.
16168 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16169 (_IO_do_flush): Remove use of INTUSE.
16170 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16171 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16172 (_IO_adjust_column, _IO_least_wmarker)
16173 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16174 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16175 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16176 (_IO_default_doallocate, _IO_wdefault_doallocate)
16177 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16178 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16179 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16180 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16181 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16182 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16183 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16184 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16185 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16186 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16187 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16188 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16189 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16190 proto.
16191 (_IO_flush_all_internal, _IO_adjust_column_internal)
16192 (_IO_default_uflow_internal, _IO_default_finish_internal)
16193 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16194 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16195 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16196 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16197 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16198 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16199 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16200 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16201 (_IO_file_close_internal, _IO_file_close_it_internal)
16202 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16203 (_IO_file_init_internal, _IO_file_attach_internal)
16204 (_IO_file_fopen_internal, _IO_file_read_internal)
16205 (_IO_file_sync_internal, _IO_file_seek_internal)
16206 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16207 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16208 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16209 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16210 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16211 (_IO_list_all_internal, _IO_link_in_internal)
16212 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16213 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16214 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16215 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16216 (_IO_do_write_internal, _IO_padn_internal)
16217 (_IO_getline_info_internal, _IO_getline_internal)
16218 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16219 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16220 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16221 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16222 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16223 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16224 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16225 with libc_hidden_ver, remove use of INTUSE.
16226 * libio/genops.c: Likewise.
16227 * libio/freopen.c: Likewise.
16228 * libio/freopen64.c: Likewise.
16229 * libio/iofclose.c: Likewise.
16230 * libio/iofdopen.c: Likewise.
16231 * libio/iofflush.c: Likewise.
16232 * libio/iofflush_u.c: Likewise.
16233 * libio/iofgets.c: Likewise.
16234 * libio/iofgets_u.c: Likewise.
16235 * libio/iofopen.c: Likewise.
16236 * libio/iofopncook.c: Likewise.
16237 * libio/iofread.c: Likewise.
16238 * libio/iofread_u.c: Likewise.
16239 * libio/ioftell.c: Likewise.
16240 * libio/iofwrite.c: Likewise.
16241 * libio/iogetline.c: Likewise.
16242 * libio/iogets.c: Likewise.
16243 * libio/iogetwline.c: Likewise.
16244 * libio/iopadn.c: Likewise.
16245 * libio/iopopen.c: Likewise.
16246 * libio/ioseekoff.c: Likewise.
16247 * libio/ioseekpos.c: Likewise.
16248 * libio/iosetbuffer.c: Likewise.
16249 * libio/iosetvbuf.c: Likewise.
16250 * libio/ioungetc.c: Likewise.
16251 * libio/ioungetwc.c: Likewise.
16252 * libio/iovdprintf.c: Likewise.
16253 * libio/iovsprintf.c: Likewise.
16254 * libio/iovsscanf.c: Likewise.
16255 * libio/memstream.c: Likewise.
16256 * libio/obprintf.c: Likewise.
16257 * libio/oldfileops.c: Likewise.
16258 * libio/oldiofclose.c: Likewise.
16259 * libio/oldiofdopen.c: Likewise.
16260 * libio/oldiofopen.c: Likewise.
16261 * libio/oldiopopen.c: Likewise.
16262 * libio/oldstdfiles.c: Likewise.
16263 * libio/putc.c: Likewise.
16264 * libio/setbuf.c: Likewise.
16265 * libio/setlinebuf.c: Likewise.
16266 * libio/stdfiles.c: Likewise.
16267 * libio/strops.c: Likewise.
16268 * libio/vasprintf.c: Likewise.
16269 * libio/vscanf.c: Likewise.
16270 * libio/vsnprintf.c: Likewise.
16271 * libio/vswprintf.c: Likewise.
16272 * libio/wfiledoalloc.c: Likewise.
16273 * libio/wfileops.c: Likewise.
16274 * libio/wgenops.c: Likewise.
16275 * libio/wmemstream.c: Likewise.
16276 * libio/wstrops.c: Likewise.
16277 * libio/__fpurge.c: Likewise.
16278 * libio/__fsetlocking.c: Likewise.
16279 * assert/assert.c: Likewise.
16280 * debug/fgets_chk.c: Likewise.
16281 * debug/fgets_u_chk.c: Likewise.
16282 * debug/fread_chk.c: Likewise.
16283 * debug/fread_u_chk.c: Likewise.
16284 * debug/gets_chk.c: Likewise.
16285 * debug/obprintf_chk.c: Likewise.
16286 * debug/vasprintf_chk.c: Likewise.
16287 * debug/vdprintf_chk.c: Likewise.
16288 * debug/vsnprintf_chk.c: Likewise.
16289 * debug/vsprintf_chk.c: Likewise.
16290 * malloc/mtrace.c: Likewise.
16291 * misc/error.c: Likewise.
16292 * misc/syslog.c: Likewise.
16293 * stdio-common/asprintf.c: Likewise.
16294 * stdio-common/fxprintf.c: Likewise.
16295 * stdio-common/getw.c: Likewise.
16296 * stdio-common/isoc99_fscanf.c: Likewise.
16297 * stdio-common/isoc99_scanf.c: Likewise.
16298 * stdio-common/isoc99_vfscanf.c: Likewise.
16299 * stdio-common/isoc99_vscanf.c: Likewise.
16300 * stdio-common/isoc99_vsscanf.c: Likewise.
16301 * stdio-common/printf-prs.c: Likewise.
16302 * stdio-common/printf_fp.c: Likewise.
16303 * stdio-common/printf_fphex.c: Likewise.
16304 * stdio-common/printf_size.c: Likewise.
16305 * stdio-common/putw.c: Likewise.
16306 * stdio-common/scanf.c: Likewise.
16307 * stdio-common/sprintf.c: Likewise.
16308 * stdio-common/tmpfile.c: Likewise.
16309 * stdio-common/vfprintf.c: Likewise.
16310 * stdio-common/vfscanf.c: Likewise.
16311 * stdlib/strfmon_l.c: Likewise.
16312 * sunrpc/openchild.c: Likewise.
16313 * sunrpc/xdr_stdio.c: Likewise.
16314 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16315 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16316
d6c33fda
RM
163172012-05-24 Roland McGrath <roland@hack.frob.com>
16318
c1487492
RM
16319 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16320
16321 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16322 in the third column, to generate for the shared library an IFUNC
16323 that uses _dl_vdso_vsym.
16324 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16325 * Makeconfig (object-suffixes-noshared): New variable.
16326
16327 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16328 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16329 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16330 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16331
d6c33fda
RM
16332 [BZ #14132]
16333 * include/sys/time.h (__gettimeofday): Remove macro.
16334 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16335 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16336 Remove INTDEF.
16337 (__gettimeofday): Add libc_hidden_def.
16338 (gettimeofday): Add libc_hidden_weak.
16339 * sysdeps/mach/gettimeofday.c: Likewise.
16340 * sysdeps/posix/gettimeofday.c: Likewise.
16341 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16342 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16343 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16344 (__gettimeofday_internal): Remove strong_alias.
16345 (__gettimeofday): Add libc_hidden_def.
16346 (gettimeofday): Add libc_hidden_weak.
16347 * sysdeps/unix/syscalls.list (gettimeofday):
16348 Remove __gettimeofday_internal alias.
16349
b5a2bbe6
L
163502012-05-24 Daniel Jacobowitz <drow@false.org>
16351 H.J. Lu <hongjiu.lu@intel.com>
16352
16353 [BZ #12495]
16354 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16355 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16356 (largebin_index_32_big): New.
16357 (largebin_index): Use it for 16-byte alignment.
16358 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16359 correction with front_misalign.
16360
cfba4fda
L
163612012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16362
7f907421
L
16363 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16365 Likewise.
16366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16367 Likewise.
16368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16369 Likewise.
16370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16371 Likewise.
16372 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16373 Likewise.
16374 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16375 Likewise.
16376 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16377 Likewise.
16378 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16379 Likewise.
16380 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16381 Likewise.
16382 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16383 Likewise.
16384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16385 Likewise.
16386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16387 Likewise.
16388
cfba4fda
L
16389 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16390 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16391
80bad0cc
JM
163922012-05-24 Joseph Myers <joseph@codesourcery.com>
16393
7a25eb06
JM
16394 [BZ #10846]
16395 [BZ #14036]
16396 * math/libm-test.inc (exp_test): Add test from bug 14036.
16397 (pow_test): Add test from bug 10846.
16398
795405f9
JM
16399 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16400 and other flags.
16401 (special_function): Do not include flags in test name.
16402 (parse_args): Likewise.
16403 * sysdeps/i386/fpu/libm-test-ulps: Update.
16404 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16405 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16406 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16408
80bad0cc
JM
16409 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16410 exceptions.
16411 * math/libm-test.inc ("Philosophy"): Update comment about
16412 exception testing.
16413 (UNDERFLOW_EXCEPTION): New macro.
16414 (UNDERFLOW_EXCEPTION_OK): Likewise.
16415 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16416 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16417 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16418 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16419 (INVALID_EXCEPTION_OK): Update value.
16420 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16421 (OVERFLOW_EXCEPTION_OK): Likewise.
16422 (IGNORE_ZERO_INF_SIGN): Likewise.
16423 (test_exceptions): Handle underflow exceptions.
16424 (acos_test): Update for underflow exception expectations.
16425 (cexp_test): Likewise.
16426 (clog_test): Likewise.
16427 (clog10_test): Likewise.
16428 (csqrt_test): Likewise.
16429 (ctan_test): Likewise.
16430 (ctanh_test): Likewise.
16431 (exp_test): Likewise.
16432 (exp10_test): Likewise.
16433 (exp2_test): Likewise.
16434 (expm1_test): Likewise.
16435 (fma_test): Likewise.
16436 (j0_test): Likewise.
16437 (jn_test): Likewise.
16438 (nexttoward_test): Likewise.
16439 (pow_test): Likewise.
16440 (scalbn_test): Likewise.
16441 (scalbln_test): Likewise.
16442 (tan_test): Likewise.
16443 (y1_test): Likewise.
16444 * sysdeps/i386/fpu/libm-test-ulps: Update.
16445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16446
9e0e3d0b
DM
164472012-05-23 David S. Miller <davem@davemloft.net>
16448
16449 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16450 (__libc_sigaction): Remove unused local variables.
16451
ccd0a08f
L
164522012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16453
16454 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16455
62bdf9a6
PE
164562012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16457
f8591f80
PE
16458 mktime: avoid signed integer overflow
16459 * time/mktime.c (__mktime_internal): Do not mishandle the case
16460 where diff == INT_MIN.
16461
94c7d826
PE
16462 mktime: simplify computation of average
16463 * time/mktime.c (ranged_convert): Use new time_t_avg function
16464 instead of rolling our own (probably-slower) code.
16465
ce73d683
PE
16466 mktime: do not assume signed right shift propagates sign bit
16467 * time/mktime.c (isdst_differ): New static function.
16468 (__mktime_internal): No need to normalize tm_isdst now.
16469 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16470 tm_isdst values.
16471
72a22e59
PE
16472 mktime: merge another wrapv change from gnulib
16473 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16474 from some compilers.
16475
68605433
PE
16476 mktime: remove incorrect attempt at unusual arithmetics
16477 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16478 The code didn't really work on such machines anyway.
16479 (TYPE_MINIMUM): Assume two's complement.
16480 (twos_complement_arithmetic): Verify that long_int and time_t
16481 are two's complement (or unsigned, in the latter case).
16482
03cf7fe3
PE
16483 mktime: check signed shifts on long_int and time_t, too
16484 * time/mktime.c (SHR): Check that shifts work as desired
16485 on the types long_int and time_t too, as SHR is used on
16486 such types.
16487
f04dfbc2
PE
16488 mktime: do not assume 'long' is wide enough
16489 * time/mktime.c (verify): Move decl up.
16490 (long_int): New type.
16491 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16492 to remove assumption in the code that 'long' is wide enough to
16493 store year values. This assumption is not true on x32 and on
16494 some non-glibc platforms.
16495
62bdf9a6
PE
16496 mktime: merge wrapv change from gnulib
16497 * time/mktime.c (WRAPV): New macro.
16498 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16499 (guess_time_tm, __mktime_internal): Do not assume that signed
16500 integer overflow wraps around; modern compilers generate code
16501 where this assumption is no longer valid.
16502
5e292e4f
L
165032012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16504
16505 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16506 Replace "jmp L(pseudo_end)" with "ret".
16507 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16508 Likewise.
16509
8caf8c87
AJ
165102012-05-23 Andreas Jaeger <aj@suse.de>
16511
16512 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16513 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16514
1a09dc56
AJ
165152012-05-23 Andreas Jaeger <aj@suse.de>
16516 Maximilian Attems <max@stro.at>
16517
16518 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16519 New macros.
16520
1c87aba0
L
165212012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16522
16523 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16524 code so that pseudo_end is just ret and the stack pointer is
16525 correct also for static library in error case.
16526
40e45bd5
JM
165272012-05-23 Joseph Myers <joseph@codesourcery.com>
16528
c2670533
JM
16529 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16530 move to syscalls.list.
16531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16535
40e45bd5
JM
16536 * manual/install.texi (Running make install): Do not mention Linux
16537 kernel version for which pt_chown is not needed.
16538 (Linux): Do not mention problems with nscd with 2.0 kernels.
16539 * INSTALL: Regenerated.
16540
be08eda5
AJ
165412012-05-23 Andreas Jaeger <aj@suse.de>
16542
16543 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16544 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16545 macro.
16546 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16547 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16548 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16549 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16550 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16551 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16552 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16553 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16554 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16555 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16556 * sysdeps/unix/sysv/linux/bits/in.h
16557 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16558
a6a056bb
RM
165592012-05-22 Roland McGrath <roland@hack.frob.com>
16560
16561 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16562 (PREPARE_VERSION): Just use assert instead, it will be elided
16563 under [NDEBUG] anyway.
16564
c9009328
L
165652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16566
16567 * sysdeps/unix/sysv/linux/Makefile: Include
16568 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 16569 (sysdep_routines): Remove sysctl.
c9009328
L
16570 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16571 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16572 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16573 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16574 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16575
73338355
AJ
165762012-05-22 Andreas Jaeger <aj@suse.de>
16577
16578 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16579 that pseudo_end is just ret and the stack pointer is correct also
16580 for static library in error case.
16581
d44638b0
PP
165822012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16583
16584 [BZ #14122]
16585 * nss/nsswitch.c (defconfig_entries): New variable.
16586 (__nss_database_lookup): Don't leak defconfig entries.
16587 (nss_parse_service_list): Don't leak on error paths.
16588 (free_database_entries): New function.
16589 (free_defconfig): New function.
16590 (free_mem): Move common code to free_database_entries.
16591
31a39bd8
L
165922012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16593
da0331a8
L
16594 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16595 Add arch_prctl.
16596 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16597
31a39bd8
L
16598 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16599 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16600 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16601 New macro.
16602 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16603 (INTERNAL_SYSCALL_TYPES): Likewise.
16604 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16605 (LOAD_REGS_TYPES_[1-6]): Likewise.
16606 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16607 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16608
45470df3
AZ
166092012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16610
16611 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16612 copysignl for GLIBC_2_0.
16613 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16614 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16615 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16616 logbl for GLIBC_2_0.
16617 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16618 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16619
98a61bcb
L
166202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16621
a4f6e481
L
16622 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16623 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16624
f63d5db6
L
16625 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16626 Use "neg %eax".
16627
98a61bcb
L
16628 * time/mktime.c: Update copyright years.
16629
95770f14
PE
166302012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16631
6226efbd
PE
16632 mktime: merge comment-quoting-style change from gnulib
16633 * time/mktime.c: Quote 'like this' in comments.
16634 The GNU coding standards suggest that we no longer quote `like this',
16635 as "`" and "'" are typically rendered asymmetrically nowadays.
16636 The typical gnulib style is to quote 'like this' when quoting
16637 code, and "like this" when quoting English.
16638
b99e4f78
PE
16639 * time/mktime.c (compile-command): Add "-I.".
16640
643e01e6
PE
16641 mktime: merge mktime-internal.h change from gnulib
16642 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16643
2554247d
PE
16644 mktime: merge time_r change from gnulib
16645 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16646
826dd0ab
PE
16647 mktime: merge DEBUG change from gnulib
16648 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16649 case system <time.h> has a #define.
16650
bd83aabe
PE
16651 mktime: merge <sys/types.h> change from gnulib
16652 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16653 since <time.t> is now guaranteed to define time_t.
16654
95770f14
PE
16655 mktime: merge HAVE_CONFIG_H change from gnulib
16656 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16657
5e1a27a9
L
166582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16659
0e44a77e
L
16660 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16661 Use "neg %eax".
16662
5e1a27a9
L
16663 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16664 __rlim_t cast.
16665 (struct rusage): Use anonymous union to pad each field to
16666 __syscall_slong_t.
16667
46259bec
DM
166682012-05-21 David S. Miller <davem@davemloft.net>
16669
16670 * Makefules (o-iterator): Remove .s cases.
16671 (compile-command.s): Delete.
16672 (COMPILE.s): Delete.
16673 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16674
59f0c22e
JM
166752012-05-21 Joseph Myers <joseph@codesourcery.com>
16676
16677 * configure.in (libc_cv_predef_stack_protector): Only consider
16678 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16679 * configure: Regenerated.
16680
20c07380
L
166812012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16682
bbb3154b
L
16683 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16684 New macro. Use R*LP on int and pointer.
16685 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
16686 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16687 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
16688 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16689
20c07380
L
16690 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16691 [__WORDSIZE_TIME64_COMPAT32] instead of
16692 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16693 (struct utmp): Likewise.
16694 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16695 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16696 Renamed to ...
16697 (__WORDSIZE_TIME64_COMPAT32): This.
16698 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16699 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16700 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16701 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16702 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16703 (__WORDSIZE_TIME64_COMPAT32): New macro.
16704
d8d1017e
AJ
167052012-05-21 Andreas Jaeger <aj@suse.de>
16706
16707 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16708 only if [SHARED]. Add prototype for __wcschr_ia32.
16709
6c7fb145
RM
167102012-05-21 Roland McGrath <roland@hack.frob.com>
16711
16712 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16713 of %rbp unmolested in the jmp_buf while mangling the low bits.
16714 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16715 unmolested high bits of %rbp while demangling the low bits.
16716 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16717
66274218
AJ
167182012-05-21 Andreas Jaeger <aj@suse.de>
16719
07c58f8f
AJ
16720 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16721 * sunrpc/svc_simple.c: Use it for registerrpc.
16722 * sunrpc/xcrypt.c: Use it for passwd2des.
16723
66274218
AJ
16724 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16725
61f65140
L
167262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16727
16728 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16729 Don't define if [__SYSCALL_WORDSIZE != 32].
16730 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16731 New macro.
16732
5fefb436
AJ
167332012-05-21 Bruno Haible <bruno@clisp.org>
16734 Andreas Jaeger <aj@suse.de>
16735
16736 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16737 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16738 inptr and inend for must_buffer_ch.
16739 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16740 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16741 * stdio-common/Makefile (tests): Remove bug15.
16742 (bug15-ENV): Remove macro.
16743 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16744 anymore.
16745
d8e272ab
AJ
167462012-05-19 Andreas Jaeger <aj@suse.de>
16747 Roland McGrath <roland@hack.frob.com>
16748
16749 * manual/contrib.texi: Completely rewritten. It contains now an
16750 alphabetical list of contributors and their contributions.
16751
4a56a162
RH
167522012-05-21 Richard Henderson <rth@twiddle.net>
16753
16754 * misc/getauxval.c (__getauxval): Use unsigned long int.
16755 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16756 (getauxval): Use unsigned long int.
16757
d024d23c
L
167582012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16759
16760 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16761
cbc00a03
RM
167622012-05-21 Roland McGrath <roland@hack.frob.com>
16763
16764 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16765 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16766 __alignof__ (long double).
16767
478143fa
AZ
167682012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16769
16770 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16771
c7683a6d
RH
167722012-05-20 Richard Henderson <rth@twiddle.net>
16773
16774 * misc/getauxval.c: New file.
16775 * misc/sys/auxv.h: New file.
16776 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16777 (routines): Add getauxval.
16778 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16779 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16780 * elf/dl-sysdep.c (_dl_auxv): Remove.
16781 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16782 * elf/dl-support.c (_dl_auxv): New variable.
16783 (_dl_aux_init): Initialize it.
16784 * manual/startup.texi (Auxiliary Vector): New node.
16785 * sysdeps/generic/bits/hwcap.h: New file.
16786 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16787 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16788 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16789 * sysdeps/sparc/sysdep.h: ... here. Include it.
16790 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16791 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
16792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16793 Update.
c7683a6d
RH
16794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16795 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16796 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16797 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16798 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16800 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16801 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16802
a6f1845d
AZ
168032012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16804
16805 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16806
cbcbe830
DM
168072012-05-19 David S. Miller <davem@davemloft.net>
16808
16809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16810
e0b16cc2
JM
168112012-05-19 Joseph Myers <joseph@codesourcery.com>
16812
16813 [BZ #14123]
16814 * math/s_ccosh.c: Include <float.h>
16815 (__ccosh): Avoid internal overflow calculating sinh and cosh
16816 values before multiplying by sin and cos values.
16817 * math/s_ccoshf.c: Likewise.
16818 * math/s_ccoshl.c: Likewise.
16819 * math/s_csin.c: Likewise.
16820 * math/s_csinf.c: Likewise.
16821 * math/s_csinl.c: Likewise.
16822 * math/s_csinh.c: Likewise.
16823 * math/s_csinhf.c: Likewise.
16824 * math/s_csinhl.c: Likewise.
16825 * math/libm-test.inc (ccos_test): Add more tests.
16826 (ccosh_test): Likewise.
16827 (csin_test): Likewise.
16828 (csinh_test): Likewise.
16829 * sysdeps/i386/fpu/libm-test-ulps: Update.
16830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16831
6ad13e08
L
168322012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16833
f66f0ce8
L
16834 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16835 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16836
6ad13e08
L
16837 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16838
b1d072a7
JM
168392012-05-19 Joseph Myers <joseph@codesourcery.com>
16840
16841 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16842 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16843 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16844 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16845 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16846 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16847 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16848 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16849 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16850 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16851 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16852 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16853 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16854 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16855 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16856 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16857 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16858 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16859 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16860 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16861 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16862 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16863 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16864 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16865 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16866 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16867 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16868 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16869 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16870 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16871 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16872
9eae47cb
AJ
168732012-05-18 Andreas Jaeger <aj@suse.de>
16874
16875 * csu/.gitignore: Delete.
16876
bb07f69f
L
168772012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16878
16879 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16880 (timex): Use __syscall_slong_t.
16881
e6bdb741
AJ
168822012-05-18 Andreas Jaeger <aj@suse.de>
16883 Carlos O'Donell <carlos_odonell@mentor.com>
16884
16885 * manual/install.texi (Configuring and compiling): Update
16886 description about files modified in the source directory.
d6c33fda 16887 * INSTALL: Regenerated.
e6bdb741 16888
1b74487e
L
168892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16890
16891 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16892 value. Use "or" to set return value to -1.
16893 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16894 negate return value.
16895
a88b64b9
TMQMF
168962012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16897
16898 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16899 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16900 failure if the compiler has Graphite support disabled.
16901 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16902 Likewise.
16903 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16904 CFLAGS-memmove.c): Likewise.
16905 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16906 Likewise.
16907
3707636e
L
169082012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16909
610b8622
L
16910 * sysdeps/x86_64/x32/_itoa.h: New file.
16911
7cd195df
L
16912 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16913 getdents system call only if kernel and user dirents have the
16914 same d_ino and d_off.
16915
94b07d20
L
16916 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16917 LLONG_MAX != LONG_MAX.
16918 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16919 (_fitoa_word): Likewise.
16920
18298070
L
16921 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16922 years.
16923 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16924 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16925 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16926
553c7ea4
L
16927 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16928 include <bits/wordsize.h>. Check __x86_64__ instead of
16929 __WORDSIZE.
16930 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16931 if __x86_64__ is defined. Use anonymous union on fpstate.
16932
3707636e
L
16933 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16934 anonymous union.
16935
b53ef01a
AS
169362012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16937
37fb1dc0
AS
16938 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16939 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16940 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16941 Refer to _rtld_local_ro instead of _rtld_global_ro.
16942 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16943 Likewise.
16944 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16945 Likewise.
16946 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16947 Likewise.
16948 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16949 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16950 of _rtld_global, and rtld_progname instead of _dl_argv[0].
16951
b53ef01a
AS
16952 * sysdeps/powerpc/powerpc32/dl-machine.c
16953 (__elf_machine_runtime_setup) [PROF]: Don't reference
16954 _dl_prof_resolve.
16955
7a185db2
AJ
169562012-05-18 Andreas Jaeger <aj@suse.de>
16957
16958 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16959 function only available for GCCs before 3.4 since GCC 3.4
16960 introduced a builtin.
16961 (lrint): Likewise.
16962 (llrintf): Likewise.
16963 (llrint): Likewise.
16964 (fmaxf): Likewise.
16965 (fmax): Likewise.
16966 (fminf): Likewise.
16967 (fmin): Likewise.
16968 (rint): Likewise.
16969 (rintf): Likewise.
16970 (nearbyint): Likewise.
16971 (nearbyintf): Likewise.
16972 (ceil): Likewise.
16973 (ceilf): Likewise.
16974 (floor): Likewise.
16975 (floorf): Likewise.
16976
3e5aef87
L
169772012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16978
428bd707
L
16979 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16980 on both fields and cast pointer to __syscall_ulong_t.
16981
3e5aef87
L
16982 * bits/types.h (__fsword_t): New type.
16983 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16984 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16985 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16986 (__FSWORD_T_TYPE): Likewise.
16987 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16988 (__FSWORD_T_TYPE): Likewise.
16989 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16990 (__FSWORD_T_TYPE): Likewise.
16991 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16992 (__FSWORD_T_TYPE): Likewise.
16993 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16994 __SWORD_TYPE with __fsword_t.
16995 (statfs64): Likewise.
16996
1ba7c3dc
DM
169972012-05-17 David S. Miller <davem@davemloft.net>
16998
16999 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17000
59910343
AJ
170012012-05-17 Andreas Jaeger <aj@suse.de>
17002
17003 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17004 warning.
17005
2e4c1e9e
L
170062012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17007
17008 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17009
de7f5ce7
AJ
170102012-05-17 Andreas Jaeger <aj@suse.de>
17011
17012 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17013 when it is used.
17014
286abc3d
CM
170152012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17016
17017 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17018
477cc68e
L
170192012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17020
17021 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17022 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17023
1a0994f5
CD
170242012-05-17 Andreas Jaeger <aj@suse.de>
17025 Carlos O'Donell <carlos_odonell@mentor.com>
17026
17027 [BZ #14059]
17028 * sysdeps/x86_64/multiarch/init-arch.h
17029 (bit_YMM_Usable): Rename to...
17030 (bit_AVX_Usable): ... this.
17031 (bit_FMA4_Usable): New macro.
17032 (bit_XMM_state): New macro.
17033 (bit_YMM_state): New macro.
17034 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17035 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17036 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17037 (CPUID_OSXSAVE): New macro.
17038 (CPUID_AVX): New macro.
17039 (CPUID_FMA4): New macro.
17040 (index_YMM_Usable): Rename to...
17041 (index_AVX_Usable): ... this.
17042 (HAS_AVX): Use HAS_ARCH_FEATURE.
17043 (HAS_FMA4): Likewise.
17044 (HAS_YMM_USABLE): Remove.
17045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17046 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17047 are present.
17048 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17049 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17050 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17051 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17052 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17053
0af797de
CM
170542012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17055
17056 * math/libm-test.c: Support platforms without multiple rounding modes.
17057 * math/bug-nextafter.c: Support platforms without FP exceptions.
17058 * math/bug-nexttoward.c: Likewise.
17059 * math/test-fenv.c: Likewise.
17060 * math/test-misc.c: Likewise.
17061 * stdlib/bug-getcontext.c: Likewise.
17062
e39745ff
AJ
170632012-05-17 Andreas Jaeger <aj@suse.de>
17064
17065 * manual/examples/search.c (critter_cmp): Change signature to
17066 avoid warnings.
17067 * manual/string.texi (Collation Functions): Likewise.
17068
48970aba
L
170692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17070
17071 * bits/types.h: Fold copyright years.
17072 * bits/typesizes.h: Likewise.
17073 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17074 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17075 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17076 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17077 * time/time.h: Likewise.
17078
bedee953
PP
170792012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17080
17081 [BZ #208]
17082 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17083 in instead of returning them. Return void.
17084 (__libc_mallinfo): Accumulate over all arenas.
17085 (__malloc_stats): Adjust for change in int_mallinfo interface.
17086
61653dfb
RM
170872012-05-16 Roland McGrath <roland@hack.frob.com>
17088
30b99d79
RM
17089 [BZ #10375]
17090 * configure.in (NM): Add AC_CHECK_TOOL for it.
17091 (libc_extra_cflags): New substituted variable.
17092 Check for -fstack-protector being used implicitly.
17093 * configure: Regenerated.
17094 * config.make.in (config-extra-cflags): New variable,
17095 gets @libc_extra_cflags@.
17096 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17097
61653dfb
RM
17098 [BZ #10375]
17099 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17100 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17101 * configure: Regenerated.
17102 * config.make.in (CPPUNDEFS): New substituted variable.
17103 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17104 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17105 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17106
661768bb
L
171072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17108
17109 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17110 (mq_attr): Use __syscall_slong_t.
17111
d4261567
L
171122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17113
17114 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17115 Check __x86_64__ instead of __WORDSIZE.
17116 (_STAT_VER_LINUX): Likewise.
17117 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17118 __syscall_ulong_t and __syscall_slong_t.
17119 (stat64): Likewise.
17120
cf3ff365
L
171212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17122
17123 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17124
76cf3e4d
L
171252012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17126
17127 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17128
a637753a
L
171292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17130
17131 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17132 __syscall_ulong_t.
17133
d5e05119
L
17134 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17135 include <bits/wordsize.h>. Check __x86_64__ instead of
17136 __WORDSIZE.
17137 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17138 defined.
17139 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17140
f62ee380
L
17141 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17142 include <bits/wordsize.h>. Check __x86_64__ instead of
17143 __WORDSIZE.
17144 (user_regs_struct): Use "__extension__ unsigned long long"
17145 instead of "unsigned long" if __x86_64__ is defined.
17146 (user): Likewise. Pad after pointer field if __ILP32__ is
17147 defined.
17148
4e124ced
JM
171492012-05-16 Joseph Myers <joseph@codesourcery.com>
17150
6a3951a0
JM
17151 * configure.in (makeinfo): Require version 4.5 or later. Allow
17152 versions 5 to 9.
17153 * configure: Regenerated.
17154 * manual/install.texi (texinfo): Increase version requirement to
17155 4.5 or later.
17156 * INSTALL: Regenerated.
17157
4e124ced
JM
17158 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17159
953ca31a
L
171602012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17161
17162 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17163
617aca05
L
17164 * sysdeps/x86_64/x32/ffs.c: New file.
17165
5762f7ae
L
17166 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17167 __syscall_ulong_t.
17168 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17169 defined. Use __syscall_ulong_t.
17170 (shminfo): Use __syscall_ulong_t.
17171 (shm_info): Likewise.
17172
a26b6856
L
17173 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17174 __syscall_ulong_t.
17175
cb2b9ef7
L
17176 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17177 <bits/wordsize.h>.
17178 (msgqnum_t): Use __syscall_ulong_t.
17179 (msglen_t): Likewise.
17180 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17181 __syscall_ulong_t.
17182
34683bb0
L
17183 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17184 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17185
84a68786
L
17186 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17187
48baa5f1
L
17188 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17189 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17190
180be88b
L
17191 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17192 __syscall_slong_t.
17193
5e90c8ad
L
17194 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17195 include <bits/wordsize.h>. Check __x86_64__ instead of
17196 __WORDSIZE.
17197
23dfb58b
L
17198 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17199 "unsigned long long int" if __x86_64__ is defined.
17200 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17201
ce5d54b0
L
17202 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17203 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17204 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17205
13dc9eac
L
17206 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17207 <stdint.h>.
17208 (GET_PC): Cast to uintptr_t first.
17209 (GET_FRAME): Likewise.
17210 (GET_STACK): Likewise.
17211
a7895d15
L
17212 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17213 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17214 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17215 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17216 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17217 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17218 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17219 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17220 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17221 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17222 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17223 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17224 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17225 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17226 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17227 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17228 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17229 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17230 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17231 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17232 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17233 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17234 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17235 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17236 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17237 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17238 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17239 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17240 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17241
656416c9
AS
172422012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17243
5bd66283
AS
17244 * Makerules (+depfiles): Also collect depfiles from .oS in
17245 $(extra-objs).
17246 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17247 .oS, $(libnldbl-routines)).
17248
656416c9
AS
17249 * Makerules (native-compile-mkdep-flags): Define.
17250 * sunrpc/Makefile (extra-objs): Add $(addprefix
17251 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17252 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17253 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17254 calling $(make-target-directory).
17255
a46f2169
L
172562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17257
17258 * bits/types.h (__snseconds_t): Removed.
17259 * time/time.h (struct timespec): Replace __snseconds_t with
17260 __syscall_slong_t.
17261 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17262 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17263 Likewise.
17264 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17265 (__SNSECONDS_T_TYPE): Likewise.
17266 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17267 (__SNSECONDS_T_TYPE): Likewise.
17268 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17269 (__SNSECONDS_T_TYPE): Likewise.
17270
6af6528b
L
172712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17272
17273 * sysdeps/mach/hurd/bits/typesizes.h
17274 (__SYSCALL_SLONG_TYPE): New macro.
17275 (__SYSCALL_ULONG_TYPE): Likewise.
17276
de986b56
L
172772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17278
17279 * bits/types.h (__syscall_slong_t): New type.
17280 (__syscall_ulong_t): Likewise.
17281
17282 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17283 (__SYSCALL_ULONG_TYPE): Likewise.
17284 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17285 (__SYSCALL_SLONG_TYPE): Likewise.
17286 (__SYSCALL_ULONG_TYPE): Likewise.
17287 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17288 (__SYSCALL_SLONG_TYPE): Likewise.
17289 (__SYSCALL_ULONG_TYPE): Likewise.
17290 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17291 (__SYSCALL_SLONG_TYPE): Likewise.
17292 (__SYSCALL_ULONG_TYPE): Likewise.
17293
85736dc7
L
172942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17295
17296 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17297 Add sigaltstack-offsets.sym.
17298 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17299 <sigaltstack-offsets.h>.
17300 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17301 longjmp_msg pointer.
17302 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17303 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17304 signal stack.
17305 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17306
cc03b296
JM
173072012-05-15 Joseph Myers <joseph@codesourcery.com>
17308
a9538892
JM
17309 * elf/stackguard-macros.h: Remove file.
17310 * sysdeps/generic/stackguard-macros.h: New file.
17311 * sysdeps/i386/stackguard-macros.h: Likewise.
17312 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17313 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17314 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17315 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17316 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17317 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17318 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17319 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17320 <elf/stackguard-macros.h>.
17321
cc03b296
JM
17322 [BZ #14109]
17323 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17324 __aligned__ in attribute.
17325 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17326 (gregset_t): Likewise.
17327
93171016
L
173282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17329
17330 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17331 * sysdeps/x86_64/64/Implies-after: Here. New file.
17332 * sysdeps/x86_64/x32/Implies-after: New file.
17333
d86813a0
L
173342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17335
17336 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17337 and access return value for _dl_profile_fixup. Use R10_LP to
17338 load frame size.
17339
2953ec75
L
173402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17341
17342 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17343
3b550e9e
L
173442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17345
17346 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17347 * sysdeps/x86_64/x32/sysdep.h: New file.
17348
eda41706
L
173492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17350
17351 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17352 * sysdeps/x86_64/setjmp.S: Likewise.
17353
9ea01d93
AZ
173542012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17355
17356 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17357 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17358 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17359 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17360 remove unused global constant.
17361
02a91938
CM
173622012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17363
17364 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17365 include of <not-cancel.h>.
17366
6540185f
RM
173672012-05-15 Roland McGrath <roland@hack.frob.com>
17368
17369 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17370
509072a0
AJ
173712012-05-15 Jeff Law <law@redhat.com>
17372 Andreas Jaeger <aj@suse.de>
17373
17374 [BZ #13594]
17375 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17376 out from...
17377 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17378 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17379 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17380 code changing __hst_map_handle.map.
17381
ba75122d
RM
173822012-05-15 Roland McGrath <roland@hack.frob.com>
17383
17384 * configure.in (sysnames): Look for Implies-before and Implies-after
17385 files.
17386 * configure: Regenerated.
17387
890d8bd8
L
173882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17389
17390 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17391 8-byte data alignment with LP_SIZE alignment.
17392
f6ee6623
L
173932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17394
17395 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17396 into R10_LP.
17397
ea2626f6
L
173982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17399
17400 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17401
085f715e
L
174022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17403
17404 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17405 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17406 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17407 Likewise.
17408 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17409
be8498fc
L
174102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17411
17412 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17413 (stackinfo_sub_sp): Likewise.
17414
70bc83b9
L
174152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17416
17417 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17418 RAX_LP.
17419
9bc0b730
L
174202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17421
17422 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17423 into R*_LP.
17424
6d2850e7
L
174252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17426
17427 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17428 sizes into R*_LP.
17429
3cb84561
L
174302012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17431
17432 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17433
54e2ed81
L
174342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17435
17436 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17437 into R11_LP and load __x86_64_shared_cache_size_half into
17438 R8_LP.
17439
8a17f349
L
174402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17441
17442 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17443 R8_LP.
17444
777b1eea
AZ
174452012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17446
17447 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17448 logb for POWER7.
17449 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17450 logbf for POWER7.
17451 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17452 logbl for POWER7.
17453 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17454 powerpc32/power7/fpu/s_logb.c via #include.
17455 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17456 powerpc32/power7/fpu/s_logbf.c via #include.
17457 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17458 powerpc32/power7/fpu/s_logbl.c via #include.
17459
d20d4ac2
JM
174602012-05-15 Joseph Myers <joseph@codesourcery.com>
17461
17462 * README.libm: Remove file.
17463
6cdef1ab
L
174642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17465
17466 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17467 count for x32. Use R*_LP and omit operand-size suffix.
17468
0b254d8f
L
174692012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17470
17471 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17472 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17473 * sysdeps/x86_64/x32/shlib-versions: New file.
17474
ceb809dc
RM
174752012-05-14 Roland McGrath <roland@hack.frob.com>
17476
17477 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17478 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17479 Use _dl_fatal_printf instead.
17480
37f1abd4
JM
174812012-05-14 Joseph Myers <joseph@codesourcery.com>
17482
17483 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17484 set if not set by the user. Do not allow for being unset.
17485 * sysdeps/unix/sysv/linux/configure: Regenerated.
17486
11de3a33
L
174872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17488
17489 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17490 the `q' suffix from lea and replace .quad with ASM_ADDR.
17491
e02f153a
L
174922012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17493
17494 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17495 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17496 instead of $17.
17497 (PTR_DEMANGLE): Likewise.
17498
520ae0fd
L
174992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17500
17501 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17502 (LP_OP): Likewise.
17503 (ASM_ADDR): Likewise.
17504 (RAX_LP): Likewise.
17505 (RBP_LP): Likewise.
17506 (RBX_LP): Likewise.
17507 (RCX_LP): Likewise.
17508 (RDI_LP): Likewise.
17509 (RSI_LP): Likewise.
17510 (RSP_LP): Likewise.
17511 (R8_LP): Likewise.
17512 (R9_LP): Likewise.
17513 (R10_LP): Likewise.
17514 (R10_LP): Likewise.
17515 (R11_LP): Likewise.
17516 (R12_LP): Likewise.
17517 (R13_LP): Likewise.
17518 (R14_LP): Likewise.
17519 (R15_LP): Likewise.
17520
b985be81
L
175212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17522
17523 * sysdeps/x86_64/x32/dl-machine.h: New file.
17524
6a4888ff
AJ
175252012-05-14 Andreas Jaeger <aj@suse.de>
17526
17527 * manual/Makefile (subdir): Remove export of subdir.
17528 (all): Remove target.
17529 (.PHONY): Remove all from list.
17530 (mkinstalldirs): Remove.
17531 (.PHONY): Remove installdirs from list.
17532 ($(inst_infodir)/libc.info): Use make-target-directory.
17533 (installdirs): Remove.
17534 (subdir_%): Remove.
17535 (glibc-targets): Remove.
17536 (lib): Remove.
17537 (stubs): Remove.
17538 ($(objpfx)stubs ../po/manual.pot): Remove.
17539 ($(objpfx)stamp%): Remove.
17540 (make-target-directory): Remove.
17541 (subdir_install): Remove.
17542 (routines): Remove.
17543 (aux): Remove.
17544 (sources): Remove.
17545 (objects): Remove.
17546 (headers): Remove.
17547
17548 [BZ #13750]
17549 * manual/.gitignore: Remove, it's not needed anymore.
17550 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17551 all files in it.
17552 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17553 directory.
17554 (texis): Renamed to $(objpfx)texis.
17555 (texis-path): New, contains path to generated files.
17556 (chapters.%): Use texis-path for complete path, add extra argument
17557 libc-texinfo.sh.
17558 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17559 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17560 (summary,texi, stamp-summary): Use complete path of
17561 files. Generate files in build dir.
17562 (dir-add.texi): Build in build dir.
17563 (libm-err.texi,stamp-libm-err): Likewise.
17564 (version.texi, stamp-version): Likewise.
17565 (.%c.texi): Likewise.
17566 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17567 (mostlyclean): Remove target.
17568 (realclean): Remove target.
17569 (generated): Add new variable with contents from mostlyclean and
17570 realclean, remove entries duplicated in common-mostlyclean, add
17571 stamp-libm-err and stamp-version.
17572 (generated-dirs): Add libc directory.
17573 ($(inst_infodir)/libc.info): Install files from build dir.
17574
17575 * manual/install.texi (Configuring and compiling): Adjust since
17576 the info files are not part of the tar ball anymore.
17577
7ac77294
AJ
175782012-05-14 Andreas Jaeger <aj@suse.de>
17579
17580 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17581 variable.
17582
ffb7875d
JM
175832012-05-14 Joseph Myers <joseph@codesourcery.com>
17584
17585 [BZ #13717]
17586 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17587 to 2.2.0 where earlier.
17588 * sysdeps/unix/sysv/linux/configure: Regenerated.
17589 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17590 Remove conditional code.
17591 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17592 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17593 Remove conditional code.
17594 [!__NR_lchown]: Likewise.
17595 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17596 [__NR_lchown]: Likewise.
17597 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17598 comment referencing __ASSUME_LCHOWN_SYSCALL.
17599 * sysdeps/unix/sysv/linux/i386/sigaction.c
17600 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17601 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17602 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17603 Remove conditional code.
17604 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17605 (__protocol_available): Remove #if 0 code.
17606 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17607 conditional code.
17608 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17609 * sysdeps/unix/sysv/linux/kernel-features.h
17610 (__ASSUME_GETCWD_SYSCALL): Don't define.
17611 (__ASSUME_REALTIME_SIGNALS): Likewise.
17612 (__ASSUME_PREAD_SYSCALL): Likewise.
17613 (__ASSUME_PWRITE_SYSCALL): Likewise.
17614 (__ASSUME_POLL_SYSCALL): Likewise.
17615 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17616 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17617 non-SPARC.
17618 (__ASSUME_SIOCGIFNAME): Don't define.
17619 (__ASSUME_MSG_NOSIGNAL): Likewise.
17620 (__ASSUME_SENDFILE): Define unconditionally.
17621 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17622 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17623 conditional code.
17624 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17625 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17626 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17627 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17628 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17629 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17630 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17632 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17633 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17635 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17636 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17638 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17639 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17641 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17642 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17644 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17645 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17647 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17648 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17650 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17651 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17653 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17654 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17655 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17656 Remove conditional code.
17657 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17658 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17659 Remove conditional code.
17660 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17661 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17662 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17663 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17664 Remove conditional code.
17665 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17666 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17667 Remove conditional code.
17668 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17669 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17670 Remove conditional code.
17671 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17672 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17673 Remove conditional code.
17674 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17675 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17676 Remove conditional code.
17677 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17678 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17679 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17680 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17681 * sysdeps/unix/sysv/linux/sigaction.c
17682 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17683 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17684 * sysdeps/unix/sysv/linux/sigpending.c
17685 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17686 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17687 * sysdeps/unix/sysv/linux/sigprocmask.c
17688 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17689 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17690 * sysdeps/unix/sysv/linux/sigsuspend.c
17691 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17692 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17693 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17694 (__libc_missing_rt_sigs): Remove.
17695 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17696 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17697 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17698 Remove conditional code.
17699 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17700 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17701 return 1.
17702 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17703 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17704 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17705 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17706
1bfb7291
AJ
177072012-05-14 Andreas Jaeger <aj@suse.de>
17708
caae5a81
AJ
17709 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17710 it's not used in glibc.
17711 (__coshm1): Likewise.
17712 (__acosh1p): Likewise.
17713 (__sgn): Likewise.
17714
1bfb7291
AJ
17715 * manual/string.texi (Copying and Concatenation): Add missing
17716 variable in concat example.
17717 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17718
c044d724
L
177192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17720
144c5467 17721 [BZ #14103]
c044d724
L
17722 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17723 __builtin_clzl with __builtin_clzll.
17724
2523c62b
L
177252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17726
17727 [BZ #14104]
17728 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17729 libc_freeres_ptr.
17730
d7bb4c42
LD
177312012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17732
17733 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17734 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17735 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17736 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17737
9dc4e1fb
MF
177382012-05-14 Mike Frysinger <vapier@gentoo.org>
17739
17740 * NEWS: Update ia64 info.
17741
c7df0112
AS
177422012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17743
17744 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17745 used as bcopy.
17746
dc70356c
TS
177472012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17748
17749 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17750 * sysdeps/unix/syscalls.list (dup3): Likewise.
17751 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17752 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17753
9fb1a21f
L
177542012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17755
17756 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17757 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17758
4822a2a5
L
177592012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17760
17761 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17762 thread pointer.
17763 (TLS_IE): Use mov/add instead of movq/addq to load thread
17764 pointer.
17765 (TLS_GD_PREFIX): New.
17766 (TLS_GD): Use it.
17767
842b81d6
DM
177682012-05-11 David S. Miller <davem@davemloft.net>
17769
17770 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17771 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17772 (_FPU_SETCW): Likewise.
17773
1cf463cd
L
177742012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17775
17776 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17777 is 32-byte aligned.
17778
60cc4a18
AS
177792012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17780
17781 [BZ #11837]
17782 * iconvdata/gb18030.c: Update tables.
17783 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17784 characters specially.
17785 (BODY for TO_LOOP): Add encoding of missing ranges.
17786
febb44a4
TS
177872012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17788
17789 [BZ #13673]
17790 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17791 * sysdeps/mach/hurd/dup3.c: Likewise.
17792 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17793 * sysdeps/powerpc/memmove.c:: Likewise.
17794
0a10fb9e
L
177952012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17796
17797 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17798 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17799
df8a552f
L
178002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17801
17802 * elf/elf.h (R_X86_64_RELATIVE64): New.
17803 (R_X86_64_NUM): Updated.
17804 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17805 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17806 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17807 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17808 tst-quad1pie tst-quad2pie
17809 (modules-names): Add tst-quadmod1 tst-quadmod2.
17810 ($(objpfx)tst-quad1): New dependency.
17811 ($(objpfx)tst-quad2): Likewise.
17812 ($(objpfx)tst-quad1pie): Likewise.
17813 ($(objpfx)tst-quad2pie): Likewise.
17814 * sysdeps/x86_64/tst-quad1.c: New file.
17815 * sysdeps/x86_64/tst-quad1pie.c: New file.
17816 * sysdeps/x86_64/tst-quad2.c: Likewise.
17817 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17818 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17819 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17820 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17821 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17822
f34d6f84
ST
178232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17824
f42d41d1
ST
17825 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17826 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17827 * streams/stropts.h (t_scalar_t): Define type.
17828
3c3571fc
ST
17829 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17830 (_PATH_PRESERVE): Set to "/var/lib".
17831 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17832
61f06bd3
ST
17833 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17834 instead of int.
17835
918d4d71
ST
17836 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17837 if __dir_mkfile succeeded.
17838
f34d6f84
ST
17839 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17840 checking for _hurd_dtablesize. Unlock it right after having
17841 finished _hurd_dtable allocation.
17842
10589b4a
TS
178432012-05-10 Thomas Schwinge <thomas@schwinge.name>
17844
674cdbc7
TS
17845 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17846 * sysdeps/mach/hurd/configure: Regenerated.
17847 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17848 special-casing to...
17849 * sysdeps/gnu/configure.in: ... this new file.
17850 * sysdeps/unix/sysv/linux/configure: Regenerated.
17851 * sysdeps/gnu/configure: New generated file.
17852
8e41b99f
TS
17853 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17854 for Linux: use nsec instead of usec, as well as:
17855 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17856 members of type struct timespec.
17857 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17858 New macros.
17859 (struct stat64): Likewise.
17860 (_STATBUF_ST_NSEC): New macro.
17861 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17862
10589b4a
TS
17863 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17864 __strtoul_internal rather than strtoul.
17865
63643c85
PT
178662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17867
17868 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17869 and reject them.
17870
3faebe6a
ST
178712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17872
17873 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17874 which preserves existing values.
17875 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17876
c6474b07
PT
178772012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17878
17879 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17880 TIMEOUT values. Return EINVAL for NFDS values either negative or
17881 greater than FD_SETSIZE.
17882
1043890b
ST
178832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17884
17885 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17886 allocated, call __vm_protect to finish enabling the existing space, and
17887 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17888 allocate the remainder.
17889
37ed8b9b
PT
178902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17891
17892 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17893 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17894
db653660
ST
178952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17896
37ed8b9b
PT
17897 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17898 sysdeps/mach/hurd/readlink.c.
b29d4053 17899
db653660
ST
17900 * posix/tst-sysconf.c (posix_options): Only use
17901 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17902 _POSIX_SYNCHRONIZED_IO when they are defined
17903 * sysdeps/mach/hurd/bits/posix_opt.h:
17904 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17905 (_XOPEN_REALTIME): Undefine macro.
17906 (_XOPEN_REALTIME_THREADS): Undefine macro.
17907 (_XOPEN_SHM): Undefine macro.
17908 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17909 macro to -1.
17910 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17911 macro to -1.
17912 (_POSIX_ASYNC_IO): Undefine macro.
17913 (_POSIX_PRIORITIZED_IO): Undefine macro.
17914 (_POSIX_SPIN_LOCKS): Define macro to -1.
17915
ee16e894
ST
17916 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17917 SA_NODEFER, SA_RESETHAND.
17918 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17919 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17920 F_DUPFD_CLOEXEC.
17921
6103ae3b
TS
179222012-05-10 Thomas Schwinge <thomas@schwinge.name>
17923
17924 * elf/Makefile (pldd-modules): Define unconditionally.
17925
80b4e5f3
TS
179262012-05-10 Thomas Schwinge <thomas@schwinge.name>
17927
17928 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17929
edadcbd6
ST
179302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17931
17932 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17933 Return ENOENT when name is empty.
17934 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17935
80694780
TS
179362012-05-10 Thomas Schwinge <thomas@schwinge.name>
17937
1792c087
TS
17938 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17939
80694780
TS
17940 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17941
6b645f0d
ST
179422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17943
80694780
TS
17944 Fix mlock in all cases except non-readable pages.
17945 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17946 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 17947
6b645f0d
ST
17948 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17949 (__mkdir): When path is `/', just fail with EEXIST.
17950 * sysdeps/mach/hurd/mkdirat.c: Likewise.
17951
e468f8a3
TS
179522012-05-10 Thomas Schwinge <thomas@schwinge.name>
17953
17954 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17955 <sys/uio.h> (for writev).
17956 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17957 and <sys/param.h> (for MIN).
17958
a4186cff
PT
179592012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17960
17961 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17962 REQUESTED_TIME. Properly set the remaining time and return EINTR
17963 if interrupted.
17964
510bbf14
TS
179652012-05-10 Thomas Schwinge <thomas@schwinge.name>
17966
17967 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17968 Depend on against $(link-rpcuserlibs).
17969
5d5722e8
ST
179702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17971
a4186cff
PT
17972 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17973 (__libc_stack_end): Do not use attribute_relro.
17974 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17975 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 17976 to libthread-provided value.
a4186cff
PT
17977 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17978 attribute_relro.
5d5722e8 17979
37233df9
TS
179802012-05-10 Thomas Schwinge <thomas@schwinge.name>
17981
be971a2b
TS
17982 [BZ #3748]
17983 * bits/libc-lock.h (__libc_once_get): New macro.
17984 * sysdeps/mach/bits/libc-lock.h: Likewise.
17985 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17986 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17987 instead of using implementation details.
17988
37233df9
TS
17989 * libio/fileops.c: Unconditionally include <kernel-features.h>.
17990 * libio/freopen.c: Likewise.
17991 * libio/freopen64.c: Likewise.
17992 * misc/syslog.c: Likewise.
17993 * nscd/connections.c: Likewise.
17994 * nscd/netgroupcache.c: Likewise.
17995 * sysdeps/posix/getcwd.c: Likewise.
17996
38de94a5
RM
179972012-05-10 Roland McGrath <roland@hack.frob.com>
17998
17999 * math/w_ilogbf.c: Add #include <limits.h>.
18000
67530489
ST
180012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18002
a4186cff 18003 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18004 path instead of returning without unlocking.
18005
67530489
ST
18006 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18007 immediate-write ioctls.
18008 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18009
5aa3a74a
TS
180102012-05-10 Thomas Schwinge <thomas@schwinge.name>
18011
18bad2ae
TS
18012 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18013 __builtin_frame_address instead of making assumptions about the
18014 location of the return address relative to DATA. Force early load of
18015 the return address.
18016 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18017 __builtin_frame_address.
18018
5aa3a74a
TS
18019 dup3 for GNU Hurd.
18020 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18021 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18022 implement dup3 and do some further code clean-ups.
18023 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18024 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18025
ecd0de9a
ST
180262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18027
cd9fa985
ST
18028 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18029
a4186cff
PT
18030 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18031 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18032 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18033 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18034 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18035 d->port.lock.
802ca5a5 18036
a4186cff
PT
18037 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18038 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18039 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18040
bcf55240
TS
180412012-05-10 Thomas Schwinge <thomas@schwinge.name>
18042
6960eb42
TS
18043 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18044 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18045 definitions.
18046
eb43375f
TS
18047 accept4 for GNU Hurd.
18048 * include/sys/socket.h (__libc_accept4): New prototype.
18049 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18050 to implement __libc_accept4.
18051 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18052 __libc_accept4.
18053 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18054
bcf55240
TS
18055 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18056 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18057 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18058 signal-defines.sym.
18059
6178c55b
ST
180602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18061
a4186cff 18062 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18063
6f080c2f
TS
180642012-05-10 Thomas Schwinge <thomas@schwinge.name>
18065
18066 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18067 assertion on O_CLOEXEC flag.
18068 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18069 * hurd/intern-fd.c: Likewise.
18070 * hurd/port2fd.c: Likewise.
18071
bcfe3a54
ST
180722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18073
18074 [BZ #3906]
18075 * bits/in.h (IPV6_PKTINFO): Define new macro.
18076 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18077
89c9aa49
AZ
180782012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18079
18080 [BZ #13954]
18081 [BZ #13955]
18082 [BZ #13956]
18083 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18084 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18085 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18086 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18087 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18088 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18089 * math/libm-test.inc (logb_test) : Additional logb tests.
18090
021db4be
AJ
180912012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18092 Andreas Jaeger <aj@suse.de>
18093
18094 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18095 * configure: Regenerated.
18096 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18097 * config.make.in (link-obsolete-rpc): New substituted variable.
18098 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18099 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18100 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18101 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18102 so that libc.a contains the symbols.
18103 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18104 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18105 * sunrpc/auth_none.c: Likewise.
18106 * sunrpc/auth_unix.c: Likewise.
18107 * sunrpc/authdes_prot.c: Likewise.
18108 * sunrpc/authuxprot.c: Likewise.
18109 * sunrpc/clnt_gen.c: Likewise.
18110 * sunrpc/clnt_perr.c: Likewise.
18111 * sunrpc/clnt_raw.c: Likewise.
18112 * sunrpc/clnt_simp.c: Likewise.
18113 * sunrpc/clnt_tcp.c: Likewise.
18114 * sunrpc/clnt_udp.c: Likewise.
18115 * sunrpc/clnt_unix.c: Likewise.
18116 * sunrpc/des_crypt.c: Likewise.
18117 * sunrpc/des_soft.c: Likewise.
18118 * sunrpc/get_myaddr.c: Likewise.
18119 * sunrpc/key_call.c: Likewise.
18120 * sunrpc/key_prot.c: Likewise.
18121 * sunrpc/netname.c: Likewise.
18122 * sunrpc/pm_getmaps.c: Likewise.
18123 * sunrpc/pm_getport.c: Likewise.
18124 * sunrpc/pmap_clnt.c: Likewise.
18125 * sunrpc/pmap_prot.c: Likewise.
18126 * sunrpc/pmap_prot2.c: Likewise.
18127 * sunrpc/pmap_rmt.c: Likewise.
18128 * sunrpc/publickey.c: Likewise.
18129 * sunrpc/rpc_cmsg.c: Likewise.
18130 * sunrpc/rpc_common.c: Likewise.
18131 * sunrpc/rpc_dtable.c: Likewise.
18132 * sunrpc/rpc_prot.c: Likewise.
18133 * sunrpc/rpc_thread.c: Likewise.
18134 * sunrpc/rtime.c: Likewise.
18135 * sunrpc/svc.c: Likewise.
18136 * sunrpc/svc_auth.c: Likewise.
18137 * sunrpc/svc_raw.c: Likewise.
18138 * sunrpc/svc_run.c: Likewise.
18139 * sunrpc/svc_tcp.c: Likewise.
18140 * sunrpc/svc_udp.c: Likewise.
18141 * sunrpc/svc_unix.c: Likewise.
18142 * sunrpc/svcauth_des.c: Likewise.
18143 * sunrpc/xcrypt.c: Likewise.
18144 * sunrpc/xdr.c: Likewise.
18145 * sunrpc/xdr_array.c: Likewise.
18146 * sunrpc/xdr_float.c: Likewise.
18147 * sunrpc/xdr_intXX_t.c: Likewise.
18148 * sunrpc/xdr_mem.c: Likewise.
18149 * sunrpc/xdr_rec.c: Likewise.
18150 * sunrpc/xdr_ref.c: Likewise.
18151 * sunrpc/xdr_sizeof.c: Likewise.
18152 * sunrpc/xdr_stdio.c: Likewise.
18153
b5c086a2
RM
181542012-05-10 Roland McGrath <roland@hack.frob.com>
18155
18156 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18157 change. Update copyright years.
18158
6d74dd09
JM
181592012-05-10 Joseph Myers <joseph@codesourcery.com>
18160
18161 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18162
28e72501
MK
181632012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18164 Joseph Myers <joseph@codesourcery.com>
18165 Paul Pluzhnikov <ppluzhnikov@google.com>
18166
18167 [BZ #14012]
18168 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18169 requiring rpcgen.
18170 [cross-compiling] (extra-libs): Likewise.
18171 [cross-compiling] (extra-libs-others): Likewise.
18172 [cross-compiling] (librpcsvc-routines): Likewise.
18173 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18174 [cross-compiling] (omit-deps): Likewise.
18175 (sunrpc-CPPFLAGS): New variable.
18176 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18177 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18178 (cross-rpcgen-objs): New variable.
18179 (extra-objs): Append $(cross-rpcgen-objs).
18180 ($(cross-rpcgen-objs)): New rule.
18181 ($(objpfx)cross-rpcgen): Likewise.
18182 (rpcgen-cmd): Define to use $(built-program-file). Expand
18183 comment.
18184 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18185 ($(objpfx)x%.stmp): Likewise.
18186 * sunrpc/proto.h [IS_IN_build] (_): Define.
18187 [IS_IN_build] (_libc_intl_domainname): Likewise.
18188
c8c59454
L
181892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18190
18191 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18192 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18193 and R_X86_64_TPOFF64.
18194
6f27cd16
JM
181952012-05-10 Joseph Myers <joseph@codesourcery.com>
18196
18197 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18198 sysdeps/unix/sysv/syscalls.list.
18199 (stime): Likewise.
18200 (utime): Likewise.
18201 * sysdeps/unix/sysv/syscalls.list: Remove file.
18202
02467e1c
PE
182032012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18204
18205 [BZ #3440]
18206 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18207 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18208 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18209 (__LC_IDENTIFICATION): Make these macros useful in #if
18210 expressions, as required by C99.
18211
da392631
AS
182122012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18213
18214 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18215 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18216 after this.
18217
8115f29b
L
182182012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18219
18220 * stdlib/longlong.h: Updated from GCC.
18221
bdd74070
AJ
182222012-05-09 Andreas Jaeger <aj@suse.de>
18223
edfe0dbe
AJ
18224 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18225 default is first entry.
18226 (run_mode): Set type.
18227 (main): Remove informal message about syslog.
18228 (options): Fix typo.
18229
bcfe3a54
ST
18230 [BZ #14053]
18231 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18232 to asm.
bcfe3a54
ST
18233 (lrint): Likewise.
18234 (llrintf): Likewise.
18235 (llrint): Likewise.
18236 (rint): Likewise.
18237 (rintf): Likewise.
18238 (nearbyint): Likewise.
18239 (nearbyintf): Likewise.
bdd74070 18240
91d8d69e
AJ
182412012-05-09 Andreas Jaeger <aj@suse.de>
18242 Pedro Alves <palves@redhat.com>
18243
18244 * nscd/nscd.c (run_mode): Use enum.
18245 (main): Cleanup coding style issue.
18246
bb90b80b
AJ
182472012-05-09 Alexandre Oliva <aoliva@redhat.com>
18248 Andreas Jaeger <aj@suse.de>
18249
bcfe3a54
ST
18250 * nscd/nscd.c (go_background): Replaced with...
18251 (run_mode): ... this.
bb90b80b 18252 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18253 (options): Add -F --foreground.
18254 (main): Implement it.
18255 (parse_opt): Parse it.
bb90b80b 18256
1a4b75a1
AJ
182572012-05-09 Andreas Jaeger <aj@suse.de>
18258
18259 [BZ #14083]
18260 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18261 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18262 -Wconversion warning.
18263 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18264 Likewise.
18265
b1cc2472
JM
182662012-05-09 Joseph Myers <joseph@codesourcery.com>
18267
18268 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18269 == 0.
18270 (LC_ALL): Use macro-int-constant.
18271 (LC_COLLATE): Likewise.
18272 (LC_CTYPE): Likewise.
18273 (LC_MESSAGES): Likewise.
18274 (LC_MONETARY): Likewise.
18275 (LC_NUMERIC): Likewise.
18276 (LC_TIME): Likewise.
18277 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18278 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18279 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18280 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18281 Specify type.
18282 [C99-based standards] (float_t): Expect type.
18283 [C99-based standards] (double_t): Expect type.
18284 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18285 type.
18286 [C99-based standards] (HUGE_VALL): Likewise.
18287 [C99-based standards] (INFINITY): Likewise.
18288 [C99-based standards] (NAN): Likewise.
18289 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18290 [C99-based standards] (FP_NAN): Likewise.
18291 [C99-based standards] (FP_NORMAL): Likewise.
18292 [C99-based standards] (FP_SUBNORMAL): Likewise.
18293 [C99-based standards] (FP_ZERO): Likewise.
18294 [C99-based standards] (FP_FAST_FMA): Use
18295 optional-macro-int-constant. Specify type. Require == 1.
18296 [C99-based standards] (FP_FAST_FMAF): Likewise.
18297 [C99-based standards] (FP_FAST_FMAL): Likewise.
18298 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18299 [C99-based standards] (FP_ILOGBNAN): Likewise.
18300 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18301 Specify type.
18302 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18303 [C99-based standards] (math_errhandling): Specify type.
18304 [ISO99 || ISO11] (signgam): Do not allow.
18305 [non-C99-based standards] (copysignf): Do not allow.
18306 [non-C99-based standards] (exp2f): Likewise.
18307 [non-C99-based standards] (log2f): Likewise.
18308 [non-C99-based standards] (modff): Allow.
18309 [non-C99-based standards] (erff): Do not allow.
18310 [non-C99-based standards] (erfcf): Likewise.
18311 [non-C99-based standards] (gammaf): Likewise.
18312 [non-C99-based standards] (hypotf): Likewise.
18313 [non-C99-based standards] (j0f): Likewise.
18314 [non-C99-based standards] (j1f): Likewise.
18315 [non-C99-based standards] (jnf): Likewise.
18316 [non-C99-based standards] (lgammaf): Likewise.
18317 [non-C99-based standards] (tgammaf): Likewise.
18318 [non-C99-based standards] (y0f): Likewise.
18319 [non-C99-based standards] (y1f): Likewise.
18320 [non-C99-based standards] (ynf): Likewise.
18321 [non-C99-based standards] (isnanf): Likewise.
18322 [non-C99-based standards] (acoshf): Likewise.
18323 [non-C99-based standards] (asinhf): Likewise.
18324 [non-C99-based standards] (atanhf): Likewise.
18325 [non-C99-based standards] (cbrtf): Likewise.
18326 [non-C99-based standards] (expm1f): Likewise.
18327 [non-C99-based standards] (ilogbf): Likewise.
18328 [non-C99-based standards] (log1pf): Likewise.
18329 [non-C99-based standards] (logbf): Likewise.
18330 [non-C99-based standards] (nextafterf): Likewise.
18331 [non-C99-based standards] (remainderf): Likewise.
18332 [non-C99-based standards] (rintf): Likewise.
18333 [non-C99-based standards] (scalbf): Likewise.
18334 [non-C99-based standards] (copysignl): Likewise.
18335 [non-C99-based standards] (exp2l): Likewise.
18336 [non-C99-based standards] (log2l): Likewise.
18337 [non-C99-based standards] (modfl): Allow.
18338 [non-C99-based standards] (erfl): Do not allow.
18339 [non-C99-based standards] (erfcl): Likewise.
18340 [non-C99-based standards] (gammal): Likewise.
18341 [non-C99-based standards] (hypotl): Likewise.
18342 [non-C99-based standards] (j0l): Likewise.
18343 [non-C99-based standards] (j1l): Likewise.
18344 [non-C99-based standards] (jnl): Likewise.
18345 [non-C99-based standards] (lgammal): Likewise.
18346 [non-C99-based standards] (tgammal): Likewise.
18347 [non-C99-based standards] (y0l): Likewise.
18348 [non-C99-based standards] (y1l): Likewise.
18349 [non-C99-based standards] (ynl): Likewise.
18350 [non-C99-based standards] (isnanl): Likewise.
18351 [non-C99-based standards] (acoshl): Likewise.
18352 [non-C99-based standards] (asinhl): Likewise.
18353 [non-C99-based standards] (atanhl): Likewise.
18354 [non-C99-based standards] (cbrtl): Likewise.
18355 [non-C99-based standards] (expm1l): Likewise.
18356 [non-C99-based standards] (ilogbl): Likewise.
18357 [non-C99-based standards] (log1pl): Likewise.
18358 [non-C99-based standards] (logbl): Likewise.
18359 [non-C99-based standards] (nextafterl): Likewise.
18360 [non-C99-based standards] (remainderl): Likewise.
18361 [non-C99-based standards] (rintl): Likewise.
18362 [non-C99-based standards] (scalbl): Likewise.
18363 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18364 [non-C99-based standards] (FP_*): Do not allow.
18365 [C99-based standards] (FP_*): Change to
18366 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18367 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18368 allow.
18369 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18370 (SIG_ERR): Likewise.
18371 [X/Open-based standards] (SIG_HOLD): Likewise.
18372 (SIG_IGN): Likewise.
18373 (SIGABRT): Use macro-int-constant. Specify type. Require
18374 positive value.
18375 (SIGFPE): Likewise.
18376 (SIGILL): Likewise.
18377 (SIGINT): Likewise.
18378 (SIGSEGV): Likewise.
18379 (SIGTER): Likewise.
18380 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18381 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18382 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18383 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18384 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18385 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18386 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18387 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18388 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18389 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18390 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18391 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18392 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18393 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18394 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18395 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18396 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18397 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18398 [X/Open-based standards] (SIGTRAP): Likewise.
18399 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18400 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18401 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18402 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18403 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18404 allow.
18405
b9f1922d
IW
184062012-05-08 Ian Wienand <ianw@vmware.com>
18407
18408 [BZ #14080]
18409 * time/tzset.c (__tzset_parse_tz): Update default rules for
18410 daylight time changes in the Energy Policy Act of 2005.
18411
1db86e88
AJ
184122012-05-09 Andreas Jaeger <aj@suse.de>
18413
18414 [BZ #13983]
18415 * elf/ldconfig.c (parse_conf): Change string to make clear that
18416 ldconfig only issued a warning if ld.so.conf does not exist.
18417
dee4a4e3
DM
184182012-05-08 David S. Miller <davem@davemloft.net>
18419
ee0db190
DM
18420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18421 movxtod instead of popping the value on the stack.
18422
dee4a4e3
DM
18423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18424
6a43ec98
CD
184252012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18426
18427 * config.h.in: Add HAVE_ARM_PCS_VFP.
18428
05c2c961
RMG
184292012-05-08 Roland Mc Grath <roland@hack.frob.com>
18430
bcfe3a54
ST
18431 [BZ #13979]
18432 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18433 checking but the checks are disabled for any reason.
05c2c961 18434
4b30f61a
L
184352012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18436
18437 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18438 and ELF64_R_TYPE with ELFW(R_TYPE).
18439
eee2bc67
JM
184402012-05-08 Joseph Myers <joseph@codesourcery.com>
18441
7ea5391a
JM
18442 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18443 (ulimit): Likewise.
18444
eee2bc67
JM
18445 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18446 (settimeofday): Likewise.
18447
abb66a67
MF
184482012-05-08 Mike Frysinger <vapier@gentoo.org>
18449
18450 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18451 a struct th_u2 inside the union, and move tu_block/tu_code into
18452 a new th_u3 union of tu_block/tu_code inside of that. Move
18453 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18454 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18455 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18456 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18457 (th_stuff): Change to th_u1.tu_stuff.
18458 (th_data): Define.
18459 (th_msg): Change to th_u1.th_u2.tu_data.
18460
7f18b530
DM
184612012-05-07 David S. Miller <davem@davemloft.net>
18462
05760585
DM
18463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18464
7f18b530
DM
18465 [BZ #14074]
18466 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18467 (SETUP_PIC_REG): Use it.
18468 (SETUP_PIC_REG_LEAF): Use it.
18469
495fd99f
JM
184702012-05-07 Joseph Myers <joseph@codesourcery.com>
18471
18472 [BZ #13885]
18473 [BZ #13923]
18474 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18475 USE_AS_EXPM1L.
18476 (EXPL_FINITE): Likewise.
18477 (FLDLOG): Likewise.
18478 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18479 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18480 e_expl.S.
18481 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18482 USE_AS_EXPM1L.
18483 (EXPL_FINITE): Likewise.
18484 (FLDLOG): Likewise.
18485 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18486 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18487 e_expl.S.
18488 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18489 test of -max_value argument for long double.
18490 * sysdeps/i386/fpu/libm-test-ulps: Update.
18491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18492
6693d694
DM
184932012-05-06 David S. Miller <davem@davemloft.net>
18494
18495 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18496 quad soft-float symbols whose references which are compiler
18497 generated.
18498 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18499
6c23e11c
JM
185002012-05-06 Joseph Myers <joseph@codesourcery.com>
18501
d8b82cad
JM
18502 [BZ #13884]
18503 [BZ #13914]
18504 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18505 USE_AS_EXP10L.
18506 (EXPL_FINITE): Likewise.
18507 (FLDLOG): Likewise.
18508 (c0): Likewise.
18509 (c1): Likewise.
18510 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18511 Adjust comments for base varying.
18512 (__expl_finite): Change alias to EXPL_FINITE.
18513 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18514 e_expl.S.
18515 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18516 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18517 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18518 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18519 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18520 USE_AS_EXP10L.
18521 (EXPL_FINITE): Likewise.
18522 (FLDLOG): Likewise.
18523 (c0): Likewise.
18524 (c1): Likewise.
18525 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18526 Adjust comments for base varying.
18527 (__expl_finite): Change alias to EXPL_FINITE.
18528 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18529 tests for bugs.
18530 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18531
6c23e11c
JM
18532 [BZ #14064]
18533 * math/libm-test.inc (check_float_internal): Correct ulp
18534 calculation for subnormal expected results.
18535
29ba805c
AJ
185362012-05-06 Andreas Jaeger <aj@suse.de>
18537
18538 * Makeconfig (+math-flags): New, set to -frounding-math.
18539 (+cflags): Add +math-flags so that all of glibc gets compiled with
18540 it.
18541
18542 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18543
7b17aeda
JM
185442012-05-05 Joseph Myers <joseph@codesourcery.com>
18545
5779f134
JM
18546 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18547 Disable one test.
18548
41498f4d
JM
18549 [BZ #13787]
18550 [BZ #13922]
18551 [BZ #14036]
18552 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18553 (__ieee754_expl): Allow for and saturate large arguments.
18554 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18555 (u_threshold): Likewise.
18556 (__exp): Call __ieee754_exp before checking for overflow and
18557 underflow.
18558 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18559 (u_threshold): Likewise.
18560 (__expf): Call __ieee754_expf before checking for overflow and
18561 underflow.
18562 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18563 (u_threshold): Likewise.
18564 (__expl): Call __ieee754_expl before checking for overflow and
18565 underflow.
18566 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18567 (__ieee754_expl): Allow for and saturate large arguments.
18568 * math/libm-test.inc (exp_test): Add another test. Do not allow
18569 missing overflow exception on overflow.
18570 (expm1_test): Do not allow missing overflow exception on overflow.
18571
6698b8bf
JM
18572 * sysdeps/i386/fpu/e_expl.c: Move to ...
18573 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18574 rather than using inline asm.
18575 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18576 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18577 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18578
7b17aeda
JM
18579 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18580 (nice): Likewise.
18581 (poll): Likewise.
18582 (signal): Likewise.
18583 (time): Likewise.
18584 (times): Likewise.
18585
f7c85819
JM
185862012-05-04 Joseph Myers <joseph@codesourcery.com>
18587
18588 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18589 sysdeps/unix/common/syscalls.list.
18590 (fchmod): Likewise.
18591 (fchown): Likewise.
18592 (ftruncate): Likewise.
18593 (getrusage): Likewise.
18594 (gettimeofday): Likewise.
18595 (setpgid): Likewise.
18596 (setregid): Likewise.
18597 (setreuid): Likewise.
18598 (sigaction): Likewise.
18599 (truncate): Likewise.
18600 (vhangup): Likewise.
18601 * sysdeps/unix/common/syscalls.list: Remove file.
18602 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18603 * sysdeps/unix/sysv/linux/Implies: Likewise.
18604
336270d0
L
186052012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18606
18607 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18609 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18610 Moved to ...
18611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18612 Here.
18613 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18614 to ...
18615 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18616 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18617 to ...
18618 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18619 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18620 to ...
18621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18622 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18623 to ...
18624 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18625 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18626 to ...
18627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18628 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18629 to ...
18630 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18631 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18632 to ...
18633 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18634 Here.
18635 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18636 to ...
18637 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18638 Here.
18639 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18640 to ...
18641 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18642 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18643 Moved to ...
18644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18645 Here.
18646 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18647 to ...
18648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18649
d128e450
JM
186502012-05-04 Joseph Myers <joseph@codesourcery.com>
18651
fa8ee516
JM
18652 * sysdeps/unix/common/bits/dirent.h: Remove file.
18653 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18654
d128e450
JM
18655 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18656 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18657 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18658 * sysdeps/unix/bsd/isatty.c: Likewise.
18659 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18660 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18661 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18662
ff8faaf0 186632012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 18664
62881be4 18665 [BZ #13563]
31dc8730
AZ
18666 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18667 long double comparison inaccuracies.
18668 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18669 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18670
6fef930c
AS
186712012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18672
18673 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18674 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18675
8f203e6c
JM
186762012-05-04 Joseph Myers <joseph@codesourcery.com>
18677
18678 [BZ #14049]
18679 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18680 nonzero digits before rounding a hex value.
18681 * stdlib/tst-strtod.c (tests): Add another test.
18682
5197d9c2
AK
186832012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18684
18685 * sysdeps/s390/fpu/libm-test-ulps: Update.
18686
f0c1dedf
AJ
186872012-05-03 Andreas Jaeger <aj@suse.de>
18688
18689 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18690 does not get optimized out.
18691 (malloc_opt_barrier): New.
18692
a65ef2ae 186932012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 18694 Roland McGrath <roland@hack.frob.com>
a65ef2ae 18695
2b942cb7 18696 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 18697 intermediate file deletion.
2b942cb7 18698 (generated): Add .symlist files.
a65ef2ae 18699
54b71e02
JM
187002012-05-03 Joseph Myers <joseph@codesourcery.com>
18701
18702 [BZ #13775]
18703 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18704 Redirect under this condition.
18705 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18706 [__USE_GNU] (__dprintf_chk): Not under this condition.
18707 [__USE_GNU] (__vdprintf_chk): Likewise.
18708 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18709 under this condition.
18710 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18711 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18712 [__USE_XOPEN2K8] (vdprintf): Likewise.
18713 [__USE_GNU] (__dprintf_chk): Not under this condition.
18714 [__USE_GNU] (__vdprintf_chk): Likewise.
18715 [__USE_GNU] (dprintf): Likewise.
18716 [__USE_GNU] (vdprintf): Likewise.
18717
d3dfcc41
RM
187182012-05-03 Roland McGrath <roland@hack.frob.com>
18719
18720 * elf/Makefile (common-generated): Set this instead of generated for
18721 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18722 $(all-built-dso)-derived lists.
18723
7ac30cc5
AJ
187242012-05-03 Andreas Jaeger <aj@suse.de>
18725
0c51e550
AJ
18726 * sysdeps/i386/fpu/libm-test-ulps: Update.
18727
7ac30cc5
AJ
18728 * FAQ: Removed.
18729 * FAQ.in: Likewise.
18730 * scripts/gen-FAQ.pl: Likewise.
18731 * manual/install.texi (Installation): Point to online location of
18732 FAQ.
18733 * Makefile (files-for-dist): Remove FAQ.
18734 (FAQ): Remove.
18735
d4c2917f
AM
187362012-05-02 Allan McRae <allan@archlinux.org>
18737
18738 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18739 (LDFLAGS-reldepmod5.so): Likewise.
18740 (LDFLAGS-reldep6mod1.so): Likewise.
18741 (LDFLAGS-reldep6mod4.so): Likewise.
18742 (LDFLAGS-reldep8mod3.so): Likewise.
18743 (LDFLAGS-unload4mod1.so): Likewise.
18744 (LDFLAGS-unload4mod2.so): Likewise.
18745 (LDFLAGS-tst-initorder): Likewise.
18746 (LDFLAGS-tst-initordera2.so): Likewise.
18747 (LDFLAGS-tst-initordera3.so): Likewise.
18748 (LDFLAGS-tst-initordera4.so): Likewise.
18749 (LDFLAGS-tst-initorderb2.so): Likewise.
18750 (LDFLAGS-noload): Likewise.
18751 (LDFLAGS-next): Likewise.
18752 (LDFLAGS-order2mod1.so): Likewise.
18753 (LDFLAGS-order2mod2.so): Likewise.
18754 (LDFLAGS-tst-initorder2): Likewise.
18755 (LDFLAGS-tst-initorder2a.so): Likewise.
18756 (LDFLAGS-tst-initorder2b.so): Likewise.
18757 (LDFLAGS-tst-initorder2c.so): Likewise.
18758 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18759
d77f993f
DM
187602012-05-02 David S. Miller <davem@davemloft.net>
18761
18762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18763
171a70b4
PP
187642012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18765
18766 [BZ #14055]
18767 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18768
0be196ad
AJ
187692012-05-02 Andreas Jaeger <aj@suse.de>
18770
18771 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18772 since we manipulate rounding mode.
18773 (CPPFLAGS-test-idouble.c): Likewise.
18774 (CPPFLAGS-test-ifloat.c): Likewise.
18775 (CFLAGS-test-ldouble.c): Likewise.
18776 (CFLAGS-test-double.c): Likewise.
18777 (CFLAGS-test-float.c): Likewise.
18778 (CFLAGS-test-misc.c): Likewise.
18779 (CFLAGS-test-test-fenv.c): Likewise.
18780
4f9d04aa
AZ
187812012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18782
2b942cb7
RM
18783 [BZ #2550]
18784 [BZ #2570]
18785 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18786 comparisons to determine direction to adjust input.
4f9d04aa 18787
82a79e7d
RM
187882012-05-01 Roland McGrath <roland@hack.frob.com>
18789
f5a01ca9
RM
18790 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18791 output to the target.
18792
90fe4186
RM
18793 * scripts/localplt.awk: New file.
18794 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18795 (check-localplt-CFLAGS): Variable removed.
18796 ($(all-built-dso:=.jmprel)): New static pattern rule.
18797 (generated): Add those targets.
18798 (localplt-built-dso): New variable.
18799 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18800
18801 * elf/check-localplt.c: File removed.
18802
82397ed6
RM
18803 * scripts/check-execstack.awk: New file.
18804 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18805 (check-execstack-CFLAGS): Variable removed.
18806 ($(objpfx)check-execstack.h): Target removed.
18807 ($(objpfx)execstack-default): New target.
18808 (generated): Add that instead of check-execstack.h.
18809 ($(all-built-dso:=.phdr)): New static pattern rule.
18810 (generated): Add those targets.
18811 * elf/check-execstack.c: File removed.
18812
82a79e7d
RM
18813 * scripts/check-textrel.awk: New file.
18814 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18815 (check-textrel-CFLAGS): Variable removed.
18816 (all-built-dso): Use := to define.o
18817 ($(all-built-dso:=.dyn)): New static pattern rule.
18818 (generated): Add those targets.
18819 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18820 * config.make.in (READELF): New substituted variable.
18821 * elf/check-textrel.c: File removed.
18822
62fde54f 188232012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 18824
615605c9
JM
18825 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18826 allow.
18827 * conform/data/ctype.h-data [C99-based standards] (isblank):
18828 Expect function.
18829 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18830 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18831 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18832 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18833 Specify type. Require positive value.
18834 (EILSEQ): Likewise.
18835 (ERANGE): Likewise.
18836 [ISO || POSIX] (EILSEQ): Do not expect.
18837 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18838 Specify type. Require positive value.
18839 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18840 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18841 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18842 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18843 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18844 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18845 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18846 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18847 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18848 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18849 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18850 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18851 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18852 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18853 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18854 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18855 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18856 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18857 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18858 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18859 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18860 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18861 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18862 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18863 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18864 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18865 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18866 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18867 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18868 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18869 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18870 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18871 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18872 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18873 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18874 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18875 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18876 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18877 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18878 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18879 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18880 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18881 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18882 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18883 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18884 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18885 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18886 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18887 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18888 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18889 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18890 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18891 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18892 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18893 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18894 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18895 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18896 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18897 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18898 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18899 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18900 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18901 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18902 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18903 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18904 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18905 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18906 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18907 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18908 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18909 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18910 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18911 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18912 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18913 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18914 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18915 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18916 Require >= 2.
18917 (FLT_ROUNDS): Expect as macro, not constant.
18918 (FLT_MANT_DIG): Use macro-int-constant.
18919 (DBL_MANT_DIG): Likewise.
18920 (LDBL_MANT_DIG): Likewise.
18921 (FLT_DIG): Likewise.
18922 (DBL_DIG): Likewise.
18923 (LDBL_DIG): Likewise.
18924 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18925 (DBL_MIN_EXP): Likewise.
18926 (LDBL_MIN_EXP): Likewise.
18927 (FLT_MAX_EXP): Use macro-int-constant.
18928 (DBL_MAX_EXP): Likewise.
18929 (LDBL_MAX_EXP): Likewise.
18930 (FLT_MAX_10_EXP): Likewise.
18931 (DBL_MAX_10_EXP): Likewise.
18932 (LDBL_MAX_10_EXP): Likewise.
18933 (FLT_MAX): Use macro-constant.
18934 (DBL_MAX): Likewise.
18935 (LDBL_MAX): Likewise.
18936 (FLT_EPSILON): Use macro-constant. Give upper bound.
18937 (DBL_EPSILON): Likewise.
18938 (LDBL_EPSILON): Likewise.
18939 (FLT_MIN): Likewise.
18940 (DBL_MIN): Likewise.
18941 (LDBL_MIN): Likewise.
18942 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18943 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18944 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18945 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18946 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18947 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18948 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18949 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18950 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18951 [ISO11] (FLT_TRUE_MIN): Likewise.
18952 [ISO11] (LDBL_TRUE_MIN): Likewise.
18953 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18954 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18955 (SCHAR_MIN): Use macro-int-constant. Specify type.
18956 (SCHAR_MAX): Likewise.
18957 (UCHAR_MAX): Likewise.
18958 (CHAR_MIN): Likewise.
18959 (CHAR_MAX): Likewise.
18960 (MB_LEN_MAX): Use macro-int-constant.
18961 (SHRT_MIN): Use macro-int-constant. Specify type.
18962 (SHRT_MAX): Likewise.
18963 (USHRT_MAX): Likewise.
18964 (INT_MAX): Likewise.
18965 (INT_MIN): Use macro-int-constant. Specify type. Make upper
18966 bound negative.
18967 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
18968 bound with "U".
18969 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18970 bound with "L".
18971 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
18972 bound negative. Suffix upper bound with "L".
18973 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18974 bound with "UL".
18975 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18976 Specify type.
18977 [C99-based standards] (LLONG_MAX): Likewise.
18978 [C99-based standards] (ULLONG_MAX): Likewise.
18979 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
18980 == 0.
18981 [ISO11] (max_align_t): Require type.
18982 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18983
c9140a62
JM
18984 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18985 from $CFLAGS, without defining away __attribute__ calls.
18986 (checknamespace): Use $CFLAGS_namespace.
18987
9af0bf29
JM
18988 * conform/conformtest.pl (@keywords): Only include C99 keywords
18989 for standards based on C99 or C11.
18990
343222a2
JM
18991 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18992 Disable tests.
18993 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18994 UNIX98]: Likewise.
18995
661f8cf0
JM
18996 * conform/conformtest.pl: Handle "macro-int-constant" and test for
18997 usability of symbols in #if.
18998
ee74b9cb
JM
18999 * conform/conformtest.pl: If macro or constant types start
19000 "promoted:", expect the symbol to be of the following type
19001 promoted by the integer promotions.
62fde54f 19002
aafc49b3
JM
19003 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19004 in one place. Also handle "macro-constant".
19005
fefdf574
JM
19006 * conform/conformtest.pl: Only accept expected macro values with
19007 "==". Parse all "macro" lines in one place.
19008 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19009
f2d922fe
JM
19010 * conform/conformtest.pl: Handle braced types on "constant" lines
19011 instead of handling "typed-constant".
19012 * conform/data/signal.h-data: Use "constant" instead of
19013 "typed-constant".
19014
d22956c9
JM
19015 * conform/conformtest.pl: Handle "optional-" at start of lines in
19016 one place rather than duplicating several cases. Handle each
19017 format of "macro" line with initial "optional-".
19018
028e2e38
JM
19019 * conform/conformtest.pl: Only accept expected constant or
19020 optional-constant values with "==". Parse all "constant" lines in
19021 one place. Parse all "optional-constant" lines in one place.
19022 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19023 * conform/data/fmtmsg.h-data: Likewise.
19024 * conform/data/netinet/in.h-data: Likewise.
19025 * conform/data/tar.h-data: Likewise.
19026 * conform/data/limits.h-data: Use "==" form on "constant" and
19027 "optional-constant" lines.
19028
1b8f2850
JM
19029 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19030 Use -std=c99 for XOPEN2K.
19031 (@knownproblems): Remove.
19032 (newtoken): Don't check %isknown.
19033
a05a144b
JM
19034 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19035 Do not expect macro.
19036 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19037 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19038 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19039 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19040 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19041 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19042 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19043 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19044 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19045 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19046 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19047 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19048 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19049 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19050 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19051 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19052 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19053 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19054 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19055 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19056 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19057 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19058 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19059 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19060 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19061 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19062 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19063 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19064 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19065 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19066 [XPG3] (acosh): Likewise.
19067 [XPG3] (asinh): Likewise.
19068 [XPG3] (atanh): Likewise.
19069 [XPG3] (cbrt): Likewise.
19070 [XPG3] (expm1): Likewise.
19071 [XPG3] (ilogb): Likewise.
19072 [XPG3] (log1p): Likewise.
19073 [XPG3] (logb): Likewise.
19074 [XPG3] (nextafter): Likewise.
19075 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19076 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19077 [XPG3] (remainder): Likewise.
19078 [XPG3] (rint): Likewise.
19079 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19080 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19081 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19082 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19083 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19084 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19085 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19086 [UNIX98 || XOPEN2K] (scalb): Expect.
19087 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19088 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19089 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19090 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19091 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19092 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19093 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19094 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19095 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19096 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19097 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19098 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19099 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19100 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19101 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19102 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19103 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19104 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19105 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19106 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19107 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19108 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19109 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19110 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19111 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19112 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19113 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19114 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19115 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19116 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19117 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19118 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19119 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19120 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19121 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19122 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19123 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19124 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19125 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19126 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19127 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19128 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19129 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19130 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19131 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19132 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19133 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19134 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19135 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19136 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19137 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19138 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19139 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19140 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19141 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19142 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19143 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19144 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19145 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19146 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19147 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19148 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19149 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19150 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19151 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19152 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19153 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19154 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19155 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19156 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19157 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19158 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19159 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19160 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19161 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19162 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19163 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19164 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19165 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19166 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19167 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19168 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19169 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19170 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19171 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19172 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19173 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19174 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19175 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19176 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19177 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19178 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19179 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19180 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19181 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19182 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19183 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19184 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19185 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19186 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19187 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19188 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19189 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19190 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19191 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19192 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19193 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19194 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19195 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19196 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19197 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19198 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19199 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19200 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19201 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19202 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19203 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19204 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19205 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19206 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19207 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19208 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19209 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19210 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19211 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19212 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19213 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19214 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19215 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19216 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19217 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19218 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19219 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19220 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19221 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19222 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19223 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19224
73c5ebe3
JM
19225 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19226 _XOPEN_SOURCE_EXTENDED for XPG4.
19227
39c33b6c
JM
19228 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19229
62fde54f
JM
19230 * Makeconfig (localtime): Remove variable.
19231 (inst_localtime-file): Likewise.
19232
0741d64c
AS
192332012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19234
19235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19236 Update.
19237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19238 Update.
19239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19240 Update.
19241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19242 Update.
19243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19244 Update.
19245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19246 Update.
19247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19248 Update.
19249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19250 Update.
19251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19252 Update.
19253
7cb029ee
JM
192542012-05-01 Joseph Myers <joseph@codesourcery.com>
19255
19256 [BZ #2550]
19257 [BZ #2570]
19258 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19259 comparisons to determine direction to adjust input.
19260 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19261 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19262 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19263 Likewise.
19264 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19265 Likewise.
19266 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19267 Likewise.
19268 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19269 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19270 Likewise.
19271 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19272 Likewise.
19273 * math/libm-test.inc (nexttoward_test): Add more tests.
19274
412bd966
AS
192752012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19276
19277 [BZ #14040]
19278 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19279 in version GLIBC_2.1, not GLIBC_2.0.
19280 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19281 Likewise.
19282
9568c0c2
JM
192832012-04-30 Joseph Myers <joseph@codesourcery.com>
19284
adfbc8ac
JM
19285 [BZ #13942]
19286 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19287 (1 - x) * (1 + x).
19288 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19289 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19290 * math/libm-test.inc (acos_test): Add more tests.
19291 (asin_test): Likewise.
19292 * sysdeps/i386/fpu/libm-test-ulps: Update.
19293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19294
5ba3cc69
JM
19295 [BZ #14034]
19296 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19297 of square root.
19298 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19299 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19300 * math/libm-test.inc (acos_test_tonearest): New function.
19301 (acos_test_towardzero): Likewise.
19302 (acos_test_downward): Likewise.
19303 (acos_test_upward): Likewise.
19304 (asin_test_tonearest): Likewise.
19305 (asin_test_towardzero): Likewise.
19306 (asin_test_downward): Likewise.
19307 (asin_test_upward): Likewise.
19308 (main): Call the new functions.
19309 * sysdeps/i386/fpu/libm-test-ulps: Update.
19310 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19311
9568c0c2
JM
19312 [BZ #13884]
19313 [BZ #13924]
19314 * math/e_exp10.c: Include <float.h>.
19315 (__ieee754_exp10): Handle underflow here rather than multiplying
19316 large negative argument by M_LN10.
19317 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19318 of __ieee754_expf.
19319 * math/e_exp10l.c: Include <float.h>.
19320 (__ieee754_exp10l): Handle underflow here rather than multiplying
19321 large negative argument by M_LN10l.
19322 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19323 spurious overflow exception on underflow.
19324
5ac3ea17
MP
193252012-04-29 Marek Polacek <polacek@redhat.com>
19326
19327 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19328 (__fortify_function): New macro.
19329 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19330 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19331 __extern_always_inline.
19332 * libio/bits/stdio2.h: Likewise.
19333 * libio/bits/stdio.h: Likewise.
19334 * string/string.h: Likewise.
19335 * string/bits/string3.h: Likewise.
19336 * include/stdio.h: Likewise.
19337 * stdlib/bits/stdlib.h: Likewise.
19338 * stdlib/stdlib.h: Likewise.
19339 * rt/bits/mqueue2.h: Likewise.
19340 * rt/mqueue.h: Likewise.
19341 * posix/bits/unistd.h: Likewise.
19342 * posix/unistd.h: Likewise.
19343 * io/bits/poll2.h: Likewise.
19344 * io/bits/fcntl2.h: Likewise.
19345 * io/fcntl.h: Likewise.
19346 * io/sys/poll.h: Likewise.
19347 * misc/bits/syslog.h: Likewise.
19348 * misc/bits/syslog-ldbl.h: Likewise.
19349 * misc/sys/syslog.h: Likewise.
19350 * socket/bits/socket2.h: Likewise.
19351 * socket/sys/socket.h: Likewise.
19352 * debug/tst-chk1.c: Likewise.
19353 * wcsmbs/bits/wchar2.h: Likewise.
19354 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19355 * wcsmbs/wchar.h: Likewise.
19356
ecf0ebfb
AJ
193572012-04-29 Andreas Jaeger <aj@suse.de>
19358
19359 * Makerules (tests): Remove enable-check-abi protection.
19360 (check-abi-warn): Remove.
19361 (check-abi-%): Remove check-abi-warn usage.
19362
19363 * configure.in: Remove check-abi configure option.
19364 * configure: Regenerated.
19365 * config.make.in (enable-check-abi): Remove.
19366
6d5c57fa
AS
193672012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19368
24c5d07e 19369 [BZ #14033]
ded5180a
AS
19370 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19371 double functions to double *_finite functions.
19372
7e0d315d
AS
19373 [BZ #13941]
19374 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19375 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19376 LDBL_MIN_EXP.
19377 * stdio-common/Makefile (tests): Add tst-sprintf3.
19378 * stdio-common/tst-sprintf3.c: New file.
19379
6d5c57fa
AS
19380 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19381 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19382
0749ff8b
JM
193832012-04-28 Joseph Myers <joseph@codesourcery.com>
19384
19385 * conform/conformtest.pl: Remove duplicate typed-constant
19386 handling.
19387
8dbd5d7b
DM
193882012-04-28 David S. Miller <davem@davemloft.net>
19389
19390 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19391 (check-abi-%): Remove AWK script prerequisite and explicit
19392 abilist directory.
19393 (check-abi): Rewrite to just diff the symlist with the abilist.
19394 (config-tls, config-abi-config): Delete, no longer used.
19395 (update-abi-%): Remove AWK script and explicit abilist directory.
19396 (update-abi): Rewrite to simply compare and conditionally copy the
19397 symlist and the sysdep abilist file. Remove update-abi-config
19398 checks.
19399 * abilist/ld.abilist: Remove.
19400 * abilist/libBrokenLocale.abilist: Remove.
19401 * abilist/libanl.abilist: Remove.
19402 * abilist/libcrypt.abilist: Remove.
19403 * abilist/libdl.abilist: Remove.
19404 * abilist/librt.abilist: Remove.
19405 * abilist/libthread_db.abilist: Remove.
19406 * abilist/libutil.abilist: Remove.
19407 * scripts/extract-abilist.awk: Remove.
19408 * scripts/merge-abilist.awk: Remove.
19409 * sysdeps/generic/libcidn.abilist: New file.
19410 * sysdeps/generic/libnss_compat.abilist: New file.
19411 * sysdeps/generic/libnss_db.abilist: New file.
19412 * sysdeps/generic/libnss_dns.abilist: New file.
19413 * sysdeps/generic/libnss_files.abilist: New file.
19414 * sysdeps/generic/libnss_hesiod.abilist: New file.
19415 * sysdeps/generic/libnss_nis.abilist: New file.
19416 * sysdeps/generic/libnss_nisplus.abilist: New file.
19417 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19418 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19419 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19420 file.
19421 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19422 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19423 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19424 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19425 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19426 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19427 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19428 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19429 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19430 file.
19431 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19432 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19433 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19434 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19435 file.
19436 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19437 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19438 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19439 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19440 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19441 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19442 file.
19443 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19444 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19445 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19446 file.
19447 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19449 New file.
19450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19451 New file.
19452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19453 New file.
19454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19455 New file.
19456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19457 New file.
19458 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19459 New file.
19460 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19461 New file.
19462 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19463 New file.
19464 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19465 New file.
19466 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19467 New file.
19468 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19469 New file.
19470 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19471 New file.
19472 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19473 New file.
19474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19475 file.
19476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19477 New file.
19478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19479 New file.
19480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19481 file.
19482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19483 New file.
19484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19485 New file.
19486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19487 file.
19488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19489 New file.
19490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19491 New file.
19492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19493 New file.
19494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19495 New file.
19496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19497 New file.
19498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19499 New file.
19500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19502 file.
19503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19504 New file.
19505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19506 file.
19507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19508 file.
19509 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19510 file.
19511 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19512 file.
19513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19514 file.
19515 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19516 New file.
19517 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19518 file.
19519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19520 file.
19521 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19522 New file.
19523 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19524 file.
19525 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19527 file.
19528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19529 New file.
19530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19531 file.
19532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19533 file.
19534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19535 file.
19536 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19537 file.
19538 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19539 file.
19540 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19541 New file.
19542 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19543 file.
19544 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19545 file.
19546 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19547 New file.
19548 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19549 file.
19550 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19551 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19552 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19553 file.
19554 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19555 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19556 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19557 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19558 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19559 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19560 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19561 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19562 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19563 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19566 file.
19567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19568 New file.
19569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19570 file.
19571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19572 file.
19573 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19574 file.
19575 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19576 file.
19577 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19578 file.
19579 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19580 New file.
19581 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19582 New file.
19583 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19584 file.
19585 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19586 New file.
19587 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19588 file.
19589 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19591 file.
19592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19593 New file.
19594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19595 file.
19596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19597 file.
19598 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19599 file.
19600 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19601 file.
19602 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19603 file.
19604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19605 New file.
19606 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19607 New file.
19608 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19609 file.
19610 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19611 New file.
19612 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19613 file.
19614
41d73a1b
JM
196152012-04-28 Joseph Myers <joseph@codesourcery.com>
19616
19617 * conform/conformtest.pl: Fix typo in handling typed-constant from
19618 allow-header.
19619
28aeeda4
JM
196202012-04-27 Joseph Myers <joseph@codesourcery.com>
19621
adae8f5e
JM
19622 * README: Cut down references to pre-2.6 Linux kernels and
19623 Linuxthreads. Update lists of configurations in libc and ports
19624 and sort alphabetically. Say "or newer" with Linux kernel version
19625 requirements.
19626
28aeeda4
JM
19627 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19628
a462cb63
RA
196292012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19630
19631 [BZ #887]
19632 * math/libm-test.inc (logb_test_downward): New test to expose
19633 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19634 rounding mode.
19635
6ad3493e
JM
196362012-04-27 Joseph Myers <joseph@codesourcery.com>
19637
19638 [BZ #14027]
19639 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19640 to be done.
19641 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19642 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19643
2ce4f015
JM
196442012-04-26 Joseph Myers <joseph@codesourcery.com>
19645
5aeb141a
JM
19646 * sysdeps/unix/i386/brk.S: Remove file.
19647 * sysdeps/unix/i386/dl-brk.S: Likewise.
19648 * sysdeps/unix/i386/pipe.S: Likewise.
19649 * sysdeps/unix/i386/sigreturn.S: Likewise.
19650 * sysdeps/unix/i386/syscall.S: Likewise.
19651 * sysdeps/unix/i386/vfork.S: Likewise.
19652 * sysdeps/unix/i386/wait.S: Likewise.
19653
7143acae
JM
19654 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19655 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19656
2ce4f015
JM
19657 * configure.in (arm*-none*): Do not allow without
19658 --enable-hacker-mode.
19659 (netbsd*): Remove case setting base_os.
19660 (386bsd*): Likewise.
19661 (freebsd*): Likewise.
19662 (bsdi*): Likewise.
19663 (osf*): Likewise.
19664 (sunos*): Likewise.
19665 (ultrix*): Likewise.
19666 (newsos*): Likewise.
19667 (dynix*): Likewise.
19668 (*bsd*): Likewise.
19669 (sysv*): Likewise.
19670 (isc*): Likewise.
19671 (esix*): Likewise.
19672 (sco*): Likewise.
19673 (minix*): Likewise.
19674 (irix4*): Likewise.
19675 (irix6*): Likewise.
19676 (solaris[2-9]*): Likewise.
19677 (none): Likewise.
19678 * configure: Regenerated.
19679
0ac229c8
AZ
196802012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19681
19682 [BZ #11521]
19683 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19684 overflow or cancellation in calculating denominator.
19685 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19686 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19687 down expression to avoid unexpected rounding in newer GCCs.
19688 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19689
33f244f4
DM
196902012-04-26 David S. Miller <davem@davemloft.net>
19691
19692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19693 long-double compat symbols.
19694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19699 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19700 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19701 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19702 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19707
cfa1f3e8
DM
197082012-04-25 David S. Miller <davem@davemloft.net>
19709
19710 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19711 HWCAP_* values only after the memory barriers have been defined.
19712 (atomic_full_barrier): Define.
19713 (atomic_read_barrier): Define.
19714 (atomic_write_barrier): Define.
19715
6e236b92
SP
197162012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19717
19718 * shlib-versions: Add libgcc_s version information.
19719 * sysdeps/generic/libgcc_s.h: Remove.
19720 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19721 libgcc_s.h.
19722 * sysdeps/gnu/unwind-resume.c: Likewise.
19723 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19724
aab39a09
DM
197252012-04-25 David S. Miller <davem@davemloft.net>
19726
19727 * sysdeps/unix/sparc/brk.S: Delete.
19728 * sysdeps/unix/sparc/dl-brk.S: Delete.
19729 * sysdeps/unix/sparc/pipe.S: Delete.
19730 * sysdeps/unix/sparc/sysdep.S: Delete.
19731 * sysdeps/unix/sparc/sysdep.h: Delete.
19732 * sysdeps/unix/sparc/vfork.S: Delete.
19733 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19734 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19735 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19736 ret_ERRVAL, r0, r1, MOVE): Define.
19737 (JUMPTARGET): Remove.
19738 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19739 sysdeps/unix/sparc/sysdep.h
19740 (ENTRY, END): Remove.
19741 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19742
a3cc4f48
JM
197432012-04-25 Joseph Myers <joseph@codesourcery.com>
19744
2ed8cda2
JM
19745 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19746 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19747 -DIS_IN_build.
19748
35d76d59
JM
19749 * timezone/README: Update upstream location and email address for
19750 tzcode and tzdata.
19751 * timezone/zdump.c: Update from tzcode 2012b.
19752 * timezone/zic.c: Likewise.
19753
a3cc4f48
JM
19754 * configure.in (libc_cv_as_needed): Remove test.
19755 * configure: Regenerated.
19756 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19757 conditional definition.
19758 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19759 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19760 * config.make.in (have-as-needed): Remove variable.
19761
ceab42c3
SP
197622012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19763 Paul Pluzhnikov <ppluzhnikov@google.com>
19764
19765 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19766 strings correctly.
19767
3ce2865f
CLT
197682012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19769
19770 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19771 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19772 * sysdeps/sh/strlen.S: Likewise.
19773
f37e0d68
JM
197742012-04-24 Joseph Myers <joseph@codesourcery.com>
19775
ae186e9a
JM
19776 * sysdeps/unix/fork.S: Remove file.
19777 * sysdeps/unix/i386/fork.S: Likewise.
19778 * sysdeps/unix/sparc/fork.S: Likewise.
19779
b96914af
JM
19780 * sysdeps/unix/system.c: Remove file.
19781 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19782
f37e0d68
JM
19783 * sysdeps/unix/getegid.S: Remove file.
19784 * sysdeps/unix/geteuid.S: Likewise.
19785
87ef29ca
RM
197862012-04-24 Roland McGrath <roland@hack.frob.com>
19787
83bcd236
RM
19788 * scripts/check-localplt.awk: New file.
19789 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19790 of diff.
19791 * scripts/data/localplt-generic.data: Add a comment.
19792
87ef29ca
RM
19793 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19794 NODE when __dir_mkfile failed.
19795 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19796 Reported by Ludovic Courtès <ludo@gnu.org>.
19797
e5a6e567
AJ
197982012-04-24 Andreas Jaeger <aj@suse.de>
19799
19800 * Makerules (common-clean): Also remove gen-as-const-headers
19801 files.
19802
c1820385
JM
198032012-04-24 Joseph Myers <joseph@codesourcery.com>
19804
19805 * Makerules (native-compile): Do not change working directory for
19806 build. Use $(OUTPUT_OPTION) in command.
19807 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19808
94e02fc4
AZ
198092012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19810
19811 [BZ #13886]
19812 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19813 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19814 * math/libm-test.inc (floor_test): Add more tests.
19815 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19816
3a533ca3
JM
198172012-04-24 Joseph Myers <joseph@codesourcery.com>
19818
940ab4b3
JM
19819 * sysdeps/unix/getdents.c: Remove file.
19820 * sysdeps/unix/sysv/getdents.c: Likewise.
19821 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19822
90e037bd
JM
19823 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19824 sysdeps/unix/mman/syscalls.list.
19825 (mmap): Likewise.
19826 (mprotect): Likewise.
19827 (msync): Likewise.
19828 (munmap): Likewise.
19829 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19830 * sysdeps/unix/mman/syscalls.list: Remove.
19831 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19832
3a533ca3
JM
19833 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19834 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19835 * configure: Regenerated.
19836 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19837 $(libgcc_s_suffix).
19838 * config.make.in (libgcc_s_suffix): Remove variable.
19839
1ad743de
JM
198402012-04-23 Joseph Myers <joseph@codesourcery.com>
19841
4ad451e2
JM
19842 * sysdeps/unix/sysv/gethostname.c: Move to ...
19843 * sysdeps/posix/gethostname.c: ... here.
19844
5e37ce39
JM
19845 * sysdeps/unix/execve.S: Remove file.
19846
1ad743de
JM
19847 * sysdeps/unix/_exit.S: Remove file.
19848
4e681b5b
AJ
198492012-04-23 Andreas Jaeger <aj@suse.de>
19850
19851 [BZ #13739]
19852 * manual/Makefile: Remove make dist support, there's no
19853 need for a stand-alone documentation tar ball.
19854 (TEXI2DVI): Define always, it's not in Makeconfig.
19855 (dist): Removed.
19856 (tar-it): Removed.
19857 (edition): Removed.
19858 (glibc-doc-$(edition).tar): Removed
19859 (%.Z): Removed.
19860 (%.gz): Removed.
19861 (%.uu): Removed.
19862 (ETAGS): Remove, it's in Makeconfig.
19863 (move-if-change): Remove, it's in Makeconfig.
19864
38686a03 198652012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
19866
19867 [BZ #13970]
19868 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19869 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19870 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19871 (strtod_l, strtof_l, strtold_l): Remove __wur.
19872 It is not necessarily an error to ignore strtol's return value.
19873 One can reliably look at the stored endptr to decide whether
19874 the number had valid syntax.
19875
7c0616fa
AJ
198762012-04-21 Andreas Jaeger <aj@suse.de>
19877
803cb6b7 19878 [BZ #13739]
7c0616fa
AJ
19879 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19880
b0fe253f
JM
198812012-04-21 Joseph Myers <joseph@codesourcery.com>
19882
19883 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19884 * sysdeps/unix/sysv/Versions: Remove file.
19885
8280f22d
MT
198862012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19887
19888 [BZ #13927]
19889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19890
75ce411f 198912012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
19892
19893 [BZ #7064]
19894 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19895 version from __vm86.
19896
097d59fa
JM
198972012-04-20 Joseph Myers <joseph@codesourcery.com>
19898
a90f3bcb
JM
19899 * sysdeps/unix/common/lxstat.c: Remove file.
19900 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19901
edc7ea78
JM
19902 * sysdeps/unix/sysv/Makefile: Remove file.
19903
cb78c221
JM
19904 * sysdeps/unix/sysv/direct.h: Remove file.
19905
efa6a45f
JM
19906 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19907 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19908 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19909 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19910 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19911 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19912 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19913
9c9f2d0c
JM
19914 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19915
4541c83b
JM
19916 * sysdeps/unix/xmknod.c: Remove file.
19917 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19918
f5d153a0
JM
19919 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19920
aa746595
JM
19921 * sysdeps/unix/sysv/i386/time.S: Remove file.
19922
cce5905e
JM
19923 * sysdeps/unix/fxstat.c: Remove file.
19924 * sysdeps/unix/xstat.c: Likewise.
19925 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19926
37fa3841
JM
19927 * sysdeps/unix/sysv/sigaction.c: Remove file.
19928
ff1962a3
JM
19929 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19930 (sysdep_headers): Remove variable.
19931 [termio.h not in sysdep_headers] (generated): Likewise.
19932 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19933 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19934 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19935 * sysdeps/unix/sysv/tcflow.c: Likewise.
19936 * sysdeps/unix/sysv/tcflush.c: Likewise.
19937 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19938 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19939 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19940 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19941 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19942
e7740d31
JM
19943 * sysdeps/unix/siglist.c: Remove file.
19944
ee06f18b
JM
19945 * sysdeps/unix/getppid.S: Remove file.
19946
097d59fa
JM
19947 * sysdeps/unix/mkdir.c: Remove file.
19948 * sysdeps/unix/rmdir.c: Likewise.
19949
ff3d51ec
AS
199502012-04-19 Andreas Schwab <schwab@linux-m68k.org>
19951
19952 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19953 ERR_MAX value.
19954 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19955 errlist-compat value.
19956
50f81fd7
DM
199572012-04-18 David S. Miller <davem@davemloft.net>
19958
19959 * sysdeps/generic/memcopy.h (reg_char): Delete.
19960 * debug/strcat_chk.c: Use char, not reg_char.
19961 * debug/strcpy_chk.c: Likewise.
19962 * debug/strncat_chk.c: Likewise.
19963 * debug/strncpy_chk.c: Likewise.
19964 * string/memchr.c: Likewise.
19965 * string/memrchr.c: Likewise.
19966 * string/rawmemchr.c: Likewise.
19967 * string/strcat.c: Likewise.
19968 * string/strchr.c: Likewise.
19969 * string/strchrnul.c: Likewise.
19970 * string/strcmp.c: Likewise.
19971 * string/strcpy.c: Likewise.
19972 * string/strncat.c: Likewise.
19973 * string/strncmp.c: Likewise.
19974 * string/strncpy.c: Likewise.
19975
8ff41c46
WS
199762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19977
19978 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19979 __builtin_memcopy is called when src and dest ranges are known to not
19980 overlap.
19981
6b652f46
WS
199822012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19983
19984 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19985 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19986 fwd_align_merge macro call.
19987 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19988 bwd_align_merge macro call.
19989 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19990
b282631e
WS
199912012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19992
19993 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19994 bwd_align_merge macros.
19995 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19996 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19997 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19998
95aa737c
DM
199992012-04-18 David S. Miller <davem@davemloft.net>
20000
20001 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20002
7a99a614
AJ
200032012-04-18 Andreas Jaeger <aj@suse.de>
20004
20005 [BZ# 6794]
20006 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20007 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20008 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20009
20010 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20011 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20012 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20013
20014 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20015 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20016 Adjust for changed ldbl-128 files.
20017
20018 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20019 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20020 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20021
e5270c23
DM
200222012-04-17 David S. Miller <davem@davemloft.net>
20023
20024 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20025
fb5e92c9
AS
200262012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20027
20028 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20029 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20030 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20031 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20032 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20033 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20034
76da7265
AZ
200352012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20036
20037 [BZ #6794]
20038 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20039 * math/libm-test.inc: Add ilogb errno and exception tests.
20040 * math/w_ilogb.c: New file: ilogb wrapper.
20041 * math/w_ilogbf.c: New file: ilogbf wrapper.
20042 * math/w_ilogbl.c: New file: ilogbl wrapper.
20043 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20044 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20045 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20046 exception being thrown with 0.0 as argument.
20047 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20048 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20049 exception being thrown with 0.0 as argument.
20050 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20051 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20052 exception being thrown with 0.0 as argument.
20053 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20054 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20055 exception being thrown with 0.0 as argument.
20056 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20057 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20058 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20059 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20060 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20061 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20062 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20063 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20064 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20065
0396e69d
PB
200662012-04-17 Petr Baudis <pasky@ucw.cz>
20067
20068 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20069 with altivec.
20070
750b5926
MP
200712012-04-16 Marek Polacek <polacek@redhat.com>
20072
20073 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20074
751728a1
MP
200752012-04-16 Marek Polacek <polacek@redhat.com>
20076
20077 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20078 operands of fdivp instruction.
20079
34a27407
L
200802012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20081
20082 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20083 * elf/tst-auditmod3b.c: Likewise.
20084 * elf/tst-auditmod4b.c: Likewise.
20085 * elf/tst-auditmod5b.c: Likewise.
20086 * elf/tst-auditmod6b.c: Likewise.
20087 * elf/tst-auditmod6c.c: Likewise.
20088 * elf/tst-auditmod7b.c: Likewise.
20089 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20090 * sysdeps/x86_64/preconfigure.in: Likewise.
20091 * sysdeps/x86_64/preconfigure: Regenerated.
20092
7e73e17d
L
200932012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20094
20095 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20096 __ILP32__.
20097
c7a6ab72
AB
200982012-04-13 Antoine Balestrat <merkil33@gmail.com>
20099
20100 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20101 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20102
a9e8e0e0
CL
201032012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20104
20105 [BZ #13973]
20106 * locale/iso-639.def: Fix gl language name. Spotted by
20107 Yaron Shahrabani.
20108
ec98af7d
RM
201092012-04-12 Roland McGrath <roland@hack.frob.com>
20110
20111 [BZ #2074]
20112 * libio/libio.h (__io_write_fn): Update comment.
20113
247c3ede
PB
201142012-04-12 Petr Baudis <pasky@ucw.cz>
20115
20116 [BZ #2074]
20117 * stdio.texi (Hook Functions): The user provided writer function
20118 is not allowed to return -1.
20119
55939d6d
DM
201202012-04-11 David S. Miller <davem@davemloft.net>
20121
20122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20123
90020f5a
MF
201242012-04-11 Mike Frysinger <vapier@gentoo.org>
20125
20126 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20127 Add a leading slash to rtkaio.
20128
288f9098
JM
201292012-04-11 Jim Meyering <meyering@redhat.com>
20130
90020f5a
MF
20131 [BZ #11959]
20132 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20133 It is not necessarily an error to ignore fwrite's return
20134 value. One can reliably use ferror to test for errors after
20135 the fact.
288f9098 20136
4be2b570
L
201372012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20138
20139 * bits/types.h (__snseconds_t): New type.
20140 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20141
20142 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20143 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20144 (__SNSECONDS_T_TYPE): Likewise.
20145 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20146 (__SNSECONDS_T_TYPE): Likewise.
20147 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20148 (__SNSECONDS_T_TYPE): Likewise.
20149
288f9098 201502012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20151
20152 [BZ #2636]
20153 * manual/time.texi (Processor Time): Return type of times is
20154 elapsed real time since an arbitrary point in the past.
20155 (CPU Time): Move CLK_TCK from here...
20156 (Processor Time): ...to here. Correct description.
20157 * manual/conf.texi (Constants for Sysconf): Correct description of
20158 _SC_CLK_TCK.
20159
d7dd4413
DM
201602012-04-10 David S. Miller <davem@davemloft.net>
20161
20162 [BZ #13967]
20163 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20164 where the is a gap between DT_REL(A) and DT_JMPREL.
20165
b46068fc
L
201662012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20167
20168 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20169 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20170 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20171
73d65cc3
SP
201722012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20173
20174 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20175 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20176 (dl_main): Handle --inhibit-cache.
20177 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20178 _dl_inhibit_cache.
20179 * elf/dl-load.c (_dl_map_object): Use it.
20180 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20181
bcc8d661
JM
201822012-04-09 Joseph Myers <joseph@codesourcery.com>
20183
8f9a2fae
JM
20184 [BZ #13872]
20185 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20186 (__ieee754_powl): Saturate large exponents rather than testing for
20187 overflow of y*log2(x).
20188 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20189 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20190 exceptions.
20191
bcc8d661
JM
20192 [BZ #11521]
20193 * math/s_ctan.c: Include <float.h>.
20194 (__ctan): Avoid internal overflow or cancellation in calculating
20195 denominator.
20196 * math/s_ctanf.c: Likewise.
20197 * math/s_ctanl.c: Likewise.
20198 * math/s_ctanh.c: Likewise.
20199 * math/s_ctanhf.c: Likewise.
20200 * math/s_ctanhl.c: Likewise.
20201 * math/libm-test.inc (ctan_test): Add more tests.
20202 (ctanh_test): Likewise.
20203 * sysdeps/i386/fpu/libm-test-ulps: Update.
20204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20205
823fbbb4
AJ
202062012-04-09 Andreas Jaeger <aj@suse.de>
20207
03879793
AJ
20208 [BZ #6894]
20209 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20210 is an optional BSD extension.
20211
823fbbb4
AJ
20212 [BZ #10254]
20213 * manual/stdio.texi (Opening Streams): Document additional fopen
20214 parameters.
20215
8de131cb
RM
202162012-04-09 Roland McGrath <roland@hack.frob.com>
20217
20218 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20219 %eax without telling the compiler.
20220
c0ed9d7d
CD
202212012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20222
20223 [BZ # 13963]
20224 * manual/install.texi: Use sourceware.org.
20225
c483f6b4
JM
202262012-04-09 Joseph Myers <joseph@codesourcery.com>
20227
d7dd9453
JM
20228 [BZ #13873]
20229 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20230 (__ieee754_pow): Generate overflow and underflow using huge*huge
20231 and tiny*tiny rather than just returning constant infinity or zero
20232 for large exponents.
20233 * math/libm-test.inc (pow_test): Require overflow exceptions for
20234 applicable cases of large exponents.
20235
c483f6b4
JM
20236 [BZ #706]
20237 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20238 (__ieee754_pow): Use iterative multiplication algorithm only for
20239 integer exponents with absolute value below 1024. Check for odd
20240 integer exponents when using algorithm for real exponents.
20241 * math/libm-test.inc (pow_test): Add more tests.
20242 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20243
d2de7579
JM
202442012-04-08 Joseph Myers <joseph@codesourcery.com>
20245
20246 [BZ #13705]
20247 * math/libm-test.inc (exp_test): Do not allow overflow exception
20248 on underflow test.
20249
f77f1232
AJ
202502012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20251
20252 [BZ #13705]
20253 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20254 instead of __kernel_standard_f.
20255
3884932b
MF
202562012-04-08 Mike Frysinger <vapier@gentoo.org>
20257
20258 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20259 * sysdeps/x86_64/memset_chk.S: Likewise.
20260
54472e9c
AJ
202612012-04-08 Andreas Jaeger <aj@suse.de>
20262
6ab0fbfc
AJ
20263 [BZ #10153]
20264 * manual/startup.texi (Environment Access): Describe return value
20265 for putenv and setenv.
20266
61efba8c
AJ
20267 [BZ #6895]
20268 * manual/filesys.texi (Directory Entries): Add description for
20269 DT_LNK.
20270
95c3f29a
AJ
20271 [BZ #6890]
20272 * manual/filesys.texi (Directory Entries): Clarify that it's file
20273 system not operating system in the description of DT_UNKNOWN.
20274
54472e9c
AJ
20275 [BZ #6578]
20276 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20277
624254b1
SC
202782012-04-08 Stephen Compall <s11@member.fsf.org>
20279
20280 [BZ #6649]
20281 * manual/llio.texi (Opening and Closing Files): Add cross
20282 reference to explain mode argument.
20283
1e4920e0
MF
202842012-04-07 Mike Frysinger <vapier@gentoo.org>
20285
20286 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20287 * sysdeps/x86_64/memset_chk.S: Likewise.
20288
5ed848f3
DM
202892012-04-07 David S. Miller <davem@davemloft.net>
20290
20291 * elf/elf.h (R_SPARC_WDISP10): Define.
20292 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20293 R_SPARC_SIZE32.
20294 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20295 R_SPARC_SIZE64 and R_SPARC_H34.
20296
96154cd8
CD
202972012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20298
20299 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20300 conditions and remove no longer applicable assertion.
20301
9904dc47
L
203022012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20303
20304 * bits/byteswap.h: Include <features.h>.
20305 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20306 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20307
f8887d0a
L
203082012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20309
20310 * bits/byteswap.h (__bswap_16): Removed.
20311 Include <bits/byteswap-16.h> to get __bswap_16.
20312 * sysdeps/i386/bits/byteswap.h: Likewise.
20313 * sysdeps/s390/bits/byteswap.h: Likewise.
20314 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20315 * bits/byteswap-16.h: New file.
20316 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20317 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20318 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20319 * string/Makefile (headers): Add bits/byteswap-16.h.
20320
62470f60
PP
203212012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20322
20323 [BZ #13895]
20324 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20325 extra indirection.
20326 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20327 * nss/tst-nss-static.c: New.
20328
4dad7bab
RM
203292012-04-06 Robert Millan <rmh@gnu.org>
20330
20331 [BZ #6486]
20332 * manual/llio.texi (File Position Primitive): lseek
20333 refers to WHENCE when it really means OFFSET.
20334
e9142a17
AJ
203352012-04-06 Andreas Jaeger <aj@suse.de>
20336
2c040eff
AJ
20337 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20338 strncmp declarations.
20339
e9142a17
AJ
20340 * abilist/libc.abilist: Add __poll and __ppoll.
20341
ff9f1c5f
DM
203422012-04-05 David S. Miller <davem@davemloft.net>
20343
dcd2ae90
DM
20344 * scripts/check-local-headers.sh: Accept a host triplet in the
20345 path matched by the exclude regexp.
20346
993eb054
DM
20347 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20348 definition.
20349 * sysdeps/powerpc/powerpc32/dl-machine.h
20350 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20351 * sysdeps/s390/s390-32/dl-machine.h
20352 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20353 * sysdeps/sparc/sparc32/dl-machine.h
20354 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20355 * sysdeps/sparc/sparc64/dl-machine.h
20356 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20357
ff9f1c5f
DM
20358 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20359 lazy binding.
48e2e132 20360 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20361 undefined symbol errors.
20362
48e2e132 20363 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20364 DT_NEEDED entries.
20365
e80d6f94
MM
203662012-04-05 Michael Matz <matz@suse.de>
20367
20368 [BZ #13592]
20369 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20370
349fa79f
AJ
203712012-04-05 Andreas Jaeger <aj@suse.de>
20372
20373 [BZ #13908]
20374 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20375 comment.
20376
f402708f
KK
203772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20378
20379 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20380 which ROUND is no valid rounding mode.
20381
2ecccfc9
KK
203822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20383
20384 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20385 read again.
20386 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20387
8a53f50f
KK
203882012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20389
20390 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20391 an exception using FPU order intentionally.
20392
203932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20394
20395 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20396 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20397 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20398 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20399
d653abb7
SJ
204002012-04-05 Simon Josefsson <simon@josefsson.org>
20401
20402 [BZ #12340]
20403 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20404 EINVAL when BUFLEN is too smal.
20405
c3b1bf7d
TS
204062012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20407
20408 [BZ #13553]
20409 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20410 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20411
b1aa60f3
AJ
204122012-04-03 Andreas Jaeger <aj@suse.de>
20413
c3b1bf7d 20414 [BZ #13938]
67f60a26
AJ
20415 * manual/setjmp.texi (System V contexts): Fix sentence.
20416
b1aa60f3
AJ
20417 [BZ #13926]
20418 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20419 New macro for this case.
20420 [!__GNUC__] (__bswap_64): New inline function for this case.
20421 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20422 * bits/byteswap.h: Likewise.
20423 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20424 ull, guard with __GLIBC_HAVE_LONG_LONG.
20425
20426 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20427 __GLIBC_HAVE_LONG_LONG.
20428
20429 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20430 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20431
39c59c35
TMQMF
204322012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20433
20434 [BZ #13691]
20435 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20436 inptr and inend, rather than using last_ch.
20437
135ffda8
DM
204382012-04-02 David S. Miller <davem@davemloft.net>
20439
20440 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20441 * stdio-common/printf-parse.h (read_int): Change return type to
20442 'int', return -1 on INT_MAX overflow.
20443 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20444 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20445 overflows INT_MAX. Check for overflow of in-format-string precision
20446 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20447 SIZE_MAX not INT_MAX for integer overflow test.
20448 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20449 skip the construct in the format string but do not record anything.
20450 * stdio-common/bug22.c: Adjust to test both width/prevision
20451 INT_MAX overflow as well as total length INT_MAX overflow. Check
20452 explicitly for proper errno values.
20453
228c019e
TS
204542012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20455
302cadd3
TS
20456 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20457 CHAR_MAX.
20458 * string/test-strcmp.c [! WIDE]: Likewise.
20459 * time/tst-mktime2.c: Likewise for INT_MAX.
20460 * string/test-string.h: #include <sys/param.h> for MIN.
20461
228c019e
TS
20462 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20463 * sysdeps/i386/init-first.c (init): Likewise.
20464 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20465 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20466 * sysdeps/sh/init-first.c (init): Likewise.
20467
cfa633f5
UD
204682012-04-01 Ulrich Drepper <drepper@gmail.com>
20469
20470 * po/ru.po: Update from translation team.
d1635ef8 20471 * po/vi.po: Likewise.
cfa633f5 20472
6cd0a5ea
SP
204732012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20474
20475 * resolv/nss_dns/dns-host.c: Merge copyright years.
20476
4b43400f
LD
204772012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20478
20479 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20480 Optimize memcpy with prefetch if
20481 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20482 src, dst pointers have unequal 16 byte alignments.
20483
48c41d04
SP
204842012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20485
20486 [BZ #13928]
20487 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20488 from a CNAME entry and return the minimum ttl for the query.
20489 (gaih_getanswer_slice): Likewise.
20490
b8dc394d
JL
204912012-03-30 Jeff Law <law@redhat.com>
20492
20493 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20494 due to long keys.
20495 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20496 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20497
2f5a5ed0
JL
20498 * resolv/nss_dns/dns-host.c: Update copyright year.
20499
1d39e359
UD
205002012-03-30 Ulrich Drepper <drepper@gmail.com>
20501
c030f70c 20502 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20503 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20504
1d39e359
UD
20505 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20506 comments for sendmmsg.
20507
205082012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20509
20510 [BZ #13691]
20511 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20512 with only 1 character between 0x0041 and 0x01b0.
20513 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20514 * wcsmbs/tst-mbsnrtowcs.c: New file.
20515
20fde227
DM
205162012-03-29 David S. Miller <davem@davemloft.net>
20517
20518 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20519 small copies by hand.
20520
984a4237
JL
205212012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20522
20523 [BZ #13761]
20524 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20525 _nss_compat_initgroups_dyn): Fall back to malloc/free
20526 for large group memberships.
20527
18c9d62b
DM
205282012-03-28 David S. Miller <davem@davemloft.net>
20529
88d85d4f
DM
20530 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20531 that branches into memcpy.
20532 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20533 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20534 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20535 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20536 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20537 bits.
20538 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20539 implementation too.
20540 * sysdeps/sparc/mempcpy.S: New file.
20541
e5aa83e1
DM
20542 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20543 the IFUNC routine in the libc case.
20544 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20545
88570753
DM
20546 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20547 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20548 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20549 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20550 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20551 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20552 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20553 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20554
249d7567
DM
20555 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20556 loop to 256 bytes instead of 64 bytes and fix test signedness.
20557
18c9d62b
DM
20558 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20559 * sysdeps/sparc/sparc32/Makefile: rather than here...
20560 * sysdeps/sparc/sparc64/Makefile: and here.
20561
05f3d1f6
UD
205622012-03-28 Ulrich Drepper <drepper@gmail.com>
20563
20564 * malloc/mallocbug.c: Avoid warnings about unused variables.
20565
86ae07a8
JL
205662012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20567
20568 [BZ #13760]
20569 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20570 in the right place. Discard and retry query if response is
20571 larger than input buffer size.
20572
41bf21a1
JM
205732012-03-28 Joseph Myers <joseph@codesourcery.com>
20574
d6270972
JM
20575 [BZ #369]
20576 [BZ #2678]
20577 [BZ #3866]
20578 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20579 x for large integer exponent.
20580 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20581 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20582 sign of result as needed afterwards.
20583 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20584 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20585 result for underflowing pow the same as for overflow.
20586 (__kernel_standard_l): Handle powl overflow and underflow here
20587 rather than calling __kernel_standard.
20588 * math/libm-test.inc (pow_test): Add more tests.
20589
414fca03 20590 [BZ #3868]
41bf21a1
JM
20591 [BZ #13879]
20592 [BZ #13910]
20593 [BZ #13911]
20594 [BZ #13912]
20595 [BZ #13913]
20596 [BZ #13915]
20597 [BZ #13916]
20598 [BZ #13917]
20599 [BZ #13918]
20600 [BZ #13919]
20601 [BZ #13920]
20602 [BZ #13921]
20603 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20604 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20605 (__kernel_standard_l): New function.
20606 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20607 __kernel_standard.
20608 * math/w_acosl.c (__acosl): Likewise.
20609 * math/w_asinl.c (__asinl): Likewise.
20610 * math/w_atan2l.c (__atan2l): Likewise.
20611 * math/w_atanhl.c (__atanhl): Likewise.
20612 * math/w_coshl.c (__coshl): Likewise.
20613 * math/w_exp10l.c (__exp10l): Likewise.
20614 * math/w_exp2l.c (__exp2l): Likewise.
20615 * math/w_fmodl.c (__fmodl): Likewise.
20616 * math/w_hypotl.c (__hypotl): Likewise.
20617 * math/w_j0l.c (__j0l, __y0l): Likewise.
20618 * math/w_j1l.c (__j1l, __y1l): Likewise.
20619 * math/w_jnl.c (__jnl, __ynl): Likewise.
20620 * math/w_lgammal.c (__lgammal): Likewise.
20621 * math/w_log10l.c (__log10l): Likewise.
20622 * math/w_log2l.c (__log2l): Likewise.
20623 * math/w_logl.c (__logl): Likewise.
20624 * math/w_powl.c (__powl): Likewise.
20625 * math/w_remainderl.c (__remainderl): Likewise.
20626 * math/w_scalbl.c (sysv_scalbl): Likewise.
20627 * math/w_sinhl.c (__sinhl): Likewise.
20628 * math/w_sqrtl.c (__sqrtl): Likewise.
20629 * math/w_tgammal.c (__tgammal): Likewise.
20630 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20631 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20632 * math/libm-test.inc (acos_test): Add more tests.
20633 (acosh_test): Likewise.
20634 (asin_test): Likewise.
20635 (atanh_test): Likewise.
20636 (exp_test): Likewise.
20637 (exp10_test): Likewise.
20638 (exp2_test): Likewise.
20639 (expm1_test): Likewise.
20640 (lgamma_test): Likewise.
20641 (log_test): Likewise.
20642 (log10_test): Likewise.
20643 (log1p_test): Likewise.
20644 (log2_test): Likewise.
20645 (pow_test): Do not allow some spurious overflow exceptions.
20646 (sqrt_test): Add more tests.
20647 (tgamma_test): Likewise.
20648 (y0_test): Likewise.
20649 (y1_test): Likewise.
20650 (yn_test): Likewise.
20651
dd62fda6
AB
206522012-03-27 Anton Blanchard <anton@samba.org>
20653
20654 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20655 MAP_HUGETLB.
20656 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20657 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20658 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20659
1e3cdfda
AJ
206602012-03-27 David S. Miller <davem@davemloft.net>
20661
b855ab85
DM
20662 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20663
1e3cdfda
AJ
20664 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20665 have-as-vis3 check.
20666
206672012-03-27 Andreas Jaeger <aj@suse.de>
20668
20669 * sysdeps/x86_64/elf/configure.in: Moved to ...
20670 * sysdeps/x86_64/configure.in: ... here.
20671 * sysdeps/x86_64/elf/start.S: Moved to ...
20672 * sysdeps/x86_64/start.S: ... here.
20673 * sysdeps/x86_64/elf/configure: Delete.
20674
20675 * sysdeps/x86_64/configure.in: Merge contents from
20676 sysdeps/i386/configure.in (without i686 check).
20677
20678 * sysdeps/i386/elf/Versions: Merge into ...
20679 * sysdeps/i386/Versions: ... this.
20680 * sysdeps/i386/elf/Versions: Delete file.
20681 * sysdeps/i386/elf/start.S: Moved to ...
20682 * sysdeps/i386/start.S: ...here.
20683 * sysdeps/i386/elf/configure.in: Merge into...
20684 * sysdeps/i386/configure.in: ...here.
20685 * sysdeps/i386/elf/configure.in: Delete file.
20686 * sysdeps/i386/elf/configure: Delete file.
20687
20688 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20689 * debug/backtracesyms.c: ... here.
20690 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20691 * debug/backtracesymsfd.c: ... here.
20692 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20693 * sysdeps/generic/ifunc-sel.h: ... here.
20694
20695 * sysdeps/unix/i386/start.c: Delete file.
20696 * sysdeps/unix/sparc/start.c: Delete file.
20697 * sysdeps/unix/start.c: Delete file.
20698
20699 * sysdeps/sh/elf/configure.in: Moved to ...
20700 * sysdeps/sh/configure.in: ... here.
20701 * sysdeps/sh/elf/start.S: Moved to ...
20702 * sysdeps/sh/start.S: ... here.
20703 * sysdeps/sh/elf/configure: Delete file.
20704
20705 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20706 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20707 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20708 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20709 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20710 * sysdeps/powerpc/powerpc64/start.S: here.
20711 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20712 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20713 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20714 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20715 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20716
20717 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20718 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20719 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20720 * sysdeps/powerpc/powerpc32/start.S: ... here.
20721 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20722 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20723 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20724
20725 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20726 * sysdeps/powerpc/ifunc-sel.h: ... here.
20727 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20728 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20729
20730 * sysdeps/sparc/elf/configure.in: Moved to ...
20731 * sysdeps/sparc/configure.in: ... here.
20732 * sysdeps/sparc/elf/configure: Delete file.
20733 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20734 * sysdeps/sparc/sparc32/start.S: ... here.
20735 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20736 * sysdeps/sparc/sparc64/start.S: ... here.
20737 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20738 * sysdeps/sparc/sparc32/Makefile: ... this.
20739 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20740 * sysdeps/sparc/sparc64/Makefile: ... this.
20741
20742 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20743 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20744 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20745 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20746 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20747 * sysdeps/s390/s390-32/setjmp.S: ... here.
20748 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20749 * sysdeps/s390/s390-32/configure.in: ... here.
20750 * sysdeps/s390/s390-32/elf/configure: Delete file.
20751 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20752 * sysdeps/s390/s390-32/start.S: ... here.
20753
20754 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20755 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20756 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20757 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20758 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20759 * sysdeps/s390/s390-64/setjmp.S: ... here.
20760 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20761 * sysdeps/s390/s390-64/configure.in: ... here
20762 * sysdeps/s390/s390-64/elf/configure: Delete file.
20763 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20764 * sysdeps/s390/s390-64/start.S: ... here.
20765 * sysdeps/s390/s390-64/elf/configure: Delete.
20766
20767 * configure.in: Remove support for elf directories in sysdeps.
20768
20769 * configure: Regenerated.
20770 * sysdeps/i386/configure: Regenerated.
20771 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20772 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20773 * sysdeps/s390/s390-32/configure: Regenerated.
20774 * sysdeps/s390/s390-64/configure: Regenerated.
20775 * sysdeps/sh/configure: Regenerated.
20776 * sysdeps/sparc/configure: Regenerated.
20777 * sysdeps/x86_64/configure: Regenerated.
20778
a3f61311
AS
207792012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20780
c876e002
AS
20781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20782
a3f61311
AS
20783 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20784 denormal result into account.
20785
ac4c54f0
RM
207862012-03-25 Roland McGrath <roland@hack.frob.com>
20787
20788 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20789 Reported by Allan McRae <allan@archlinux.org>.
20790
6a9b9c02
JL
207912012-03-23 Jeff Law <law@redhat.com>
20792
20793 * nss/getnssent.c (__nss_getent): Fix typo.
20794
4c42a0c1
DM
207952012-03-23 David S. Miller <davem@davemloft.net>
20796
20797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20798
1532c7ac
L
207992012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20800
20801 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20802 to pad to uint64_t for each field.
20803 (dl_tls_index): Replace unsigned long with uint64_t.
20804
3ff42526
PP
208052012-03-23 Daniel Jacobowitz <dmj@google.com>
20806 Paul Pluzhnikov <ppluzhnikov@google.com>
20807
20808 [BZ #6528]
20809 * grp/Makefile (otherlibs): Don't set it.
20810 * inet/Makefile (otherlibs): Likewise.
20811 * login/Makefile (otherlibs): Likewise.
20812 * nscd/Makefile (otherlibs): Likewise.
20813 * posix/Makefile (otherlibs): Likewise.
20814 * pwd/Makefile (otherlibs): Likewise.
20815 * rt/Makefile (otherlibs): Likewise.
20816 * sunrpc/Makefile (otherlibs): Likewise.
20817 * nss/Makefile (otherlibs): Likewise.
20818 Add libnss_files to routines and static-only-routines.
20819 ($(objpfx)getent): Remove rule.
20820 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20821 static-only-routines.
20822
7c69cd14
JM
208232012-03-22 Joseph Myers <joseph@codesourcery.com>
20824
20825 [BZ #13892]
20826 * math/s_cexp.c: Include <float.h>.
20827 (__cexp): Handle exp result overflowing not necessarily
20828 overflowing both real and imaginary parts of result.
20829 * math/s_cexpf.c: Likewise.
20830 * math/s_cexpl.c: Likewise.
20831 * math/libm-test.inc (cexp_test): Add more tests.
20832 * sysdeps/i386/fpu/libm-test-ulps: Update.
20833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20834
81b035fe
L
208352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20836
20837 * include/link.h (ELFW): New macro.
20838 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20839 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20840
1da7940c
L
208412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20842
20843 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20844 with uint64_t.
20845
b749dbb9
L
208462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20847
20848 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20849 declaration.
20850 (struct La_x32_retval): Likewise.
20851
2ff87f3f
L
208522012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20853
20854 * sysdeps/x86_64/preconfigure.in: New file.
20855 * sysdeps/x86_64/preconfigure: New generated file.
20856
c0df8e69
JM
208572012-03-22 Joseph Myers <joseph@codesourcery.com>
20858
48e44791
JM
20859 [BZ #13824]
20860 * math/e_exp2l.c: Include <float.h>.
20861 (__ieee754_exp2l): Handle overflow and underflow cases
20862 separately. Only pass fractional part of argument to
20863 __ieee754_expl.
20864 * math/libm-test.inc (exp2_test): Add more tests.
20865
c0df8e69
JM
20866 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20867 negating x to take absolute value.
20868 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20869 Likewise.
20870 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20871 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20872 Likewise.
20873 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20874 computing low part if x was negated.
20875 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20876
c8e43ba7
L
208772012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20878
20879 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20880 la_x32_gnu_pltexit.
20881 (pltexit): Cast int_retval to ptrdiff_t.
20882 * elf/tst-auditmod3b.c: Likewise.
20883 * elf/tst-auditmod4b.c: Likewise.
20884 * elf/tst-auditmod5b.c: Likewise.
20885 * elf/tst-auditmod6b.c: Likewise.
20886 * elf/tst-auditmod6c.c: Likewise.
20887 * elf/tst-auditmod7b.c: Likewise.
20888
20889 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20890 and x32_gnu_pltexit.
20891
20892 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20893 __ELF_NATIVE_CLASS.
20894 (La_x32_regs): New macro.
20895 (La_x32_retval): Likewise.
20896 (la_x32_gnu_pltenter): New function prototype.
20897 (la_x32_gnu_pltexit): Likewise.
20898
7998fa78
AS
208992012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20900
dcb33988
AS
20901 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20902 exponent.
20903
233fc563
AS
20904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20905
7998fa78
AS
20906 * configure.in (libc_cv_cc_nofma): Check for option to disable
20907 generation of FMA instructions.
20908 * configure: Regenerate.
20909 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20910 * sysdeps/ieee754/dbl-64/Makefile: New file.
20911 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20912 Remove brandred-fma4.
20913 (CFLAGS-brandred-fma4.c): Remove.
20914 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20915 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20916 define.
20917 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20918 define.
20919
8e95c99a
L
209202012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20921
20922 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20923 LLONG_MAX != LONG_MAX.
20924 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20925 (_fitoa_word): Likewise.
20926 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20927 LLONG_MAX != LONG_MAX.
20928 * stdio-common/_itowa.h: Include <_itoa.h>.
20929 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20930 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20931 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20932 only if not defined.
20933 (_ITOA_WORD_TYPE): Likewise.
20934 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20935 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20936
6f4db457
DM
209372012-03-21 David S. Miller <davem@davemloft.net>
20938
20939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20940
7785fe5a
L
209412012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20942
20943 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20944 of x86_64 when setting libc_cv_slibdir, libdir and
20945 libc_cv_localedir.
20946 * sysdeps/unix/sysv/linux/configure: Regenerated.
20947
4535cd55
JM
209482012-03-21 Joseph Myers <joseph@codesourcery.com>
20949
20950 * manual/lang.texi (Old Varargs): Remove section.
20951 (How Variadic): Update menu.
20952 (va_start): Do not mention varargs.h.
20953
17228132
TS
209542012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20955 Joseph Myers <joseph@codesourcery.com>
20956
20957 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20958 link test.
20959 * configure: Regenerated.
20960
8149f976
TS
209612012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20962
05f3d1f6
UD
20963 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20964 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20965 conformtest.pl
8149f976 20966
1a4ac776
JM
209672012-03-21 Joseph Myers <joseph@codesourcery.com>
20968
be22ce65
JM
20969 * NOTES: Remove.
20970 * Makefile (files-for-dist): Remove NOTES.
20971 (NOTES): Remove rule.
20972 * README: Don't refer to NOTES.
20973 * manual/creature.texi: Don't include macros.texi.
20974 * manual/intro.texi (creature.texi): Remove comment referring to
20975 NOTES.
20976
40b601fb
JM
20977 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20978 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20979 * configure: Regenerated.
20980 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20981 LIBC_TRY_CC_OPTION.
20982 (libc_cv_as_i686): Likewise.
20983 (libc_cv_cc_avx): Likewise.
20984 (libc_cv_cc_sse2avx): Likewise.
20985 (libc_cv_cc_fma4): Likewise.
20986 (libc_cv_cc_novzeroupper): Likewise.
20987 * sysdeps/i386/configure: Regenerated.
20988
1a4ac776
JM
20989 [BZ #13883]
20990 * sysdeps/i386/fpu/s_cexp.S: Remove.
20991 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20992 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20993 * math/libm-test.inc (cexp_test): Add more tests.
20994 * sysdeps/i386/fpu/libm-test-ulps: Update.
20995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20996
a458e7fe
AM
209972012-03-21 Allan McRae <allan@archlinux.org>
20998
20999 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21000
0cb7efc5
JM
210012012-03-21 Joseph Myers <joseph@codesourcery.com>
21002
21003 [BZ #13871]
21004 * math/w_exp2.c: Do not include <float.h>.
21005 (o_threshold, u_threshold): Remove.
21006 (__exp2): Calculate result before checking finiteness and calling
21007 __kernel_standard.
21008 * math/w_exp2f.c: Likewise.
21009 * math/w_exp2l.c: Likewise.
21010 * math/libm-test.inc (exp2_test): Require overflow exception for
21011 1e6 input.
2460d3aa
JM
21012
21013 [BZ #3866]
21014 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21015 range of signed 64-bit integers before using fistpll. Remove
21016 checks for whether integers fit in mantissa bits.
21017 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21018 the range of signed 32-bit integers before using fistpl. Remove
21019 checks for whether integers fit in mantissa bits.
21020 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21021 (__ieee754_powl): Test for y outside the range of signed 64-bit
21022 integers before using fistpll. Reduce 64-bit values to 63-bit
21023 ones as needed.
21024 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21025 divide-by-zero is raised for zero to large negative powers.
21026 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21027 (__ieee754_powl): Test for y outside the range of signed 64-bit
21028 integers before using fistpll. Reduce 64-bit values to 63-bit
21029 ones as needed.
21030 * math/libm-test.inc (pow_test): Add more tests.
21031
eb96ffb0
L
210322012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21033
21034 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21035 <stdio-common/_itoa.h>.
21036 * debug/segfault.c: Likewise.
21037 * elf/dl-cache.c: Likewise.
21038 * elf/dl-minimal.c: Likewise.
21039 * elf/dl-misc.c: Likewise.
21040 * elf/dl-sysdep.c: Likewise.
21041 * elf/dl-version.c: Likewise.
21042 * elf/rtld.c: Likewise.
21043 * hurd/hurdsock.c: Likewise.
21044 * hurd/lookup-retry.c: Likewise.
21045 * malloc/malloc.c: Likewise.
21046 * malloc/mtrace.c: Likewise.
21047 * nscd/nscd_getgr_r.c: Likewise.
21048 * nscd/nscd_getpw_r.c: Likewise.
21049 * nscd/nscd_getserv_r.c: Likewise.
21050 * posix/getopt_init.c: Likewise.
21051 * posix/wordexp.c: Likewise.
21052 * stdio-common/_itoa.c: Likewise.
21053 * stdio-common/printf_fphex.c: Likewise.
21054 * stdio-common/vfprintf.c: Likewise.
21055 * string/_strerror.c: Likewise.
21056 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21057 * sysdeps/i386/i686/hp-timing.h: Likewise.
21058 * sysdeps/mach/_strerror.c: Likewise.
21059 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21060 * sysdeps/mach/hurd/sethostid.c: Likewise.
21061 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21062 * sysdeps/mach/xpg-strerror.c: Likewise.
21063 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21064 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21065 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21066 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21067 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21068 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21069 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21070 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21071 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21072 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21073 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21074 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21075 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21076 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21077 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21078 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21079 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21080 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21081 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21082 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21083 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21084
21085 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21086
21087 * stdio-common/_itoa.h: Moved to ...
21088 * sysdeps/generic/_itoa.h: Here.
21089
21090 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21091
21092 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21093 instead of "_itoa.h" and "_itowa.h".
21094 * stdio-common/vfprintf.: Likewise.
21095
d1af992d
L
210962012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21097
21098 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21099 <bits/wordsize.h>.
21100 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21101 (__signbit): Likwise.
21102 (llrintf): Likwise.
21103 (llrint): Likwise.
21104
114883e0
L
211052012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21106
21107 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21108 __WORDSIZE != 64.
21109
c135cc1b
JM
211102012-03-20 Joseph Myers <joseph@codesourcery.com>
21111
21112 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21113 OVERFLOW_EXCEPTION_OK.
21114 * math/libm-test.inc ("Philosophy"): Update comment about
21115 exception testing.
21116 (OVERFLOW_EXCEPTION): Define.
21117 (OVERFLOW_EXCEPTION_OK): Likewise.
21118 (INVALID_EXCEPTION_OK): Renumber.
21119 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21120 (IGNORE_ZERO_INF_SIGN): Likewise.
21121 (test_exceptions): Handle FE_OVERFLOW.
21122 (exp10_test): Expect overflow exceptions.
21123 (exp2_test): Likewise.
21124 (expm1_test): Likewise.
21125 (nextafter_test): Likewise.
21126 (pow_test): Likewise.
21127 (scalbn_test): Likewise.
21128 (scalbln_test): Likewise.
21129
95443d88
L
211302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21131
21132 * sysdeps/x86_64/bits/atomic.h
21133 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21134 64bit integer.
21135 (atomic_exchange_acq): Likewise.
21136 (__arch_exchange_and_add_body): Likewise.
21137 (__arch_add_body): Likewise.
21138 (atomic_add_negative): Likewise.
21139 (atomic_add_zero): Likewise.
21140
490df6c4
L
211412012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21142
c2722551 21143 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21144 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21145
5e52b189
L
211462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21147
21148 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21149 Check __x86_64__ instead of __WORDSIZE.
21150
a9879d4c
L
211512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21152
21153 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21154
5df98260
DM
211552012-03-19 David S. Miller <davem@davemloft.net>
21156
e1497744
DM
21157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21158
5df98260
DM
21159 * sysdeps/sparc/fpu/fenv_private.h: New file.
21160 * sysdeps/sparc/fpu/math_private.h: Use it.
21161 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21162 Remove.
21163 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21164 (libc_feholdexcept_setroundl): Remove.
21165 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21166 Remove.
21167 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21168 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21169
b4c35121
L
211702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21171
21172 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21173 int64_t instead of long int.
21174 (INSERT_WORDS64): Likwise.
21175
56965fd7
L
211762012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21177
21178 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21179 _Unwind_GetCFA return to _Unwind_Ptr first.
21180
83d1aec8
JM
211812012-03-19 Joseph Myers <joseph@codesourcery.com>
21182
1897ad44
JM
21183 [BZ #13629]
21184 * math/s_clog.c: Include <float.h>.
21185 (__clog): Scale large or subnormal inputs.
21186 * math/s_clogf.c: Likewise.
21187 * math/s_clogl.c: Likewise.
21188 * math/s_clog10.c: Include <float.h>.
21189 (M_LOG10_2): Define.
21190 (__clog10): Scale large or subnormal inputs.
21191 * math/s_clog10f.c: Likewise.
21192 * math/s_clog10l.c: Likewise.
21193 * math/libm-test.inc (clog_test): Add more tests.
21194 (clog10_test): Likewise.
21195 * sysdeps/i386/fpu/libm-test-ulps: Update.
21196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21197
7726d6a9
JM
21198 [BZ #11451]
21199 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21200 x and y.
21201 * math/libm-test.inc (atan2_test): Add another test.
21202
83d1aec8
JM
21203 * Makerules (common-objdir-compile): Remove.
21204 * sysdeps/unix/Makefile (config-generated): Do not add
21205 $(unix-generated) to variable.
21206 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21207 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21208 Remove rule.
21209 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21210 Likewise.
21211 [generic bits/local_lim.h] (before-compile): Do not append to
21212 variable.
21213 [generic bits/local_lim.h] (common-generated): Likewise.
21214 [generic sys/param.h] (before-compile): Do not append to variable.
21215 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21216 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21217 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21218 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21219 include.
21220 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21221 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21222 [generic sys/param.h] ($(addprefix
21223 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21224 [generic sys/param.h] (common-generated): Do not append to
21225 variable.
21226 [generic sys/param.h] (sysdep_headers): Likewise.
21227 [generic bits/errno.h] (before-compile): Do not append to
21228 variable.
21229 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21230 rule.
21231 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21232 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21233 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21234 [generic bits/errno.h] (common-generated): Do not append to
21235 variable.
21236 [generic bits/ioctls.h] (before-compile): Do not append to
21237 variable.
21238 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21239 rule.
21240 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21241 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21242 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21243 rule.
21244 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21245 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21246 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21247 [generic bits/ioctls.h] (common-generated): Do not append to
21248 variable.
21249 [generic sys/syscall.h] (syscall.h): Remove variable.
21250 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21251 rule.
21252 [generic sys/syscall.h] (before-compile): Do not append to
21253 variable.
21254 [generic sys/syscall.h] (common-generated): Likewise.
21255 * sysdeps/unix/errnos-tmpl.c: Remove file.
21256 * sysdeps/unix/errnos.awk: Likewise.
21257 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21258 * sysdeps/unix/ioctls.awk: Likewise.
21259 * sysdeps/unix/mk-local_lim.c: Likewise.
21260 * sysdeps/unix/snarf-ioctls: Likewise.
21261
4851a949
RH
212622012-03-19 Richard Henderson <rth@twiddle.net>
21263
bd37f2ee
RH
21264 * sysdeps/i386/fpu/fenv_private.h: New file.
21265 * sysdeps/i386/fpu/math_private.h: Use it.
21266 (math_opt_barrier, math_force_eval): Remove.
21267 (libc_feholdexcept_setround_53bit): Remove.
21268 (libc_feupdateenv_53bit): Remove.
21269 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21270 (math_opt_barrier, math_force_eval): Remove.
21271 (libc_feholdexcept): Remove.
21272 (libc_feholdexcept_setround): Remove.
21273 (libc_fetestexcept, libc_fesetenv): Remove.
21274 (libc_feupdateenv_test): Remove.
21275 (libc_feupdateenv, libc_feholdsetround): Remove.
21276 (libc_feresetround): Remove.
21277
d0adc922
RH
21278 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21279 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21280
0fe0f1f8
RH
21281 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21282 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21283 (libc_feupdateenv_testl): New.
21284 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21285 (libc_feupdateenv_testf): New.
21286 (libc_feupdateenv): Use libc_feupdateenv_test.
21287 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21288 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21289
eb92c487
RH
21290 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21291 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21292 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21293 (libc_feresetround_noex): New.
21294 (libc_feresetround_noexf): New.
21295 (libc_feresetround_noexl): New.
21296 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21297 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21298 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21299 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21300 SET_RESTORE_ROUND.
21301 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21302 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21303 (__cos): Likewise.
21304 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21305 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21306 SET_RESTORE_ROUND_NOEX.
21307 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21308 SET_RESTORE_ROUND_NOEXF.
21309 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21310 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21311 (libc_feholdsetroundf): New.
21312 (libc_feresetround, libc_feresetroundf): New.
21313
7d2e8012
RH
21314 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21315 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21316 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21317
b4dabbb4
RH
21318 * sysdeps/generic/math_private.h: Include <fenv.h>.
21319 (default_libc_feholdexcept): New.
21320 (default_libc_feholdexcept_setround): New.
21321 (default_libc_fesetenv, default_libc_feupdateenv): New.
21322 (libc_feholdexcept): Only define if undefined.
21323 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21324 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21325 (libc_feholdexcept_setroundl): Likewise.
21326 (libc_feholdexcept_setround_53bit): Likewise.
21327 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21328 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21329 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21330 (libc_feupdateenv_53bit): Likewise.
21331 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21332 (libc_feholdexcept): Convert from macro to inline function.
21333 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21334 (libc_fesetenv, libc_feupdateenv): Likewise.
21335
4851a949
RH
21336 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21337 not previously defined.
21338 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21339 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21340 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21341 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21342 * sysdeps/ieee754/flt-32/math_private.h: New file.
21343 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21344 math_private.h below SET_FLOAT_WORD.
21345 (__isnan, __isinf_ns, __finite): Remove.
21346 (__isnanf, __isinf_nsf, __finitef): Remove.
21347
e79d442e
AS
213482012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21349
21350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21351
90b80344
DM
213522012-03-17 David S. Miller <davem@davemloft.net>
21353
21354 [BZ #6471]
21355 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21356 for 2.16.
21357
edc21804
DM
213582012-03-16 David S. Miller <davem@davemloft.net>
21359
77e927af
DM
21360 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21361 warnings.
21362
374976dd
DM
21363 [BZ #6471]
21364 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21365 properly.
21366 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21367 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21368 sysdep_routines when subdir is sysvipc.
21369 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21370 __getshmlba helper.
21371
edc21804
DM
21372 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21373
473c3ef3
L
213742012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21375
21376 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21377 [__LP64__].
21378
eb0f39b6
L
213792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21380
21381 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21382 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21383 (__lround): Renamed to ...
21384 (__llround): This. Replace long int with long long int.
21385 Define lround functions as aliases of llround functions.
21386 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21387
6b6cd74b
L
213882012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21389
21390 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21391 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21392 adresses to uintptr_t. Replace "long int" and "unsigned long
21393 int" with "greg_t" on va_arg.
21394
f1a77b01
L
213952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21396
21397 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21398 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21399
21400 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21401 Move e_machine check before EI_CLASS check. Handle x32
21402 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21403 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21404 SKIP_EM_IA_64 and include
21405 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21406
21407 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21408 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21409 (add_system_dir): New macro.
21410
21411 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21412 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21413
11b90b9f
JM
214142012-03-16 Joseph Myers <joseph@codesourcery.com>
21415
c36e1d23
JM
21416 [BZ #2551]
21417 [BZ #2552]
21418 [BZ #2553]
21419 [BZ #2554]
21420 [BZ #2562]
21421 [BZ #2563]
21422 [BZ #2565]
21423 [BZ #2566]
21424 [BZ #2576]
21425 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21426 (y0): Likewise.
21427 * math/w_j0f.c (j0f): Likewise.
21428 (y0f): Likewise.
21429 * math/w_j0l.c (__j0l): Likewise.
21430 (__y0l): Likewise.
21431 * math/w_j1.c (j1): Likewise.
21432 (y1): Likewise.
21433 * math/w_j1f.c (j1f): Likewise.
21434 (y1f): Likewise.
21435 * math/w_j1l.c (__j1l): Likewise.
21436 (__y1l): Likewise.
21437 * math/w_jn.c (jn): Likewise.
21438 (yn): Likewise.
21439 * math/w_jnf.c (jnf): Likewise.
21440 (ynf): Likewise.
21441 * math/w_jnl.c (__jnl): Likewise.
21442 (__ynl): Likewise.
21443 * math/libm-test.inc (j0_test): Add more tests.
21444 (j1_test): Likewise.
21445 (jn_test): Likewise. Add trailing semicolon to existing test.
21446 (y0_test): Likewise.
21447 (y1_test): Likewise.
21448 * sysdeps/i386/fpu/libm-test-ulps: Update.
21449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21450
11b90b9f
JM
21451 [BZ #13851]
21452 [BZ #13854]
21453 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21454 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21455 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21456 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21457 (__tanl): Set errno for infinite argument.
21458 * sysdeps/i386/fpu/mptan.c: Remove.
21459 * sysdeps/i386/fpu/s_tan.S: Likewise.
21460 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21461 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21462 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21463 * math/libm-test.inc (tan_test): Add more tests and enable more
21464 tests for double and long double.
21465 * sysdeps/i386/fpu/libm-test-ulps: Update.
21466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21467
6a1bd2a1
JK
214682012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21469
21470 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21471 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21472
10a803e0
RM
214732012-03-16 Roland McGrath <roland@hack.frob.com>
21474
21475 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21476 * configure.in: Use it for both main tree and add-ons.
21477 * configure: Regenerated.
21478
f196c7f7
L
214792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21480
21481 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21482
8848d99d
JM
214832012-03-16 Joseph Myers <joseph@codesourcery.com>
21484
96cbe7f4
JM
21485 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21486 in comment.
21487
8848d99d
JM
21488 [BZ #13851]
21489 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21490 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21491 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21492 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21493 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21494 infinite argument.
21495 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21496 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21497 != 0 for prec == 2.
21498 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21499 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21500 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21501 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21502 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21503 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21504 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21505 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21506 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21507 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21508 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21509 * math/libm-test.inc (cos_test): Add more tests and enable more
21510 tests for long double.
21511 (sin_test): Likewise.
21512 (sincos_test): Likewise.
21513 * sysdeps/i386/fpu/libm-test-ulps: Update.
21514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21515
dd7f4703
DM
215162012-03-16 David S. Miller <davem@davemloft.net>
21517
21518 * sysdeps/sparc/fpu/math_private.h: New file.
21519
006f1daa
DM
215202012-03-15 David S. Miller <davem@davemloft.net>
21521
c0c83bc8
DM
21522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21523 file.
e6a62e18 21524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21526 file.
e6a62e18
DM
21527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21528 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21529 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21530 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21531 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21532 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21533 sysdep routines.
21534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21535
88cb87d9
DM
21536 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21537 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21538
006f1daa 21539 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21541 sparc-ifunc.h
006f1daa 21542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21544 Likewise.
21545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21546 Likewise.
006f1daa
DM
21547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21550 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21551 Likewise.
006f1daa
DM
21552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21557 Likewise.
21558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21559 Likewise.
006f1daa
DM
21560 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21564 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21566 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21567 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21568 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21569 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21570 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21571 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21572 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21573 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21575 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21576 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21577 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21578 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21579 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21580 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21581 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21582 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21583 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21584
11e0098e
AS
215852012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21586
21587 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21588 scaling.
21589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21590
e85b09d0
AJ
215912012-03-15 Andreas Jaeger <aj@suse.de>
21592
21593 [BZ #13852]
21594 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21595 ieee754/flt-32 implementation for sin, cos and sincos.
21596 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21597 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21598 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21599 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21600 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21601 ieee754/flt-32 implementation for tan.
21602
21603 * math/libm-test.inc (cos_test): Enable some large input tests for
21604 float as well
21605 (sin_test): Likewise.
21606 (sincos_test): Likewise.
21607 (tan_test): Add tests for large input.
21608
21609 * sysdeps/i386/fpu/libm-test-ulps: Update.
21610
81c64153
AJ
216112012-03-15 Andreas Jaeger <aj@suse.de>
21612
21613 [BZ #13658]
21614 * math/libm-test.inc (cos_test): Add more test cases.
21615 (sin_test): Likewise.
21616 (sincos_test): Likewise.
21617
7bbfa5c6
AJ
216182012-03-15 Andreas Jaeger <aj@suse.de>
21619
21620 [BZ #13837]
21621 * math/libm-test.inc (cos_test): Add a test case for large input
21622 value.
21623 (sin_test): Likewise.
21624 (sincos_test): Likewise.
21625
216262012-03-15 Andreas Jaeger <aj@suse.de>,
21627 Joseph Myers <joseph@codesourcery.com>
21628
21629 [BZ #13658]
0671f479 21630 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
21631 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21632 * sysdeps/i386/fpu/branred.c: Likewise.
21633 * sysdeps/i386/fpu/dosincos.c: Likewise.
21634 * sysdeps/i386/fpu/mpa.c: Likewise.
21635 * sysdeps/i386/fpu/s_cos.S: Likewise.
21636 * sysdeps/i386/fpu/s_sin.S: Likewise.
21637 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21638 * sysdeps/i386/fpu/sincos32.c: Likewise.
21639
21640 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21641 Define.
21642 (libc_feupdateenv_53bit): Define.
21643 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21644 Define.
21645 (libc_feupdateenv_53bit): Define.
21646
21647 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21648 53 bit (without extend i386 double precision).
21649
21650 * math/libm-test.inc (sincos_test): Add tests for large input.
21651 (sin): Likewise.
21652 (cos): Likewise.
21653
21654 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21655
9cad04ea
AS
216562012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21657
21658 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21659
f7062b9a
DM
216602012-03-15 David S. Miller <davem@davemloft.net>
21661
21662 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21663 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21664 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21665 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21670 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21671 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21672 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21673 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21674 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21675 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21676 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
21677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21678 file.
f7062b9a 21679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
21680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21681 file.
f7062b9a 21682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
21683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21684 file.
f7062b9a 21685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
21686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21687 file.
f7062b9a
DM
21688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21689 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21690 fmin/fmax sysdep routines.
21691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21692
7bd951ff
DM
216932012-03-14 David S. Miller <davem@davemloft.net>
21694
559398ab
DM
21695 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21696 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21697 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21698 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21699 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21700 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21701 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21702 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21703 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21704 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21705 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21706 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21707 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21708 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21709 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21710 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21711 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21715 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21716 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21717 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21718 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21719 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21720 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21721 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21722 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21723 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21724 routines.
21725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21726 file.
559398ab 21727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
21728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21729 file.
559398ab 21730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
21731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21732 file.
559398ab 21733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
21734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21735 file.
559398ab 21736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
21737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21738 file.
559398ab 21739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
21740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21741 file.
21742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21743 file.
21744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21745 file.
21746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21747 file.
21748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21749 New file.
21750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21751 file.
21752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21753 file.
559398ab 21754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
21755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21756 file.
559398ab 21757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21759 file.
559398ab 21760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
21761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21762 file.
559398ab 21763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
21764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21765 VIS3 routines.
559398ab
DM
21766
21767 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21768 New file.
21769
5a1c1e32
DM
21770 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21771
eae47a36
DM
21772 * sysdeps/sparc/configure.in: New file.
21773 * sysdeps/sparc/configure: Generate.
21774 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21775 * configure: Regenerate.
21776 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21777 * config.make.in (have-as-vis3): New.
21778 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21779 available use -Av9d instead of -Av9a.
21780 * sysdeps/sparc/sparc64/Makefile: Likewise.
21781 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
21782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21783 New file.
21784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21785 file.
21786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21787 New file.
21788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21789 file.
eae47a36
DM
21790 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21791 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21792 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21793 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21794 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21795
c0c83bc8
DM
21796 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21797 fzeros/fnegs to load 0x80000000 into a float register instead of
21798 using the stack.
7bd951ff
DM
21799 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21800
bd951ccb
JM
218012012-03-14 Joseph Myers <joseph@codesourcery.com>
21802
21803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21804 bits/syscall.h.
21805 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21806 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21807 ($(inst_includedir)/bits/syscall.h): Remove rule.
21808 ($(objpfx)bits/syscall.d): Include instead of
21809 $(objpfx)syscall-list.d.
21810 (generated): Change syscall-list.h and syscall-list.d to
21811 bits/syscall.h and bits/syscall.d.
21812
bb4e6db2
RM
218132012-03-14 Roland McGrath <roland@hack.frob.com>
21814
21815 [BZ #13846]
21816 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21817
aa4a2ae1
JM
218182012-03-14 Joseph Myers <joseph@codesourcery.com>
21819
e456826d
JM
21820 [BZ #13841]
21821 * math/s_csqrt.c: Include <float.h>.
21822 (__csqrt): Scale large or subnormal inputs.
21823 * math/s_csqrtf.c: Likewise.
21824 * math/s_csqrtl.c: Likewise.
21825 * math/libm-test.inc (csqrt_test): Add more tests.
21826 * sysdeps/i386/fpu/libm-test-ulps: Update.
21827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21828
aa4a2ae1
JM
21829 [BZ #13840]
21830 * math/libm-test.inc (hypot_test): Add more tests.
21831
7c10fd35
DM
218322012-03-13 David S. Miller <davem@davemloft.net>
21833
21834 [BZ #13840]
21835 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21836 double-precision for the calculation instead of scaling.
21837
f453b98b
JM
218382012-03-13 Joseph Myers <joseph@codesourcery.com>
21839
21840 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21841 manipulate bits before adding and subtracting TWO52[sx].
21842 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21843 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21844 Likewise.
21845 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21846
09a3453f
DM
218472012-03-13 David S. Miller <davem@davemloft.net>
21848
8e59da90
DM
21849 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21850 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21851 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21852 rtld-global-offsets.h
21853 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21854
2a8ab7f2
DM
21855 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21856 large parameters.
21857
10f62770
DM
21858 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21859
5f0bdb18
DM
21860 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21861 'err' in the ifdef scope in which it is actually used.
21862
09a3453f
DM
21863 * nss/nss_db/db-init.c: Include string.h
21864
b4b2eb5e
DM
218652012-03-12 David S. Miller <davem@davemloft.net>
21866
98bb2f1c
DM
21867 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21868 masking out of the most significant byte of random value used.
21869 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21870 Fix coding style in previous change.
21871
b4b2eb5e
DM
21872 * sysdeps/unix/sysv/linux/kernel-features.h
21873 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21874 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21875 expression.
21876 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21877 later.
21878
6e226b09
DM
218792012-03-11 David S. Miller <davem@davemloft.net>
21880
a1bcbd40
DM
21881 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21882 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21883 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21884 for 'resultvar' otherwise things get truncated on 64-bit.
21885
cb9d6174
DM
21886 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21887 Fix masking out of the most significant byte of random value used.
21888
6e226b09
DM
21889 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21890
058c132d
AS
218912012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21892
21893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21894
2d2cd515
DM
218952012-03-09 David S. Miller <davem@davemloft.net>
21896
21897 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21898 variables with appropriate CPP guards.
21899 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21900 frame pointer, not the stack pointer. Correct layout comments. Fix test
21901 on resulting framesize and the management of the outregs buffer for pltexit.
21902 Preserve floating point return values across _dl_call_pltexit call.
21903 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21904 framesize and the management of the outregs buffer for pltexit.
21905 Preserve floating point return values across _dl_call_pltexit
21906 call.
21907 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21908 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21909 (print_exit): Fix format string for return register value.
21910
9a07f9d0
JM
219112012-03-10 Joseph Myers <joseph@codesourcery.com>
21912
21913 * sunrpc/Makefile (others): Add rpcgen.
21914 ($(objpfx)rpcgen): Remove special build rule and dependency on
21915 libc.
21916 * sunrpc/rpcgen.c: New file.
21917
547b5e30
PE
219182012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21919
c524201a
PE
21920 [BZ #13673]
21921 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21922 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21923 * sysdeps/i386/crti.S: Likewise.
21924 * sysdeps/i386/crtn.S: Likewise.
21925 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21926 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21927 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21928 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21929 * sysdeps/sh/crti.S: Likewise.
21930 * sysdeps/sh/crtn.S: Likewise.
21931 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21932
7b6235f2
PE
21933 [BZ #13673]
21934 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21935 with URL.
21936 * locale/programs/locfile-kw.gperf: Likewise.
21937 * locale/programs/charmap-kw.h: Regenerated.
21938 * locale/programs/locfile-kw.h: Likewise.
21939
547b5e30
PE
21940 [BZ #13673]
21941 * intl/plural.y: Replace FSF snail mail address with URL.
21942 * intl/plural.c: Regenerated.
21943
5f0a5dae
RH
219442012-03-09 Richard Henderson <rth@twiddle.net>
21945
21946 * include/math_private.h: Remove file.
21947 * math/math_private.h: Move file ...
21948 * sysdeps/generic/math_private.h: ... here.
21949
b8c03620
RH
21950 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21951 * sysdeps/powerpc/fpu/math_private.h: Likewise.
21952 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21953
4e234f5d 21954 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
21955 and <math_private.h>.
21956 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21957 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21958 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21959 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21960 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21961 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21962 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21963 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21964 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21965 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21966 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21967 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21968 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21969 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21970 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21971 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21972 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21973 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21974 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21975 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21976 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21977 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21978 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21979 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21980 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21981 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21982 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21983 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21984 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21985 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21986 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21987 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21988 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21989 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21990 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21991 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21992 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21993 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21994 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21995 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21996 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21997 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21998 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21999 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22000 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22001 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22002 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22003 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22004 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22005 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22006 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22007 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22008 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22009 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22010 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22011 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22012 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22013 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22014 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22015 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22016 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22017 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22018 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22019 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22020 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22021 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22022 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22023 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22024 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22025 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22026 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22027 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22028 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22029 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22030 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22031 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22032 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22033 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22034 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22035 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22036 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22037 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22038 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22039 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22040 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22041 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22042 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22043 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22044 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22045 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22046 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22047 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22048 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22049 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22050 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22051 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22052 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22053 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22054 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22055 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22056 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22057 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22058 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22059 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22060 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22061 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22062 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22063 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22064 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22065 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22066 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22067 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22068 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22069 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22070 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22071 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22072 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22073 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22074 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22075 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22076 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22077 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22078 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22079 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22080 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22081 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22082 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22083 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22084 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22085 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22086 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22087 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22088 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22089 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22090 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22091 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22092 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22093 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22094 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22095 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22096 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22097 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22098 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22099 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22100 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22101 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22102 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22103 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22104 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22105 * sysdeps/ieee754/k_standard.c: Likewise.
22106 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22107 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22108 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22109 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22110 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22111 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22112 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22113 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22114 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22115 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22116 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22117 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22118 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22119 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22120 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22121 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22122 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22123 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22124 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22125 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22126 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22127 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22128 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22129 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22130 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22131 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22132 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22133 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22134 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22135 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22136 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22137 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22138 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22139 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22140 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22141 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22142 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22143 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22144 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22145 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22146 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22147 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22148 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22149 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22150 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22151 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22152 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22153 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22154 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22155 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22156 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22157 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22158 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22159 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22160 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22161 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22162 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22163 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22164 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22165 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22166 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22167 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22168 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22169 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22170 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22171 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22172 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22173 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22174 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22175 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22176 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22177 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22178 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22179 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22180 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22181 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22182 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22183 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22184 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22185 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22186 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22187 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22188 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22189 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22190 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22191 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22192 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22193 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22194 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22195 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22196 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22197 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22198 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22199 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22200 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22201 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22202 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22203 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22204 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22205 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22206 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22207 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22208 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22209 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22210 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22211 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22212 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22213 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22214 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22215 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22216 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22217 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22218 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22219 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22220 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22221 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22222 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22223 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22224 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22225 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22226 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22227 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22228 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22229 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22230 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22231 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22232 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22233 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22234 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22235 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22236 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22237 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22238 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22239 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22240 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22241 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22242 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22243 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22244 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22245 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22246 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22247 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22248 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22249 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22250 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22251 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22252 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22253 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22254 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22255 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22256 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22257 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22258 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22259 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22260 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22261 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22262 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22263 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22264 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22265 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22266 * sysdeps/ieee754/s_lib_version.c: Likewise.
22267 * sysdeps/ieee754/s_matherr.c: Likewise.
22268 * sysdeps/ieee754/s_signgam.c: Likewise.
22269 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22270 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22271 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22272 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22273 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22274 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22275 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22276 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22277 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22278 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22279 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22280 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22281 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22282 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22283 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22284 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22285 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22286 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22287 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22288 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22289 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22290
1991fa03
JM
222912012-03-09 Joseph Myers <joseph@codesourcery.com>
22292
22293 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22294 * sunrpc/rpc_main.c: Likewise.
22295 * sunrpc/rpc_svcout.c: Likewise.
22296
60d6f5a6
DM
222972012-03-09 David S. Miller <davem@davemloft.net>
22298
22299 * include/math_private.h: New file.
22300
4962050e
JM
223012012-03-09 Joseph Myers <joseph@codesourcery.com>
22302
02a6f887
JM
22303 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22304 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22305 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22306 from <bits/socket_type.h>.
22307 (enum __socket_type): Don't define here.
22308 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22310 bits/socket_type.h.
22311
c6e013c1
JM
22312 [BZ #13566]
22313 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22314 checking __USE_GNU.
22315
4962050e
JM
22316 * Makerules ($(inst_includedir)/%.h): New rule.
22317 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22318 (install-others): Remove variable setting.
22319 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22320
38842f45
RH
223212012-03-08 Richard Henderson <rth@twiddle.net>
22322
67bb6da6
RH
22323 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22324 from macro to inline function; merge with the
22325 !__LIBC_INTERNAL_MATH_INLINES version.
22326 (__ieee754_sqrtf): Likewise.
22327
15194b4b
RH
22328 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22329 to inline function.
22330 (__rintf, __floor, __floorf): Likewise.
22331
64e21ede
RH
22332 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22333 macro to inline function.
22334 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22335
38842f45
RH
22336 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22337 not <math/math_private.h>.
22338
c64bf5fe
DM
223392012-03-08 David S. Miller <davem@davemloft.net>
22340
22341 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22342 copyright year.
22343 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22344
82d86f28
TS
223452012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22346
22347 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22348 normalization.
22349 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22350 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22351
aea5d727
UD
223522012-03-08 Ulrich Drepper <drepper@gmail.com>
22353
22354 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22355 be defined individually, they must be defined as a block. Define
22356 S for printing a string instead of hidint the different by using a
22357 macro for adding the 'l'.
22358 * stdio-common/tst-fphex-wide.c: Adjust.
22359
70bca0a3
MP
223602012-03-07 Marek Polacek <polacek@redhat.com>
22361
22362 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22363
65b81130
MP
223642012-03-08 Marek Polacek <polacek@redhat.com>
22365
22366 [BZ #13806]
22367 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22368 * stdio-common/tst-fphex.c: Define a few macros to make the
22369 test reusable. Use them.
22370 * stdio-common/tst-fphex-wide.c: New file.
22371
07037eeb
JM
223722012-03-08 Joseph Myers <joseph@codesourcery.com>
22373
a7a93d50
JM
22374 [BZ #6911]
22375 * manual/macros.texi (gnusystems): New macro.
22376 (nongnusystems): Likewise.
22377 (gnulinuxhurdsystems): Likewise.
22378 (gnuhurdsystems): Likewise..
22379 (gnulinuxsystems): Likewise.
22380 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22381 variants of the GNU system, not "GNU system".
22382 * manual/conf.texi: Likewise.
22383 * manual/errno.texi: Likewise. Update example of errno macro
22384 expansion.
22385 * manual/filesys.texi: Likewise.
22386 (getumask): Document as specific to GNU/Hurd.
22387 * manual/install.texi: Likewise. Reword some references to
22388 GNU/Linux.
22389 * manual/intro.texi: Likewise.
22390 * manual/io.texi: Likewise.
22391 (File Name Portability): Detail which constraints are inapplicable
22392 to all GNU systems and which are only inapplicable to GNU/Hurd.
22393 * manual/job.texi: Likewise.
22394 * manual/llio.texi: Likewise.
22395 (O_NOCTTY): Document as present on GNU/Linux.
22396 * manual/maint.texi: Likewise.
22397 * manual/memory.texi: Likewise.
22398 * manual/pattern.texi: Likewise.
22399 * manual/pipe.texi: Likewise.
22400 * manual/process.texi: Likewise.
22401 * manual/resource.texi: Likewise.
22402 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22403 child on GNU/Hurd.
22404 * manual/setjmp.texi: Likewise.
22405 * manual/signal.texi: Likewise.
22406 * manual/startup.texi: Likewise.
22407 * manual/stdio.texi: Likewise.
22408 * manual/terminal.texi: Likewise.
22409 (ONLCR): Document as POSIX.
22410 (OXTABS): Document availability on GNU/Linux as XTABS.
22411 (ONOEOT): Document availability separately from other bits.
22412 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22413 * manual/time.texi: Likewise.
22414 * manual/users.texi: Likewise.
22415 * INSTALL: Regenerated.
22416 * sysdeps/gnu/errlist.c: Regenerated.
22417
07037eeb
JM
22418 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22419 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22420 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22421 puts.
22422 * configure: Regenerated.
22423
d1d3431a
JM
224242012-03-07 Joseph Myers <joseph@codesourcery.com>
22425
af6a1e37
JM
22426 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22427 default includes instead of AC_HEADER_CHECK.
22428 * sysdeps/i386/configure: Regenerated.
22429
d1d3431a
JM
22430 [BZ #10716]
22431 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22432 * math/s_cacoshf.c (__cacoshf): Likewise.
22433 * math/s_cacoshl.c (__cacoshl): Likewise.
22434 * math/s_casinh.c (__casinh): Set signs of result from argument.
22435 * math/s_casinhf.c (__casinhf): Likewise.
22436 * math/s_casinhl.c (__casinhl): Likewise.
22437 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22438 (casinh_test): Add more tests.
22439 * sysdeps/i386/fpu/libm-test-ulps: Update.
22440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22441
482ff4da
UD
224422012-03-07 Ulrich Drepper <drepper@gmail.com>
22443
872fda05
UD
22444 * po/zh_TW.po: Update from translation team.
22445
a4300c7a
UD
22446 * login/Makefile (distribute): Remove variable.
22447 * catgets/Makefile: Likewise.
22448 * mach/Makefile: Likewise.
22449 * malloc/Makefile: Likewise.
22450 * misc/Makefile: Likewise.
22451 * iconv/Makefile: Likewise.
22452 * nscd/Makefile: Likewise.
22453 * hurd/Makefile: Likewise.
22454 * manual/Makefile: Likewise.
22455 * locale/Makefile: Likewise.
22456 * intl/Makefile: Likewise.
22457 * conform/Makefile: Likewise.
22458 * nss/Makefile: Likewise.
22459 * time/Makefile: Likewise.
22460 * soft-fp/Makefile: Likewise.
22461 * dirent/Makefile: Likewise.
22462 * gmon/Makefile: Likewise.
22463 * po/Makefile: Likewise.
22464 * rt/Makefile: Likewise.
22465 * socket/Makefile: Likewise.
22466 * math/Makefile: Likewise.
22467 * signal/Makefile: Likewise.
22468 * debug/Makefile: Likewise.
22469 * elf/Makefile: Likewise.
22470 * timezone/Makefile: Likewise.
22471 * stdlib/Makefile: Likewise.
22472 * iconvdata/Makefile: Likewise.
22473 * sunrpc/Makefile: Likewise.
22474 * io/Makefile: Likewise.
22475 * argp/Makefile: Likewise.
22476 * inet/Makefile: Likewise.
22477 * hesiod/Makefile: Likewise.
22478 * grp/Makefile: Likewise.
22479 * csu/Makefile: Likewise.
22480 * wctype/Makefile: Likewise.
22481 * crypt/Makefile: Likewise.
22482 * libio/Makefile: Likewise.
22483 * string/Makefile: Likewise.
22484 * nis/Makefile: Likewise.
22485 * resolv/Makefile: Likewise.
22486 * stdio-common/Makefile: Likewise.
22487 * wcsmbs/Makefile: Likewise.
22488 * dlfcn/Makefile: Likewise.
22489 * posix/Makefile: Likewise.
22490
3b7c4e74 22491 [BZ #6959]
482ff4da
UD
22492 * timezone/Makefile: Don't install timezone files, just the programs
22493 and scripts.
22494
f72ed77d
UD
224952012-03-06 Ulrich Drepper <drepper@gmail.com>
22496
a000466f
UD
22497 * nss/databases.def: Add missing gshadow entry.
22498
f72ed77d
UD
22499 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22500
a53b7a4e
MP
225012012-03-06 Marek Polacek <polacek@redhat.com>
22502
22503 [BZ #13726]
22504 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22505 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22506 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22507 * stdio-common/tst-long-dbl-fphex.c: New file.
22508
e9258400
DM
225092012-03-06 David S. Miller <davem@davemloft.net>
22510
22511 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22512 (set_obp_int): New function.
22513 (get_obp_int): New function.
22514 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22515 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22516 Avoid unused variable warnings on 'val' and use builtin_expect.
22517 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22518 __builtin_expect.
e9258400
DM
22519 (INLINE_CLONE_SYSCALL): Likewise.
22520
3bd2c723
DM
225212012-03-05 David S. Miller <davem@davemloft.net>
22522
22523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22524
bbb78d03
AS
225252012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22526
884c5db4
AS
22527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22528
bbb78d03
AS
22529 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22530 only for |x| >= 40.
22531 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22532
1c9f702a 225332012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22534
22535 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22536 Replace gettimeofday with __vdso_gettimeofday.
22537
7be16f82
RM
22538 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22539 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22540 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22541
22542 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22543 time with __vdso_time.
22544
ed58a00f
JM
225452012-03-05 Joseph Myers <joseph@codesourcery.com>
22546
22547 * manual/lang.texi (size_t): Note types to which size_t may be
22548 equivalent with the GNU C Library, but do not describe when
22549 differences between them are significant.
22550
30ee4ced
AJ
225512012-03-05 Andreas Jaeger <aj@suse.de>
22552
22553 * sysdeps/i386/fpu/libm-test-ulps: Update.
22554
b7cd39e8
JM
225552012-03-05 Joseph Myers <joseph@codesourcery.com>
22556
22557 [BZ #3976]
22558 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22559 (__ieee754_pow): Save and restore rounding mode and use
22560 round-to-nearest for main computations.
22561 * math/libm-test.inc (pow_test_tonearest): New function.
22562 (pow_test_towardzero): Likewise.
22563 (pow_test_downward): Likewise.
22564 (pow_test_upward): Likewise.
22565 (main): Call the new functions.
22566 * sysdeps/i386/fpu/libm-test-ulps: Update.
22567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
22568
22569 [BZ #3976]
22570 * math/libm-test.inc (cosh_test_tonearest): New function.
22571 (cosh_test_towardzero): Likewise.
22572 (cosh_test_downward): Likewise.
22573 (cosh_test_upward): Likewise.
22574 (sinh_test_tonearest): Likewise.
22575 (sinh_test_towardzero): Likewise.
22576 (sinh_test_downward): Likewise.
22577 (sinh_test_upward): Likewise.
22578 (main): Call the new functions.
22579 * sysdeps/i386/fpu/libm-test-ulps: Update.
22580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22581
6c6a98c9
TV
225822012-03-05 Tom de Vries <tom@codesourcery.com>
22583
22584 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22585 default stack guard is set in last bytes.
22586 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22587
21bb2d2e 225882012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 22589
21bb2d2e 22590 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 22591
21bb2d2e
AJ
22592 [BZ #13656]
22593 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22594 possibly allocate from heap instead of stack.
22595 * stdio-common/bug-vfprintf-nargs.c: New file.
22596 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 22597
c6922934
AS
225982012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22599
22600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22601
bc957d53
MP
226022012-03-03 Marek Polacek <polacek@redhat.com>
22603
22604 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22605 * math/math_private.h: Likewise.
22606 * stdlib/tst-strtod.c: Likewise.
22607 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22608 * sysdeps/x86_64/bits/atomic.h: Likewise.
22609
6358490d
DM
226102012-03-02 David S. Miller <davem@davemloft.net>
22611
22612 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22616 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22617 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22618 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22619 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22620
01ae168d
RM
226212012-03-02 Roland McGrath <roland@hack.frob.com>
22622
d9a17c07
RM
22623 [BZ #13792]
22624 * manual/examples/README: New file, says the example source files
22625 can be used under GPL>=2.
22626 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22627 line containing just "*/".
22628 * manual/examples/add.c: Add copyright header (GPL>=2).
22629 * manual/examples/argp-ex1.c: Likewise.
22630 * manual/examples/argp-ex2.c: Likewise.
22631 * manual/examples/argp-ex3.c: Likewise.
22632 * manual/examples/argp-ex4.c: Likewise.
22633 * manual/examples/atexit.c: Likewise.
22634 * manual/examples/db.c: Likewise.
22635 * manual/examples/dir.c: Likewise.
22636 * manual/examples/dir2.c: Likewise.
22637 * manual/examples/execinfo.c: Likewise.
22638 * manual/examples/filecli.c: Likewise.
22639 * manual/examples/filesrv.c: Likewise.
22640 * manual/examples/fmtmsgexpl.c: Likewise.
22641 * manual/examples/genpass.c: Likewise.
22642 * manual/examples/inetcli.c: Likewise.
22643 * manual/examples/inetsrv.c: Likewise.
22644 * manual/examples/isockad.c: Likewise.
22645 * manual/examples/longopt.c: Likewise.
22646 * manual/examples/memopen.c: Likewise.
22647 * manual/examples/memstrm.c: Likewise.
22648 * manual/examples/mkfsock.c: Likewise.
22649 * manual/examples/mkisock.c: Likewise.
22650 * manual/examples/mygetpass.c: Likewise.
22651 * manual/examples/pipe.c: Likewise.
22652 * manual/examples/popen.c: Likewise.
22653 * manual/examples/rprintf.c: Likewise.
22654 * manual/examples/search.c: Likewise.
22655 * manual/examples/select.c: Likewise.
22656 * manual/examples/setjmp.c: Likewise.
22657 * manual/examples/sigh1.c: Likewise.
22658 * manual/examples/sigusr.c: Likewise.
22659 * manual/examples/stpcpy.c: Likewise.
22660 * manual/examples/strdupa.c: Likewise.
22661 * manual/examples/strftim.c: Likewise.
22662 * manual/examples/strncat.c: Likewise.
22663 * manual/examples/subopt.c: Likewise.
22664 * manual/examples/swapcontext.c: Likewise.
22665 * manual/examples/termios.c: Likewise.
22666 * manual/examples/testopt.c: Likewise.
22667 * manual/examples/testpass.c: Likewise.
22668 * manual/examples/timeval_subtract.c: Likewise.
22669
01ae168d
RM
22670 [BZ #13792]
22671 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22672 function to ...
22673 * manual/timeval_subtract.c.texi: ... here, new file.
22674
49efa33d
DM
226752012-03-02 David S. Miller <davem@davemloft.net>
22676
22677 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22678
28afd92d
JM
226792012-03-02 Joseph Myers <joseph@codesourcery.com>
22680
804360ed
JM
22681 [BZ #3976]
22682 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22683 (__sin): Save and restore rounding mode and use round-to-nearest
22684 for all computations.
22685 (__cos): Save and restore rounding mode and use round-to-nearest
22686 for all computations.
22687 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22688 <fenv.h>.
22689 (tan): Save and restore rounding mode and use round-to-nearest for
22690 all computations.
22691 * math/libm-test.inc (cos_test_tonearest): New function.
22692 (cos_test_towardzero): Likewise.
22693 (cos_test_downward): Likewise.
22694 (cos_test_upward): Likewise.
22695 (sin_test_tonearest): Likewise.
22696 (sin_test_towardzero): Likewise.
22697 (sin_test_downward): Likewise.
22698 (sin_test_upward): Likewise.
22699 (tan_test_tonearest): Likewise.
22700 (tan_test_towardzero): Likewise.
22701 (tan_test_downward): Likewise.
22702 (tan_test_upward): Likewise.
22703 (main): Call the new functions.
22704 * sysdeps/i386/fpu/libm-test-ulps: Update.
22705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22706
a6d06d7b
JM
22707 [BZ #10135]
22708 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22709 small n, then large n, before computing and testing k+n.
22710 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22711 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22712 Likewise.
22713 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22714 Likewise.
22715 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22716 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22717 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22718 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22719 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22720 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22721 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22722 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22723 * math/libm-test.inc (scalbn_test): Add more tests.
22724 (scalbln_test): Likewise.
22725
07e12bb3
JM
22726 * manual/filesys.texi (mode_t): Describe constraints on size and
22727 signedness, not exact equivalence to a particular type.
22728 (ino_t): Likewise.
22729 (ino64_t): Likewise.
22730 (dev_t): Likewise.
22731 (nlink_t): Likewise.
22732 (blkcnt_t): Likewise.
22733 (blkcnt64_t): Likewise.
22734 * manual/llio.texi (off_t): Likewise.
22735
28afd92d
JM
22736 [BZ #3976]
22737 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22738 (__ieee754_exp): Save and restore rounding mode and use
22739 round-to-nearest for all computations.
22740 * math/libm-test.inc (exp_test_tonearest): New function.
22741 (exp_test_towardzero): Likewise.
22742 (exp_test_downward): Likewise.
22743 (exp_test_upward): Likewise.
22744 (main): Call the new functions.
22745 * sysdeps/i386/fpu/libm-test-ulps: Update.
22746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22747
b1eeb65d
CD
227482012-03-01 Chris Demetriou <cgd@google.com>
22749
22750 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22751 have predictable order.
22752
53362a4b
DM
227532012-03-01 David S. Miller <davem@davemloft.net>
22754
3c969083
DM
22755 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22756
759707de
DM
22757 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22758 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22759 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22760 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22761
dfdb8ff2
DM
22762 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22763 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22764 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22766 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22767 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22768 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22769 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22770 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22771
ead89f96
DM
22772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22773
7f66bd07
DM
22774 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22775 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22776 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22777
53362a4b
DM
22778 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22779 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22780 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22781 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22782 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22783 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22784 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22785 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22786 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22787 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22788 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22789 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22790 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22791 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22792 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22793 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22794 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22795 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22796 * sysdeps/sparc/elf/configure: Regenerated.
22797
7b1902cb
JM
227982012-03-01 Joseph Myers <joseph@codesourcery.com>
22799
bec039bc
JM
22800 * configure.in (AS, LD): Require binutils 2.20 or later.
22801 * configure: Regenerated.
22802 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22803 as required minimum version.
22804 * INSTALL: Regenerated.
22805
7b1902cb
JM
22806 [BZ #2541]
22807 [BZ #4108]
22808 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22809 before squaring exponent.
22810 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22811 bottom long double and 27 bits of top long double before squaring
22812 exponent.
22813 * math/libm-test.inc (erfc_test): Add more tests.
22814 * sysdeps/i386/fpu/libm-test-ulps: Update.
22815 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22817
f775c276
KT
228182012-03-01 Kai Tietz <ktietz@redhat.com>
22819
22820 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22821 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22822 containing bit-fields.
22823 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22824 * soft-fp/single.h (_FP_UNION_S): Likewise.
22825 * soft-fp/double.h (_FP_UNION_D): Likewise.
22826
5b8a4d4a
JM
228272012-02-29 Joseph Myers <joseph@codesourcery.com>
22828
0bab47b6
JM
22829 [BZ #13786]
22830 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22831 not include ../strcmp.S.
22832 [USE_AS_STRNCASECMP_L]: Likewise.
22833 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22834 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22835 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22836 (__strncasecmp_l_ia32): Define as alias to
22837 __strncasecmp_l_nonascii.
22838
0fcad3e2
JM
22839 [BZ #5794]
22840 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22841 * sysdeps/i386/fpu/libm-test-ulps: Update.
22842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22843
5b8a4d4a
JM
22844 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22846
8fdceb2e
JL
228472012-02-29 Jeff Law <law@redhat.com>
22848
22849 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22850 out of bounds read.
22851
1f393a11
MP
228522012-02-29 Marek Polacek <polacek@redhat.com>
22853
22854 [BZ #13706]
22855 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22856 * elf/Makefile: Add rules to run tst-unused-dep.out.
22857
8847f037
DM
228582012-02-28 David S. Miller <davem@davemloft.net>
22859
22860 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22861 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22862 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22863 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22864 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22865 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22866
169d7f11
JM
228672012-02-29 Joseph Myers <joseph@codesourcery.com>
22868
22869 * math/libm-test.inc (llround_test): Move one test from
22870 lround_test. Use TEST_f_L in moved test.
22871 (lround_test): Move misplaced test to llround_test. Add testcase
22872 from bug 2561.
22873
39adf059
UD
228742012-02-28 Ulrich Drepper <drepper@gmail.com>
22875
22876 * sysdeps/x86_64/fpu/e_expf.S: New file.
22877 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22878
71b5d1c5
SB
228792012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22880
22881 [BZ #13637]
22882 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22883 of remain_len that may cause incomplete multi-byte character and
22884 false match.
22885 * posix/bug-regex33.c: New file.
22886 * posix/Makefile (tests): Add bug-regex33.
22887
1f77f049
JM
228882012-02-28 Joseph Myers <joseph@codesourcery.com>
22889
22890 * manual/macros.texi: New file.
22891 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22892 * manual/libc.texinfo: Include macros.texi.
22893 * manual/creatute.texi: Likewise.
22894 * manual/install.texi: Likewise.
22895 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22896 @glibcadj{} in references to the GNU C Library.
22897 * manual/charset.texi: Likewise.
22898 * manual/conf.texi: Likewise.
22899 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22900 when not using those macros.
22901 * manual/creature.texi: Likewise.
22902 * manual/crypt.texi: Likewise.
22903 * manual/errno.texi: Likewise.
22904 * manual/filesys.texi: Likewise.
22905 * manual/header.texi: Likewise.
22906 * manual/install.texi: Likewise.
22907 * manual/intro.texi: Likewise.
22908 * manual/io.texi: Likewise.
22909 * manual/job.texi: Likewise.
22910 * manual/lang.texi: Likewise.
22911 * manual/libc.texiinfo: Likewise.
22912 * manual/llio.texi: Likewise.
22913 * manual/locale.texi: Likewise.
22914 * manual/maint.texi: Likewise.
22915 * manual/math.texi: Likewise.
22916 * manual/memory.texi: Likewise.
22917 * manual/message.texi: Likewise.
22918 * manual/nss.texi: Likewise.
22919 * manual/pattern.texi: Likewise.
22920 * manual/process.texi: Likewise.
22921 * manual/resource.texi: Likewise.
22922 * manual/search.texi: Likewise.
22923 * manual/setjmp.texi: Likewise.
22924 * manual/signal.texi: Likewise.
22925 * manual/socket.texi: Likewise.
22926 * manual/startup.texi: Likewise.
22927 * manual/stdio.texi: Likewise.
22928 * manual/string.texi: Likewise.
22929 * manual/sysinfo.texi: Likewise.
22930 * manual/syslog.texi: Likewise.
22931 * manual/terminal.texi: Likewise.
22932 * manual/time.texi: Likewise.
22933 * manual/users.texi: Likewise.
22934 * INSTALL: Regenerated.
22935 * NOTES: Regenerated.
d40c5d54 22936 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 22937
450bf206
AS
229382012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22939
22940 * include/dirent.h: Include <dirstream.h> before
22941 <dirent/dirent.h>.
22942
741a235b
DM
229432012-02-28 David S. Miller <davem@davemloft.net>
22944
22945 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22946 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22947 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22948 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22949
d6b5aa58
DM
229502012-02-27 David S. Miller <davem@davemloft.net>
22951
1aff59a3
DM
22952 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22954 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22955 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22956
d6b5aa58
DM
22957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22958 frame pointer instead of stack pointer relative arg slot.
22959 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22960 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22961 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22962
433f48bf
CD
229632012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
22964
22965 [BZ #3992]
22966 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22967
d674b76d
DM
229682012-02-27 David S. Miller <davem@davemloft.net>
22969
22970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22974 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22975 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22976 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22977 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22978
0e7727f7
JM
229792012-02-27 Joseph Myers <joseph@codesourcery.com>
22980
22981 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22982 later. Allow versions 5-9.
43be4ca2 22983 * configure: Regenerated.
0e7727f7
JM
22984 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22985 required minimum version and 4.6 as recommended version. Do not
22986 mention bugs in GCC 2.7 and 2.8.
43be4ca2 22987 * INSTALL: Regenerated.
0e7727f7 22988
a78bc654
DM
229892012-02-27 David S. Miller <davem@davemloft.net>
22990
428d5830
DM
22991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22993 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22994 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22995 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22996 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22997 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22998 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22999
a78bc654
DM
23000 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23001 manipulate bits before adding and subtracting TWO112[sx].
23002 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23003
4579f81c
RM
230042012-02-27 Roland McGrath <roland@hack.frob.com>
23005
36c8acb4
RM
23006 [BZ #13775]
23007 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23008 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23009 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23010 being in POSIX, because they are in 1003.1-2008.
23011
84ad622b
RM
23012 * rt/tst-aio.c: Include <fcntl.h>.
23013 * rt/tst-aio7.c: Likewise.
23014 * rt/tst-aio64.c: Likewise.
23015
4579f81c
RM
23016 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23017
abd923db
JM
230182012-02-27 Joseph Myers <joseph@codesourcery.com>
23019
23020 * manual/install.texi (--with-headers): Describe headers as
23021 interface headers, not private headers.
23022 (Specific advice for GNU/Linux systems): Describe use of headers
23023 from "make headers_install", not private headers from older
23024 kernels.
43be4ca2 23025 * INSTALL: Regenerated.
abd923db
JM
23026 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23027 Change to 2.6.19.
23028 * sysdeps/unix/sysv/linux/configure: Regenerated.
23029
6664049b
JM
23030 * manual/llio.texi (fclean): Remove documentation.
23031
bb8b6697
JM
23032 * manual/Makefile (libc-texi-generated): New variable. Include
23033 version.texi.
23034 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23035 $(libc-texi-generated), not duplicated list of files.
23036 (version.texi, stamp-version): New rules.
23037 (realclean): Remove $(libc-texi-generated), not individual files
23038 from that list. Do not remove dir-add.texinfo.
23039 * manual/libc.texinfo: Comment out uses of edition numbers and
23040 references to printed manual. Remove last-updated dates.
23041 (EDITION): Comment out.
23042 (ISBN): Likewise.
23043 (VERSION, UPDATED): Remove.
23044 (version.texi): Include.
23045
12e5c3b9
AS
230462012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23047
23048 * sysdeps/posix/spawni.c: Include <signal.h>.
23049 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23050 * sysdeps/pthread/aio_fsync.c: Likewise.
23051
4efeffc1 230522012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23053
ba63ba08
UD
23054 * conform/Makefile (tests): Run only when not cross-compiling and
23055 when fast-check is not defined.
23056
d94a4670
UD
23057 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23058 * conform/data/limits.h-data: Fixes for POSIX2008.
23059 * conform/run-conformtest.sh: Run all tests.
23060 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23061 headers.
23062 * include/bits/dlfcn.h: Likewise.
23063 * include/langinfo.h: Likewise.
23064 * include/monetary.h: Likewise.
23065 * include/sys/poll.h: Likewise.
23066
23067 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23068 for __USE_GNU.
23069 * posix/spawn.h: Define __need_sigset_t.
23070 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23071 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23072 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23073 to get sigevent_t only.
23074 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23075 only for __USE_GNU.
23076 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23077 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23078 process_vm_writev only for __USE_GNU.
23079 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23080
23081 * conform/Makefile: For now ignore errors from run-conformtest.
23082 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23083 POSIX to avoid namespace pollution. Don't prepend headers.
23084 * conform/data/aio.h-data: Fixes for POSIX testing.
23085 * conform/data/fcntl.h-data: Likewise.
23086 * conform/data/glob.h-data: Likewise.
23087 * conform/data/grp.h-data: Likewise.
23088 * conform/data/pthread.h-data: Likewise.
23089 * conform/data/pwd.h-data: Likewise.
23090 * conform/data/signal.h-data: Likewise.
23091 * conform/data/spawn.h-data: Likewise.
23092 * conform/data/stdio.h-data: Likewise.
23093 * conform/data/stdlib.h-data: Likewise.
23094 * conform/data/stropts.h-data: Likewise.
23095 * conform/data/sys/mman.h-data: Likewise.
23096 * conform/data/sys/stat.h-data: Likewise.
23097 * conform/data/sys/types.h-data: Likewise.
23098 * conform/data/sys/wait.h-data: Likewise.
23099 * conform/data/time.h-data: Likewise.
23100 * conform/data/unistd.h-data: Likewise.
23101 * conform/data/utime.h-data: Likewise.
23102
23103 * io/sys/stat.h: fchmod was always in POSIX.
23104 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23105 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23106 * rt/aio.h: Define __need_timespec before including <time.h>.
23107 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23108 struct. Add forward declaration of pthread_attr_t and use it in
23109 sigevent.
23110 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23111 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23112 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23113 always remove CLK_TCK definition.
23114
c20105c3
AS
231152012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23116
23117 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23118
7a270350
UD
231192012-02-25 Ulrich Drepper <drepper@gmail.com>
23120
31341567
UD
23121 * conform/run-conformtest.sh: New file.
23122 * conform/Makefile: Run run-conformtest for tests.
23123 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23124 support.
23125
23126 * conform/data/uchar.h-data: New file.
23127 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23128 * conform/data/arpa/inet.h-data: Likewise.
23129 * conform/data/assert.h-data: Likewise.
23130 * conform/data/complex.h-data: Likewise.
23131 * conform/data/cpio.h-data: Likewise.
23132 * conform/data/ctype.h-data: Likewise.
23133 * conform/data/dirent.h-data: Likewise.
23134 * conform/data/dlfcn.h-data: Likewise.
23135 * conform/data/errno.h-data: Likewise.
23136 * conform/data/fcntl.h-data: Likewise.
23137 * conform/data/float.h-data: Likewise.
23138 * conform/data/fmtmsg.h-data: Likewise.
23139 * conform/data/fnmatch.h-data: Likewise.
23140 * conform/data/ftw.h-data: Likewise.
23141 * conform/data/glob.h-data: Likewise.
23142 * conform/data/grp.h-data: Likewise.
23143 * conform/data/iconv.h-data: Likewise.
23144 * conform/data/inttypes.h-data: Likewise.
23145 * conform/data/langinfo.h-data: Likewise.
23146 * conform/data/libgen.h-data: Likewise.
23147 * conform/data/limits.h-data: Likewise.
23148 * conform/data/locale.h-data: Likewise.
23149 * conform/data/math.h-data: Likewise.
23150 * conform/data/monetary.h-data: Likewise.
23151 * conform/data/mqueue.h-data: Likewise.
23152 * conform/data/ndbm.h-data: Likewise.
23153 * conform/data/net/if.h-data: Likewise.
23154 * conform/data/netdb.h-data: Likewise.
23155 * conform/data/netinet/in.h-data: Likewise.
23156 * conform/data/nl_types.h-data: Likewise.
23157 * conform/data/poll.h-data: Likewise.
23158 * conform/data/pthread.h-data: Likewise.
23159 * conform/data/pwd.h-data: Likewise.
23160 * conform/data/regex.h-data: Likewise.
23161 * conform/data/sched.h-data: Likewise.
23162 * conform/data/search.h-data: Likewise.
23163 * conform/data/semaphore.h-data: Likewise.
23164 * conform/data/setjmp.h-data: Likewise.
23165 * conform/data/signal.h-data: Likewise.
23166 * conform/data/spawn.h-data: Likewise.
23167 * conform/data/stdarg.h-data: Likewise.
23168 * conform/data/stdio.h-data: Likewise.
23169 * conform/data/stdlib.h-data: Likewise.
23170 * conform/data/string.h-data: Likewise.
23171 * conform/data/strings.h-data: Likewise.
23172 * conform/data/stropts.h-data: Likewise.
23173 * conform/data/sys/ipc.h-data: Likewise.
23174 * conform/data/sys/mman.h-data: Likewise.
23175 * conform/data/sys/msg.h-data: Likewise.
23176 * conform/data/sys/resource.h-data: Likewise.
23177 * conform/data/sys/select.h-data: Likewise.
23178 * conform/data/sys/sem.h-data: Likewise.
23179 * conform/data/sys/shm.h-data: Likewise.
23180 * conform/data/sys/socket.h-data: Likewise.
23181 * conform/data/sys/stat.h-data: Likewise.
23182 * conform/data/sys/statvfs.h-data: Likewise.
23183 * conform/data/sys/time.h-data: Likewise.
23184 * conform/data/sys/timeb.h-data: Likewise.
23185 * conform/data/sys/times.h-data: Likewise.
23186 * conform/data/sys/types.h-data: Likewise.
23187 * conform/data/sys/uio.h-data: Likewise.
23188 * conform/data/sys/un.h-data: Likewise.
23189 * conform/data/sys/utsname.h-data: Likewise.
23190 * conform/data/sys/wait.h-data: Likewise.
23191 * conform/data/syslog.h-data: Likewise.
23192 * conform/data/tar.h-data: Likewise.
23193 * conform/data/termios.h-data: Likewise.
23194 * conform/data/utime.h-data: Likewise.
23195 * conform/data/utmpx.h-data: Likewise.
23196 * conform/data/varargs.h-data: Likewise.
23197 * conform/data/wchar.h-data: Likewise.
23198 * conform/data/wctype.h-data: Likewise.
23199 * conform/data/wordexp.h-data: Likewise.
23200
23201 * include/stropts.h: New file.
23202 * include/uchar.h: New file.
23203 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23204 * include/assert.h: Likewise.
23205 * include/ctype.h: Likewise.
23206 * include/dirent.h: Likewise.
23207 * include/dlfcn.h: Likewise.
23208 * include/fcntl.h: Likewise.
23209 * include/fnmatch.h: Likewise.
23210 * include/glob.h: Likewise.
23211 * include/grp.h: Likewise.
23212 * include/libio.h: Likewise.
23213 * include/locale.h: Likewise.
23214 * include/math.h: Likewise.
23215 * include/net/if.h: Likewise.
23216 * include/netdb.h: Likewise.
23217 * include/netinet/in.h: Likewise.
23218 * include/pthread.h: Likewise.
23219 * include/pwd.h: Likewise.
23220 * include/regex.h: Likewise.
23221 * include/sched.h: Likewise.
23222 * include/search.h: Likewise.
23223 * include/setjmp.h: Likewise.
23224 * include/signal.h: Likewise.
23225 * include/stdio.h: Likewise.
23226 * include/stdlib.h: Likewise.
23227 * include/string.h: Likewise.
23228 * include/sys/cdefs.h: Likewise.
23229 * include/sys/mman.h: Likewise.
23230 * include/sys/msg.h: Likewise.
23231 * include/sys/resource.h: Likewise.
23232 * include/sys/select.h: Likewise.
23233 * include/sys/socket.h: Likewise.
23234 * include/sys/stat.h: Likewise.
23235 * include/sys/statvfs.h: Likewise.
23236 * include/sys/time.h: Likewise.
23237 * include/sys/times.h: Likewise.
23238 * include/sys/uio.h: Likewise.
23239 * include/sys/utsname.h: Likewise.
23240 * include/sys/wait.h: Likewise.
23241 * include/termios.h: Likewise.
23242 * include/time.h: Likewise.
23243 * include/ulimit.h: Likewise.
23244 * include/unistd.h: Likewise.
23245 * include/utime.h: Likewise.
23246 * include/wchar.h: Likewise.
23247 * include/wctype.h: Likewise.
23248 * include/wordexp.h: Likewise.
23249
23250 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23251
7a270350
UD
23252 * time/time.h: TIME_UTC must be a macro.
23253 Make timespec_get available for ISO C11 only as well.
23254
7724defc
UD
232552012-02-24 Ulrich Drepper <drepper@gmail.com>
23256
23257 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23258 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23259
6b1d1d46
JM
232602012-02-24 Joseph Myers <joseph@codesourcery.com>
23261
23262 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23263
0f8bbd69
JM
232642012-02-24 Joseph Myers <joseph@codesourcery.com>
23265
23266 * manual/texinfo.tex: Update to version 2012-01-19.16.
23267
66ab80bc
JM
232682012-02-24 Joseph Myers <joseph@codesourcery.com>
23269
23270 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23271
74981cc5
RM
232722012-02-24 Roland McGrath <roland@hack.frob.com>
23273
ee968201
RM
23274 [BZ #13738]
23275 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23276 * manual/fdl-1.3.texi: New file.
23277 * manual/fdl-1.1.texi: File removed.
23278
74981cc5
RM
23279 [BZ #13738]
23280 * manual/libc.texinfo (FDL_VERSION): New @set.
23281 Use it for mention of FDL in cover text.
23282 (Documentation License): Use it in @include file name.
23283
7bb764bc
JM
232842012-02-22 Joseph Myers <joseph@codesourcery.com>
23285 Roland McGrath <roland@hack.frob.com>
23286
23287 [BZ #5461]
23288 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23289 not LONG_LONG_MAX and LONG_LONG_MIN.
23290 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23291 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23292 name.
23293 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23294
6cbeae47
JM
232952012-02-22 Joseph Myers <joseph@codesourcery.com>
23296
23297 [BZ #2547]
23298 [BZ #11365]
23299 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23300 manipulate bits before adding and subtracting TWO23[sx].
23301 * math/libm-test.inc (nearbyint_test): Add more tests.
23302
fe45ce09
JM
233032012-02-22 Joseph Myers <joseph@codesourcery.com>
23304
23305 [BZ #2548]
23306 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23307 bits before adding and subtracting TWO23[sx].
23308 * math/libm-test.inc (rint_test): Add more tests.
23309 (rint_test_tonearest): Likewise.
23310 (rint_test_towardzero): Likewise.
23311 (rint_test_downward): Likewise.
23312 (rint_test_upward: Likewise.
23313
ff3b3d82
JM
233142012-02-22 Joseph Myers <joseph@codesourcery.com>
23315
23316 [BZ #10110]
23317 * include/stdc-predef.h: New file. Extracted from features.h.
23318 * include/features.h: Include stdc-predef.h.
23319 * Makefile (headers): Add stdc-predef.h.
23320 * CONFORMANCE (Compiler limitations): Update.
23321
ef0aab35
JM
233222012-02-22 Joseph Myers <joseph@codesourcery.com>
23323
23324 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23325
58639409
DM
233262012-02-21 David S. Miller <davem@davemloft.net>
23327
23328 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23329 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23330
c0e70b25
DM
233312012-02-20 David S. Miller <davem@davemloft.net>
23332
23333 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23334 using a normal save/restore sequence, rather than allocating a
23335 dummy stack frame just to store a frame pointer and restore.
23336 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23337
fb06851d
JM
233382012-02-21 Joseph Myers <joseph@codesourcery.com>
23339
23340 * manual/install.texi: Fix stray word in line-wrapped comment.
23341
7a8b71c3
DM
233422012-02-20 David S. Miller <davem@davemloft.net>
23343
d510c123
DM
23344 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23345 both binutils and gcc support GOTDATA.
23346
0722d7c2
DM
23347 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23348 "rd %pc" in the PIC register setup sequences.
23349
3d2b3019
DM
23350 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23351 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23352 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23353 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23354 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23355 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23356 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23357 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23358 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23359 (SYSCALL_ERROR_HANDLER): Likewise.
23360 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23361 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23362 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23363 (SYSCALL_ERROR_HANDLER): Likewise.
23364
c80098a9
DM
23365 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23366 (HAVE_GCC_GOTDATA): New.
23367 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23368 relocation support in both binutils and gcc.
23369 * sysdeps/sparc/elf/configure: Regenerate.
23370
3a2545a0
DM
23371 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23372 * sysdeps/sparc/sparc32/elf/configure: Delete.
23373 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23374 * sysdeps/sparc/sparc64/elf/configure: Delete.
23375 * sysdeps/sparc/elf/configure.in: New file.
23376 * sysdeps/sparc/elf/configure: Generate.
23377
7a8b71c3
DM
23378 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23379 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23380 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23381 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23382 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23383
f1e86fca
JM
233842012-02-21 Joseph Myers <joseph@codesourcery.com>
23385
23386 * manual/install.texi: Do not mention specific glibc version
23387 numbers.
23388 * manual/libc.texinfo (VERSION, UPDATED): Update.
23389 (@copying): Use @copyright{} and range of years.
23390
0e7dfaef
JM
233912012-02-21 Joseph Myers <joseph@codesourcery.com>
23392
23393 [BZ #13695]
23394 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23395 [crti.S not in sysdirs] (generated): Do not append.
23396 [crti.S not in sysdirs] (omit-deps): Likewise.
23397 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23398 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23399 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23400 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23401 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23402 Likewise.
23403 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23404 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23405 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23406 * csu/defs.awk: Remove file.
23407 * sysdeps/generic/initfini.c: Likewise.
23408 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23409 variable.
23410 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23411 Likewise.
23412
599af3ca
JM
234132012-02-20 Joseph Myers <joseph@codesourcery.com>
23414
23415 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23416 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23417 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23418 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23419 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23420 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23421 <bits/epoll.h>.
23422 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23423 (__EPOLL_PACKED): Define to empty if not defined by
23424 <bits/epoll.h>.
23425 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23426 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23427 bits/epoll.h.
23428
0e499750
JM
234292012-02-20 Joseph Myers <joseph@codesourcery.com>
23430
23431 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23432 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23433 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23434 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23435 <bits/timerfd.h>.
23436 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23438 bits/timerfd.h.
23439
5ad91f6e
JM
234402012-02-20 Joseph Myers <joseph@codesourcery.com>
23441
23442 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23443 in C locale.
23444 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23445 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23446 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23448
06b99b02
AJ
234492012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23450
23451 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23452 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23453
7638c0fd
AS
234542012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23455
23456 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23457 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23458 defined.
23459 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23460 Likewise.
23461 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23462 entry for 2.16.
23463
92221550
AJ
234642012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23465
23466 * math/w_acos.c: Use non-signaling floating-point comparisons.
23467 * math/w_acosf.c: Likewise.
23468 * math/w_acosh.c: Likewise.
23469 * math/w_acoshf.c: Likewise.
23470 * math/w_acoshl.c: Likewise.
23471 * math/w_acosl.c: Likewise.
23472 * math/w_asin.c: Likewise.
23473 * math/w_asinf.c: Likewise.
23474 * math/w_asinl.c: Likewise.
23475 * math/w_atanh.c: Likewise.
23476 * math/w_atanhf.c: Likewise.
23477 * math/w_atanhl.c: Likewise.
23478 * math/w_exp2.c: Likewise.
23479 * math/w_exp2f.c: Likewise.
23480 * math/w_exp2l.c: Likewise.
23481 * math/w_j0.c: Likewise.
23482 * math/w_j0f.c: Likewise.
23483 * math/w_j0l.c: Likewise.
23484 * math/w_j1.c: Likewise.
23485 * math/w_j1f.c: Likewise.
23486 * math/w_j1l.c: Likewise.
23487 * math/w_jn.c: Likewise.
23488 * math/w_jnf.c: Likewise.
23489 * math/w_log.c: Likewise.
23490 * math/w_log10.c: Likewise.
23491 * math/w_log10f.c: Likewise.
23492 * math/w_log10l.c: Likewise.
23493 * math/w_log2.c: Likewise.
23494 * math/w_log2f.c: Likewise.
23495 * math/w_log2l.c: Likewise.
23496 * math/w_logf.c: Likewise.
23497 * math/w_logl.c: Likewise.
23498 * math/w_sqrt.c: Likewise.
23499 * math/w_sqrtf.c: Likewise.
23500 * math/w_sqrtl.c: Likewise.
23501 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23502 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23503 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23504 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23505 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23506
ebaf36eb
JM
235072012-02-19 Joseph Myers <joseph@codesourcery.com>
23508
23509 [BZ #9739]
23510 * manual/string.texi (strnlen): Use correct parameter name in
23511 equivalent expression.
23512
71c254a6
JM
235132012-02-19 Joseph Myers <joseph@codesourcery.com>
23514
23515 [BZ #11174]
23516 * manual/users.texi (seteuid): Consistently use neweuid for
23517 argument name.
23518
16d2c631
JM
235192012-02-19 Joseph Myers <joseph@codesourcery.com>
23520
23521 [BZ #13704]
23522 * manual/nss.texi (Services in the NSS configuration): Correct
23523 list of services in example configuration file.
23524
cd837b09
NB
235252012-02-19 Nick Bowler <nbowler@draconx.ca>
23526
23527 [BZ #11322]
23528 * manual/arith.texi: Remove statements about negative zero
23529 behaving identically to zero.
23530
02c4bbad
JM
235312012-02-18 Joseph Myers <joseph@codesourcery.com>
23532
23533 [BZ #5993]
23534 * manual/install.texi: Do not document upgrading from libc5.
23535
366842e7
JM
235362012-02-18 Joseph Myers <joseph@codesourcery.com>
23537
23538 [BZ #4596]
23539 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23540
dd54084d
DM
235412012-02-18 David S. Miller <davem@davemloft.net>
23542
23543 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23544 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23545 %o7 across the call.
23546 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23547 instead.
23548 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23549 SETUP_PIC_REG_LEAF.
23550 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23551 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23552 * sysdeps/sparc/crtn.S: Likewise.
23553
2bcc53a3
UD
235542012-02-17 Ulrich Drepper <drepper@gmail.com>
23555
23556 * aout/Makefile: Remove.
23557
09c093b5
RK
235582012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23559
23560 [BZ #13058]
23561 * manual/examples/argp-ex1.c (main): Format definition in GNU
23562 style.
23563 * manual/examples/argp-ex2.c (main): Likewise.
23564 * manual/examples/argp-ex3.c (main): Likewise.
23565 * manual/examples/argp-ex4.c (main): Likewise.
23566 * manual/examples/longopt.c (main): Use new-style prototype
23567 definition.
23568 * manual/examples/strncat.c (main): Specify return type and use
23569 (void) for arguments.
23570 * manual/examples/subopt.c (main): Use char **argv argument.
23571
2ee633a2
JM
235722012-02-17 Joseph Myers <joseph@codesourcery.com>
23573
23574 [BZ #5077]
23575 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23576 rounding modes.
23577
0520adde
FB
235782012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23579
23580 [BZ #6907]
23581 * manual/string.texi (strchr): Change when strchrnul is
23582 recommended.
23583
3f4081cd
DGM
235842012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23585
23586 [BZ #174]
23587 * manual/locale.texi (setlocale): Document LOCPATH.
23588
d1b10e78
JM
235892012-02-17 Joseph Myers <joseph@codesourcery.com>
23590
23591 [BZ #10210]
23592 * manual/process.texi (execle): Move @dots{} before last argument.
23593
79c6869c
PB
235942012-02-17 Paul Bolle <pebolle@tiscali.nl>
23595
23596 [BZ #12047]
23597 * manual/charset.texi (Generic Charset Conversion): Fix typo
23598 (LC_TYPE -> LC_CTYPE).
23599
cc6e48bc
NB
236002012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23601
23602 [BZ #5805]
23603 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23604 (scalbnf): Likewise.
23605 (scalbnl): Likewise.
23606 (scalbln): Likewise.
23607 (scalblnf): Likewise.
23608 (scalblnl): Likewise.
23609 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23610 (vwarnx): Likewise.
23611 (verr): Likewise.
23612 (verrx): Likewise.
23613 * manual/filesys.texi (telldir): Use braces around return type.
23614 * manual/llio.texi (mmap): Add space after comma.
23615 (mmap64): Likewise.
23616 * manual/math.texi (jn): Use @var{} on parameter names.
23617 (jnf): Likewise.
23618 (jnl): Likewise.
23619 (yn): Likewise.
23620 (ynf): Likewise.
23621 (ynl): Likewise.
23622 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23623 line.
23624 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23625 "...".
23626 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23627 (sched_get_priority_max): Likewise.
23628 * manual/signal.texi (sigvec): Add space after comma.
23629 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23630 names.
23631 (if_indextoname): Likewise.
23632 (if_freenameindex): Likewise.
23633 (sendto): Use ',' instead of '.' in prototype.
23634 * manual/startup.texi (syscall): Use @dots{} instead of literal
23635 "...".
23636 * manual/stdio.texi (__fpending): Separate initial words of
23637 paragraph from @deftypefun line.
23638 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23639 "...".
23640 (vsyslog): Use @var{} on parameter names.
23641 * manual/terminal.texi (stty): Use @var{} on parameter names.
23642 * manual/users.texi (getutmp): Use @var{} on parameter names.
23643 (getutmpx): Likewise.
23644
5b23062f
JM
236452012-02-17 Joseph Myers <joseph@codesourcery.com>
23646
23647 [BZ #6884]
23648 * manual/stdio.texi (fopen): Fix typos in description of
23649 ",ccs=STRING".
23650
8dee4833
AJ
236512012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23652
23653 [BZ #4026]
23654 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23655 get clock_id definition.
23656
9078ce93
TS
236572012-02-17 Thomas Schwinge <thomas@schwinge.name>
23658
23659 [BZ #4822]
23660 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23661 (madvise): Cast every argument to void on its own.
23662
3835c55f
JM
236632012-02-17 Joseph Myers <joseph@codesourcery.com>
23664
23665 [BZ #9902]
23666 * manual/startup.texi (Exit Status): Fix typo.
23667
35c47e37
JM
236682012-02-17 Joseph Myers <joseph@codesourcery.com>
23669
23670 [BZ #10140]
23671 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23672 * manual/examples/argp-ex2.c: Likewise.
23673 * manual/examples/argp-ex3.c: Likewise.
23674
e3b69ca7
RH
236752012-02-16 Richard Henderson <rth@redhat.com>
23676
23677 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23678 * sysdeps/s390/s390-32/initfini.c: Remove.
23679 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23680 * sysdeps/s390/s390-64/initfini.c: Remove.
23681
df83af67
KK
236822012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23683
23684 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23685 compiler output for sysdeps/generic/initfini.c.
23686 * sysdeps/sh/elf/initfini.c: Remove file.
23687
f63f3380
DM
236882012-02-16 David S. Miller <davem@davemloft.net>
23689
fb59b3a4
DM
23690 [BZ #11494]
23691 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23692
f63f3380
DM
23693 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23694 * sysdeps/sparc/crti.S: New file.
23695 * sysdeps/sparc/crtn.S: New file.
23696 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23697 * sysdeps/sparc/sparc64/Makefile: Likewise.
23698
df6a4a4a
MF
236992012-02-15 Mike Frysinger <vapier@gentoo.org>
23700
6dd8f3dc 23701 [BZ #3335]
df6a4a4a
MF
23702 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23703
1cac7236
RM
237042012-02-15 Roland McGrath <roland@hack.frob.com>
23705
d2c736f8
RM
23706 [BZ #4822]
23707 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23708
1cac7236
RM
23709 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23710 (write, read, close): Likewise.
23711 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23712
8e475601
JM
237132012-02-15 Joseph Myers <joseph@codesourcery.com>
23714
23715 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23716 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23717 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23718 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23719 <bits/signalfd.h>.
23720 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23721 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23722 bits/signalfd.h.
23723
ed656b40
MP
237242012-02-14 Marek Polacek <polacek@redhat.com>
23725
23726 * sysdeps/x86_64/crti.S: New file.
23727 * sysdeps/x86_64/crtn.S: New file.
23728 * sysdeps/x86_64/elf/initfini.c: Remove file.
23729
2a979d3a
JM
237302012-02-13 Joseph Myers <joseph@codesourcery.com>
23731
23732 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23733 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23734 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23735 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23736 <bits/inotify.h>.
23737 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23738 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23739 bits/inotify.h.
23740
2a418ac3
JM
237412012-02-13 Joseph Myers <joseph@codesourcery.com>
23742
23743 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23744 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23745 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23746 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23747 <bits/eventfd.h>.
23748 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23749 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23750 bits/eventfd.h.
23751
fb779be7
TS
237522012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23753
e19e83c5
RM
23754 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23755 __feraiseexcept instead of feraiseexcept.
7c35ffed 23756
fb779be7
TS
23757 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23758 nanosleep invocations.
23759 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23760 strings, and add error checking for a nanosleep invocations.
23761
59ba27a6
PE
237622012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23763
23764 Replace FSF snail mail address with URLs, as per GNU coding standards.
23765 Most of the snail mail addresses were wrong anyway, and omitting
23766 them makes the source code easier to maintain. Almost all of the
23767 changes are to license notices and to locale LC_IDENTIFICATION
23768 addresses, except for this one:
23769 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23770 not its snail mail address.
23771
57b957eb
RH
237722012-02-09 Richard Henderson <rth@twiddle.net>
23773
af850b1c
RH
23774 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23775 of kernel-features.h.
23776
57b957eb
RH
23777 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23778
6b73181a
MP
237792012-02-08 Marek Polacek <polacek@redhat.com>
23780
23781 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23782 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23783 * sysdeps/gnu/_G_config.h: Likewise.
23784 * sysdeps/generic/_G_config.h: Likewise.
23785
26ecc33a
AS
237862012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23787
6c6dbc63
AS
23788 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23789 tests.
23790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23791
e216c012
AS
23792 * sysdeps/powerpc/powerpc32/crti.S: New file.
23793 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23794 * sysdeps/powerpc/powerpc64/crti.S: New file.
23795 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23796
26ecc33a
AS
23797 * Makeconfig (have-initfini): Don't set.
23798 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23799 * configure.in (nopic_initfini): Don't substitute.
23800 * config.h.in (HAVE_INITFINI): Don't #undef.
23801 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23802 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23803
3add8e13
JM
238042012-02-08 Joseph Myers <joseph@codesourcery.com>
23805
23806 Support crti.S and crtn.S provided directly by architectures.
23807 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23808 [crti.S in sysdirs] (omit-deps): Likewise.
23809 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23810 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23811 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23812 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23813 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23814 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23815 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23816 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23817 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23818 compiler output for sysdeps/generic/initfini.c.
23819 * sysdeps/i386/elf/Makefile: Remove file.
23820 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23821
a22f12b4
MP
238222012-02-07 Marek Polacek <polacek@redhat.com>
23823
23824 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23825 * sysdeps/gnu/_G_config.h: Likewise.
23826 * sysdeps/mach/hurd/_G_config.h: Likewise.
23827
148cf100
MP
238282012-02-07 Marek Polacek <polacek@redhat.com>
23829
23830 * math/Makefile (tests): Add tst-CMPLX2.
23831 * math/tst-CMPLX2.c: New file.
23832
cfdc0dd7
AS
238332012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23834
84ba42c4
AS
23835 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23836
cfdc0dd7
AS
23837 * math/libm-test.inc (jn_test): Add missing L suffix.
23838
622c86f4
MP
238392012-02-06 Marek Polacek <polacek@redhat.com>
23840
23841 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23842 * sysdeps/i386/fpu/e_powf.S: Likewise.
23843 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23844 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23845 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23846 * sysdeps/i386/fpu/e_pow.S: Likewise.
23847 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23848 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23849 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23850 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23851 * sysdeps/i386/fpu/e_log2.S: Likewise.
23852 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23853 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23854 * sysdeps/i386/fpu/e_powl.S: Likewise.
23855 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23856 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23857 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23858 * sysdeps/i386/fpu/e_logl.S: Likewise.
23859 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23860 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23861 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23862 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23863 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23864 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23865 * sysdeps/i386/fpu/e_log.S: Likewise.
23866 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23867 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23868 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23869 * sysdeps/i386/fpu/e_logf.S: Likewise.
23870 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23871 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23872 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23873 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23874 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23875 * sysdeps/i386/fpu/e_log10.S: Likewise.
23876 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23877 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23878 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23879 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23880 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23881 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23882 * sysdeps/i386/asm-syntax.h: Likewise.
23883 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23884 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23885 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23886 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23887 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23888 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23889 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23890 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23891 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23892 * sysdeps/powerpc/sysdep.h: Likewise.
23893 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23894 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23895
d4a54ac6
JM
238962012-02-06 Joseph Myers <joseph@codesourcery.com>
23897
23898 [BZ #411]
23899 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23900
314054ea
JM
239012012-02-06 Joseph Myers <joseph@codesourcery.com>
23902
23903 * sysdeps/i386/sysdep.h: Include <features.h>.
23904 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23905 version.
23906
d8e0ca50
JM
239072012-02-05 Joseph Myers <joseph@codesourcery.com>
23908
23909 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23910 Define.
23911 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23912 LOAD_PIC_REG_STR.
23913
b1da7dd9
JM
239142012-02-03 Joseph Myers <joseph@codesourcery.com>
23915
23916 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23917 (SETUP_PIC_REG): Use GET_PC_THUNK.
23918 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23919 macro.
23920
9a1d9254
JM
239212012-02-03 Joseph Myers <joseph@codesourcery.com>
23922
23923 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23924 for non-PIC compilation.
23925 (SETUP_PIC_REG): Add .p2align directive.
23926 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23927 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23928 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23929 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23930 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23931 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23932 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23933 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23934 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23935 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23936 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23937 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23938 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23939 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23940 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23941 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23942 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23943 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23944 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23945 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23946 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23947 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23948 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23949 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23950 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23951 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23952 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23953 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23954 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23955 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23956 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23957 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23958 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23959 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23960 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23961 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23962 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23963 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23964 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23965 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23966 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23967
65dc3b75
JM
239682012-02-03 Joseph Myers <joseph@codesourcery.com>
23969
23970 * math/tst-CMPLX.c: Include <stdio.h>.
23971
d55bf177
JM
239722012-01-31 Joseph Myers <joseph@codesourcery.com>
23973
23974 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23975 float.
23976 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23977 * sysdeps/sparc/bits/mathdef.h: Likewise.
23978
69db4f8f
MP
239792012-01-31 Marek Polacek <polacek@redhat.com>
23980
23981 * libio/libio.h: Don't define _PARAMS.
23982 * locale/programs/config.h: Don't define PARAMS.
23983 * stdlib/strtol_l.c: Likewise.
23984 (__strtol_l): Remove PARAMS from the prototype.
23985
41b81892
UD
239862012-01-31 Ulrich Drepper <drepper@gmail.com>
23987
3b49edc0
UD
23988 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
23989 names. Just use the correct names. Remove unnecessary wrapper
23990 functions.
23991 * malloc/arena.c: Likewise.
23992 * malloc/hooks.c: Likewise.
23993
41b81892
UD
23994 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23995 ARENA_TEST says not to. Simplify test for creation of a new arena.
23996 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23997
27a25b6e
UD
239982012-01-30 Ulrich Drepper <drepper@gmail.com>
23999
24000 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24001 into tail calls.
24002 (update_get_addr): New function.
24003 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24004 GET_ADDR_MODULE parameter.
24005
c8a89e7d
JM
240062012-01-30 Joseph Myers <joseph@codesourcery.com>
24007
24008 * crypt/cert.c: Remove __STDC__ conditionals.
24009 * crypt/crypt-entry.c: Likewise.
24010 * crypt/crypt_util.c: Likewise.
24011 * libio/filedoalloc.c: Likewise.
24012 * libio/fileops.c: Likewise.
24013 * libio/genops.c: Likewise.
24014 * libio/iofclose.c: Likewise.
24015 * libio/iofdopen.c: Likewise.
24016 * libio/iofopen.c: Likewise.
24017 * libio/iofopen64.c: Likewise.
24018 * libio/iogetdelim.c: Likewise.
24019 * libio/iopopen.c: Likewise.
24020 * libio/obprintf.c: Likewise.
24021 * libio/oldfileops.c: Likewise.
24022 * libio/oldiofclose.c: Likewise.
24023 * libio/oldiofdopen.c: Likewise.
24024 * libio/oldiofopen.c: Likewise.
24025 * libio/oldiopopen.c: Likewise.
24026 * libio/wfiledoalloc.c: Likewise.
24027 * libio/wgenops.c: Likewise.
24028 * locale/programs/xmalloc.c: Likewise.
24029 * misc/syslog.c: Likewise.
24030 * stdio-common/xbug.c: Likewise.
24031 * string/memchr.c: Likewise.
24032 * string/memcmp.c: Likewise.
24033 * string/memrchr.c: Likewise.
24034 * string/rawmemchr.c: Likewise.
24035 * sysdeps/posix/getcwd.c: Likewise.
24036 * time/strftime_l.c: Likewise.
24037
3b100462
JM
240382012-01-30 Joseph Myers <joseph@codesourcery.com>
24039
24040 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24041 * config.make.in (config-cflags-sse2avx): Define.
24042 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24043 Fix typo.
24044
607998af
CM
240452012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24046
24047 * scripts/config.guess: Update from upstream config git repository.
24048 * scripts/config.sub: Likewise.
24049
3601428f
CM
240502012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24051
3ac8b282
CM
24052 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24053 (EM_NUM): Update.
24054 (R_TILEPRO_*, R_TILEGX_*): New macros.
24055
e034841e
CM
24056 * scripts/firstversions.awk: Fix bug in version range handling.
24057
540d7568
CM
24058 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24059
3601428f
CM
24060 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24061
463de862
CM
24062 * include/sys/epoll.h: New file.
24063 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24064 libc_hidden_def.
24065
73139a76
UD
240662012-01-28 Ulrich Drepper <drepper@gmail.com>
24067
96bc5b45
UD
24068 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24069 Avoid unnecessary __WORDSIZE == 64 test.
24070 (fmaxf): Use VEX format if possible.
24071 (fmax): Likewise.
24072 (fminf): Likewise.
24073 (fmin): Likewise.
24074
56f6f6a2
UD
24075 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24076 * math/math_private.h: Remove libc_fegetround* and
24077 libc_fesetround*.
24078 * sysdeps/i386/configure.in: Check for -msse2avx.
24079 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24080 also if SSE2AVX is defined.
24081 Remove libc_fegetround* and libc_fesetround*.
24082 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24083 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24084 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24085 of HAS_YMM_USABLE.
24086 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24087 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24088 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24089 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24090 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24091
73139a76
UD
24092 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24093
d73f93a4
AZ
240942012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24095
24096 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24097 size is not set.
24098 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24099
6ee65ed6
UD
241002012-01-27 Ulrich Drepper <drepper@gmail.com>
24101
24102 [BZ #13618]
24103 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24104 relocation.
24105 * Makeconfig (libm): Define.
24106 * elf/Makefile: Add rules to build and run tst-relsort1.
24107 * elf/tst-relsort1.c: New file.
24108 * elf/tst-relsort1mod1.c: New file.
24109 * elf/tst-relsort1mod2.c: New file.
24110
8db21882
JM
241112012-01-27 Joseph Myers <joseph@codesourcery.com>
24112
24113 * math/s_ldexp.c: Remove __STDC__ conditionals.
24114 * math/s_ldexpf.c: Likewise.
24115 * math/s_ldexpl.c: Likewise.
24116 * math/s_nextafter.c: Likewise.
24117 * math/s_nexttowardf.c: Likewise.
24118 * math/s_significand.c: Likewise.
24119 * math/s_significandf.c: Likewise.
24120 * math/s_significandl.c: Likewise.
24121 * math/w_jnl.c: Likewise.
24122 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24123 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24124 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24125 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24126 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24127 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24128 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24129 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24130 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24131 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24132 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24133 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24134 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24135 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24136 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24137 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24138 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24139 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24140 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24141 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24142 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24143 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24144 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24145 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24146 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24147 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24148 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24149 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24150 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24151 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24152 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24153 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24154 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24155 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24156 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24157 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24158 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24159 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24160 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24161 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24162 * sysdeps/ieee754/k_standard.c: Likewise.
24163 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24164 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24165 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24166 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24167 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24168 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24169 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24170 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24171 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24172 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24173 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24174 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24175 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24176 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24177 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24178 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24179 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24180 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24181 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24182 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24183 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24184 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24185 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24186 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24187 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24188 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24189 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24190 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24191 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24192 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24193 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24194 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24195 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24196 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24197 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24198 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24199 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24200 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24201 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24202 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24203 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24204 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24205 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24206 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24207 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24208 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24209 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24210 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24211 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24212 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24213 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24214 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24215 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24216 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24217 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24218 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24219 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24220 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24221 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24222 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24223 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24224 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24225 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24226 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24227 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24228 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24229 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24230 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24231 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24232 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24233 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24234 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24235 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24236 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24237 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24238 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24239 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24240 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24241 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24242 * sysdeps/ieee754/s_matherr.c: Likewise.
24243 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24244 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24245 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24246 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24247
965a54a4
JM
242482012-01-26 Joseph Myers <joseph@codesourcery.com>
24249
24250 * crypt/md5.h: Remove __STDC__ conditionals.
24251 * libio/libioP.h: Likewise.
24252 * locale/programs/config.h: Likewise.
24253 * sysdeps/generic/sysdep.h: Likewise.
24254 * sysdeps/i386/asm-syntax.h: Likewise.
24255 * sysdeps/s390/asm-syntax.h: Likewise.
24256 * sysdeps/unix/sysdep.h: Likewise.
24257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24259
7071ad79
JM
242602012-01-26 Joseph Myers <joseph@codesourcery.com>
24261
24262 * libio/libio.h: Remove __STDC__ conditionals.
24263 * malloc/obstack.h: Likewise.
24264 * math/complex.h: Likewise.
24265 * math/math.h: Likewise.
24266 * sysdeps/generic/_G_config.h: Likewise.
24267 * sysdeps/gnu/_G_config.h: Likewise.
24268 * sysdeps/mach/hurd/_G_config.h: Likewise.
24269 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24270 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24271 * sysdeps/sparc/bits/mathdef.h: Likewise.
24272
afc5ed09
UD
242732012-01-26 Ulrich Drepper <drepper@gmail.com>
24274
24275 [BZ #13583]
24276 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24277 Clean up HAS_* macros.
afc5ed09 24278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24279 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24280 possible.
24281 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24282 HAS_AVX.
24283 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24284 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24285 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24286 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24287 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24288
bdb6de1d
JM
242892012-01-25 Joseph Myers <joseph@codesourcery.com>
24290
24291 * elf/tst-unique3.cc (gets): Remove declaration.
24292 * elf/tst-unique3lib.cc (gets): Likewise.
24293 * elf/tst-unique3lib2.cc (gets): Likewise.
24294 * elf/tst-unique4.cc (gets): Likewise.
24295
b15549e6
UD
242962012-01-24 Ulrich Drepper <drepper@gmail.com>
24297
24298 * include/stdio.h: Add C++ protection. Add gets declarations and
24299 definitions.
24300 * debug/tst-chk1.c: Don't declare gets here.
24301 * stdio-common/tst-gets.c: Likewise.
24302
a037381f
JM
243032012-01-24 Joseph Myers <joseph@codesourcery.com>
24304
24305 * posix/glob: Remove directory.
24306
f1d4aa75
JM
243072012-01-24 Joseph Myers <joseph@codesourcery.com>
24308
24309 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24310
81c0c964
PT
243112012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24312
24313 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24314 of the non-standard EPFNOSUPPORT.
24315
0ea698ae
ST
243162011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24317
24318 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24319 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24320 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24321
d220b117
UD
243222012-01-21 Ulrich Drepper <drepper@gmail.com>
24323
24324 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24325
3e1aa84e
UD
243262012-01-20 Ulrich Drepper <drepper@gmail.com>
24327
24328 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24329 transient errors.
24330 * nscd/grpcache.c (cache_addgr): Likewise.
24331 * nscd/hstcache.c (cache_addhst): Likewise.
24332 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24333 * nscd/pwdcache.c (cache_addpw): Likewise.
24334 * nscd/servicescache.c (cache_addserv): Likewise.
24335
400aa020
UD
243362012-01-16 Ulrich Drepper <drepper@gmail.com>
24337
d77e7869
UD
24338 * malloc/malloc.c: Various cleanups.
24339 * malloc/hooks.c: Likewise.
24340
400aa020
UD
24341 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24342 * stdlib/bug-fmtmsg1.c: New file.
24343
24344 * stdlib/fmtmsg.c (init): Add missing unlock.
24345 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24346
e0a309cf
MP
243472012-01-12 Marek Polacek <polacek@redhat.com>
24348
24349 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24350 and _GNU_SOURCE.
24351
929d11c7
WS
243522012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24353
24354 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24355 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24356 macro to ensure uniqueness of label name.
24357 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24358 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24359
41d0e869
UD
243602012-01-11 Ulrich Drepper <drepper@gmail.com>
24361
0cc5ed3b
UD
24362 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24363
41d0e869
UD
24364 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24365 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24366 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24367 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24368
a47a831a
UD
243692012-01-10 Ulrich Drepper <drepper@gmail.com>
24370
daa891c0
UD
24371 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24372
24373 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24374 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24375 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24376
e58ef0f2
UD
24377 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24378
a47a831a 24379 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24380 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24381 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24382 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24383
24384 * math/bits/math-finite.h: Add ldexp support.
24385
a0bfc9c7
MP
243862012-01-10 Marek Polacek <polacek@redhat.com>
24387
24388 * locale/programs/localedef.h (show_archive_content): Add noreturn
24389 attribute.
24390
d6e97a1d
UD
243912012-01-09 Ulrich Drepper <drepper@gmail.com>
24392
24393 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24394
d5835c26
UD
243952012-01-08 Ulrich Drepper <drepper@gmail.com>
24396
e5f484c6
UD
24397 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24398
d5835c26
UD
24399 * io/Makefile (headers): Add bits/poll2.h.
24400
d1f741e9
WS
244012011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24402
24403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24404 typo #include statement.
24405
ec09c1c4
UD
244062012-01-08 Ulrich Drepper <drepper@gmail.com>
24407
24408 * include/sys/cdefs.h: Define __attribute_alloc_size.
24409 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24410 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24411 * elf/pldd.c: Likewise.
24412 * iconv/iconv_charmap.c: Likewise.
24413 * iconv/iconvconfig.c: Likewise.
24414 * iconv/strtab.c: Likewise.
24415 * locale/programs/locale.c: Likewise.
24416 * locale/programs/localedef.h: Likewise.
24417 * locale/programs/simple-hash.c: Likewise.
24418 * nscd/nscd.h: Likewise.
24419 * nss/makedb.c: Likewise.
24420 * sysdeps/generic/ldconfig.h: Likewise.
24421 * locale/programs/localedef.c: Remove xmalloc prototype.
24422 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24423
20b38e03
PP
244242012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24425
24426 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24427 appropriate.
24428
a0da5fe1
UD
244292012-01-08 Ulrich Drepper <drepper@gmail.com>
24430
1d5a644a 24431 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24432 * math/tst-CMPLX.c: New file.
1d5a644a 24433
8784a6db
UD
24434 * math/complex.h (CMPLXL): Fix typo.
24435
d9a216c0
UD
24436 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24437 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24438 GLIBC_2.16.
24439 * debug/tst-chk1.c: Add poll and ppoll tests.
24440 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24441 * include/sys/poll.h: Add hidden proto for ppoll.
24442 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24443 * sysdeps/mach/hurd/ppoll.c: Likewise.
24444 * io/ppoll.c: Likewise.
24445 * debug/poll_chk.c: New file.
24446 * debug/ppoll_chk.c: New file.
24447 * include/bits/poll2.h: New file.
24448 * io/bits/poll2.h: New file.
24449
ac097f5c
UD
24450 [BZ #1350]
24451 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24452
2119dcfa
UD
24453 * configure.in: static is always set to yes. Remove.
24454 * config.make.in: Don't set build-static.
24455 * Makeconfig: Remove use of build-static.
24456 * dlfcn/Makefile: Likewise.
24457 * elf/Makefile: Likewise.
24458 * math/Makefile: Likewise.
24459 * misc/Makefile: Likewise.
24460 * nptl/Makefile: Likewise.
24461 * sysdeps/mach/hurd/Makefile: Likewise.
24462
121766a9
UD
24463 * configure.in: PWD_P is not used anymore.
24464 * config.make.in: Remove PWD_P entry.
24465
51a1d39c 24466 * configure.in: Remove last remnants of RANLIB.
8720d066 24467 No need to check for signed size_t anymore.
215f4bdc
UD
24468 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24469 and IA-64.
3857022a 24470 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24471 * aclocal.m4: Likewise.
24472
d3ed7225
UD
24473 * wcsmbs/mbrtoc16.c: Implement using towc function.
24474 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24475 * wcsmbs/wcsmbsload.c: Likewise.
24476 * iconv/gconv_simple.c: Likewise.
24477 * iconv/gconv_int.h: Likewise.
24478 * iconv/gconv_builtin.h: Likewise.
24479 * iconv/iconv_prog.c: Remove CHAR16 handling.
24480
24481 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24482
24483 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24484
a0da5fe1
UD
24485 * configure.in: Remove --with-elf and --enable-bounded options.
24486 Dont set base_machine for ia64. More non-ELF conditions removed.
24487 Remove testing and setting of leading underscore information.
24488 * config.make.in (build-bounded): Set to no.
24489 * config.h.in: Remove NO_UNDERSCORES entry.
24490 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24491 them.
24492 * csu/start.c: Remove !NO_UNDERSCORE code.
24493 * locale/localeinfo.h: Likewise.
24494 * sysdeps/generic/machine-gmon.h: Likewise.
24495 * sysdeps/generic/sysdep.h: Likewise.
24496 * sysdeps/i386/sysdep.h: Likewise.
24497 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24498 * sysdeps/mach/sysdep.h: Likewise.
24499 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24500 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24501 * sysdeps/sh/sysdep.h: Likewise.
24502 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24503 * sysdeps/unix/i386/sysdep.S: Likewise.
24504 * sysdeps/unix/sparc/start.c: Likewise.
24505 * sysdeps/unix/sparc/sysdep.S: Likewise.
24506 * sysdeps/unix/sparc/sysdep.h: Likewise.
24507 * sysdeps/unix/start.c: Likewise.
24508 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24509 * sysdeps/x86_64/sysdep.h: Likewise.
24510
df78418a
UD
245112012-01-07 Ulrich Drepper <drepper@gmail.com>
24512
a784e502
UD
24513 [BZ #13553]
24514 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24515 for non-gcc.
24516 * argp/argp-fmtstream.h: Use const instead __const.
24517 * argp/argp.h: Likewise.
24518 * assert/assert.h: Likewise.
24519 * bits/fenv.h: Likewise.
24520 * bits/sched.h: Likewise.
24521 * bits/sigset.h: Likewise.
24522 * bits/sigthread.h: Likewise.
24523 * catgets/nl_types.h: Likewise.
24524 * conform/data/pthread.h-data: Likewise.
24525 * crypt/crypt-private.h: Likewise.
24526 * crypt/crypt.h: Likewise.
24527 * crypt/crypt_util.c: Likewise.
24528 * ctype/ctype.h: Likewise.
24529 * debug/execinfo.h: Likewise.
24530 * debug/mbsnrtowcs_chk.c: Likewise.
24531 * debug/mbsrtowcs_chk.c: Likewise.
24532 * debug/wcsnrtombs_chk.c: Likewise.
24533 * debug/wcsrtombs_chk.c: Likewise.
24534 * debug/wcstombs_chk.c: Likewise.
24535 * dirent/dirent.h: Likewise.
24536 * dlfcn/dlfcn.h: Likewise.
24537 * elf/neededtest4.c: Likewise.
24538 * grp/grp.h: Likewise.
24539 * gshadow/gshadow.h: Likewise.
24540 * iconv/gconv.h: Likewise.
24541 * iconv/gconv_int.h: Likewise.
24542 * iconv/gconv_simple.c: Likewise.
24543 * iconv/iconv.h: Likewise.
24544 * iconv/loop.c: Likewise.
24545 * iconv/skeleton.c: Likewise.
24546 * include/aio.h: Likewise.
24547 * include/aliases.h: Likewise.
24548 * include/argz.h: Likewise.
24549 * include/arpa/inet.h: Likewise.
24550 * include/assert.h: Likewise.
24551 * include/dirent.h: Likewise.
24552 * include/dlfcn.h: Likewise.
24553 * include/execinfo.h: Likewise.
24554 * include/fcntl.h: Likewise.
24555 * include/fenv.h: Likewise.
24556 * include/glob.h: Likewise.
24557 * include/grp.h: Likewise.
24558 * include/libintl.h: Likewise.
24559 * include/mntent.h: Likewise.
24560 * include/netdb.h: Likewise.
24561 * include/pwd.h: Likewise.
24562 * include/rpc/netdb.h: Likewise.
24563 * include/sched.h: Likewise.
24564 * include/search.h: Likewise.
24565 * include/shadow.h: Likewise.
24566 * include/signal.h: Likewise.
24567 * include/stdio.h: Likewise.
24568 * include/stdlib.h: Likewise.
24569 * include/string.h: Likewise.
24570 * include/sys/socket.h: Likewise.
24571 * include/sys/stat.h: Likewise.
24572 * include/sys/statfs.h: Likewise.
24573 * include/sys/statvfs.h: Likewise.
24574 * include/sys/syslog.h: Likewise.
24575 * include/sys/time.h: Likewise.
24576 * include/sys/uio.h: Likewise.
24577 * include/time.h: Likewise.
24578 * include/unistd.h: Likewise.
24579 * include/utmp.h: Likewise.
24580 * include/wchar.h: Likewise.
24581 * include/wctype.h: Likewise.
24582 * inet/aliases.h: Likewise.
24583 * inet/arpa/inet.h: Likewise.
24584 * inet/netinet/ether.h: Likewise.
24585 * inet/netinet/in.h: Likewise.
24586 * intl/libintl.h: Likewise.
24587 * io/bits/fcntl2.h: Likewise.
24588 * io/fcntl.h: Likewise.
24589 * io/ftw.h: Likewise.
24590 * io/sys/poll.h: Likewise.
24591 * io/sys/stat.h: Likewise.
24592 * io/sys/statfs.h: Likewise.
24593 * io/sys/statvfs.h: Likewise.
24594 * io/utime.h: Likewise.
24595 * libio/bits/stdio.h: Likewise.
24596 * libio/bits/stdio2.h: Likewise.
24597 * libio/libio.h: Likewise.
24598 * libio/libioP.h: Likewise.
24599 * libio/stdio.h: Likewise.
24600 * locale/lc-ctype.c: Likewise.
24601 * locale/locale.h: Likewise.
24602 * login/utmp.h: Likewise.
24603 * malloc/arena.c: Likewise.
24604 * malloc/malloc.c: Likewise.
24605 * malloc/malloc.h: Likewise.
24606 * malloc/mcheck.c: Likewise.
24607 * malloc/mtrace.c: Likewise.
24608 * math/bits/mathcalls.h: Likewise.
24609 * math/fenv.h: Likewise.
24610 * math/math_private.h: Likewise.
24611 * misc/bits/error.h: Likewise.
24612 * misc/bits/syslog.h: Likewise.
24613 * misc/err.h: Likewise.
24614 * misc/error.h: Likewise.
24615 * misc/fstab.h: Likewise.
24616 * misc/mntent.h: Likewise.
24617 * misc/regexp.h: Likewise.
24618 * misc/search.h: Likewise.
24619 * misc/sgtty.h: Likewise.
24620 * misc/sys/mman.h: Likewise.
24621 * misc/sys/syslog.h: Likewise.
24622 * misc/sys/uio.h: Likewise.
24623 * misc/sys/xattr.h: Likewise.
24624 * misc/ttyent.h: Likewise.
24625 * nis/rpcsvc/ypclnt.h: Likewise.
24626 * nss/nss.h: Likewise.
24627 * posix/bits/unistd.h: Likewise.
24628 * posix/fnmatch.h: Likewise.
24629 * posix/glob.h: Likewise.
24630 * posix/sched.h: Likewise.
24631 * posix/spawn.h: Likewise.
24632 * posix/sys/wait.h: Likewise.
24633 * posix/unistd.h: Likewise.
24634 * posix/wordexp.h: Likewise.
24635 * pwd/pwd.h: Likewise.
24636 * resolv/netdb.h: Likewise.
24637 * resource/sys/resource.h: Likewise.
24638 * rt/aio.h: Likewise.
24639 * rt/bits/mqueue2.h: Likewise.
24640 * rt/mqueue.h: Likewise.
24641 * shadow/shadow.h: Likewise.
24642 * signal/signal.h: Likewise.
24643 * socket/send.c: Likewise.
24644 * socket/sendto.c: Likewise.
24645 * socket/sys/socket.h: Likewise.
24646 * stdio-common/printf.h: Likewise.
24647 * stdlib/bits/stdlib.h: Likewise.
24648 * stdlib/fmtmsg.h: Likewise.
24649 * stdlib/monetary.h: Likewise.
24650 * stdlib/stdlib.h: Likewise.
24651 * stdlib/ucontext.h: Likewise.
24652 * streams/stropts.h: Likewise.
24653 * string/argz.h: Likewise.
24654 * string/bits/string2.h: Likewise.
24655 * string/string.h: Likewise.
24656 * string/strings.h: Likewise.
24657 * sunrpc/rpc/auth.h: Likewise.
24658 * sunrpc/rpc/auth_des.h: Likewise.
24659 * sunrpc/rpc/clnt.h: Likewise.
24660 * sunrpc/rpc/netdb.h: Likewise.
24661 * sunrpc/rpc/pmap_clnt.h: Likewise.
24662 * sunrpc/rpc/xdr.h: Likewise.
24663 * sysdeps/generic/inttypes.h: Likewise.
24664 * sysdeps/generic/net/if.h: Likewise.
24665 * sysdeps/generic/sys/swap.h: Likewise.
24666 * sysdeps/gnu/net/if.h: Likewise.
24667 * sysdeps/gnu/utmpx.h: Likewise.
24668 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24669 * sysdeps/i386/i486/bits/string.h: Likewise.
24670 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24671 * sysdeps/s390/bits/string.h: Likewise.
24672 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24673 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24674 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24675 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24676 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24677 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24678 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24679 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24680 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24681 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24682 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24683 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24684 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24685 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24686 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24687 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24688 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24689 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24690 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24691 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24692 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24693 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24694 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24695 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24696 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24697 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24698 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24699 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24700 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24701 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24702 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24703 * sysvipc/sys/ipc.h: Likewise.
24704 * sysvipc/sys/msg.h: Likewise.
24705 * sysvipc/sys/sem.h: Likewise.
24706 * sysvipc/sys/shm.h: Likewise.
24707 * termios/termios.h: Likewise.
24708 * time/sys/time.h: Likewise.
24709 * time/time.h: Likewise.
24710 * wcsmbs/bits/wchar2.h: Likewise.
24711 * wcsmbs/uchar.h: Likewise.
24712 * wcsmbs/wchar.h: Likewise.
24713 * wctype/wctype.h: Likewise.
24714
0269750c
UD
24715 [BZ #13551]
24716 * Makeconfig: Remove all but ELF support including AIX support.
24717 * Makerules: Likewise.
24718 * config.h.in: Likewise.
24719 * config.make.in: Likewise.
24720 * configure: Likewise.
24721 * configure.in: Likewise.
24722 * csu/Makefile: Likewise.
24723 * csu/version.c: Likewise.
24724 * debug/Makefile: Likewise.
24725 * dlfcn/Makefile: Likewise.
24726 * elf/Makefile: Likewise.
24727 * extra-lib.mk: Likewise.
24728 * iconv/Makefile: Likewise.
24729 * include/libc-symbols.h: Likewise.
24730 * include/shlib-compat.h: Likewise.
24731 * resolv/Makefile: Likewise.
24732 * resolv/res_libc.c: Likewise.
24733 * rt/Makefile: Likewise.
24734 * sysdeps/i386/asm-syntax.h: Likewise.
24735 * sysdeps/i386/sysdep.h: Likewise.
24736 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24737 * sysdeps/mach/sysdep.h: Likewise.
24738 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24739 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24740 * sysdeps/s390/asm-syntax.h: Likewise.
24741 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24742 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24743 * sysdeps/sh/sysdep.h: Likewise.
24744 * sysdeps/unix/sparc/sysdep.h: Likewise.
24745 * sysdeps/wordsize-32/divdi3.c: Likewise.
24746 * sysdeps/x86_64/sysdep.h: Likewise.
24747
00bbd29b
UD
24748 * argp/Versions: Remove _argp_unlock_xxx.
24749
24750 [BZ #13559]
24751 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24752 * abilist/libBrokenLocale.abilist: Likewise.
24753 * abilist/libanl.abilist: Likewise.
24754 * abilist/libc.abilist: Likewise.
24755 * abilist/libcrypt.abilist: Likewise.
24756 * abilist/libdl.abilist: Likewise.
24757 * abilist/libm.abilist: Likewise.
24758 * abilist/libnsl.abilist: Likewise.
24759 * abilist/libpthread.abilist: Likewise.
24760 * abilist/libresolv.abilist: Likewise.
24761 * abilist/librt.abilist: Likewise.
24762 * abilist/libthread_db.abilist: Likewise.
24763 * abilist/libutil.abilist: Likewise.
24764 * abilist/libnss_db.abilist: New file.
24765
24766 * scripts/abilist.awk: Add support for indirect functions.
24767
a2693a0e
UD
24768 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24769
3f05895f
UD
24770 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24771
ecb6fb48
UD
24772 * shlib-versions: Remove entries for ports architectures.
24773
664f8cb9
UD
24774 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24775 files in ports.
24776 * elf/stackguard-macros.h: Remove support for IA-64.
24777 * elf/tst-auditmod1.c: Likewise.
24778 * sysdeps/generic/ldsodefs.h: Likewise.
24779
7ae81d88
UD
24780 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24781 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24782 configure files.
24783
bdeba135
UD
24784 [BZ #13552]
24785 * configure.in: Remove --enable-omitfp support.
24786 * FAQ.in: Adjust.
24787 * config.make.in: Likewise.
24788 * Makeconfig: Likewise.
24789 * manual/install.texi: Likewise.
24790
d75a0a62
UD
24791 In case anyone cares, the IA-64 architecture could move to ports.
24792 * sysdeps/ia64/*: Removed.
24793 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 24794 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 24795
dcc9756b
UD
24796 [BZ #13555]
24797 * configure.in: Remove entries for unsupported architectures.
24798
d3761ebc 24799 [BZ #13533]
9954432e
UD
24800 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24801 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24802 routines.
24803 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24804 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24805 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24806 fall back to using wcrtomb.
24807 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24808 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24809 renaming.
24810 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24811 * wcsmbs/tst-c16c32-1.c: New file.
24812
24813 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24814 local variable.
24815
c3a87236
UD
24816 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24817
28926a1b
UD
24818 * elf/tst-unique3.cc: Add explicit declaration of gets.
24819 * elf/tst-unique3lib.cc: Likewise.
24820 * elf/tst-unique3lib2.cc: Likewise.
24821 * elf/tst-unique4.cc: Likewise.
24822
df78418a
UD
24823 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24824
8ecd6b2a
JM
248252012-01-06 Joseph Myers <joseph@codesourcery.com>
24826
24827 [BZ #13566]
24828 * assert/assert.h (static_assert): Don't define for C++.
24829 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24830 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24831
9f115170
UD
248322012-01-03 Ulrich Drepper <drepper@gmail.com>
24833
5e0d0300
UD
24834 * iconv/loop.c (single loop): Fix assertion in storing of
24835 remaining bytes.
24836
9f115170
UD
24837 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24838
81fb02b0
UD
248392012-01-01 Ulrich Drepper <drepper@gmail.com>
24840
24841 * posix/getconf.c: Update copyright year.
24842 * nss/getent.c: Likewise.
a316c1f6 24843 * nss/makedb.c: Likewise.
81fb02b0
UD
24844 * iconv/iconvconfig.c: Likewise.
24845 * iconv/iconv_prog.c: Likewise.
24846 * elf/ldconfig.c: Likewise.
a316c1f6
UD
24847 * elf/pldd.c: Likewise.
24848 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
24849 * catgets/gencat.c: Likewise.
24850 * csu/version.c: Likewise.
24851 * elf/ldd.bash.in: Likewise.
24852 * elf/sprof.c (print_version): Likewise.
24853 * locale/programs/locale.c: Likewise.
24854 * locale/programs/localedef.c: Likewise.
a316c1f6 24855 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
24856 * nscd/nscd.c (print_version): Likewise.
24857 * debug/xtrace.sh: Likewise.
24858 * malloc/memusage.sh: Likewise.
24859 * malloc/mtrace.pl: Likewise.
24860 * debug/catchsegv.sh: Likewise.
24861
2ba92745
JJ
248622011-12-30 Jakub Jelinek <jakub@redhat.com>
24863
24864 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24865 pure attribute.
24866
dadebdae
UD
248672011-12-24 Ulrich Drepper <drepper@gmail.com>
24868
d3761ebc 24869 [BZ #13533]
db6af3eb
UD
24870 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24871 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24872 transformations.
24873 * iconv/gconv_int.h: Likewise.
24874 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24875 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24876 from libc for GLIBC_2.16.
24877 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24878 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24879 * wcsmbs/uchar.h: Really define mbstate_t.
24880 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24881 * wcsmbs/c16rtomb.c: New file.
24882 * wcsmbs/mbrtoc16.c: New file.
24883 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24884 for C/POSIX locale.
24885 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24886 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24887
dadebdae
UD
24888 * wcsmbs/wchar.h: Add missing __restrict.
24889
67371b56
UD
248902011-12-23 Ulrich Drepper <drepper@gmail.com>
24891
74033a25
UD
24892 [BZ #13532]
24893 * time/Makefile (routines): Add timespec_get.
24894 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24895 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24896 timespec for ISO C11.
24897 * time/timespec_get.c: New file.
24898 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24899 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24900
380d7e87
UD
24901 [BZ #13531]
24902 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24903 * stdlib/stdlib.h: Declare aligned_alloc.
24904 * Versions.def: Add GLIBC_2.16 for libc.
24905 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24906
4e9e7a35
UD
24907 [BZ 13527]
24908 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24909 ISO C11.
24910
380d7e87 24911 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
24912 code.
24913
03a71829
UD
24914 [BZ #13528]
24915 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24916
839e283e
UD
24917 [BZ #13529]
24918 * assert/assert.h (static_assert): Define.
24919
ce5294e2 24920 * version.h: Update for 2.16 development version.
90fa7312 24921
8d44e150 24922 [BZ #13526]
d7809905
UD
24923 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24924 _ISOC11_SOURCE.
24925
c0da14cd
UD
24926 * version.h (RELEASE): Bump for 2.15 release.
24927 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24928
530a3249
MP
24929 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24930 Patch by Marek Polacek <mpolacek@redhat.com>.
24931
67371b56
UD
24932 * bits/byteswap.h: Protect long long constants with __extension__.
24933 * sysdeps/i386/bits/byteswap.h: Likewise.
24934 * sysdeps/ia64/bits/byteswap.h: Likewise.
24935 * sysdeps/s390/bits/byteswap.h: Likewise.
24936 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24937
15db4de1
LD
249382011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24939
24940 [BZ #13540]
bbe315ea
LD
24941 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24942 destination buffer.
15db4de1
LD
24943 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24944
2b2596b1
MP
249452011-12-23 Marek Polacek <polacek@redhat.com>
24946
24947 * elf/dl-addr.c (determine_info): Add inline keyword.
24948 * elf/tst-auditmod4b.c (check_avx): Likewise.
24949 * elf/tst-auditmod6b.c (check_avx): Likewise.
24950 * elf/tst-auditmod6c.c (check_avx): Likewise.
24951 * elf/tst-auditmod7b.c (check_avx): Likewise.
24952
70c6c246
UD
249532011-12-23 Ulrich Drepper <drepper@gmail.com>
24954
24955 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24956 !__SSE_MATH__.
24957
c044cf14
LD
249582011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24959
15db4de1 24960 [BZ #13540]
c044cf14
LD
24961 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24962 processing for last bytes.
24963
6b13d9d9
BH
249642011-08-06 Bruno Haible <bruno@clisp.org>
24965
d455f537
BH
24966 [BZ #13061]
24967 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24968 U+0385, not to U+1FEE.
24969
6b13d9d9
BH
24970 [BZ #13062]
24971 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24972 entry for U+00A5 U+0301.
24973
db910efd
UD
249742011-12-22 Ulrich Drepper <drepper@gmail.com>
24975
27deeafc
UD
24976 [BZ #13166]
24977 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24978 buffer for the output is too small.
24979
aed9d171
UD
24980 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24981 optimization.
24982
db910efd
UD
24983 [BZ #13185]
24984 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24985 SSE flags if possible.
24986
2bd779ae
LD
249872011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24988
e7f9dac3 24989 [BZ #13540]
2bd779ae
LD
24990 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24991 processing for last bytes.
24992
154bfc16
JM
249932011-12-22 Joseph Myers <joseph@codesourcery.com>
24994
24995 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24996 (syscall-list-default-options, syscall-list-default-condition)
24997 (syscall-list-includes): Define.
24998 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24999 list of ABIs and options and #if conditions for each ABI. Do not
25000 handle common syscalls between ABIs specially.
25001 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25002 Remove.
25003 (syscall-list-variants, syscall-list-32bit-options)
25004 (syscall-list-32bit-condition, syscall-list-64bit-options)
25005 (syscall-list-64bit-condition): Define.
25006 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25007 (syscall-list-variants, syscall-list-32bit-options)
25008 (syscall-list-32bit-condition, syscall-list-64bit-options)
25009 (syscall-list-64bit-condition): Define.
25010 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25011 Remove.
25012 (syscall-list-variants, syscall-list-32bit-options)
25013 (syscall-list-32bit-condition, syscall-list-64bit-options)
25014 (syscall-list-64bit-condition): Define.
25015 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25016 Remove.
25017 (syscall-list-variants, syscall-list-32bit-options)
25018 (syscall-list-32bit-condition, syscall-list-64bit-options)
25019 (syscall-list-64bit-condition): Define.
25020
21eaf3a5
UD
250212011-12-22 Ulrich Drepper <drepper@gmail.com>
25022
16c6f992
UD
25023 * locale/iso-639.def: Add brx entry.
25024
41043168
UD
25025 [BZ #13328]
25026 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25027 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25028
21eaf3a5
UD
25029 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25030 __feraiseexcept_renamed.
25031
e3a851a2
UD
250322011-12-21 Ulrich Drepper <drepper@gmail.com>
25033
4920765e
UD
25034 [BZ #13538]
25035 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25036 EPOLLET with unsigned values.
25037 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25038 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25039
e3a851a2
UD
25040 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25041 to large cancellation.
25042 * math/s_cacoshf.c: Likewise.
25043 * math/s_cacoshl.c: Likewise.
25044
b27e24b8
RK
250452011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25046
25047 [BZ #13305]
aebefeee 25048 [BZ #12786]
b27e24b8
RK
25049 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25050 * math/s_cacoshf.c: Likewise.
25051 * math/s_cacoshl.c: Likewise.
25052
ee190f67
UD
250532011-12-21 Ulrich Drepper <drepper@gmail.com>
25054
25055 [BZ #13439]
25056 * iconv/gconv.h: Define __GCONV_SWAP.
25057 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25058 * iconvdata/utf-16.c: Likewise.
25059 * iconvdata/utf-32.c: Likewise.
25060
707f25df
AS
250612011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25062
25063 [BZ #13524]
25064 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25065 numerator after shifting it by one limb.
25066
d2daaa1e
RÁE
250672011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25068
25069 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25070 under [__USE_EXTERN_INLINES].
25071
a4647e72
UD
250722011-12-17 Ulrich Drepper <drepper@gmail.com>
25073
25074 [BZ #13446]
25075 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25076
f0b264f1
AZ
250772011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25078
25079 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25080 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25081 optimized code.
25082 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25083 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25084 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25085 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25086 for strncasecmp/strncasecmp_l compilation.
25087 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25088 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25089
8ef4f244
MP
250902011-12-08 Marek Polacek <mpolacek@redhat.com>
25091
25092 [BZ #13484]
25093 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25094 of __asm__.
25095
97ac2654
UD
250962011-12-17 Ulrich Drepper <drepper@gmail.com>
25097
25098 [BZ #13506]
25099 * time/tzfile.c (__tzfile_read): Check values from file header.
25100
91d2a845
WS
251012011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25102
25103 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25104 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25105 * powerpc/powerpc32/dl-start.S: Likewise.
25106 * powerpc/powerpc32/elf/start.S: Likewise.
25107 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25108 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25109 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25110 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25111 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25112 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25113 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25114 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25115 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25116 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25117 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25118 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25119 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25120 * powerpc/powerpc32/memset.S: Likewise.
25121 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25122 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25123 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25124 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25125 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25126 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25127 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25128 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25129 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25130 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25131 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25132 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25133 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25134
a1267ba1
AZ
251352011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25136
25137 * math/libm-test.inc: Added more nearbyint tests.
25138 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25139 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25140 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25141 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25142
ad8ac1bd
RL
251432011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25144
25145 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25146 FD_CLOEXEC.
25147
1d3e4b61
UD
251482011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25149
25150 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25151 Add wcscpy-ssse3 wcscpy-c.
25152 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25153 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25154 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25155 * sysdeps/x86_64/wcschr.S: New file.
25156 * sysdeps/x86_64/wcsrchr.S: New file.
25157 * string/test-strcmp.c: Remove checking of wcscmp function for
25158 wrong alignments.
25159 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25160 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25161 wcsrchr-sse2 wcsrchr-c.
25162 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25163 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25164 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25165 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25166 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25167 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25168 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25169 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25170 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25171 * wcsmbc/wcschr.c (WCSCHR): New macro.
25172
5b330a2d
UD
251732011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25174
25175 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25176 * wcsmbs/test-wcsrchr.c: New file.
25177 * string/test-strrchr.c: Add wcsrchr support.
25178 (WIDE): New macro.
25179 * wcsmbs/test-wcscpy.c: New file.
25180 * string/test-strcpy.c: Add wcscpy support.
25181 (WIDE): New macro.
26428b7c 25182
f039c043
UD
251832011-12-10 Ulrich Drepper <drepper@gmail.com>
25184
25185 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25186 the inner loop.
25187
850fb039
AS
251882011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25189
25190 [BZ #13472]
25191 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25192
4efbd5cb
UD
251932011-12-04 Ulrich Drepper <drepper@gmail.com>
25194
52ff5dd0 25195 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25196 Minor optimizations.
52ff5dd0 25197
4efbd5cb
UD
25198 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25199 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25200 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25201
8a426e12
UD
252022011-12-03 Ulrich Drepper <drepper@gmail.com>
25203
aff2453d
UD
25204 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25205 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25206 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25207 for gcc to avoid warnings.
25208 * inet/Makefile (tests): Add tst-checks.
25209 * inet/tst-checks.c: New file.
25210
25211 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25212 warning.
25213
25214 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25215 __wmemcmp_sse2.
25216
25217 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25218 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25219
8a426e12
UD
25220 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25221
9bea3473
UD
252222011-12-02 Ulrich Drepper <drepper@gmail.com>
25223
3a965496
UD
25224 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25225 problem.
25226
9bea3473
UD
25227 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25228
f101631b
UD
252292011-11-29 Joseph Myers <joseph@codesourcery.com>
25230
25231 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25232 conditional on GCC version.
25233 (__arch_compare_and_exchange_val_8_acq)
25234 (__arch_compare_and_exchange_val_16_acq)
25235 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25236 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25237 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25238
a98275aa
UD
252392011-12-02 Joseph Myers <joseph@codesourcery.com>
25240
25241 * sysdeps/sh/backtrace.c: New file.
25242
d4cc29a2
AS
252432011-12-02 Andreas Schwab <schwab@redhat.com>
25244
25245 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25246 parenthesis.
25247
6257af2d
AS
252482011-12-01 Andreas Schwab <schwab@redhat.com>
25249
25250 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25251 falling back to utime.
25252
b5f44c1a
AS
252532011-11-30 Andreas Schwab <schwab@redhat.com>
25254
25255 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25256 expectations for float.
25257
f3a6cc0a
AS
252582011-11-29 Andreas Schwab <schwab@redhat.com>
25259
25260 * locale/weight.h (findidx): Add parameter len.
25261 * locale/weightwc.h (findidx): Likewise.
25262 * posix/fnmatch_loop.c (FCT): Adjust caller.
25263 * posix/regcomp.c (build_equiv_class): Likewise.
25264 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25265 * posix/regexec.c (check_node_accept_bytes): Likewise.
25266 * string/strcoll_l.c (STRCOLL): Likewise.
25267 * string/strxfrm_l.c (STRXFRM): Likewise.
25268
9d65ea3a
UD
252692011-11-17 Ulrich Drepper <drepper@gmail.com>
25270
25271 * Makefile.in: Remove CVSOPT handling.
25272 * configure.in: Remove use of AC_REVISION.
25273 * iconvdata/Makefile (distribute): No need to filter out CVS.
25274 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25275 handling.
25276
5583a086
AS
252772011-11-16 Andreas Schwab <schwab@redhat.com>
25278
25279 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25280 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25281 [USE_AS_STRNCASECMP_L]: Likewise.
25282 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25283 NO_TLS_DIRECT_SEG_REFS.
25284 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25285 Fix argument offsets for non-PIC.
25286 [USE_AS_STRNCASECMP_L]: Likewise.
25287 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25288 NO_TLS_DIRECT_SEG_REFS.
25289
d62a8200
UD
252902011-11-15 Ulrich Drepper <drepper@gmail.com>
25291
9d65ea3a 25292 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25293 O_CLOEXEC.
25294 * locale/loadlocale.c (_nl_load_locale): Likewise.
25295
09f93bd3
AS
252962011-11-15 Andreas Schwab <schwab@redhat.com>
25297
446514f9
AS
25298 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25299 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25300 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25301 (SYSCALL_GETTIME): Set errno on error.
25302
09f93bd3
AS
25303 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25304 count references to noai6ai_cached.
25305
312be3f9
UD
253062011-11-15 Ulrich Drepper <drepper@gmail.com>
25307
25308 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25309
25310 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25311 FD_CLOEXEC for /proc/self/maps.
25312
25313 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25314 FD_CLOEXEC for /proc/meminfo.
25315
25316 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25317 gai.conf.
25318
25319 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25320 FD_CLOEXEC for given file.
25321
25322 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25323
25324 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25325 FD_CLOEXEC for /etc/hosts.
25326 (_gethtent): Likewise.
25327
25328 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25329
25330 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25331 cancellation and set FD_CLOEXEC for /etc/netgroup.
25332
25333 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25334 reading /etc/publickey.
25335
25336 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25337 allow cancellation when reading /etc/group.
25338
25339 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25340 cancellation.
25341 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25342
25343 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25344 when using data file.
25345
25346 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25347
25348 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25349 (write_nis_obj): Use "c" and "e" in fopen.
25350
25351 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25352
25353 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25354
25355 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25356
25357 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25358
25359 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25360 locale.alias.
25361
25362 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25363
25364 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25365
25366 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25367
25368 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25369 file parsing and set FD_CLOEXEC.
25370
82af0fa8
UD
253712011-11-14 Ulrich Drepper <drepper@gmail.com>
25372
25373 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25374
a5fb313c
AS
253752011-11-14 Andreas Schwab <schwab@redhat.com>
25376
25377 * malloc/arena.c (arena_get2): Don't call reused_arena when
25378 _int_new_arena failed.
25379
6abf3465
UD
253802011-11-14 Ulrich Drepper <drepper@gmail.com>
25381
25382 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25383 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25384 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25385 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25386 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25387 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25388 to compile strcasecmp and strncasecmp.
25389 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25390 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25391
25392 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25393
76e3966e
UD
253942011-11-13 Ulrich Drepper <drepper@gmail.com>
25395
25396 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25397 locale-defines.sym to gen-as-const-headers.
25398 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25399 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25400 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25401 to compile strcasecmp and strncasecmp.
25402 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25403 strcasecmp_l and strncasecmp_l.
25404 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25405 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25406 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25407 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25408 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25409 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25410 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25411 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25412 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25413 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25414 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25415
ab26144e
UD
254162011-11-12 Ulrich Drepper <drepper@gmail.com>
25417
7edb22ef
UD
25418 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25419 result of SYSDEP_GETTIME_CPU to retval.
25420 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25421 parameter list to macro. Remove trailing semicolon. Adjust users.
25422
9694fc44
UD
25423 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25424 variable.
25425
8ad89ef8
UD
25426 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25427 mantissa words.
25428 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25429
0c822ef9
UD
25430 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25431 from unused variable.
25432
874e0564
UD
25433 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25434 DWARF definitions.
25435 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25436 for assembling.
25437
3a2edc79
UD
25438 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25439 over namespaces.
25440
f3c2577f
UD
25441 * sunrpc/rpc_prot.c (rejected): Fix case value.
25442
294ce126
UD
25443 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25444 unsigned long long int to avoid warnings in shift.
25445
5e2b63c6
UD
25446 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25447 of use of trans.
25448 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25449 variable tmp.
25450
e7f4b08e
UD
25451 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25452 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25453 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25454
ab26144e
UD
25455 * nis/nis_table.c (nis_list): Use variable of correct type for
25456 result of __follow_path call.
25457
8a6d5255
AZ
254582011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25459
25460 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25461 of math functions ceil, trunc, floor, round, and sqrt, when
25462 avaliable on the platform.
25463 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25464 name clash.
25465 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25466 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25467 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25468
aaddc98c
MP
254692011-10-30 Marek Polacek <mpolacek@redhat.com>
25470
25471 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25472 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25473
95b7042b
RM
254742011-11-11 Roland McGrath <roland@hack.frob.com>
25475
25476 * include/unistd.h: Fix __readlink return type.
25477 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25478
57769839
UD
254792011-11-11 Ulrich Drepper <drepper@gmail.com>
25480
25481 * stdlib/ucontext.h: Undo last change for makecontext.
25482
edc5984d
AS
254832011-11-11 Andreas Schwab <schwab@redhat.com>
25484
98591e58
AS
25485 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25486
edc5984d
AS
25487 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25488 * setjmp/setjmp.h: Mark functions as non-leaf.
25489 * setjmp/bits/setjmp2.h: Likewise.
25490 * stdlib/ucontext.h: Likewise.
25491
77cdc054
AS
254922011-11-10 Andreas Schwab <schwab@redhat.com>
25493
25494 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25495 (reused_arena): Don't check arena limit.
25496 (arena_get2): Atomically check arena limit.
25497
fe72eebd
UD
254982011-11-08 Ulrich Drepper <drepper@gmail.com>
25499
5f078c32
UD
25500 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25501 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25502
fe72eebd
UD
25503 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25504 instructions.
25505
ae1bc2fa
AS
255062011-11-07 Andreas Schwab <schwab@redhat.com>
25507
7583a88d
AS
25508 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25509 handler when locking.
25510
ae1bc2fa
AS
25511 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25512 Fix size of allocated buffer.
25513
10fb0bfa
AS
255142011-11-04 Andreas Schwab <schwab@redhat.com>
25515
998832a4
AS
25516 [BZ #10103]
25517 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25518 declarations for long double functions.
25519 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25520
10fb0bfa
AS
25521 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25522
3d7ba52b
AS
255232011-11-03 Andreas Schwab <schwab@redhat.com>
25524
a9ae54a1
AS
25525 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25526 installed.
25527
3d7ba52b
AS
25528 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25529 is disabled.
25530
bc8db248
ST
255312011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25532
25533 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25534
45b96dd6
AS
255352011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25536
647776f6
AS
25537 * include/alloca.h (stackinfo_alloca_round): Define.
25538 (extend_alloca): Use it.
25539 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25540 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25541 here.
25542
d91a8b93
AS
25543 * scripts/check-local-headers.sh: Ignore libaudit.h.
25544
45b96dd6
AS
25545 * nscd/Makefile (extra-objs): Make recursively expanded.
25546
432d41ce
UD
255472011-11-01 Ulrich Drepper <drepper@gmail.com>
25548
34372fc6
UD
25549 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25550 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25551
fadb59f8
UD
25552 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25553 * posix/tst-rfc3484-2.c: Likewise.
25554 * posix/tst-rfc3484-3.c: Likewise.
25555
78239589
UD
25556 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25557 process_vm_writev.
25558 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25559 process_vm_writev.
25560 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25561 process_vm_writev from libc using GLIBC_2.15 version.
25562
432d41ce
UD
25563 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25564
02f9c6cf
PP
255652011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25566
25567 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25568 stack usage.
25569
3a2c0242
UD
255702011-10-31 Ulrich Drepper <drepper@gmail.com>
25571
f4ec4833
UD
25572 [BZ #13367]
25573 * nss/getent.c (initgroups_keys): Show error message in case no group
25574 names are given.
25575
3a2c0242
UD
25576 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25577 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25578 __bump_nl_timestamp.
25579 * nscd/connections (nscd_init): When host database is served open
25580 netlink socket and request notification about configuration changes.
25581 (main_loop_poll): Track netlink file descriptor and bump timestamp
25582 in case data becomes available.
25583 (main_loop_epoll): Likewise.
25584 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25585 (database_pers_head): Add extra_data fileds.
25586 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25587 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25588 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25589 Adjust caller.
25590 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25591 in6ai data, call __free_in6ai.
25592 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25593 Add -DHAVE_NETLINK.
25594 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25595 interface information. Reuse previous data if netlink timestamp
25596 is not changed.
25597 (__bump_nl_timestamp): New function.
25598 (__free_in6ai): New function.
25599
636064eb
UD
256002011-10-30 Ulrich Drepper <drepper@gmail.com>
25601
25602 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25603 close_not_cancel_no_status here.
25604 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25605
9beb2334
UD
256062011-10-29 Ulrich Drepper <drepper@gmail.com>
25607
6ef76f3b
UD
25608 [BZ #13276]
25609 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25610 return value.
25611
0ffc4f3e 25612 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
25613 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25614 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25615
cb95113e
UD
256162011-07-03 Andreas Jaeger <aj@suse.de>
25617
25618 [BZ #10709]
25619 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25620 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25621 * math/libm-test.inc (sin_test): Add test case.
25622
a1b560ff
UD
256232011-10-29 Ulrich Drepper <drepper@gmail.com>
25624
c9aaface
UD
25625 [BZ #13337]
25626 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25627 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25628
d272e7f1
UD
25629 * elf/chroot_canon.c (chroot_canon): Cleanups.
25630
1bc33071
UD
25631 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25632
1760874d
TJ
25633 [BZ #13335]
25634 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25635 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25636
51d91b18
UD
25637 * string/test-strchr.c: Make usable for strchrnul testing.
25638 * string/test-strchrnul.c: New file.
25639 * string/Makefile (strop-tests): Add strchrnul.
25640
a1b560ff 25641 * po/it.po: Update from translation team.
b611fb81 25642 * po/es.po: Likewise.
a1b560ff 25643
a5b81e1f
UD
256442011-10-28 Ulrich Drepper <drepper@gmail.com>
25645
fd52bc6d
UD
25646 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25647 the three constants needed as parameters. Drop the others.
25648 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25649 __m128i_strloadu_tolower.
52e4b9eb
UD
25650 Create and initialize variable zero and use it in all the places
25651 where _mm_setzero_si128 was used.
fd52bc6d 25652
a5b81e1f
UD
25653 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25654 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25655 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25656 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25657 anymore.
25658 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25659 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25660 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25661 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25662 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25663 __mpranred, __mptan.
25664 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25665 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25666 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25667 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25668 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25669 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25670 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25671 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25672 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25673
b4343346
AS
256742011-10-28 Andreas Schwab <schwab@redhat.com>
25675
0c92d8a8
AS
25676 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25677 redefine if SHARED.
25678 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25679
b4343346
AS
25680 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25681 wide char related routines to wcsmbs subdir.
25682
3871f58f
AS
256832011-10-27 Andreas Schwab <schwab@redhat.com>
25684
25685 [BZ #13344]
25686 * misc/sys/cdefs.h (__THROWNL): Define.
25687 * posix/unistd.h: Use __THREADNL instead of __THREAD
25688 for memory synchronization functions.
25689
94d44d9f
RM
256902011-10-26 Roland McGrath <roland@hack.frob.com>
25691
21b64b15 25692 [BZ #13349]
94d44d9f
RM
25693 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25694 doesn't exist.
25695 * manual/stdio.texi (Obstack Streams): Node removed.
25696
f6ce9294
AS
256972011-10-26 Andreas Schwab <schwab@redhat.com>
25698
80479147
AS
25699 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25700 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25701 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25702
f6ce9294
AS
25703 * math/math_private.h (math_force_eval): Allow non-addressable
25704 arguments.
25705 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25706
618280a1
UD
257072011-10-25 Ulrich Drepper <drepper@gmail.com>
25708
e0016b11
UD
25709 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25710 file is not needed.
25711
25712 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25713 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25714 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25715 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25716 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25717 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25718 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25719 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25720 Add AVX variants.
25721 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25722 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25723 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25724 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25725 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25726 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25727 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25728 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25729 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25730 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25731 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25732 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25733 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25734 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25735 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25736 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25737 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25738 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25739 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25740
25741 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25742 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25743
618280a1
UD
25744 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25745 place. Use VEX encoding when compiling for AVX.
25746
37822576
AS
257472011-10-25 Andreas Schwab <schwab@redhat.com>
25748
1f1e1947
AS
25749 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25750 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25751
37822576
AS
25752 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25753
31ea014d
UD
257542011-10-25 Ulrich Drepper <drepper@gmail.com>
25755
d7826aa1 25756 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 25757 useless if() expression.
d7826aa1
UD
25758 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25759 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25760 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25761 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25762 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25763 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25764 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25765 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25766 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25767 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25768 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25769 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25770 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25771 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25772 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25773 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25774 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25775 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25776 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25777
31ea014d
UD
25778 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25779
16437fec
AS
257802011-10-25 Andreas Schwab <schwab@redhat.com>
25781
25782 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25783 condition.
25784 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25785
31d3cc00
UD
257862011-10-25 Ulrich Drepper <drepper@gmail.com>
25787
25788 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25789 .text section. Avoid duplicate constants.
25790 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25791 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25792 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25793 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25794 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25795 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25796 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25797 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25798 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25799 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25800 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25801 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25802 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25803 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25804 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25805 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25806 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25807 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25808 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25809 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25810 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25811 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25812 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25813 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25814 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25815 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25816 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25817 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25818 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25819 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25820 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25821 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25822 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25823 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25824 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25825 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25826 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25827 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25828 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25829 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25830 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25831 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25832 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25833 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25834 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25835
58985aa9
UD
258362011-10-24 Ulrich Drepper <drepper@gmail.com>
25837
202c9deb
UD
25838 * sysdeps/x86_64/dla.h: Move to ...
25839 * sysdeps/x86_64/fpu/dla.h: ...here.
25840 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25841 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 25842
af968f62
UD
25843 * config.make.in: Add have-mfma4 entry.
25844 * configure.in: Substitute libc_cv_cc_fma4.
25845 * math/Makefile (dbl-only-routines): Add sincostab.
25846 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25847 Use __sincostab not sincos.
25848 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25849 name is a macro.
25850 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25851 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25852 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25853 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25854 using __copysign.
25855 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25856 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25857 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25858 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25859 and __inv.
25860 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25861 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25862 __copysign.
25863 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25864 define aliases when function name is a macro.
25865 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25866 sysdeps/ieee754/dbl-64/sincos.tbl.
25867 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25868 fma4-enabled routines.
25869 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25870 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25871 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25872 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25873 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25874 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25875 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25876 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25877 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25878 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25879 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25880 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25881 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25882 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25883 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25884 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25885 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25886 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25887 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25888 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25889 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25890 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25891 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25892 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25893 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25894 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25895 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25896 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25897 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25898 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25899
58985aa9
UD
25900 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25901 rename.
25902 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25903 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25904 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25905 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25906 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25907 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25908 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25909 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25910
a201fbcf
AS
259112011-10-24 Andreas Schwab <schwab@redhat.com>
25912
25913 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25914
fc2ee42a
LD
259152011-10-23 Ulrich Drepper <drepper@gmail.com>
25916
bb3129bd
UD
25917 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25918
0275fff8
UD
25919 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25920 prediction.
25921 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25922
2fa2ae85
UD
25923 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25924 Remove unused variable magic_bits.
25925 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25926
fc2ee42a
LD
25927 * string/strnlen.c: Define and use STRNLEN macro.
25928 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25929 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25930 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25931 * wcsmbs/wcslen.c: Define and use WCSLEN.
25932 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25933 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25934 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25935 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25936 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25937 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25938 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25939
ce7dd29f
LD
259402011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25941
25942 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25943 strnlen-sse2-no-bsf.
25944 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25945 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25946 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25947 Add strnlen support.
25948 (USE_AS_STRNLEN): New macro.
25949 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25950 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25951 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25952 * sysdeps/x86_64/wcslen.S: New file.
25953
979c70a3
MZ
259542011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
25955
25956 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25957 XMM-moves are used for copying on small sizes.
25958
2d09f82f
LD
259592011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25960
25961 * wcsmbs/Makefile (strop-tests): Add wcschr.
25962 * wcsmbs/test-wcschr.c: New file.
25963 * string/test-strchr.c: Update.
25964 Add wcschr support.
25965 (WIDE): New macro.
25966
619fccca
LD
259672011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25968
2d09f82f 25969 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
25970 * wcsmbs/test-wcslen.c: New file.
25971 * string/test-strlen.c: Update.
25972 Add wcslen support.
25973 (WIDE): New macro.
25974
09f699ea
UD
259752011-10-23 Ulrich Drepper <drepper@gmail.com>
25976
25977 * po/it.po: Update from translation team.
25978
95584d3b
LD
259792011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25980
25981 * sysdeps/x86_64/wcscmp.S: Update.
25982 Fix wrong comparison semantics.
25983 wcscmp shall use signed comparison not unsigned.
25984 Don't use substraction to avoid overflow bug.
25985 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25986 * wcsmbc/wcscmp.c: Likewise.
25987 * string/test-strcmp.c: Likewise.
25988 Add new tests to check cases with negative values.
25989
c8b3296b
UD
259902011-10-23 Ulrich Drepper <drepper@gmail.com>
25991
25992 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25993 * sysdeps/x86_64/dla.h: ...here. New file.
25994 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25995 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25996 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25997 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25998 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25999 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26000 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26001 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26002 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26003
246ad57a
AS
260042011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26005
26006 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26007 __ynl_finite aliases.
26008
a1a87169
UD
260092011-10-22 Ulrich Drepper <drepper@gmail.com>
26010
0d355eb7
UD
26011 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26012
a1a87169
UD
26013 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26014 define DLA_FMA.
26015 [DLA_FMA] (EMULV): Use DLA_FMA.
26016 [DLA_FMA] (MUL12): Use EMULV.
26017 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26018 that are not needed.
26019 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26020 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26021 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26022 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26023 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26024 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26025 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26026
ee2aafe0
AS
260272011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26028
26029 * math/s_nan.c: Undef __nan.
26030 * math/s_nanf.c: Undef __nanf.
26031 * math/s_nanl.c: Undef __nanl.
26032 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26033 "math_private.h".
26034
bc62c2fb
UD
260352011-10-22 Ulrich Drepper <drepper@gmail.com>
26036
77425c63
UD
26037 * math/s_catan.c: Add branch predictions.
26038 * math/s_catanf.c: Likewise.
26039 * math/s_catanh.c: Likewise.
26040 * math/s_catanhf.c: Likewise.
26041 * math/s_catanhl.c: Likewise.
26042 * math/s_catanl.c: Likewise.
26043 * math/s_cexp.c: Likewise.
26044 * math/s_cexpf.c: Likewise.
26045 * math/s_cexpl.c: Likewise.
26046 * math/s_clog.c: Likewise.
26047 * math/s_clog10.c: Likewise.
26048 * math/s_clog10f.c: Likewise.
26049 * math/s_clog10l.c: Likewise.
26050 * math/s_clogf.c: Likewise.
26051 * math/s_clogl.c: Likewise.
26052 * math/s_csqrt.c: Likewise.
26053 * math/s_csqrtf.c: Likewise.
26054 * math/s_csqrtl.c: Likewise.
26055 * math/s_ctanf.c: Likewise.
26056 * math/s_ctanh.c: Likewise.
26057 * math/s_ctanhf.c: Likewise.
26058 * math/s_ctanhl.c: Likewise.
26059 * math/s_ctanl.c: Likewise.
26060
bc62c2fb
UD
26061 * math/math_private.h: Define __nan, __nanf, __nanl.
26062 * math/s_cacosh.c: Include <math_private.h>.
26063 * math/s_cacoshl.c: Likewise.
26064 * math/s_casinh.c: Likewise.
26065 * math/s_casinhf.c: Likewise.
26066 * math/s_casinhl.c: Likewise.
26067 * math/s_ccos.c: Rely entire on ccosh.
26068 * math/s_ccosf.c: Rely entire on ccoshf.
26069 * math/s_ccosl.c: Rely entirely on ccoshl.
26070 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26071 Remove tests for FE_INVALID.
26072 * math/s_ccoshf.c: Likewise.
26073 * math/s_ccoshl.c: Likewise.
26074 * math/s_csin.c: Likewise.
26075 * math/s_csinf.c: Likewise.
26076 * math/s_csinh.c Likewise.
26077 * math/s_csinhf.c: Likewise.
26078 * math/s_csinhl.c: Likewise.
26079 * math/s_csinl.c: Likewise.
26080 * math/s_ctan.c: Likewise.
26081 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26082 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26083 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26084
8ec250a4
UD
260852011-10-21 Ulrich Drepper <drepper@gmail.com>
26086
c196fed8
UD
26087 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26088 compilation problems.
26089
8ec250a4
UD
26090 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26091 __builtin_expect.
26092
8d4f46c6
UD
260932011-10-20 Ulrich Drepper <drepper@gmail.com>
26094
ed72b654
UD
26095 * sysdeps/i386/configure.in: Test for -mfma4 option.
26096 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26097 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26098 COMMON_CPUID_INDEX_80000001.
26099 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26100 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26101 use it if FMA3 is not supported.
26102 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26103
8d4f46c6
UD
26104 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26105 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26106
d45c60c2
AS
261072011-10-20 Andreas Schwab <schwab@redhat.com>
26108
26109 [BZ #12892]
26110 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26111 it would create a cycle with a link time dependency.
26112
d9a4d2ab
UD
261132011-10-19 Ulrich Drepper <drepper@gmail.com>
26114
855d1560
UD
26115 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26116 instruction.
26117 * string/Makefile (strop-tests): Add rawmemchr.
26118 * string/test-rawmemchr.c: New file.
26119
d9a4d2ab
UD
26120 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26121 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26122 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26123 when compiling str{,n}casecmp and when AVX is available. Hook up
26124 new optimized code in initializers.
26125
8f3b1ffe
AS
261262011-10-19 Andreas Schwab <schwab@redhat.com>
26127
26128 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26129 __feraiseexcept instead of feraiseexcept.
26130
d38f1dba
UD
261312011-10-18 Ulrich Drepper <drepper@gmail.com>
26132
d9a8d0ab
UD
26133 * math/math_private.h: Define defaults for libc_fetestexcept and
26134 libc_feupdateenv.
26135 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26136 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26137 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26138 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26139 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26140 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26141 libc_fetestexcept and libc_feupdateenv.
26142
4855e3dd
UD
26143 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26144 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26145 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26146 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26147 libc_feholdexcept_setround.
26148
581d30e3
UD
26149 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26150 Add s_nearbyint-c and s_nearbyintf-c.
26151 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26152 nearbyintf inlines.
26153 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26154 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26155 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26156 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26157
d38f1dba
UD
26158 * math/math_private.h: Define defaults for libc_fegetround,
26159 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26160 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26161 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26162 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26163 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26164 standard functions.
26165 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26166 Remove comments and hacks for old compiler versions.
26167 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26168 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26169 libc_feholdexceptl.
26170
caa6c9d8
AS
261712011-10-18 Andreas Schwab <schwab@redhat.com>
26172
26173 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26174 (__feraiseexcept_renamed): Add __NTH.
26175 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26176 namespace violations.
26177
97c066e6
UD
261782011-10-17 Ulrich Drepper <drepper@gmail.com>
26179
99ce7b04
UD
26180 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26181
1004d182
UD
26182 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26183
228a984d
UD
26184 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26185 recently added interfaces.
26186 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26187
c8553a6a
UD
26188 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26189 about macro parameter expansion.
26190
ed22dcf6
UD
26191 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26192 __NO_MATH_INLINES is defined. Cleanups.
26193
26194 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26195 and __floorf is target has SSE4.1.
26196 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26197 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26198 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26199 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26200
b171c137
UD
26201 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26202 name.
26203 (floorf): Likewise.
26204
97c066e6
UD
26205 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26206
629f62ef
AS
262072011-10-17 Andreas Schwab <schwab@redhat.com>
26208
49a43d80
AS
26209 * misc/sys/cdefs.h: Fix last change.
26210
629f62ef
AS
26211 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26212 database lookup.
26213
e453f6cd
UD
262142011-10-16 Ulrich Drepper <drepper@gmail.com>
26215
aa78043a
UD
26216 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26217
ad0f5cad
UD
26218 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26219 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26220 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26221 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26222 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26223 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26224 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26225 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26226 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26227 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26228 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26229 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26230 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26231 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26232 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26233 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26234 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26235 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26236 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26237 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26238 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26239 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26240
26241 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26242 ceil, ceilf, floor, floorf.
26243
26244 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26245 Perform IRELATIVE relocations last.
26246
e453f6cd
UD
26247 * elf/do-rel.h: Add another parameter nrelative, replacing the
26248 local variable with the same name. Change name of the function
26249 to end in Rel or Rela (uppercase).
26250 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26251 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26252 elf_dynamic_do_##reloc function.
26253
fd5bdc09
UD
262542011-10-15 Ulrich Drepper <drepper@gmail.com>
26255
79b195b5
UD
26256 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26257 is sufficient, at least on modern CPUs.
26258
d4a28569
UD
26259 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26260
b61099b5
UD
26261 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26262 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26263
bcf01e6d
UD
26264 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26265 __expl_finite.
26266 * math/bits/math-finite.h: Add entries for exp.
26267 * math/e_expl.c: Add __*_finite alias.
26268 * sysdeps/i386/fpu/e_exp.S: Likewise.
26269 * sysdeps/i386/fpu/e_expf.S: Likewise.
26270 * sysdeps/i386/fpu/e_expl.c: Likewise.
26271 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26272 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26273 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26274 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26275 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26276 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26277 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26278
ba1a0d59
UD
26279 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26280 is sufficient, at least on modern CPUs.
26281
fd5bdc09
UD
26282 * ctype/ctype-info.c (__ctype_init): Define.
26283 * include/ctype.h (__ctype_init): Declare.
26284 (__ctype_b_loc): The variable is always initialized.
26285 (__ctype_toupper_loc): Likewise.
26286 (__ctype_tolower_loc): Likewise.
26287 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26288 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26289
7872cfb0
AS
262902011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26291
b468825a
AS
26292 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26293
7872cfb0
AS
26294 * configure.in: Also look in $cxxmachine/include for C++ system
26295 headers.
26296
be13f7bf
LD
262972011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26298
26299 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26300 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26301 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26302 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26303 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26304 (USE_AS_WMEMCMP): New macro.
26305 Fixing indents.
26306 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26307 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26308 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26309 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26310 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26311 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26312 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26313 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26314 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26315 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26316 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26317 (USE_AS_WMEMCMP): New macro.
26318 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26319 * sysdeps/string/test-memcmp.c: Update.
26320 Fix simple_wmemcmp.
26321 Add new tests.
26322 * wcsmbs/wmemcmp.c: Update.
26323 (WMEMCMP): New macro.
26324 Fix overflow bug.
26325
556a2007
AJ
263262011-10-12 Andreas Jaeger <aj@suse.de>
26327
26328 [BZ #13268]
26329 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26330
538faaa7
UD
263312011-10-15 Ulrich Drepper <drepper@gmail.com>
26332
ab6737ff
UD
26333 * libio/iofwide.c (do_length): Avoid warning.
26334
538faaa7
UD
26335 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26336
396a21b1
UD
263372011-10-14 Ulrich Drepper <drepper@gmail.com>
26338
cdf2901f
UD
26339 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26340
38ad40ce
UD
26341 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26342 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26343 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26344 * sysdeps/i386/i686/fpu/e_log.S: New file.
26345 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26346 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26347
396a21b1
UD
26348 * ctype/ctype.h: Add support for inlined isXXX functions when
26349 compiling C++ code.
26350
6b1f68c9
AS
263512011-10-14 Andreas Schwab <schwab@redhat.com>
26352
349290c0
AS
26353 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26354
6b1f68c9
AS
26355 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26356
f2282d42
RM
263572011-10-13 Roland McGrath <roland@hack.frob.com>
26358
26359 [BZ #13291]
26360 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26361
5298ffa8
AS
263622011-10-13 Andreas Schwab <schwab@redhat.com>
26363
714fad23
AS
26364 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26365 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26366 feraiseexcept.
26367
81dcc7fb
AS
26368 * sysdeps/x86_64/memrchr.S: Check for zero size.
26369
5298ffa8
AS
26370 * string/stratcliff.c: Add memrchr tests.
26371
951fbcec
LD
263722011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26373
26374 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26375 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26376 rawmemchr-sse2 rawmemchr-sse2-bsf.
26377 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26378 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26379 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26380 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26381 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26382 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26383 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26384 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26385 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26386 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26387 * string/memrchr.c (MEMRCHR): New macro.
26388
0ac5ae23
UD
263892011-10-12 Ulrich Drepper <drepper@gmail.com>
26390
26391 Add integration with gcc's -ffinite-math-only and optimize wrapper
26392 functions in libm.
26393 * Versions.def: Define GLIBC_2.15 version for libm.
26394 * math/Makefile (headers): Add bits/math-finite.h.
26395 * math/bits/math-finite.h: New file.
26396 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26397 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26398 * math/e_acoshl.c: Add __*_finite alias.
26399 * math/e_acosl.c: Likewise.
26400 * math/e_asinl.c: Likewise.
26401 * math/e_atan2l.c: Likewise.
26402 * math/e_atanhl.c: Likewise.
26403 * math/e_coshl.c: Likewise.
26404 * math/e_exp10.c: Likewise.
26405 * math/e_exp10f.c: Likewise.
26406 * math/e_exp10l.c: Likewise.
26407 * math/e_exp2l.c: Likewise.
26408 * math/e_fmodl.c: Likewise.
26409 * math/e_gammal_r.c: Likewise.
26410 * math/e_hypotl.c: Likewise.
26411 * math/e_j0l.c: Likewise.
26412 * math/e_j1l.c: Likewise.
26413 * math/e_jnl.c: Likewise.
26414 * math/e_lgammal_r.c: Likewise.
26415 * math/e_log10l.c: Likewise.
26416 * math/e_log2l.c: Likewise.
26417 * math/e_logl.c: Likewise.
26418 * math/e_powl.c: Likewise.
26419 * math/e_sinhl.c: Likewise.
26420 * math/e_sqrtl.c: Likewise.
26421 * math/e_scalb.c: Completely rewritten and optimized.
26422 * math/e_scalbf.c: Likewise.
26423 * math/e_scalbl.c: Likewise.
26424 * math/w_acos.c: Likewise.
26425 * math/w_acosf.c: Likewise.
26426 * math/w_acosl.c: Likewise.
26427 * math/w_acosh.c: Likewise.
26428 * math/w_acoshf.c: Likewise.
26429 * math/w_acoshl.c: Likewise.
26430 * math/w_asin.c: Likewise.
26431 * math/w_asinf.c: Likewise.
26432 * math/w_asinl.c: Likewise.
26433 * math/w_atan2.c: Likewise.
26434 * math/w_atan2f.c: Likewise.
26435 * math/w_atan2l.c: Likewise.
26436 * math/w_atanh.c: Likewise.
26437 * math/w_atanhf.c: Likewise.
26438 * math/w_atanhl.c: Likewise.
26439 * math/w_exp10.c: Likewise.
26440 * math/w_exp10f.c: Likewise.
26441 * math/w_exp10l.c: Likewise.
26442 * math/w_fmod.c: Likewise.
26443 * math/w_fmodf.c: Likewise.
26444 * math/w_fmodl.c: Likewise.
26445 * math/w_j0.c: Likewise.
26446 * math/w_j0f.c: Likewise.
26447 * math/w_j0l.c: Likewise.
26448 * math/w_j1.c: Likewise.
26449 * math/w_j1f.c: Likewise.
26450 * math/w_j1l.c: Likewise.
26451 * math/w_jn.c: Likewise.
26452 * math/w_jnf.c: Likewise.
26453 * math/w_log.c: Likewise.
26454 * math/w_logf.c: Likewise.
26455 * math/w_logl.c: Likewise.
26456 * math/w_log10.c: Likewise.
26457 * math/w_log10f.c: Likewise.
26458 * math/w_log10l.c: Likewise.
26459 * math/w_log2.c: Likewise.
26460 * math/w_log2f.c: Likewise.
26461 * math/w_log2l.c: Likewise.
26462 * math/w_pow.c: Likewise.
26463 * math/w_powf.c: Likewise.
26464 * math/w_powl.c: Likewise.
26465 * math/w_remainder.c: Likewise.
26466 * math/w_remainderf.c: Likewise.
26467 * math/w_remainderl.c: Likewise.
26468 * math/w_scalb.c: Likewise.
26469 * math/w_scalbf.c: Likewise.
26470 * math/w_scalbl.c: Likewise.
26471 * math/w_sqrt.c: Likewise.
26472 * math/w_sqrtf.c: Likewise.
26473 * math/w_sqrtl.c: Likewise.
26474 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26475 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26476 used.
26477 * math/math_private.h: Declare __kernel_standard_f.
26478 * math/w_cosh.c: Remove cruft and optimize a bit.
26479 * math/w_coshf.c: Likewise.
26480 * math/w_coshl.c: Likewise.
26481 * math/w_exp2.c: Likewise.
26482 * math/w_exp2f.c: Likewise.
26483 * math/w_exp2l.c: Likewise.
26484 * math/w_hypot.c: Likewise.
26485 * math/w_hypotf.c: Likewise.
26486 * math/w_hypotl.c: Likewise.
26487 * math/w_lgamma.c: Likewise.
26488 * math/w_lgamma_r.c: Likewise.
26489 * math/w_lgammaf.c: Likewise.
26490 * math/w_lgammaf_r.c: Likewise.
26491 * math/w_lgammal.c: Likewise.
26492 * math/w_lgammal_r.c: Likewise.
26493 * math/w_sinh.c: Likewise.
26494 * math/w_sinhf.c: Likewise.
26495 * math/w_sinhl.c: Likewise.
26496 * math/w_tgamma.c: Likewise.
26497 * math/w_tgammaf.c: Likewise.
26498 * math/w_tgammal.c: Likewise.
26499 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26500 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26501 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26502 Minor optimizations. Pretty printing. Remove cruft.
26503 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26504 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26505 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26506 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26507 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26508 * sysdeps/i386/fpu/e_asin.S: Likewise.
26509 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26510 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26511 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26512 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26513 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26514 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26515 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26516 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26517 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26518 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26519 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26520 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26521 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26522 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26523 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26524 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26525 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26526 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26527 * sysdeps/i386/fpu/e_log.S: Likewise.
26528 * sysdeps/i386/fpu/e_log10.S: Likewise.
26529 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26530 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26531 * sysdeps/i386/fpu/e_log2.S: Likewise.
26532 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26533 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26534 * sysdeps/i386/fpu/e_logf.S: Likewise.
26535 * sysdeps/i386/fpu/e_logl.S: Likewise.
26536 * sysdeps/i386/fpu/e_pow.S: Likewise.
26537 * sysdeps/i386/fpu/e_powf.S: Likewise.
26538 * sysdeps/i386/fpu/e_powl.S: Likewise.
26539 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26540 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26541 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26542 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26543 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26544 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26545 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26546 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26547 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26548 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26549 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26550 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26551 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26552 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26553 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26554 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26555 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26556 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26557 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26558 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26559 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26560 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26561 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26562 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26563 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26564 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26565 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26566 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26567 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26568 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26569 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26570 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26571 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26572 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26573 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26574 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26575 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26576 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26577 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26578 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26579 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26580 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26581 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26582 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26583 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26584 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26585 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26586 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26587 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26588 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26589 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26590 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26591 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26592 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26593 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26594 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26595 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26596 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26597 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26598 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26599 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26600 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26601 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26602 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26603 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26604 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26605 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26606 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26607 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26608 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26609 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26610 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26611 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26612 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26613 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26614 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26615 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26616 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26617 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26618 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26619 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26620 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26621 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26622 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26623 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26624 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26625 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26626 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26627 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26628 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26629 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26630 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26631 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26632 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26633 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26634 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26635 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26636 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26637 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26638 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26639 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26640 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26641 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26642 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26643 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26644 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26645 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26646 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26647 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26648 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26649 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26650 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26651 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26652 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26653 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26654 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26655 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26656 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26657 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26658 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26659 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26660 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26661 (__isnanf): Likewise.
26662 (__isinf_ns): Likewise.
26663 (__isinf_nsf): Likewise.
26664 (__finite): Likewise.
26665 (__finitef): Likewise.
26666 (__ieee754_sqrt): Define as macro.
26667 (__ieee754_sqrtf): Define as macro.
26668 (__ieee754_sqrtl): Define as macro.
26669 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26670 inlined copy.
26671 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26672 __FINITE_MATH_ONLY__ consistent.
26673 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26674
12cc2fcd
AS
266752011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26676
a843a204
AS
26677 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26678 of rawmemchr.
26679
12cc2fcd
AS
26680 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26681
c853acd5
UD
266822011-10-09 Ulrich Drepper <drepper@gmail.com>
26683
26684 * po/ja.po: Update from translation team.
26685
c658d255
RM
266862011-10-08 Roland McGrath <roland@hack.frob.com>
26687
110946e4
RM
26688 * locale/programs/locarchive.c (prepare_address_space): New function.
26689 (create_archive, enlarge_archive, open_archive): Use it.
26690
50604220
RM
26691 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26692 inside [SHARED], where it is used.
26693
c658d255
RM
26694 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26695
26696 * nss/getent.c (netgroup_keys): Remove unused variable.
26697 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26698
6a621eb7
UD
266992011-10-08 Ulrich Drepper <drepper@gmail.com>
26700
7edb55ce
UD
26701 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26702 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26703 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26704 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26705 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26706 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26707 * math/Makefile (libm-calls): Add s_isinf_ns.
26708 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26709 * math/multc3.c: Likewise.
26710 * math/s_casin.c: Likewise.
26711 * math/s_casinf.c: Likewise.
26712 * math/s_casinl.c: Likewise.
26713 * math/s_ccos.c: Likewise.
26714 * math/s_ccosf.c: Likewise.
26715 * math/s_ccosl.c: Likewise.
26716 * math/s_ctan.c: Likewise.
26717 * math/s_ctanf.c: Likewise.
26718 * math/s_ctanh.c: Likewise.
26719 * math/s_ctanhf.c: Likewise.
26720 * math/s_ctanhl.c: Likewise.
26721 * math/s_ctanl.c: Likewise.
26722 * math/w_fmod.c: Likewise.
26723 * math/w_fmodf.c: Likewise.
26724 * math/w_fmodl.c: Likewise.
26725 * math/w_remainder.c: Likewise.
26726 * math/w_remainderf.c: Likewise.
26727 * math/w_remainderl.c: Likewise.
26728 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26729 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26730 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26731 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26732 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26733 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26734 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26735 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26736
187da0ae
UD
26737 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26738 of the number.
26739 * stdio-common/printf_fphex.c: Likewise.
26740 * stdio-common/printf_size.c: Likewise.
26741
9277c064
UD
26742 * math/e_exp10.c: Include math_private.h using <...> not "...".
26743 * math/e_exp10f.c: Likewise.
26744 * math/e_exp10l.c: Likewise.
26745 * math/e_exp2l.c: Likewise.
26746 * math/e_j0l.c: Likewise.
26747 * math/e_j1l.c: Likewise.
26748 * math/e_jnl.c: Likewise.
26749 * math/e_lgammal_r.c: Likewise.
26750 * math/e_rem_pio2l.c: Likewise.
26751 * math/e_scalb.c: Likewise.
26752 * math/e_scalbf.c: Likewise.
26753 * math/e_scalbl.c: Likewise.
26754 * math/k_cosl.c: Likewise.
26755 * math/k_sinl.c: Likewise.
26756 * math/k_tanl.c: Likewise.
26757 * math/s_cacoshf.c: Likewise.
26758 * math/s_catan.c: Likewise.
26759 * math/s_catanf.c: Likewise.
26760 * math/s_catanh.c: Likewise.
26761 * math/s_catanhf.c: Likewise.
26762 * math/s_catanhl.c: Likewise.
26763 * math/s_catanl.c: Likewise.
26764 * math/s_ccosh.c: Likewise.
26765 * math/s_ccoshf.c: Likewise.
26766 * math/s_ccoshl.c: Likewise.
26767 * math/s_cexp.c: Likewise.
26768 * math/s_cexpf.c: Likewise.
26769 * math/s_cexpl.c: Likewise.
26770 * math/s_clog.c: Likewise.
26771 * math/s_clog10.c: Likewise.
26772 * math/s_clog10f.c: Likewise.
26773 * math/s_clog10l.c: Likewise.
26774 * math/s_clogf.c: Likewise.
26775 * math/s_clogl.c: Likewise.
26776 * math/s_csin.c: Likewise.
26777 * math/s_csinf.c: Likewise.
26778 * math/s_csinh.c: Likewise.
26779 * math/s_csinhf.c: Likewise.
26780 * math/s_csinhl.c: Likewise.
26781 * math/s_csinl.c: Likewise.
26782 * math/s_csqrt.c: Likewise.
26783 * math/s_csqrtf.c: Likewise.
26784 * math/s_csqrtl.c: Likewise.
26785 * math/s_ctan.c: Likewise.
26786 * math/s_ctanf.c: Likewise.
26787 * math/s_ctanh.c: Likewise.
26788 * math/s_ctanhf.c: Likewise.
26789 * math/s_ctanhl.c: Likewise.
26790 * math/s_ctanl.c: Likewise.
26791 * math/s_ldexp.c: Likewise.
26792 * math/s_ldexpf.c: Likewise.
26793 * math/s_ldexpl.c: Likewise.
26794 * math/s_significand.c: Likewise.
26795 * math/s_significandf.c: Likewise.
26796 * math/s_significandl.c: Likewise.
26797 * math/w_acos.c: Likewise.
26798 * math/w_acosf.c: Likewise.
26799 * math/w_acosh.c: Likewise.
26800 * math/w_acoshf.c: Likewise.
26801 * math/w_acoshl.c: Likewise.
26802 * math/w_acosl.c: Likewise.
26803 * math/w_asin.c: Likewise.
26804 * math/w_asinf.c: Likewise.
26805 * math/w_asinl.c: Likewise.
26806 * math/w_atan2.c: Likewise.
26807 * math/w_atan2f.c: Likewise.
26808 * math/w_atan2l.c: Likewise.
26809 * math/w_atanh.c: Likewise.
26810 * math/w_atanhf.c: Likewise.
26811 * math/w_atanhl.c: Likewise.
26812 * math/w_cosh.c: Likewise.
26813 * math/w_coshf.c: Likewise.
26814 * math/w_coshl.c: Likewise.
26815 * math/w_dremf.c: Likewise.
26816 * math/w_exp10.c: Likewise.
26817 * math/w_exp10f.c: Likewise.
26818 * math/w_exp10l.c: Likewise.
26819 * math/w_exp2.c: Likewise.
26820 * math/w_exp2f.c: Likewise.
26821 * math/w_fmod.c: Likewise.
26822 * math/w_fmodf.c: Likewise.
26823 * math/w_fmodl.c: Likewise.
26824 * math/w_hypot.c: Likewise.
26825 * math/w_hypotf.c: Likewise.
26826 * math/w_hypotl.c: Likewise.
26827 * math/w_j0.c: Likewise.
26828 * math/w_j0f.c: Likewise.
26829 * math/w_j0l.c: Likewise.
26830 * math/w_j1.c: Likewise.
26831 * math/w_j1f.c: Likewise.
26832 * math/w_j1l.c: Likewise.
26833 * math/w_jn.c: Likewise.
26834 * math/w_jnf.c: Likewise.
26835 * math/w_jnl.c: Likewise.
26836 * math/w_lgamma.c: Likewise.
26837 * math/w_lgamma_r.c: Likewise.
26838 * math/w_lgammaf.c: Likewise.
26839 * math/w_lgammaf_r.c: Likewise.
26840 * math/w_lgammal.c: Likewise.
26841 * math/w_lgammal_r.c: Likewise.
26842 * math/w_log.c: Likewise.
26843 * math/w_log10.c: Likewise.
26844 * math/w_log10f.c: Likewise.
26845 * math/w_log10l.c: Likewise.
26846 * math/w_log2.c: Likewise.
26847 * math/w_log2f.c: Likewise.
26848 * math/w_log2l.c: Likewise.
26849 * math/w_logf.c: Likewise.
26850 * math/w_logl.c: Likewise.
26851 * math/w_pow.c: Likewise.
26852 * math/w_powf.c: Likewise.
26853 * math/w_powl.c: Likewise.
26854 * math/w_remainder.c: Likewise.
26855 * math/w_remainderf.c: Likewise.
26856 * math/w_remainderl.c: Likewise.
26857 * math/w_scalb.c: Likewise.
26858 * math/w_scalbf.c: Likewise.
26859 * math/w_scalbl.c: Likewise.
26860 * math/w_sinh.c: Likewise.
26861 * math/w_sinhf.c: Likewise.
26862 * math/w_sinhl.c: Likewise.
26863 * math/w_sqrt.c: Likewise.
26864 * math/w_sqrtf.c: Likewise.
26865 * math/w_sqrtl.c: Likewise.
26866 * math/w_tgamma.c: Likewise.
26867 * math/w_tgammaf.c: Likewise.
26868 * math/w_tgammal.c: Likewise.
26869
6a621eb7
UD
26870 * po/ja.po: Update from translation team.
26871
bf582445
AJ
268722011-09-29 Andreas Jaeger <aj@suse.de>
26873
f9efbf3a
AJ
26874 [BZ #13179]
26875 * sunrpc/netname.c (netname2host): Fix logic.
26876
bf582445
AJ
26877 [BZ #6779]
26878 [BZ #6783]
26879 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26880 correctly.
26881 * math/w_remainder.c (__remainder): Likewise.
26882 * math/w_remainderf.c (__remainderf): Likewise.
26883 * math/libm-test.inc (remainder_test): Add test cases.
26884
48693bea
AK
268852011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26886
26887 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26888 sdiv_qrnnd.
26889
42622229
LD
268902011-10-07 Ulrich Drepper <drepper@gmail.com>
26891
26892 * string/test-memcmp.c: Avoid unncessary #defines.
26893 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26894
093ecf92
LD
268952011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26896
26897 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26898 Use new sse2 version for core i3 - i7 as it's faster
26899 than sse42 version.
26900 (bit_Prefer_PMINUB_for_stringop): New.
26901 * sysdeps/x86_64/rawmemchr.S: Update.
26902 Replace with faster SSE2 version.
26903 * sysdeps/x86_64/memrchr.S: New file.
26904 * sysdeps/x86_64/memchr.S: Update.
26905 Replace with faster SSE2 version.
26906
fde56e5c
MP
269072011-09-12 Marek Polacek <mpolacek@redhat.com>
26908
26909 * elf/dl-load.c (lose): Add cast to avoid warning.
26910
21fd49a9
UD
269112011-10-07 Ulrich Drepper <drepper@gmail.com>
26912
5a06e643
UD
26913 * po/ca.po: Update from translation team.
26914
684ae515
UD
26915 * inet/getnetgrent_r.c: Hook up nscd.
26916 * nscd/Makefile (routines): Add nscd_netgroup.
26917 (nscd-modules): Add netgroupcache.
26918 (CFLAGS-netgroupcache.c): Define.
26919 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26920 (cache_search): Add const to second parameter.
26921 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26922 INNETGR.
26923 (dbs): Add netgrdb entry.
26924 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26925 (verify_persistent_db): Handle netgrdb.
26926 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26927 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26928 GETFDNETGR.
26929 (netgroup_response_header): Define.
26930 (innetgroup_response_header): Define.
26931 (datahead): Add netgroup_response_header and innetgroup_response_header
26932 elements.
26933 * nscd/nscd.conf: Add entries for netgroup cache.
26934 * nscd/nscd.h (dbtype): Add netgrdb.
26935 (_PATH_NSCD_NETGROUP_DB): Define.
26936 (netgroup_iov_disabled): Declare.
26937 (xmalloc, xcalloc, xrealloc): Move declarations here.
26938 (cache_search): Adjust prototype.
26939 Add netgroup-related prototypes.
26940 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26941 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26942 (__nscd_innetgr): Declare.
26943 * nscd/selinux.c (perms): Use access_vector_t as element type and
26944 add netgroup-related initializers.
26945 * nscd/netgroupcache.c: New file.
26946 * nscd/nscd_netgroup.c: New file.
26947 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26948 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26949 For four parameters use innetgr.
26950 * nss/nss_files/files-init.c: Add definition and callback for netgr.
26951 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26952 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26953 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26954
21fd49a9
UD
26955 * nscd/connections.c (register_traced_file): Don't register file
26956 for disabled databases.
26957
054c0457
UD
269582011-10-06 Ulrich Drepper <drepper@gmail.com>
26959
32b63198
UD
26960 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26961
054c0457
UD
26962 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26963 from tree and freeing node.
26964
64031225
JO
269652011-09-25 Jiri Olsa <jolsa@redhat.com>
26966
26967 * nss/nsswitch.c (__nss_database_lookup): Handle
26968 nss_parse_service_list out of memory case.
26969
0490345c
JO
269702011-09-15 Jiri Olsa <jolsa@redhat.com>
26971
26972 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26973 out of memory case.
26974
3a62d00d
AS
269752011-10-04 Andreas Schwab <schwab@redhat.com>
26976
26977 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26978 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26979 pass it down.
26980 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26981 elf_machine_rela, elf_machine_lazy_rel.
26982 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26983 (ELF_DYNAMIC_DO_REL): Likewise.
26984 (ELF_DYNAMIC_DO_RELA): Likewise.
26985 (ELF_DYNAMIC_RELOCATE): Likewise.
26986 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26987 to ELF_DYNAMIC_DO_REL.
26988 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26989 (dl_main): In trace mode always set __RTLD_NOIFUNC.
26990 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26991 elf_machine_rela.
26992 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26993 skip_ifunc, don't call ifunc function if non-zero.
26994 (elf_machine_rela): Likewise.
26995 (elf_machine_lazy_rel): Likewise.
26996 (elf_machine_lazy_rela): Likewise.
26997 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26998 (elf_machine_lazy_rel): Likewise.
26999 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27000 Likewise.
27001 (elf_machine_lazy_rel): Likewise.
27002 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27003 Likewise.
27004 (elf_machine_lazy_rel): Likewise.
27005 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27006 (elf_machine_lazy_rel): Likewise.
27007 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27008 (elf_machine_lazy_rel): Likewise.
27009 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27010 (elf_machine_lazy_rel): Likewise.
27011 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27012 (elf_machine_lazy_rel): Likewise.
27013 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27014 (elf_machine_lazy_rel): Likewise.
27015 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27016 (elf_machine_lazy_rel): Likewise.
27017
68577918
UD
270182011-09-28 Ulrich Drepper <drepper@gmail.com>
27019
27020 * nss/nss_files/files-init.c (_nss_files_init): Use static
27021 initialization for all the *_traced_file variables.
27022
68822d74
AS
270232011-09-28 Andreas Schwab <schwab@redhat.com>
27024
27025 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27026
2056100b
RM
270272011-09-27 Roland McGrath <roland@hack.frob.com>
27028
27029 [BZ #13226]
27030 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27031
32c76b63
AS
270322011-09-27 Andreas Schwab <schwab@redhat.com>
27033
27034 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27035 Reread the line before reparsing it.
27036
bf972c9d
AS
270372011-09-26 Andreas Schwab <schwab@redhat.com>
27038
27039 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27040
e057a1b5
JM
270412011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27042 Maxim Kuvyrkov <maxim@codesourcery.com>
27043 Joseph Myers <joseph@codesourcery.com>
27044
27045 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27046 if needed for __stack_chk_guard.
27047
bc7e1c36
RM
270482011-09-19 Roland McGrath <roland@hack.frob.com>
27049
ecb1482f
RM
27050 * sysdeps/posix/spawni.c (script_execute): Always define it.
27051 It will be optimized away if unused.
27052 (maybe_script_execute): New function.
27053 (__spawni): Call it.
27054
bc7e1c36
RM
27055 * Makerules: Don't include tls.make.
27056 (config-tls): Always set to thread.
27057 * tls.make.c: File removed.
27058
1c3b002b
MF
270592011-09-19 Mike Frysinger <vapier@gentoo.org>
27060
27061 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27062 * config.make.in (CPPFLAGS-config): New substituted variable.
27063
2840865d
UD
270642011-09-15 Ulrich Drepper <drepper@gmail.com>
27065
88738eb6
UD
27066 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27067
cbf645a6 27068 [BZ #13192]
2840865d
UD
27069 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27070 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27071
b402e91a
RM
270722011-09-15 Roland McGrath <roland@hack.frob.com>
27073
27074 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27075 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27076 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27077 (CALL_FAIL): Likewise.
27078 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27079 (CALL_FAIL): Macro removed.
27080 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27081
4c1a1f71
UD
270822011-09-15 Ulrich Drepper <drepper@gmail.com>
27083
27084 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27085 for __FINITE_MATH_ONLY__ == 1.
27086
edc121be
AS
270872011-09-15 Andreas Schwab <schwab@redhat.com>
27088
27089 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27090 __ieee754_sqrt instead of sqrt.
27091 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27092 __ieee754_sqrtf instead of sqrtf.
27093 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27094 __floorf instead of floorf.
27095 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27096 __floorf, __truncf instead of floorf, truncf.
27097
cd205654
UD
270982011-09-14 Ulrich Drepper <drepper@gmail.com>
27099
ee4d0315
UD
27100 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27101
cd205654
UD
27102 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27103 __extern_always_inline.
27104 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27105 32-bit.
27106
48b67d71
AS
271072011-09-14 Andreas Schwab <schwab@redhat.com>
27108
27109 * elf/rtld.c (dl_main): Also relocate in dependency order when
27110 doing symbol dependency testing.
27111
1ae12c75
AS
271122011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27113
27114 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27115 Always define `refsym'.
27116
995a80df
AS
271172011-09-13 Andreas Schwab <schwab@redhat.com>
27118
e529793b
AS
27119 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27120 (__FD_ELT): Renamed from __FDELT.
27121 * misc/bits/select2.h (__FD_ELT): Likewise.
27122 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27123 __FD_MASK instead of __FDELT, __FDMASK.
27124 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27125 Likewise.
27126 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27127 Likewise.
27128
52d4fef8
AS
27129 * elf/Makefile (gen-ldd): Fix pattern.
27130
995a80df
AS
27131 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27132 (init_tls): Likewise.
27133
8682f8b0
UD
271342011-09-12 Ulrich Drepper <drepper@gmail.com>
27135
27136 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27137
de82006d
AS
271382011-09-12 Andreas Schwab <schwab@redhat.com>
27139
a7c8e6a1
AS
27140 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27141 `struct cmsghdr *' instead of `void *'.
27142 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27143 Likewise.
27144
0f31fe77
AS
271452011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27146
27147 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27148 if non-absolute.
27149 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27150 ldd_rewrite_script.
0f31fe77 27151
32b4c839
UD
271522011-09-11 Ulrich Drepper <drepper@gmail.com>
27153
83cd1420
UD
27154 * configure.in: Remove --with-tls option.
27155 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27156 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27157 out in case it is missing.
27158 * sysdeps/ia64/elf/configure.in: Likewise.
27159 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27160 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27161 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27162 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27163 * sysdeps/sh/elf/configure.in: Likewise.
27164 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27165 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27166 * sysdeps/x86_64/elf/configure.in: Likewise.
27167 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27168 * sysdeps/mach/hurd/tls.h: Likewise.
27169
633f745d
UD
27170 [BZ #13067]
27171 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27172
f318beb8
UD
27173 [BZ #13090]
27174 * configure.in: Fix use of AC_INIT.
27175
32b4c839
UD
27176 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27177
3ce1f295
UD
271782011-09-10 Ulrich Drepper <drepper@gmail.com>
27179
bb016596
UD
27180 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27181 __set_errno.
8e58439c
UD
27182 * malloc/hooks.c: Likewise.
27183
aebae053 27184 [BZ #11929]
02d46fc4
UD
27185 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27186 variables statically.
27187 (narenas): Initialize.
27188 (list_lock): Initialize.
bb016596
UD
27189 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27190 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27191 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27192 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27193 Add initializers to main_arena and mp_.
27194 (malloc_state): Remove pagesize member. Change all users to use
27195 GLRO(dl_pagesize).
27196
27197 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27198 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27199 is always initialized.
27200
22a89187
UD
27201 * malloc/malloc.c: Removed unused configurations and dead code.
27202 * malloc/arena.c: Likewise.
27203 * malloc/hooks.c: Likewise.
02d46fc4 27204 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27205
d063d164
UD
27206 * include/tls.h: Removed. USE___THREAD must always be defined.
27207 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27208 * elf/dl-libc.c: Likewise.
27209 * elf/dl-tsd.c: Likewise.
27210 * include/errno.h: Likewise.
27211 * include/netdb.h: Likewise.
27212 * include/resolv.h: Likewise.
27213 * inet/herrno-loc.c: Likewise.
27214 * inet/herrno.c: Likewise.
27215 * malloc/arena.c: Likewise.
27216 * malloc/hooks.c: Likewise.
27217 * malloc/malloc.c: Likewise.
27218 * resolv/res-state.c: Likewise.
27219 * resolv/res_libc.c: Likewise.
27220 * sysdeps/i386/dl-machine.h: Likewise.
27221 * sysdeps/ia64/dl-machine.h: Likewise.
27222 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27223 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27224 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27225 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27226 * sysdeps/sh/dl-machine.h: Likewise.
27227 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27228 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27229 * sysdeps/unix/i386/sysdep.S: Likewise.
27230 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27231 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27232 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27233 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27234 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27235 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27236 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27237 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27238 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27239 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27240 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27241 * sysdeps/x86_64/dl-machine.h: Likewise.
27242 * tls.make.c: Likewise.
27243
3ce1f295
UD
27244 * configure.in: Remove --with-__thread option. Make tests for
27245 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27246 tls_model attribute fail if no support is available. Remove
27247 USE_IN_LIBIO.
27248 * Makeconfig: Adjust for dropped configure option. All features are
27249 now mandatory.
27250 * Makerules: Likewise.
27251 * Versions.def: Likewise.
27252 * argp/argp-fmtstream.c: Likewise.
27253 * argp/argp-fmtstream.h: Likewise.
27254 * argp/argp-help.c: Likewise.
27255 * assert/assert.c: Likewise.
27256 * config.h.in: Likewise.
27257 * config.make.in: Likewise.
27258 * configure: Likewise.
27259 * configure.in: Likewise.
27260 * csu/Versions: Likewise.
27261 * csu/init.c: Likewise.
27262 * elf/tst-audit2.c: Likewise.
27263 * elf/tst-tls10.c: Likewise.
27264 * elf/tst-tls10.h: Likewise.
27265 * elf/tst-tls11.c: Likewise.
27266 * elf/tst-tls12.c: Likewise.
27267 * elf/tst-tls14.c: Likewise.
27268 * elf/tst-tlsmod11.c: Likewise.
27269 * elf/tst-tlsmod12.c: Likewise.
27270 * elf/tst-tlsmod13.c: Likewise.
27271 * elf/tst-tlsmod13a.c: Likewise.
27272 * elf/tst-tlsmod14a.c: Likewise.
27273 * elf/tst-tlsmod15b.c: Likewise.
27274 * elf/tst-tlsmod16a.c: Likewise.
27275 * elf/tst-tlsmod16b.c: Likewise.
27276 * elf/tst-tlsmod7.c: Likewise.
27277 * elf/tst-tlsmod8.c: Likewise.
27278 * elf/tst-tlsmod9.c: Likewise.
27279 * gmon/gmon.c: Likewise.
27280 * grp/fgetgrent_r.c: Likewise.
27281 * grp/putgrent.c: Likewise.
27282 * hurd/fopenport.c: Likewise.
27283 * include/libc-symbols.h: Likewise.
27284 * include/tls.h: Likewise.
27285 * intl/gettextP.h: Likewise.
27286 * intl/loadinfo.h: Likewise.
27287 * locale/global-locale.c: Likewise.
27288 * locale/localeinfo.h: Likewise.
27289 * mach/devstream.c: Likewise.
27290 * malloc/arena.c: Likewise.
27291 * malloc/set-freeres.c: Likewise.
27292 * misc/err.c: Likewise.
27293 * misc/getttyent.c: Likewise.
27294 * misc/mntent_r.c: Likewise.
27295 * posix/getopt.c: Likewise.
27296 * posix/wordexp.c: Likewise.
27297 * pwd/fgetpwent_r.c: Likewise.
27298 * resolv/Versions: Likewise.
27299 * resolv/res_hconf.c: Likewise.
27300 * shadow/fgetspent_r.c: Likewise.
27301 * shadow/putspent.c: Likewise.
27302 * stdio-common/printf_fphex.c: Likewise.
27303 * stdio-common/tmpfile.c: Likewise.
27304 * stdlib/abort.c: Likewise.
27305 * stdlib/fmtmsg.c: Likewise.
27306 * sunrpc/auth_unix.c: Likewise.
27307 * sunrpc/clnt_perr.c: Likewise.
27308 * sunrpc/clnt_tcp.c: Likewise.
27309 * sunrpc/clnt_udp.c: Likewise.
27310 * sunrpc/clnt_unix.c: Likewise.
27311 * sunrpc/openchild.c: Likewise.
27312 * sunrpc/svc_simple.c: Likewise.
27313 * sunrpc/svc_tcp.c: Likewise.
27314 * sunrpc/svc_udp.c: Likewise.
27315 * sunrpc/svc_unix.c: Likewise.
27316 * sunrpc/xdr.c: Likewise.
27317 * sunrpc/xdr_array.c: Likewise.
27318 * sunrpc/xdr_rec.c: Likewise.
27319 * sunrpc/xdr_ref.c: Likewise.
27320 * sunrpc/xdr_stdio.c: Likewise.
27321
1248c1c4
PB
273222011-09-09 Ulrich Drepper <drepper@gmail.com>
27323
27324 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27325
273262011-07-03 Andreas Jaeger <aj@suse.de>
27327
27328 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27329 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27330 regenerate with gen-libm-tests.pl.
27331
273322010-05-12 Petr Baudis <pasky@suse.cz>
27333
27334 [BZ #11589]
27335 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27336 around j0() zero points by switching to j1().
27337 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27338 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27339 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27340 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27341
f22e1074
UD
273422011-09-09 Ulrich Drepper <drepper@gmail.com>
27343
f19009c1
UD
27344 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27345 instead of 0.
27346 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27347 instead of 0.
f19009c1
UD
27348 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27349 Patch in part by Pavel Roskin <proski@gnu.org>.
27350
3f8cc204
UD
27351 [BZ #13138]
27352 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27353 realloc.
27354 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27355 Free memory block if necessary.
27356
f22e1074
UD
27357 [BZ #12847]
27358 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27359 be NULL. Don't lock in this case.
27360
0a2349f9
RM
273612011-09-09 Roland McGrath <roland@hack.frob.com>
27362
27363 * elf/elf.h (ELFOSABI_GNU): New macro.
27364 (ELFOSABI_LINUX): Define to that.
27365
f3cdd467
DZ
273662011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27367
27368 * string/strncat.c (strncat): Undef the symbol in case it has been
27369 defined in bits/string.h.
27370
74718d13
UD
273712011-09-09 Ulrich Drepper <drepper@gmail.com>
27372
633e9e0f
UD
27373 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27374
0a2349f9 27375 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27376 link map.
27377
f9924780
AJ
273782011-08-17 Andreas Jaeger <aj@suse.de>
27379
27380 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27381
7f5517aa
PP
273822011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27383 Ian Lance Taylor <iant@google.com>
27384
27385 * math/libm-test.inc (lround_test): New testcase.
27386 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27387
762011fe
UD
273882011-09-08 Ulrich Drepper <drepper@gmail.com>
27389
92963737
UD
27390 * Makefile: Remove support for automatic cvs check-ins.
27391 * Makerules: Likewise.
27392 * config.make.in: Likewise.
27393 * configure.in: Likewise.
27394 * intl/Makefile: Likewise.
27395 * locale/Makefile: Likewise.
27396 * po/Makefile: Likewise.
27397 * posix/Makefile: Likewise.
27398 * sysdeps/gnu/Makefile: Likewise.
27399 * sysdeps/mach/hurd/Makefile: Likewise.
27400 * sysdeps/sparc/sparc32/Makefile: Likewise.
27401
b0727fd8
JS
27402 [BZ #13118]
27403 * posix/Makefile (bug-regex32-ENV): Define.
27404 Patch by John Stanley <jpsinthemix@verizon.net>.
27405
a0f33f99
UD
27406 * misc/Makefile (headers): Add bits/select2.h.
27407 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27408 * misc/bits/select2.h: New file.
27409 * include/bits/select2.h: New file.
27410 * debug/Makefile (routines): Add fdelt_chk.
27411 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27412 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27413 FD_ISSET.
27414 * debug/fdelt_chk.c: New file.
27415
762011fe
UD
27416 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27417 * wcsmbs/test-wmemcmp.c: Likewise.
27418 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27419 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27420
274212011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27422
27423 * string/Makefile (strop-tests): Add memcmp.
27424 * string/test-wmemcmp.c: New file.
27425 * string/test-memcmp.c: Add wmemcmp support.
27426
7f513ec8
RM
274272011-09-08 Roland McGrath <roland@hack.frob.com>
27428
0442afb4
RM
27429 [BZ #13153]
27430 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27431 2011-07-19 change.
27432
7f513ec8
RM
27433 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27434 garbage value in a __mach_port_mod_refs call in the cases of the
27435 task-self and thread-self ports.
27436
a12b2239
ST
274372011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27438
27439 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27440
610f9ab4
AS
274412011-09-08 Andreas Schwab <schwab@redhat.com>
27442
7f513ec8 27443 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27444
48882a1a
LD
274452011-09-07 Ulrich Drepper <drepper@gmail.com>
27446
b49865be
UD
27447 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27448
fdc86bc9
UD
27449 * elf/dl-libc.c (dlerror_run): Pass back error code from
27450 dl_catch_error.
27451
c966526a
UD
27452 [BZ #13123]
27453 * elf/dl-load.c (lose): Free l_origin if it is valid.
27454
48882a1a
LD
27455 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27456 names.
27457 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27458 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27459 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27460 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27461 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27462 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27463
77a2a8b4
AZ
274642011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27465
27466 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27467 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27468 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27469 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27470 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27471 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27472 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27473 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27474 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27475 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27476
24f579d8
AM
274772011-08-15 Alan Modra <amodra@gmail.com>
27478
27479 [BZ #13092]
27480 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27481 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27482 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27483 ppc_mcount to static-only-routines.
27484 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27485 __mcount_internal.
27486 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27487 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27488
3d4837df
UD
274892011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27490
27491 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27492 for finite and infinity parameters.
27493
22700377
WS
274942011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27495
27496 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27497 and add nop instructions for throughput optimization.
27498 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27499
5025581e
WS
275002011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27501
27502 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27503 aligned copy for power7 with vector-scalar instructions.
27504 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27505
08a300c9
L
275062011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27507
27508 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27509 AVX check.
27510
59178ef9
AS
275112011-09-07 Andreas Schwab <schwab@redhat.com>
27512
27513 [BZ #13144]
27514 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27515 last change.
27516
e38ba7ab
UD
275172011-09-07 Ulrich Drepper <drepper@gmail.com>
27518
27519 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27520 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27521 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27522 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27523 clock_gettime.
27524
d53a73ac
UD
275252011-09-06 Ulrich Drepper <drepper@gmail.com>
27526
fc8bffcc
UD
27527 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27528 Forgot to demangle the pointer.
27529
ceaa0c5d
UD
27530 * sysdeps/i386/sysdep.h: Define atom_text_section.
27531 * sysdeps/x86_64/sysdep.h: Likewise.
27532 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27533 section with atom_text_section.
27534 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27535 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27536 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27537 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27538 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27539
a77d3c17
UD
27540 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27541 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27542 already be defined. Change to take two parameters and don't assign
27543 result to variable. Adjust all users.
27544 Define INTERNAL_GETTIME if not already defined.
27545 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27546 call.
27547 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27548 HAVE_CLOCK_GETTIME_VSYSCALL.
27549 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27550
d53a73ac
UD
27551 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27552 gettimeofday vsyscall, just use time.
27553
a8f84144
AS
275542011-09-06 Andreas Schwab <schwab@redhat.com>
27555
27556 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27557 <errno.h>.
27558
ef606249
UD
275592011-09-06 Ulrich Drepper <drepper@gmail.com>
27560
27561 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27562 syscall on x86-64.
27563 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27564 syscall.
27565 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27566 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27567 syscall if possible.
27568
6585cb60
UD
275692011-09-05 Ulrich Drepper <drepper@gmail.com>
27570
27571 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27572 e_ident. Don't pass to find_mapsXX.
27573 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27574
a5f524e4
LD
275752011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27576
27577 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27578 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27579 * sysdeps/x86_64/multiarch/strchr.S: Update.
27580 Check bit_slow_BSF bit.
27581 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27582 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27583 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27584
554881ef
UD
275852011-09-05 Ulrich Drepper <drepper@gmail.com>
27586
d96de963
UD
27587 [BZ #13134]
27588 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27589 before glibc 2.15.
27590 (tryshell): Define.
27591 (__spawni): Change last parameter to be flag. Test
27592 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27593 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27594 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27595 * posix/spawni.c: Likewise.
27596 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27597 * posix/spawnp.c: Likewise. Change normal version to use
27598 SPAWN_XFLAGS_USE_PATH.
27599 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27600 SPAWN_XFLAGS_TRY_SHELL.
27601
d48e5868
UD
27602 [BZ #13150]
27603 * posix/glob.h: Remove gcc 1.x support.
27604
554881ef
UD
27605 [BZ #13068]
27606 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27607
693fb948
LD
276082011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27609
27610 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27611 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27612 strrchr-sse2-bsf
27613 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27614 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27615 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27616 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27617 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27618 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27619
1b48c537
UD
276202011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27621
49d42c37
UD
27622 * sysdeps/x86_64/wcscmp.S: New file.
27623
1b48c537
UD
27624 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27625 wcscmp-c wcscmp-sse2
27626 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27627 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27628 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27629 * wcsmbs/wcscmp.c: Allow renaming.
27630
15c95c5d
DM
276312011-09-05 David S. Miller <davem@davemloft.net>
27632
27633 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27634 stack slot, rather than the struct return pointer slot.
27635 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27636 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27638 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27639
2f0ad8f3
UD
276402011-09-05 Ulrich Drepper <drepper@gmail.com>
27641
d88ae418
UD
27642 * po/ja.po: Update from translation team.
27643
2f0ad8f3
UD
27644 [BZ #13144]
27645 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27646 kernel in 64-bit binaries.
27647
5f4318d1
DM
276482011-09-01 David S. Miller <davem@davemloft.net>
27649
27650 * elf/elf.h (HWCAP_SPARC_*): Move to..
27651 * sysdeps/sparc/sysdep.h: this new file and add new values.
27652 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27653 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27654 _DL_HWCAP_COUNT to 24.
27655 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27656 entries.
27657 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27658 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27659 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27660 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27661 instead of magic constants.
27662 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27663
3ba57516
DM
276642011-08-31 David S. Miller <davem@davemloft.net>
27665
27666 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27667 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27668 Reimplement to do errno handling inline.
27669 (SYSCALL_ERROR_HANDLER): New macro.
27670 (__SYSCALL_STRING): Do not do errno handling in asm.
27671 (__CLONE_SYSCALL_STRING): Delete.
27672 (__INTERNAL_SYSCALL_STRING): Delete.
27673 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27674 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27675 (PSEUDO): Reimplement to do errno handling inline.
27676 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27677 (SYSCALL_ERROR_HANDLER): New macro.
27678 (__SYSCALL_STRING): Do not do errno handling in asm.
27679 (__CLONE_SYSCALL_STRING): Delete.
27680 (__INTERNAL_SYSCALL_STRING): Delete.
27681 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27682 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27683 i386.
27684 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27685 (inline_syscall*): Add 'err' argument.
27686 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27687 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27688 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27689 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27690
27691 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27692 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27693
2bc17433
AS
276942011-08-30 Andreas Schwab <schwab@redhat.com>
27695
27696 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27697
fbeb5f4d
JO
276982011-08-29 Jiri Olsa <jolsa@redhat.com>
27699
27700 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27701 directive.
27702
ad69cc26
DM
277032011-08-24 David S. Miller <davem@davemloft.net>
27704
27705 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27706
39dd69df
AS
277072011-08-24 Andreas Schwab <schwab@redhat.com>
27708
27709 * elf/Makefile: Add rules to build and run unload8 test.
27710 * elf/unload8.c: New file.
27711 * elf/unload8mod1.c: New file.
27712 * elf/unload8mod1x.c: New file.
27713 * elf/unload8mod2.c: New file.
27714 * elf/unload8mod3.c: New file.
27715
27716 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27717 it wasn't used.
27718
2c0b250a
DM
277192011-08-23 David S. Miller <davem@davemloft.net>
27720
27721 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27722 subtract stack bias.
27723 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27724 %sp not %fp in calculations.
27725 (_JMPBUF_UNWINDS_ADJ): Likewise.
27726
22044b48
DM
27727 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27728 (aio_suspend): Call it to force an exception region around the
27729 AIO_MISC_WAIT() invocation.
27730
2cae4995
AS
277312011-08-23 Andreas Schwab <schwab@redhat.com>
27732
27733 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27734 backslash.
27735
873a772e
AJ
277362011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27737
27738 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27739 protection macro.
27740 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27741 and <dl-machine.h>.
27742 (Elf64_FuncDesc): Remove.
27743
25ad0df1
DM
277442011-08-22 David S. Miller <davem@davemloft.net>
27745
27746 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27747 sigaltstack check, add missing cfi directives.
27748 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27749 missing cfi directives, and sigaltstack handling.
27750
e888bcbe
AS
277512011-08-16 Andreas Schwab <schwab@redhat.com>
27752
27753 [BZ #11724]
27754 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27755 object is seen twice.
27756 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27757
27758 * elf/Makefile (distribute): Add tst-initorder2.c.
27759 (tests): Add tst-initorder2.
27760 (modules-names): Add tst-initorder2a tst-initorder2b
27761 tst-initorder2c tst-initorder2d. Add rules to build them.
27762 ($(objpfx)tst-initorder2.out): New rule.
27763 * elf/tst-initorder2.c: New file.
27764 * elf/tst-initorder2.exp: New file.
27765
87162f46
AS
277662011-08-22 Andreas Schwab <schwab@redhat.com>
27767
70538b7f
AS
27768 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27769
f55ffe58
AS
27770 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27771 dependencies back to end of function.
27772
87162f46
AS
27773 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27774 $(elfobjdir)/ld.so.
27775
91b392a4
UD
277762011-08-21 Ulrich Drepper <drepper@gmail.com>
27777
27778 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27779 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27780 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27781 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27782 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27783 of __vdso_gettimeofday.
27784 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27785 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27786 attribute_hidden.
27787 (_libc_vdso_platform_setup): Remove initialization of
27788 __vdso_gettimeofday and __vdso_time.
27789
5c43483f
UD
277902011-08-20 Ulrich Drepper <drepper@gmail.com>
27791
775a77e7
UD
27792 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27793 and fgetc_unlocked.
27794 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27795 getc_unlocked.
89f447ed 27796
49c74ba9
UD
27797 * elf/dl-open.c (add_to_global): Report additions to the global scope
27798 for LD_DEBUG=scopes.
27799 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 27800 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 27801
5c43483f
UD
27802 [BZ #13114]
27803 * stdio-common/Makefile (tests): Add bug24.
27804 * stdio-common/bug24.c: New file.
27805
a101b025
AJ
278062011-08-19 Andreas Jaeger <aj@suse.de>
27807
27808 [BZ #13114]
27809 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27810 non-existant file when using close-on-exec mode.
27811
c88f1766
UD
278122011-08-20 Ulrich Drepper <drepper@gmail.com>
27813
0276a718
UD
27814 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27815 the very first instruction.
27816
c88f1766
UD
27817 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27818 the CFI state in the end.
27819 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27820 inclusion of dl-trampoline.h.
27821 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27822
51ccffa0
AS
278232011-08-19 Andreas Schwab <schwab@redhat.com>
27824
94d7165f
AS
27825 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27826 expectations for long double.
27827
51ccffa0
AS
27828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27829 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27830
fd708658 278312011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
27832
27833 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27834 artificual limit depends upon the system page size.
27835
44f0a71e
UD
278362011-08-17 Ulrich Drepper <drepper@gmail.com>
27837
27838 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27839 * resolv/Makefile: Define CFLAGS-libresolv.
27840
8de79a24
AS
278412011-08-17 Andreas Schwab <schwab@redhat.com>
27842
27843 * nss/makedb.c (compute_tables): Make variables used in nested
27844 function static.
27845
27724598
UD
278462011-08-17 Ulrich Drepper <drepper@gmail.com>
27847
c5305d88
UD
27848 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27849 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27850 if buffer was too small.
27851
27724598
UD
27852 * elf/pldd.c (main): Attach to all threads in the process.
27853 Rewrite /proc handling to use *at functions.
27854
076fe015
UD
278552011-08-16 Ulrich Drepper <drepper@gmail.com>
27856
174baab3
UD
27857 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27858 specifies first scope to show.
27859 (dl_open_worker): Update callers. Move printing scope of new
27860 object to before the relocation.
44f0a71e 27861 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
27862 * sysdeps/generic/ldsodefs.h: Update declaration.
27863
076fe015
UD
27864 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27865 string for the scope number.
27866
a60df2c3
UD
278672011-08-14 Ulrich Drepper <drepper@gmail.com>
27868
27869 * nscd/servicescache.c (cache_addserv): Make sure written is always
27870 initialized.
27871
5e4287d1
RM
278722011-08-14 Roland McGrath <roland@hack.frob.com>
27873
85ae0589
RM
27874 * sysdeps/i386/i486/bits/atomic.h
27875 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27876 statement expression, so as to suppress "set but not used" warning.
27877 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27878
69f63097
RM
27879 * string/strncat.c (STRNCAT): Use prototype definition.
27880
675456ef
RM
27881 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27882 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27883 -Iprograms here.
27884 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27885 (localedef-modules): Add localedef.
27886 (locale-modules): Add locale.
27887
5e4287d1
RM
27888 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27889 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27890 to avoid a warning.
27891
9c96ff23
DM
278922011-08-14 David S. Miller <davem@davemloft.net>
27893
27894 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27895 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27896
f9ddf089
UD
278972011-08-13 Ulrich Drepper <drepper@gmail.com>
27898
44f0a71e 27899 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
27900 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27901 * elf/rtld.c (dl_main): Set l_name of vDSO.
27902 Call _dl_show_scope when DL_DEBUG_SCOPES.
27903 (process_dl_debug): Recognize scopes flag and also set it for all.
27904 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27905 Declare _dl_show_scope.
27906
1dc27704
UD
27907 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27908 (do_dlopen): Pass caller_dlopen to dl_open.
27909 (__libc_dlopen_mode): Initialize caller_dlopen.
27910
f9ddf089
UD
27911 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27912 of libc. Make tolower call locale-independent. Optimize a bit by
27913 using isdigit instead of isalnum.
27914 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27915
9ac533d3
UD
279162011-08-12 Ulrich Drepper <drepper@gmail.com>
27917
27918 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27919 was a dependency or dynamically loaded.
27920
89edf2e9
UD
279212011-08-11 Ulrich Drepper <drepper@gmail.com>
27922
8e999d29
UD
27923 * intl/l10nflist.c: Allow architecture-specific pop function.
27924 * sysdeps/x86_64/l10nflist.c: New file.
27925
89edf2e9
UD
27926 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27927 classification.
27928
14d96785
AS
279292011-08-10 Andreas Schwab <schwab@redhat.com>
27930
27931 * include/dirent.h: Add libc_hidden_proto for scandirat and
27932 scandirat64. Don't declare __scandirat64.
27933 * dirent/scandirat.c: Add libc_hidden_def.
27934 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27935 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27936
6761ac04
DM
279372011-08-10 David S. Miller <davem@davemloft.net>
27938
27939 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27940 enum.
27941 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27942 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27943 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27944
c55fbd1e
UD
279452011-08-09 Ulrich Drepper <drepper@gmail.com>
27946
27947 * Versions.def [libc]: Add GLIBC_2.15.
27948 * dirent/Makefile (routines): Add scandirat and scandirat64.
27949 * dirent/Versions [libc]: Export scandirat and scandirat64 for
27950 GLIBC_2.15.
27951 * dirent/dirent.h: Declare scandirat and scandirat64.
27952 * dirent/scandirat.c: New file.
27953 * dirent/scandirat64.c: New file.
27954 * sysdeps/wordsize-64/scandirat.c: New file.
27955 * sysdeps/wordsize-64/scandirat64.c: New file.
27956 * dirent/opendir.c: Define opendirat.
27957 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
27958 using scandirat.
27959 * dirent/scandir64.c: Adjust for scandir.c change.
27960 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
27961 __scandirat64, and __scandir_cancel_handler.
27962 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
27963 additional parameter and use openat instead of open (outside of ld.so).
27964 Add new __opendir as wrapper around __opendirat.
27965 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27966 here without requiring old scandirat implementation.
27967
879165f2
UD
279682011-08-08 Ulrich Drepper <drepper@gmail.com>
27969
27970 * dirent/scandir.c (cancel_handler): Renamed to
27971 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
27972 defined. Adjust users.
27973 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27974 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27975
cb7e923b
UD
279762011-08-04 Ulrich Drepper <drepper@gmail.com>
27977
16292edd
UD
27978 * string/test-string.h (IMPL): Use __STRING to expand name and then
27979 stringify it.
27980
cb7e923b
UD
27981 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
27982 of cleanups.
27983
cff82933
LD
279842011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27985
27986 * string/Makefile: Update.
27987 (strop-tests): Append strncat.
27988 * string/test-wcscmp.c: New file.
27989 New comprehensive test for wcscmp.
27990 * string/test-strcmp.c: Update.
27991 (WIDE): New define.
27992
9be9bfcc
AS
279932011-07-22 Andreas Schwab <schwab@redhat.com>
27994
27995 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27996 line.
27997
2e96f1c7
AS
279982011-07-26 Andreas Schwab <schwab@redhat.com>
27999
28000 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28001 encoding to ACE if AI_IDN.
28002
85188888
JJ
280032011-08-01 Jakub Jelinek <jakub@redhat.com>
28004
28005 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28006 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28007
5fa16e9b
LD
280082011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28009
28010 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28011 Fix overflow bug in strncat.
28012 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28013
28014 * string/test-strncat.c: Update.
28015 Add new tests for checking overflow bugs.
28016
280172011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28018
28019 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28020 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28021 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28022 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28023 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28024 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28025 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28026 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28027 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28028
28029 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28030 (USE_AS_STRCAT): Define.
28031 Add strcat and strncat support.
28032 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28033
8c1a459f
AS
280342011-07-25 Andreas Schwab <schwab@redhat.com>
28035
28036 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28037 __n bigger than INT_MAX+1.
28038 (__strncmp_g): Likewise.
28039
bba33c28
UD
280402011-07-23 Ulrich Drepper <drepper@gmail.com>
28041
798be72d
UD
28042 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28043 * libio/stido.h: Likewise.
28044
8accd4dc
UD
28045 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28046 (AF_NFC): Define.
28047 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28048 (AF_NFC): Define.
28049
cbff0d96
UD
28050 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28051 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28052 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28053 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28054 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28055
9191c04a
UD
28056 [BZ #13021]
28057 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28058 installed.
28059
bba33c28
UD
28060 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28061 typo.
28062 (_dl_x86_64_save_sse): Likewise.
28063
90f139dd
UD
280642011-07-22 Ulrich Drepper <drepper@gmail.com>
28065
1aae088a
UD
28066 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28067 OSXSAVE.
28068 (_dl_x86_64_save_sse): Likewise.
28069
8e2045f5
UD
28070 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28071
90f139dd
UD
28072 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28073
1d002f25
AS
280742011-07-21 Andreas Schwab <schwab@redhat.com>
28075
28076 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28077 change.
28078 (_dl_x86_64_save_sse): Use correct AVX check.
28079
21137f89
UD
280802011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28081
28082 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28083 bug in strncpy/strncat.
28084 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28085
a65c0b7a
UD
280862011-07-21 Ulrich Drepper <drepper@gmail.com>
28087
28088 * string/tester.c (test_strcat): Add tests for different alignments
28089 of source and destination.
28090 (test_strncat): Likewise.
28091
6986b98a
UD
280922011-07-20 Ulrich Drepper <drepper@gmail.com>
28093
90bb2039
UD
28094 [BZ #12852]
28095 * posix/glob.c (glob): Check passed in values before using them in
28096 expressions to avoid some overflows.
28097 (glob_in_dir): Likewise.
28098
5644ef54
UD
28099 [BZ #13007]
28100 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28101 check for AVX enablement so that we don't crash with old kernels and
28102 new hardware.
28103 * elf/tst-audit4.c: Add same checks here.
28104 * elf/tst-audit6.c: Likewise.
28105
28106 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28107
bfc9dc9b
AS
281082011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28109
28110 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28111
702e64bb
UD
281122011-07-20 Ulrich Drepper <drepper@gmail.com>
28113
28114 * po/cs.po: Update from translation team.
28115 * po/bg.po: Likewise.
28116
295e904f
MP
281172011-07-12 Marek Polacek <mpolacek@redhat.com>
28118
28119 * misc/sys/cdefs.h: Add support for const attribute.
28120 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28121 to gnu_dev_{major,minor,makedev} functions.
28122
3ff94596
MP
281232011-07-20 Marek Polacek <mpolacek@redhat.com>
28124
28125 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28126
28b59fca
AS
281272011-07-20 Andreas Schwab <schwab@redhat.com>
28128
28129 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28130 strlen results.
28131
19df733e
AK
281322011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28133
28134 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28135 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28136 register in order to avoid conflicts with the soft frame pointer
28137 being held in r11 when necessary.
28138 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28139 (INTERNAL_VSYSCALL_NCS): Likewise.
28140
c8835729
MP
281412011-07-14 Marek Polacek <mpolacek@redhat.com>
28142
28143 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28144 * elf/dl-fini.c (_dl_fini): Adjust caller.
28145 * elf/dl-close.c (_dl_close_worker): Likewise.
28146 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28147
b902330c
MP
281482011-07-15 Marek Polacek <mpolacek@redhat.com>
28149
8991e135
MP
28150 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28151 "aux_cache->nlibs < 0".
28152
b902330c
MP
28153 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28154 in the reload-count case.
28155
99710781
LD
281562011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28157
28158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28159 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28160 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28161 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28162 * sysdeps/x86_64/multiarch/strcat.S: New file.
28163 * sysdeps/x86_64/multiarch/strncat.S: New file.
28164 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28165 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28166 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28167 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28168 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28169 (USE_AS_STRCAT): Define.
28170 Add strcat and strncat support.
28171 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28172 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28173 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28174 * string/strncat.c: Update.
28175 (USE_AS_STRNCAT): Define.
28176 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28177 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28178 and i7.
28179 * sysdeps/x86_64/multiarch/init-arch.h
28180 (bit_Prefer_PMINUB_for_stringop): New.
28181 (index_Prefer_PMINUB_for_stringop): Likewise.
28182 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28183 bit_Prefer_PMINUB_for_stringop.
28184
7dc6bd90
UD
281852011-07-19 Ulrich Drepper <drepper@gmail.com>
28186
28187 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28188 buffer64.
28189 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28190 of casting of buffer.
28191 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28192 buffer32 and buffer64.
28193 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28194 writes instead of casting of buffer.
28195 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28196 buffer32.
28197 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28198 casting of buffer.
28199
e0e72284
AS
282002011-07-19 Andreas Schwab <schwab@redhat.com>
28201
28202 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28203
feb1eb0b
UD
282042011-07-19 Ulrich Drepper <drepper@gmail.com>
28205
28206 * nscd/nscd.c (termination_handler): Don't do anything for a database
28207 if it has not yet been initialized.
28208
298711ff
UD
282092011-07-18 Ulrich Drepper <drepper@gmail.com>
28210
28211 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28212
282132011-07-15 Marek Polacek <mpolacek@redhat.com>
28214
28215 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28216
f9d68389
UD
282172011-07-18 Ulrich Drepper <drepper@gmail.com>
28218
28219 * po/nl.po: Update from translation team.
28220 * po/sv.po: Likewise.
28221
db290cf5
RM
282222011-07-16 Roland McGrath <roland@hack.frob.com>
28223
28224 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28225 now disallowed by GCC.
5c550700 28226
fd5e21c7
RM
28227 * configure.in (use-default-link): Default to yes if a test -shared
28228 link meets our qualifications.
28229 * configure: Regenerated.
28230
5c550700
RM
28231 * config.make.in (output-format): New variable.
28232 * configure.in: Check for ld --print-output-format support.
28233 * configure: Regenerated.
28234 * Makerules ($(common-objpfx)format.lds)
28235 [$(output-format) != unknown]: Just use $(output-format),
28236 instead of the linker-script munging.
28237
9fa2c032
RM
282382011-07-14 Roland McGrath <roland@hack.frob.com>
28239
a6928d51
RM
28240 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28241 of $(common-objpfx)shlib.lds.
28242 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28243
661607b3
RM
28244 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28245 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28246
9fa2c032
RM
28247 * configure.in (-z relro check): Adjust test code to add a large
28248 writable data section after it.
28249 * configure: Regenerated.
28250
defe9061
RM
282512011-07-11 Roland McGrath <roland@hack.frob.com>
28252
28253 * configure.in (-z relro check): Fix test code to make the variable
28254 truly const.
28255 * configure: Regenerated.
28256
319b9ad4
UD
282572011-07-11 Ulrich Drepper <drepper@gmail.com>
28258
28259 * nscd/nscd.h (struct traced_file): Define.
28260 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28261 elements. Add traced_files.
28262 (inotify_fd): Declare.
28263 (register_traced_file): Declare.
28264 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28265 (inotify_fd): Export.
28266 (resolv_conf_descr): Remove.
28267 (nscd_init): Move inotify descriptor creation to main.
28268 Don't register files for notification here.
28269 (register_traced_file): New function.
28270 (invalidate_cache): Don't use reset_res to determine whether to call
28271 res_init, go through the list of registered files.
28272 (main_loop_poll): The inotify descriptors are now stored in the
28273 structures for the traced files.
28274 (main_loop_epoll): Likewise
28275 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28276 to __nss_disable_nscd.
28277 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28278 for a database anymore. Check the records for all the registered
28279 files instead.
28280 * nss/Makefile (libnss_files-routines): Add files-init.
28281 (libnss_db-routines): Add db-init.
28282 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28283 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28284 * nss/nss_db/db-init.c: New file.
28285 * nss/nss_files/files-init.c: New file.
28286 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28287 __nss_lookup_function.
28288 (__nss_lookup_function): Call nss_load_library.
28289 (nss_load_all_libraries): New function.
28290 (__nss_disable_nscd): Take parameter with callback function for files
28291 to register. Set is_nscd. Load all the DSOs for the NSS modules
28292 used for the cached services.
28293 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28294 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28295 options for features to all the files in nscd.
28296
28297 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28298
23bee3e8
RM
282992011-07-10 Roland McGrath <roland@hack.frob.com>
28300
28301 * csu/elf-init.c (__libc_csu_init): Comment typo.
28302
46a5b7f0
UD
283032011-07-09 Ulrich Drepper <drepper@gmail.com>
28304
28305 * po/pl.po: Update from translation team.
28306 * po/ja.po: Likewise.
28307 * po/ru.po: Likewise.
28308 * po/ko.po: Likewise.
28309 * po/fr.po: Likewise.
28310
d30cf5bb
RM
283112011-07-09 Roland McGrath <roland@hack.frob.com>
28312
113ddea4
RM
28313 * configure.in (.ctors/.dtors header and trailer check):
28314 Use an empirical test on a built program.
28315 * configure: Regenerated.
28316
574920b4
RM
28317 * configure.in (-z relro check): Use an empirical test on a built DSO.
28318 Detect, but do not require, on ia64.
28319 * configure: Regenerated.
28320
d30cf5bb
RM
28321 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28322 Update tests that use readelf to use $READELF instead.
28323 * configure: Regenerated.
28324
8538fdb3
UD
283252011-07-08 Ulrich Drepper <drepper@gmail.com>
28326
28327 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28328 if the result is not used.
28329
04d08991
AJ
283302011-07-05 Andreas Jaeger <aj@suse.de>
28331
28332 [BZ#9696]
28333 * stdlib/tst-strtod.c: Add testcase.
28334
de283087
AD
283352011-07-07 Ulrich Drepper <drepper@gmail.com>
28336
4e5f31c8 28337 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28338 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28339 The latter has a higher limit. Take additional parameter to pass to
28340 the new function.
28341 (__pathconf): Pass file to __statfs_link_max.
28342 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28343 __statfs_link_max.
28344 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28345 __statfs_link_max.
28346
de283087
AD
28347 [BZ #12868]
28348 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28349 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28350 Handle Lustre.
28351 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28352 (__statfs_filesize_max): Likewise.
28353 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28354
c75fa153
AJ
283552011-07-05 Andreas Jaeger <aj@suse.de>
28356
28357 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28358
1a544854
UD
283592011-07-06 Marek Polacek <mpolacek@redhat.com>
28360
28361 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28362 `status' variable.
28363 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28364 Likewise.
28365
6f0eec67
UD
283662011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28367
28368 * Makefile (strop-tests): Add strncat.
28369 * string/test-strncat.c: New file.
28370
aae30307
UD
283712011-06-30 Marek Polacek <mpolacek@redhat.com>
28372
28373 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28374
c0cfb5eb
UD
283752011-06-21 Andreas Jaeger <aj@suse.de>
28376
28377 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28378 Copy rule from iconvdata/Makefile.
28379
01636b21
UD
283802011-07-06 Ulrich Drepper <drepper@gmail.com>
28381
28382 [BZ #12922]
28383 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28384 but no long options are defined, just return 'W'.
28385
9895c8bc
UD
283862011-06-22 Marek Polacek <mpolacek@redhat.com>
28387
28388 [BZ #9696]
28389 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28390
5d4cf042
UD
283912011-07-06 Ulrich Drepper <drepper@gmail.com>
28392
28393 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28394 netgroups to read.
960e5535 28395 (innetgr): Likewise.
5d4cf042 28396
751eb97e
RM
283972011-07-05 Roland McGrath <roland@hack.frob.com>
28398
28399 * config.make.in (install_root): Default to $(DESTDIR).
28400
f15f1e45
UD
284012011-07-05 Ulrich Drepper <drepper@gmail.com>
28402
28403 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28404
4e34ac6a
RM
284052011-07-02 Roland McGrath <roland@hack.frob.com>
28406
5e9b6af4
RM
28407 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28408
84f9ea0f
RM
28409 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28410 containing directory rather than embedding absolute directory names.
28411
ea5ee9f7
RM
28412 * scripts/check-local-headers.sh: Rewritten using awk.
28413 Match by word, not by line. Print error messages for matches.
28414 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28415
1b74661a
RM
28416 * Makerules [shlib-lds-flags empty]:
28417 ($(common-objpfx)libc_pic.opts): New target.
28418 ($(common-objpfx)libc_pic.os.clean): New target.
28419 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28420
28421 * config.make.in (OBJCOPY): New variable.
28422 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28423 * configure: Regenerated.
28424
f781ef40
RM
28425 * config.make.in (use-default-link): New variable.
28426 * configure.in (use_default_link): Grok --with-default-link to set it.
28427 * configure: Regenerated.
28428 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28429 (shlib-lds, shlib-lds-flags): Define to empty.
28430
2d4fa81e
RM
28431 * Makerules (shlib-lds): New variable.
28432 (shlib-lds-flags): New variable.
28433 (build-shlib, build-moduile, build-module-asneeded): Use it.
28434 ($(common-objpfx)libc.so): Use $(shlib-lds).
28435 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28436 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28437
31fffa6b
RM
28438 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28439 DT_FLAGS/DT_FLAGS_1 with zero flags.
28440
4e34ac6a
RM
28441 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28442 linker script munging.
28443
fcfc776b
UD
284442011-07-02 Ulrich Drepper <drepper@gmail.com>
28445
28446 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28447 as 128-bit value.
28448 * crypt/sha512.c (sha512_process_block): Perform total addition using
28449 128-bit if possible.
28450 (__sha512_finish_ctx): Likewise.
28451 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28452 as 64-bit value.
28453 * crypt/sha256.c (SWAP64): Define.
28454 (sha256_process_block): Perform total addition using 64-bit if
28455 possible.
28456 (__sha256_finish_ctx): Likewise.
28457
99231d9a
UD
284582011-07-01 Ulrich Drepper <drepper@gmail.com>
28459
28460 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28461 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28462 * nscd/hstcache.c (cache_addhst): Likewise.
28463 * nscd/grpcache.c (cache_addgr): Likewise.
28464 * nscd/aicache.c (addhstaiX): Likewise
28465 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28466
445b4a53
TK
284672011-07-01 Thorsten Kukuk <kukuk@suse.de>
28468
28469 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28470 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28471 * nscd/hstcache.c (cache_addhst): Likewise.
28472 * nscd/grpcache.c (cache_addgr): Likewise.
28473 * nscd/aicache.c (addhstaiX): Likewise
28474
6d4d8e8e
AS
284752011-07-01 Andreas Schwab <schwab@redhat.com>
28476
28477 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28478 domain only when needed.
28479
89f654c5
AS
284802011-06-30 Andreas Schwab <schwab@redhat.com>
28481
28482 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28483 is always restored.
28484
cf3b23ff
UD
284852011-06-29 Ulrich Drepper <drepper@gmail.com>
28486
28487 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28488 are re-adding the entry.
28489 * nscd/servicescache.c (cache_addserv): Likewise.
28490
751626f9
AJ
284912011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28492
28493 * sysdeps/generic/dl-irel.h: fix protection against multiple
28494 inclusions.
28495 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28496
9113ea1f
UD
284972011-06-28 Ulrich Drepper <drepper@gmail.com>
28498
5c0b8d90
UD
28499 [BZ #12935]
28500 * malloc/memusage.sh: Fix quoting in message.
28501 * debug/xtrace.sh: Likewise.
28502
9113ea1f
UD
28503 * configure.in: Remove support for --experimental-malloc option, make
28504 it the default.
28505 * config.make.in: Likewise.
28506 * malloc/Makefile: Likewise.
28507
a4172181
AS
285082011-06-27 Andreas Schwab <schwab@redhat.com>
28509
28510 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28511 two-byte characters.
28512
78a7eee7
RM
285132011-06-27 Roland McGrath <roland@hack.frob.com>
28514
62bede13
RM
28515 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28516 AC_CACHE_CHECK invocation.
28517 * configure: Regenerated.
28518
78a7eee7
RM
28519 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28520
5ce33a62
UD
285212011-06-27 Ulrich Drepper <drepper@gmail.com>
28522
034807a9
UD
28523 [BZ #12350]
28524 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28525 bit from old_res_options.
28526
4902da17
UD
28527 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28528
5ce33a62
UD
28529 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28530 value type for setfct.
28531
c2344f56
L
285322011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28533
28534 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28535 __gettimeofday instead of gettimeofday.
28536
68468076
UD
285372011-06-26 Ulrich Drepper <drepper@gmail.com>
28538
28539 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28540
acb0d739
L
285412011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28542
28543 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28544
28545 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28546 info.
28547
8912479f
L
285482011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28549
28550 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28551 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28552 strcpy-sse2-unaligned strncpy-sse2-unaligned
28553 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28554 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28555 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28556 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28557 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28558 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28559 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28560 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28561 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28562 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28563 (STRCPY): Support SSE2 and SSSE3 versions.
28564
d5495a11
UD
285652011-06-24 Ulrich Drepper <drepper@gmail.com>
28566
28567 [BZ #12874]
28568 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28569 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28570 kernels which artificially limit size of requests.
28571
0b1cbaae
L
285722011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28573
28574 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28575 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28576 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28577 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28578 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28579 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28580 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28581 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28582 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28583 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28584 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28585 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28586 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28587 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28588 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28589 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28590 Enable unaligned load optimization for Intel Core i3, i5 and i7
28591 processors.
28592 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28593 Define.
28594 (index_Fast_Unaligned_Load): Define.
28595 (HAS_FAST_UNALIGNED_LOAD): Define.
28596
07f494a0
MP
285972011-06-23 Marek Polacek <mpolacek@redhat.com>
28598
28599 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28600
fa3fc0fe
UD
286012011-06-22 Ulrich Drepper <drepper@gmail.com>
28602
28603 [BZ #12907]
28604 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28605 until it is clear that the information is realy needed.
28606 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28607
e12df166
AS
286082011-06-22 Andreas Schwab <schwab@redhat.com>
28609
28610 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28611
852eb34d
UD
286122011-06-22 Ulrich Drepper <drepper@gmail.com>
28613
84e2a551
UD
28614 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28615 /sys/devices/system/cpu/online if it is usable.
28616
852eb34d
UD
28617 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28618 reading the information from the /proc filesystem to once a second.
28619
6e502e19
UD
286202011-06-21 Andreas Jaeger <aj@suse.de>
28621
28622 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28623 NULL after inclusion of kernel headers.
28624
75d39ff2
UD
286252011-06-21 Ulrich Drepper <drepper@gmail.com>
28626
51f9aa6a
UD
28627 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28628 calls to internal_setent.
28629
c0244a9d
UD
28630 [BZ #12885]
28631 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28632 addresses using gethostbyname4_r ignore IPv4 addresses.
28633
c5e3c2ae
UD
28634 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28635 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28636
75d39ff2
UD
28637 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28638
42675c6f
DM
286392011-06-20 David S. Miller <davem@davemloft.net>
28640
28641 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28642 inclusions.
28643 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28644
28645 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28646 (elf_irel): Use it.
28647 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28648 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28649 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28650 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28651 * sysdeps/x86_64/dl-irel.h: Likewise.
28652
28653 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28654 * elf/dl-sym.c: Likewise.
28655
57912a71
UD
286562011-06-15 Ulrich Drepper <drepper@gmail.com>
28657
28658 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28659 need to dereference resplen2.
28660
ee22793d
AS
286612011-06-14 Andreas Schwab <schwab@redhat.com>
28662
28663 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28664
a9e836b0
UD
286652011-06-15 Ulrich Drepper <drepper@gmail.com>
28666
77fb9117
UD
28667 * Makeconfig: Define vardbdir and inst_vardbdir.
28668 * nss/Makefile: Add rules to install db-Makefile.
28669
40c1b22c
UD
28670 * nss/nss_db/db-XXX.c: Cleanup.
28671
9f2da732
UD
28672 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28673 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28674 GLIBC_PRIVATE.
28675 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28676 * nss/makedb.c: Implement -g option to specify that value strings
28677 are generated and should not be added to table iterated over for
28678 get*ent calls.
28679 * nss/nss_db/db-initgroups.c: New file.
28680
82e9a1f7
UD
28681 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28682 interface.
28683
c41af17e
UD
28684 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28685 (internal_getgrouplist): Adjust to name change.
28686 Update use_initgroups_entry if this is not the first call.
28687 * nss/databases.def: Add initgroups entry.
28688
a9e836b0
UD
28689 * nss/makedb.c (compute_tables): Check result of multiple hash table
28690 sizes to minimize maximum chain length.
28691
2666d441
UD
286922011-06-14 Ulrich Drepper <drepper@gmail.com>
28693
28694 * Versions.def: Add entry for libnss_db.
28695 * shlib-versions: Likewise.
28696 * nss/Makefile: Add rules to build libnss_db.
28697 * nss/Versions: Add libnss_db information. Organize libnss_files
28698 entries better.
28699 * nss/db-Makefile: Add gshadow support. Change rules for the new
28700 makedb progra. Some minor improvements to generate smaller files.
28701 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28702 here from...
28703 * nss/makedb.c: ...here.
28704 Improve database format to be smaller and require less memory at
28705 runtime.
28706 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28707 db anymore.
28708 * nss/nss_db/db-netgrp.c: Likewise.
28709 * nss/nss_db/db-open.c: Likewise.
28710 * nss/nss_files/flies-XXX.x: Adjust comments.
28711 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28712 * nss/nss_files/files-grp.c: Likewise.
28713 * nss/nss_files/files-hosts.c: Likewise.
28714 * nss/nss_files/files-network.c: Likewise.
28715 * nss/nss_files/files-proto.c: Likewise.
28716 * nss/nss_files/files-pwd.c: Likewise.
28717 * nss/nss_files/files-rpc.c: Likewise.
28718 * nss/nss_files/files-service.c: Likewise.
28719 * nss/nss_files/files-sgrp.c: Likewise.
28720 * nss/nss_files/files-spwd.c: Likewise.
28721 * nss/nss_db/db-alias.c: Removed.
28722 * nss/nss_db/dummy-db.h: Removed.
28723
9ee76b5a
UD
287242011-06-02 Ulrich Drepper <drepper@gmail.com>
28725
28726 * nss/makedb.c: Rewritten to not use database library.
28727 * nss/Makefile: Update to build new makedb program.
28728
c71ca1f8
AJ
287292011-06-14 Andreas Jaeger <aj@suse.de>
28730
28731 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28732 memset declaration.
28733
3154bfb8
UD
287342011-06-10 Andreas Schwab <schwab@redhat.com>
28735
28736 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28737 tmpbuf.
28738
b350afab
RM
287392011-06-10 Roland McGrath <roland@hack.frob.com>
28740
decd4e50
RM
28741 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28742 * elf/Makefile ($(objpfx)ld.so): Likewise.
28743
5615eaf2
RM
28744 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28745 Don't list ld.so twice in dependencies.
28746
28747 * posix/bug-regex31.c: Include <stdlib.h>.
28748
28749 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28750
28751 * nis/nss_compat/compat-spwd.c
28752 (getspent_next_nss_netgr): Remove unused variable.
28753 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28754
28755 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28756 nonmembers" output to use the right array.
28757
28758 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28759
28760 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28761
28762 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28763 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28764 * catgets/gencat.c (read_input_file): Likewise.
28765 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28766
28767 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28768 variable definition inside #if's controlling its use.
28769
28770 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28771
28772 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28773
28774 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28775
28776 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28777 unreachable code.
28778
28779 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28780
b68e08db
RM
28781 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28782 * configure: Regenerated.
28783
b350afab
RM
28784 * Makerules: Revert last change.
28785 * elf/Makefile: Likewise.
28786
28368601
RM
287872011-06-09 Roland McGrath <roland@hack.frob.com>
28788
28789 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28790 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28791 (reloc-link): Likewise.
28792
11988f8f
UD
287932011-06-09 Ulrich Drepper <drepper@gmail.com>
28794
28795 * elf/Makefile: Add rules to build pldd.
28796 * elf/pldd.c: New file.
28797 * elf/pldd-xx.c: New file.
28798
e80fab37
UD
287992011-06-07 Ulrich Drepper <drepper@gmail.com>
28800
28801 * version.h: Update for 2.15 development version.
28802
9b849836
DM
288032011-06-07 David S. Miller <davem@davemloft.net>
28804
28805 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28806 ifuncs.
28807 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28808 elf_machine_lazy_rel): Likewise.
28809 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28810 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28811 elf_machine_lazy_rel): Likewise.
28812 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28813 dl_hwcap via passed in argument.
28814 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28815 Likewise.
28816
5a31b283
AK
288172011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28818
28819 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28820
069e52f8
RM
288212011-06-06 Roland McGrath <roland@hack.frob.com>
28822
28823 [BZ #12849]
28824 * manual/fdl-1.1.texi: New file, verbatim from:
28825 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28826 * manual/lgpl-2.1.texi: New file, verbatim from:
28827 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28828 * manual/Makefile (licenses): New variable, list those new file names.
28829 (texis): Use it.
28830 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28831
28832 * manual/fdl.texi: File removed.
28833 * manual/lesser.texi: File removed.
28834 * manual/libc.texinfo (Copying, Documentation License):
28835 Use new @include file names, put @appendix directive before @include.
28836
f16846a5
JJ
288372011-06-04 Jakub Jelinek <jakub@redhat.com>
28838
28839 [BZ #12841]
28840 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28841 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28842 (mq_open): Add __NTH.
28843
3d29045b
L
288442011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28845
28846 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28847 Assume Intel Core i3/i5/i7 processor if AVX is available.
28848
8c297311
UD
288492011-05-31 Ulrich Drepper <drepper@gmail.com>
28850
28851 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28852 typo.
28853
c8fc0c91
UD
288542011-05-31 Andreas Schwab <schwab@redhat.com>
28855
28856 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28857 memory. Use alloca_account. Fix memory leak when retrying.
28858
5b27a807
UD
288592011-05-31 Ulrich Drepper <drepper@gmail.com>
28860
356f8bc6
UD
28861 * version.h (RELEASE): Bump for 2.14 release.
28862 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28863
5b27a807
UD
28864 * config.make.in (RANLIB): Remove entry.
28865
01f16ab0
UD
288662011-05-30 Ulrich Drepper <drepper@gmail.com>
28867
41fce8bd
UD
28868 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28869 (libc.pot): Work around missing support for .ksh extension in xgettext.
28870
4769ae77
UD
28871 [BZ #12684]
28872 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28873 if both request failed.
28874 (send_dg): In case of server errors clear resplen or *resplen2.
28875
6b1e7d19
UD
28876 [BZ #12454]
28877 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28878 when there are multiple maps.
28879 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28880 (_dl_fini): Remove test here.
28881
01f16ab0
UD
28882 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28883
b1ebd700
UD
288842011-05-29 Ulrich Drepper <drepper@gmail.com>
28885
7ae22829
UD
28886 [BZ #12350]
28887 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28888 bit from old_res_options.
28889 (gaih_inet): Likewise.
28890
553149f6 28891 [BZ #11099]
18a84741 28892 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
28893 as signed.
28894
652ffab1
UD
28895 * resolv/res_init.c (res_setoptions): Make the code more compact.
28896
16985fd0
UD
28897 [BZ #11558]
28898 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28899 set RES_USEVC.
28900
0464f746
UD
28901 [BZ #11634]
28902 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28903
7d17596c
UD
28904 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28905
cf6bbbd7
UD
28906 [BZ #11781]
28907 * malloc/malloc.h: Declare malloc hook variables as volatile.
28908
13f1ab36
UD
28909 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28910 in last patch.
28911
b1ebd700
UD
28912 [BZ #11799]
28913 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 28914 raise in the comment.
80e2212d
UD
28915 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28916 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28917 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 28918
ce67228d
UD
289192011-05-28 Ulrich Drepper <drepper@gmail.com>
28920
8887a920
UD
28921 [BZ #12811]
28922 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28923 grow the buffers more if it already has to be sufficient.
28924 (build_wcs_upper_buffer): Likewise.
28925 * posix/regexec.c (check_matching): Likewise.
28926 (clean_state_log_if_needed): Likewise.
28927 (extend_buffers): Don't enlarge buffers beyond size of the input
28928 buffer.
28929 Patches mostly by Emil Wojak <emil@wojak.eu>.
28930 * posix/bug-regex32.c: New file.
28931 * posix/Makefile (tests): Add bug-regex32.
28932
4f031072
UD
28933 * locale/findlocale.c (_nl_find_locale): Return right away if
28934 _nl_explode_name failed.
28935 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28936
d0478f0c
UD
28937 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28938
de81b246
UD
28939 * debug/xtrace.sh: Unify messages.
28940 * malloc/memusage.sh: Likewise.
28941
c738465a
UD
28942 [BZ #12813]
28943 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28944 time symbol from vDSO. Substitute with vsyscall if not available.
28945 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28946 __vdso_time.
28947
f1f929d7
UD
28948 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28949 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28950 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28951 Add sendmmsg and internal_sendmmsg.
28952 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28953 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28954 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28955
ce67228d
UD
28956 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28957 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28958 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28959
e57420c6
UD
289602011-05-27 Ulrich Drepper <drepper@gmail.com>
28961
a8509ca5
UD
28962 [BZ #12813]
28963 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28964 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
28965 available.
28966 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28967 __vdso_getcpu.
28968
e57420c6
UD
28969 [BZ #12814]
28970 * iconvdata/Makefile (tests): Add bug-iconv9.
28971 * iconvdata/bug-iconv9.c: New file.
28972
4d07db15
AS
289732011-05-27 Andreas Schwab <schwab@redhat.com>
28974
28975 [BZ #12814]
28976 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28977
ea486f69
JJ
289782011-05-25 Jakub Jelinek <jakub@redhat.com>
28979
28980 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28981 (struct user_regs_struct): Change intcs field back to cs.
28982
6f038433
UD
289832011-05-25 Ulrich Drepper <drepper@gmail.com>
28984
28985 * po/ja.po: Update from translation team.
28986
67f86a25
UD
289872011-05-23 Ulrich Drepper <drepper@gmail.com>
28988
28989 [BZ #12795]
28990 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28991 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28992
def7fbd6
AS
289932011-05-20 Andreas Schwab <schwab@redhat.com>
28994
28995 * stdlib/longlong.h: Update from GCC.
28996
f50ef8f1
AS
289972011-05-23 Andreas Schwab <schwab@redhat.com>
28998
28999 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29000 parameter name.
29001 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29002 Add parameter name.
29003 (__sysconf): Pass it down.
29004
de7ce8f1
UD
290052011-05-22 Ulrich Drepper <drepper@gmail.com>
29006
f2962a71
UD
29007 [BZ #12671]
29008 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29009 some situations.
29010 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29011 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29012 add in in __libc_use_alloca calls. Adjust callers.
29013 (glob): Use malloc in some situations.
29014
de7ce8f1
UD
29015 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29016 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29017 pltexit.
29018
aec84f53
UD
290192011-05-21 Ulrich Drepper <drepper@gmail.com>
29020
05bb4a68
UD
29021 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29022 and CLOCK_BOOTTIME_ALARM.
29023
7ea72f99
UD
29024 [BZ #12782]
29025 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29026 is returned.
29027
7e4afad5
UD
29028 * string/_strerror.c (__strerror_r): Print negative errors as signed
29029 numbers.
29030
8e211fec
UD
29031 [BZ #12777]
29032 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29033 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29034 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29035
f7d82dc9
UD
29036 * configure.in: Fix typo in redirection and correct removal of test
29037 files in two cases.
29038
cc9e536d
UD
29039 [BZ #12788]
29040 * locale/setlocale.c (new_composite_name): Fix test to check for
29041 identical name of all categories.
29042
aec84f53
UD
29043 [BZ #12792]
29044 * libio/filedoalloc.c (local_isatty): New function.
29045 (_IO_file_doallocate): Use local_isatty.
29046 * stdio-common/perror.c (perror): In case a new stream is used
29047 forward the stream error.
29048 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29049 error flag.
29050
78e64fdc
RT
290512011-05-20 Ulrich Drepper <drepper@gmail.com>
29052
34a9094f
UD
29053 [BZ #11869]
29054 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29055 alloca.
29056 * include/alloca.h (extend_alloca_account): Define.
29057
78e64fdc
RT
29058 [BZ #11857]
29059 * posix/regex.h: Fix comments with documentation of user-accessible
29060 fields after compilation and describe correct free'ing of pattern
29061 after re_compile_pattern.
29062 Patch by Reuben Thomas <rrt@sc3d.org>.
29063
457bddfc
RA
290642011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29065
29066 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29067 and -mno-altivec to prevent the compiler from using Altivec and/or
29068 VSX instructions when the corresponding registers are not available.
29069
a4527b51
AS
290702011-05-19 Andreas Schwab <schwab@redhat.com>
29071
29072 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29073
ed690b2f
UD
290742011-05-19 Ulrich Drepper <drepper@gmail.com>
29075
29076 * libio/freopen.c (freopen): Use __dup2, not dup2.
29077 * libio/freopen64.c (freopen64): Likewise.
29078
8db73634
L
290792011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29080
29081 [BZ #12775]
29082 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29083 * math/Makefile (tests): Add test-powl.
29084 (CFLAGS-test-powl.c): Define.
29085 * math/test-powl.c: New file.
29086
0a197a9d
L
290872011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29088
29089 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29090
ee30c380
UD
290912011-05-17 Ulrich Drepper <drepper@gmail.com>
29092
29093 [BZ #11837]
29094 * iconvdata/gb18030.c: Update to GB18020-2005.
29095
6ce75379
UD
290962011-05-16 Ulrich Drepper <drepper@gmail.com>
29097
a4b89fd8
AR
29098 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29099 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29100 Patch by Aharon Robbins <arnold@skeeve.com>.
29101
ea389b12
UD
29102 [BZ #11892]
29103 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29104 on the stack.
29105
68a3f91f
UD
29106 [BZ #11895]
29107 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29108 through underflows.
29109
15cc7dd1
UD
29110 [BZ #12766]
29111 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29112 point to strings before performing equality test for error_one_per_line
29113 mode.
29114
f3799213
UD
29115 [BZ #11697]
29116 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29117
d79a9c94
UD
29118 [BZ #11820]
29119 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29120 (struct user_fpregs_struct): Avoid __uint*_t types.
29121
56e5eb46
UD
29122 [BZ #6420]
29123 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29124 symbol info. Use it instead of calling _dl_addr locally.
29125 (lock_and_info): New function.
29126 (tr_freehook): Call lock_and_info and pass symbol info as additional
29127 parameter to tr_where.
29128 (tr_mallochook): Likewise.
29129 (tr_reallochook): Likewise.
29130 (tr_memalignhook): Likewise.
29131
6ce75379
UD
29132 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29133 used and couldn't be at all thread-safe.
29134
f8a3b5bf
UD
291352011-05-15 Ulrich Drepper <drepper@gmail.com>
29136
94b7cc37
UD
29137 * libio/freopen.c (freopen): Don't close old file descriptor
29138 before the new one is opened. Instead dup the new file descriptor
29139 to the old one after the new stream is created.
29140 * libio/freopen64.c (freopen64): Likewise.
29141 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29142 * libio/fileops.c (_IO_new_file_close_it): Handle new
29143 _IO_FLAGS2_NOCLOSE flag.
29144 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29145 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29146 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29147 _IO_FLAGS2_NOCLOSE flag.
29148 * include/unistd.h: Add hidden_proto for dup3.
29149 Define __have_dup3.
29150 * io/dup3.c: Define hidden symbol.
29151 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29152
bd25564e
UD
29153 [BZ #7101]
29154 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29155 when an incomplete long option is used.
29156 * posix/tst-getopt_long1.c: New file.
29157 * posix/Makefile (tests): Add tst-getopt_long1.
29158
c84cfef4
UD
29159 [BZ #10138]
29160 * scripts/config.guess: Update from autoconf-2.68.
29161 * scripts/config.sub: Likewise.
29162
3b85df27
UD
29163 [BZ #10157]
29164 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29165 tests into ...
29166 (has_cpuclock): ...this. New function.
29167 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29168 macro here based on has_cpuclock code.
29169
15a856b1
UD
29170 [BZ #10149]
29171 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29172 First byte (not low byte) is now always NUL.
29173 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29174
05f399e6
UD
29175 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29176 Use non-cancelable interfaces.
29177
10a52685 29178 [BZ #9809]
94ecc67d
UD
29179 * locale/iso-639.def: Add entry for Sorani.
29180
f8a3b5bf
UD
29181 [BZ #11901]
29182 * include/stdlib.h: Move include protection to the right place.
29183 Define abort_msg_s. Declare __abort_msg with it.
29184 * stdlib/abort.c (__abort_msg): Adjust type.
29185 * assert/assert.c (__assert_fail_base): New function. Majority
29186 of code from __assert_fail. Allocate memory for __abort_msg with
29187 mmap.
29188 (__assert_fail): Now call __assert_fail_base.
29189 * assert/assert-perr.c: Remove bulk of implementation. Use
29190 __assert_fail_base.
29191 * include/assert.hL Declare __assert_fail_base.
29192 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29193 mmap.
29194 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29195
1af4e298
UD
291962011-05-14 Ulrich Drepper <drepper@gmail.com>
29197
f8a3b5bf 29198 [BZ #11952]
d26dfc60
MG
29199 [BZ #12453]
29200 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29201 until all modules are registered in the DTV.
29202 * elf/Makefile: Add rules to build and run tst-tls19.
29203 * elf/tst-tls19.c: New file.
29204 * elf/tst-tls19mod1.c: New file.
29205 * elf/tst-tls19mod2.c: New file.
29206 * elf/tst-tls19mod3.c: New file.
29207 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29208
2fc54d6f
UD
29209 [BZ #12083]
29210 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29211 correctly.
29212
98d76b46
UD
29213 [BZ #12601]
29214 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29215 two-byte sequence errors.
29216 * iconvdata/Makefile (tests): Add bug-iconv8.
29217 * iconvdata/bug-iconv8.c: New file.
29218
da3c19ef
UD
29219 [BZ #12626]
29220 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29221 buf2 definition.
29222
ca408c15
UD
29223 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29224
d6f67f7d
UD
29225 [BZ #12432]
29226 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29227 (dummy_getcfa): New function.
29228 (init): Get _Unwind_GetCFA address, use dummy if not found.
29229 (backtrace_helper): In recursion check, also check whether CFA changes.
29230 (__backtrace): Completely initialize arg.
29231
1af4e298 29232 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29233 storing incomplete byte sequence in state object. Avoid testing for
29234 guaranteed too small input if we know there is enough data available.
1af4e298 29235
da62f81b
AS
292362011-05-11 Andreas Schwab <schwab@redhat.com>
29237
29238 * Makeconfig (+link-pie): Indent.
29239 * Rules (binaries-pie): Define if $(have-fpie) and
29240 $(build-shared).
29241 (binaries-shared): Also filter out $(binaries-pie).
29242 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29243 * nscd/Makefile (others-pie): Add nscd.
29244 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29245 ($(objpfx)nscd): Remove command override.
29246 * login/Makefile (others-pie): Add pt_chown.
29247 ($(objpfx)pt_chown): Remove command override.
29248 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29249 remove command overrides.
29250
fcabc0f8
UD
292512011-05-13 Ulrich Drepper <drepper@gmail.com>
29252
20030ae6
UD
29253 * libio/tst_putwc.c: Fix error messages.
29254
fcabc0f8
UD
29255 [BZ #12724]
29256 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29257 currently writing and seek to current position when not.
29258 * libio/Makefile (tests): Add bug-fclose1.
29259 * libio/bug-fclose1.c: New file.
29260
320a5dc0
PB
292612011-05-12 Ulrich Drepper <drepper@gmail.com>
29262
29263 [BZ #12511]
29264 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29265 don't set DF_1_NODELETE here.
29266 (do_lookup_x): When entering new entry test for copy relocation
29267 and if necessary set DF_1_NODELETE flag.
29268 * elf/tst-unique4.cc: New file.
29269 * elf/tst-unique4.h: New file.
29270 * elf/tst-unique4lib.cc: New file.
29271 * elf/Makefile: Add rules to build and run tst-unique4.
29272 Patch by Piotr Bury <pbury@goahead.com>.
29273
22836f52
UD
292742011-05-11 Ulrich Drepper <drepper@gmail.com>
29275
f574184a
UD
29276 [BZ #12052]
29277 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29278
e1fb097f
UD
29279 [BZ #12625]
29280 * misc/mntent_r.c (addmntent): Flush the stream after the output
29281
22836f52
UD
29282 [BZ #12393]
29283 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29284 (is_trusted_path_normalize): Skip initial colon. Append slash
29285 to empty buffer. Duplicate is_trusted_path code but allow
29286 constructed patch to be prefix.
29287 (is_dst): Allow $ORIGIN followed by /.
29288 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29289 Correct testing of result of is_trusted_path_normalize
29290 (decompose_rpath): Fix warning.
29291
7b3b0b2a
UD
292922011-05-10 Ulrich Drepper <drepper@gmail.com>
29293
29294 [BZ #11257]
29295 * grp/initgroups.c (internal_getgrouplist): When we found the service
29296 list through the initgroups entry in nsswitch.conf do not always
29297 continue on a successful lookup. Don't always use the
eac80ce2 29298 __nss_group_database value if it is set.
7b3b0b2a
UD
29299 * nss/nsswitch.conf (initgroups): Change action for successful db
29300 lookup to continue for compatibility.
29301
2a81eaa5
UD
293022011-05-09 Ulrich Drepper <drepper@gmail.com>
29303
be97a69e
UD
29304 [BZ #11532]
29305 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29306 and CP774 modules.
29307 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29308 and CP774 modules.
29309 * iconvdata/tst-tables.sh: Likewise.
29310 * iconvdata/cp770.c: New file.
29311 * iconvdata/cp771.c: New file.
29312 * iconvdata/cp772.c: New file.
29313 * iconvdata/cp773.c: New file.
29314 * iconvdata/cp774.c: New file.
29315 * iconvdata/testdata/CP770: New file.
29316 * iconvdata/testdata/CP770..UTF8: New file.
29317 * iconvdata/testdata/CP771: New file.
29318 * iconvdata/testdata/CP771..UTF8: New file.
29319 * iconvdata/testdata/CP772: New file.
29320 * iconvdata/testdata/CP772..UTF8: New file.
29321 * iconvdata/testdata/CP773: New file.
29322 * iconvdata/testdata/CP773..UTF8: New file.
29323 * iconvdata/testdata/CP774: New file.
29324 * iconvdata/testdata/CP774..UTF8: New file.
29325
29326 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29327 END CHARMAP line.
29328 * iconvdata/gen-8bit-gap.sh: Likewise.
29329 * iconvdata/gen-8bit.sh: Likewise.
29330
c1e9e399
UD
29331 * locale/iso-639.def: Add ary entry.
29332
24c55fb3 29333 [BZ #11258]
96b4b1b0
UD
29334 * locale/C-translit.h.in: Add U20A1 transliteration.
29335
bdc2f971
KB
29336 [BZ #12178]
29337 * locale/iso-639.def: Add wae entry.
29338 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29339
2952b117
UD
29340 [BZ #12545]
29341 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29342 for n.
29343
2a81eaa5
UD
29344 [BZ #12711]
29345 * locale/C-translit.h.in: Add entry for U20B9.
29346 Patch by pravin.d.s@gmail.com.
29347
28377d1b
UD
293482011-05-08 Ulrich Drepper <drepper@gmail.com>
29349
7fb90fb8
UD
29350 [BZ #12713]
29351 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29352 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29353 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29354 in rtld. Use *stat64.
7fb90fb8 29355 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29356 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29357 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29358 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29359 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29360 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29361 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29362 __fstatat64 macros.
7fb90fb8
UD
29363 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29364 * dirent/rewinddir.c: Add libc_hidden_def.
29365 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29366 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29367
28377d1b
UD
29368 * include/dirent.h (__alloc_dir): Add flags parameter.
29369 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29370 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29371 __alloc_dir.
29372 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29373 from fdopendir if O_CLOEXEC is already set.
29374
66bdbaa4
AM
293752011-03-15 Alan Modra <amodra@gmail.com>
29376
29377 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29378 l_tls_firstbyte_offset non-zero. Save padding offset in
29379 l_tls_firstbyte_offset for later use.
29380 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29381 freeing static tls block.
29382
95721191
JN
293832011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29384
29385 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29386 where #ifdef was intended. The intent is to prevent ARG_MAX from
29387 being defined by the kernel headers.
29388
f87dfb1f
UD
293892011-05-07 Ulrich Drepper <drepper@gmail.com>
29390
29391 [BZ #12734]
29392 * resolv/resolv.h: Define RES_NOTLDQUERY.
29393 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29394 no-tld-query and set RES_NOTLDQUERY.
29395 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29396 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29397 modern BIND to search name as TLD unless forbidden.
29398
47c3cd7a
UD
293992011-05-07 Petr Baudis <pasky@suse.cz>
29400 Ulrich Drepper <drepper@gmail.com>
29401
29402 [BZ #12393]
29403 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29404 (is_trusted_path): ...to here.
c1e9ea35 29405 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29406 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29407 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29408
8a35c912
PP
294092011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29410
29411 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29412 __BEGIN/__END_DECLS.
29413
acd41f47
UD
294142011-05-06 Ulrich Drepper <drepper@gmail.com>
29415
29416 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29417 NSS_STATUS_NOTFOUND if no record was found.
29418
597df647
AS
294192011-05-05 Andreas Schwab <schwab@redhat.com>
29420
29421 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29422 (headers-not-in-tirpc): Remove rpc/netdb.h
29423 * resolv/netdb.h: Revert last change.
29424
b9af1301
PP
294252011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29426
29427 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29428 circular dependency between libgcc.a and libc.a.
29429
4e34d5f5
AS
294302011-05-05 Andreas Schwab <schwab@redhat.com>
29431
29432 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29433 * nis/Makefile: Don't install rpcsvc/*.
29434 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29435 instead of <rpc/types.h>.
29436 (MAXHOSTNAMELEN): Define.
29437
00ee369c
AS
294382011-05-03 Andreas Schwab <schwab@redhat.com>
29439
29440 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29441
0b592a30
MB
294422011-04-28 Maciej Babinski <mbabinski@google.com>
29443
29444 [BZ #12714]
29445 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29446 gethostbyname4_r when IPv6 results are possible.
29447
6e04cbbe
UD
294482011-05-02 Ulrich Drepper <drepper@gmail.com>
29449
29450 [BZ #12723]
29451 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29452 _PC_PIPE_BUF handling.
29453
e4ecafe0
BH
294542011-04-30 Bruno Haible <bruno@clisp.org>
29455
29456 [BZ #12717]
29457 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29458 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29459 to 'int'.
29460 * inet/getnameinfo.c (getnameinfo): Likewise.
29461
125ee683
UD
294622011-04-29 Ulrich Drepper <drepper@gmail.com>
29463
29464 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29465 to groups setting in database lookup.
29466 * nss/nsswitch.conf: Add initgroups entry.
29467
b722481a
EB
294682011-04-22 Ulrich Drepper <drepper@gmail.com>
29469
29470 [BZ #12685]
29471 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29472 mode string.
29473 Patch by Eric Blake <eblake@redhat.com>.
29474
4df46dbd
L
294752011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29476
29477 * sunrpc/Makefile (need-export-routines): Add svc_run.
29478 (routines): Remove svc_run.
29479 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29480 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29481 * sunrpc/svc_run.c (svc_run): Likewise.
29482 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29483
e84142d2
UD
294842011-04-21 Ulrich Drepper <drepper@gmail.com>
29485
29486 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29487 problem in reallocation in last patch.
29488
877175d8
UD
294892011-04-20 Ulrich Drepper <drepper@gmail.com>
29490
29491 * sunrpc/Makefile: Move inclusion of Rules.
29492
ab8eed78
UD
294932011-04-19 Ulrich Drepper <drepper@gmail.com>
29494
29495 * nss/nss_files/files-initgroups.c: New file.
29496 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29497 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29498 _nss_files_initgroups_dyn.
29499
e3d8f584
RS
295002011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29501
29502 * elf/elf.h (R_ARM_IRELATIVE): Define.
29503
af190f45
UD
295042011-04-19 Ulrich Drepper <drepper@gmail.com>
29505
29506 * po/ru.po: Update from translation team.
29507
53cf59ef
UD
295082011-04-17 Ulrich Drepper <drepper@gmail.com>
29509
29510 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29511 dependencies.
29512
4c559bcd
MF
295132011-02-06 Mike Frysinger <vapier@gentoo.org>
29514
29515 [BZ #12653]
29516 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29517 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29518 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29519 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29520 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29521
4420675c
AS
295222011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29523
29524 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29525 differing bytes.
29526 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29527 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29528 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29529
75ea32ab
UD
295302011-04-17 Ulrich Drepper <drepper@gmail.com>
29531
29532 [BZ #12420]
29533 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29534 storing it.
29535 * stdlib/bug-getcontext.c: New file.
29536 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29537
27390476
AK
295382011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29539
29540 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29541 instructions into .machine "z9-109".
29542 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29543 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29544
10442705
AK
295452011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29546
29547 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29548 between environment variables and auxiliary vector.
29549
7b57bfe5
UD
295502011-04-16 Ulrich Drepper <drepper@gmail.com>
29551
29552 * Makefile: Add rules to build linkobj/libc.so.
29553 * include/libc-symbols.h: Define libc_hidden_nolink.
29554 * include/rpc/auth.h: Mark functions which are to be hidden.
29555 * include/rpc/auth_des.h: Likewise.
29556 * include/rpc/auth_unix.h: Likewise.
29557 * include/rpc/clnt.h: Likewise.
29558 * include/rpc/des_crypt.h: Likewise.
29559 * include/rpc/key_prot.h: Likewise.
29560 * include/rpc/pmap_clnt.h: Likewise.
29561 * include/rpc/pmap_prot.h: Likewise.
29562 * include/rpc/pmap_rmt.h: Likewise.
29563 * include/rpc/rpc_msg.h: Likewise.
29564 * include/rpc/svc.h: Likewise.
29565 * include/rpc/svc_auth.h: Likewise.
29566 * include/rpc/xdr.h: Likewise.
29567 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29568 * nss/Makefile: Likewise.
29569 * sunrpc/Makefile: Don't install headers. Build library with normal
29570 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29571 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29572 for the compat linking library. Remove use of INTDEF/INTUSE.
29573 * sunrpc/auth_none.c: Likewise.
29574 * sunrpc/auth_unix.c: Likewise.
29575 * sunrpc/authdes_prot.c: Likewise.
29576 * sunrpc/authuxprot.c: Likewise.
29577 * sunrpc/clnt_gen.c: Likewise.
29578 * sunrpc/clnt_perr.c: Likewise.
29579 * sunrpc/clnt_raw.c: Likewise.
29580 * sunrpc/clnt_simp.c: Likewise.
29581 * sunrpc/clnt_tcp.c: Likewise.
29582 * sunrpc/clnt_udp.c: Likewise.
29583 * sunrpc/clnt_unix.c: Likewise.
29584 * sunrpc/des_crypt.c: Likewise.
29585 * sunrpc/des_soft.c: Likewise.
29586 * sunrpc/get_myaddr.c: Likewise.
29587 * sunrpc/key_call.c: Likewise.
29588 * sunrpc/key_prot.c: Likewise.
29589 * sunrpc/netname.c: Likewise.
29590 * sunrpc/pm_getmaps.c: Likewise.
29591 * sunrpc/pm_getport.c: Likewise.
29592 * sunrpc/pmap_clnt.c: Likewise.
29593 * sunrpc/pmap_prot.c: Likewise.
29594 * sunrpc/pmap_prot2.c: Likewise.
29595 * sunrpc/pmap_rmt.c: Likewise.
29596 * sunrpc/publickey.c: Likewise.
29597 * sunrpc/rpc_cmsg.c: Likewise.
29598 * sunrpc/rpc_common.c: Likewise.
29599 * sunrpc/rpc_dtable.c: Likewise.
29600 * sunrpc/rpc_prot.c: Likewise.
29601 * sunrpc/rpc_thread.c: Likewise.
29602 * sunrpc/rtime.c: Likewise.
29603 * sunrpc/svc.c: Likewise.
29604 * sunrpc/svc_auth.c: Likewise.
29605 * sunrpc/svc_authux.c: Likewise.
29606 * sunrpc/svc_raw.c: Likewise.
29607 * sunrpc/svc_run.c: Likewise.
29608 * sunrpc/svc_simple.c: Likewise.
29609 * sunrpc/svc_tcp.c: Likewise.
29610 * sunrpc/svc_udp.c: Likewise.
29611 * sunrpc/svc_unix.c: Likewise.
29612 * sunrpc/svcauth_des.c: Likewise.
29613 * sunrpc/xcrypt.c: Likewise.
29614 * sunrpc/xdr.c: Likewise.
29615 * sunrpc/xdr_array.c: Likewise.
29616 * sunrpc/xdr_float.c: Likewise.
29617 * sunrpc/xdr_intXX_t.c: Likewise.
29618 * sunrpc/xdr_mem.c: Likewise.
29619 * sunrpc/xdr_rec.c: Likewise.
29620 * sunrpc/xdr_ref.c: Likewise.
29621 * sunrpc/xdr_sizeof.c: Likewise.
29622 * sunrpc/xdr_stdio.c: Likewise.
29623
e6c61494
UD
296242011-04-10 Ulrich Drepper <drepper@gmail.com>
29625
29626 [BZ #12650]
29627 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29628 * sysdeps/ia64/dl-tls.h: Likewise.
29629 * sysdeps/powerpc/dl-tls.h: Likewise.
29630 * sysdeps/s390/dl-tls.h: Likewise.
29631 * sysdeps/sh/dl-tls.h: Likewise.
29632 * sysdeps/sparc/dl-tls.h: Likewise.
29633 * sysdeps/x86_64/dl-tls.h: Likewise.
29634 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29635
34fe483e
AS
296362011-03-14 Andreas Schwab <schwab@redhat.com>
29637
29638 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29639 rpath element also skip the following colon.
29640 (expand_dynamic_string_token): Add is_path parameter and pass
29641 down to DL_DST_REQUIRED and _dl_dst_substitute.
29642 (decompose_rpath): Call expand_dynamic_string_token with
29643 non-zero is_path. Ignore empty rpaths.
29644 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29645 with zero is_path.
29646
f12a32e6
AS
296472011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29648
29649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29650 Make cancelable.
29651
38a7d692
UD
296522011-04-09 Ulrich Drepper <drepper@gmail.com>
29653
29654 [BZ #12655]
29655 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29656 Patch by Filipe David Manana <fdmanana@apache.org>.
29657
e451d22b
AS
296582011-04-07 Andreas Schwab <schwab@redhat.com>
29659
29660 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29661 Maintain aligned stack.
29662 (CHECK_RSP): Remove unused macro.
29663
dedc7c7b
UD
296642011-04-03 Ulrich Drepper <drepper@gmail.com>
29665
29666 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29667 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29668
94521213
UD
296692011-04-02 Ulrich Drepper <drepper@gmail.com>
29670
29671 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29672
8cb700c0 29673 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 29674
0354e355
L
296752011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29676
29677 [BZ #12518]
29678 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29679 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29680 * sysdeps/x86_64/memmove.c: New file.
29681 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29682 (memcpy): Renamed to ...
29683 (__new_memcpy): This.
29684 (memcpy): Provide GLIBC_2_14 memcpy.
29685 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29686 (memcpy): Provide GLIBC_2_2_5 memcpy.
29687
8593482f
UD
296882011-04-01 Ulrich Drepper <drepper@gmail.com>
29689
29690 [BZ #12631]
29691 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29692
81a5726b
AS
296932011-03-30 Andreas Schwab <schwab@redhat.com>
29694
29695 * misc/syncfs.c: New file.
29696 * misc/Makefile (routines): Add syncfs.
29697 * posix/unistd.h: Declare syncfs.
29698 * sysdeps/unix/syscalls.list: Add syncfs.
29699
00e5419f
AS
297002011-04-01 Andreas Schwab <schwab@redhat.com>
29701
29702 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29703 open_by_handle_at.
29704 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29705 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29706 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29707 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29708 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29709 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29710 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29711
748876bf
UD
297122011-04-01 Ulrich Drepper <drepper@gmail.com>
29713
658e451d
UD
29714 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29715 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29716 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29717 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29718 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29720 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29721
748876bf
UD
29722 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29723 sync_file_range.c with -fexceptions.
29724 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29725 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29726 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29727 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29728 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29729 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29730 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
29731 sync_file_range as cancellation point
29732 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29733 now a wrapper around __call_sync_file_range with cancellation handling.
29734 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29735 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29736 function name to __call_sync_file_range.
29737 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29738 Add call_sync_file_range.
748876bf 29739
6e63d5e1
AS
297402011-04-01 Andreas Schwab <schwab@redhat.com>
29741
29742 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 29743 bits/timex.h.
6e63d5e1 29744
46998f74
UD
297452011-04-01 Ulrich Drepper <drepper@gmail.com>
29746
4c1423ed
UD
29747 * iconv/iconv.h: Fix typo in comment.
29748 * io/fcntl.h: Likewise.
29749 * libio/stdio.h: Likewise.
29750 * posix/spawn.h: Likewise.
29751 * posix/unistd.h: Likewise.
29752 * stdlib/stdlib.h: Likewise.
29753 * time/time.h: Likewise.
29754 * wcsmbs/wchar.h: Likewise.
29755
158648c0
UD
29756 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29757 open_by_handle): Add.
29758 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29759 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29760 Augment a few comments.
29761 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29762 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29763 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29764 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29765 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29766 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29767 open_by_handle.
29768
46998f74
UD
29769 * io/fcntl.h (AT_EMPTY_PATH): Define.
29770
83fe108b
UD
297712011-03-30 Ulrich Drepper <drepper@gmail.com>
29772
29773 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29774 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29775 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29776 to...
29777 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
29778 * Versions.def: Add GLIBC_2.14.
29779 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29780 Export.
83fe108b 29781
bb242059
UD
297822011-03-22 Ulrich Drepper <drepper@gmail.com>
29783
29784 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29785 round counter.
29786 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29787
c97a1282
L
297882011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29789
29790 [BZ #12597]
29791 * string/test-strncmp.c (do_page_test): New function.
29792 (check2): Likewise.
29793 (test_main): Call check2.
29794 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29795
2a115601
UD
297962011-03-20 Ulrich Drepper <drepper@gmail.com>
29797
29798 [BZ #12587]
29799 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29800 Handle cache information in CPU leaf 4.
29801 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29802
8126d904
UD
298032011-03-18 Ulrich Drepper <drepper@gmail.com>
29804
042c49c6 29805 [BZ #12583]
8126d904
UD
29806 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29807 character representation.
29808 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29809
ccfe366e
RA
298102011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29811
29812 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29813 END(__isnan) to END(__isnanf) to match function entry point/label
29814 EALIGN(__isnanf,...).
29815
c6e13027
JJ
298162011-03-10 Jakub Jelinek <jakub@redhat.com>
29817
29818 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29819
33f85a3f
UD
298202011-03-10 Ulrich Drepper <drepper@gmail.com>
29821
028478fa
UD
29822 [BZ #12510]
29823 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29824 copy from the symbol referenced in the relocation to initialize the
29825 used variable.
29826 Patch by Piotr Bury <pbury@goahead.com>.
29827 * elf/Makefile: Add rules to build and tst-unique3.
29828 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29829 * elf/tst-unique3.cc: New file.
29830 * elf/tst-unique3.h: New file.
29831 * elf/tst-unique3lib.cc: New file.
29832 * elf/tst-unique3lib2.cc: New file.
29833
33f85a3f
UD
29834 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29835
03592fc7
MF
298362011-03-10 Mike Frysinger <vapier@gentoo.org>
29837
29838 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29839 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29840 to _start.
03592fc7 29841
6a5ee102
UD
298422011-03-06 Ulrich Drepper <drepper@gmail.com>
29843
29844 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29845 to-be-loaded object along a path to loader is ld.so.
29846
7e4ba49c
HJ
298472011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29848 Ulrich Drepper <drepper@gmail.com>
29849
29850 * sysdeps/x86_64/memset.S: After aligning destination, code
29851 branches to different locations depending on the value of
29852 misalignment, when multiarch is enabled. Fix this.
29853
298542011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29855
29856 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29857 Set _x86_64_preferred_memory_instruction for AMD processsors.
29858 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29859 Set bit_Prefer_SSE_for_memop for AMD processors.
29860
13a804de
UD
298612011-03-04 Ulrich Drepper <drepper@gmail.com>
29862
29863 * libio/fmemopen.c (fmemopen): Optimize a bit.
29864
9d25c392
AS
298652011-03-03 Andreas Schwab <schwab@redhat.com>
29866
29867 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29868
a5543c6a
RM
298692011-03-03 Roland McGrath <roland@redhat.com>
29870
29871 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29872
012d35f7
DM
298732011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29874
7e4ba49c 29875 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
29876 __bzero_ultra1 instead of __memset_ultra1.
29877
4bff6e01
AS
298782011-02-23 Andreas Schwab <schwab@redhat.com>
29879 Ulrich Drepper <drepper@gmail.com>
29880
29881 [BZ #12509]
29882 * include/link.h (struct link_map): Add l_orig_initfini.
29883 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29884 returning unsuccessfully.
29885 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29886 close of a file loaded at startup, restore the original l_initfini
29887 list.
29888 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29889 list, store the pointer.
29890 * elf/Makefile ($(objpfx)noload-mem): New rule.
29891 (noload-ENV): Define.
29892 (tests): Add $(objpfx)noload-mem.
29893 * elf/noload.c: Include <memcheck.h>.
29894 (main): Call mtrace. Close all opened handles.
29895
f2092faf
AS
298962011-02-17 Andreas Schwab <schwab@redhat.com>
29897
29898 [BZ #12454]
29899 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29900 dependencies are missing.
29901
6c8a2e88
ST
299022011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29903
f2092faf 29904 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
29905 Hurd needs munmap.
29906 * sysdeps/mach/hurd/ifreq.h: New file.
29907
84a42118
PB
299082011-01-27 Petr Baudis <pasky@suse.cz>
29909 Ulrich Drepper <drepper@gmail.com>
29910
071f805e 29911 [BZ 12445]#
84a42118
PB
29912 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29913 to extend_alloca().
29914 * stdio-common/bug23.c: New file.
29915 * stdio-common/Makefile (tests): Add bug23.
29916
e23fe25b
AS
299172010-09-28 Andreas Schwab <schwab@redhat.com>
29918 Ulrich Drepper <drepper@gmail.com>
29919
29920 [BZ #12489]
29921 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29922 before performing relro protection. At old place add assertion
29923 to make sure nothing changed.
29924
d3f02e10
NS
299252011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29926 Glauber de Oliveira Costa <glommer@gmail.com>
29927
29928 * elf/elf.h: Add new ARM TLS relocs.
29929
d55fd7a5
RA
299302011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29931
29932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29933 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29934 cast from r3.
29935 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29936 'tests' variable.
29937 * sysdeps/wordsize-64/tst-writev.c: New file.
29938
2206397e
RA
299392011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29940
29941 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29942 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29943 insns in _dl_start to prevent a TOC reference before relocs are
29944 resolved.
29945
e9433893
UD
299462011-02-15 Ulrich Drepper <drepper@gmail.com>
29947
29948 [BZ #12469]
29949 * Makeconfig: Remove RANLIB definition.
29950 * Makerules: Don't use RANLIB.
29951 * aclocal.m4: Remove ranlib test.
29952 * configure.in: No need to check for ranlib.
29953 * elf/rtld-Rules: Don't use RANLIB.
29954
f75286c6
ST
299552011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29956
8e31c82d
ST
29957 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29958 protection macro.
29959 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29960 inclusion protection macro.
29961
f75286c6
ST
29962 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29963 SIGRTMIN and SIGRTMAX and print information in that case only when
29964 SIGRTMIN is defined.
29965
c1d0e639
JJ
299662011-02-11 Jakub Jelinek <jakub@redhat.com>
29967
29968 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29969 arginfo fn returning -1.
29970
29971 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29972 and thousands string is zero terminated.
29973
edf9294e
AS
299742011-02-03 Andreas Schwab <schwab@redhat.com>
29975
29976 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29977 sysdeps/unix/sysv/linux/bits/socket.h.
29978
2b7e92df
ST
299792011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
29980
edf9294e
AS
29981 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29982 (__CPU_COUNT): Remove old macros.
29983 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29984 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29985 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
29986 (__sched_cpualloc, __sched_cpufree): Add declarations.
29987
a4c7ea7b
UD
299882011-02-05 Ulrich Drepper <drepper@gmail.com>
29989
29990 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29991 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29992 * nscd/aicache.c (addhstaiX): Return timeout of added value.
29993 (readdhstai): Return value of addhstaiX call.
29994 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29995 (addgrbyX): Return value returned by cache_addgr.
29996 (readdgrbyname): Return value returned by addgrbyX.
29997 (readdgrbygid): Likewise.
29998 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29999 (addpwbyX): Return value returned by cache_addpw.
30000 (readdpwbyname): Return value returned by addhstbyX.
30001 (readdpwbyuid): Likewise.
30002 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30003 (addservbyX): Return value returned by cache_addserv.
30004 (readdservbyname): Return value returned by addservbyX:
30005 (readdservbyport): Likewise.
30006 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30007 (addhstbyX): Return value returned by cache_addhst.
30008 (readdhstbyname): Return value returned by addhstbyX.
30009 (readdhstbyaddr): Likewise.
30010 (readdhstbynamev6): Likewise.
30011 (readdhstbyaddrv6): Likewise.
30012 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30013 (readdinitgroups): Return value returned by addinitgroupsX.
30014 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30015 (prune_cache): Keep track of timeout value of re-added entries.
30016 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30017 * nscd/nscd.h: Adjust prototypes of readd* functions.
30018
a0bf67cc
RM
300192011-02-04 Roland McGrath <roland@redhat.com>
30020
30021 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30022 (nis_stats): Likewise.
30023 * nis/nis_modify.c (nis_modify): Likewise.
30024 * nis/nis_remove.c (nis_remove): Likewise.
30025 * nis/nis_add.c (nis_add): Likewise.
30026
30027 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30028
30029 * posix/fnmatch_loop.c: Add some consts.
30030
30031 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30032
435b95eb
L
300332011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30034
30035 [BZ #12460]
30036 * config.make.in (config-cflags-novzeroupper): Define.
30037 * configure.in: Substitute libc_cv_cc_novzeroupper.
30038 * elf/Makefile (AVX-CFLAGS): Define.
30039 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30040 (CFLAGS-tst-auditmod4a.c): Likewise.
30041 (CFLAGS-tst-auditmod4b.c): Likewise.
30042 (CFLAGS-tst-auditmod6b.c): Likewise.
30043 (CFLAGS-tst-auditmod6c.c): Likewise.
30044 (CFLAGS-tst-auditmod7b.c): Likewise.
30045 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30046
8517b15e
UD
300472011-02-02 Ulrich Drepper <drepper@gmail.com>
30048
30049 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30050 function to the callback.
30051 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30052
10a656fe
AS
300532011-02-02 Andreas Schwab <schwab@redhat.com>
30054
30055 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30056 of errno.
30057
968dad0a
UD
300582011-01-19 Ulrich Drepper <drepper@gmail.com>
30059
9f94d2ea 30060 [BZ #11724]
968dad0a
UD
30061 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30062 of constructors.
30063 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30064 of destructors.
30065 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30066
30067 [BZ #11724]
30068 * elf/Makefile: Add rules to build and run new test.
30069 * elf/tst-initorder.c: New file.
30070 * elf/tst-initorder.exp: New file.
30071 * elf/tst-initordera1.c: New file.
30072 * elf/tst-initordera2.c: New file.
30073 * elf/tst-initordera3.c: New file.
30074 * elf/tst-initordera4.c: New file.
30075 * elf/tst-initorderb1.c: New file.
30076 * elf/tst-initorderb2.c: New file.
30077 * elf/tst-order-a1.c: New file.
30078 * elf/tst-order-a2.c: New file.
30079 * elf/tst-order-a3.c: New file.
30080 * elf/tst-order-a4.c: New file.
30081 * elf/tst-order-b1.c: New file.
30082 * elf/tst-order-b2.c: New file.
30083 * elf/tst-order-main.c: New file.
30084 New test case by George Gensure <werkt0@gmail.com>.
30085
86e92359
UD
300862010-10-01 Andreas Schwab <schwab@redhat.com>
30087
30088 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30089 decoding ACE if AI_CANONIDN.
30090
5d5732b0
UD
300912011-01-18 Ulrich Drepper <drepper@gmail.com>
30092
30093 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30094
a77e8cbc
UD
300952011-01-17 Ulrich Drepper <drepper@gmail.com>
30096
6392473f
UD
30097 * version.h (RELEASE): Bump for 2.13 release.
30098 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30099
620a0529
UD
30100 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30101
18ba70a5
UD
30102 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30103 MADV_NOHUGEPAGE.
32465c3e
UD
30104 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30105 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30106 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30107 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30108 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30109 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30110
c0dafcf1
UD
30111 * posix/getconf.c: Update copyright year.
30112 * catgets/gencat.c: Likewise.
30113 * csu/version.c: Likewise.
30114 * debug/catchsegv.sh: Likewise.
30115 * debug/xtrace.sh: Likewise.
30116 * elf/ldconfig.c: Likewise.
30117 * elf/ldd.bash.in: Likewise.
30118 * elf/sprof.c (print_version): Likewise.
30119 * iconv/iconv_prog.c: Likewise.
30120 * iconv/iconvconfig.c: Likewise.
30121 * locale/programs/locale.c: Likewise.
30122 * locale/programs/localedef.c: Likewise.
30123 * malloc/memusage.sh: Likewise.
30124 * malloc/mtrace.pl: Likewise.
30125 * nscd/nscd.c (print_version): Likewise.
30126 * nss/getent.c: Likewise.
30127
a77e8cbc
UD
30128 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30129 PF_CAIF, and PF_ALG.
30130 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30131
77e8bddf
AS
301322011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30133
1f20b93a
AS
30134 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30135 (modules-names): Use them.
30136 (ifunc-test-modules, ifunc-pie-tests): Define.
30137 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30138 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30139 (test-extras): Likewise.
30140 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30141 $(compile-command.c).
30142 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30143 (all-built-dso): Define.
30144 (check-textrel.out, check-execstack.out): Depend on it.
30145
77e8bddf
AS
30146 * configure.in: Don't override --enable-multi-arch.
30147
bc425b33
UD
301482011-01-15 Ulrich Drepper <drepper@gmail.com>
30149
30150 [BZ #6812]
30151 * nscd/hstcache.c (tryagain): Define.
30152 (cache_addhst): Return tryagain not notfound for temporary errors.
30153 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30154 failed.
30155
794c3ad3
UD
301562011-01-14 Ulrich Drepper <drepper@gmail.com>
30157
70181fdd
UD
30158 [BZ #10563]
30159 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30160 to make the syscall.
30161 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30162
794c3ad3
UD
30163 [BZ #12378]
30164 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30165 and fall back to matching as normal character if the string ends before
30166 the matching ']' is found. This is what POSIX requires.
30167 * posix/testfnm.c: Adjust test result.
30168 * posix/globtest.sh: Adjust test result. Add new test.
30169 * posix/tst-fnmatch.input: Likewise.
30170 * posix/tst-fnmatch2.c: Add new test.
30171
68dc9497
AS
301722010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30173
30174 * elf/Makefile (check-execstack): Revert last change. Depend on
30175 check-execstack.h.
30176 (check-execstack.h): New target.
30177 (generated): Add check-execstack.h.
30178 * elf/check-execstack.c: Include "check-execstack.h".
30179 (main): Revert last change.
30180 (handle_file): Return zero if GNU_STACK is absent and
30181 DEFAULT_STACK_PERMS doesn't include PF_X.
30182
451f001b
UD
301832011-01-13 Ulrich Drepper <drepper@gmail.com>
30184
cfa28e56
UD
30185 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30186 in child fails because the descriptor is already closed.
8cf8ce17
UD
30187 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30188 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30189 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30190
1086d70d
UD
30191 [BZ #12397]
30192 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30193 syscall.
30194
451f001b
UD
30195 [BZ #10484]
30196 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30197 temporary buffer used to handle multi lookups locally.
a85b5cb4 30198 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30199
08769175
UD
302002011-01-12 Ulrich Drepper <drepper@gmail.com>
30201
30202 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30203 loader is ld.so.
30204
5e49c52e
UD
302052011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30206
30207 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30208 alignment for SSE2.
30209
60522a5f
UD
302102011-01-12 Ulrich Drepper <drepper@gmail.com>
30211
30212 [BZ #12394]
30213 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30214 characters. When rounding increased number of integer digits recompute
30215 number of groups.
30216 * stdio-common/tst-grouping.c: New file.
30217 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30218
f257bbd7
UD
302192011-01-09 Ulrich Drepper <drepper@gmail.com>
30220
30221 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30222 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30223
30224 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30225 void.
30226 * bits/select.h: Likewise.
30227
fa9c15cb
UD
302282011-01-08 Ulrich Drepper <drepper@gmail.com>
30229
30230 * po/ja.po: Update from translation team.
30231
16c2895f
DM
302322011-01-04 David S. Miller <davem@sunset.davemloft.net>
30233
30234 [BZ #11155]
30235 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30236 implementation just like for lxstat, fxstatat, et al.
30237
2543fef2
JM
302382010-12-27 Jim Meyering <meyering@redhat.com>
30239
30240 [BZ #12348]
30241 * posix/regexec.c (build_trtable): Return failure indication upon
30242 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30243
98727dbe
UD
302442010-12-25 Ulrich Drepper <drepper@gmail.com>
30245
5bd6dc5c
UD
30246 [BZ #12201]
30247 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30248 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30249 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30250 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30251
97983464
UD
30252 [BZ #12207]
30253 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30254
98727dbe
UD
30255 [BZ #12204]
30256 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30257 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30258
4a531bb0
L
302592010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30260
30261 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30262 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30263 script has SORT_BY_INIT_PRIORITY.
30264 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30265 NO_CTORS_DTORS_SECTIONS is defined.
30266 * elf/soinit.c: Likewise.
30267 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30268 NO_CTORS_DTORS_SECTIONS is defined.
30269 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30270 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30271 * sysdeps/sh/init-first.c: Likewise.
30272 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30273
07eb4b71
UD
302742010-12-24 Ulrich Drepper <drepper@gmail.com>
30275
30276 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30277 always use the slow path.
30278
30950a5f
RA
302792010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30280
30281 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30282 similar rule which adds the sysdep directories to the header search in
30283 order to pick up the correct platform stackinfo.h.
30284 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30285 perform test if it is, otherwise return successfully without testing.
30286 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30287 DEFAULT_STACK_PERMS define in stackinfo.h.
30288 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30289 defined in stackinfo.h.
30290 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30291 DEFAULT_STACK_PERMS defined in stackinfo.h.
30292 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30293 * sysdeps/ia64/stackinfo.h: Likewise.
30294 * sysdeps/s390/stackinfo.h: Likewise.
30295 * sysdeps/sh/stackinfo.h: Likewise.
30296 * sysdeps/sparc/stackinfo.h: Likewise.
30297 * sysdeps/x86_64/stackinfo.h: Likewise.
30298 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30299 PF_X for powerpc64. Retain PF_X for powerpc32.
30300
db753e2c
UD
303012010-12-19 Ulrich Drepper <drepper@gmail.com>
30302
14b697f7
UD
30303 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30304 accurately.
db753e2c
UD
30305 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30306 GETDENTS_64BIT_ALIGNED.
30307
28300719
UD
303082010-12-14 Ulrich Drepper <dreper@gmail.com>
30309
14b697f7 30310 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30311
4f197237
AS
303122010-12-10 Andreas Schwab <schwab@redhat.com>
30313
dbb0472f
AS
30314 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30315 _GNU_SOURCE.
30316
4f197237
AS
30317 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30318 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30319 Remove __restrict.
30320 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30321 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30322
fb88ac72
UD
303232010-12-09 Ulrich Drepper <drepper@gmail.com>
30324
30325 [BZ #11655]
30326 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30327 are initialized.
30328
42acbb92
JJ
303292010-12-09 Jakub Jelinek <jakub@redhat.com>
30330
30331 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30332
c038d98d
UD
303332010-12-03 Ulrich Drepper <drepper@gmail.com>
30334
30335 * po/it.po: Update from translation team.
30336
3a4a2499
L
303372010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30338
30339 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30340 unused codes.
30341
1e24cf6e
UD
303422010-11-30 Ulrich Drepper <drepper@gmail.com>
30343
30344 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30345
a7690819
AS
303462010-11-24 Andreas Schwab <schwab@redhat.com>
30347
30348 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30349 specially.
30350 (gaih_getanswer_slice): Likewise.
30351
3bf8d1b1
JJ
303522010-10-20 Jakub Jelinek <jakub@redhat.com>
30353
30354 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30355
6db52fbb
PB
303562010-05-31 Petr Baudis <pasky@suse.cz>
30357
30358 [BZ #11149]
30359 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30360 silently even in the chroot mode.
30361
eaca7569
UD
303622010-11-22 Ulrich Drepper <drepper@gmail.com>
30363
30364 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30365 last patch a bit. Pretty printing
30366
3056dcdb
UD
303672010-05-31 Petr Baudis <pasky@suse.cz>
30368
30369 [BZ #10085]
30370 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30371 initialization of skip_initgroups_dyn.
30372
cf7c9078
UD
303732010-11-19 Ulrich Drepper <drepper@gmail.com>
30374
30375 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30376 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30377
a1fb5e3e
UD
303782010-11-16 Ulrich Drepper <drepper@gmail.com>
30379
30380 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30381
3540d66b
AS
303822010-11-11 Andreas Schwab <schwab@redhat.com>
30383
30384 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30385 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30386 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30387 ($(objpfx)tst-fnmatch-mem): New rule.
30388 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30389 * posix/tst-fnmatch.c (main): Call mtrace.
30390
13b69574
L
303912010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30392
30393 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30394 Support Intel processor model 6 and model 0x2c.
30395
da93d214
LM
303962010-11-10 Luis Machado <luisgpm@br.ibm.com>
30397
30398 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30399 signed comparison.
30400
8ca52c6e
L
304012010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30402
30403 [BZ #12205]
30404 * string/test-strncasecmp.c (check_result): New function.
30405 (do_one_test): Use it.
30406 (check1): New function.
30407 (test_main): Use it.
30408 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30409 Support strcasecmp and strncasecmp.
30410
69da074d
UD
304112010-11-08 Ulrich Drepper <drepper@gmail.com>
30412
30413 [BZ #12194]
30414 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30415 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30416
ff02d528
L
304172010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30418
30419 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30420 IFUNC support.
30421 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30422 memset-x86-64.
30423 * sysdeps/x86_64/multiarch/bzero.S: New file.
30424 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30425 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30426 * sysdeps/x86_64/multiarch/memset.S: New file.
30427 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30429 Set bit_Prefer_SSE_for_memop for Intel processors.
30430 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30431 Define.
30432 (index_Prefer_SSE_for_memop): Define.
30433 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30434
344d0b54
LM
304352010-11-04 Luis Machado <luisgpm@br.ibm.com>
30436
30437 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30438 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30439
c0dde15b
UD
304402010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30441
30442 [BZ #12191]
30443 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30444 (__x86_64_raw_data_cache_size_half): Likewise.
30445 (__x86_64_raw_shared_cache_size): Likewise.
30446 (__x86_64_raw_shared_cache_size_half): Likewise.
30447
30448 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30449 (__x86_64_raw_data_cache_size_half): Likewise.
30450 (__x86_64_raw_shared_cache_size): Likewise.
30451 (__x86_64_raw_shared_cache_size_half): Likewise.
30452 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30453 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30454 and __x86_64_raw_shared_cache_size_half. Round
30455 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30456 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30457 to multiple of 256 bytes.
30458
0e516e0e
MS
304592010-11-03 Ulrich Drepper <drepper@gmail.com>
30460
30461 [BZ #12167]
30462 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30463 of inacessible symlinks. Verify result of symlink before returning it.
30464 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30465 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30466
0e012e87
ER
304672010-10-28 Erich Ritz <erichritz@gmail.com>
30468
30469 * math/math.h (isinf): Fix typo in comment.
30470
de0ff7bc
UD
304712010-11-01 Ulrich Drepper <drepper@gmail.com>
30472
30473 * po/da.po: Update from translation team.
30474
fa41c84d
UD
304752010-10-26 Ulrich Drepper <drepper@gmail.com>
30476
30477 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30478 is added to the list.
30479
f0967738
AK
304802010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30481 Ulrich Drepper <drepper@gmail.com>
30482
30483 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30484 the global list here. Move code to...
30485 (_dl_add_to_namespace_list): ...here. New function.
30486 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30487 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30488 * elf/dl-load.c (lose): Don't remove the element from the list.
30489 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30490 (_dl_map_object): Likewise.
30491
304922010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30493
30494 [BZ #12159]
30495 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30496 into all bytes of SSE register.
30497 Patch by Richard Li <richardpku@gmail.com>.
30498
f0967738 304992010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30500
30501 [BZ #12140]
30502 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30503 perturbing.
30504
d0b9e94f
MB
305052010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30506
30507 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30508 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30509 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30510 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30512 submachine.
30513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30514
8e9f92e9
AS
305152010-10-22 Andreas Schwab <schwab@redhat.com>
30516
30517 * include/dlfcn.h (__RTLD_SECURE): Define.
30518 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30519 mode & __RTLD_SECURE instead.
30520 (open_path): Rename preloaded parameter to secure.
30521 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30522 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30523 * elf/dl-deps.c (openaux): Likewise.
30524 * elf/rtld.c (struct map_args): Remove is_preloaded.
30525 (map_doit): Don't use it.
30526 (dl_main): Likewise.
30527 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30528 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30529
bc96fbda
AS
305302010-09-09 Andreas Schwab <schwab@redhat.com>
30531
30532 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30533 (sysd-rules-targets): Remove duplicates.
30534 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30535 rtld-%.$o dependency.
30536
22cd1c9b
AS
305372010-10-18 Andreas Schwab <schwab@redhat.com>
30538
30539 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30540 _dl_map_object do it.
30541
18edac48
UD
305422010-10-19 Ulrich Drepper <drepper@gmail.com>
30543
30544 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30545 fast fma builtins, define the macros in the C99 standard.
30546 (FP_FAST_FMAF): Likewise.
30547 (FP_FAST_FMAL): Likewise.
30548 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30549
30550 * bits/mathdef.h: Update copyright year.
30551 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30552
d2050124
MM
305532010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30554
30555 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30556 builtins, define the macros in the C99 standard.
30557 (FP_FAST_FMAF): Likewise.
30558 (FP_FAST_FMAL): Likewise.
30559 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30560 multiply/add.
30561 (FP_FAST_FMAF): Likewise.
30562
475facd1
JJ
305632010-10-15 Jakub Jelinek <jakub@redhat.com>
30564
30565 [BZ #3268]
30566 * math/libm-test.inc (fma_test): Some new testcases.
30567 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30568 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30569 y and infinite z. Do multiplication by C already in long double.
30570 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30571 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30572 y and infinite z. Do bitwise or of inexact bit into u.d.
30573 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30574 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30575 * sysdeps/i386/fpu/s_fma.S: Removed.
30576 * sysdeps/i386/fpu/s_fmal.S: Removed.
30577
7c08a05c
JJ
305782010-10-16 Jakub Jelinek <jakub@redhat.com>
30579
30580 [BZ #3268]
30581 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30582 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30583 computation is not scheduled after fetestexcept. Fix value
30584 of minimum denormal long double.
30585
f3f7372d
JJ
305862010-10-14 Jakub Jelinek <jakub@redhat.com>
30587
30588 [BZ #3268]
30589 * math/libm-test.inc (fma_test): Add some more tests.
30590 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30591 correctly.
30592
14d43591
AS
305932010-10-15 Andreas Schwab <schwab@redhat.com>
30594
30595 * scripts/data/localplt-s390-linux-gnu.data: New file.
30596 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30597
5e908464
JJ
305982010-10-13 Jakub Jelinek <jakub@redhat.com>
30599
30600 [BZ #3268]
30601 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30602 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30603 instead of dbl-64.
30604 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30605 inlines.
30606 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30607 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30608 if one of x and y is very large and the other is subnormal.
30609 * sysdeps/s390/fpu/s_fmaf.c: New file.
30610 * sysdeps/s390/fpu/s_fma.c: New file.
30611 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30612 * sysdeps/powerpc/fpu/s_fma.S: New file.
30613 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30614 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30615 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30616
306172010-10-12 Jakub Jelinek <jakub@redhat.com>
30618
30619 [BZ #3268]
30620 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30621 fma tests.
30622 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30623 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30624 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30625 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30626 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30627 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30628 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30629
b833d51f
UD
306302010-10-12 Ulrich Drepper <drepper@redhat.com>
30631
30632 [BZ #12078]
30633 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30634 * posix/bug-regex31.input: Add test case.
30635
1751705d
UD
306362010-10-11 Ulrich Drepper <drepper@gmail.com>
30637
e9b9cbf5
UD
30638 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30639 * posix/bug-regex31.input: New file.
30640
30641 [BZ #12078]
30642 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30643 (parse_sub_exp): Fix last change, use postorder.
30644
ef06edbe
UD
30645 * posix/bug-regex31.c: New file.
30646 * posix/Makefile: Add rules to build and run bug-regex31.
30647
a129c80d
UD
30648 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30649
30650 [BZ #12078]
30651 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30652
b76b818e
UD
30653 [BZ #12108]
30654 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30655 to have entries in sys_siglist.
30656
1751705d
UD
30657 [BZ #12093]
30658 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30659 be NULL.
30660
9ff8d36f
JJ
306612010-10-07 Jakub Jelinek <jakub@redhat.com>
30662
30663 [BZ #3268]
30664 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30665 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30666 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30667 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30668 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30669 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30670 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30671 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30672 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30673 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30674 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30675 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30676 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30677 * math/ftestexcept.c (fetestexcept): Likewise.
30678 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30679 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30680 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30681 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30682 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30683 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30684 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30685
af325969
UD
306862010-10-11 Ulrich Drepper <drepper@gmail.com>
30687
c579b202 30688 [BZ #12107]
af325969
UD
30689 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30690 newline.
30691
67a67b95
UD
306922010-10-06 Ulrich Drepper <drepper@gmail.com>
30693
30694 * string/bug-strstr1.c: New file.
30695 * string/Makefile: Add rules to build and run bug-strstr1.
30696
5fb308bc
EB
306972010-10-05 Eric Blake <eblake@redhat.com>
30698
30699 [BZ #12092]
30700 * string/str-two-way.h (two_way_long_needle): Always clear memory
30701 when skipping input due to the shift table.
30702
45db99c7
UD
307032010-10-03 Ulrich Drepper <drepper@gmail.com>
30704
3b111893
UD
30705 [BZ #12005]
30706 * malloc/mcheck.c: Handle large requests.
30707
45db99c7
UD
30708 [BZ #12077]
30709 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30710 for strncmp and strncasecmp.
30711 * string/stratcliff.c: Add tests for strcmp and strncmp.
30712 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30713
cf7a1eb8
NI
307142010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30715
30716 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30717 __set_fpscr.
30718
6484ba5e
AJ
307192010-09-30 Andreas Jaeger <aj@suse.de>
30720
30721 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30722 (CGROUP_SUPER_MAGIC): Define.
30723 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30724 Handle btrfs and cgroup file systems.
30725 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30726 Likewise.
30727
91c42559
LM
307282010-09-27 Luis Machado <luisgpm@br.ibm.com>
30729
30730 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30731 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30732
87a97932
AK
307332010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30734
30735 [BZ #12067]
30736 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30737 trying to locate the ELF header.
30738
c21cc9bc
AS
307392010-09-27 Andreas Schwab <schwab@redhat.com>
30740
30741 [BZ #11611]
30742 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30743 Mask out sign-bit copies when constructing f_fsid.
30744
315970f6
PB
307452010-09-24 Petr Baudis <pasky@suse.cz>
30746
30747 * debug/stack_chk_fail_local.c: Add missing licence exception.
30748 * debug/warning-nop.c: Likewise.
30749
1ac7a2c7
JM
307502010-09-15 Joseph Myers <joseph@codesourcery.com>
30751
30752 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30753 implementing getdents64 using getdents syscall, set d_type if
30754 __ASSUME_GETDENTS32_D_TYPE.
30755
56801c50
AS
307562010-09-16 Andreas Schwab <schwab@redhat.com>
30757
30758 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30759 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30760
dda51327
UD
307612010-09-21 Ulrich Drepper <drepper@redhat.com>
30762
30763 [BZ #12037]
30764 * posix/unistd.h: Undo change of feature selection for ftruncate from
30765 2010-01-11.
30766
8ffcee4a
UD
307672010-09-20 Ulrich Drepper <drepper@redhat.com>
30768
a545ecd9 30769 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
30770 detection.
30771
e24f0a8b
AS
307722010-09-20 Andreas Schwab <schwab@redhat.com>
30773
30774 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30775 fanotify_mark.
30776 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30777
7291c56f
AS
307782010-09-14 Andreas Schwab <schwab@redhat.com>
30779
30780 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30781 variables after CHECK_SP call.
30782 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30783
bc5fb037
AS
307842010-09-13 Andreas Schwab <schwab@redhat.com>
30785 Ulrich Drepper <drepper@redhat.com>
30786
30787 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30788 re-relocationg ld.so.
30789 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30790 _dl_init_paths call.
30791 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30792 here anymore.
30793
e66e7419
UD
307942010-09-14 Ulrich Drepper <drepper@redhat.com>
30795
30796 * resolv/res_init.c (__res_vinit): Count the default server we added.
30797
c044aa75
CLT
307982010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30799 Ulrich Drepper <drepper@redhat.com>
30800
30801 [BZ #11968]
30802 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30803 (____longjmp_chk): Use %ebx for saving value across system call.
30804 Add unwind info.
30805
32cf4069
AS
308062010-09-06 Andreas Schwab <schwab@redhat.com>
30807
30808 * manual/Makefile: Don't mix pattern rules with normal rules.
30809
817328ee
AS
308102010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30811
30812 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30813 operation.
30814 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30815 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30816 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30817 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30818 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30819 Likewise.
30820
29fddf61
UD
308212010-09-04 Ulrich Drepper <drepper@redhat.com>
30822
30823 [BZ #11979]
30824 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30825 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30826
0959ffc9
UD
308272010-09-02 Ulrich Drepper <drepper@redhat.com>
30828
30829 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30830 * sysdeps/x86_64/addmul_1.S: Likewise.
30831 * sysdeps/x86_64/lshift.S: Likewise.
30832 * sysdeps/x86_64/mul_1.S: Likewise.
30833 * sysdeps/x86_64/rshift.S: Likewise.
30834 * sysdeps/x86_64/sub_n.S: Likewise.
30835 * sysdeps/x86_64/submul_1.S: Likewise.
30836
ece29840
ST
308372010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30838
0959ffc9
UD
30839 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30840 Define __sched_param instead of SCHED_* and sched_param when
ece29840 30841 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 30842 * bits/sched.h [__need_schedparam]
ece29840 30843 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
30844 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30845 (__defined_schedparam): Define to 1.
ece29840
ST
30846 (__sched_param): New structure, identical to sched_param.
30847 (__need_schedparam): Undefine.
30848
e53a31fe
MF
308492010-08-31 Mike Frysinger <vapier@gentoo.org>
30850
fdc0c10d
MF
30851 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30852 (epoll_create1): Declare.
30853
e53a31fe
MF
30854 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30855
a726d796
AS
308562010-08-31 Andreas Schwab <schwab@redhat.com>
30857
30858 [BZ #7066]
30859 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30860 shifting retval into place.
30861
2f3e3dc7
UD
308622010-09-01 Ulrich Drepper <drepper@redhat.com>
30863
f2933da9
UD
30864 * nis/rpcsvc/nis.h: Update copyright notice.
30865 * nis/rpcsvc/nis.x: Likewise.
30866 * nis/rpcsvc/nis_callback.h: Likewise.
30867 * nis/rpcsvc/nis_callback.x: Likewise.
30868 * nis/rpcsvc/nis_object.x: Likewise.
30869 * nis/rpcsvc/nis_tags.h: Likewise.
30870 * nis/rpcsvc/yp.h: Likewise.
30871 * nis/rpcsvc/yp.x: Likewise.
30872 * nis/rpcsvc/ypupd.h: Likewise.
30873 * nis/yp_xdr.c: Likewise.
30874 * nis/ypupdate_xdr.c: Likewise.
30875
2f3e3dc7
UD
30876 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30877 mainly the body of pmap_getport. Add parameters to specify timeouts.
30878 (pmap_getport): Use __libc_rpc_getport.
30879 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30880 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30881 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30882
f3dcc2f9
AS
308832010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30884
30885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30886 fanotify_mark.
30887
6d34eb5b
RM
308882010-08-27 Roland McGrath <roland@redhat.com>
30889
30890 * sysdeps/i386/i686/multiarch/Makefile
30891 (CFLAGS-varshift.c): New variable.
30892
9ea3de11
UD
308932010-08-27 Ulrich Drepper <drepper@redhat.com>
30894
c96d23fc
UD
30895 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30896 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30897
9ea3de11
UD
30898 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30899
30900 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30901
623aac7f
L
309022010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30903
30904 * sysdeps/x86_64/strlen.S: Unroll the loop.
30905 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30906 strlen-sse2 strlen-sse2-bsf.
30907 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30908 __strlen_no_bsf if bit_Slow_BSF is set.
30909 (__strlen_sse42): Removed.
30910 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30911 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30912
8b2b7715
RM
309132010-08-25 Roland McGrath <roland@redhat.com>
30914
30915 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30916 * sysdeps/x86_64/multiarch/varshift.c: New file.
30917 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30918 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30919 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30920 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30921
e73015f2
L
309222010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30923
30924 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30925 strlen-sse2 strlen-sse2-bsf.
30926 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30927 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30928 (__strlen_sse2): Removed.
30929 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30930 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30931 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30932 bit_Slow_BSF for Atom.
30933 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30934 (index_Slow_BSF): Define.
30935 (HAS_SLOW_BSF): Define.
30936
df24a73e
UD
309372010-08-25 Ulrich Drepper <drepper@redhat.com>
30938
30939 [BZ #10851]
30940 * resolv/res_init.c (__res_vinit): When no server address at all
30941 is given default to loopback.
30942
f2ac4868
RM
309432010-08-24 Roland McGrath <roland@redhat.com>
30944
09055553
RM
30945 * configure.in: Remove config-name.h generation.
30946 * configure: Regenerated.
30947 * config-name.in: File removed.
30948 * scripts/config-uname.sh: New file.
30949 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30950 ($(objdir)config-name.h): New target.
30951
f2ac4868
RM
30952 * sunrpc/rpc_parse.h: Avoid nested comment.
30953
73f27d5e
RH
309542010-08-24 Richard Henderson <rth@redhat.com>
30955 Ulrich Drepper <drepper@redhat.com>
30956 H.J. Lu <hongjiu.lu@intel.com>
30957
30958 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30960 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30961 Replace _mm_srli_si128 with __m128i_shift_right. Replace
30962 _mm_alignr_epi8 with _mm_loadu_si128.
30963 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30964 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30965 (__m128i_shift_right): Removed.
30966 * sysdeps/i386/i686/multiarch/varshift.h: New file.
30967 * sysdeps/i386/i686/multiarch/varshift.S: New file.
30968 * sysdeps/x86_64/multiarch/varshift.h: New file.
30969 * sysdeps/x86_64/multiarch/varshift.S: New file.
30970
84b9230c
MF
309712010-08-21 Mike Frysinger <vapier@gentoo.org>
30972
30973 * configure.in: Move assembler checks to before sysdep dir checking.
30974
9bbd0ddc
PB
309752010-08-20 Petr Baudis <pasky@suse.cz>
30976
30977 * LICENSES: Sync the sunrpc license.
30978
9da4bb31
UD
309792010-08-19 Ulrich Drepper <drepper@redhat.com>
30980
a7ab6ec8
UD
30981 * sunrpc/auth_des.c: Update copyright notice once again.
30982 * sunrpc/auth_none.c: Likewise.
30983 * sunrpc/auth_unix.c: Likewise.
30984 * sunrpc/authdes_prot.c: Likewise.
30985 * sunrpc/authuxprot.c: Likewise.
30986 * sunrpc/bindrsvprt.c: Likewise.
30987 * sunrpc/clnt_gen.c: Likewise.
30988 * sunrpc/clnt_perr.c: Likewise.
30989 * sunrpc/clnt_raw.c: Likewise.
30990 * sunrpc/clnt_simp.c: Likewise.
30991 * sunrpc/clnt_tcp.c: Likewise.
30992 * sunrpc/clnt_udp.c: Likewise.
30993 * sunrpc/clnt_unix.c: Likewise.
30994 * sunrpc/des_crypt.c: Likewise.
30995 * sunrpc/des_soft.c: Likewise.
30996 * sunrpc/get_myaddr.c: Likewise.
30997 * sunrpc/getrpcport.c: Likewise.
30998 * sunrpc/key_call.c: Likewise.
30999 * sunrpc/key_prot.c: Likewise.
31000 * sunrpc/openchild.c: Likewise.
31001 * sunrpc/pm_getmaps.c: Likewise.
31002 * sunrpc/pm_getport.c: Likewise.
31003 * sunrpc/pmap_clnt.c: Likewise.
31004 * sunrpc/pmap_prot.c: Likewise.
31005 * sunrpc/pmap_prot2.c: Likewise.
31006 * sunrpc/pmap_rmt.c: Likewise.
31007 * sunrpc/rpc/auth.h: Likewise.
31008 * sunrpc/rpc/auth_unix.h: Likewise.
31009 * sunrpc/rpc/clnt.h: Likewise.
31010 * sunrpc/rpc/des_crypt.h: Likewise.
31011 * sunrpc/rpc/key_prot.h: Likewise.
31012 * sunrpc/rpc/netdb.h: Likewise.
31013 * sunrpc/rpc/pmap_clnt.h: Likewise.
31014 * sunrpc/rpc/pmap_prot.h: Likewise.
31015 * sunrpc/rpc/pmap_rmt.h: Likewise.
31016 * sunrpc/rpc/rpc.h: Likewise.
31017 * sunrpc/rpc/rpc_des.h: Likewise.
31018 * sunrpc/rpc/rpc_msg.h: Likewise.
31019 * sunrpc/rpc/svc.h: Likewise.
31020 * sunrpc/rpc/svc_auth.h: Likewise.
31021 * sunrpc/rpc/types.h: Likewise.
31022 * sunrpc/rpc/xdr.h: Likewise.
31023 * sunrpc/rpc_clntout.c: Likewise.
31024 * sunrpc/rpc_cmsg.c: Likewise.
31025 * sunrpc/rpc_common.c: Likewise.
31026 * sunrpc/rpc_cout.c: Likewise.
31027 * sunrpc/rpc_dtable.c: Likewise.
31028 * sunrpc/rpc_hout.c: Likewise.
31029 * sunrpc/rpc_main.c: Likewise.
31030 * sunrpc/rpc_parse.c: Likewise.
31031 * sunrpc/rpc_parse.h: Likewise.
31032 * sunrpc/rpc_prot.c: Likewise.
31033 * sunrpc/rpc_sample.c: Likewise.
31034 * sunrpc/rpc_scan.c: Likewise.
31035 * sunrpc/rpc_scan.h: Likewise.
31036 * sunrpc/rpc_svcout.c: Likewise.
31037 * sunrpc/rpc_tblout.c: Likewise.
31038 * sunrpc/rpc_util.c: Likewise.
31039 * sunrpc/rpc_util.h: Likewise.
31040 * sunrpc/rpcinfo.c: Likewise.
31041 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31042 * sunrpc/rpcsvc/key_prot.x: Likewise.
31043 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31044 * sunrpc/rpcsvc/mount.x: Likewise.
31045 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31046 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31047 * sunrpc/rpcsvc/rex.x: Likewise.
31048 * sunrpc/rpcsvc/rstat.x: Likewise.
31049 * sunrpc/rpcsvc/rusers.x: Likewise.
31050 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31051 * sunrpc/rpcsvc/spray.x: Likewise.
31052 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31053 * sunrpc/rtime.c: Likewise.
31054 * sunrpc/svc.c: Likewise.
31055 * sunrpc/svc_auth.c: Likewise.
31056 * sunrpc/svc_authux.c: Likewise.
31057 * sunrpc/svc_raw.c: Likewise.
31058 * sunrpc/svc_run.c: Likewise.
31059 * sunrpc/svc_simple.c: Likewise.
31060 * sunrpc/svc_tcp.c: Likewise.
31061 * sunrpc/svc_udp.c: Likewise.
31062 * sunrpc/svc_unix.c: Likewise.
31063 * sunrpc/svcauth_des.c: Likewise.
31064 * sunrpc/xcrypt.c: Likewise.
31065 * sunrpc/xdr.c: Likewise.
31066 * sunrpc/xdr_array.c: Likewise.
31067 * sunrpc/xdr_float.c: Likewise.
31068 * sunrpc/xdr_mem.c: Likewise.
31069 * sunrpc/xdr_rec.c: Likewise.
31070 * sunrpc/xdr_ref.c: Likewise.
31071 * sunrpc/xdr_sizeof.c: Likewise.
31072 * sunrpc/xdr_stdio.c: Likewise.
31073
9da4bb31
UD
31074 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31075 handling.
31076
bdaa77bc
AS
310772010-08-19 Andreas Schwab <schwab@redhat.com>
31078
31079 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31080
fe2f79db
LM
310812010-08-19 Luis Machado <luisgpm@br.ibm.com>
31082
31083 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31084 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31085 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31086 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31087 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31088 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31089 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31090 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31091 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31092 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31093 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31094 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31095 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31096 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31097
b9b42ee0
AB
310982010-07-26 Anton Blanchard <anton@samba.org>
31099
31100 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31101 * malloc/arena.c (heap_trim): Likewise.
31102
1c06ba31
UD
311032010-08-16 Ulrich Drepper <drepper@redhat.com>
31104
31105 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31106 here. Not...
31107 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31108 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31109
f8392f40
L
311102010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31111
31112 * sysdeps/i386/elf/Makefile: New file.
31113
3162f12e
AS
311142010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31115
31116 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31117 from fanotify_init.
31118 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31119 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31120
28c90b2c
UD
311212010-08-15 Ulrich Drepper <drepper@redhat.com>
31122
31123 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31124 of strncasecmp_l.
1feccb6c 31125 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31126
ca6bb004
UD
311272010-08-14 Ulrich Drepper <drepper@redhat.com>
31128
e9f82e0d
UD
31129 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31130 strncase_l-nonascii.
31131 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31132 Add strncase_l-ssse3.
31133 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31134 * sysdeps/x86_64/strcmp.S: Likewise.
31135 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31136 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31137 * sysdeps/x86_64/strncase.S: New file.
31138 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31139 * sysdeps/x86_64/strncase_l.S: New file.
31140 * string/Makefile (strop-tests): Add strncasecmp.
31141 * string/test-strncasecmp.c: New file.
31142
31143 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31144 warning.
31145
ca6bb004
UD
31146 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31147 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31148
052fa7b3
AS
311492010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31150
31151 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31152
962dba78
UD
311532010-08-12 Ulrich Drepper <drepper@redhat.com>
31154
31155 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31156 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31157 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31158
bebff237
AM
311592010-05-01 Alan Modra <amodra@gmail.com>
31160
31161 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31162 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31163 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31164 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31165 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31166 tidying. Don't tail-call __sigjmp_save for static lib.
31167 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31168 save location.
31169 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31170 (CALL_MCOUNT): Add eh info, and nop after bl.
31171 (TAIL_CALL_SYSCALL_ERROR): New macro.
31172 (PSEUDO_RET): Use it.
31173 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31174 Correct save location of integer regs and cr.
31175 (_dl_profile_resolve): Correct cr save location. Delete nops
31176 after bl when SHARED. Reduce cfi size a little by better
31177 placement of cfi directives.
31178 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31179 make a stack frame. Instead use parm save area as a temp.
31180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31181 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31183 Don't make a stack frame for parent, use parm save area.
31184 Increase child stack frame to 112 bytes. Don't save unused reg,
31185 and adjust reg usage. Set up cfi on error recovery and
31186 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31188 (__makecontext): Add dummy nop after jump to exit.
31189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31190 Use correct parm save area and cr save, reduce stack frame.
31191 Correct cfi for possible PSEUDO_RET frame setup.
31192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31193 Branch to local label emitted by PSEUDO_RET rather than
31194 __syscall_error.
31195
02637374
AS
311962010-08-12 Andreas Schwab <schwab@redhat.com>
31197
31198 [BZ #11904]
31199 * locale/programs/locale.c (print_assignment): New function.
31200 (show_locale_vars): Use it.
31201
c3e2f19b
UD
312022010-08-11 Ulrich Drepper <drepper@redhat.com>
31203
3cdaa6ad
UD
31204 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31205 field.
31206 (struct statfs64): Likewise.
31207 (_STATFS_F_FLAGS): Define.
31208 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31209 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31210 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31211 (ST_VALID): Define locally.
31212 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31213 __statvfs_getflags, use the provided value.
31214 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31215 __ASSUME_STATFS_F_FLAGS.
31216
754f7da3
UD
31217 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31218
10b3bedc
UD
31219 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31220 Add sys/fanotify.h.
31221 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31222 fanotify_mask for GLIBC_2.13.
31223 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31224 fanotify_init and fanotify_mark.
31225 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31226 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31227
c08fb0d7
UD
31228 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31229 Add prlimit.
31230 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31231 prlimit64 for GLIBC_2.13.
31232 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31233 prlimit64.
31234 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31235 syscall.
31236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31237 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31238 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31239 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31240 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31241 add prlimit alias.
31242 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31243
15bac72b
UD
31244 [BZ #11903]
31245 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31246 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31247
c3e2f19b
UD
31248 * nss/Makefile: Add rules to build and run tst-nss-test1.
31249 * shlib-versions: Add entry for libnss_test1.
31250 * nss/nss_test1.c: New file.
31251 * nss/tst-nss-test1.c: New file.
31252
31253 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31254 (__nss_configure_lookup): Set appropriate entry in
31255 __nss_configure_lookup to true.
31256 * nss/nsswitch.h: Define enum with indeces of databases in
31257 databases and __nss_database_custom arrays. Declare
31258 __nss_database_custom.
31259 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31260 to avoid using nscd when custom rules are installed.
31261 * nss/getXXbyYY_r.c: Likewise.
31262 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31263
31264 * nss/nss_files/files-parse.c: Whitespace fixes.
31265
f15ce4d8
UD
312662010-08-09 Ulrich Drepper <drepper@redhat.com>
31267
31268 [BZ #11883]
31269 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31270 * posix/fnmatch_loop.c: Likewise.
31271
d22e4cc9
AK
312722010-07-17 Andi Kleen <ak@linux.intel.com>
31273
31274 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31275 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31276 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31277 * Versions.def [GLIBC_2.13]: Add.
31278
805bc17d
UD
312792010-08-06 Ulrich Drepper <drepper@redhat.com>
31280
31281 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31282 Also fail if tpwd after pwuid call is NULL.
31283
5a42321d
ST
312842010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31285
31286 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31287 when converting to ms.
31288
fd3ebeda
ST
312892010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31290
31291 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31292 EOPNOTSUPP errors with ENOTTY.
31293 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31294 EOPNOTSUPP errors with ENOTTY.
31295
73507d3a
UD
312962010-07-31 Ulrich Drepper <drepper@redhat.com>
31297
31298 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31299 Add strcasecmp_l-ssse3.
31300 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31301 strcasecmp.
31302 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31303 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31304 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31305
fe36dd02
UD
313062010-07-30 Ulrich Drepper <drepper@redhat.com>
31307
66f6765a
UD
31308 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31309
42e08a54
UD
31310 * string/Makefile (strop-tests): Add strcasecmp.
31311 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31312 strcasecmp_l-nonascii.
31313 (gen-as-const-headers): Add locale-defines.sym.
31314 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31315 * sysdeps/x86_64/strcasecmp.S: New file.
31316 * sysdeps/x86_64/strcasecmp_l.S: New file.
31317 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31318 * sysdeps/x86_64/locale-defines.sym: New file.
31319 * string/test-strcasecmp.c: New file.
31320
fe36dd02
UD
31321 * string/test-strcasestr.c: Test both ends of the range of characters.
31322 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31323
48cbc0d6
RM
313242010-07-29 Roland McGrath <roland@redhat.com>
31325
76e6d6bc 31326 [BZ #11856]
48cbc0d6
RM
31327 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31328
880113d9
UD
313292010-07-27 Ulrich Drepper <drepper@redhat.com>
31330
31331 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31332 for ld.so.
31333
deb9cabb
AS
313342010-07-27 Andreas Schwab <schwab@redhat.com>
31335
31336 * manual/memory.texi (Malloc Tunable Parameters): Document
31337 M_PERTURB.
31338
1c7570ff
RM
313392010-07-26 Roland McGrath <roland@redhat.com>
31340
31341 [BZ #11840]
31342 * configure.in (-fgnu89-inline check): Set and substitute
31343 gnu89_inline, not libc_cv_gnu89_inline.
31344 * configure: Regenerated.
31345 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31346
24fb0f88
UD
313472010-07-26 Ulrich Drepper <drepper@redhat.com>
31348
31349 * string/test-strnlen.c: New file.
31350 * string/Makefile (strop-tests): Add strnlen.
31351 * string/tester.c (test_strnlen): Add a few more test cases.
31352 * string/tst-strlen.c: Better error reporting.
31353
31354 * sysdeps/x86_64/strnlen.S: New file.
31355
8e96b93a
UD
313562010-07-24 Ulrich Drepper <drepper@redhat.com>
31357
31358 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31359 lower-latency instructions.
31360
dbc676d4
UD
313612010-07-23 Ulrich Drepper <drepper@redhat.com>
31362
31363 * string/test-strcasestr.c: New file.
31364 * string/test-strstr.c: New file.
31365 * string/Makefile (strop-tests): Add strstr and strcasestr.
31366 * string/str-two-way.h: Don't undefine MAX.
31367 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31368
f6a31e0e
AS
313692010-07-21 Andreas Schwab <schwab@redhat.com>
31370
31371 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31372 strcasestr-nonascii.
31373 (CFLAGS-strcasestr-nonascii.c): Define.
31374 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31375 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31376 Remove unused attribute.
31377
5dbc3b6c
RM
313782010-07-20 Roland McGrath <roland@redhat.com>
31379
31380 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31381 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31382 ld.so.cache was broken. With it, there is no way to disable dsocaps
31383 like LD_HWCAP_MASK can disable hwcaps.
31384
23d101d8
EPM
313852010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31386
31387 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31388
cc9f2e47
UD
313892010-07-16 Ulrich Drepper <drepper@redhat.com>
31390
31391 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31392 call in strcasestr.
31393 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31394 __strcasestr_sse42_nonascii.
31395 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31396 strcasestr-nonascii.c.
31397 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31398
77c1b069
LM
313992010-06-15 Luis Machado <luisgpm@br.ibm.com>
31400
31401 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31402 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31403 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31404 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31405
440566c3
UD
314062010-07-09 Ulrich Drepper <drepper@redhat.com>
31407
31408 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31409 fcntl.
31410
5be9d05d
AS
314112010-07-06 Andreas Schwab <schwab@redhat.com>
31412
c30b7ee2 31413 [BZ #11577]
5be9d05d
AS
31414 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31415 dl_signal_cerror.
31416
8a492a67
UD
314172010-07-06 Ulrich Drepper <drepper@redhat.com>
31418
31419 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31420 _PC_PIPE_BUF using F_GETPIPE_SZ.
31421
713df3d5
RM
314222010-07-05 Roland McGrath <roland@redhat.com>
31423
31424 * manual/arith.texi (Rounding Functions): Fix rint description
31425 implicit in round description.
31426
702e8f14
UD
314272010-07-02 Ulrich Drepper <drepper@redhat.com>
31428
31429 * elf/Makefile: Fix linking for a few tests to make recent linker
31430 happy.
31431
52ed8be9
AS
314322010-06-30 Andreas Schwab <schwab@redhat.com>
31433
31434 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31435 $(common-objpfx)libc_nonshared.a.
31436
f47c9a11
LM
314372010-06-21 Luis Machado <luisgpm@br.ibm.com>
31438
31439 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31440 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31441 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31442 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31443 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31444 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31445 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31446 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31461 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31462 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31463 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31464 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31465 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31466 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31467 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31468 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31469 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31470 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31471 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31472 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31487
6fb8cbcb
L
314882010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31489
31490 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31491 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31492 * string/memmove.c (memmove): Renamed to ...
31493 (MEMMOVE): ...this. Default to memmove.
31494 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31495 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31496 (END_CHK): Define.
31497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31498 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31499 mempcpy-ssse3-back memmove-ssse3-back.
31500 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31501 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31502 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31503 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31504 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31505 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31506 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31507 * sysdeps/x86_64/multiarch/memmove.c: New file.
31508 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31509 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31510 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31511 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31512 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31513 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31514 Define.
31515 (index_Fast_Copy_Backward): Define.
31516 (HAS_ARCH_FEATURE): Define.
31517 (HAS_FAST_REP_STRING): Define.
31518 (HAS_FAST_COPY_BACKWARD): Define.
31519
4e733bac 315202010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31521
31522 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31523 Restore proper fallback handling.
31524
63c4ed22
UD
315252010-06-19 Ulrich Drepper <drepper@redhat.com>
31526
ac2b484c
UD
31527 [BZ #11701]
31528 * posix/group_member.c (__group_member): Correct checking loop.
31529
63c4ed22
UD
31530 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31531 OOM in getpwuid_r correctly. Return error number when the caller
31532 should return, otherwise -1.
31533 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31534 call returning > 0 value.
31535 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31536
765ade4b
AS
315372010-06-07 Andreas Schwab <schwab@redhat.com>
31538
31539 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31540 libc_nonshared.a from targets in modules-names.
31541
80da2e09
KS
315422010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31543
31544 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31545 requires it.
31546
158db122
LM
315472010-06-10 Luis Machado <luisgpm@br.ibm.com>
31548
31549 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31550 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31551 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31552 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31553
caa78cf8
AS
315542010-06-02 Andreas Schwab <schwab@redhat.com>
31555
31556 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31557
b2ef2c01
UD
315582010-06-14 Ulrich Drepper <drepper@redhat.com>
31559
31560 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31561 and F_GETPIPE_SZ.
31562 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31563 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31564 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31565 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31566 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31567 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31568
fbd643b6
RM
315692010-06-14 Roland McGrath <roland@redhat.com>
31570
31571 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31572
f32f2869
JJ
315732010-06-07 Jakub Jelinek <jakub@redhat.com>
31574
31575 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31576 __REDIRECT followed by __THROW.
31577 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31578 * posix/getopt.h (getopt): Likewise.
31579
2a50c078
EPM
315802010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31581
31582 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31583 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31584 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31585 in AT_FLAGS.
31586 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31587 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31588
eb5ad2eb
LM
315892010-05-28 Luis Machado <luisgpm@br.ibm.com>
31590
31591 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31592
3c88fe1e
L
315932010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31594
31595 [BZ #11640]
31596 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31597 Properly check family and model.
31598
d2f73151
TY
315992010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31600
31601 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31602
ebd2e13d
LM
316032010-05-24 Luis Machado <luisgpm@br.ibm.com>
31604
31605 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31606
b32b8b45
UD
316072010-05-21 Ulrich Drepper <drepper@redhat.com>
31608
31609 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31610 symbol reference.
31611
9acbe24d
AS
316122010-05-19 Andreas Schwab <schwab@redhat.com>
31613
31614 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31615 symbol reference.
31616
f0ccf6ea
AS
316172010-05-21 Andreas Schwab <schwab@redhat.com>
31618
3d04ff3a
AS
31619 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31620 and internal_recvmmsg.
31621 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31622 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31623 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31624 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31625
f0ccf6ea
AS
31626 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31627 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31628 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31629
5b08ac57
AS
316302010-05-20 Andreas Schwab <schwab@redhat.com>
31631
31632 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31633
4828935d
LM
316342010-05-17 Luis Machado <luisgpm@br.ibm.com>
31635
31636 POWER7 optimizations.
31637 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31638 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31639
373d545e
UD
316402010-05-19 Ulrich Drepper <drepper@redhat.com>
31641
31642 * version.h: Update for 2.13 development version.
31643
21a2b1ae
AS
316442010-05-12 Andrew Stubbs <ams@codesourcery.com>
31645
31646 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31647 exceptions. Return 0.
31648
3f7dcb2b
RM
316492010-05-07 Roland McGrath <roland@redhat.com>
31650
31651 * elf/ldconfig.c (main): Add a const.
31652
5f24d53a 316532010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 31654
a160f8d8
UD
31655 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31656 (args_options): Add no-idn option.
31657 (ahosts_keys_int): Add idn_flags to ai_flags.
31658 (parse_option): Handle 'i' option to clear idn_flags.
31659
5f24d53a
UD
31660 * malloc/malloc.c (_int_free): Possible race in the most recently
31661 added check. Only act on the data if no current modification
31662 happened.
265bb1ce
UD
31663
31664See ChangeLog.17 for earlier changes.
This page took 4.043909 seconds and 5 git commands to generate.