]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Use rtld-CPPFLAGS in rtld-%.os rules for generated sources.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
bfcacbde
RM
12013-06-18 Roland McGrath <roland@hack.frob.com>
2
3 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4 (rtld-compile-command.s, rtld-compile-command.c): New variables.
5 ($(objpfx)rtld-%.os rules): Use them.
6
e55a9b25
AZ
72013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8
9 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10 fields.
11
346d65b3
RM
122013-06-17 Roland McGrath <roland@hack.frob.com>
13
12086fb4
RM
14 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15 length of target pattern, then descending length of dependency pattern.
16 * configure.in (AWK): Require gawk 3.1.2 or newer.
17 * manual/install.texi (Tools for Compilation): Say that we do.
18 * configure: Regenerated.
19
346d65b3
RM
20 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
21 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
22 * scripts/sysd-rules.awk: ... this new script.
23 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24 than a glob-style pattern.
25
1a846317
JM
262013-06-17 Joseph Myers <joseph@codesourcery.com>
27
28 * math/test-misc.c (main): Do not treat incorrectly rounded
29 conversions as failure unless ROUNDING_TESTS passes.
30
8fc75e6f
JM
312013-06-15 Joseph Myers <joseph@codesourcery.com>
32
3711a167
JM
33 [BZ #15631]
34 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
35 restore exception state around main square root computation, then
36 check for inexactness explicitly.
37
8fc75e6f
JM
38 * math/libm-test.inc (fma_test_data): Add another test.
39
61dd6208
SP
402013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
41
adf23d2c
SP
42 * manual/threads.texi (Non-POSIX Extensions): New document
43 node. Document pthread_getattr_default_np and
44 pthread_setattr_default_np.
45
61dd6208
SP
46 * Versions.def (libpthread): Add GLIBC_2.18.
47 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
48 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49 Likewise.
50 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51 Likewise.
52 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
53 Likewise.
54 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55 Likewise.
56 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
57 Likewise.
58 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
59 Likewise.
60 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61 Likewise.
62 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
63 Likewise.
64 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65 Likewise.
66
d086fc7b
LD
672013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
68
69 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
70 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
71
747ef469
SP
722013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
73 H.J. Lu <hjl.tools@gmail.com>
74
75 [BZ #15627]
76 * sysdeps/x86_64/rtld-memset.c: Remove file.
77 * sysdeps/x86_64/rtld-memset.S: New file.
78
1b2feed2
JM
792013-06-14 Joseph Myers <joseph@codesourcery.com>
80
81 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
82 (test_in_one_mode): Take arguments for whether the rounding mode
83 is supported for each floating-point type.
84 (do_test): Pass new arguments to test_in_one_mode using
85 ROUNDING_TESTS.
86
a58ad3f8
RM
872013-06-13 Roland McGrath <roland@hack.frob.com>
88
89 * posix/tst-waitid.c (do_test): Distinguish different instances of
90 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
91 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
92 before entering the kernel for waitpid.
93
c204ab28
SP
942013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
95
96 * NEWS: Fix note on clock function precision. Text by Roland
97 McGrath.
98
f4a29fba
RM
992013-06-13 Roland McGrath <roland@hack.frob.com>
100
101 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
102 it into place only when and if the sanity check passes.
103
1f24b9ad
JM
1042013-06-13 Joseph Myers <joseph@codesourcery.com>
105
106 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
107 output for whether conversion result is exact. Take argument
108 indicating whether type is IBM long double.
109 (round_for_all): Change need_exact field to ibm_ld.
110 * stdlib/tst-strtod-round.c (struct exactness): New type.
111 (struct test): Change bool ld_ok field to struct exactness exact.
112 (TEST): Update all definitions for change to field.
113 (tests): Regenerate array contents.
114 (test_in_one_mode): Take pointer to new field instead of old ld_ok
115 field value. Check for IBM long double here.
116 (do_test): Update calls to test_in_one_mode.
117
58206c68
SP
1182013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
119
120 [BZ #12515]
121 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
122 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
123
2d6f4c5b 1242013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
125
126 [BZ #15605]
127 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
128 generated by the compiler on loop optimizations.
129 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
130 general definitions.
131
94f2c076
JM
1322013-06-12 Joseph Myers <joseph@codesourcery.com>
133
134 * math/bug-nextafter.c: Include <math-tests.h>.
135 (main): Only test for exceptions if EXCEPTION_TESTS is true for
136 the relevant type.
137 * math/bug-nexttoward.c: Include <math-tests.h>.
138 (main): Only test for exceptions if EXCEPTION_TESTS is true for
139 the relevant type.
140 * math/test-misc.c: Include <math-tests.h>.
141 (main): Only test for exceptions if EXCEPTION_TESTS is true for
142 the relevant type.
143
e0e50a0a
AJ
1442013-06-12 Andreas Jaeger <aj@suse.de>
145
146 * po/ia.po: Update Interlingua translation from translation
147 project.
148
25061094
SP
1492013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
150
151 * include/fenv.h: Include stdbool.h.
152 (struct rm_ctx): New structure.
153 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
154 Define macro.
155 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
156 (SET_RESTORE_ROUNDF): Likewise.
157 (SET_RESTORE_ROUNDL): Likewise.
158 (SET_RESTORE_ROUND_NOEX): Likewise.
159 (SET_RESTORE_ROUND_NOEXF): Likewise.
160 (SET_RESTORE_ROUND_NOEXL): Likewise.
161 (SET_RESTORE_ROUND_53BIT): Likewise.
162 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
163 (libc_feresetround_noexf_ctx): Likewise.
164 (libc_feresetround_noexl_ctx): Likewise.
165 (libc_feholdsetround_53bit_ctx): Likewise.
166 (libc_feresetround_53bit_ctx): Likewise.
167 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
168 (libc_feholdexcept_setround_sse_ctx): New function.
169 (libc_fesetenv_sse_ctx): Likewise.
170 (libc_feupdateenv_sse_ctx): Likewise.
171 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
172 (libc_feholdexcept_setround_387_ctx): Likewise.
173 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
174 (libc_feholdsetround_387_prec_ctx): Likewise.
175 (libc_feholdsetround_387_ctx): Likewise.
176 (libc_feholdsetround_387_53bit_ctx): Likewise.
177 (libc_feholdsetround_sse_ctx): Likewise.
178 (libc_feresetround_sse_ctx): Likewise.
179 (libc_feresetround_387_ctx): Likewise.
180 (libc_feupdateenv_387_ctx): Likewise.
181 (libc_feholdexcept_setroundf_ctx): Define macro.
182 (libc_fesetenvf_ctx): Likewise.
183 (libc_feupdateenvf_ctx): Likewise.
184 (libc_feholdsetroundf_ctx): Likewise.
185 (libc_feresetroundf_ctx): Likewise.
186 (libc_feholdexcept_setround_ctx): Likewise.
187 (libc_fesetenv_ctx): Likewise.
188 (libc_feupdateenv_ctx): Likewise.
189 (libc_feholdsetround_ctx): Likewise.
190 (libc_feresetround_ctx): Likewise.
191 (libc_feholdexcept_setroundl_ctx): Likewise.
192 (libc_feupdateenvl_ctx): Likewise.
193 (libc_feholdsetroundl_ctx): Likewise.
194 (libc_feresetroundl_ctx): Likewise.
195 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
196 (libc_feresetround_53bit_ctx): Likewise.
197
59b30555
SP
1982013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
199
200 * locale/iso-639.def: Convert to UTF-8.
201
f1d73d30
JM
2022013-06-11 Joseph Myers <joseph@codesourcery.com>
203
204 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
205 (EXCEPTION_TESTS_double): Likewise.
206 (EXCEPTION_TESTS_long_double): Likewise.
207 (EXCEPTION_TESTS): Likewise.
208 * math/libm-test.inc (test_exceptions): Only test exceptions if
209 EXCEPTION_TESTS (FLOAT).
210
94aca5e7
SP
2112013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
212
213 * benchtests/Makefile (string-bench): Add strcpy_chk and
214 stpcpy_chk.
215 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
216 * benchtests/bench-stpcpy_chk.c: New file.
217 * benchtests/bench-strcpy_chk-ifunc.c: New file.
218 * benchtests/bench-strcpy_chk.c: New file.
219 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
220 code.
221 (do_test): Likewise.
222
fac0c5f2
RA
2232013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
224
225 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
226 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
227 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
228 with tabs where appropriate.
229 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
230 dl-procinfo.h.
231 [PPC_PLATFORM_PPC440]: Likewise.
232 [PPC_PLATFORM_PPC464]: Likewise.
233 [PPC_PLATFORM_PPC476]: Likewise.
234 (_dl_string_platform): Add support for detecting ppc405, ppc440,
235 ppc464, and ppc476 platform strings merging from ports/
236 dl-procinfo.h.
237
f22bc486
AS
2382013-06-11 Andreas Schwab <schwab@suse.de>
239
240 [BZ #14991]
241 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
242 (from_ucs4_idx): Regenerate.
243 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
244 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
245 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
246 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
247 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
248 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
249 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
250 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
251 from FROM_LOOP and TO_LOOP specific macros.
252 (BODY): Handle combining characters.
253 * iconvdata/BIG5HKSCS.irreversible: Update.
254 * iconvdata/BIG5HKSCS.precomposed: New file.
255 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
256 characters.
257 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
258
c1f75dc3
SP
2592013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
260
4eacded2
SP
261 * include/sys/time.h: Fix indentation and add copyright header.
262
fec799f8
SP
263 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
264 (do_test): Likewise.
265 * string/test-memchr.c (do_one_test): Likewise.
266 (do_test): Likewise.
267 * string/test-memcmp.c (do_one_test): Likewise.
268 (do_test): Likewise.
269 * string/test-memcpy.c (do_one_test): Likewise.
270 (do_test): Likewise.
271 * string/test-memmem.c (do_one_test): Likewise.
272 (do_test): Likewise.
273 (do_random_tests): Likewise.
274 * string/test-memmove.c (do_one_test): Likewise.
275 (do_test): Likewise.
276 * string/test-memset.c (do_one_test): Likewise.
277 (do_test): Likewise.
278 * string/test-rawmemchr.c (do_one_test): Likewise.
279 (do_test): Likewise.
280 * string/test-strcasecmp.c (do_one_test): Likewise.
281 (do_test): Likewise.
282 * string/test-strcasestr.c (do_one_test): Likewise.
283 (do_test): Likewise.
284 * string/test-strcat.c (do_one_test): Likewise.
285 (do_test): Likewise.
286 * string/test-strchr.c (do_one_test): Likewise.
287 (do_test): Likewise.
288 * string/test-strcmp.c (do_one_test): Likewise.
289 (do_test): Likewise.
290 * string/test-strcpy.c (do_one_test): Likewise.
291 (do_test): Likewise.
292 * string/test-string.h: Likewise.
293 (test_init): Likewise.
294 * string/test-strlen.c (do_one_test): Likewise.
295 (do_test): Likewise.
296 * string/test-strncasecmp.c (do_one_test): Likewise.
297 (do_test): Likewise.
298 * string/test-strncat.c (do_one_test): Likewise.
299 (do_test): Likewise.
300 * string/test-strncmp.c (do_one_test): Likewise.
301 (do_test_limit): Likewise.
302 (do_test): Likewise.
303 * string/test-strncpy.c (do_one_test): Likewise.
304 (do_test): Likewise.
305 * string/test-strnlen.c (do_one_test): Likewise.
306 (do_test): Likewise.
307 * string/test-strpbrk.c (do_one_test): Likewise.
308 (do_test): Likewise.
309 * string/test-strrchr.c (do_one_test): Likewise.
310 (do_test): Likewise.
311 * string/test-strspn.c (do_one_test): Likewise.
312 (do_test): Likewise.
313 * string/test-strstr.c (do_one_test): Likewise.
314 (do_test): Likewise.
315
97020474
SP
316 * benchtests/Makefile (string-bench): Add string benchmarks.
317 * benchtests/bench-bcopy-ifunc.c: New file.
318 * benchtests/bench-bcopy.c: New file.
319 * benchtests/bench-bzero-ifunc.c: New file.
320 * benchtests/bench-bzero.c: New file.
321 * benchtests/bench-memccpy-ifunc.c: New file.
322 * benchtests/bench-memccpy.c: New file.
323 * benchtests/bench-memchr-ifunc.c: New file.
324 * benchtests/bench-memchr.c: New file.
325 * benchtests/bench-memcmp-ifunc.c: New file.
326 * benchtests/bench-memcmp.c: New file.
327 * benchtests/bench-memmem-ifunc.c: New file.
328 * benchtests/bench-memmem.c: New file.
329 * benchtests/bench-memmove-ifunc.c: New file.
330 * benchtests/bench-memmove.c: New file.
331 * benchtests/bench-mempcpy-ifunc.c: New file.
332 * benchtests/bench-mempcpy.c: New file.
333 * benchtests/bench-memset-ifunc.c: New file.
334 * benchtests/bench-memset.c: New file.
335 * benchtests/bench-rawmemchr-ifunc.c: New file.
336 * benchtests/bench-rawmemchr.c: New file.
337 * benchtests/bench-stpcpy-ifunc.c: New file.
338 * benchtests/bench-stpcpy.c: New file.
339 * benchtests/bench-stpncpy-ifunc.c: New file.
340 * benchtests/bench-stpncpy.c: New file.
341 * benchtests/bench-strcasecmp-ifunc.c: New file.
342 * benchtests/bench-strcasecmp.c: New file.
343 * benchtests/bench-strcasestr-ifunc.c: New file.
344 * benchtests/bench-strcasestr.c: New file.
345 * benchtests/bench-strcat-ifunc.c: New file.
346 * benchtests/bench-strcat.c: New file.
347 * benchtests/bench-strchr-ifunc.c: New file.
348 * benchtests/bench-strchr.c: New file.
349 * benchtests/bench-strchrnul-ifunc.c: New file.
350 * benchtests/bench-strchrnul.c: New file.
351 * benchtests/bench-strcmp-ifunc.c: New file.
352 * benchtests/bench-strcmp.c: New file.
353 * benchtests/bench-strcpy-ifunc.c: New file.
354 * benchtests/bench-strcpy.c: New file.
355 * benchtests/bench-strcspn-ifunc.c: New file.
356 * benchtests/bench-strcspn.c: New file.
357 * benchtests/bench-strlen-ifunc.c: New file.
358 * benchtests/bench-strlen.c: New file.
359 * benchtests/bench-strncasecmp-ifunc.c: New file.
360 * benchtests/bench-strncasecmp.c: New file.
361 * benchtests/bench-strncat-ifunc.c: New file.
362 * benchtests/bench-strncat.c: New file.
363 * benchtests/bench-strncmp-ifunc.c: New file.
364 * benchtests/bench-strncmp.c: New file.
365 * benchtests/bench-strncpy-ifunc.c: New file.
366 * benchtests/bench-strncpy.c: New file.
367 * benchtests/bench-strnlen-ifunc.c: New file.
368 * benchtests/bench-strnlen.c: New file.
369 * benchtests/bench-strpbrk-ifunc.c: New file.
370 * benchtests/bench-strpbrk.c: New file.
371 * benchtests/bench-strrchr-ifunc.c: New file.
372 * benchtests/bench-strrchr.c: New file.
373 * benchtests/bench-strspn-ifunc.c: New file.
374 * benchtests/bench-strspn.c: New file.
375 * benchtests/bench-strstr-ifunc.c: New file.
376 * benchtests/bench-strstr.c: New file.
377
c1f75dc3
SP
378 * benchtests/Makefile: Disable parallel execution of targets.
379 (string-bench): Add memcpy.
380 (benchset): New variable to store a list of benchmark sets.
381 (bench-func): Renamed from bench.
382 (bench-set): New target.
383 (bench): Depend on bench-func and bench-set.
384 * benchtests/README: Add section on benchmark sets.
385 * benchtests/bench-memcpy-ifunc.c: New file.
386 * benchtests/bench-memcpy.c: New file.
387 * benchtests/bench-string.h: New file.
388
50fd745b
AS
3892013-06-11 Andreas Schwab <schwab@suse.de>
390
391 [BZ #15577]
392 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
393 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
394 values in the triple.
395 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
396 terminator in the group key.
397
3ee7e9fe
AJ
3982013-06-11 Andreas Jaeger <aj@suse.de>
399
400 * po/zh_TW.po: Update Chinese (traditional) translation from
401 translation project.
402
89fb6835
SP
4032013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
404
405 * include/time.h (__clock_gettime): Add libc_hidden_proto.
406 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
407 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
408 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
409 (clock_getcpuclockid): Likewise.
410 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
411 Add weak_alias and libc_hidden_def.
412 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
413 * rt/clock_gettime.c (clock_gettime): Rename to
414 __clock_gettime. Add weak_alias and libc_hidden_def.
415 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
416 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
417 __clock_nanosleep. Add weak_alias and libc_hidden_def.
418 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
419 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
420 Likewise.
421 * rt/clock_settime.c (clock_settime): Rename to
422 __clock_settime. Add weak_alias and libc_hidden_def.
423 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
424
0efa6f8b
JM
4252013-06-10 Joseph Myers <joseph@codesourcery.com>
426
b8c61b4b
JM
427 * mach/err_boot.sub: Remove trailing whitespace.
428 * mach/err_ipc.sub: Likewise.
429 * mach/err_mach.sub: Likewise.
430
0efa6f8b
JM
431 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
432 (ROUNDING_TESTS_double): Likewise.
433 (ROUNDING_TESTS_long_double): Likewise.
434 (ROUNDING_TESTS): Likewise.
435 * math/libm-test.inc: Include <math-tests.h>.
436 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
437 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
438 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
439 (IF_ROUND_INIT_FE_UPWARD): Likewise.
440
50b818bf
SP
4412013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
442
443 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
444 of assigning.
445
60d2f8f3
JM
4462013-06-08 Joseph Myers <joseph@codesourcery.com>
447
4902d2c3
JM
448 * sysdeps/gnu/errlist.awk: Do not generate space at end of
449 otherwise empty TRANS lines.
450 * sysdeps/gnu/errlist.c: Regenerated.
451
60d2f8f3
JM
452 * catgets/gencat.c (error_print): Use (void) in function
453 definition.
454 * crypt/crypt_util.c (__init_des): Likewise.
455 * crypt/speeds.c (Stop): Likewise.
456 (main): Likewise.
457 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
458 * inet/ruserpass.c (token): Likewise.
459 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
460 * intl/localealias.c (extend_alias_table): Likewise.
461 * intl/plural-exp.c (init_germanic_plural): Likewise.
462 * libio/fcloseall.c (__fcloseall): Likewise.
463 * libio/genops.c (_IO_flush_all): Likewise.
464 (_IO_flush_all_linebuffered): Likewise.
465 (_IO_cleanup): Likewise.
466 (_IO_iter_begin): Likewise.
467 (_IO_iter_end): Likewise.
468 (_IO_list_lock): Likewise.
469 (_IO_list_unlock): Likewise.
470 (_IO_list_resetlock): Likewise.
471 * libio/getchar.c (getchar): Likewise.
472 * libio/getchar_u.c (getchar_unlocked): Likewise.
473 * libio/getwchar.c (getwchar): Likewise.
474 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
475 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
476 * login/getpt.c (__getpt): Likewise.
477 * login/tst-utmp.c (main): Likewise.
478 * malloc/hooks.c (__malloc_check_init): Likewise.
479 * malloc/malloc.c (__malloc_stats): Likewise.
480 * malloc/mtrace.c (tr_break): Likewise.
481 (mtrace): Likewise.
482 (muntrace): Likewise.
483 * misc/fstab.c (endfsent): Likewise.
484 * misc/getclktck.c (__getclktck): Likewise.
485 * misc/getdtsz.c (__getdtablesize): Likewise.
486 * misc/gethostid.c (gethostid): Likewise.
487 * misc/getpagesize.c (__getpagesize): Likewise.
488 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
489 (__get_nprocs): Likewise.
490 (__get_phys_pages): Likewise.
491 (__get_avphys_pages): Likewise.
492 * misc/getttyent.c (getttyent): Likewise.
493 (setttyent): Likewise.
494 (endttyent): Likewise.
495 * misc/getusershell.c (getusershell): Likewise.
496 (endusershell): Likewise.
497 (setusershell): Likewise.
498 (initshells): Likewise.
499 * misc/hsearch.c (__hdestroy): Likewise.
500 * misc/sync.c (sync): Likewise.
501 * misc/syslog.c (closelog_internal): Likewise.
502 (closelog): Likewise.
503 * misc/ttyslot.c (ttyslot): Likewise.
504 * misc/vhangup.c (vhangup): Likewise.
505 * posix/fork.c (__fork): Likewise.
506 * posix/getegid.c (__getegid): Likewise.
507 * posix/geteuid.c (__geteuid): Likewise.
508 * posix/getgid.c (__getgid): Likewise.
509 * posix/getpid.c (__getpid): Likewise.
510 * posix/getppid.c (__getppid): Likewise.
511 * posix/getuid.c (__getuid): Likewise.
512 * posix/pause.c (pause): Likewise.
513 * posix/setpgrp.c (setpgrp): Likewise.
514 * posix/setsid.c (__setsid): Likewise.
515 * posix/test-vfork.c (noop): Likewise.
516 * resolv/gethnamaddr.c (_endhtent): Likewise.
517 (_gethtent): Likewise.
518 (ht_endhostent): Likewise.
519 (gethostent): Likewise.
520 (dns_service): Likewise.
521 * stdlib/drand48.c (drand48): Likewise.
522 * stdlib/lrand48.c (lrand48): Likewise.
523 * stdlib/mrand48.c (mrand48): Likewise.
524 * stdlib/rand.c (rand): Likewise.
525 * stdlib/random.c (__random): Likewise.
526 * stdlib/setenv.c (clearenv): Likewise.
527 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
528 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
529 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
530 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
531 (__get_nprocs): Likewise.
532 (__get_phys_pages): Likewise.
533 (__get_avphys_pages): Likewise.
534 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
535 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
536 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
537 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
538 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
539 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
540 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
541 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
542 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
543 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
544 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
545 * sysdeps/mach/hurd/sync.c (sync): Likewise.
546 * sysdeps/posix/clock.c (clock): Likewise.
547 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
548 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
549 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
550 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
551 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
552 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
553 (__get_nprocs_conf): Likewise.
554 (__get_phys_pages): Likewise.
555 (__get_avphys_pages): Likewise.
556 * time/clock.c (clock): Likewise.
557 * time/tzset.c (__tzname_max): Likewise.
558
2e09a79a
JM
5592013-06-07 Joseph Myers <joseph@codesourcery.com>
560
561 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
562 (__bswap_32): Do not use "register".
563 * crypt/crypt.c (_ufc_doit_r): Likewise.
564 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
565 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
566 * gmon/gmon.c (__monstartup): Likewise.
567 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
568 * hurd/hurdmalloc.c (more_memory): Likewise.
569 (malloc): Likewise.
570 (free): Likewise.
571 (realloc): Likewise.
572 (malloc_fork_prepare): Likewise.
573 (malloc_fork_parent): Likewise.
574 (malloc_fork_child): Likewise.
575 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
576 (_svcauth_des): Likewise.
577 * inet/inet_lnaof.c (inet_lnaof): Likewise.
578 * inet/inet_net.c (inet_network): Likewise.
579 * inet/inet_netof.c (inet_netof): Likewise.
580 * inet/rcmd.c (__validuser2_sa): Likewise.
581 * io/fts.c (fts_open): Likewise.
582 (fts_load): Likewise.
583 (fts_close): Likewise.
584 (fts_read): Likewise.
585 (fts_children): Likewise.
586 (fts_build): Likewise.
587 (fts_stat): Likewise.
588 (fts_sort): Likewise.
589 (fts_alloc): Likewise.
590 (fts_lfree): Likewise.
591 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
592 (_IO_file_xsgetn): Likewise.
593 (_IO_file_xsgetn_mmap): Likewise.
594 * libio/iofopncook.c (_IO_cookie_read): Likewise.
595 (_IO_cookie_write): Likewise.
596 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
597 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
598 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
599 * malloc/obstack.c (_obstack_begin): Likewise.
600 (_obstack_begin_1): Likewise.
601 (_obstack_newchunk): Likewise.
602 (_obstack_allocated_p): Likewise.
603 (obstack_free): Likewise.
604 (_obstack_memory_used): Likewise.
605 * misc/getttyent.c (getttynam): Likewise.
606 (getttyent): Likewise.
607 (skip): Likewise.
608 (value): Likewise.
609 * misc/getusershell.c (initshells): Likewise.
610 * misc/syslog.c (__vsyslog_chk): Likewise.
611 * misc/ttyslot.c (ttyslot): Likewise.
612 * nis/nis_hash.c (__nis_hash): Likewise.
613 * posix/fnmatch_loop.c (FCT): Likewise.
614 * posix/getconf.c (print_all): Likewise.
615 (main): Likewise.
616 * posix/getopt.c (exchange): Likewise.
617 * posix/glob.c (globfree): Likewise.
618 (prefix_array): Likewise.
619 (__glob_pattern_type): Likewise.
620 * resolv/arpa/nameser.h (NS_GET16): Likewise.
621 (NS_GET32): Likewise.
622 (NS_PUT16): Likewise.
623 (NS_PUT32): Likewise.
624 * resolv/gethnamaddr.c (getanswer): Likewise.
625 (gethostbyname2): Likewise.
626 (gethostbyaddr): Likewise.
627 (_gethtent): Likewise.
628 (_gethtbyname2): Likewise.
629 (_gethtbyaddr): Likewise.
630 * resolv/ns_print.c (dst_s_get_int16): Likewise.
631 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
632 * resolv/res_init.c (__res_vinit): Likewise.
633 (net_mask): Likewise.
634 * resolv/res_mkquery.c (outchar): Likewise.
635 (PRINT): Likewise.
636 * stdio-common/printf_fp.c (outchar): Likewise.
637 (PRINT): Likewise.
638 * stdio-common/printf_fphex.c (outchar): Likewise.
639 (PRINT): Likewise.
640 * stdio-common/printf_size.c (outchar): Likewise.
641 (PRINT): Likewise.
642 * stdio-common/test_rdwr.c (main): Likewise.
643 * stdio-common/tfformat.c (matches): Likewise.
644 * stdio-common/vfprintf.c (outchar): Likewise.
645 (printf_unknown): Likewise.
646 (buffered_vfprintf): Likewise.
647 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
648 * stdio-common/xbug.c (AppendToBuffer): Likewise.
649 (ReadFile): Likewise.
650 * stdlib/qsort.c (SWAP): Likewise.
651 (_quicksort): Likewise.
652 * stdlib/setenv.c (__add_to_environ): Likewise.
653 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
654 * stdlib/strtol_l.c (__strtol_l): Likewise.
655 * stdlib/tst-strtod.c (main): Likewise.
656 * stdlib/tst-strtol.c (main): Likewise.
657 * stdlib/tst-strtoll.c (main): Likewise.
658 * string/bits/string2.h (__strcmp_cc): Likewise.
659 (__strcmp_cg): Likewise.
660 (__strcspn_c1): Likewise.
661 (__strcspn_c2): Likewise.
662 (__strcspn_c3): Likewise.
663 (__strspn_c1): Likewise.
664 (__strspn_c2): Likewise.
665 (__strspn_c3): Likewise.
666 (__strsep_1c): Likewise.
667 (__strsep_2c): Likewise.
668 (__strsep_3c): Likewise.
669 * string/memccpy.c (__memccpy): Likewise.
670 * string/stpcpy.c (__stpcpy): Likewise.
671 * string/strcmp.c (strcmp): Likewise.
672 * string/strrchr.c (strrchr): Likewise.
673 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
674 Likewise.
675 * sysdeps/mach/hurd/getcwd.c
676 (_hurd_canonicalize_directory_name_internal): Likewise.
677 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
678 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
679 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
680 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
681 Likewise, in both definitions.
682 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
683 definitions.
684 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
685 64] (__bswap_64): Likewise.
686 * time/test_time.c (main): Likewise.
687 * time/tzfile.c (__tzfile_read): Likewise.
688 (__tzfile_compute): Likewise.
689 * time/tzset.c (__tzset_parse_tz): Likewise.
690 (tzset_internal): Likewise.
691 (compute_change): Likewise.
692 * wcsmbs/wcscat.c (__wcscat): Likewise.
693 * wcsmbs/wcschr.c (wcschr): Likewise.
694 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
695 * wcsmbs/wcscspn.c (wcscspn): Likewise.
696 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
697 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
698 * wcsmbs/wcsspn.c (wcsspn): Likewise.
699 * wcsmbs/wcsstr.c (wcsstr): Likewise.
700 * wcsmbs/wmemchr.c (wmemchr): Likewise.
701 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
702 * wcsmbs/wmemset.c (wmemset): Likewise.
703
9e54314b
JM
7042013-06-06 Joseph Myers <joseph@codesourcery.com>
705
706 * scripts/config.guess: Update to version 2013-05-16.
707 * scripts/config.sub: Update to version 2013-04-24.
708 * scripts/install-sh: Update to version 2011-11-20.07.
709 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
710 * scripts/move-if-change: Update to version 2012-01-06 07:23.
711
350635a5
OB
7122013-06-06 Ondřej Bílka <neleai@seznam.cz>
713
714 * debug/fgetws_u_chk.c: Fix leading whitespaces.
715 * elf/sln.c: Likewise.
716 * hurd/hurd/ioctl.h: Likewise.
717 * hurd/hurdmalloc.c: Likewise.
718 * hurd/xattr.c: Likewise.
719 * include/shlib-compat.h: Likewise.
720 * inet/ruserpass.c: Likewise.
721 * libio/iofgets_u.c: Likewise.
722 * libio/iofgetws_u.c: Likewise.
723 * locale/programs/ld-identification.c: Likewise.
724 * locale/programs/ld-time.c: Likewise.
725 * mach/msg-destroy.c: Likewise.
726 * nss/nss_files/files-netgrp.c: Likewise.
727 * resolv/res_data.c: Likewise.
728 * soft-fp/op-1.h: Likewise.
729 * soft-fp/op-2.h: Likewise.
730 * soft-fp/op-4.h: Likewise.
731 * soft-fp/op-common.h: Likewise.
732 * stdio-common/printf_fphex.c: Likewise.
733 * stdlib/strtod_l.c: Likewise.
734 * sunrpc/rpc/clnt.h: Likewise.
735 * sysdeps/generic/framestate.c: Likewise.
736 * sysdeps/i386/bsd-_setjmp.S: Likewise.
737 * sysdeps/i386/bsd-setjmp.S: Likewise.
738 * sysdeps/i386/__longjmp.S: Likewise.
739 * sysdeps/i386/setjmp.S: Likewise.
740 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
741 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
742 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
743 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
744 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
745 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
746 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
747 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
748 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
749 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
750 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
751 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
752 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
753 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
754 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
755 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
756 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
757 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
758 * sysdeps/ieee754/support.c: Likewise.
759 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
760 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
761 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
762 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
763 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
764 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
765 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
766 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
767 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
768 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
769 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
770 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
771 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
772 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
773 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
774 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
775 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
777
44a988af
OB
7782013-06-05 Ondřej Bílka <neleai@seznam.cz>
779
25506f09 780 * posix/transbug.c: Remove executable mode.
44a988af 781
9c84384c
JM
7822013-06-05 Joseph Myers <joseph@codesourcery.com>
783
784 * crypt/speeds.c: Remove trailing whitespace.
785 * dlfcn/default.c: Likewise.
786 * elf/ifuncdep2.c: Likewise.
787 * elf/ifuncmain1.c: Likewise.
788 * elf/ifuncmain1vis.c: Likewise.
789 * elf/testobj.h: Likewise.
790 * elf/tst-stackguard1.c: Likewise.
791 * gmon/sys/gmon.h: Likewise.
792 * hurd/hurdmsg.c: Likewise.
793 * hurd/new-fd.c: Likewise.
794 * hurd/ports-get.c: Likewise.
795 * iconvdata/ibm1008_420.c: Likewise.
796 * inet/tst-getni1.c: Likewise.
797 * inet/tst-getni2.c: Likewise.
798 * libio/ioungetc.c: Likewise.
799 * libio/wfiledoalloc.c: Likewise.
800 * manual/libm-err-tab.pl: Likewise.
801 * math/w_dremf.c: Likewise.
802 * misc/ftruncate.c: Likewise.
803 * posix/bug-glob2.c: Likewise.
804 * posix/tst-pcre.c: Likewise.
805 * posix/wait4.c: Likewise.
806 * resolv/README: Likewise.
807 * resolv/res_debug.h: Likewise.
808 * resolv/tst-inet_ntop.c: Likewise.
809 * setjmp/bug269-setjmp.c: Likewise.
810 * soft-fp/extended.h: Likewise.
811 * soft-fp/op-1.h: Likewise.
812 * soft-fp/op-2.h: Likewise.
813 * soft-fp/op-4.h: Likewise.
814 * soft-fp/op-8.h: Likewise.
815 * soft-fp/testit.c: Likewise.
816 * stdio-common/bug16.c: Likewise.
817 * stdlib/random.c: Likewise.
818 * sunrpc/rpcsvc/rquota.x: Likewise.
819 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
820 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
821 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
822 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
823 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
824 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
825 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
826 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
827 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
828 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
829 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
830 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
831 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
832 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
833 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
834 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
835 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
836 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
837 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
838 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
839 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
840 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
841 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
842 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
843 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
844 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
845 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
846 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
847 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
848 * sysdeps/ieee754/s_lib_version.c: Likewise.
849 * sysdeps/mach/hurd/check_fds.c: Likewise.
850 * sysdeps/mach/hurd/getsockname.c: Likewise.
851 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
852 * sysdeps/mach/hurd/recvfrom.c: Likewise.
853 * sysdeps/powerpc/bits/link.h: Likewise.
854 * sysdeps/powerpc/dl-procinfo.c: Likewise.
855 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
856 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
857 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
858 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
859 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
860 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
861 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
862 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
863 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
864 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
865 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
866 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
867 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
868 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
869 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
870 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
871 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
872 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
873 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
874 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
875 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
876 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
877 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
878 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
879 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
880 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
881 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
882 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
883 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
884 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
885 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
886 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
887 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
888 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
889 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
890 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
891 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
892 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
893 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
894 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
895 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
896 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
897 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
898 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
899 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
900 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
901 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
902 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
903 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
904 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
905 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
906 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
907 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
908 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
909 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
910 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
911 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
912 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
913 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
914 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
915 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
916 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
917 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
918 * sysdeps/powerpc/sysdep.h: Likewise.
919 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
920 * sysdeps/s390/s390-64/sub_n.S: Likewise.
921 * sysdeps/sh/dl-trampoline.S: Likewise.
922 * sysdeps/sh/memset.S: Likewise.
923 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
924 * sysdeps/sh/strlen.S: Likewise.
925 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
926 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
927 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
928 * sysdeps/sparc/sparc32/rem.S: Likewise.
929 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
930 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
931 * sysdeps/sparc/sparc32/strchr.S: Likewise.
932 * sysdeps/sparc/sparc32/udiv.S: Likewise.
933 * sysdeps/sparc/sparc32/urem.S: Likewise.
934 * sysdeps/sparc/sparc64/add_n.S: Likewise.
935 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
936 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
937 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
938 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
939 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
940 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
941 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
942 * sysdeps/unix/bsd/times.c: Likewise.
943 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
944 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
948 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
949 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
950 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
951 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
952 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
953 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
954 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
955 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
956 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
957 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
958 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
959 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
960 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
961 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
962 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
963 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
964 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
965 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
966 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
967 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
968 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
969 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
970 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
971 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
972 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
973 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
974 * sysdeps/x86_64/strcspn.S: Likewise.
975
869378a5
RA
9762013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
977
978 * locale/C-translit.h: Revert #include <stdint.h> because this is a
979 generated file. Regenerate properly from gen-translit.pl.
980 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
981 locale/C-translit.h.
982
840e2943
AS
9832013-06-05 Andreas Schwab <schwab@suse.de>
984
985 [BZ #15100]
986 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
987 week as 6 instead of -1.
988 * time/tst-strptime.c (day_tests): Add test case.
989
4c60cb0c
SP
9902013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
991
992 * sysdeps/generic/math_private.h
993 (libc_feholdexcept_setround_53bit): Replace with
994 libc_feholdsetround_53bit.
995 (libc_feupdateenv_53bit): Replace with
996 libc_feresetround_53bit.
997 (SET_RESTORE_ROUND_53BIT): Adjust.
998
d180203e
SP
9992013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1000
96df079a
SP
1001 * string/test-strchrnul.c: Add copyright header.
1002
d180203e
SP
1003 * posix/tst-getaddrinfo4.c: Increase test timeout.
1004
8b0ccb2d
CD
10052013-06-03 Carlos O'Donell <carlos@redhat.com>
1006
1007 [BZ #15536]
1008 * math/libm-test.inc (MAX_EXP): Remove
1009 (MIN_EXP): Define.
1010 (ulp): Use MIN_EXP - MANT_DIG.
1011 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1012
3b3c4d40
CD
10132013-05-31 Carlos O'Donell <carlos@redhat.com>
1014
1015 * po/be.po: Revert last change.
1016 * po/zh_CN.po: Likewise.
1017 * po/header.pot: Likewise.
1018
fab7ce3f
JM
10192013-05-31 Joseph Myers <joseph@codesourcery.com>
1020
1021 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1022 link-libc-deps to empty as target-specific variable.
1023 * Makerules (link-libc-args): New variable.
1024 (libc-for-link): Likewise.
1025 (link-libc-deps): Likewise.
1026 (lib%.so): Depend on $(link-libc-deps). Link with
1027 $(link-libc-args).
1028 (build-module): Link with $(link-libc-args).
1029 (build-module-asneeded): Likewise.
1030 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1031 list of objects.
1032 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1033 target-specific variable.
1034 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1035 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1036 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1037 libc.
1038 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1039 libc and ld.so.
1040 ($(objpfx)libpcprofile.so): Likewise.
1041 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1042 libc_nonshared.a.
1043 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1044 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1045 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1046 $(link-libc-deps).
1047 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1048 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1049 * login/Makefile ($(objpfx)libutil.so): Likewise.
1050 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1051 * math/Makefile ($(objpfx)libm.so): Likewise.
1052 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1053 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1054 variable instead of depending directly on libc.
1055 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1056 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1057 $(link-libc-deps).
1058 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1059 libc.
1060 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1061 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1062 ($(objpfx)libanl.so): Likewise.
1063 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1064 ld.so.
1065 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1066 $(link-libc-deps).
1067 * sysdeps/i386/fpu/Makefile: Remove file.
1068 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1069 ($(objpfx)libm.so): Remove dependency on ld.so.
1070
eca5920c
PF
10712013-05-30 Patsy Franklin <pfrankli@redhat.com>
1072
1073 [BZ # 15553]
1074 * nis/yp_xdr.c (XDRMAXNAME): Define.
1075 (XDRMAXRECORD): Define.
1076 (xdr_domainname): Use XDRMAXNAME.
1077 (xdr_mapname): Likewise.
1078 (xdr_peername): Likewise.
1079 (xdr_keydat): Use XDRMAXRECORD.
1080 (xdr_valdat): Likewise.
1081
10822013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1083
1084 [BZ #14256]
1085 * manual/errno.texi (ESTALE): Update to account for more than
1086 just NFS file systems.
1087 * sysdeps/gnu/errlist.c: Regenerated.
1088
b9375348
SP
10892013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1090
1091 [BZ #15465]
1092 * elf/Makefile (tests): Add tst-null-argv.
1093 (modules-names): Add tst-null-argv-lib.
1094 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1095 (tst-null-argv-ENV): Set environment for tst-null-argv.
1096 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1097 (RTLD_PROGNAME): New macro.
1098 * elf/tst-null-argv.c: New test case.
1099 * elf/tst-null-argv-lib.c: Library for test case.
1100 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1101 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1102 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1103 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1104 * elf/dl-init.c (call_init): Likewise.
1105 (_dl_init): Likewise.
1106 * elf/dl-load.c (print_search_path): Likewise.
1107 (_dl_map_object): Likewise.
1108 * elf/dl-lookup.c (do_lookup_x): Likewise.
1109 (add_dependency): Likewise.
1110 (_dl_lookup_symbol_x): Likewise.
1111 (_dl_debug_bindings): Likewise.
1112 * elf/dl-open.c (_dl_show_scope): Likewise.
1113 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1114 * elf/dl-version.c (match_symbol): Likewise.
1115 (_dl_check_map_versions): Likewise.
1116 * elf/rtld.c (dl_main): Likewise.
1117 (print_unresolved): Use RTLD_PROGNAME.
1118 (print_missing_version): Likewise.
1119 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1120 (elf_machine_rela): Likewise.
1121 * sysdeps/powerpc/powerpc32/dl-machine.c
1122 (__process_machine_rela): Likewise.
1123 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1124 Likewise.
1125 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1126 Likewise.
1127 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1128 Likewise.
1129 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1130 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1131 Likewise.
1132 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1133 Likewise.
1134 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1135
8a9f20c8
CD
11362013-05-28 Carlos O'Donell <carlos@redhat.com>
1137
1138 * po/be.po: Add descriptive title.
1139 * po/zh_CN.po: Likewise.
1140 * po/header.pot: Likewise.
1141
0e60d68e
MF
11422013-05-28 Mike Frysinger <vapier@gentoo.org>
1143
1144 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1145 error message.
1146 (enlarge_archive): Likewise.
1147
56b672e9
BN
11482013-05-28 Ben North <ben@redfrontdoor.org>
1149
1150 * manual/arith.texi (frexp): It is the magnitude of the return
1151 value which lies in [0.5, 1), not the return value itself.
1152
5e056687
AZ
11532013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1154
1155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1156
2b66ef5d
TS
11572013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1158
528c2405
TS
1159 * stdio-common/bug26.c (main): Correct fscanf template.
1160
07b4c13d
TS
1161 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1162 declare _dl_skip_args.
1163
ec9dd97c
TS
1164 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1165 Don't declare.
1166
2b66ef5d
TS
1167 * manual/platform.texi: Add missing @end deftypefun.
1168
4f8dfe27
JM
11692013-05-24 Joseph Myers <joseph@codesourcery.com>
1170
0323d086
JM
1171 [BZ #15529]
1172 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1173 bit of mantissa of 2^16382.
1174 * math/libm-test.inc (hypot_test_data): Add more tests.
1175
dd4259b9
JM
1176 * math/libm-test.inc: Add drem and pow10 to list of tested
1177 functions.
1178 (pow10_test): New function.
1179 (drem_test): Likewise.
1180 (drem_test_tonearest): Likewise.
1181 (drem_test_towardzero): Likewise.
1182 (drem_test_downward): Likewise.
1183 (drem_test_upward): Likewise.
1184 (main): Call the new functions.
1185
4f8dfe27
JM
1186 * math/libm-test.inc (finite_test_data): Remove.
1187 (finite_test): Run tests from isfinite_test_data.
1188 (gamma_test_data): Remove.
1189 (gamma_test): Run tests from lgamma_test_data.
1190 * sysdeps/i386/fpu/libm-test-ulps: Update.
1191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1192
d116b7c4
AZ
11932013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1194
1195 * manual/platform.texi: Add PowerPC PPR function set documentation.
1196 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1197 implementation.
1198
e96e3767
CD
11992013-05-24 Carlos O'Donell <carlos@redhat.com>
1200
1201 * math/libm-test.inc (MAX_EXP): Define.
1202 (ULPDIFF): Define.
1203 (ulp): New function.
1204 (check_float_internal): Use ULPDIFF.
1205 (cpow_test): Disable failing test.
1206 (check_ulp): Test ulp() implemetnation.
1207 (main): Call check_ulp before starting tests.
1208
b679a606
JM
12092013-05-24 Joseph Myers <joseph@codesourcery.com>
1210
e8bdba36
JM
1211 * math/gen-libm-test.pl (generate_testfile): Do not handle
1212 START_DATA and END_DATA.
1213 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1214 END_DATA.
1215 (acos_tonearest_test_data): Likewise.
1216 (acos_towardzero_test_data): Likewise.
1217 (acos_downward_test_data): Likewise.
1218 (acos_upward_test_data): Likewise.
1219 (acosh_test_data): Likewise.
1220 (asin_test_data): Likewise.
1221 (asin_tonearest_test_data): Likewise.
1222 (asin_towardzero_test_data): Likewise.
1223 (asin_downward_test_data): Likewise.
1224 (asin_upward_test_data): Likewise.
1225 (asinh_test_data): Likewise.
1226 (atan_test_data): Likewise.
1227 (atanh_test_data): Likewise.
1228 (atan2_test_data): Likewise.
1229 (cabs_test_data): Likewise.
1230 (cacos_test_data): Likewise.
1231 (cacosh_test_data): Likewise.
1232 (carg_test_data): Likewise.
1233 (casin_test_data): Likewise.
1234 (casinh_test_data): Likewise.
1235 (catan_test_data): Likewise.
1236 (catanh_test_data): Likewise.
1237 (cbrt_test_data): Likewise.
1238 (ccos_test_data): Likewise.
1239 (ccosh_test_data): Likewise.
1240 (ceil_test_data): Likewise.
1241 (cexp_test_data): Likewise.
1242 (cimag_test_data): Likewise.
1243 (clog_test_data): Likewise.
1244 (clog10_test_data): Likewise.
1245 (conj_test_data): Likewise.
1246 (copysign_test_data): Likewise.
1247 (cos_test_data): Likewise.
1248 (cos_tonearest_test_data): Likewise.
1249 (cos_towardzero_test_data): Likewise.
1250 (cos_downward_test_data): Likewise.
1251 (cos_upward_test_data): Likewise.
1252 (cosh_test_data): Likewise.
1253 (cosh_tonearest_test_data): Likewise.
1254 (cosh_towardzero_test_data): Likewise.
1255 (cosh_downward_test_data): Likewise.
1256 (cosh_upward_test_data): Likewise.
1257 (cpow_test_data): Likewise.
1258 (cproj_test_data): Likewise.
1259 (creal_test_data): Likewise.
1260 (csin_test_data): Likewise.
1261 (csinh_test_data): Likewise.
1262 (csqrt_test_data): Likewise.
1263 (ctan_test_data): Likewise.
1264 (ctan_tonearest_test_data): Likewise.
1265 (ctan_towardzero_test_data): Likewise.
1266 (ctan_downward_test_data): Likewise.
1267 (ctan_upward_test_data): Likewise.
1268 (ctanh_test_data): Likewise.
1269 (ctanh_tonearest_test_data): Likewise.
1270 (ctanh_towardzero_test_data): Likewise.
1271 (ctanh_downward_test_data): Likewise.
1272 (ctanh_upward_test_data): Likewise.
1273 (erf_test_data): Likewise.
1274 (erfc_test_data): Likewise.
1275 (exp_test_data): Likewise.
1276 (exp_tonearest_test_data): Likewise.
1277 (exp_towardzero_test_data): Likewise.
1278 (exp_downward_test_data): Likewise.
1279 (exp_upward_test_data): Likewise.
1280 (exp10_test_data): Likewise.
1281 (exp2_test_data): Likewise.
1282 (expm1_test_data): Likewise.
1283 (fabs_test_data): Likewise.
1284 (fdim_test_data): Likewise.
1285 (finite_test_data): Likewise.
1286 (floor_test_data): Likewise.
1287 (fma_test_data): Likewise.
1288 (fma_towardzero_test_data): Likewise.
1289 (fma_downward_test_data): Likewise.
1290 (fma_upward_test_data): Likewise.
1291 (fmax_test_data): Likewise.
1292 (fmin_test_data): Likewise.
1293 (fmod_test_data): Likewise.
1294 (fpclassify_test_data): Likewise.
1295 (frexp_test_data): Likewise.
1296 (gamma_test_data): Likewise.
1297 (hypot_test_data): Likewise.
1298 (ilogb_test_data): Likewise.
1299 (isfinite_test_data): Likewise.
1300 (isgreater_test_data): Likewise.
1301 (isgreaterequal_test_data): Likewise.
1302 (isinf_test_data): Likewise.
1303 (isless_test_data): Likewise.
1304 (islessequal_test_data): Likewise.
1305 (islessgreater_test_data): Likewise.
1306 (isnan_test_data): Likewise.
1307 (isnormal_test_data): Likewise.
1308 (issignaling_test_data): Likewise.
1309 (isunordered_test_data): Likewise.
1310 (j0_test_data): Likewise.
1311 (j1_test_data): Likewise.
1312 (jn_test_data): Likewise.
1313 (ldexp_test_data): Likewise.
1314 (lgamma_test_data): Likewise.
1315 (lrint_test_data): Likewise.
1316 (lrint_tonearest_test_data): Likewise.
1317 (lrint_towardzero_test_data): Likewise.
1318 (lrint_downward_test_data): Likewise.
1319 (lrint_upward_test_data): Likewise.
1320 (llrint_test_data): Likewise.
1321 (llrint_tonearest_test_data): Likewise.
1322 (llrint_towardzero_test_data): Likewise.
1323 (llrint_downward_test_data): Likewise.
1324 (llrint_upward_test_data): Likewise.
1325 (log_test_data): Likewise.
1326 (log10_test_data): Likewise.
1327 (log1p_test_data): Likewise.
1328 (log2_test_data): Likewise.
1329 (logb_test_data): Likewise.
1330 (logb_downward_test_data): Likewise.
1331 (lround_test_data): Likewise.
1332 (llround_test_data): Likewise.
1333 (modf_test_data): Likewise.
1334 (nearbyint_test_data): Likewise.
1335 (nextafter_test_data): Likewise.
1336 (nexttoward_test_data): Likewise.
1337 (pow_test_data): Likewise.
1338 (pow_tonearest_test_data): Likewise.
1339 (pow_towardzero_test_data): Likewise.
1340 (pow_downward_test_data): Likewise.
1341 (pow_upward_test_data): Likewise.
1342 (remainder_test_data): Likewise.
1343 (remainder_tonearest_test_data): Likewise.
1344 (remainder_towardzero_test_data): Likewise.
1345 (remainder_downward_test_data): Likewise.
1346 (remainder_upward_test_data): Likewise.
1347 (remquo_test_data): Likewise.
1348 (rint_test_data): Likewise.
1349 (rint_tonearest_test_data): Likewise.
1350 (rint_towardzero_test_data): Likewise.
1351 (rint_downward_test_data): Likewise.
1352 (rint_upward_test_data): Likewise.
1353 (round_test_data): Likewise.
1354 (scalb_test_data): Likewise.
1355 (scalbn_test_data): Likewise.
1356 (scalbln_test_data): Likewise.
1357 (signbit_test_data): Likewise.
1358 (sin_test_data): Likewise.
1359 (sin_tonearest_test_data): Likewise.
1360 (sin_towardzero_test_data): Likewise.
1361 (sin_downward_test_data): Likewise.
1362 (sin_upward_test_data): Likewise.
1363 (sincos_test_data): Likewise.
1364 (sinh_test_data): Likewise.
1365 (sinh_tonearest_test_data): Likewise.
1366 (sinh_towardzero_test_data): Likewise.
1367 (sinh_downward_test_data): Likewise.
1368 (sinh_upward_test_data): Likewise.
1369 (sqrt_test_data): Likewise.
1370 (tan_test_data): Likewise.
1371 (tan_tonearest_test_data): Likewise.
1372 (tan_towardzero_test_data): Likewise.
1373 (tan_downward_test_data): Likewise.
1374 (tan_upward_test_data): Likewise.
1375 (tanh_test_data): Likewise.
1376 (tgamma_test_data): Likewise.
1377 (trunc_test_data): Likewise.
1378 (y0_test_data): Likewise.
1379 (y1_test_data): Likewise.
1380 (yn_test_data): Likewise.
1381 (significand_test_data): Likewise.
1382
b679a606
JM
1383 * math/gen-libm-test.pl (@functions): Remove variable.
1384 (generate_testfile): Don't handle START and END lines.
1385 * math/libm-test.inc (START): New macro.
1386 (END): Likewise.
1387 (END_COMPLEX): Likewise.
1388 (acos_test): Use END macro without arguments.
1389 (acos_test_tonearest): Likewise.
1390 (acos_test_towardzero): Likewise.
1391 (acos_test_downward): Likewise.
1392 (acos_test_upward): Likewise.
1393 (acosh_test): Likewise.
1394 (asin_test): Likewise.
1395 (asin_test_tonearest): Likewise.
1396 (asin_test_towardzero): Likewise.
1397 (asin_test_downward): Likewise.
1398 (asin_test_upward): Likewise.
1399 (asinh_test): Likewise.
1400 (atan_test): Likewise.
1401 (atanh_test): Likewise.
1402 (atan2_test): Likewise.
1403 (cabs_test): Likewise.
1404 (cacos_test): Use END_COMPLEX macro without arguments.
1405 (cacosh_test): Likewise.
1406 (carg_test): Use END macro without arguments.
1407 (casin_test): Use END_COMPLEX macro without arguments.
1408 (casinh_test): Likewise.
1409 (catan_test): Likewise.
1410 (catanh_test): Likewise.
1411 (cbrt_test): Use END macro without arguments.
1412 (ccos_test): Use END_COMPLEX macro without arguments.
1413 (ccosh_test): Likewise.
1414 (ceil_test): Use END macro without arguments.
1415 (cexp_test): Use END_COMPLEX macro without arguments.
1416 (cimag_test): Use END macro without arguments.
1417 (clog_test): Use END_COMPLEX macro without arguments.
1418 (clog10_test): Likewise.
1419 (conj_test): Likewise.
1420 (copysign_test): Use END macro without arguments.
1421 (cos_test): Likewise.
1422 (cos_test_tonearest): Likewise.
1423 (cos_test_towardzero): Likewise.
1424 (cos_test_downward): Likewise.
1425 (cos_test_upward): Likewise.
1426 (cosh_test): Likewise.
1427 (cosh_test_tonearest): Likewise.
1428 (cosh_test_towardzero): Likewise.
1429 (cosh_test_downward): Likewise.
1430 (cosh_test_upward): Likewise.
1431 (cpow_test): Use END_COMPLEX macro without arguments.
1432 (cproj_test): Likewise.
1433 (creal_test): Use END macro without arguments.
1434 (csin_test): Use END_COMPLEX macro without arguments.
1435 (csinh_test): Likewise.
1436 (csqrt_test): Likewise.
1437 (ctan_test): Likewise.
1438 (ctan_test_tonearest): Likewise.
1439 (ctan_test_towardzero): Likewise.
1440 (ctan_test_downward): Likewise.
1441 (ctan_test_upward): Likewise.
1442 (ctanh_test): Likewise.
1443 (ctanh_test_tonearest): Likewise.
1444 (ctanh_test_towardzero): Likewise.
1445 (ctanh_test_downward): Likewise.
1446 (ctanh_test_upward): Likewise.
1447 (erf_test): Use END macro without arguments.
1448 (erfc_test): Likewise.
1449 (exp_test): Likewise.
1450 (exp_test_tonearest): Likewise.
1451 (exp_test_towardzero): Likewise.
1452 (exp_test_downward): Likewise.
1453 (exp_test_upward): Likewise.
1454 (exp10_test): Likewise.
1455 (exp2_test): Likewise.
1456 (expm1_test): Likewise.
1457 (fabs_test): Likewise.
1458 (fdim_test): Likewise.
1459 (finite_test): Likewise.
1460 (floor_test): Likewise.
1461 (fma_test): Likewise.
1462 (fma_test_towardzero): Likewise.
1463 (fma_test_downward): Likewise.
1464 (fma_test_upward): Likewise.
1465 (fmax_test): Likewise.
1466 (fmin_test): Likewise.
1467 (fmod_test): Likewise.
1468 (fpclassify_test): Likewise.
1469 (frexp_test): Likewise.
1470 (gamma_test): Likewise.
1471 (hypot_test): Likewise.
1472 (ilogb_test): Likewise.
1473 (isfinite_test): Likewise.
1474 (isgreater_test): Likewise.
1475 (isgreaterequal_test): Likewise.
1476 (isinf_test): Likewise.
1477 (isless_test): Likewise.
1478 (islessequal_test): Likewise.
1479 (islessgreater_test): Likewise.
1480 (isnan_test): Likewise.
1481 (isnormal_test): Likewise.
1482 (issignaling_test): Likewise.
1483 (isunordered_test): Likewise.
1484 (j0_test): Likewise.
1485 (j1_test): Likewise.
1486 (jn_test): Likewise.
1487 (ldexp_test): Likewise.
1488 (lgamma_test): Likewise.
1489 (lrint_test): Likewise.
1490 (lrint_test_tonearest): Likewise.
1491 (lrint_test_towardzero): Likewise.
1492 (lrint_test_downward): Likewise.
1493 (lrint_test_upward): Likewise.
1494 (llrint_test): Likewise.
1495 (llrint_test_tonearest): Likewise.
1496 (llrint_test_towardzero): Likewise.
1497 (llrint_test_downward): Likewise.
1498 (llrint_test_upward): Likewise.
1499 (log_test): Likewise.
1500 (log10_test): Likewise.
1501 (log1p_test): Likewise.
1502 (log2_test): Likewise.
1503 (logb_test): Likewise.
1504 (logb_test_downward): Likewise.
1505 (lround_test): Likewise.
1506 (llround_test): Likewise.
1507 (modf_test): Likewise.
1508 (nearbyint_test): Likewise.
1509 (nextafter_test): Likewise.
1510 (nexttoward_test): Likewise.
1511 (pow_test): Likewise.
1512 (pow_test_tonearest): Likewise.
1513 (pow_test_towardzero): Likewise.
1514 (pow_test_downward): Likewise.
1515 (pow_test_upward): Likewise.
1516 (remainder_test): Likewise.
1517 (remainder_test_tonearest): Likewise.
1518 (remainder_test_towardzero): Likewise.
1519 (remainder_test_downward): Likewise.
1520 (remainder_test_upward): Likewise.
1521 (remquo_test): Likewise.
1522 (rint_test): Likewise.
1523 (rint_test_tonearest): Likewise.
1524 (rint_test_towardzero): Likewise.
1525 (rint_test_downward): Likewise.
1526 (rint_test_upward): Likewise.
1527 (round_test): Likewise.
1528 (scalb_test): Likewise.
1529 (scalbn_test): Likewise.
1530 (scalbln_test): Likewise.
1531 (signbit_test): Likewise.
1532 (sin_test): Likewise.
1533 (sin_test_tonearest): Likewise.
1534 (sin_test_towardzero): Likewise.
1535 (sin_test_downward): Likewise.
1536 (sin_test_upward): Likewise.
1537 (sincos_test): Likewise.
1538 (sinh_test): Likewise.
1539 (sinh_test_tonearest): Likewise.
1540 (sinh_test_towardzero): Likewise.
1541 (sinh_test_downward): Likewise.
1542 (sinh_test_upward): Likewise.
1543 (sqrt_test): Likewise.
1544 (tan_test): Likewise.
1545 (tan_test_tonearest): Likewise.
1546 (tan_test_towardzero): Likewise.
1547 (tan_test_downward): Likewise.
1548 (tan_test_upward): Likewise.
1549 (tanh_test): Likewise.
1550 (tgamma_test): Likewise.
1551 (trunc_test): Likewise.
1552 (y0_test): Likewise.
1553 (y1_test): Likewise.
1554 (yn_test): Likewise.
1555 (significand_test): Likewise.
1556
bae143d2
OB
15572013-05-24 Ondřej Bílka <neleai@seznam.cz>
1558
1559 [BZ #15381]
1560 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1561
9323d39b
EM
15622013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1563
d4ea44a0 1564 [BZ #14894]
9323d39b
EM
1565 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1566 __ppc_mdoio and __ppc_mdoom.
1567 * manual/platform.texi: Document new functions __ppc_yield,
1568 __ppc_mdoio and __ppc_mdoom.
1569
13e23af7
CD
15702013-05-22 Carlos O'Donell <carlos@redhat.com>
1571
1572 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1573 (main): Mention "tls" pseudo-hwcap is legacy.
1574 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1575
351fe550
JM
15762013-05-22 Joseph Myers <joseph@codesourcery.com>
1577
1578 * math/gen-libm-test.pl (parse_args): Output only string of
1579 arguments as text for test name, not full call or descriptions of
1580 tests for extra outputs.
1581 (generate_testfile): Do not pass function name to parse_args.
1582 Generate this_func variable from START.
1583 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1584 field to arg_str.
1585 (struct test_ff_f_data): Likewise.
1586 (test_ff_f_data_nexttoward): Likewise.
1587 (struct test_fi_f_data): Likewise.
1588 (struct test_fl_f_data): Likewise.
1589 (struct test_if_f_data): Likewise.
1590 (struct test_fff_f_data): Likewise.
1591 (struct test_c_f_data): Likewise.
1592 (struct test_f_f1_data): Likewise. Remove field extra_name.
1593 (struct test_fF_f1_data): Likewise.
1594 (struct test_ffI_f1_data): Likewise.
1595 (struct test_c_c_data): Rename test_name field to arg_str.
1596 (struct test_cc_c_data): Likewise.
1597 (struct test_f_i_data): Likewise.
1598 (struct test_ff_i_data): Likewise.
1599 (struct test_f_l_data): Likewise.
1600 (struct test_f_L_data): Likewise.
1601 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1602 and extra2_name.
1603 (COMMON_TEST_SETUP): New macro.
1604 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1605 (COMMON_TEST_CLEANUP): Likewise.
1606 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1607 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1608 macros.
1609 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1610 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1611 macros.
1612 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1613 (RUN_TEST_fff_f): Take argument string. Call new setup and
1614 cleanup macros.
1615 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1616 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1617 macros.
1618 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1619 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1620 macros.
1621 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1622 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1623 cleanup macros.
1624 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1625 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1626 cleanup macros.
1627 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1628 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1629 cleanup macros.
1630 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1631 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
1632 macros.
1633 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
1634 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
1635 macros.
1636 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
1637 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
1638 macros.
1639 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
1640 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
1641 cleanup macros.
1642 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
1643 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
1644 cleanup macros.
1645 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
1646 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
1647 macros.
1648 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
1649 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
1650 cleanup macros.
1651 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
1652 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
1653 macros.
1654 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
1655 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
1656 macros.
1657 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
1658 (RUN_TEST_fFF_11): Take argument string. Call new setup and
1659 cleanup macros.
1660 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
1661
85118d4d
EBM
16622013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
1663
1664 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
1665 to _sifields.sigfault.
1666 (si_addr_lsb): Define new macro.
1667 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
1668 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
1669 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
1670
7a44c18f
CD
16712013-05-03 Carlos O'Donell <carlos at redhat.com>
1672
1673 [BZ #15441]
1674 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
1675 returns -1.
1676 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
1677 null return -1.
1678 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
1679 loading the domain.
1680
b50a7181
JM
16812013-05-22 Joseph Myers <joseph@codesourcery.com>
1682
1683 * math/gen-libm-test.pl (parse_args): Do not include expected
1684 result in test name.
1685 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
1686 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1687 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1688 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1689 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1691
051063c8
SP
16922013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
1693
3ce9e010
SP
1694 * benchtests/Makefile: Sort function entries.
1695
051063c8
SP
1696 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
1697 tanh, asinh, acosh, atanh.
1698 * benchtests/acos-inputs: New file.
1699 * benchtests/acosh-inputs: New file.
1700 * benchtests/asin-inputs: New file.
1701 * benchtests/asinh-inputs: New file.
1702 * benchtests/atanh-inputs: New file.
1703 * benchtests/cosh-inputs: New file.
1704 * benchtests/log-inputs: New file.
1705 * benchtests/sinh-inputs: New file.
1706 * benchtests/tanh-inputs: New file.
1707
47c22455
DL
17082013-05-21 Dmitry V. Levin <ldv@altlinux.org>
1709
1710 [BZ #15339]
1711 * posix/tst-getaddrinfo4.c: New test.
1712 * posix/Makefile (tests): Add it.
1713
3d04f5db
SP
17142013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1715
1716 [BZ #15339]
1717 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
1718 when no services were used.
1719 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
1720 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
1721
d5dd6189
AS
17222013-05-21 Andreas Schwab <schwab@suse.de>
1723
1724 [BZ #15014]
1725 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
1726 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
1727 successful.
1728 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
1729 redundant variable declarations and reallocation of buffer when
1730 parsing as IPv6 address. Always set NSS status when called from
1731 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
1732 buffer too small. Correct computation of needed size.
1733 * nss/Makefile (tests): Add test-digits-dots.
1734 * nss/test-digits-dots.c: New test.
1735
fef94eab
SP
17362013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
1737
1738 * benchtests/Makefile: Remove instructions for adding
1739 benchmark tests.
1740 * benchtests/README: New file to explain how to execute and
1741 enhance the benchmark tests.
1742
e39adf43
AS
17432013-05-21 Andreas Schwab <schwab@suse.de>
1744
1745 [BZ #15493]
1746 * setjmp/Makefile (tests): Add tst-sigsetjmp.
1747 * setjmp/tst-sigsetjmp.c: New test.
1748
b2b671b6
OB
17492013-05-20 Ondřej Bílka <neleai@seznam.cz>
1750
1751 * sysdeps/x86_64/memset.S (memset): New implementation.
1752 (__bzero): Likewise.
1753 (__memset_tail): New function.
1754
2d48b41c
OB
17552013-05-20 Ondřej Bílka <neleai@seznam.cz>
1756
1757 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
1758 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
1759 __memcpy_sse2_unaligned ifunc selection.
1760 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
1761 Add memcpy-sse2-unaligned.S.
1762 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1763 Add: __memcpy_sse2_unaligned.
1764
f16cc3eb
JM
17652013-05-19 Joseph Myers <joseph@codesourcery.com>
1766
3e694268
JM
1767 [BZ #15490]
1768 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
1769 math_force_eval before restoring floating-point envrionment.
1770 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
1771 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
1772 Likewise.
1773 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
1774 <math_private.h>.
1775 (__nearbyintl): Use math_force_eval before restoring
1776 floating-point environment.
1777 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
1778
db62a907
JM
1779 * math/gen-libm-test.pl (special_functions): Remove.
1780 (parse_args): Don't handle TEST_extra. Handle functions with no
1781 return value.
1782 * math/libm-test.inc (struct test_sincos_data): Replace with
1783 struct test_fFF_11_data.
1784 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
1785 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
1786 (sincos_test_data): Change element type to struct
1787 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
1788 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
1789 RUN_TEST_LOOP_sincos.
1790 * math/README.libm-test: Don't mention special handling of
1791 individual functions.
1792 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
1793 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1794 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1795 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
1796 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1798
f16cc3eb
JM
1799 * math/gen-libm-test.pl (get_variable): Remove function.
1800 (parse_args): Don't show pointer parameters to call in test
1801 names. Use "extra output N" in test names for extra outputs
1802 rather than naming variables.
1803
3779b5b6
JM
18042013-05-18 Joseph Myers <joseph@codesourcery.com>
1805
2ee094ff
JM
1806 [BZ #15488]
1807 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
1808 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
1809 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
1810 double tests.
1811 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
1812 disable.
1813 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
1814 check_long_double.
1815
3779b5b6
JM
1816 * math/gen-libm-test.pl (@tests): Remove variable.
1817 ($count): Likewise.
1818 (new_test): Remove function.
1819 (show_exceptions): New function.
1820 (special_functions): Use show_exceptions instead of new_test.
1821 (parse_args): Likewise.
1822 (generate_testfile): Pass only function name in generated call to
1823 print_max_error or print_complex_max_error.
1824 (get_ulps): Do not handle complex tests specially.
1825 (output_test): Rename to ...
1826 (get_all_ulps_for_test): ... this. Return a string rather than
1827 printing to a file. Require ulps to be present.
1828 (output_ulps): Generate arrays rather than #defines.
1829 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
1830 (struct ulp_data): New type.
1831 (BUILD_COMPLEX_ULP): Remove macro.
1832 (compare_ulp_data): New function.
1833 (find_ulps): Likewise.
1834 (find_test_ulps): Likewise.
1835 (find_function_ulps): Likewise.
1836 (find_complex_function_ulps): Likewise.
1837 (print_max_error): Determine allowed ulps using
1838 find_function_ulps.
1839 (print_complex_max_error): Determine allowed ulps using
1840 find_complex_function_ulps.
1841 (check_float_internal): Determine max ulps using find_test_ulps.
1842 (check_float): Do not take max_ulp parameter. Update call to
1843 check_float_internal.
1844 (check_complex): Likewise.
1845 (check_int): Do not take max_ulp parameter.
1846 (check_long): Likewise.
1847 (check_bool): Likewise.
1848 (check_longlong): Likewise.
1849 (struct test_f_f_data): Remove max_ulp field.
1850 (struct test_ff_f_data): Likewise.
1851 (struct test_ff_f_data_nexttoward): Likewise.
1852 (struct test_fi_f_data): Likewise.
1853 (struct test_fl_f_data): Likewise.
1854 (struct test_if_f_data): Likewise.
1855 (struct test_fff_f_data): Likewise.
1856 (struct test_c_f_data): Likewise.
1857 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
1858 (struct test_fF_f1_data): Likewise.
1859 (struct test_ffI_f1_data): Likewise.
1860 (struct test_c_c_data): Remove max_ulp field.
1861 (struct test_cc_c_data): Likewise.
1862 (struct test_f_i_data): Likewise.
1863 (struct test_ff_i_data): Likewise.
1864 (struct test_f_l_data): Likewise.
1865 (struct test_f_L_data): Likewise.
1866 (struct test_sincos_data): Likewise.
1867 (RUN_TEST_f_f): Do not handle ulps.
1868 (RUN_TEST_LOOP_f_f): Likewise.
1869 (RUN_TEST_2_f): Likewise.
1870 (RUN_TEST_LOOP_2_f): Likewise.
1871 (RUN_TEST_fff_f): Likewise.
1872 (RUN_TEST_LOOP_fff_f): Likewise.
1873 (RUN_TEST_c_f): Likewise.
1874 (RUN_TEST_LOOP_c_f): Likewise.
1875 (RUN_TEST_f_f1): Likewise.
1876 (RUN_TEST_LOOP_f_f1): Likewise.
1877 (RUN_TEST_fF_f1): Likewise.
1878 (RUN_TEST_LOOP_fF_f1): Likewise.
1879 (RUN_TEST_fI_f1): Likewise.
1880 (RUN_TEST_LOOP_fI_f1): Likewise.
1881 (RUN_TEST_ffI_f1): Likewise.
1882 (RUN_TEST_LOOP_ffI_f1): Likewise.
1883 (RUN_TEST_c_c): Likewise.
1884 (RUN_TEST_LOOP_c_c): Likewise.
1885 (RUN_TEST_cc_c): Likewise.
1886 (RUN_TEST_LOOP_cc_c): Likewise.
1887 (RUN_TEST_f_i): Likewise.
1888 (RUN_TEST_LOOP_f_i): Likewise.
1889 (RUN_TEST_f_i_tg): Likewise.
1890 (RUN_TEST_LOOP_f_i_tg): Likewise.
1891 (RUN_TEST_ff_i_tg): Likewise.
1892 (RUN_TEST_LOOP_ff_i_tg): Likewise.
1893 (RUN_TEST_f_b): Likewise.
1894 (RUN_TEST_LOOP_f_b): Likewise.
1895 (RUN_TEST_f_b_tg): Likewise.
1896 (RUN_TEST_LOOP_f_b_tg): Likewise.
1897 (RUN_TEST_f_l): Likewise.
1898 (RUN_TEST_LOOP_f_l): Likewise.
1899 (RUN_TEST_f_L): Likewise.
1900 (RUN_TEST_LOOP_f_L): Likewise.
1901 (RUN_TEST_sincos): Likewise.
1902 (RUN_TEST_LOOP_sincos): Likewise.
1903
8269107f
JM
19042013-05-17 Joseph Myers <joseph@codesourcery.com>
1905
bb38759d
JM
1906 [BZ #15480]
1907 [BZ #15485]
1908 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
1909 main case of finite arguments, set rounding mode to FE_TONEAREST
1910 and discard exceptions.
1911 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
1912 exceptions.
1913 (remainder_tonearest_test_data): New variable.
1914 (remainder_test_tonearest): New function.
1915 (remainder_towardzero_test_data): New variable.
1916 (remainder_test_towardzero): New function.
1917 (remainder_downward_test_data): New variable.
1918 (remainder_test_downward): New function.
1919 (remainder_upward_test_data): New variable.
1920 (remainder_test_upward): New function.
1921 (main): Call the new test functions.
1922
a00bdcf0
JM
1923 * math/libm-test.inc (struct test_f_f1_data): Remove field
1924 extra_init.
1925 (struct test_fF_f1_data): Likewise.
1926 (struct test_ffI_f1_data): Likewise.
1927 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
1928 based on value of EXTRA_EXPECTED.
1929 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1930 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
1931 EXTRA_VAR based on value of EXTRA_EXPECTED.
1932 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1933 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
1934 EXTRA_VAR based on value of EXTRA_EXPECTED.
1935 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1936 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
1937 EXTRA_VAR based on value of EXTRA_EXPECTED.
1938 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
1939 * math/gen-libm-test.pl (parse_args): Don't output initializers
1940 for extra output values.
1941
de407f79
JM
1942 * math/libm-test.inc (check_int): Expect result to be exactly
1943 equal to expected value and do not handle ulps.
1944 (check_long): Likewise.
1945 (check_longlong): Likewise.
1946
8269107f
JM
1947 * math/libm-test.inc (ceil_test_data): Test for "inexact"
1948 exceptions.
1949 (cimag_test_data): Likewise.
1950 (conj_test_data): Likewise.
1951 (copysign_test_data): Likewise.
1952 (cproj_test_data): Likewise.
1953 (creal_test_data): Likewise.
1954 (fabs_test_data): Likewise.
1955 (fdim_test_data): Likewise.
1956 (finite_test_data): Likewise.
1957 (floor_test_data): Likewise.
1958 (fmax_test_data): Likewise.
1959 (fmin_test_data): Likewise.
1960 (fmod_test_data): Likewise.
1961 (fpclassify_test_data): Likewise.
1962 (frexp_test_data): Likewise.
1963 (ilogb_test_data): Likewise.
1964 (isfinite_test_data): Likewise.
1965 (isgreater_test_data): Likewise.
1966 (isgreaterequal_test_data): Likewise.
1967 (isinf_test_data): Likewise.
1968 (isless_test_data): Likewise.
1969 (islessequal_test_data): Likewise.
1970 (islessgreater_test_data): Likewise.
1971 (isnan_test_data): Likewise.
1972 (isnormal_test_data): Likewise.
1973 (issignaling_test_data): Likewise.
1974 (isunordered_test_data): Likewise.
1975 (ldexp_test_data): Likewise.
1976 (lrint_test_data): Likewise.
1977 (lrint_test_data) [TEST_FLOAT]: Disable one test.
1978 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
1979 (lrint_tonearest_test_data): Test for "inexact" exceptions.
1980 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
1981 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
1982 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1983 test input.
1984 (lrint_towardzero_test_data): Test for "inexact" exceptions.
1985 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
1986 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
1987 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
1988 that test input.
1989 (lrint_downward_test_data): Test for "inexact" exceptions.
1990 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
1991 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
1992 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
1993 test input.
1994 (lrint_upward_test_data): Test for "inexact" exceptions.
1995 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
1996 test input.
1997 (llrint_test_data): Test for "inexact" exceptions.
1998 (llrint_test_data) [TEST_FLOAT]: Disable one test.
1999 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2000 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2001 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2002 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2003 (llrint_downward_test_data): Test for "inexact" exceptions.
2004 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2005 (llrint_upward_test_data): Test for "inexact" exceptions.
2006 (logb_test_data): Likewise.
2007 (logb_downward_test_data): Likewise.
2008 (nextafter_test_data): Likewise.
2009 (nexttoward_test_data): Likewise.
2010 (remainder_test_data): Likewise.
2011 (remquo_test_data): Likewise.
2012 (scalbn_test_data): Likewise.
2013 (scalbln_test_data): Likewise.
2014 (signbit_test_data): Likewise.
2015 (sqrt_test_data): Likewise.
2016 (significand_test_data): Likewise.
2017
48a18de1
SP
20182013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2019
2020 [BZ #15424]
2021 * benchtests/bench-modf.c (struct args): Mark arg0 as
2022 volatile.
2023 * scripts/bench.pl: Mark members of struct args as volatile.
2024
13d3b41a
AZ
20252013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2026
68191c1d 2027 [BZ # 15497]
13d3b41a
AZ
2028 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2029 negative infinity on POWER6 or lower.
2030 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2031
2848b105
MR
20322013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2033
2034 [BZ #15442]
2035 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2036 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2037 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2038 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2039 (_FP_SETQNAN): New macro.
2040 (_FP_SETQNAN_SEMIRAW): Likewise.
2041 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2042 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2043 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2044 (FP_EXTEND): Use _FP_FRAC_SNANP.
2045 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2046 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2047 into account.
2048 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2049 New macro.
2050 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2051 Likewise.
2052
323e5cb7
JM
20532013-05-16 Joseph Myers <joseph@codesourcery.com>
2054
c58b274f
JM
2055 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2056 with DIVIDE_BY_ZERO_EXCEPTION.
2057 (gamma_test_data): Likewise.
2058 (lgamma_test_data): Likewise.
2059 (log_test_data): Likewise.
2060 (log10_test_data): Likewise.
2061 (log2_test_data): Likewise.
2062 (tgamma_test_data): Likewise.
2063
0ab34904
JM
2064 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2065 (acos_test_tonearest): Likewise.
2066 (acos_test_towardzero): Likewise.
2067 (acos_test_downward): Likewise.
2068 (acos_test_upward): Likewise.
2069 (acosh_test): Likewise.
2070 (asin_test): Likewise.
2071 (asin_test_tonearest): Likewise.
2072 (asin_test_towardzero): Likewise.
2073 (asin_test_downward): Likewise.
2074 (asin_test_upward): Likewise.
2075 (asinh_test): Likewise.
2076 (atan_test): Likewise.
2077 (atanh_test): Likewise.
2078 (atan2_test): Likewise.
2079 (cabs_test): Likewise.
2080 (cacos_test): Likewise.
2081 (cacosh_test): Likewise.
2082 (casin_test): Likewise.
2083 (casinh_test): Likewise.
2084 (catan_test): Likewise.
2085 (catanh_test): Likewise.
2086 (cbrt_test): Likewise.
2087 (ccos_test): Likewise.
2088 (ccosh_test): Likewise.
2089 (cexp_test): Likewise.
2090 (clog_test): Likewise.
2091 (clog10_test): Likewise.
2092 (cos_test): Likewise.
2093 (cos_test_tonearest): Likewise.
2094 (cos_test_towardzero): Likewise.
2095 (cos_test_downward): Likewise.
2096 (cos_test_upward): Likewise.
2097 (cosh_test): Likewise.
2098 (cosh_test_tonearest): Likewise.
2099 (cosh_test_towardzero): Likewise.
2100 (cosh_test_downward): Likewise.
2101 (cosh_test_upward): Likewise.
2102 (cpow_test): Likewise.
2103 (csin_test): Likewise.
2104 (csinh_test): Likewise.
2105 (csqrt_test): Likewise.
2106 (ctan_test): Likewise.
2107 (ctan_test_tonearest): Likewise.
2108 (ctan_test_towardzero): Likewise.
2109 (ctan_test_downward): Likewise.
2110 (ctan_test_upward): Likewise.
2111 (ctanh_test): Likewise.
2112 (ctanh_test_tonearest): Likewise.
2113 (ctanh_test_towardzero): Likewise.
2114 (ctanh_test_downward): Likewise.
2115 (ctanh_test_upward): Likewise.
2116 (erf_test): Likewise.
2117 (erfc_test): Likewise.
2118 (exp_test): Likewise.
2119 (exp_test_tonearest): Likewise.
2120 (exp_test_towardzero): Likewise.
2121 (exp_test_downward): Likewise.
2122 (exp_test_upward): Likewise.
2123 (exp10_test): Likewise.
2124 (exp2_test): Likewise.
2125 (expm1_test): Likewise.
2126 (fmod_test): Likewise.
2127 (gamma_test): Likewise.
2128 (hypot_test): Likewise.
2129 (j0_test): Likewise.
2130 (j1_test): Likewise.
2131 (jn_test): Likewise.
2132 (lgamma_test): Likewise.
2133 (log_test): Likewise.
2134 (log10_test): Likewise.
2135 (log1p_test): Likewise.
2136 (log2_test): Likewise.
2137 (logb_test_downward): Likewise.
2138 (pow_test): Likewise.
2139 (pow_test_tonearest): Likewise.
2140 (pow_test_towardzero): Likewise.
2141 (pow_test_downward): Likewise.
2142 (pow_test_upward): Likewise.
2143 (remainder_test): Likewise.
2144 (remquo_test): Likewise.
2145 (sin_test): Likewise.
2146 (sin_test_tonearest): Likewise.
2147 (sin_test_towardzero): Likewise.
2148 (sin_test_downward): Likewise.
2149 (sin_test_upward): Likewise.
2150 (sincos_test): Likewise.
2151 (sinh_test): Likewise.
2152 (sinh_test_tonearest): Likewise.
2153 (sinh_test_towardzero): Likewise.
2154 (sinh_test_downward): Likewise.
2155 (sinh_test_upward): Likewise.
2156 (sqrt_test): Likewise.
2157 (tan_test): Likewise.
2158 (tan_test_tonearest): Likewise.
2159 (tan_test_towardzero): Likewise.
2160 (tan_test_downward): Likewise.
2161 (tan_test_upward): Likewise.
2162 (tanh_test): Likewise.
2163 (tgamma_test): Likewise.
2164 (y0_test): Likewise.
2165 (y1_test): Likewise.
2166 (yn_test): Likewise.
2167
323e5cb7
JM
2168 * math/gen-libm-test.pl (adjust_arg): Remove function.
2169 (special_function): Remove argument $in_func. Only handle
2170 generating output for tables of tests, not inside functions.
2171 (parse_args): Likewise.
2172 (generate_testfile): Remove variable $in_func. Update call to
2173 parse_args.
2174 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2175 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2176 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2177 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2178 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2179 (MAX_VALUE_INIT): Rename macro to max_value.
2180 (MIN_VALUE_INIT): Rename macro to min_value.
2181 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2182 (plus_zero): Remove variable.
2183 (minus_zero): Likewise.
2184 (plus_infty): Likewise.
2185 (minus_infty): Likewise.
2186 (qnan_value): Likewise.
2187 (max_value): Likewise.
2188 (min_value): Likewise.
2189 (min_subnorm_value): Likewise.
2190
e054f494
RA
21912013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2192
2193 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2194 uint64_t or uint32_t usage.
2195 * crypt/sha256-block.c: Likewise.
2196 * crypt/sha256-crypt.c: Likewise.
2197 * crypt/sha256.c: Likewise.
2198 * crypt/sha512-block.c: Likewise.
2199 * crypt/sha512-crypt.c: Likewise.
2200 * crypt/sha512.c: Likewise.
2201 * debug/backtrace-tst.c: Likewise.
2202 * debug/pcprofiledump.c: Likewise.
2203 * elf/cache.c: Likewise.
2204 * elf/dl-cache.c: Likewise.
2205 * elf/dl-misc.c: Likewise.
2206 * elf/dl-profile.c: Likewise.
2207 * elf/dl-support.c: Likewise.
2208 * elf/ldconfig.c: Likewise.
2209 * elf/sprof.c: Likewise.
2210 * iconv/dummy-repertoire.c: Likewise.
2211 * iconv/iconv_charmap.c: Likewise.
2212 * iconv/skeleton.c: Likewise.
2213 * iconvdata/8bit-generic.c: Likewise.
2214 * iconvdata/cp737.h: Likewise.
2215 * iconvdata/cp775.h: Likewise.
2216 * iconvdata/ibm1008.h: Likewise.
2217 * iconvdata/ibm1025.h: Likewise.
2218 * iconvdata/ibm1046.h: Likewise.
2219 * iconvdata/ibm1097.h: Likewise.
2220 * iconvdata/ibm1112.h: Likewise.
2221 * iconvdata/ibm1122.h: Likewise.
2222 * iconvdata/ibm1123.h: Likewise.
2223 * iconvdata/ibm1124.h: Likewise.
2224 * iconvdata/ibm1129.h: Likewise.
2225 * iconvdata/ibm1130.h: Likewise.
2226 * iconvdata/ibm1132.h: Likewise.
2227 * iconvdata/ibm1133.h: Likewise.
2228 * iconvdata/ibm1137.h: Likewise.
2229 * iconvdata/ibm1140.h: Likewise.
2230 * iconvdata/ibm1141.h: Likewise.
2231 * iconvdata/ibm1142.h: Likewise.
2232 * iconvdata/ibm1143.h: Likewise.
2233 * iconvdata/ibm1144.h: Likewise.
2234 * iconvdata/ibm1145.h: Likewise.
2235 * iconvdata/ibm1146.h: Likewise.
2236 * iconvdata/ibm1147.h: Likewise.
2237 * iconvdata/ibm1148.h: Likewise.
2238 * iconvdata/ibm1149.h: Likewise.
2239 * iconvdata/ibm1153.h: Likewise.
2240 * iconvdata/ibm1154.h: Likewise.
2241 * iconvdata/ibm1155.h: Likewise.
2242 * iconvdata/ibm1156.h: Likewise.
2243 * iconvdata/ibm1157.h: Likewise.
2244 * iconvdata/ibm1158.h: Likewise.
2245 * iconvdata/ibm1160.h: Likewise.
2246 * iconvdata/ibm1161.h: Likewise.
2247 * iconvdata/ibm1162.h: Likewise.
2248 * iconvdata/ibm1163.h: Likewise.
2249 * iconvdata/ibm1164.h: Likewise.
2250 * iconvdata/ibm1166.h: Likewise.
2251 * iconvdata/ibm1167.h: Likewise.
2252 * iconvdata/ibm12712.h: Likewise.
2253 * iconvdata/ibm1390.h: Likewise.
2254 * iconvdata/ibm1399.h: Likewise.
2255 * iconvdata/ibm16804.h: Likewise.
2256 * iconvdata/ibm4517.h: Likewise.
2257 * iconvdata/ibm4899.h: Likewise.
2258 * iconvdata/ibm4909.h: Likewise.
2259 * iconvdata/ibm4971.h: Likewise.
2260 * iconvdata/ibm5347.h: Likewise.
2261 * iconvdata/ibm803.h: Likewise.
2262 * iconvdata/ibm856.h: Likewise.
2263 * iconvdata/ibm901.h: Likewise.
2264 * iconvdata/ibm902.h: Likewise.
2265 * iconvdata/ibm9030.h: Likewise.
2266 * iconvdata/ibm9066.h: Likewise.
2267 * iconvdata/ibm921.h: Likewise.
2268 * iconvdata/ibm922.h: Likewise.
2269 * iconvdata/ibm9448.h: Likewise.
2270 * iconvdata/isiri-3342.h: Likewise.
2271 * iconvdata/jis0201.h: Likewise.
2272 * include/link.h: Likewise.
2273 * include/netdb.h: Likewise.
2274 * inet/check_native.c: Likewise.
2275 * inet/check_pf.c: Likewise.
2276 * inet/getipv4sourcefilter.c: Likewise.
2277 * inet/getnameinfo.c: Likewise.
2278 * inet/getsourcefilter.c: Likewise.
2279 * inet/htonl.c: Likewise.
2280 * inet/setipv4sourcefilter.c: Likewise.
2281 * inet/setsourcefilter.c: Likewise.
2282 * inet/test-inet6_opt.c: Likewise.
2283 * inet/tst-network.c: Likewise.
2284 * locale/C-collate.c: Likewise.
2285 * locale/C-ctype.c: Likewise.
2286 * locale/C-time.c: Likewise.
2287 * locale/C-translit.h: Likewise.
2288 * locale/loadarchive.c: Likewise.
2289 * locale/programs/3level.h: Likewise.
2290 * locale/programs/charmap.c: Likewise.
2291 * locale/programs/charmap.h: Likewise.
2292 * locale/programs/ld-address.c: Likewise.
2293 * locale/programs/ld-collate.c: Likewise.
2294 * locale/programs/ld-ctype.c: Likewise.
2295 * locale/programs/ld-identification.c: Likewise.
2296 * locale/programs/ld-measurement.c: Likewise.
2297 * locale/programs/ld-messages.c: Likewise.
2298 * locale/programs/ld-monetary.c: Likewise.
2299 * locale/programs/ld-name.c: Likewise.
2300 * locale/programs/ld-numeric.c: Likewise.
2301 * locale/programs/ld-paper.c: Likewise.
2302 * locale/programs/ld-telephone.c: Likewise.
2303 * locale/programs/ld-time.c: Likewise.
2304 * locale/programs/linereader.c: Likewise.
2305 * locale/programs/locale.c: Likewise.
2306 * locale/programs/locarchive.c: Likewise.
2307 * locale/programs/locfile.h: Likewise.
2308 * locale/programs/repertoire.c: Likewise.
2309 * locale/programs/simple-hash.c: Likewise.
2310 * locale/programs/simple-hash.h: Likewise.
2311 * malloc/memusage.c: Likewise.
2312 * malloc/memusagestat.c: Likewise.
2313 * nis/nis_defaults.c: Likewise.
2314 * nis/nis_hash.c: Likewise.
2315 * nis/nis_print.c: Likewise.
2316 * nis/nis_xdr.c: Likewise.
2317 * nscd/connections.c: Likewise.
2318 * nscd/hstcache.c: Likewise.
2319 * nscd/nscd_gethst_r.c: Likewise.
2320 * nscd/nscd_getserv_r.c: Likewise.
2321 * nscd/nscd_helper.c: Likewise.
2322 * nscd/servicescache.c: Likewise.
2323 * nss/makedb.c: Likewise.
2324 * nss/nss_db/db-XXX.c: Likewise.
2325 * nss/nss_db/db-initgroups.c: Likewise.
2326 * nss/nss_db/db-netgrp.c: Likewise.
2327 * nss/nss_files/files-network.c: Likewise.
2328 * nss/nss_files/files-parse.c: Likewise.
2329 * posix/bug-regex5.c: Likewise.
2330 * posix/fnmatch_loop.c: Likewise.
2331 * posix/regcomp.c: Likewise.
2332 * posix/regexec.c: Likewise.
2333 * posix/tst-rfc3484-2.c: Likewise.
2334 * posix/tst-rfc3484-3.c: Likewise.
2335 * posix/tst-rfc3484.c: Likewise.
2336 * resolv/nss_dns/dns-canon.c: Likewise.
2337 * resolv/nss_dns/dns-network.c: Likewise.
2338 * resolv/res_init.c: Likewise.
2339 * resolv/res_mkquery.c: Likewise.
2340 * resolv/tst-aton.c: Likewise.
2341 * stdlib/cxa_atexit.c: Likewise.
2342 * stdlib/cxa_finalize.c: Likewise.
2343 * stdlib/gen-fpioconst.c: Likewise.
2344 * stdlib/strtol_l.c: Likewise.
2345 * string/tst-endian.c: Likewise.
2346 * sunrpc/auth_des.c: Likewise.
2347 * sunrpc/clnt_udp.c: Likewise.
2348 * sunrpc/rtime.c: Likewise.
2349 * sunrpc/svcauth_des.c: Likewise.
2350 * sunrpc/xdr.c: Likewise.
2351 * sunrpc/xdr_intXX_t.c: Likewise.
2352 * sunrpc/xdr_rec.c: Likewise.
2353 * sysdeps/generic/ldconfig.h: Likewise.
2354 * sysdeps/generic/ldsodefs.h: Likewise.
2355 * sysdeps/generic/memusage.h: Likewise.
2356 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2357 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2358 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2359 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2360 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2361 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2362 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2363 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2364 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2365 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2366 * sysdeps/posix/getaddrinfo.c: Likewise.
2367 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2368 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2369 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2370 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2371 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2372 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2373 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2374 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2375 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2376 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2377 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2378 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2379 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2380 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2381 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2382 * sysdeps/x86_64/dl-tls.h: Likewise.
2383 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2384 * time/alt_digit.c: Likewise.
2385 * time/era.c: Likewise.
2386 * wcsmbs/tst-c16c32-1.c: Likewise.
2387
8c75f674
JM
23882013-05-16 Joseph Myers <joseph@codesourcery.com>
2389
2390 * math/libm-test.inc (struct test_sincos_data): New type.
2391 (RUN_TEST_LOOP_sincos): New macro.
2392 (sincos_test_data): New variable.
2393 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2394
e6e49e59
RH
23952013-05-16 Richard Henderson <rth@redhat.com>
2396
2397 * math/atest-exp2.c (LIMB64): New macro.
2398 (CONSTSZ): New macro.
2399 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2400 (hexdig): Move ...
2401 (print_mpn_fp): ... to function scope.
2402 (read_mpn_hex): Remove.
2403 (get_log2): Remove.
2404 (exp2_mpn): Use mp_log2.
2405 (main): Use mp_exp1.
2406
15c7c18d
JM
24072013-05-16 Joseph Myers <joseph@codesourcery.com>
2408
105a07df
JM
2409 * math/libm-test.inc: Remove comment about not testing "inexact"
2410 exceptions.
2411 (INEXACT_EXCEPTION): New macro.
2412 (NO_INEXACT_EXCEPTION): Likewise.
2413 (INVALID_EXCEPTION_OK): Update value.
2414 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2415 (OVERFLOW_EXCEPTION_OK): Likewise.
2416 (UNDERFLOW_EXCEPTION_OK): Likewise.
2417 (IGNORE_ZERO_INF_SIGN): Likewise.
2418 (ERRNO_UNCHANGED): Likewise.
2419 (ERRNO_EDOM): Likewise.
2420 (ERRNO_ERANGE): Likewise.
2421 (test_exceptions): Handle testing "inexact" exceptions.
2422 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2423 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2424 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2425 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2426 INEXACT_EXCEPTION.
2427 (rint_towardzero_test_data): Likewise.
2428 (rint_downward_test_data): Likewise.
2429 (rint_upward_test_data): Likewise.
2430
e9eee333
JM
2431 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2432 with OVERFLOW_EXCEPTION.
2433 (exp10_test_data): Likewise.
2434 (exp2_test_data): Likewise.
2435 (expm1_test_data): Likewise.
2436 (lgamma_test_data): Likewise.
2437 (pow_test_data): Likewise.
2438 (tgamma_test_data): Likewise.
2439 (yn_test_data): Remove duplicate test of overflow.
2440
1c38ff73
JM
2441 * math/libm-test.inc (struct test_cc_c_data): New type.
2442 (RUN_TEST_LOOP_cc_c): New macro.
2443 (cpow_test_data): New variable.
2444 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2445
15c7c18d
JM
2446 * math/libm-test.inc (struct test_f_L_data): New type.
2447 (RUN_TEST_LOOP_f_L): New macro.
2448 (llrint_test_data): New variable.
2449 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2450 (llrint_tonearest_test_data): New variable.
2451 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2452 (llrint_towardzero_test_data): New variable.
2453 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2454 (llrint_downward_test_data): New variable.
2455 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2456 (llrint_upward_test_data): New variable.
2457 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2458 (llround_test_data): New variable.
2459 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2460
f137ff13
PC
24612013-05-13 Peter Collingbourne <pcc@google.com>
2462
2463 * math/atest-exp2.c (get_log2): Remove const attribute.
2464
3608cb24
JM
24652013-05-15 Joseph Myers <joseph@codesourcery.com>
2466
2467 * math/libm-test.inc (struct test_f_l_data): New type.
2468 (RUN_TEST_LOOP_f_l): New macro.
2469 (lrint_test_data): New variable.
2470 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2471 (lrint_tonearest_test_data): New variable.
2472 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2473 (lrint_towardzero_test_data): New variable.
2474 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2475 (lrint_downward_test_data): New variable.
2476 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2477 (lrint_upward_test_data): New variable.
2478 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2479 (lround_test_data): New variable.
2480 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2481
39b1f617
PC
24822013-05-15 Peter Collingbourne <pcc@google.com>
2483
1deff3dc
PC
2484 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2485 (EXTRACT_WORDS64) Use where appropriate.
2486 (INSERT_WORDS64) Likewise.
2487
791f3ba0
PC
2488 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2489 constraints with x constraints.
2490 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2491
39b1f617
PC
2492 * malloc/obstack.c (_obstack_compat): Add initializer.
2493
12fba011
EM
24942013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2495
2496 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2497 si_trapno and add si_addr_lsb to _sifields.sigfault.
2498 (si_trapno): Remove macro.
2499 (si_addr_lsb): Define new macro.
2500 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2501
d369f531
JM
25022013-05-15 Joseph Myers <joseph@codesourcery.com>
2503
b861c6c4
JM
2504 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2505 instead of TEST_f_l.
2506 (llrint_test_tonearest): Likewise.
2507 (llrint_test_towardzero): Likewise.
2508 (llrint_test_downward): Likewise.
2509 (llrint_test_upward): Likewise.
2510 (llround_test): Likewise.
2511
7abeee12
JM
2512 * math/libm-test.inc (struct test_f_i_data): Add comment.
2513 (RUN_TEST_LOOP_f_b): New macro.
2514 (RUN_TEST_LOOP_f_b_tg): Likewise.
2515 (finite_test_data): New variable.
2516 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2517 (isfinite_test_data): New variable.
2518 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2519 (isinf_test_data): New variable.
2520 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2521 (isnan_test_data): New variable.
2522 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2523 (isnormal_test_data): New variable.
2524 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2525 (issignaling_test_data): New variable.
2526 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2527 (signbit_test_data): New variable.
2528 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2529
cbe8c4d3
JM
2530 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2531 with INVALID_EXCEPTION.
2532 (acosh_test_data): Likewise.
2533 (asin_test_data): Likewise.
2534 (atanh_test_data): Likewise.
2535 (fmod_test_data): Likewise.
2536 (log_test_data): Likewise.
2537 (log10_test_data): Likewise.
2538 (log2_test_data): Likewise.
2539 (pow_test_data): Likewise.
2540 (sqrt_test_data): Likewise.
2541 (y0_test_data): Likewise.
2542 (y1_test_data): Likewise.
2543 (yn_test_data): Likewise.
2544
5575c0e5
JM
2545 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2546 function contents.
2547
d369f531
JM
2548 * math/libm-test.inc (struct test_ff_i_data): New type.
2549 (RUN_TEST_LOOP_ff_i_tg): New macro.
2550 (isgreater_test_data): New variable.
2551 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2552 (isgreaterequal_test_data): New variable.
2553 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2554 (isless_test_data): New variable.
2555 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2556 (islessequal_test_data): New variable.
2557 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2558 (islessgreater_test_data): New variable.
2559 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2560 (isunordered_test_data): New variable.
2561 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2562
781fd748
DM
25632013-05-14 David S. Miller <davem@davemloft.net>
2564
2565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2566
87aa21df
JM
25672013-05-14 Joseph Myers <joseph@codesourcery.com>
2568
5e908270
JM
2569 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2570
f71172e5
JM
2571 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2572 extra_test to int.
2573 (struct test_f_i_data): Change type of max_ulp to int.
2574
8cfa635a
JM
2575 * math/libm-test.inc (test_ffI_f1_data): New type.
2576 (RUN_TEST_LOOP_ffI_f1): New macro.
2577 (remquo_test_data): New variable.
2578 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2579
2bcb36b2
JM
2580 * setjmp/tst-setjmp-fp.c: New file.
2581 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2582 (link-libm): New variable.
2583 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2584
acbd839a
JM
2585 * math/libm-test.inc (struct test_f_i_data): New type.
2586 (RUN_TEST_LOOP_f_i): New macro.
2587 (RUN_TEST_LOOP_f_i_tg): Likewise.
2588 (fpclassify_test_data): New variable.
2589 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2590 (ilogb_test_data): New variable.
2591 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2592
e414d745
JM
2593 * math/libm-test.inc (scalbln_test): Correct function name in END
2594 call.
2595
d9c2a0fd
JM
2596 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2597 (RUN_TEST_LOOP_fI_f1): New macro.
2598 (frexp_test_data): New variable.
2599 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2600
9dc9095d
JM
2601 * math/libm-test.inc (struct test_fF_f1_data): New type.
2602 (RUN_TEST_LOOP_fF_f1): New macro.
2603 (modf_test_data): New variable.
2604 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2605
87aa21df
JM
2606 * math/libm-test.inc (struct test_f_f1_data): New type.
2607 (RUN_TEST_LOOP_f_f1): New macro.
2608 (gamma_test_data): New variable.
2609 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2610 (lgamma_test_data): New variable.
2611 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2612
141af660
CD
26132013-05-13 Carlos O'Donell <carlos@redhat.com>
2614
2615 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2616 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2617 (main): Comment "tls" pseudo-hwcap.
2618
6d33265c
JM
26192013-05-13 Joseph Myers <joseph@codesourcery.com>
2620
68fc074c
JM
2621 * math/libm-test.inc (struct test_fl_f_data): New type.
2622 (RUN_TEST_LOOP_fl_f): New variable.
2623 (scalbln_test_data): New variable.
2624 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2625
243216e1
JM
2626 * math/libm-test.inc (struct test_fi_f_data): New type.
2627 (RUN_TEST_LOOP_fi_f): New macro.
2628 (ldexp_test_data): New variable.
2629 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
2630 (scalbn_test_data): New variable.
2631 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
2632
6a1992e2
JM
2633 * math/libm-test.inc (struct test_c_f_data): New type.
2634 (RUN_TEST_LOOP_c_f): New macro.
2635 (cabs_test_data): New variable.
2636 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
2637 (carg_test_data): New variable.
2638 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
2639 (cimag_test_data): New variable.
2640 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
2641 (creal_test_data): New variable.
2642 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
2643
0e400df5
JM
2644 * math/libm-test.inc (struct test_if_f_data): New type.
2645 (RUN_TEST_LOOP_if_f): New macro.
2646 (jn_test_data): New variable.
2647 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
2648 (yn_test_data): New variable.
2649 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
2650
6d33265c
JM
2651 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
2652
f98ece5f
AZ
26532013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2654
2655 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
2656 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
2657
0f7d347b
SP
26582013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
2659
43fe811b
SP
2660 * benchtests/Makefile (CPPFLAGS-nonlib): Add
2661 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
2662 (bench-deps): Add bench-timing.h.
2663 * benchtests-bench-skeleton.c: Include bench-timing.h.
2664 (main): Use TIMING_* macros instead of clock_gettime.
2665 * benchtests/bench-timing.h: New file.
2666
0f7d347b
SP
2667 [BZ #14582]
2668 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
2669 Renamed from _LIB_VERSION.
2670 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
2671
601a3a5f
JM
26722013-05-12 Joseph Myers <joseph@codesourcery.com>
2673
4f184d30
JM
2674 * math/libm-test.inc (struct test_fff_f_data): New type.
2675 (RUN_TEST_LOOP_fff_f): New macro.
2676 (fma_test_data): New variable.
2677 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
2678 (fma_towardzero_test_data): New variable.
2679 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
2680 (fma_downward_test_data): New variable.
2681 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
2682 (fma_upward_test_data): New variable.
2683 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
2684
08198877
JM
2685 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
2686 (struct test_c_c_data): New type.
2687 (RUN_TEST_LOOP_c_c): New macro.
2688 (cacos_test_data): New variable.
2689 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
2690 (cacosh_test_data): New variable.
2691 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
2692 (casin_test_data): New variable.
2693 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
2694 (casinh_test_data): New variable.
2695 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
2696 (catan_test_data): New variable.
2697 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
2698 (catanh_test_data): New variable.
2699 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
2700 (ccos_test_data): New variable.
2701 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
2702 (ccosh_test_data): New variable.
2703 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
2704 (cexp_test_data): New variable.
2705 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
2706 (clog_test_data): New variable.
2707 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
2708 (clog10_test_data): New variable.
2709 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
2710 (conj_test_data): New variable.
2711 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
2712 (cproj_test_data): New variable.
2713 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
2714 (csin_test_data): New variable.
2715 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
2716 (csinh_test_data): New variable.
2717 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
2718 (csqrt_test_data): New variable.
2719 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
2720 (ctan_test_data): New variable.
2721 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
2722 (ctan_tonearest_test_data): New variable.
2723 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2724 (ctan_towardzero_test_data): New variable.
2725 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2726 (ctan_downward_test_data): New variable.
2727 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2728 (ctan_upward_test_data): New variable.
2729 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2730 (ctanh_test_data): New variable.
2731 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
2732 (ctanh_tonearest_test_data): New variable.
2733 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
2734 (ctanh_towardzero_test_data): New variable.
2735 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
2736 (ctanh_downward_test_data): New variable.
2737 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
2738 (ctanh_upward_test_data): New variable.
2739 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
2740 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
2741 of BUILD_COMPLEX.
2742
601a3a5f
JM
2743 * math/libm-test.inc (struct test_ff_f_data): New type.
2744 (struct test_ff_f_data_nexttoward): Likewise.
2745 (RUN_TEST_LOOP_2_f): New macro.
2746 (RUN_TEST_LOOP_ff_f): Likewise.
2747 (atan2_test_data): New variable.
2748 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
2749 (copysign_test_data): New variable.
2750 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
2751 (fdim_test_data): New variable.
2752 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
2753 (fmax_test_data): New variable.
2754 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
2755 (fmin_test_data): New variable.
2756 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
2757 (fmod_test_data): New variable.
2758 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
2759 (hypot_test_data): New variable.
2760 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
2761 (nextafter_test_data): New variable.
2762 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
2763 (nexttoward_test_data): New variable.
2764 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
2765 (pow_test_data): New variable.
2766 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
2767 (pow_tonearest_test_data): New variable.
2768 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
2769 (pow_towardzero_test_data): New variable.
2770 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
2771 (pow_downward_test_data): New variable.
2772 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
2773 (pow_upward_test_data): New variable.
2774 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
2775 (remainder_test_data): New variable.
2776 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
2777 (scalb_test_data): New variable.
2778 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
2779 * sysdeps/i386/fpu/libm-test-ulps: Update.
2780
74c57478
JM
27812013-05-11 Joseph Myers <joseph@codesourcery.com>
2782
8329e4da
JM
2783 * math/libm-test.inc (fma_test): Use max_value instead of local
2784 variable fltmax.
2785 (nextafter_test): Likewise.
2786
74c57478
JM
2787 * math/libm-test.inc (acos_towardzero_test_data): New variable.
2788 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2789 (acos_downward_test_data): New variable.
2790 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2791 (acos_upward_test_data): New variable.
2792 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2793 (acosh_test_data): New variable.
2794 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
2795 (asin_test_data): New variable.
2796 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
2797 (asin_tonearest_test_data): New variable.
2798 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2799 (asin_towardzero_test_data): New variable.
2800 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2801 (asin_downward_test_data): New variable.
2802 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2803 (asin_upward_test_data): New variable.
2804 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2805 (asinh_test_data): New variable.
2806 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
2807 (atan_test_data): New variable.
2808 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
2809 (atanh_test_data): New variable.
2810 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
2811 (cbrt_test_data): New variable.
2812 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
2813 (ceil_test_data): New variable.
2814 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
2815 (cos_test_data): New variable.
2816 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
2817 (cos_tonearest_test_data): New variable.
2818 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2819 (cos_towardzero_test_data): New variable.
2820 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2821 (cos_downward_test_data): New variable.
2822 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2823 (cos_upward_test_data): New variable.
2824 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2825 (cosh_test_data): New variable.
2826 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
2827 (cosh_tonearest_test_data): New variable.
2828 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2829 (cosh_towardzero_test_data): New variable.
2830 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2831 (cosh_downward_test_data): New variable.
2832 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2833 (cosh_upward_test_data): New variable.
2834 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2835 (erf_test_data): New variable.
2836 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
2837 (erfc_test_data): New variable.
2838 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
2839 (exp_test_data): New variable.
2840 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
2841 (exp_tonearest_test_data): New variable.
2842 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2843 (exp_towardzero_test_data): New variable.
2844 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2845 (exp_downward_test_data): New variable.
2846 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2847 (exp_upward_test_data): New variable.
2848 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2849 (exp10_test_data): New variable.
2850 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
2851 (exp2_test_data): New variable.
2852 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
2853 (expm1_test_data): New variable.
2854 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
2855 (fabs_test_data): New variable.
2856 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
2857 (floor_test_data): New variable.
2858 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
2859 (j0_test_data): New variable.
2860 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
2861 (j1_test_data): New variable.
2862 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
2863 (log_test_data): New variable.
2864 (log_test): Run tests with RUN_TEST_LOOP_f_f.
2865 (log10_test_data): New variable.
2866 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
2867 (log1p_test_data): New variable.
2868 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
2869 (log2_test_data): New variable.
2870 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
2871 (logb_test_data): New variable.
2872 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
2873 (logb_downward_test_data): New variable.
2874 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2875 (nearbyint_test_data): New variable.
2876 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
2877 (rint_test_data): New variable.
2878 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
2879 (rint_tonearest_test_data): New variable.
2880 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2881 (rint_towardzero_test_data): New variable.
2882 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2883 (rint_downward_test_data): New variable.
2884 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2885 (rint_upward_test_data): New variable.
2886 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2887 (round_test_data): New variable.
2888 (round_test): Run tests with RUN_TEST_LOOP_f_f.
2889 (sin_test_data): New variable.
2890 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
2891 (sin_tonearest_test_data): New variable.
2892 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2893 (sin_towardzero_test_data): New variable.
2894 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2895 (sin_downward_test_data): New variable.
2896 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2897 (sin_upward_test_data): New variable.
2898 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2899 (sinh_test_data): New variable.
2900 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
2901 (sinh_tonearest_test_data): New variable.
2902 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2903 (sinh_towardzero_test_data): New variable.
2904 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2905 (sinh_downward_test_data): New variable.
2906 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2907 (sinh_upward_test_data): New variable.
2908 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2909 (sqrt_test_data): New variable.
2910 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
2911 (tan_test_data): New variable.
2912 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
2913 (tan_tonearest_test_data): New variable.
2914 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2915 (tan_towardzero_test_data): New variable.
2916 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
2917 (tan_downward_test_data): New variable.
2918 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
2919 (tan_upward_test_data): New variable.
2920 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
2921 (tanh_test_data): New variable.
2922 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
2923 (tgamma_test_data): New variable.
2924 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
2925 (trunc_test_data): New variable.
2926 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
2927 (y0_test_data): New variable.
2928 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
2929 (y1_test_data): New variable.
2930 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
2931 (significand_test_data): New variable.
2932 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
2933
7187d844
CG
29342013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
2935
2936 [BZ #12387]
2937 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2938
f63fae73
PT
29392013-05-10 Pino Toscano <toscano.pino@tiscali.it>
2940
2941 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
2942
8a67a4b3
AJ
29432013-05-10 Andreas Jaeger <aj@suse.de>
2944
2945 [BZ #15448]
2946 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
2947 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2948
51df539d
JM
29492013-05-10 Joseph Myers <joseph@codesourcery.com>
2950
2951 * math/gen-libm-test.pl (adjust_arg): New function.
2952 (special_functions): Handle generating output in both functions
2953 and arrays.
2954 (parse_args): Likewise.
2955 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
2956 $in_func argument to parse_args.
2957 * math/libm-test.inc (struct test_f_f_data): New type.
2958 (IF_ROUND_INIT_): New macro.
2959 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
2960 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
2961 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
2962 (IF_ROUND_INIT_FE_UPWARD): Likewise.
2963 (ROUND_RESTORE_): Likewise.
2964 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
2965 (ROUND_RESTORE_FE_TONEAREST): Likewise.
2966 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
2967 (ROUND_RESTORE_FE_UPWARD): Likewise.
2968 (RUN_TEST_LOOP_f_f): New macro.
2969 (acos_test_data): New variable.
2970 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
2971 (acos_tonearest_test_data): New variable.
2972 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
2973
5c637fe5
SP
29742013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2975
2976 * benchtests/bench-skeleton.c (startup): Fix coding style.
2977
ab2b9461
JM
29782013-05-10 Joseph Myers <joseph@codesourcery.com>
2979
2980 [BZ #6809]
2981 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
2982 negative infinity argument.
2983 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
2984 negative infinity argument.
2985 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
2986 negative infinity argument.
2987 * math/libm-test.inc (tgamma_test): Expect errno to be set for
2988 domain errors.
2989
4c0fe6fe
FW
29902013-05-10 Florian Weimer <fweimer@redhat.com>
2991
2992 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
2993 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
2994 * iconv/iconv_prog.c (main): Likewise.
2995 * locale/programs/charmap-dir.c (charmap_readdir)
2996 (fopen_uncompressed): Likewise.
2997 * locale/programs/locfile.c (siblings_uncached)
2998 (write_locale_data): Use lstat64 instead of lstat.
2999 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3000 stat.
3001
a3375d29
AJ
30022013-05-10 Andreas Jaeger <aj@suse.de>
3003
3004 [BZ #15395]
3005 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3006 localization.
3007 Include <locale.h>.
3008
36129722
CD
30092013-05-09 Carlos O'Donell <carlos@redhat.com>
3010
3011 * elf/dl-close.c (_dl_close_worker): Add comments.
3012
faa7f811
JM
30132013-05-09 Joseph Myers <joseph@codesourcery.com>
3014
ed41ffef
JM
3015 [BZ #15359]
3016 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3017 high part of pi/2.
3018 (__ieee754_rem_pio2l): Update comments.
3019
d0213cd0
JM
3020 [BZ #15429]
3021 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3022 high part of pi/2.
3023 (__ieee754_rem_pio2l): Update comments.
3024
0d3e777a
JM
3025 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3026 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3027
24f56066
JM
3028 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3029 M_PI_4l.
3030
faa7f811
JM
3031 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3032 (M_PI_34_LOG10El): Likewise.
3033 (M_PI2_LOG10El): Likewise.
3034 (M_PI4_LOG10El): Likewise.
3035 (M_PI_LOG10El): Likewise.
3036
e9a5e0fd
AZ
30372013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3038
3039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3040
d8cd06db
JM
30412013-05-08 Joseph Myers <joseph@codesourcery.com>
3042
a0d9f9d7
JM
3043 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3044 (MINUS_ZERO_INIT): Likewise.
3045 (PLUS_INFTY_INIT): Likewise.
3046 (MINUS_INFTY_INIT): Likewise.
3047 (QNAN_VALUE_INIT): Likewise.
3048 (MAX_VALUE_INIT): Likewise.
3049 (MIN_VALUE_INIT): Likewise.
3050 (MIN_SUBNORM_VALUE_INIT): Likewise.
3051 (plus_zero): Initialize with PLUS_ZERO_INIT.
3052 (minus_zero): Initialize with MINUS_ZERO_INIT.
3053 (plus_infty): Initialize with PLUS_INFTY_INIT.
3054 (minus_infty): Initialize with MINUS_INFTY_INIT.
3055 (qnan_value): Initialize with QNAN_VALUE_INIT.
3056 (max_value): Initialize with MAX_VALUE_INIT.
3057 (min_value): Initialize with MIN_VALUE_INIT.
3058 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3059
ae08db3b
JM
3060 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3061 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3062 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3063 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3064
f44bf14a
JM
3065 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3066 (RUN_TEST_2_f): Likewise.
3067 (RUN_TEST_ff_f): Likewise.
3068 (RUN_TEST_fi_f): Likewise.
3069 (RUN_TEST_fl_f): Likewise.
3070 (RUN_TEST_fff_f): Likewise.
3071 (RUN_TEST_c_f): Likewise.
3072 (RUN_TEST_f_f1): Likewise.
3073 (RUN_TEST_fF_f1): Likewise.
3074 (RUN_TEST_fI_f1): Likewise.
3075 (RUN_TEST_ffI_f1): Likewise.
3076 (RUN_TEST_c_c): Likewise.
3077 (RUN_TEST_cc_c): Likewise.
3078 (RUN_TEST_f_i): Likewise.
3079 (RUN_TEST_f_i_tg): Likewise.
3080 (RUN_TEST_ff_i_tg): Likewise.
3081 (RUN_TEST_f_b): Likewise.
3082 (RUN_TEST_f_b_tg): Likewise.
3083 (RUN_TEST_f_l): Likewise.
3084 (RUN_TEST_f_L): Likewise.
3085 (RUN_TEST_sincos): Likewise.
3086 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3087 whether to show exceptions. Do not include ");\n" in return
3088 value.
3089 (special_functions): Output call to RUN_TEST_sincos instead of
3090 check_float calls. Update calls to new_test.
3091 (parse_args): Output call to single RUN_TEST_* macro instead of
3092 check_* calls and other assignments. Update calls to new_test.
3093
d8cd06db
JM
3094 [BZ #2546]
3095 [BZ #2560]
3096 [BZ #5159]
3097 [BZ #15426]
3098 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3099 input to result for tgamma overflow.
3100 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3101 (gamma_coeff): New variable.
3102 (NCOEFF): New macro.
3103 (gamma_positive): New function.
3104 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3105 underflow here. Use gamma_positive instead of exp (lgamma) for
3106 other arguments.
3107 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3108 (gamma_coeff): New variable.
3109 (NCOEFF): New macro.
3110 (gammaf_positive): New function.
3111 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3112 underflow here. Use gamma_positive instead of exp (lgamma) for
3113 other arguments.
3114 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3115 (gamma_coeff): New variable.
3116 (NCOEFF): New macro.
3117 (gammal_positive): New function.
3118 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3119 underflow here. Use gamma_positive instead of exp (lgamma) for
3120 other arguments.
3121 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3122 (gamma_coeff): New variable.
3123 (NCOEFF): New macro.
3124 (gammal_positive): New function.
3125 (__ieee754_gammal_r): Handle positive infinity, overflow and
3126 underflow here. Handle NaN the same as positive infinity. Remove
3127 check x < 0xffffffff for negative integers. Use gamma_positive
3128 instead of exp (lgamma) for other arguments.
3129 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3130 (gamma_coeff): New variable.
3131 (NCOEFF): New macro.
3132 (gammal_positive): New function.
3133 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3134 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3135 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3136 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3137 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3138 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3139 * sysdeps/generic/math_private.h (__gamma_productf): New
3140 prototype.
3141 (__gamma_product): Likewise.
3142 (__gamma_productl): Likewise.
3143 * math/Makefile (libm-calls): Add gamma_product.
3144 * math/libm-test.inc (tgamma_test): Add more tests.
3145 * sysdeps/i386/fpu/libm-test-ulps: Update.
3146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3147
bb7cf681
OB
31482013-05-08 Ondřej Bílka <neleai@seznam.cz>
3149
3150 * benchtests/bench-skeleton.c (main): Preheat CPU.
3151
ba853947
AJ
31522013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3153
3154 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3155
8347c74c
RM
31562013-05-07 Roland McGrath <roland@hack.frob.com>
3157
3158 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3159 and _dl_skip_args_internal.
3160
e8dd4791
CD
31612013-05-07 Carlos O'Donell <carlos@redhat.com>
3162
3163 * manual/message.texi (Message Translation): Talk about users.
3164 Message to key mapping impacts design.
3165
c7405830
RM
31662013-05-06 Roland McGrath <roland@hack.frob.com>
3167
a9173057
RM
3168 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3169
976e2f03
RM
3170 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3171
9723ffc5
RM
3172 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3173 * sysdeps/wordsize-64/glob64.c: ... here.
3174
962e6658
RM
3175 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3176 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3177 New macros.
3178
ee586a6d
RM
3179 * debug/getlogin_r_chk.c: Moved to ...
3180 * login/getlogin_r_chk.c: ... here.
3181 * debug/Makefile (routines): Move getlogin_r_chk to ...
3182 * login/Makefile (routines): ... here.
3183 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3184 * login/Versions (libc: GLIBC_2.4): ... here.
3185
355f9165
RM
3186 * io/poll.c (__poll): Renamed from poll.
3187 Add libc_hidden_def.
3188 (poll): Define as weak alias.
3189
bd9ffde6
RM
3190 * debug/ptsname_r_chk.c: Moved to ...
3191 * login/ptsname_r_chk.c: ... here.
3192 * debug/Makefile (routines): Move ptsname_r_chk to ...
3193 * login/Makefile (routines): ... here.
3194 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3195 * login/Versions (libc: GLIBC_2.4): ... here.
3196
8fb16a04
RM
3197 * posix/getlogin.c: Moved to ...
3198 * login/getlogin.c: ... here.
3199 * posix/getlogin_r.c: Moved to ...
3200 * login/getlogin_r.c: ... here.
3201 * posix/getlogin_r.c: Moved to ...
3202 * login/getlogin_r.c: ... here.
3203 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3204 * login/Makefile (routines): ... here.
3205 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3206 * login/Versions (libc: GLIBC_2.0): ... here.
3207
b99b892f
RM
3208 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3209 (setrlimit): Define as weak alias.
3210
c7405830
RM
3211 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3212 Call __ names for open, ftruncate, and close.
3213 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3214 (truncate): Define as weak alias.
3215
5bf96de5
JM
32162013-05-06 Joseph Myers <joseph@codesourcery.com>
3217
9ea3513c
JM
3218 * math/gen-libm-test.pl (parse_args): Initialize x before each
3219 test of frexp, modf and remquo.
3220
5bf96de5
JM
3221 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3222 test signgam value.
3223
16e616a7
AZ
32242013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3225
3226 [BZ #15418]
3227 [BZ #15419]
3228 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3229 internal tests.
3230 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3231
d5e82754
RM
32322013-05-06 Roland McGrath <roland@hack.frob.com>
3233
3234 * elf/dl-writev.h: New file.
3235 * elf/dl-misc.c: Include it.
3236 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3237 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3238
a7548d41
JM
32392013-05-04 Joseph Myers <joseph@codesourcery.com>
3240
b7dab1e4
JM
3241 * math/libm-test.inc (noXFails): Remove variable.
3242 (noXPasses): Likewise.
3243 (BUILD_COMPLEX_INT): Remove macro.
3244 (print_screen): Remove xfail argument.
3245 (print_screen_max_error): Likewise.
3246 (update_stats): Likewise.
3247 (print_max_error): Likewise. Update calls to other affected
3248 functions.
3249 (print_complex_max_error): Likewise.
3250 (test_single_exception): Update calls to print_screen.
3251 (test_single_errno): Likewise.
3252 (check_float_internal): Remove xfail argument. Update calls to
3253 other affected functions.
3254 (check_float): Likewise.
3255 (check_complex): Likewise.
3256 (check_int): Likewise.
3257 (check_long): Likewise.
3258 (check_bool): Likewise.
3259 (check_longlong): Likewise.
3260 (main): Don't print noXFails and noXPasses.
3261 * math/gen-libm-test.pl (top level): Don't mention expected
3262 failure handling in comment.
3263 (new_test): Don't handle expected failures.
3264 (parse_args): Don't mention expected failure handling in comment.
3265 (generate_testfile): Don't handle expected failures.
3266 (parse_ulps): Likewise.
3267 (print_ulps_file): Likewise.
3268 (get_failure): Remove function.
3269 (output_test): Don't handle expected failures.
3270 * make/README.libm-test: Don't mention expected failure handling.
3271
a7548d41
JM
3272 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3273 (minus_zero): Likewise.
3274 (plus_infty): Likewise.
3275 (minus_infty): Likewise.
3276 (qnan_value): Likewise.
3277 (max_value): Likewise.
3278 (min_value): Likewise.
3279 (min_subnorm_value): Likewise.
3280 (initialize): Do not initialize those variables dynamically.
3281
60bfd54c
RM
32822013-05-03 Roland McGrath <roland@hack.frob.com>
3283
cc0e6ed8
RM
3284 * io/open.c (__open_2): Moved to ...
3285 * io/open_2.c: ... this new file.
3286 * io/open64.c (__open64_2): Moved to ...
3287 * io/open64_2.c: ... this new file.
3288 * io/openat.c (__openat_2): Moved to ...
3289 * io/openat_2.c: ... this new file.
3290 * io/openat64.c (__openat64_2): Moved to ...
3291 * io/openat64_2.c: ... this new file.
3292 * io/Makefile (routines): Add them.
3293 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3294 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3295 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3296 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3297 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3298 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3299 (__openat64): Add hidden_ver.
3300 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3301 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3302
60bfd54c
RM
3303 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3304 Separately conditionalize setting of GLRO(dl_sysinfo) so
3305 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3306 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3307
83e7640f
AZ
33082013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3309
3310 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3311 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3312 definition.
3313 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3314 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3315 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3316 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3317 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3318
d5dc2af3
JM
33192013-05-03 Joseph Myers <joseph@codesourcery.com>
3320
c31a5b1e
JM
3321 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3322 test signgam value.
3323
d5dc2af3
JM
3324 * math/libm-test.inc (hypot_test): Do not use
3325 IGNORE_ZERO_INF_SIGN.
3326
164fd39d
AJ
33272013-05-03 Andreas Jaeger <aj@suse.de>
3328
3329 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3330 Linux 3.9.
3331 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3332 (PF_MAX): Adjust for VSOCK change.
3333
8237f48c
AZ
33342013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3335
3336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3337
9df02941
CD
33382013-05-02 Carlos O'Donell <carlos@redhat.com>
3339
3340 [BZ #15264]
3341 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3342 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3343 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3344
d422395e
DM
33452013-05-02 David S. Miller <davem@davemloft.net>
3346
3347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3348
a07c5731
OB
33492013-05-01 Ondřej Bílka <neleai@seznam.cz>
3350
3351 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3352
1324e37f
RM
33532013-05-01 Roland McGrath <roland@hack.frob.com>
3354
3355 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3356
0695940b
RS
33572013-05-01 Richard Smith <richard@metafoo.co.uk>
3358
bb5f27ad 3359 [BZ #14952]
0695940b
RS
3360 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3361 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3362 Use __attribute__ ((__gnu_inline__)).
3363 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3364 Don't use __attribute__ ((__gnu_inline__)).
3365
10de07f5
JM
33662013-05-01 Joseph Myers <joseph@codesourcery.com>
3367
3368 [BZ #15423]
3369 * math/s_catan.c (__catan): Handle small real or imaginary part of
3370 input specially to avoid spurious underflow.
3371 * math/s_catanf.c (__catanf): Likewise.
3372 * math/s_catanh.c (__catanh): Likewise.
3373 * math/s_catanhf.c (__catanhf): Likewise.
3374 * math/s_catanhl.c (__catanhl): Likewise.
3375 * math/s_catanl.c (__catanl): Likewise.
3376 * math/libm-test.inc (catan_test): Add more tests.
3377 (catanh_test): Likewise.
3378 * sysdeps/i386/fpu/libm-test-ulps: Update.
3379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3380
cb4d5414
AZ
33812013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3382
3383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3384
caf84319
JM
33852013-04-30 Joseph Myers <joseph@codesourcery.com>
3386
3387 [BZ #15416]
3388 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3389 accurately for denominator in atan2.
3390 * math/s_catanf.c (__catanf): Likewise.
3391 * math/s_catanh.c (__catanh): Likewise.
3392 * math/s_catanhf.c (__catanhf): Likewise.
3393 * math/s_catanhl.c (__catanhl): Likewise.
3394 * math/s_catanl.c (__catanl): Likewise.
3395 * math/libm-test.inc (catan_test): Add more tests.
3396 (catanh_test): Likewise.
3397 * sysdeps/i386/fpu/libm-test-ulps: Update.
3398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3399
d569c6ee
SP
34002013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3401
6dbe713d
SP
3402 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3403
f0ee064b
SP
3404 * benchtests/Makefile (bench): Remove slow benchmarks.
3405 * benchtests/atan-inputs: Add slow benchmark inputs.
3406 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3407 (BENCH_FUNC): Accept variant offset.
3408 (VARIANT): Define.
3409 * benchtests/bench-skeleton.c (main): Run benchmark for each
3410 variant.
3411 * benchtests/cos-inputs: Add slow benchmark inputs.
3412 * benchtests/exp-inputs: Likewise.
3413 * benchtests/pow-inputs: Likewise.
3414 * benchtests/sin-inputs: Likewise.
3415 * benchtests/slowatan-inputs: Remove.
3416 * benchtests/slowatan.c: Remove.
3417 * benchtests/slowcos-inputs: Remove.
3418 * benchtests/slowcos.c: Remove.
3419 * benchtests/slowexp-inputs: Remove.
3420 * benchtests/slowexp.c: Remove.
3421 * benchtests/slowpow-inputs: Remove.
3422 * benchtests/slowpow.c: Remove.
3423 * benchtests/slowsin-inputs: Remove.
3424 * benchtests/slowsin.c: Remove.
3425 * benchtests/slowtan-inputs: Remove.
3426 * benchtests/slowtan.c: Remove.
3427 * benchtests/tan-inputs: Add slow benchmark inputs.
3428 * scripts/bench.pl: Parse comments and directives.
3429
d569c6ee
SP
3430 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3431 in CPPFLAGS.
3432 ($(objpfx)bench-%.c): Remove *-ITER.
3433 * benchtests/bench-modf.c: Remove definition of ITER.
3434 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3435 (main): Loop for DURATION seconds instead of fixed number of
3436 iterations.
3437 * scripts/bench.pl: Don't expect iterations in parameters.
3438
a6a242fe
RM
34392013-04-29 Roland McGrath <roland@hack.frob.com>
3440
3441 * io/fchdir.c (__fchdir): Renamed from fchdir.
3442 (fchdir): Define as weak alias.
3443
f2da7793
JM
34442013-04-29 Joseph Myers <joseph@codesourcery.com>
3445
3446 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3447 (ERRNO_EDOM): Likewise.
3448 (ERRNO_ERANGE): Likewise.
3449 (noErrnoTests): New variable.
3450 (init_max_error): Set errno to 0.
3451 (test_single_errno): New function.
3452 (test_errno): Likewise.
3453 (check_float_internal): Call test_errno. Set errno to 0.
3454 (check_complex): Refer to errno tests in comment.
3455 (check_int): Call test_errno. Set errno to 0.
3456 (check_long): Likewise.
3457 (check_bool): Likewise.
3458 (check_longlong): Likewise.
3459 (cos_test): Use ERRNO_* flags for errno tests instead of
3460 check_int.
3461 (expm1_test): Likewise.
3462 (fmod_test): Likewise.
3463 (ilogb_test): Likewise.
3464 (lgamma_test): Likewise.
3465 (pow_test): Likewise.
3466 (remainder_test): Likewise.
3467 (sin_test): Likewise.
3468 (tan_test): Likewise.
3469 (yn_test): Likewise.
3470 (initialize): Set errno to 0.
3471 (main): Print number of errno tests.
3472 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3473
b1a36ceb
AJ
34742013-04-29 Andreas Jaeger <aj@suse.de>
3475
c3ed8088
AJ
3476 [BZ #15084]
3477 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3478 and RES_USEVC.
3479
f1a24198
AJ
3480 [BZ #15085]
3481 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3482 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3483 unimplemented.
3484
9ce3b2cb
AJ
3485 [BZ #15380]
3486 * stdlib/random.c (__initstate): Return NULL if
3487 __initstate fails.
3488
f1a24198 3489 [BZ #15086]
b1a36ceb
AJ
3490 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3491 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3492 RES_SNGLKUPREOP.
3493
7e7b6f36
AZ
34942013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3495
3496 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3497
4d14f449
JM
34982013-04-29 Joseph Myers <joseph@codesourcery.com>
3499
3500 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3501 of individual tests.
3502 (casin_test): Likewise.
3503 (casinh_test): Likewise.
3504
5b4217d7
JM
35052013-04-27 Joseph Myers <joseph@codesourcery.com>
3506
3507 [BZ #15409]
3508 * math/s_catan.c (__catan): Handle arguments with large real or
3509 imaginary part separately without squaring.
3510 * math/s_catanf.c (__catanf): Likewise.
3511 * math/s_catanh.c (__catanh): Likewise.
3512 * math/s_catanhf.c (__catanhf): Likewise.
3513 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3514 and redefine.
3515 (__catanhl): Handle arguments with large real or imaginary part
3516 separately without squaring.
3517 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3518 and redefine.
3519 (__catanl): Handle arguments with large real or imaginary part
3520 separately without squaring.
3521 * math/libm-test.inc (catan_test): Add more tests.
3522 (catanh_test): Likewise.
3523 * sysdeps/i386/fpu/libm-test-ulps: Update.
3524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3525
4220c3ef
AJ
35262013-04-27 Andreas Jaeger <aj@suse.de>
3527
3528 [BZ #15007]
3529 * stdlib/stdlib.h: Update guards for qecvt.
3530 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3531 <stdlib.h>.
3532
4721b2d1
AM
35332013-04-27 Allan McRae <allan@archlinux.org>
3534
3535 * sysdeps/i386/fpu/libm-test-ulps: Update.
3536
f0302940
JM
35372013-04-26 Joseph Myers <joseph@codesourcery.com>
3538
9457fd95
JM
3539 [BZ #15406]
3540 * math/s_catan.c: Include <float.h>.
3541 (__catan): Ensure underflow exception occurs for underflowed
3542 result.
3543 * math/s_catanf.c: Include <float.h>.
3544 (__catanf): Ensure underflow exception occurs for underflowed
3545 result.
3546 * math/s_catanh.c: Include <float.h>.
3547 (__catanh): Ensure underflow exception occurs for underflowed
3548 result.
3549 * math/s_catanhf.c: Include <float.h>.
3550 (__catanhf): Ensure underflow exception occurs for underflowed
3551 result.
3552 * math/s_catanhl.c: Include <float.h>.
3553 (__catanhl): Ensure underflow exception occurs for underflowed
3554 result.
3555 * math/s_catanl.c: Include <float.h>.
3556 (__catanl): Ensure underflow exception occurs for underflowed
3557 result.
3558 * math/libm-test.inc (catan_test): Add more tests.
3559 (catanh_test): Likewise.
3560
f0302940
JM
3561 [BZ #15405]
3562 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3563 underflowed result.
3564 * math/s_ccoshf.c (__ccoshf): Likewise.
3565 * math/s_ccoshl.c (__ccoshl): Likewise.
3566 * math/s_csin.c (__csin): Likewise.
3567 * math/s_csinf.c (__csinf): Likewise.
3568 * math/s_csinh.c (__csinh): Likewise.
3569 * math/s_csinhf.c (__csinhf): Likewise.
3570 * math/s_csinhl.c (__csinhl): Likewise.
3571 * math/s_csinl.c (__csinl): Likewise.
3572 * math/libm-test.inc (ccos_test): Add more tests.
3573 (ccosh_test): Likewise.
3574 (csin_test): Likewise.
3575 (csinh_test): Likewise.
3576
aa630f59
AZ
35772013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3578
3579 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3580 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3581 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3582 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3583 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3584 powerpc/power5+/fpu folders.
3585 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3586
3587
1b835983
MT
35882013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3589
3590 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3591
73709b26
JM
35922013-04-25 Joseph Myers <joseph@codesourcery.com>
3593
3594 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3595 additions to variable.
3596 [$(config-machine) = x86_64] (modules-names): Likewise.
3597 ($(objpfx)tst-audit3): Remove dependency.
3598 ($(objpfx)tst-audit3.out): Likewise.
3599 ($(objpfx)tst-audit4): Likewise.
3600 ($(objpfx)tst-audit4.out): Likewise.
3601 ($(objpfx)tst-audit5): Likewise.
3602 ($(objpfx)tst-audit5.out): Likewise.
3603 ($(objpfx)tst-audit6): Likewise.
3604 ($(objpfx)tst-audit6.out): Likewise.
3605 ($(objpfx)tst-audit7): Likewise.
3606 ($(objpfx)tst-audit7.out): Likewise.
3607 (tst-audit3-ENV): Remove variable.
3608 (tst-audit4-ENV): Likewise.
3609 (tst-audit5-ENV): Likewise.
3610 (tst-audit6-ENV): Likewise.
3611 (tst-audit7-ENV): Likewise.
3612 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3613 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3614 addition to variable.
3615 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3616 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3617 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3618 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3619 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3620 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3621 tst-audit3, tst-audit4 and tst-audit5.
3622 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3623 tst-audit6 and tst-audit7.
3624 [$(subdir) = elf] (modules-names): Add audit modules for those
3625 tests.
3626 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3627 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3628 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3629 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
3630 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
3631 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
3632 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
3633 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
3634 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
3635 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
3636 [$(subdir) = elf] (tst-audit3-ENV): New variable.
3637 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
3638 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
3639 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
3640 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
3641 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
3642 Likewise.
3643 [$(subdir) = elf && $(config-cflags-avx) = yes]
3644 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
3645 [$(subdir) = elf && $(config-cflags-avx) = yes]
3646 (CFLAGS-tst-auditmod4a.c): Likewise.
3647 [$(subdir) = elf && $(config-cflags-avx) = yes]
3648 (CFLAGS-tst-auditmod4b.c): Likewise.
3649 [$(subdir) = elf && $(config-cflags-avx) = yes]
3650 (CFLAGS-tst-auditmod6b.c): Likewise.
3651 [$(subdir) = elf && $(config-cflags-avx) = yes]
3652 (CFLAGS-tst-auditmod6c.c): Likewise.
3653 [$(subdir) = elf && $(config-cflags-avx) = yes]
3654 (CFLAGS-tst-auditmod7b.c): Likewise.
3655 * elf/tst-audit3.c: Move to ...
3656 * sysdeps/x86_64/tst-audit3.c: ... here.
3657 * elf/tst-audit4.c: Move to ...
3658 * sysdeps/x86_64/tst-audit4.c: ... here.
3659 * elf/tst-audit5.c: Move to ...
3660 * sysdeps/x86_64/tst-audit5.c: ... here.
3661 * elf/tst-audit6.c: Move to ...
3662 * sysdeps/x86_64/tst-audit6.c: ... here.
3663 * elf/tst-audit7.c: Move to ...
3664 * sysdeps/x86_64/tst-audit7.c: ... here.
3665 * elf/tst-auditmod3a.c: Move to ...
3666 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
3667 * elf/tst-auditmod3b.c: Move to ...
3668 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
3669 * elf/tst-auditmod4a.c: Move to ...
3670 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
3671 * elf/tst-auditmod4b.c: Move to ...
3672 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
3673 * elf/tst-auditmod5a.c: Move to ...
3674 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
3675 * elf/tst-auditmod5b.c: Move to ...
3676 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
3677 * elf/tst-auditmod6a.c: Move to ...
3678 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
3679 * elf/tst-auditmod6b.c: Move to ...
3680 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
3681 * elf/tst-auditmod6c.c: Move to ...
3682 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
3683 * elf/tst-auditmod7a.c: Move to ...
3684 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
3685 * elf/tst-auditmod7b.c: Move to ...
3686 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
3687
1ef74943
PP
36882013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
3689
3690 [BZ #15366]
3691 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
3692 define unconditionally.
3693 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
3694 define unconditionally.
3695 (INT8_C, INT16_C, etc.): Likewise.
3696
93fd48c5
MR
36972013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
3698
ae9552cf
MR
3699 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
3700 __ehdr_start with hidden visibility.
3701
93fd48c5
MR
3702 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
3703
418601aa
CD
37042013-04-24 Carlos O'Donell <carlos@redhat.com>
3705
3706 * math/libm-test.inc (cos_test): Use accurate hex constants.
3707 (sincost_test): Likewise.
3708
2f38fbfe
JM
37092013-04-24 Joseph Myers <joseph@codesourcery.com>
3710
5e221800
JM
3711 * math/libm-test.inc (catan_test): Add more tests.
3712 (catanh_test): Likewise.
3713
77f143fd
JM
3714 * math/s_catanf.c (__catanf): Use suffixed floating-point
3715 constants.
3716 * math/s_catanhf.c (__catanhf): Likewise.
3717 * math/s_catanhl.c (__catanhl): Likewise.
3718 * math/s_catanl.c (__catanl): Likewise.
3719
2f38fbfe
JM
3720 [BZ #15394]
3721 * math/s_catan.c (__catan): Calculate imaginary part of result
3722 with log1p not log unless computing log of number close to 0.
3723 * math/s_catanf.c (__catanf): Likewise.
3724 * math/s_catanl.c (__catanl): Likewise.
3725 * math/s_catanh.c (__catanh): Calculate real part of result with
3726 log1p not log unless computing log of number close to 0.
3727 * math/s_catanhf.c (__catanhf): Likewise.
3728 * math/s_catanhl.c (__catanhl): Likewise.
3729 * math/libm-test.inc (catan_test): Add more tests.
3730 (catanh_test): Likewise.
3731 * sysdeps/i386/fpu/libm-test-ulps: Update.
3732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3733
45d69176
SP
37342013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3735
3736 * benchtests/Makefile: Mention files in which fast and slow
3737 paths of math functions are implemented.
3738
87f51853
RM
37392013-04-23 Roland McGrath <roland@hack.frob.com>
3740
3741 * sysdeps/posix/timespec_get.c: New file.
3742
3c026539
AZ
37432013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3744
3745 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
3746 POWER.
3747 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
3748 for POWER.
3749 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
3750 powerpc/power5/fpu folders.
3751 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
3752 * benchtests/Makefile: Add modf testcase.
3753 * benchtests/bench-modf.c: New file: Benchmark test for mo
3754
ff491d14
SP
37552013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3756
3757 [BZ #14888]
3758 * time/Makefile (tests): Add tst-strptime-whitespace.
3759 * time/strptime_l.c (get_number): Use ISSPACE.
3760 (__strptime_internal): Likewise.
3761 * time/tst-strptime-whitespace.c: New test case.
3762
7ed3f4e8
AS
37632013-04-23 Andreas Schwab <schwab@linux-m68k.org>
3764
3765 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
3766 member.
3767 (_nss_files_init): Set it here.
3768
5c95f7b6
HC
37692013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
3770
3771 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
3772 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
3773 unsigned.
3774
d34c9158
JBG
37752013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
3776
3777 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
3778
2169712d
SP
37792013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3780
3781 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
3782 size just once.
3783
29c5de99
DM
37842013-04-21 David S. Miller <davem@davemloft.net>
3785
3786 * po/ru.po: Update Russion translation from translation project.
3787
ccdad15d
AC
37882013-04-17 Adam Conrad <adconrad@0c3.net>
3789
3790 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
3791 and setfsgid.
3792
0f122b8d
CD
37932013-04-17 Carlos O'Donell <carlos@redhat.com>
3794
5c5b07da 3795 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 3796 * configure: Regenerate.
5c5b07da 3797 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
3798 Add example to error message.
3799 * sysdeps/i386/configure: Regenerate.
3800
037714dd
SP
38012013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3802
3803 * benchtests/Makefile (bench): Add cos, tan, slowcos and
3804 slowtan.
3805 * benchtests/cos-inputs: New file.
3806 * benchtests/slowcos-inputs: New file.
3807 * benchtests/slowcos.c: New file.
3808 * benchtests/slowtan-inputs: New file.
3809 * benchtests/slowtan.c: New file.
3810 * benchtests/tan-inputs: New file.
3811
e913141d
RM
38122013-04-16 Roland McGrath <roland@hack.frob.com>
3813
3814 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
3815 considered kosher.
3816
a2964074
SP
38172013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
3818
4856bcd2
SP
3819 * benchtests/Makefile: Include cppflags-iterator.mk to add
3820 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
3821
a2964074
SP
3822 * Makefile.in (bench-clean): New target.
3823 * benchtests/Makefile (bench-clean): Likewise.
3824
9fbf9aca
DH
38252013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
3826
3827 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
3828
207d1e2a
TS
38292013-04-15 Thomas Schwinge <thomas@codesourcery.com>
3830
3831 * stdio-common/tstdiomisc.c: Fix coding-style violation.
3832
306dfba9
AS
38332013-04-15 Andreas Schwab <schwab@suse.de>
3834
3835 * nscd/grpcache.c (cache_addgr): Properly check for short write.
3836 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3837 * nscd/pwdcache.c (cache_addpw): Likewise.
3838 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
3839 more than recsize.
3840
206a6699
SP
38412013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3842
3843 * benchtests/Makefile (bench): Write all output to
3844 bench-out.tmp together.
3845
0582f6b3
AS
38462013-04-15 Andreas Schwab <schwab@suse.de>
3847
3848 * nscd/nscd.c (main): Don't fork again after closing files.
3849
acb4325f
SP
38502013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3851
5cb26d0a
SP
3852 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
3853
acb4325f
SP
3854 * benchtests/Rules (bench-deps): Collect dependencies into a
3855 single variable. Add Makefile to dependencies.
3856 ($(objpfx)bench-%.c): Depend on bench-deps.
3857
47792506
RM
38582013-04-12 Roland McGrath <roland@hack.frob.com>
3859 Xavier Roche <roche+kml2@exalead.com>
3860
3861 [BZ #15361]
3862 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
3863 just that it's a file descriptor.
3864 * manual/llio.texi (Synchronizing AIO Operations): Update description
3865 for EBADF error from aio_fsync.
3866
8fc1bee5
SP
38672013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3868
3869 * Rules (bench): Move target definition...
3870 * benchtests/Makefile: ... here.
3871
aba5e333
CD
38722013-04-11 Carlos O'Donell <carlos@redhat.com>
3873
3874 * math/libm-test.inc (cos_test): Fix PI/2 test.
3875 (sincos_test): Likewise.
3876 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
3877 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
3878
273cdee8
AS
38792013-04-11 Andreas Schwab <schwab@suse.de>
3880
6ecec3b6
AS
3881 [BZ #13988]
3882 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
3883 accept exponent character only when digits were seen.
3884 * stdio-common/Makefile (tests): Add bug26.
3885 * stdio-common/bug26.c: New file.
3886
273cdee8
AS
3887 [BZ #14293]
3888 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
3889 non-freeable.
3890
8da491f5
SP
38912013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3892
01dc6df9
SP
3893 * Makeconfig (rtld-prefix): Define built linker prefix.
3894 * Rules (run-bench): Use it.
3895 * math/Makefile (run-regen-ulps): Likewise.
3896
8da491f5
SP
3897 * Rules (bench): Remove eval.
3898
abe7f530
SP
38992013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3900 Roland McGrath <roland@hack.frob.com>
3901 Ondrej Bilka <neleai@seznam.cz>
3902
3903 [BZ #15346]
3904 * time/getdate.c: Include ctype.h and alloca.h.
3905 (__getdate_r): Trim leading and trailing spaces of input.
3906 * time/tst-getdate.c (tests): Add tests with leading and
3907 trailing spaces.
3908
61c23e62
RM
39092013-04-08 Roland McGrath <roland@hack.frob.com>
3910
3911 [BZ #14280]
3912 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
3913 when computing value.
3914
7208a313
CD
39152013-04-06 Carlos O'Donell <carlos@redhat.com>
3916
085b2d41
CD
3917 * math/README.libm-test (How can I generate "libm-test-ulps"?):
3918 Use testrun.sh to run libm tests.
3919
7208a313
CD
3920 [BZ #15309]
3921 * elf/dl-open.c (dl_open_worker): memset all of seen array.
3922
872c0acd
MM
39232013-04-06 Marko Myllynen <myllynen@redhat.com>
3924
3925 [BZ #15264]
3926 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
3927
26510bdd
CD
39282013-04-06 Carlos O'Donell <carlos@redhat.com>
3929
3930 * Makefile.in (regen-ulps): New target.
3931 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
3932 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
3933 [ifneq (no,$(PERL)] (regen-ulps): New target.
3934 [ifeq (no,$(PERL)] (regen-ulps): New target.
3935 * math/libm-test.inc (ulps_file_name): Define.
3936 (output_dir): New variable.
3937 (options): Add "output-dir" option.
3938 (parse_opt): Handle 'o' case.
3939 (main): If output_dir is non-NULL use it as a prefix
3940 otherwise use "".
3941 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
3942
a01f19c8
CD
39432013-04-06 Carlos O'Donell <carlos@redhat.com>
3944
3945 [BZ #10060, #10062]
3946 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
3947 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
3948 fail configure if __sync_val_compare_and_swap is not inlined.
3949 * sysdeps/i386/configure: Regenerate.
3950 * configure.in: Build for i686 when configured for i386.
3951 * configure: Regenerate.
3952 * README: Remove i386 reference.
3953
b7a329a5
CD
39542013-04-06 Carlos O'Donell <carlos@redhat.com>
3955
3956 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
3957 * sysdeps/s390/s390-64/sysdep.h: Likewise.
3958
bf0f50df
TS
39592013-04-05 Thomas Schwinge <thomas@codesourcery.com>
3960
ee091edf
TS
3961 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
3962 (lmsnanval): New variables.
3963 (F): Add conversion tests.
3964 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
3965 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
3966
a8b792d6
TS
3967 * stdio-common/tstdiomisc.c (F): Properly collect individual
3968 tests' results.
3969
a1cbf437
TS
3970 [BZ #14686, #15336]
3971 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
3972 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
3973 Instead, use input NaN values or generate a qNaN by arithmetic
3974 operation. Also fix bugs to comply with the standard.
3975 * math/libm-test.inc (remainder_test): Add more tests.
3976
8b43a0c9
TS
3977 [BZ #15335, #15342]
3978 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
3979 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
3980 input NaN values or generate a qNaN by arithmetic operation.
3981
d91da4ce
TS
3982 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
3983 unreachable code.
3984
bf0f50df
TS
3985 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
3986 definitions.
3987
05e166c8
JM
39882013-04-03 Joseph Myers <joseph@codesourcery.com>
3989
3990 [BZ #14478]
3991 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
3992 underflowed result.
3993 * math/s_cexpf.c (__cexpf): Likewise.
3994 * math/s_cexpl.c (__cexpl): Likewise.
3995 * math/libm-test.inc (cexp_test): Add more tests.
3996
1cef1b19
AS
39972013-04-03 Andreas Schwab <schwab@suse.de>
3998
3999 [BZ #15330]
4000 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4001 order arrays from heap if bigger than alloca cutoff.
4002
74d87055
TS
40032013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4004
4005 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4006 (SNAN_TESTS_double): Refer to GCC PR56831.
4007 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4008 GCC PR56828.
4009
d755bba4
SP
40102013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4011
90d5d5bb
SP
4012 * Rules (bench): Move bench.out after the run is complete.
4013
73e0cd5d
SP
4014 * Rules (bench): Echo currently running benchmark.
4015
64aabd4b
SP
4016 * benchtests/Makefile (bench): Add atan and slowatan.
4017 * benchtests/atan-inputs: New file.
4018 * benchtests/slowatan-inputs: New file.
4019 * benchtests/slowatan.c: New file.
4020
c871eccd
SP
4021 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4022 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4023 its value.
4024
d755bba4
SP
4025 [BZ #15305]
4026 * sysdeps/unix/sysv/linux/kernel-features.h
4027 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4028 __ASSUME_XFS_RESTRICTED_CHOWN.
4029 * sysdeps/unix/sysv/linux/pathconf.c
4030 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4031 Save and restore errno.
4032
52ce4860
JM
40332013-04-02 Joseph Myers <joseph@codesourcery.com>
4034
4035 [BZ #15327]
4036 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4037 arguments using __kernel_casinh.
4038 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4039 arguments using __kernel_casinhf.
4040 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4041 arguments using __kernel_casinhl.
4042 * math/libm-test.inc (cacosh_test): Add more tests.
4043 * sysdeps/i386/fpu/libm-test-ulps: Update.
4044 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4045
81f311c2
SP
40462013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4047
e7906a47
SP
4048 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4049 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4050
92e3664b
SP
4051 * bench/Makefile (bench): Add sin and slowsin.
4052 * benchtests/sin-inputs: New file.
4053 * benchtests/slowsin-inputs: New file.
4054 * benchtests/slowsin.c: New file.
4055
81f311c2
SP
4056 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4057 (bench): Add slowexp and slowpow.
4058 (exp-ITER): Increase iterations.
4059 (pow-ITER): Likewise.
4060 * benchtests/exp-inputs: Change input.
4061 * benchtests/pow-inputs: Likewise.
4062 * benchtests/slowexp-inputs: New file.
4063 * benchtests/slowexp.c: New file.
4064 * benchtests/slowpow-inputs: New file.
4065 * benchtests/slowpow.c: New file.
4066
ab0f1aa9
AZ
40672013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4068
4069 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4070 instructions.
4071 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4072 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4073 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4074 * benchtests/Makefile: Add rint benchtest.
4075 * benchtests/rint-inputs: Input for rint benchtest.
4076
57267616
TS
40772013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4078
4079 * Versions.def (libm): Add GLIBC_2.18.
4080 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4081 hidden libm prototypes.
4082 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4083 * math/Makefile (libm-calls): Add s_issignaling.
4084 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4085 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4086 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4087 declaration.
4088 * math/math.h [__USE_GNU] (issignaling): New macro.
4089 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4090 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4091 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4092 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4093 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4094 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4095 * manual/arith.texi (issignaling): New section.
4096 * manual/libm-err-tab.pl (@all_functions): Update comment.
4097 * math/gen-libm-test.pl (parse_args): Apply special handling for
4098 issignaling.
4099 * math/libm-test.inc (print_float, issignaling_test): New
4100 functions.
4101 (check_float_internal): Add issignaling checks.
4102 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4103 default definition.
4104 * sysdeps/powerpc/math-tests.h: New file.
4105 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4106 tests.
4107 * math/test-snan.c (TEST_FUNC): Likewise.
4108
6142896d
DM
41092013-03-30 David S. Miller <davem@davemloft.net>
4110
4111 * po/de.po: Update from translation team.
4112
ccc8cadf
JM
41132013-03-30 Joseph Myers <joseph@codesourcery.com>
4114
4115 [BZ #10357]
4116 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4117 imaginary part less than 1.0 and real part less than 0.5
4118 specially.
4119 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4120 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4121 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4122 (cacos_test): Add more tests.
4123 (casin_test): Likewise.
4124 (casinh_test): Likewise.
4125 * sysdeps/i386/fpu/libm-test-ulps: Update.
4126 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4127
0f6a8d4b
SP
41282013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4129
0d1029de
SP
4130 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4131 ONE with its value.
4132
c2d94018
SP
4133 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4134 (__pow_mp): Replace ONE and MONE with their values.
4135 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4136 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4137 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4138 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4139 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4140 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4141
27ec37f1
SP
4142 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4143
a64d7e0e
SP
4144 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4145 (__pow_mp): Replace ZERO and MZERO with their values.
4146 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4147 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4148 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4149 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4150 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4151 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4152 (__sqr): Likewise.
4153
d26dd3eb
SP
4154 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4155
0f6a8d4b
SP
4156 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4157
e57b0c61
RM
41582013-03-28 Roland McGrath <roland@hack.frob.com>
4159
4160 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4161 Declare with __attribute__ ((weak)).
4162 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4163 Call __call_tls_dtors only if it's not NULL.
4164
356b3480
RM
41652013-03-28 Roland McGrath <roland@hack.frob.com>
4166
288f7d79
RM
4167 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4168 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4169 magic __ehdr_start linker symbol if it's defined.
4170 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4171 them up here if it was already done.
4172
dc0a0263
RM
4173 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4174 (_dl_aux_init): Use const in cast when setting it.
4175 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4176 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4177 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4178
3d3436ae
RM
4179 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4180 Declare them here.
4181 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4182 * csu/libc-tls.c: Nor here.
4183 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4184
356b3480
RM
4185 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4186 (__libc_message): Never call vsyslog.
4187
b0f1246a
AM
41882013-03-28 Alan Modra <amodra@gmail.com>
4189
4190 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4191 Define as empty.
4192 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4193 Likewise.
4194
fbbe2b9a
AZ
41952013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4196
4197 [BZ #15214]
4198 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4199 underflow.
4200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4201
1728ab37
SP
42022013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4203
7a86be6e
SP
4204 [BZ #15304]
4205 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4206 Don't add gid passed as argument.
4207
1728ab37
SP
4208 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4209
3a7182a1
JM
42102013-03-27 Joseph Myers <joseph@codesourcery.com>
4211
4212 [BZ #15307]
4213 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4214 imaginary part between 1.0 and 1.5 and real part less than 0.5
4215 specially.
4216 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4217 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4218 * math/libm-test.inc (cacos_test): Add more tests.
4219 (casin_test): Likewise.
4220 (casinh_test): Likewise.
4221 * sysdeps/i386/fpu/libm-test-ulps: Update.
4222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4223
6f2e90e7
SP
42242013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4225
5739f705
SP
4226 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4227 constants.
4228 (norm): Likewise.
4229 (denorm): Likewise.
4230 (__dbl_mp): Likewise.
4231 (add_magnitudes): Likewise.
4232 (sub_magnitudes): Likewise.
4233 (__add): Likewise.
4234 (__sub): Likewise.
4235 (__mul): Likewise.
4236 (__sqr): Likewise.
4237 (__inv): Likewise.
4238 (__dvd): Likewise.
4239
e375e83d
SP
4240 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4241 commented code.
4242 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4243 (__dubcos): Likewise.
4244 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4245 (__ieee754_acos): Likewise.
4246 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4247 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4248 (__exp1): Likewise.
4249 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4250 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4251 (log1): Likewise.
4252 (my_log2): Likewise.
4253 (checkint): Likewise.
4254 * sysdeps/ieee754/dbl-64/e_remainder.c
4255 (__ieee754_remainder): Likewise.
4256 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4257 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4258 (bsloww): Likewise.
4259 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4260
6f2e90e7
SP
4261 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4262 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4263 MANTISSA_STORE_T to store computations on mantissa. Use
4264 macros for rounding and division.
4265 (denorm): Likewise.
4266 (__dbl_mp): Likewise.
4267 (add_magnitudes): Likewise.
4268 (sub_magnitudes): Likewise.
4269 (__mul): Likewise.
4270 (__sqr): Likewise.
4271 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4272 powers of two in terms of TWOPOW macro.
4273 (mp_no): Make type of mantissa as MANTISSA_T.
4274 [!RADIXI]: Define RADIXI.
4275 [!TWO52]: Define TWO52.
4276 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4277
fce14d4e
AZ
42782013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4279
4280 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4281 llroundl symbol when building for PPC32.
4282
9ad027fb
MW
42832013-03-24 Mark H Weaver <mhw@netris.org>
4284
4285 * manual/arith.texi (Normalization Functions): Fix prototypes for
4286 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4287
e42a38dd
AZ
42882013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4289
4290 [BZ #13889]
4291 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4292 high value to check if expl overflow.
4293 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4294 to check for underflow and overflow.
4295 * math/libm-test.inc: Add exp test.
4296
2e0fb521
DL
42972013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4298
4299 [BZ #11120]
4300 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4301 with NOT_IN_libc.
4302
b5784d95
AZ
43032013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4304
4305 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4306 symbol.
4307
5aa4a1a1
TS
43082013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4309
bdef0be7
TS
4310 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4311 wrap blocks consisting of several statements.
4312
5aa4a1a1
TS
4313 * sysdeps/generic/math-tests.h: New file.
4314 * sysdeps/i386/fpu/math-tests.h: Likewise.
4315 * math/test-snan.c: Include it.
4316 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4317
98c48fe5
JM
43182013-03-21 Joseph Myers <joseph@codesourcery.com>
4319
4320 [BZ #15285]
4321 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4322 (__ieee754_j0l): Do not improve calculations using cos of twice
4323 input for inputs above LDBL_MAX / 2.0L.
4324 (__ieee754_y0l): Likewise.
4325 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4326 (__ieee754_j1l): Do not improve calculations using cos of twice
4327 input for inputs above LDBL_MAX / 2.0L.
4328 (__ieee754_y1l): Likewise.
4329 * math/libm-test.inc (j0_test): Add another test.
4330 (j1_test): Likewise.
4331 (y0_test): Likewise.
4332 (y1_test): Likewise.
4333 * sysdeps/i386/fpu/libm-test-ulps: Update.
4334
3775a8bc
SP
43352013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4336
4337 * Rules ($(objpfx)bench-%.c): Include code from a C source
4338 file.
4339
0a1b2ae6
JM
43402013-03-21 Joseph Myers <joseph@codesourcery.com>
4341
4342 [BZ #15287]
4343 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4344 imaginary part 1.0 and real part less than 0.5 specially.
4345 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4346 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4347 * math/libm-test.inc (cacos_test): Add more tests.
4348 (casin_test): Likewise.
4349 (casinh_test): Likewise.
4350 * sysdeps/i386/fpu/libm-test-ulps: Update.
4351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4352
b33d4ce4
SP
43532013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4354
4355 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4356 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4357
bef0b507
JM
43582013-03-20 Joseph Myers <joseph@codesourcery.com>
4359
4360 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4361 * config.make.in (config-cflags-sse4): Remove variable.
4362 (config-cflags-avx): Likewise.
4363 (config-cflags-sse2avx): Likewise.
4364 (config-cflags-novzeroupper): Likewise.
4365 (config-asflags-i686): Likewise.
4366 (have-mfma4): Likewise.
4367 (have-as-vis3): Likewise.
4368 (MIG): Likewise.
4369 * configure.in (MIG): Do not AC_SUBST.
4370 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4371 (libc_cv_cc_sse4): Do not AC_SUBST.
4372 (libc_cv_cc_avx): Likewise.
4373 (libc_cv_cc_sse2avx): Likewise.
4374 (libc_cv_cc_novzeroupper): Likewise.
4375 (libc_cv_cc_fma4): Likewise.
4376 (libc_cv_as_i686): Likewise.
4377 (libc_cv_sparc_as_vis3): Likewise.
4378 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4379 LIBC_CONFIG_VAR.
4380 (config-asflags-i686): Likewise.
4381 (config-cflags-avx): Likewise.
4382 (config-cflags-sse2avx): Likewise.
4383 (have-mfma4): Likewise.
4384 (config-cflags-novzeroupper): Likewise.
4385 * sysdeps/mach/configure.in (MIG): Likewise.
4386 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4387 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4388 LIBC_CONFIG_VAR.
4389 (config-cflags-avx): Likewise.
4390 (config-cflags-sse2avx): Likewise.
4391 (have-mfma4): Likewise.
4392 (config-cflags-novzeroupper): Likewise.
4393 * configure: Regenerated.
4394 * sysdeps/i386/configure: Likewise.
4395 * sysdeps/mach/configure: Likewise.
4396 * sysdeps/sparc/configure: Likewise.
4397 * sysdeps/x86_64/configure: Likewise.
4398
912cc4b3
RM
43992013-03-20 Roland McGrath <roland@hack.frob.com>
4400
4401 [BZ #14812]
4402 * locale/programs/localedef.c (options): Put N_ translation marker
4403 on argument names, not just descriptions.
4404
04eed2b0
MS
44052013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4406
4407 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4408
a065ceff
OB
44092013-03-20 Ondřej Bílka <neleai@seznam.cz>
4410
9bb2a810 4411 [BZ #14176]
a065ceff
OB
4412 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4413
a600e5ce
RM
44142013-03-19 Roland McGrath <roland@hack.frob.com>
4415
4416 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4417 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4418 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4419 [!BEFORE_ABORT] (before_abort): New function.
4420 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4421 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4422 (writev_for_fatal): New function.
4423 (WRITEV_FOR_FATAL): New macro; call that.
4424 (backtrace_and_maps): New function.
4425 (BEFORE_ABORT): New macro; call that.
4426 (struct str_list): Type removed.
4427 (__libc_message, __libc_fatal): Functions removed.
4428 Include <sysdeps/posix/libc_fatal.c> instead.
4429
6b18bea6
JM
44302013-03-19 Joseph Myers <joseph@codesourcery.com>
4431
4432 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4433 constants.
4434 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4435 double constants.
4436
aaa8cb4b
AS
44372013-03-19 Andreas Schwab <schwab@suse.de>
4438
44673770
AS
4439 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4440 * sysdeps/gnu/configure: Regenerate.
4441
aaa8cb4b
AS
4442 * configure.in: Substitute libc_cv_rtlddir.
4443 * configure: Regenerate.
4444 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4445 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4446 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4447 * elf/Makefile (install-others, CFLAGS-interp.c)
4448 (ldso_install, common-ldd-rewrite): Likewise.
4449 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4450 $(inst_slibdir)/$(rtld-installed-name).
4451 * scripts/rellns-sh: Add -p option.
4452 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4453 for source.
4454
d3cfc668
SP
44552013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4456
4457 * manual/nptl.texi: Renamed to ...
4458 * manual/threads.texi: ... this.
4459 * manual/Makefile (chapters): Update.
4460
0e2b9cdd
RM
44612013-03-18 Roland McGrath <roland@hack.frob.com>
4462
4463 [BZ #14812]
4464 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4465 on argument names, not just descriptions.
0e2b9cdd
RM
4466 * malloc/memusagestat.c (options): Likewise.
4467 * nss/getent.c (options): Likewise.
63270c24
RM
4468
44692013-03-18 Benno Schulenberg <bensberg@justemail.net>
4470
4471 [BZ #14812]
4472 * iconv/iconv_prog.c (options): Put N_ translation marker
4473 on argument names, not just descriptions.
4474 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4475
b2e1393c
OB
44762013-03-18 Ondrej Bilka <neleai@seznam.cz>
4477
4478 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4479 implementation which is faster on all x86_64 architectures.
4480 Tested on AMD, Intel Nehalem, SNB, IVB.
4481 * sysdeps/x86_64/strnlen.S: Likewise.
4482
4483 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4484 Remove all multiarch strlen and strnlen versions.
4485 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4486 Remove strlen and strnlen related parts.
4487
4488 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4489 Inline strlen part.
4490 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4491
4492 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4493 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4494 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4495 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4496 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4497 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4498
ec4ff04d
CD
44992013-03-17 Carlos O'Donell <carlos@redhat.com>
4500
4501 * manual/memory.texi (Malloc Tunable Parameters):
4502 Sort parameters alphabetically. Add comments for missing entries.
4503
cd18e90a
DM
45042013-03-17 David S. Miller <davem@davemloft.net>
4505
4506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4507
2a185d32
JM
45082013-03-16 Joseph Myers <joseph@codesourcery.com>
4509
d2f9799e
JM
4510 [BZ #15283]
4511 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4512 for arguments at most half maximum finite value.
4513 * math/libm-test.inc (j0_test): Add more tests.
4514 (j1_test): Likewise.
4515 (y0_test): Likewise.
4516 (y1_test): Likewise.
4517 * sysdeps/i386/fpu/libm-test-ulps: Update.
4518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4519
2a185d32
JM
4520 [BZ #14155]
4521 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4522 1 / x and functions P and Q for arguments above 0x1p256L.
4523 (__ieee754_y0l): Likewise.
4524 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4525 (__ieee754_y1l): Likewise.
4526 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4527 (j1_test): Likewise.
4528 (y0_test): Likewise.
4529 (y1_test): Likewise.
4530
6cbec759
TS
45312013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4532
4533 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4534 variable.
4535
bc16e260
RM
45362013-03-15 Roland McGrath <roland@hack.frob.com>
4537
aefc9b8c
RM
4538 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4539 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4540 zero since it's initialized to EXEC_PAGESIZE.
4541
bc16e260
RM
4542 * sysdeps/unix/sysv/linux/ldsodefs.h
4543 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4544 * sysdeps/generic/ldsodefs.h: ... here.
4545
a57da955
TS
45462013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4547
af00a34d
TS
4548 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4549
495ded2c
TS
4550 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4551 math/test-snan.c.
4552 * math/test-snan.c: Renamed from
4553 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4554 * math/Makefile (tests): Add test-snan.
4555 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4556 test-powerpc-snan.
4557
777b0332
TS
4558 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4559 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4560 functions.
4561 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4562 __builtin_nan family of functions.
4563 * math/libm-test.inc (initialize): Initialize qnan_value with
4564 __builtin_nan family of functions.
4565 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4566 Remove variables.
4567 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4568 Remove functions.
4569 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4570 storage class. Initialize qNaN_var and sNaN_var with
4571 __builtin_nan and __builtin_nans families of functions,
4572 respectively.
4573
64d063b8
TS
4574 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4575 (sqrt_test): Remove duplicate test with qNaN input.
4576 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4577 (round_test, signbit_test, significand_test): Note missing +/-Inf
4578 as well as qNaN tests.
4579
67e971f1
TS
4580 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4581 qNaN_var. Fix a few strings, too.
4582 * math/libm-test.inc (nan_value): Rename to qnan_value.
4583 * math/gen-libm-test.pl (%beautify): Adjust to that.
4584 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4585 * math/test-misc.c (main): Likewise.
4586 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4587 to __qnan_bytes, and __qnan_union, respectively.
4588 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4589 Likewise.
4590 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4591 and lqnanval, respectively.
4592 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4593 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4594 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4595 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4596
64487e12
TS
4597 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4598 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4599 doubles.
4600
e015e27b
TS
4601 * math/test-misc.c (main): Fix copy'n'pastos.
4602 * misc/tst-efgcvt.c (special): Likewise.
4603
a57da955
TS
4604 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4605 Remove declarations.
4606
1e380345
SP
46072013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4608
4609 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4610 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4611 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4612 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4613
ef26eece
AZ
46142013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4615
4616 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4617 macro to return vdso values correctly in IFUNC implementations.
4618 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4619 Optimization by using IFUNC.
4620
8cfdb7e0
SP
46212013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4622 Richard Henderson <rth@redhat.com>
4623 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4624
4625 * Makefile.in (bench): New target.
4626 * NEWS: Mention the benchmark framework.
4627 * Rules (bench): Likewise.
4628 (binaries-bench): Generate binaries for functions to
4629 benchmark.
4630 * benchtests/Makefile: New makefile for benchmark tests.
4631 * benchtests/bench-skeleton.c: New skeleton file for benchmark
4632 programs.
4633 * benchtests/exp-inputs: New input file for EXP function.
4634 * benchtests/pow-inputs: New input file for POW function.
4635 * scripts/bench.pl: New script to generate source files for
4636 benchmark programs.
4637
bcda9880
SP
46382013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4639
d22ca8cd
SP
4640 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4641 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
4642 computations on mantissa. Use macros for rounding and
4643 division.
4644 (denorm): Likewise.
4645 (__dbl_mp): Likewise.
4646 (add_magnitudes): Likewise.
4647 (sub_magnitudes): Likewise.
4648 (__mul): Likewise.
4649 (__sqr): Likewise.
4650 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4651 powers of two in terms of TWOPOW macro.
4652 (mp_no): Make type of mantissa as MANTISSA_T.
4653 [!RADIXI]: Define RADIXI.
4654 [!TWO52]: Define TWO52.
4655 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4656
bcda9880
SP
4657 * manual/nptl.texi (cindex): Modify threads to pthreads.
4658
06d5adfb
JM
46592013-03-15 Joseph Myers <joseph@codesourcery.com>
4660
4661 * sysdeps/x86_64/preconfigure: Regenerated.
4662
41c7328e
JM
46632013-03-14 Joseph Myers <joseph@codesourcery.com>
4664
4665 [BZ #14155]
4666 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
4667 0x1p28 and above.
4668 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
4669 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
4670 0x1p28 and above.
4671 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
4672 * math/libm-test.inc (j0_test): Do not allow one spurious
4673 underflow exception.
4674 (y1_test): Likewise.
4675
e25cfa60
SP
46762013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4677
0409959c
SP
4678 * manual/Makefile (chapters): Add nptl.
4679 * manual/debug.texi (Debugging Support): Add link to Threads
4680 chapter.
4681 * manual/nptl.texi: New file.
4682
e25cfa60
SP
4683 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
4684
58a1335e
PB
46852013-03-14 Petr Baudis <pasky@ucw.cz>
4686
4687 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
4688 for non-NULL pointer before the memory validity test. Pointed
4689 out by Holger Brunck <holger.brunck@keymile.com>.
4690
9dc7c64f
AS
46912013-03-13 Andreas Schwab <schwab@suse.de>
4692
4693 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
4694 instead of .os.
4695
54206aa6
JM
46962013-03-13 Joseph Myers <joseph@codesourcery.com>
4697
4698 * timezone/zic.c: Update from tzcode 2013b.
4699
e98cdb38
CD
47002013-03-12 Carlos O'Donell <carlos@redhat.com>
4701
4702 * manual/install.texi (Configuring and compiling):
4703 Mention i686 and i586.
4704 * INSTALL: Regenerate.
4705
9967e003
RM
47062013-03-12 Roland McGrath <roland@hack.frob.com>
4707
4708 * sysdeps/init_array/elf-init.c: New file.
4709 * csu/elf-init.c
4710 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
4711 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
4712
4713 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
4714 __gmon_start__ as global, but as static with a .preinit_array pointer.
4715 * sysdeps/init_array/gmon-start.c: New file. Use that.
4716 * sysdeps/init_array/crti.S: New file, empty except for comments.
4717 * sysdeps/init_array/crtn.S: Likewise.
4718
e6b5a293 47192013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
4720
4721 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
4722 definining bcopy.
80f844c9
OB
4723 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4724 Remove Prefer_SSE_for_memop.
4725 * sysdeps/x86_64/multiarch/init-arch.h: Remove
4726 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
4727 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
4728 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
4729 memset-x86-64.
80f844c9 4730 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 4731 Remove bzero, memset ifunc support.
80f844c9
OB
4732 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
4733 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
4734 * sysdeps/x86_64/multiarch/memset.S: Likewise.
4735 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4736
fb6b0fcb
AS
47372013-03-11 Andreas Schwab <schwab@suse.de>
4738
4739 [BZ #15234]
4740 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
4741 by SHLIB_COMPAT.
4742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
4743 (GLIBC_2.16): Remove pthread_atfork.
4744
3e6bd4b1
PP
47452013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
4746
4747 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
4748 (ptestcases.h): Likewise.
4749
222d7f00
RM
47502013-03-08 Roland McGrath <roland@hack.frob.com>
4751
4752 * Makeconfig ($(common-objpfx)config.status): Depend on
4753 sysdeps/*/preconfigure{,.in} too.
4754
1ba4f030
JM
47552013-03-08 Joseph Myers <joseph@codesourcery.com>
4756
a222d91a
JM
4757 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
4758 (__free_hook): Use void * instead of __malloc_ptr_t.
4759 (__malloc_hook): Likewise.
4760 (__realloc_hook): Likewise.
4761 (__memalign_hook): Likewise.
4762 (__after_morecore_hook): Likewise.
4763 * malloc/arena.c (save_malloc_hook): Likewise.
4764 (save_free_hook): Likewise.
4765 * malloc/hooks.c (malloc_hook_ini): Likewise.
4766 (realloc_hook_ini): Likewise.
4767 (memalign_hook_ini): Likewise.
4768 * malloc/malloc.c (malloc_hook_ini): Likewise.
4769 (realloc_hook_ini): Likewise.
4770 (memalign_hook_ini): Likewise.
4771 (__free_hook): Likewise.
4772 (__malloc_hook): Likewise.
4773 (__realloc_hook): Likewise.
4774 (__memalign_hook): Likewise.
4775 (__libc_malloc): Likewise.
4776 (__libc_free): Likewise.
4777 (__libc_realloc): Likewise.
4778 (__libc_memalign): Likewise.
4779 (__libc_valloc): Likewise.
4780 (__libc_pvalloc): Likewise.
4781 (__libc_calloc): Likewise.
4782 (__posix_memalign): Likewise.
4783 * malloc/morecore.c (__sbrk): Likewise.
4784 (__default_morecore): Likewise.
4785
5cc45e10
JM
4786 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
4787
dd54b864
JM
4788 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
4789 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
4790 __malloc_ptrdiff_t.
4791
1ba4f030
JM
4792 * malloc/malloc.h (__malloc_size_t): Remove macro.
4793 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
4794 __malloc_size_t.
4795 (old_memalign_hook): Likewise.
4796 (old_realloc_hook): Likewise.
4797 (struct hdr): Likewise.
4798 (flood): Likewise.
4799 (mallochook): Likewise.
4800 (memalignhook): Likewise.
4801 (reallochook): Likewise.
4802 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
4803 (tr_old_realloc_hook): Likewise.
4804 (tr_old_memalign_hook): Likewise.
4805 (tr_mallochook): Likewise.
4806 (tr_reallochook): Likewise.
4807 (tr_memalignhook): Likewise.
4808
edf66e57
AZ
48092013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4810
4811 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
4812 default_ldbl_pack and using as default implementation.
4813 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
4814 implementation.
4815 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
4816 redundant definition.
4817 (ldbl_insert_mantissa): Likewise.
4818 (ldbl_canonicalize): Likewise.
4819 (ldbl_nearbyint): Likewise.
4820 (ldbl_pack): Rename to ldbl_pack_ppc.
4821 (ldbl_unpack): Rename to ldbl_unpack_ppc.
4822 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
4823 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
4824
6d9145d8
SP
48252013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
4826
4827 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
4828 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
4829 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
4830 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
4831 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
4832 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
4833 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
4834 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
4835
4dd4e157
AJ
48362013-03-07 Andreas Jaeger <aj@suse.de>
4837
4838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4839 bits/mman-linux.h.
4840
adbb8027
SP
48412013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
4842
ce544b5b
SP
4843 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
4844 Include mpa.h and declare __MPEXP.
4845 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
4846 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4847 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4848 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
4849 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4850 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
4851 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
4852
4cc149fd
SP
4853 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
4854 (__slowpow): Use long double EXPL and LOGL functions to
4855 compute POW.
4856 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
4857 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4858 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
4859 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
4860 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
4861 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
4862
e6ebd4a7
SP
4863 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
4864 intermediate variable to calculate exponent.
4865 (__sqr): Likewise.
4866 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
4867 Likewise.
4868 (__sqr): Likewise.
4869
82a9811d
SP
4870 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
4871 [!NO__SQR]: Define __sqr.
4872 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
4873 and NO__SQR. Remove all code except __mul and __sqr. Include
4874 sysdeps/ieee754/dbl-64/mpa.c.
4875 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
4876
adbb8027
SP
4877 [BZ #12723]
4878 * posix/Makefile (tests): Add tst-pathconf.
4879 * posix/tst-pathconf.c: New test case.
4880 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
4881 _PC_PIPE_BUF.
4882 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
4883
39120df9
PF
48842013-03-06 Patsy Franklin <pfrankli@redhat.com>
4885
4886 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
4887
67525cb8
AJ
48882013-03-06 Andreas Jaeger <aj@suse.de>
4889
664a9ce4
AJ
4890 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
4891 definition via __MAP_ANONYMOUS.
4892
8e39047d
AJ
4893 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
4894 it's not part of Linux headers.
4895
67525cb8
AJ
4896 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
4897 (MAP_HUGE_MASK): Define.
4898
4899 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4900 Define.
4901 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4902 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4903 Define.
4904 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4905 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
4906 Define.
4907 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4908 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
4909 Define.
4910 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
4911
4912 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
4913 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
4914 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
4915 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
4916 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
4917 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
4918
4919 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
4920 Handle f2fs.
4921
4922 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
4923 Handle f2fs and efivarfs.
4924
4925 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
4926 f2fs.
4927
4928 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
4929 (EFIVARFS_MAGIC): Add.
4930 (F2FS_LINK_MAX): Add.
4931
e1b42695
PP
49322013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4933
4934 * stdio-common/vfprintf.c: Replace __builtin_expect with
4935 __glibc_unlikely.
4936
2d67d91a
JM
49372013-03-06 Joseph Myers <joseph@codesourcery.com>
4938
4939 [BZ #13550]
4940 * sysdeps/generic/bp-sym.h: Remove file.
4941 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
4942 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
4943 <bp-sym.h> and <bp-asm.h>.
4944 (__longjmp): Don't use BP_SYM.
4945 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
4946 and <bp-asm.h>.
4947 (memcpy): Don't use BP_SYM.
4948 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
4949 <bp-sym.h> and <bp-asm.h>.
4950 (memcpy): Don't use BP_SYM.
4951 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
4952 <bp-asm.h>.
4953 (memcpy): Don't use BP_SYM.
4954 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
4955 <bp-asm.h>.
4956 (memset): Don't use BP_SYM.
4957 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4958 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4959 (__bzero): Don't use BP_SYM.
4960 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4961 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4962 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
4963 <bp-sym.h> and <bp-asm.h>.
4964 (memcmp): Don't use BP_SYM. Remove comment about bounded
4965 pointers.
4966 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
4967 <bp-sym.h> and <bp-asm.h>.
4968 (memcpy): Don't use BP_SYM.
4969 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
4970 <bp-sym.h> and <bp-asm.h>.
4971 (memset): Don't use BP_SYM.
4972 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4973 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4974 (__bzero): Don't use BP_SYM.
4975 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4976 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4977 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
4978 <bp-sym.h> and <bp-asm.h>.
4979 (strncmp): Don't use BP_SYM. Remove comment about bounded
4980 pointers.
4981 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
4982 <bp-sym.h> and <bp-asm.h>.
4983 (memcpy): Don't use BP_SYM.
4984 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
4985 <bp-sym.h> and <bp-asm.h>.
4986 (memset): Don't use BP_SYM.
4987 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
4988 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
4989 (__bzero): Don't use BP_SYM.
4990 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
4991 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
4992 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
4993 <bp-sym.h> and <bp-asm.h>.
4994 (__memchr): Don't use BP_SYM.
4995 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
4996 <bp-sym.h> and <bp-asm.h>.
4997 (memcmp): Don't use BP_SYM. Remove comment about bounded
4998 pointers.
4999 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5000 <bp-sym.h> and <bp-asm.h>.
5001 (memcpy): Don't use BP_SYM.
5002 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5003 <bp-sym.h> and <bp-asm.h>.
5004 (__mempcpy): Don't use BP_SYM.
5005 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5006 <bp-sym.h> and <bp-asm.h>.
5007 (__memrchr): Don't use BP_SYM.
5008 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5009 <bp-sym.h> and <bp-asm.h>.
5010 (memset): Don't use BP_SYM.
5011 (__bzero): Likewise.
5012 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5013 <bp-sym.h> and <bp-asm.h>.
5014 (__rawmemchr): Don't use BP_SYM.
5015 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5016 <bp-sym.h> and <bp-asm.h>.
5017 (__STRCMP): Don't use BP_SYM.
5018 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5019 <bp-sym.h> and <bp-asm.h>.
5020 (strchr): Don't use BP_SYM.
5021 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5022 <bp-sym.h> and <bp-asm.h>.
5023 (__strchrnul): Don't use BP_SYM.
5024 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5025 <bp-sym.h> and <bp-asm.h>.
5026 (strlen): Don't use BP_SYM.
5027 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5028 <bp-sym.h> and <bp-asm.h>.
5029 (strncmp): Don't use BP_SYM. Remove comment about bounded
5030 pointers.
5031 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5032 <bp-sym.h> and <bp-asm.h>.
5033 (__strnlen): Don't use BP_SYM.
5034 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5035 <bp-sym.h> and <bp-asm.h>.
5036 (__GI__setjmp): Don't use BP_SYM.
5037 (_setjmp): Likewise.
5038 (__sigsetjmp): Likewise.
5039 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5040 (L(start_addresses)): Don't use BP_SYM.
5041 (_start): Likewise.
5042 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5043 <bp-asm.h>.
5044 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5045 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5046 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5047 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5048 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5049 <bp-asm.h>.
5050 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5051 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5052 about bounded pointers.
5053 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5054 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5055 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5056 <bp-asm.h>.
5057 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5058 about bounded pointers. Remove GKM FIXME comments.
5059 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5060 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5061 <bp-asm.h>.
5062 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5063 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5064 Remove GKM FIXME comments.
5065 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5066 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5067 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5068 <bp-asm.h>.
5069 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5070 about bounded pointers. Remove GKM FIXME comment.
5071 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5072 and <bp-asm.h>.
5073 (strncmp): Don't use BP_SYM. Remove comment about bounded
5074 pointers.
5075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5076 <bp-sym.h> and <bp-asm.h>.
5077 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5079 <bp-sym.h> and <bp-asm.h>.
5080 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5081 comment.
5082
cdcf361f
PP
50832013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5084
5085 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5086 call free(NULL).
5087
3c4a2b15
DM
50882013-03-05 David S. Miller <davem@davemloft.net>
5089
5090 * po/es.po: Update from translation team.
5091
cdcf361f 50922013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5093
5094 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5095 <bits/mman-linux.h>.
5096 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5097 is fine.
5098 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5099 <bits/mman-linux.h> to end of file.
5100 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5101 is fine.
5102 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5103 <bits/mman-linux.h> to end of file.
5104 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5105 is fine.
5106 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5107 <bits/mman-linux.h> to end of file.
5108
5109 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5110 (MCL_CURRENT, MCL_FUTURE): Define here.
5111
5f67c04f
AK
51122013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5113
8a4473cc 5114 [BZ #15232]
5f67c04f
AK
5115 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5116 attribute_hidden.
5117 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5118
c3e94a95
AK
51192013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5120
5121 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5122 fourth parameter needed for rt_sigprocmask syscall.
5123 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5124 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5125 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5126 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5127 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5128 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5129
cfb6382a
JM
51302013-03-04 Joseph Myers <joseph@codesourcery.com>
5131
5132 [BZ #13550]
5133 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5134 comment about bounded pointers.
5135 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5136 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5137
539d8e01
AJ
51382013-03-04 Andreas Jaeger <aj@suse.de>
5139
5140 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5141 common definitions.
5142
5143 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5144 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5145 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5146 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5147 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5148 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5149
2e167a70 51502013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5151
5152 [BZ #15055]
5153 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5154 __ieee754_sqrl instead of __sqrl.
5155
68508633
JM
51562013-03-01 Joseph Myers <joseph@codesourcery.com>
5157
5158 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5159 * sysdeps/powerpc/fpu_control.h: ... here.
5160 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5161 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5162 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5163 * sysdeps/powerpc/bits/mathinline.h: ... here.
5164
7775448e
RM
51652013-03-01 Roland McGrath <roland@hack.frob.com>
5166
5167 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5168 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5169 to just [NEED_DL_SYSINFO_DSO].
5170 * elf/dl-support.c: Likewise.
5171 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5172 * elf/rtld.c (dl_main): Likewise.
5173 * elf/setup-vdso.h (setup_vdso): Likewise.
5174 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5175 * sysdeps/unix/sysv/linux/dl-sysdep.c
5176 (_dl_discover_osversion): Likewise.
5177
4e9b5995
CD
51782013-03-01 Carlos O'Donell <carlos@redhat.com>
5179
5180 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5181 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5182
e23872c8
SP
51832013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5184
e5c74c63
SP
5185 * NEWS: Mention libm performance improvements and non-x86 PI
5186 futex support.
5187
e23872c8
SP
5188 * csu/libc-start.c (__pthread_initialize_minimal): Change
5189 function arguments.
5190 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5191
b5510883
JM
51922013-02-28 Joseph Myers <joseph@codesourcery.com>
5193
5194 [BZ #13550]
5195 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5196 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5197 <bp-sym.h> and <bp-asm.h>.
5198 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5199 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5200 and <bp-asm.h>.
5201 (memcpy): Don't use BP_SYM.
5202 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5203 <bp-asm.h>.
5204 (__mpn_add_n): Don't use BP_SYM.
5205 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5206 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5207 and <bp-asm.h>.
5208 (__mpn_addmul_1): Don't use BP_SYM.
5209 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5210 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5211 <bp-sym.h>.
5212 (_setjmp): Don't use BP_SYM.
5213 (__novmx_setjmp): Likewise.
5214 (__GI__setjmp): Likewise.
5215 (__vmx_setjmp): Likewise.
5216 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5217 <bp-sym.h>.
5218 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5219 (__bzero): Don't use BP_SYM.
5220 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5221 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5222 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5223 <bp-sym.h> and <bp-asm.h>.
5224 (memcpy): Don't use BP_SYM.
5225 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5226 <bp-sym.h> and <bp-asm.h>.
5227 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5228 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5229 <bp-sym.h> and <bp-asm.h>.
5230 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5231 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5232 <bp-asm.h>.
5233 (__mpn_lshift): Don't use BP_SYM.
5234 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5235 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5236 <bp-asm.h>.
5237 (memset): Don't use BP_SYM.
5238 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5239 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5240 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5241 <bp-asm.h>.
5242 (__mpn_mul_1): Don't use BP_SYM.
5243 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5244 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5245 <bp-sym.h> and <bp-asm.h>.
5246 (memcmp): Don't use BP_SYM.
5247 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5248 <bp-sym.h> and <bp-asm.h>.
5249 (memcpy): Don't use BP_SYM.
5250 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5251 <bp-sym.h> and <bp-asm.h>.
5252 (memset): Don't use BP_SYM.
5253 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5254 <bp-sym.h> and <bp-asm.h>.
5255 (strncmp): Don't use BP_SYM.
5256 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5257 <bp-sym.h> and <bp-asm.h>.
5258 (memcpy): Don't use BP_SYM.
5259 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5260 <bp-sym.h> and <bp-asm.h>.
5261 (memset): Don't use BP_SYM.
5262 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5263 <bp-sym.h> and <bp-asm.h>.
5264 (__memchr): Don't use BP_SYM.
5265 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5266 <bp-sym.h> and <bp-asm.h>.
5267 (memcmp): Don't use BP_SYM.
5268 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5269 <bp-sym.h> and <bp-asm.h>.
5270 (memcpy): Don't use BP_SYM.
5271 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5272 <bp-sym.h> and <bp-asm.h>.
5273 (__mempcpy): Don't use BP_SYM.
5274 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5275 <bp-sym.h> and <bp-asm.h>.
5276 (__memrchr): Don't use BP_SYM.
5277 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5278 <bp-sym.h> and <bp-asm.h>.
5279 (memset): Don't use BP_SYM.
5280 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5281 <bp-sym.h> and <bp-asm.h>.
5282 (__rawmemchr): Don't use BP_SYM.
5283 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5284 <bp-sym.h> and <bp-asm.h>.
5285 (__STRCMP): Don't use BP_SYM.
5286 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5287 <bp-sym.h> and <bp-asm.h>.
5288 (strchr): Don't use BP_SYM.
5289 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5290 <bp-sym.h> and <bp-asm.h>.
5291 (__strchrnul): Don't use BP_SYM.
5292 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5293 <bp-sym.h> and <bp-asm.h>.
5294 (strlen): Don't use BP_SYM.
5295 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5296 <bp-sym.h> and <bp-asm.h>.
5297 (strncmp): Don't use BP_SYM.
5298 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5299 <bp-sym.h> and <bp-asm.h>.
5300 (__strnlen): Don't use BP_SYM.
5301 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5302 <bp-asm.h>.
5303 (__mpn_rshift): Don't use BP_SYM.
5304 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5305 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5306 <bp-sym.h> and <bp-asm.h>.
5307 (__sigsetjmp): Don't use BP_SYM.
5308 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5309 (L(start_addresses)): Don't use BP_SYM.
5310 (_start): Likewise.
5311 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5312 <bp-asm.h>.
5313 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5314 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5315 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5316 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5317 <bp-asm.h>.
5318 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5319 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5320 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5321 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5322 <bp-asm.h>.
5323 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5324 comments.
5325 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5326 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5327 <bp-asm.h>.
5328 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5329 FIXME comments.
5330 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5331 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5332 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5333 <bp-asm.h>.
5334 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5335 comment.
5336 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5337 and <bp-asm.h>.
5338 (strncmp): Don't use BP_SYM,
5339 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5340 <bp-asm.h>.
5341 (__mpn_sub_n): Don't use BP_SYM.
5342 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5343 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5344 and <bp-asm.h>.
5345 (__mpn_submul_1): Don't use BP_SYM.
5346 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5348 <bp-sym.h> and <bp-asm.h>.
5349 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5351 <bp-sym.h> and <bp-asm.h>.
5352 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5353 comment.
5354
8d19fe64
SP
53552013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5356
5357 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5358 Use ZK to minimize writes to Z.
5359 (sub_magnitudes): Simplify code a bit.
5360 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5361 Use ZK to minimize writes to Z.
5362 (sub_magnitudes): Simplify code a bit.
5363
85bd816a
RM
53642013-02-27 Roland McGrath <roland@hack.frob.com>
5365
5366 * csu/gmon-start.c: Add special exception to license text.
5367
b5977bf2
RH
53682013-02-27 Richard Henderson <rth@redhat.com>
5369
5370 * scripts/config.guess: Update from config.git.
5371 * scripts/config.sub: Likewise.
5372
11d6e2f2
SP
53732013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5374
09c14ed2
SP
5375 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5376
a688864e
SP
5377 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5378
6295157a
SP
5379 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5380
b8de2202
SP
5381 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5382
11d6e2f2
SP
5383 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5384
7e80ddb8
RM
53852013-02-26 Roland McGrath <roland@hack.frob.com>
5386
5387 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5388 [$(build-shared = yes].
7e80ddb8 5389
7da6d9ed
SP
53902013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5391
45f05884
SP
5392 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5393 (__mul): Reduce iterations for calculating mantissa.
5394
2236d359
SP
5395 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5396 MPTWO.
5397 (__mpranred): Likewise.
5398
7da6d9ed
SP
5399 [BZ #15160]
5400 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5401 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5402
b7688c42
PE
54032013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5404
5405 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5406 Define __attribute__.
5407
53a5c423
SP
54082013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5409
5410 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5411 unused.
5412 * posix/regex_internal.h (__attribute): Remove.
5413 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5414 (re_string_context_at): Likewise.
5415 (bitset_not): Use __attribute__ and mark function as possibly
5416 unused.
5417 (bitset_merge): Likewise.
5418 (bitset_mask): Likewise.
5419 (re_string_char_size_at): Likewise.
5420 (re_string_wchar_at): Likewise.
5421 (re_string_elem_size_at): Likewise.
5422
60f5a8b5
SP
54232013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5424
2a983a2e
SP
5425 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5426 code.
5427 (cc32): Likewise.
5428
e69804d1
SP
5429 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5430 (__acr): Likewise.
5431 (__cpy): Likewise.
5432 (norm): Likewise.
5433 (denorm): Likewise.
5434 (__dbl_mp): Likewise.
5435 (add_magnitudes): Likewise.
5436 (sub_magnitudes): Likewise.
5437 (__mul): Likewise.
5438 (__inv): Likewise.
5439
2f22a1e8
SP
5440 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5441 style.
5442
8930ddc7
SP
5443 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5444 style.
5445
dc60cb11
SP
5446 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5447 code.
5448
60f5a8b5
SP
5449 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5450 up changes with default code.
5451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5452 Likewise.
5453
b4d1fd33
AM
54542013-02-24 Allan McRae <allan@archlinux.org>
5455
faf6f8bc
AM
5456 * manual/socket.texi (The Internet Namespace): Order menu items
5457 to match that in the file.
5458
b4d1fd33
AM
5459 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5460 node listing of the info page menu.
5461
2366713d
JM
54622013-02-21 Joseph Myers <joseph@codesourcery.com>
5463
5464 [BZ #13550]
5465 * sysdeps/i386/bp-asm.h: Remove file.
5466 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5467 (PARMS): Do not use macros from bp-asm.h.
5468 (S1): Likewise.
5469 (S2): Likewise.
5470 (SIZE): Likewise.
5471 (__mpn_add_n): Do not use BP_SYM
5472 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5473 "bp-asm.h".
5474 (PARMS): Do not use macros from bp-asm.h.
5475 (S1): Likewise.
5476 (SIZE): Likewise.
5477 (__mpn_addmul_1): Do not use BP_SYM
5478 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5479 "bp-asm.h".
5480 (PARMS): Do not use macros from bp-asm.h.
5481 (SIGMSK): Likewise.
5482 (_setjmp): Likewise. Do not use BP_SYM.
5483 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5484 "bp-asm.h".
5485 (PARMS): Do not use macros from bp-asm.h.
5486 (SIGMSK): Likewise.
5487 (setjmp): Likewise. Do not use BP_SYM.
5488 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5489 "bp-asm.h".
5490 (PARMS): Do not use macros from bp-asm.h.
5491 (__frexp): Do not use BP_SYM.
5492 (frexp): Likewise.
5493 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5494 "bp-asm.h".
5495 (PARMS): Do not use macros from bp-asm.h.
5496 (__frexpf): Do not use BP_SYM.
5497 (frexpf): Likewise.
5498 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5499 "bp-asm.h".
5500 (PARMS): Do not use macros from bp-asm.h.
5501 (__frexpl): Do not use BP_SYM.
5502 (frexpl): Likewise.
5503 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5504 "bp-asm.h".
5505 (PARMS): Do not use macros from bp-asm.h.
5506 (__remquo): Do not use BP_SYM.
5507 (remquo): Likewise.
5508 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5509 "bp-asm.h".
5510 (PARMS): Do not use macros from bp-asm.h.
5511 (__remquof): Do not use BP_SYM.
5512 (remquof): Likewise.
5513 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5514 "bp-asm.h".
5515 (PARMS): Do not use macros from bp-asm.h.
5516 (__remquol): Do not use BP_SYM.
5517 (remquol): Likewise.
5518 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5519 "bp-asm.h".
5520 (PARMS): Do not use macros from bp-asm.h.
5521 (DEST): Likewise.
5522 (SRC): Likewise.
5523 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5524 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5525 "bp-asm.h".
5526 (PARMS): Do not use macros from bp-asm.h.
5527 (strlen): Do not use BP_SYM.
5528 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5529 "bp-asm.h".
5530 (PARMS): Do not use macros from bp-asm.h.
5531 (S1): Likewise.
5532 (S2): Likewise.
5533 (SIZE): Likewise.
5534 (__mpn_add_n): Do not use BP_SYM.
5535 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5536 "bp-asm.h".
5537 (PARMS): Do not use macros from bp-asm.h.
5538 (S1): Likewise.
5539 (SIZE): Likewise.
5540 (__mpn_addmul_1): Do not use BP_SYM.
5541 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5542 weak_alias.
5543 (bzero): Likewise.
5544 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5545 "bp-asm.h".
5546 (PARMS): Do not use macros from bp-asm.h.
5547 (S): Likewise.
5548 (SIZE): Likewise.
5549 (__mpn_lshift): Do not use BP_SYM.
5550 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5551 "bp-asm.h".
5552 (PARMS): Do not use macros from bp-asm.h.
5553 (DEST): Likewise.
5554 (SRC): Likewise.
5555 (LEN): Likewise.
5556 (memcpy): Likewise. Do not use BP_SYM.
5557 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5558 libc_hidden_def and weak_alias.
5559 (mempcpy): Do not use BP_SYM in weak_alias.
5560 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5561 "bp-asm.h".
5562 (PARMS): Do not use macros from bp-asm.h.
5563 (DEST): Likewise.
5564 (LEN): Likewise.
5565 [!BZERO_P] (CHR): Likewise.
5566 (memset): Likewise. Do not use BP_SYM.
5567 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5568 "bp-asm.h".
5569 (PARMS): Do not use macros from bp-asm.h.
5570 (S1): Likewise.
5571 (SIZE): Likewise.
5572 (__mpn_mul_1): Do not use BP_SYM.
5573 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5574 "bp-asm.h".
5575 (PARMS): Do not use macros from bp-asm.h.
5576 (S): Likewise.
5577 (SIZE): Likewise.
5578 (__mpn_rshift): Do not use BP_SYM.
5579 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5580 "bp-asm.h".
5581 (PARMS): Do not use macros from bp-asm.h.
5582 (STR): Likewise.
5583 (CHR): Likewise.
5584 (strchr): Likewise. Do not use BP_SYM.
5585 (index): Do not use BP_SYM in weak_alias.
5586 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5587 "bp-asm.h".
5588 (PARMS): Do not use macros from bp-asm.h.
5589 (DEST): Likewise.
5590 (SRC): Likewise.
5591 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5592 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5593 "bp-asm.h".
5594 (PARMS): Do not use macros from bp-asm.h.
5595 (strlen): Do not use BP_SYM.
5596 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5597 "bp-asm.h".
5598 (PARMS): Do not use macros from bp-asm.h.
5599 (S1): Likewise.
5600 (S2): Likewise.
5601 (SIZE): Likewise.
5602 (__mpn_sub_n): Do not use BP_SYM.
5603 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5604 "bp-asm.h".
5605 (PARMS): Do not use macros from bp-asm.h.
5606 (S1): Likewise.
5607 (SIZE): Likewise.
5608 (__mpn_submul_1): Do not use BP_SYM.
5609 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5610 "bp-asm.h".
5611 (PARMS): Do not use macros from bp-asm.h.
5612 (S1): Likewise.
5613 (S2): Likewise.
5614 (SIZE): Likewise.
5615 (__mpn_add_n): Do not use BP_SYM.
5616 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5617 weak_alias.
5618 (bzero): Likewise.
5619 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5620 "bp-asm.h".
5621 (PARMS): Do not use macros from bp-asm.h.
5622 (BLK2): Likewise.
5623 (LEN): Likewise.
5624 (memcmp): Do not use BP_SYM.
5625 (bcmp): Do not use BP_SYM in weak_alias.
5626 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5627 "bp-asm.h".
5628 (PARMS): Do not use macros from bp-asm.h.
5629 (DEST): Likewise.
5630 (SRC): Likewise.
5631 (LEN): Likewise.
5632 (memcpy): Likewise. Do not use BP_SYM.
5633 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
5634 "bp-asm.h".
5635 (PARMS): Do not use macros from bp-asm.h.
5636 (DEST): Likewise.
5637 (SRC): Likewise.
5638 (LEN): Likewise.
5639 (memmove): Likewise. Do not use BP_SYM.
5640 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
5641 "bp-asm.h".
5642 (PARMS): Do not use macros from bp-asm.h.
5643 (DEST): Likewise.
5644 (SRC): Likewise.
5645 (LEN): Likewise.
5646 (__mempcpy): Likewise. Do not use BP_SYM.
5647 (mempcpy): Do not use BP_SYM in weak_alias.
5648 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
5649 "bp-asm.h".
5650 (PARMS): Do not use macros from bp-asm.h.
5651 (DEST): Likewise.
5652 (LEN): Likewise.
5653 [!BZERO_P] (CHR): Likewise.
5654 (memset): Likewise. Do not use BP_SYM.
5655 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
5656 "bp-asm.h".
5657 (PARMS): Do not use macros from bp-asm.h.
5658 (STR2): Likewise.
5659 (strcmp): Do not use BP_SYM.
5660 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
5661 "bp-asm.h".
5662 (PARMS): Do not use macros from bp-asm.h.
5663 (STR): Likewise.
5664 (DELIM): Likewise.
5665 [USE_AS_STRTOK_R] (SAVE): Likewise.
5666 (FUNCTION): Likewise. Do not use BP_SYM.
5667 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
5668 aliases.
5669 (strtok_r): Likewise.
5670 (__GI___strtok_r): Likewise.
5671 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5672 (PARMS): Do not use macros from bp-asm.h.
5673 (S): Likewise.
5674 (SIZE): Likewise.
5675 (__mpn_lshift): Do not use BP_SYM.
5676 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5677 (PARMS): Do not use macros from bp-asm.h.
5678 (STR): Likewise.
5679 (CHR): Likewise.
5680 (__memchr): Do not use BP_SYM.
5681 (memchr): Do not use BP_SYM in weak_alias.
5682 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5683 (PARMS): Do not use macros from bp-asm.h.
5684 (BLK2): Likewise.
5685 (LEN): Likewise.
5686 (memcmp): Do not use BP_SYM.
5687 (bcmp): Do not use BP_SYM in weak_alias.
5688 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
5689 (PARMS): Do not use macros from bp-asm.h.
5690 (S1): Likewise.
5691 (SIZE): Likewise.
5692 (__mpn_mul_1): Do not use BP_SYM.
5693 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
5694 "bp-asm.h".
5695 (PARMS): Do not use macros from bp-asm.h.
5696 (STR): Likewise.
5697 (CHR): Likewise.
5698 (__rawmemchr): Do not use BP_SYM.
5699 (rawmemchr): Do not use BP_SYM in weak_alias.
5700 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
5701 (PARMS): Do not use macros from bp-asm.h.
5702 (S): Likewise.
5703 (SIZE): Likewise.
5704 (__mpn_rshift): Do not use BP_SYM.
5705 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
5706 (PARMS): Do not use macros from bp-asm.h.
5707 (SIGMSK): Likewise.
5708 (__sigsetjmp): Likewise. Do not use BP_SYM.
5709 * sysdeps/i386/start.S: Do not include "bp-sym.h".
5710 (_start): Do not use BP_SYM.
5711 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
5712 (PARMS): Do not use macros from bp-asm.h.
5713 (DEST): Likewise.
5714 (SRC): Likewise.
5715 (__stpcpy): Likewise. Do not use BP_SYM.
5716 (stpcpy): Do not use BP_SYM in weak_alias.
5717 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
5718 "bp-asm.h".
5719 (PARMS): Do not use macros from bp-asm.h.
5720 (DEST): Likewise.
5721 (SRC): Likewise.
5722 (LEN): Likewise.
5723 (__stpncpy): Likewise. Do not use BP_SYM.
5724 (stpncpy): Do not use BP_SYM in weak_alias.
5725 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
5726 (PARMS): Do not use macros from bp-asm.h.
5727 (STR): Likewise.
5728 (CHR): Likewise.
5729 (strchr): Likewise. Do not use BP_SYM.
5730 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
5731 "bp-asm.h".
5732 (PARMS): Do not use macros from bp-asm.h.
5733 (STR): Likewise.
5734 (CHR): Likewise.
5735 (__strchrnul): Likewise. Do not use BP_SYM.
5736 (strchrnul): Do not use BP_SYM in weak_alias.
5737 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
5738 "bp-asm.h".
5739 (PARMS): Do not use macros from bp-asm.h.
5740 (STOP): Likewise.
5741 (strcspn): Do not use BP_SYM.
5742 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
5743 "bp-asm.h".
5744 (PARMS): Do not use macros from bp-asm.h.
5745 (STR): Likewise.
5746 (STOP): Likewise.
5747 (strpbrk): Likewise. Do not use BP_SYM.
5748 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
5749 "bp-asm.h".
5750 (PARMS): Do not use macros from bp-asm.h.
5751 (STR): Likewise.
5752 (CHR): Likewise.
5753 (strrchr): Likewise. Do not use BP_SYM.
5754 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
5755 (PARMS): Do not use macros from bp-asm.h.
5756 (SKIP): Likewise.
5757 (strspn): Do not use BP_SYM.
5758 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
5759 (PARMS): Do not use macros from bp-asm.h.
5760 (STR): Likewise.
5761 (DELIM): Likewise.
5762 (SAVE): Likewise.
5763 (FUNCTION): Likewise. Do not use BP_SYM.
5764 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
5765 aliases.
5766 (strtok_r): Likewise.
5767 (__GI___strtok_r): Likewise.
5768 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5769 (PARMS): Do not use macros from bp-asm.h.
5770 (S1): Likewise.
5771 (S2): Likewise.
5772 (SIZE): Likewise.
5773 (__mpn_sub_n): Do not use BP_SYM.
5774 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
5775 "bp-asm.h".
5776 (PARMS): Do not use macros from bp-asm.h.
5777 (S1): Likewise.
5778 (SIZE): Likewise.
5779 (__mpn_submul_1): Do not use BP_SYM.
5780 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
5781 <bp-sym.h>.
5782 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
5783 and <bp-asm.h>.
5784 (PARMS): Do not use macros from bp-asm.h.
5785 (FLAGS): Likewise.
5786 (PTID): Likewise.
5787 (TLS): Likewise.
5788 (CTID): Likewise.
5789 (__clone): Do not use BP_SYM.
5790 (clone): Do not use BP_SYM in weak_alias.
5791 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
5792 and <bp-asm.h>.
5793 (PARMS): Do not use macros from bp-asm.h.
5794 (LEN): Likewise.
5795 (__mmap64): Do not use BP_SYM.
5796 (mmap64): Do not use BP_SYM in weak_alias.
5797 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
5798 <bp-sym.h> and <bp-asm.h>.
5799 (PARMS): Do not use macros from bp-asm.h.
5800 (__posix_fadvise64_l64): Do not use BP_SYM.
5801 * sysdeps/unix/sysv/linux/i386/semtimedop.S
5802 (PARMS): Do not use macros from bp-asm.h.
5803 (NSOPS): Likewise.
5804 (semtimedop): Do not use BP_SYM.
5805 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
5806 and <bp-asm.h>.
5807
582a3cff
AM
58082013-02-21 Allan McRae <allan@archlinux.org>
5809
5810 * manual/message.texi (Charset conversion in gettext):
5811 Move @end statement to beginning of line.
5812
bab8a695
SP
58132013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5814
80945231
SP
5815 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
5816 static.
5817 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
5818 Likewise.
5819
bab8a695
SP
5820 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
5821 (denorm): Likewise.
5822 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
5823 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
5824
e21d7aa7
AK
58252013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5826
5827 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
5828 tail-call to the resolved function if pltexit isn't needed.
5829
4c7a4263
SP
58302013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5831
5832 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
5833 or Y being zero as being unlikely.
5834 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5835 Likewise.
5836
41f49342
CD
58372013-02-20 Carlos O'Donell <carlos@redhat.com>
5838
5839 * manual/nss.texi (System Databases and Name Service Switch):
5840 Remove frobnicate @pxref.
5841
50022a93
TS
58422013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5843
5844 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5845 __attribute__ ((unused)) to __attribute__ ((__unused__)).
5846
08cbd996
PM
58472013-02-20 Petr Machata <pmachata@redhat.com>
5848
5849 * elf/elf.h (R_ARM_TARGET1): New macro.
5850 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
5851 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
5852 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
5853 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
5854 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
5855 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
5856 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
5857 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
5858 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
5859 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
5860 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
5861 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
5862 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
5863 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
5864 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
5865 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
5866 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
5867 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
5868 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
5869 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
5870 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
5871 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
5872 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
5873 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
5874 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
5875 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
5876 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
5877 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
5878 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
5879 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
5880 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
5881 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
5882 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
5883 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
5884 (R_ARM_THM_GOT_BREL12): Likewise.
5885 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
5886 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
5887 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
5888 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
5889 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
5890 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
5891 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
5892 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
5893 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
5894
c7b275d6
TS
58952013-02-20 Thomas Schwinge <thomas@codesourcery.com>
5896
5897 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
5898 __attribute_used__ to __attribute__ ((unused)).
5899
20cd7fb3
SP
59002013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5901
5902 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
5903 powerpc mpa.c.
5904 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
5905 comment formatting.
5906 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
5907
92945b52
JM
59082013-02-19 Joseph Myers <joseph@codesourcery.com>
5909
5910 [BZ #13550]
5911 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
5912 Remove macro.
5913 (ENTER): Remove both macro definitions.
5914 (LEAVE): Likewise.
5915 (CHECK_BOUNDS_LOW): Likewise.
5916 (CHECK_BOUNDS_HIGH): Likewise.
5917 (CHECK_BOUNDS_BOTH): Likewise.
5918 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
5919 (RETURN_BOUNDED_POINTER): Likewise.
5920 (RETURN_NULL_BOUNDED_POINTER): Likewise.
5921 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
5922 (POP_ERRNO_LOCATION_RETURN): Likewise.
5923 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
5924 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5925 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
5926 macros.
5927 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5928 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
5929 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
5930 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
5931 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
5932 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
5933 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
5934 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
5935 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
5936 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
5937 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
5938 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
5939 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5940 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
5941 removed macros.
5942 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5943 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
5944 macros.
5945 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5946 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
5947 * sysdeps/i386/i586/memset.S (memset): Likewise.
5948 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
5949 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5950 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
5951 macros.
5952 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5953 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
5954 Change uses of L(2) to L(out).
5955 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
5956 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
5957 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
5958 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5959 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
5960 removed macros.
5961 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5962 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
5963 macros.
5964 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5965 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
5966 (RETURN): Do not use macro LEAVE.
5967 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
5968 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
5969 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
5970 * sysdeps/i386/i686/memset.S (memset): Likewise.
5971 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
5972 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
5973 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5974 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
5975 Likewise.
5976 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5977 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
5978 L(1_2) and L(1_3) into L(1).
5979 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
5980 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
5981 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5982 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
5983 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5984 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
5985 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
5986 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5987 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
5988 macros.
5989 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
5990 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5991 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
5992 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
5993 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
5994 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5995 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
5996 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
5997 * sysdeps/i386/strcspn.S (strcspn): Likewise.
5998 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
5999 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6000 * sysdeps/i386/strspn.S (strspn): Likewise.
6001 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6002 conditional code.
6003 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6004 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6005 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6006 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6007 L(1_3) into L(1_1).
6008 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6009 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6010 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6011 macros.
6012 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6013
2389741a
JJ
60142013-02-19 Jakub Jelinek <jakub@redhat.com>
6015
6016 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6017 macro.
6018
2016b3cd
SP
60192013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6020
e4f22324
SP
6021 * math/atest-exp.c (exp_mpn): Remove ROUND.
6022 * math/atest-exp2.c (exp_mpn): Likewise.
6023 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6024
2016b3cd
SP
6025 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6026 * stdlib/tst-tls-atexit-lib.c: Likewise.
6027 * stdlib/tst-tls-atexit.c: Likewise.
6028
4be9b544
MF
60292013-02-18 Mike Frysinger <vapier@gentoo.org>
6030
6031 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6032 and __attribute_alloc_size__.
6033
2f62b9ee
MF
60342013-02-18 Mike Frysinger <vapier@gentoo.org>
6035
6036 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6037 __attribute_alloc_size__.
6038 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6039 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6040
6ff444c4
MF
60412013-02-18 Mike Frysinger <vapier@gentoo.org>
6042
6043 * include/programs/xmalloc.h: New file.
6044 * catgets/gencat.c: Include it.
6045 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6046 * elf/pldd.c: Likewise.
6047 * iconv/iconv_charmap.c: Likewise.
6048 * iconv/iconvconfig.c: Likewise.
6049 * iconv/strtab.c: Likewise.
6050 * locale/programs/locale.c: Likewise.
6051 * locale/programs/localedef.h: Likewise.
6052 * locale/programs/simple-hash.c: Likewise.
6053 * nscd/nscd.h: Likewise.
6054 * nss/makedb.c: Likewise.
6055 * sysdeps/generic/ldconfig.h: Likewise.
6056
be179c8a
SP
60572013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6058
ba384f6e
SP
6059 * Versions.def: Add GLIBC_2.18.
6060 * include/link.h (struct link_map): New member l_tls_dtor_count.
6061 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6062 (__call_tls_dtors): Likewise.
6063 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6064 __cxa_thread_atexit_impl.
6065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6066 Likewise.
6067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6068 Likewise.
6069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6070 Likewise.
6071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6072 Likewise.
6073 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6075 Likewise.
6076 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6077 Likewise.
6078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6080 Likewise.
6081 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6082 (tests): Add test case tst-tls-atexit.
6083 (modules-names): Add shared library for tst-tls-atexit.
6084 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6085 (GLIBC_PRIVATE): Add __call_tls_dtors.
6086 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6087 for libstdc++.
6088 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6089 * stdlib/tst-tls-atexit.c: New test case.
6090 * stdlib/tst-tls-atexit-lib.c: New test case.
6091
ffaa74cf 6092 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6093
be179c8a
SP
6094 * elf/Versions (ld): Add _dl_find_dso_for_object.
6095 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6096 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6097 (dl_open_worker): Use _dl_find_dso_for_object.
6098 * elf/dl-sym.c (do_sym): Likewise.
6099 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6100
f78b5caa
AK
61012013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6102
6103 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6104 Syntactic changes only.
6105 (_dl_runtime_profile): Do a tail-call to the resolved function.
6106
29691210
JM
61072013-02-17 Joseph Myers <joseph@codesourcery.com>
6108
6109 [BZ #13550]
6110 * sysdeps/x86_64/bp-asm.h: Remove file.
6111 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6112 <bp-sym.h> and <bp-asm.h>.
6113 (__clone): Do not use BP_SYM.
6114 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6115 <bp-sym.h> and <bp-asm.h>.
6116 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6117 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6118 "bp-asm.h".
6119 (_setjmp): Do not use BP_SYM.
6120 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6121 "bp-asm.h".
6122 (setjmp): Do not use BP_SYM.
6123 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6124 libc_hidden_def.
6125 (mempcpy): Do not use BP_SYM in weak_alias.
6126 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6127 "bp-asm.h".
6128 (strchr): Do not use BP_SYM.
6129 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6130 "bp-asm.h".
6131 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6132 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6133 (_start): Do not use BP_SYM.
6134 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6135 "bp-asm.h".
6136 (strcat): Do not use BP_SYM.
6137 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6138 "bp-asm.h".
6139 (STRCMP): Do not use BP_SYM.
6140 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6141 "bp-asm.h".
6142 (STRCPY): Do not use BP_SYM.
6143 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6144 "bp-asm.h".
6145 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6146 "bp-asm.h".
6147 (FUNCTION): Do not use BP_SYM.
6148 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6149 weak_alias.
6150 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6151
f238fd19
AJ
61522013-02-17 Andreas Jaeger <aj@suse.de>
6153
6154 * time/Versions: Sort entries.
6155 * string/Versions: Likewise.
6156 * resolv/Versions: Likewise.
6157 * posix/Versions: Likewise.
6158 * iconv/Versions: Likewise.
6159 * elf/Versions: Likewise.
6160 * wcsmbs/Versions: Likewise.
6161
bd07f23c 61622013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6163
22af19f9
SP
6164 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6165 loop termination condition.
6166
4709fe76
SP
6167 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6168 variable to calculate EZ.
6169 (__sqr): Likewise.
2d0e0f29
SP
6170
6171 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6172 the lower precision input.
6173
daaa7713
JM
61742013-02-15 Joseph Myers <joseph@codesourcery.com>
6175
6176 [BZ #13550]
6177 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6178 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6179 (run-via-rtld-prefix): Do not handle %-bp tests.
6180 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6181 (all-object-suffixes): Remove .ob.
6182 (bppfx): Remove variable.
6183 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6184 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6185 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6186 [$(build-bounded) = yes] (libtype.ob): Likewise.
6187 * Makerules (elide-routines.ob): Remove variable.
6188 (do-tests-clean): Do not handle *-bp.out.
6189 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6190 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6191 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6192 (tests): Do not include $(tests-bp.out).
6193 (xtests): Do not include $(xtests-bp.out).
6194 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6195 [$(build-bounded) = yes] ($(addprefix
6196 $(objpfx),$(binaries-bounded))): Remove rule.
6197 ($(objpfx)%-bp.out): Remove rule.
6198 * config.make.in (build-bounded): Remove variable.
6199 * crypt/Makefile [$(build-bounded) = yes]
6200 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6201 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6202 append to variable.
6203 [$(build-bounded) = yes] (install-lib): Likewise.
6204 [$(build-bounded) = yes] (generated): Likewise.
6205 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6206 Remove rule.
6207 * intl/Makefile [$(build-bounded) = yes]
6208 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6209 * math/Makefile [$(build-bounded) = yes]
6210 ($(tests:%=$(objpfx)%-bp): Likewise.
6211 * misc/Makefile [$(build-bounded) = yes]
6212 ($(objpfx)tst-tsearch-bp): Likewise.
6213 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6214 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6215 Remove dependency.
6216 * string/Makefile (o-objects.ob): Remove variable.
6217 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6218 (CFLAGS-.ob): Remove variable.
6219 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6220 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6221 both definitions of variable.
6222 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6223 (ASFLAGS-.ob): Remove variable.
6224
e97ed6dd
JM
62252013-02-14 Joseph Myers <joseph@codesourcery.com>
6226
2bdd4ca6
JM
6227 [BZ #13550]
6228 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6229 Remove __BOUNDED_POINTERS__ from condition.
6230 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6231 * string/bits/string2.h [!__NO_STRING_INLINES &&
6232 !__BOUNDED_POINTERS__]: Likewise.
6233 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6234 Likewise.
6235 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6236 Remove conditional code.
6237 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6238 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6239 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6240 condition.
6241
e97ed6dd
JM
6242 [BZ #13550]
6243 * csu/libc-start.c: Do not include <bp-sym.h>.
6244 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6245 * elf/dl-open.c: Do not include <bp-sym.h>.
6246 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6247 * math/fegetenv.c: Do not include <bp-sym.h>.
6248 (fegetenv): Do not use BP_SYM in versioned symbols.
6249 * nptl/sysdeps/pthread/bits/libc-lockP.h
6250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6251 <bp-sym.h>.
6252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6253 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6255 (__pthread_mutex_destroy): Likewise.
6256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6257 (__pthread_mutex_lock): Likewise.
6258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6259 (__pthread_mutex_trylock): Likewise.
6260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6261 (__pthread_mutex_unlock): Likewise.
6262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6263 (__pthread_mutexattr_init): Likewise.
6264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6265 (__pthread_mutexattr_destroy): Likewise.
6266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6267 (__pthread_mutexattr_settype): Likewise.
6268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6269 (__pthread_rwlock_init): Likewise.
6270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6271 (__pthread_rwlock_destroy): Likewise.
6272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6273 (__pthread_rwlock_rdlock): Likewise.
6274 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6275 (__pthread_rwlock_tryrdlock): Likewise.
6276 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6277 (__pthread_rwlock_wrlock): Likewise.
6278 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6279 (__pthread_rwlock_trywrlock): Likewise.
6280 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6281 (__pthread_rwlock_unlock): Likewise.
6282 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6283 (__pthread_key_create): Likewise.
6284 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6285 (__pthread_setspecific): Likewise.
6286 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6287 (__pthread_getspecific): Likewise.
6288 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6289 Likewise.
6290 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6291 (_pthread_cleanup_push_defer): Likewise.
6292 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6293 (_pthread_cleanup_pop_restore): Likewise.
6294 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6295 (pthread_setcancelstate): Likewise.
6296 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6297 <bp-sym.h>.
6298 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6299 (memchr): Do not use BP_SYM in weak_alias.
6300 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6301 (fegetenv): Do not use BP_SYM in versioned symbols.
6302 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6303 (fesetenv): Do not use BP_SYM in versioned symbols.
6304 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6305 (feupdateenv): Do not use BP_SYM in versioned symbols.
6306 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6307 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6308 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6309 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6310 (open64): Do not use BP_SYM in weak_alias.
6311 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6312 (fegetenv): Do not use BP_SYM in versioned symbols.
6313 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6314 (fesetenv): Do not use BP_SYM in versioned symbols.
6315 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6316 (feupdateenv): Do not use BP_SYM in versioned symbols.
6317 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6318 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6319 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6320 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6321 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6322 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6323 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6324 <bp-sym.h>.
6325 (__libc_start_main): Do not use BP_SYM.
6326
d6752ccd
SP
63272013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6328
cb57ce60
SP
6329 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6330 redundant return line.
6331 (norm): Likewise.
6332 (denorm): Likewise.
6333 (dbl_mp): Likewise.
6334 (sub_magnitudes): Likewise.
6335 (__add): Likewise.
6336 (__sub): Likewise.
6337 (__mul): Likewise.
6338 (__inv): Likewise.
6339 (__dvd): Likewise.
6340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6341 (norm): Likewise.
6342 (denorm): Likewise.
6343 (dbl_mp): Likewise.
6344 (sub_magnitudes): Likewise.
6345 (__add): Likewise.
6346 (__sub): Likewise.
6347 (__mul): Likewise.
6348 (__inv): Likewise.
6349 (__dvd): Likewise.
6350
f414520d
SP
6351 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6352 instead of __mul.
6353 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6354 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6355 (cc32): Likewise.
6356
d6752ccd
SP
6357 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6358 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6359 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6360 of __mul for squares.
6361 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6362 function
6363 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6364 Likewise.
6365 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6366 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6367
70d9946a
JM
63682013-02-13 Joseph Myers <joseph@codesourcery.com>
6369
6370 [BZ #13550]
6371 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6372 code.
6373 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6374 prototype or function definition. Rename ubp_* variables and
6375 parameters. Remove argv definitions conditional on
6376 [__BOUNDED_POINTERS__].
6377 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6378 * elf/dl-runtime.c (_dl_fixup): Likewise.
6379 * include/set-hooks.h (RUN_HOOK): Likewise.
6380 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6381 definition.
6382 * string/strcpy.c (strcpy): Do not use __unbounded.
6383 * sysdeps/generic/frame.h (struct layout): Likewise.
6384 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6385 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6386 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6387 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6388 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6389 (__backtrace): Likewise.
6390 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6391 use __ptrvalue.
6392 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6393 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6394 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6395 Likewise.
6396 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6397 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6398 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6399 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6400 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6401 Do not use __unbounded.
6402 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6403 Rename __unboundedrlimits parameter to rlimits in prototype.
6404 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6405 Do not use __unbounded.
6406 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6407 not use __ptrvalue.
6408 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6409 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6410 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6411 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6412 __ptrvalue or __unbounded.
6413 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6414 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6415 use __unbounded.
6416 (__new_msgctl): Do not use __ptrvalue.
6417 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6418 __unbounded.
6419 (__libc_msgrcv): Do not use __ptrvalue.
6420 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6421 startup_info): Do not use __unbounded.
6422 (__libc_start_main): Likewise. Rename ubp_* variables and
6423 parameters. Remove argv definitions conditional on
6424 [__BOUNDED_POINTERS__].
6425 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6426 __ptrvalue.
6427 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6428 use __unbounded.
6429 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6430 or __ptrvalue.
6431 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6432 use __unbounded.
6433 (__new_shmctl): Do not use __ptrvalue.
6434 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6435 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6436 Likewise.
6437 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6438 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6439 (__libc_sigaction): Likewise.
6440 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6441 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6442 Likewise.
6443 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6444
cc7834d6
OB
64452013-02-13 Ondřej Bílka <neleai@seznam.cz>
6446
ffb1ec7b 6447 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6448
6449 * string/mempcpy.c: Implement by calling memcpy.
6450
bdf02814
SP
64512013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6452
c2af38aa
SP
6453 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6454
4e92d59e
SP
6455 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6456 evaluation.
6457
909279a5
SP
6458 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6459 values in the mantissa.
6460
bdf02814
SP
6461 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6462 minimize writes to Z.
6463 (sub_magnitudes): Simplify code a bit.
6464
cd525923
RM
64652013-02-12 Roland McGrath <roland@hack.frob.com>
6466
6467 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6468 from the message. The linker prefixes all warnings with that already.
6469
7e2f0d2d
AS
64702013-02-12 Andreas Schwab <schwab@suse.de>
6471
a445af0b
AS
6472 [BZ #15078]
6473 * posix/regexec.c (extend_buffers): Add parameter min_len.
6474 (check_matching): Pass minimum needed length.
6475 (clean_state_log_if_needed): Likewise.
6476 (get_subexp): Likewise.
6477 * posix/Makefile (tests): Add bug-regex34.
6478 (bug-regex34-ENV): Define.
6479 * posix/bug-regex34.c: New file.
6480
7e2f0d2d
AS
6481 [BZ #11561]
6482 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6483 elements compare against the byte sequence of it, not its name.
6484 * posix/Makefile (tests): Add bug-regex35.
6485 (bug-regex35-ENV): Define.
6486 * posix/bug-regex35.c: New file.
6487
a175b684
TV
64882013-02-11 Tom de Vries <tom@codesourcery.com>
6489
6490 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6491 comment.
6492 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6493 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6494 (CHECK_EOL): Add undef.
6495
310998fe 64962013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6497
6498 * bits/stdlib-bsearch.h: New file.
6499 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6500 * stdlib/stdlib.h: Likewise.
41eda41d 6501
8ded91fb
RM
65022013-02-11 Roland McGrath <roland@hack.frob.com>
6503
6504 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6505 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6506 declaration.
6507 * manual/search.texi (Array Search Function): Add missing const in
6508 lfind prototype.
6509 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6510 declaration to use rlim_t.
6511 (Basic Scheduling Functions): Remove erroneous const from
6512 sched_getparam prototype. Remove erroneous * from
6513 sched_get_priority_max and sched_get_priority_min prototypes.
6514 (Resource Usage): Fix summary @comment on vtimes to refer to
6515 sys/vtimes.h rather than vtimes.h.
6516 Add missing *s in vtimes prototype.
6517 (Limits on Resources): Fix ulimit prototype to return long int.
6518 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6519 prototypes to use long int rather than double.
6520 (BSD Random): Fix initstate and setstate to use char *, not void *.
6521 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6522 prototype to make second argument 'struct aiocb64 *const[]'.
6523 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6524 (Status of AIO Operations): Remove erroneous const in aio_return and
6525 aio_return64 prototypes.
6526 (Synchronizing I/O): Fix sync prototype to return void.
6527 * manual/startup.texi (Suboptions): Remove an erroneous const in
6528 getsubopt prototype.
6529 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6530 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6531 use size_t rather than int.
6532 (Scanning All Users): Likewise for getpwent_r.
6533 (Setting Groups): Add missing const to setgroups prototype.
6534 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6535 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6536 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6537 'const void *' rather than 'const char *'.
6538 (Host Address Functions): Likewise for inet_ntop.
6539 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6540 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6541 ssize_t for return value.
6542 (Sending Data): Likewise for send, sendto, sendmsg.
6543 (Socket Option Functions): Add a missing const in setsockopt prototype.
6544 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6545 use wchar_t for the argument.
6546 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6547 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6548 take no arguments.
6549 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6550 double/float/long double for second argument.
6551 Fix return types of significand, significandf, significandl.
6552 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6553 argument in fchmod prototype.
6554 (File Owner): Use uid_t and gid_t in fchown prototype.
6555 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6556 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6557 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6558 use 'const struct dirent **' as argument types to CMP function pointer
6559 argument.
6560 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6561 (File Times): Fix summary magic @comment for struct utimbuf and utime
6562 to refer to utime.h, not time.h.
6563 * manual/string.texi (Argz Functions): Add missing const in
6564 argz_extract and argz_next prototypes.
6565 (Finding Tokens in a String): Likewise for basename.
6566 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6567 (Copying and Concatenation): Fix typo in wmemmove prototype.
6568 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6569 (Signal Stack): Remove erroneous const in sigstack prototype.
6570 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6571 prototype.
6572 (Simple Calendar Time): Likewise for stime.
6573 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6574 prototype.
6575 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6576 say sys/sysctl.h instead.
6577 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6578 and vsyslog prototypes.
6579
fe77fe6d
TV
65802013-02-11 Tom de Vries <tom@codesourcery.com>
6581
6582 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6583 Remove.
6584
3a09b620
RM
65852013-02-11 Roland McGrath <roland@hack.frob.com>
6586
6587 * misc/sys/mman.h: Fix typo in mremap comment.
6588
550a0b89
RM
65892013-02-08 Roland McGrath <roland@hack.frob.com>
6590
6591 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6592 the '\0' terminator.
6593
a2da1673
JM
65942013-02-08 Joseph Myers <joseph@codesourcery.com>
6595
6596 [BZ #13550]
6597 * debug/segfault.c: Don't include <bp-checks.h>.
6598 * sysdeps/generic/bp-checks.h: Remove file.
6599 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6600 (__GETDENTS): Don't use CHECK_N.
6601 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6602 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6603 (__getgroups): Don't use CHECK_N.
6604 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6605 (setgroups): Don't use CHECK_N.
6606 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6607 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6608 (__libc_msgrcv): Don't use CHECK_N.
6609 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6610 (__libc_msgsnd): Don't use CHECK_N.
6611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6612 <bp-checks.h>.
6613 (__libc_pread): Don't use CHECK_N.
6614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6615 include <bp-checks.h>.
6616 (__libc_pread64): Don't use CHECK_N.
6617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6618 include <bp-checks.h>.
6619 (__libc_pwrite): Don't use CHECK_N.
6620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6621 include <bp-checks.h>.
6622 (__libc_pwrite64): Don't use CHECK_N.
6623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6624 <bp-checks.h>.
6625 (__libc_pread): Don't use CHECK_N.
6626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6627 include <bp-checks.h>.
6628 (__libc_pread64): Don't use CHECK_N.
6629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
6630 include <bp-checks.h>.
6631 (__libc_pwrite): Don't use CHECK_N.
6632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
6633 include <bp-checks.h>.
6634 (__libc_pwrite64): Don't use CHECK_N.
6635 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
6636 (do_pread): Don't use CHECK_N.
6637 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
6638 (do_pread64): Don't use CHECK_N.
6639 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
6640 (do_pwrite): Don't use CHECK_N.
6641 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
6642 (do_pwrite64): Don't use CHECK_N.
6643 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
6644 (__libc_readv): Don't use CHECK_N.
6645 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
6646 (semop): Don't use CHECK_N.
6647 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
6648 <bp-checks.h>.
6649 (semtimedop): Don't use CHECK_N.
6650 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
6651 (__libc_pread): Don't use CHECK_N.
6652 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
6653 <bp-checks.h>.
6654 (__libc_pread64): Don't use CHECK_N.
6655 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
6656 <bp-checks.h>.
6657 (__libc_pwrite): Don't use CHECK_N.
6658 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
6659 <bp-checks.h>.
6660 (__libc_pwrite64): Don't use CHECK_N.
6661 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
6662 <bp-checks.h>.
6663 (__libc_msgrcv): Don't use CHECK_N.
6664 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
6665 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
6666 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
6667 (__libc_writev): Don't use CHECK_N.
6668
b84660a8
RM
66692013-02-08 Roland McGrath <roland@hack.frob.com>
6670
7f3e75f8
RM
6671 * string/strcpy.c: Removed unused variable.
6672
b84660a8
RM
6673 * Makeconfig (+sysdep-includes): Define with := rather than =.
6674 Use an existing include/ subdir of each sysdeps dir before it.
6675
471514d3
CD
66762013-02-08 Carlos O'Donell <carlos@redhat.com>
6677
6678 * nscd/connection.c (register_traced_file): Comment function.
6679 [HAVE_INOTIFY] (union __inev): Define.
6680 [HAVE_INOTIFY] (inotify_check_files): New function.
6681 [HAVE_INOTIFY] (clear_db_cache): Likewise.
6682 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
6683 clear_db_cache.
6684 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
6685
b2d3c3be
CD
66862013-02-08 Carlos O'Donell <carlos@redhat.com>
6687
6688 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
6689 loaded if not already and that a failure is permanent.
6690
b39949d2
CD
66912013-02-08 Carlos O'Donell <carlos@redhat.com>
6692
ddacd1db 6693 [BZ #15006]
b39949d2
CD
6694 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
6695 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
6696
b2c9eff4
JM
66972013-02-08 Joseph Myers <joseph@codesourcery.com>
6698
f3aae3f3
JM
6699 [BZ #13550]
6700 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
6701 (CHECK_1_NULL_OK): Likewise.
6702 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
6703 (__fxstat): Do not use CHECK_1.
6704 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
6705 <bp-checks.h>.
6706 (___fxstat64): Do not use CHECK_1.
6707 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6708 <bp-checks.h>.
6709 (__fxstatat): Do not use CHECK_1.
6710 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6711 <bp-checks.h>.
6712 (__fxstatat64): Do not use CHECK_1.
6713 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
6714 <bp-checks.h>.
6715 (__fxstat): Do not use CHECK_1.
6716 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6717 <bp-checks.h>.
6718 (__fxstatat): Do not use CHECK_1.
6719 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
6720 <bp-checks.h>.
6721 (__getresgid): Do not use CHECK_1.
6722 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
6723 <bp-checks.h>.
6724 (__getresuid): Do not use CHECK_1.
6725 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
6726 <bp-checks.h>.
6727 (__lxstat): Do not use CHECK_1.
6728 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
6729 <bp-checks.h>.
6730 (__old_msgctl): Do not use CHECK_1.
6731 (__new_msgctl): Likewise.
6732 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
6733 <bp-checks.h>.
6734 (__new_setrlimit): Do not use CHECK_1.
6735 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
6736 <bp-checks.h>.
6737 (__old_shmctl): Do not use CHECK_1.
6738 (__new_shmctl): Likewise.
6739 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
6740 <bp-checks.h>.
6741 (__xstat): Do not use CHECK_1.
6742 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
6743 (__lxstat): Do not use CHECK_1.
6744 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
6745 <bp-checks.h>.
6746 (___lxstat64): Do not use CHECK_1.
6747 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
6748 (__old_msgctl): Do not use CHECK_1.
6749 (__new_msgctl): Likewise.
6750 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
6751 <bp-checks.h>.
6752 (__gettimeofday): Do not use CHECK_1.
6753 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
6754 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
6755 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
6756 <bp-checks.h>.
6757 (__gettimeofday): Do not use CHECK_1.
6758 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
6759 (__old_shmctl): Do not use CHECK_1_NULL_OK.
6760 (__new_shmctl): Do not use CHECK_1.
6761 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
6762 <bp-checks.h>.
6763 (do_sigtimedwait): Do not use CHECK_1.
6764 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
6765 <bp-checks.h>.
6766 (do_sigwaitinfo): Do not use CHECK_1.
6767 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
6768 <bp-checks.h>.
6769 (msgctl): Do not use CHECK_1.
6770 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
6771 <bp-checks.h>.
6772 (shmctl): Do not use CHECK_1.
6773 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
6774 (ustat): Do not use CHECK_1.
6775 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
6776 <bp-checks.h>.
6777 (__fxstat): Do not use CHECK_1.
6778 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6779 <bp-checks.h>.
6780 (__fxstatat): Do not use CHECK_1.
6781 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
6782 <bp-checks.h>.
6783 (__lxstat): Do not use CHECK_1.
6784 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
6785 <bp-checks.h>.
6786 (__xstat): Do not use CHECK_1.
6787 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
6788 (__xstat): Do not use CHECK_1.
6789 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
6790 (___xstat64): Do not use CHECK_1.
6791
b2c9eff4
JM
6792 [BZ #13550]
6793 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
6794 definitions.
6795 (CHECK_BOUNDS_HIGH): Likewise.
6796 * string/strcpy.c: Do not include <bp-checks.h>.
6797 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
6798
f1d70dad
RM
67992013-02-07 Roland McGrath <roland@hack.frob.com>
6800
6801 * nscd/nscd-client.h (__nscd_drop_map_ref):
6802 Add __attribute__ ((unused)).
6803 * nis/nss-nisplus.h (niserr2nss): Likewise.
6804
6805 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
6806 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
6807
6808 * csu/libc-tls.c (init_static_tls, init_slotinfo):
6809 Remove inline keyword.
6810 * include/rounding-mode.h (round_away): Likewise.
6811 * libio/wfileops.c (adjust_wide_data): Likewise.
6812 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
6813 (__m128i_strloadu_tolower): Likewise.
6814 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
6815 (__m128i_strloadu_tolower): Likewise.
6816 * time/mktime.c (ydhms_diff): Likewise.
6817 * locale/elem-hash.h (elem_hash): Likewise.
6818 * locale/setlocale.c (setdata): Likewise.
6819 * posix/regex_internal.h (re_string_char_size_at): Likewise.
6820 (re_string_wchar_at): Likewise.
6821 (bitset_not, bitset_merge, bitset_mask): Likewise.
6822 [!(__GNUC__ > 3)] (inline): Remove macro.
6823 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
6824 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
6825 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6826 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
6827 * string/memcmp.c (memcmp_bytes): Likewise.
6828 * locale/programs/locarchive.c (compute_hashval): Likewise.
6829 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
6830 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
6831 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
6832 * nss/getent.c (print_rpc, print_protocols): Likewise.
6833 (print_passwd, print_group, print_aliases): Likewise.
6834 * nis/nss-nisplus.h (niserr2nss): Likewise.
6835 * nscd/connections.c (restart_p): Likewise.
6836 Change return type to bool.
6837
eab55bfb
RM
68382013-02-05 Roland McGrath <roland@hack.frob.com>
6839
7bd642f5
RM
6840 * Makeconfig (all-Depend-files): Add existing
6841 $(sorted-subdirs:=/Depend) files.
6842 (all-subdirs): Remove nss.
6843 * sysdeps/unix/inet/Subdirs: Add it here instead.
6844 * hesiod/Depend: New file.
6845
573c29b2
RM
6846 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
6847 instead of calling alloca.
6848
b2e25af0
RM
6849 * io/lseek.c (__lseek): Rename to __libc_lseek.
6850 Define __lseek as an alias.
6851
eab55bfb
RM
6852 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
6853
9a0d1941
CD
68542013-02-04 Carlos O'Donell <carlos@redhat.com>
6855
6856 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
6857 else clause and remove check for non-standard endianness.
6858
b83bbec4
DM
68592013-02-04 David S. Miller <davem@davemloft.net>
6860
6861 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6862
6277fdab
JM
68632013-02-04 Joseph Myers <joseph@codesourcery.com>
6864
6865 [BZ #13550]
6866 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
6867 (__ubp_memchr): Remove prototype.
6868 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
6869 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6870 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
6871 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
6872 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
6873 Remove alias.
6874 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
6875 (__ubp_memchr): Likewise.
6876 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
6877 (__ubp_memchr): Likewise.
6878 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
6879 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
6880 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
6881 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
6882 CHECK_STRING.
6883 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6884 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
6885 (__getcwd): Do not use CHECK_STRING.
6886 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
6887 <bp-checks.h>.
6888 (__real_chown): Do not use CHECK_STRING.
6889 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
6890 <bp-checks.h>.
6891 (fchownat): Do not use CHECK_STRING.
6892 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
6893 CHECK_STRING.
6894 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
6895 <bp-checks.h>.
6896 (__lchown): Do not use CHECK_STRING.
6897 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6898 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6899 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6900 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
6901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
6902 include <bp-checks.h>.
6903 (truncate64): Do not use CHECK_STRING.
6904 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
6905 <bp-checks.h>.
6906 (__real_chown): Do not use CHECK_STRING.
6907 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
6908 <bp-checks.h>.
6909 (__lchown): Do not use CHECK_STRING.
6910 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
6911 <bp-checks.h>.
6912 (__chown): Do not use CHECK_STRING.
6913 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
6914 <bp-checks.h>.
6915 (truncate64): Do not use CHECK_STRING.
6916 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
6917 Likewise.
6918 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
6919 (__xmknod): Do not use CHECK_STRING.
6920 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6921 <bp-checks.h>.
6922 (__xmknodat): Do not use CHECK_STRING.
6923 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6924 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
6925
903ae060
AS
69262013-02-04 Andreas Schwab <schwab@suse.de>
6927
6928 [BZ #14142]
6929 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
6930 * include/netdb.h: Likewise for h_errno.
6931 * elf/tst-stackguard1.c: Include <tls.h>.
6932
542f9466
JK
69332013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
6934
6935 * elf/link.h (struct link_map): Extend the l_addr comment.
6936 * include/link.h (struct link_map): Likewise.
6937
e782a927
JM
69382013-02-01 Joseph Myers <joseph@codesourcery.com>
6939
6940 [BZ #13550]
6941 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
6942 (BOUNDED_1): Remove macro.
6943 * debug/backtrace.c: Don't include <bp-checks.h>.
6944 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
6945 (__backtrace): Likewise.
6946 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
6947 <bp-checks.h>.
6948 (__backtrace): Don't use BOUNDED_1.
6949 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
6950 <bp-checks.h>.
6951 (__backtrace): Don't use BOUNDED_1.
6952 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
6953 (__backtrace): Don't use BOUNDED_1.
6954 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
6955 (shmat): Don't use BOUNDED_N.
6956
8cf28c5e
JM
69572013-01-31 Joseph Myers <joseph@codesourcery.com>
6958
3a7ac8a0
JM
6959 [BZ #13550]
6960 * sysdeps/generic/bp-start.h: Remove file.
6961 * csu/libc-start.c: Don't include <bp-start.h>.
6962 (LIBC_START_MAIN): Set up __environ directly instead of using
6963 INIT_ARGV_and_ENVIRON.
6964 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
6965 <bp-start.h>.
6966
f3499f95
JM
6967 [BZ #13550]
6968 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
6969 definitions.
6970 (CHECK_FCNTL): Likewise.
6971 (CHECK_N_PAGES): Likewise.
6972
32a45bea
JM
6973 [BZ #13550]
6974 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
6975 definitions.
6976 (CHECK_SIGSET_NULL_OK): Likewise.
6977 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
6978 <bp-checks.h>.
6979 (sigpending): Don't use CHECK_SIGSET.
6980 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
6981 <bp-checks.h>.
6982 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6983 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
6984 <bp-checks.h>.
6985 (do_sigsuspend): Don't use CHECK_SIGSET.
6986 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
6987 use CHECK_SIGSET.
6988 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
6989 (do_sigwait): Don't use CHECK_SIGSET.
6990 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
6991 use CHECK_SIGSET.
6992 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
6993 include <bp-checks.h>.
6994 (sigpending): Don't use CHECK_SIGSET.
6995 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
6996 include <bp-checks.h>.
6997 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
6998 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
6999 <bp-checks.h>.
7000 (sigpending): Don't use CHECK_SIGSET.
7001 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7002 <bp-checks.h>.
7003 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7004
2e8a5c8c
JM
7005 [BZ #13550]
7006 * sysdeps/generic/bp-semctl.h: Remove file.
7007 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7008 <bp-checks.h> and <bp-semctl.h>.
7009 (__old_semctl): Don't use CHECK_SEMCTL.
7010 (__new_semctl): Likewise.
7011 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7012 and <bp-semctl.h>.
7013 (__old_semctl): Don't use CHECK_SEMCTL.
7014 (__new_semctl): Likewise.
7015 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7016 <bp-checks.h> and <bp-semctl.h>.
7017 (__old_semctl): Don't use CHECK_SEMCTL.
7018 (__new_semctl): Likewise.
7019 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7020 <bp-checks.h> and <bp-semctl.h>.
7021 (semctl): Don't use CHECK_SEMCTL.
7022
c2d54929
JM
7023 [BZ #13550]
7024 * Makerules (elide-bp-thunks): Remove variable.
7025 (elide-routines.oS): Don't use $(elide-bp-thunks).
7026 (elide-routines.os): Likewise.
7027 (elide-routines.o): Likewise.
7028 (elide-routines.op): Likewise.
7029 (elide-routines.og): Likewise.
7030 (objects): Don't use $(bp-thunks).
7031 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7032 include.
7033 (common-generated): Do not add s-proto-bp.d.
7034 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7035 (int): Likewise.
7036 (typ): Likewise.
7037 Do not generate makefile rules for bounded-pointer thunks.
7038 * sysdeps/generic/bp-thunks.h: Remove file.
7039 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7040 * sysdeps/unix/s-proto-bp.S: Likewise.
7041
8cf28c5e
JM
7042 [BZ #15062]
7043 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7044 parts of result separately when argument is not close to line from
7045 -i to i and one part of argument is small.
7046 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7047 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7048 * math/libm-test.inc (cacos_test): Add more tests.
7049 (casin_test): Likewise.
7050 (casinh_test): Likewise.
7051 * sysdeps/i386/fpu/libm-test-ulps: Update.
7052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7053
c4e33b8d
DM
70542013-01-31 David S. Miller <davem@davemloft.net>
7055
7056 * po/de.po: Update from translation team.
7057
3b60b421
MK
70582013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7059
7060 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7061
bb931195
TS
70622013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7063
b5a5da23
TS
7064 * configure.in (_AC_PROG_CC_C89): New definition.
7065 * configure: Regenerate.
7066
bb931195
TS
7067 * configure.in (AC_PROG_CPP): New definition.
7068 * configure: Regenerate.
7069
8c53a12c
JM
70702013-01-23 Joseph Myers <joseph@codesourcery.com>
7071
7072 * debug/tst-backtrace.h: New file.
7073 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7074 (ret): Remove variable.
7075 (x): Likewise.
7076 (FAIL): Remove macro.
7077 (NO_INLINE): Likewise.
7078 (fn1): Use match function instead of strstr.
7079 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7080 (ret): Remove variable.
7081 (x): Likewise.
7082 (FAIL): Remove macro.
7083 (NO_INLINE): Likewise.
7084 (fn): Use match function instead of strstr.
7085 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7086 (ret): Remove variable.
7087 (x): Likewise.
7088 (FAIL): Remove macro.
7089 (NO_INLINE): Likewise.
7090 (handle_signal): Use match function instead of strstr.
7091 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7092 (ret): Remove variable.
7093 (x): Likewise.
7094 (FAIL): Remove macro.
7095 (NO_INLINE): Likewise.
7096 (handle_signal): Use match function instead of strstr.
7097
4858fa2a
RM
70982013-01-23 Roland McGrath <roland@hack.frob.com>
7099
7100 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7101
bae8e7f5
DM
71022013-01-23 David S. Miller <davem@davemloft.net>
7103
7104 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7105 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7106 argument of CAS if possible.
7107 * sysdeps/sparc/sparc64/bits/atomic.h
7108 (__arch_compare_and_exchange_val_32_acq): Likewise.
7109 (__arch_compare_and_exchange_val_64_acq): Likewise.
7110
9cbbc4ae
PT
71112013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7112
7113 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7114 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7115 Include <limits.h>.
67b3f58c 7116 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7117
5655a0b5
AC
71182013-01-23 Adam Conrad <adconrad@0c3.net>
7119
7120 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7121 (LDFLAGS-tst-array5): Likewise.
7122
052aff95
JM
71232013-01-23 Joseph Myers <joseph@codesourcery.com>
7124
7125 [BZ #15036]
7126 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7127 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7128 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7129 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7130
7c1e01aa
DM
71312013-01-21 David S. Miller <davem@davemloft.net>
7132
7133 * sysdeps/sparc/backtrace.c: New file.
7134 * sysdeps/sparc/sparc32/backtrace.h: New file.
7135 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7136 * sysdeps/sparc/sparc64/backtrace.h: New file.
7137 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7138 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7139 -funwind-tables.
7140
ab087e0a
AS
71412013-01-21 Andreas Schwab <schwab@suse.de>
7142
7143 [BZ #15020]
7144 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7145 closed its stdout.
7146
ed689c2f
AS
71472013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7148
7149 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7150 "mpa2.h".
7151 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7152
31d470ac
JM
71532013-01-18 Joseph Myers <joseph@codesourcery.com>
7154 Mark Mitchell <mark@codesourcery.com>
7155 Tom de Vries <tom@codesourcery.com>
7156 Paul Pluzhnikov <ppluzhnikov@google.com>
7157
7158 * debug/tst-backtrace2.c: New file.
7159 * debug/tst-backtrace3.c: Likewise.
7160 * debug/tst-backtrace4.c: Likewise.
7161 * debug/tst-backtrace5.c: Likewise.
7162 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7163 (CFLAGS-tst-backtrace3.c): Likewise.
7164 (CFLAGS-tst-backtrace4.c): Likewise.
7165 (CFLAGS-tst-backtrace5.c): Likewise.
7166 (LDFLAGS-tst-backtrace2): Likewise.
7167 (LDFLAGS-tst-backtrace3): Likewise.
7168 (LDFLAGS-tst-backtrace4): Likewise.
7169 (LDFLAGS-tst-backtrace5): Likewise.
7170 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7171 tst-backtrace4 and tst-backtrace5.
7172
90567f30 71732013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7174 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7175
7176 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7177 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7178 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7179 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7181 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7182 "+r" and remove output regs list as redundant. Add explicit inline
7183 asm to specify register of return val to work around compiler codegen
7184 bug. Remove (int) cast on return value. Add return type parameter to
7185 use in macro so that this macro does not truncate return value for
7186 64-bit values.
7187 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7188 pass to INTERNAL_VSYSCALL_NCS.
7189 (INLINE_VSYSCALL): Add 'long int' as return type to
7190 INTERNAL_VSYSCALL_NCS macro invocation.
7191 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7192 INTERNAL_VSYSCALL_NCS macro invocation.
7193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7194
d3b9ea61
SP
71952013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7196
0b57daeb
SP
7197 [BZ #14496]
7198 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7199 Fix application of SIMD FP exception mask.
7200
caa99d06
SP
7201 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7202 mp_no from a power of two.
7203 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7204 __mpexp_twomm1. Use __pow_mp.
7205
d3b9ea61
SP
7206 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7207 multiplication.
7208
1dbaee3c
DM
72092013-01-17 David S. Miller <davem@davemloft.net>
7210
7211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7212
728d7b43
JM
72132013-01-17 Joseph Myers <joseph@codesourcery.com>
7214
7215 [BZ #15023]
7216 * include/complex.h: Condition contents on [!_COMPLEX_H].
7217 (__kernel_casinhf): New prototype.
7218 (__kernel_casinh): Likewise.
7219 (__kernel_casinhl): Likewise.
7220 * math/Makefile (libm_calls): Add k_casinh.
7221 * math/k_casinh.c: New file.
7222 * math/k_casinhf.c: Likewise.
7223 * math/k_casinhl.c: Likewise.
7224 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7225 finite nonzero arguments.
7226 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7227 finite nonzero arguments.
7228 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7229 finite nonzero arguments.
7230 * math/s_casinh.c: Do not include <float.h>.
7231 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7232 * math/s_casinhf.c: Do not include <float.h>.
7233 (__casinhf): Move code for finite nonzero arguments to
7234 k_casinhf.c.
7235 * math/s_casinhl.c: Do not include <float.h>.
7236 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7237 redefine.
7238 (__casinhl): Move code for finite nonzero arguments to
7239 k_casinhl.c.
7240 * math/libm-test.inc (cacos_test): Add more tests.
7241 * sysdeps/i386/fpu/libm-test-ulps: Update.
7242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7243
2a26ef3a
PT
72442013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7245
7246 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7247 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7248 [!HAVE_MREMAP]: Remove [defined linux] case.
7249 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7250
a897655d
SP
72512013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7252
7253 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7254
881ebe89 72552013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7256
7257 * elf/elf.h (R_386_SIZE32): New relocation.
7258 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7259 R_386_SIZE32.
7260 (elf_machine_rela): Likewise.
7261 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7262 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7263
59981e9b
JM
72642013-01-17 Joseph Myers <joseph@codesourcery.com>
7265
7266 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7267 (FP_FAST_FMA): Do not define.
7268 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7269 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7270 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7271 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7272 !_SOFT_FLOAT]: Likewise.
7273 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7274 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7275 value.
7276 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7277 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7278 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7279 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7280 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7281 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7282 file.
7283
cfa8054f
AS
72842013-01-16 Andreas Schwab <schwab@suse.de>
7285
7286 [BZ #14327]
7287 * include/stdlib.h (__mktemp): Add declaration.
7288 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7289 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7290
dd930cc5
SP
72912013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7292
881ebe89
SP
7293 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7294 definitions.
7295 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7296 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7297 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7298 definitions here.
7299 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7300 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7301 definitions.
7302 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7303 and ONE.
7304 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7305 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7306 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7307 definitions.
7308 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7309 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7310 definitions.
7311 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7312
dd930cc5
SP
7313 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7314
c19a9f89
DM
73152013-01-15 David S. Miller <davem@davemloft.net>
7316
1aa61767
DM
7317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7318 trunc{,f} to libm-sysdep_routes.
7319 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7321 file.
7322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7324 file.
7325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7326 file.
7327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7329 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7330 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7331 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7332 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7333 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7334 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7335
c42d5e98
DM
7336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7337 nearbyint{,f} to libm-sysdep_routes.
7338 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7340 New file.
7341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7342 file.
7343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7344 New file.
7345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7346 file.
7347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7349 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7350 file.
7351 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7352 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7353 file.
7354 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7355 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7356 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7357
c19a9f89
DM
7358 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7359 libc_feholdexcept and libc_fesetenv.
7360
357679d2
MF
73612013-01-15 Mike Frysinger <vapier@gentoo.org>
7362
7363 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7364
65a82e3d
DM
73652013-01-14 David S. Miller <davem@davemloft.net>
7366
8b954ab9
DM
7367 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7368 (SPARC_ASM_VIS2_IFUNC): Likewise.
7369 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7371 use of 'siam' instruction.
7372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7373 Likewise.
7374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7375 Likewise.
7376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7377 Likewise.
7378 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7380 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7381 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7383 file.
7384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7385 file.
7386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7387 file.
7388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7389 file.
7390 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7391 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7392 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7393 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7395 new VIS2 routines.
7396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7399 Likewise.
7400 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7401 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7402 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7403 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7405 routines to libm-sysdep_routines.
7406 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7407
65a82e3d
DM
7408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7409 fdim/fdimf to libm-sysdep_routines.
7410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7411 file.
7412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7414 file.
7415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7416 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7418 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7419 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7420 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7421 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7422
e34ab705
SP
74232013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7424
2a91b573
SP
7425 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7426 to optimize copies.
7427
1066a534
SP
7428 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7430 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7431
e34ab705
SP
7432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7433 local variable MPTWO.
7434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7435 Likewise.
7436
aba5e596
MF
74372013-01-13 Mike Frysinger <vapier@gentoo.org>
7438
7439 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7440 GLOB_NOESCAPE.
7441
e557e9e5
MF
74422013-01-13 Mike Frysinger <vapier@gentoo.org>
7443
7444 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7445
0428cec9
MF
74462013-01-13 Mike Frysinger <vapier@gentoo.org>
7447
7448 * manual/pattern.texi (glob_t): Document gl_flags.
7449 (glob64_t): Likewise.
7450
8794a964
DM
74512013-01-11 David S. Miller <davem@davemloft.net>
7452
66438c3f
RM
7453 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7454 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7455 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7456 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7457 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7458 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7459 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7460 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7461 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7462 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7463 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7464 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7465 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7466
4ae4244d
DM
7467 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7468 sparc V9 rather than using V8 code.
7469 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7470 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7471
8794a964
DM
7472 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7473 Move to...
7474 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7475 Here.
7476
6270516e
RM
74772013-01-11 Roland McGrath <roland@hack.frob.com>
7478
7479 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7480 not in the main loop.
7481 * configure: Regenerated.
7482
6a57d931
JM
74832013-01-11 Joseph Myers <joseph@codesourcery.com>
7484
7485 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7486 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7487 to just #else.
7488 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7489 [!__GLIBC_HAVE_LONG_LONG] case.
7490 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7491 condition to just #else.
7492 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7493 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7494 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7495 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7496 unconditional.
7497 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7498 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7499 #elif condition to just #else.
7500 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7501 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7502 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7503 #elif condition to just #else.
7504
0e8529e9
SE
75052013-01-11 Steve Ellcey <sellcey@mips.com>
7506
7507 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7508 (EF_MIPS_ARCH_64): Fix value.
7509 (EF_MIPS_ARCH_32R2): New.
7510 (EF_MIPS_ARCH_64R2): New.
7511
740b3dbe
L
75122013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7513
7514 * Makeconfig (+link-pie-before-libc): New.
7515 (+link-pie-after-libc): Likewise.
7516 (+link-pie-tests): Likewise.
7517 (+link-pie): Rewritten.
7518 (link-before-libc): Remove $(config-LDFLAGS).
7519 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7520 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7521 (config-LDFLAGS): Renamed to ...
7522 (rtld-LDFLAGS): This.
7523 (rtld-tests-LDFLAGS): New macro.
7524 (link-libc-rpath-link): Likewise.
7525 (link-libc-tests-rpath-link): Likewise.
7526 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7527 (link-libc): Prepand $(link-libc-rpath-link).
7528 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7529 (test-program-prefix): New macro.
7530 (test-via-rtld-prefix): Likewise.
7531 (test-program-cmd): Likewise.
7532 (host-test-program-cmd): Likewise.
7533 * Makefile ($(common-objpfx)testrun.sh): Replace
7534 $(run-program-prefix) with $(test-program-prefix).
7535 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7536 $(rtld-LDFLAGS).
7537 ($(common-objpfx)shlib.lds): Likewise.
7538 (build-module-helper): Likewise.
7539 ($(common-objpfx)format.lds): Likewise.
7540 * Rules (binaries-pie-tests): New.
7541 (binaries-pie-notests): Likewise.
7542 (binaries-pie): Rewritten.
7543 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7544 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7545 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7546 (make-test-out): Replace $(host-built-program-cmd) with
7547 $(host-test-program-cmd).
7548 * config.make.in (build-hardcoded-path-in-tests): New variable.
7549 * configure.in (--enable-hardcoded-path-in-tests): New configure
7550 option.
7551 (hardcoded_path_in_tests): New AC_SUBST.
7552 * configure: Regenerated.
7553 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7554 $(built-program-cmd) with $(test-program-cmd).
7555 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7556 (test_program_cmd): This.
7557 * elf/Makefile ($(objpfx)order.out): Run test with
7558 $(test-program-prefix).
7559 ($(objpfx)order2.out): Likewise.
7560 ($(objpfx)tst-initorder.out): Likewise.
7561 ($(objpfx)tst-initorder2.out): Likewise.
7562 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7563 $(test-program-cmd).
7564 ($(objpfx)tst-array1-static.out): Likewise.
7565 ($(objpfx)tst-array2.out): Likewise.
7566 ($(objpfx)tst-array3.out): Likewise.
7567 ($(objpfx)tst-array4.out): Likewise.
7568 ($(objpfx)tst-array5.out): Likewise.
7569 ($(objpfx)tst-array5-static.out): Likewise.
7570 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7571 $(test-program-cmd).
7572 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7573 $(run-program-prefix) with $(test-program-prefix).
7574 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7575 (test_program_prefix): This.
7576 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7577 $(run-program-prefix) with $(test-program-prefix).
7578 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7579 (test_program_prefix): This.
7580 * iconvdata/tst-tables.sh: Likewise.
7581 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7582 $(run-program-prefix) with $(test-program-prefix).
7583 ($(objpfx)tst-translit.out): Likewise.
7584 ($(objpfx)tst-gettext2.out): Likewise.
7585 ($(objpfx)tst-gettext4.out): Likewise.
7586 ($(objpfx)tst-gettext6.out): Likewise.
7587 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7588 (test_program_prefix): This.
7589 * intl/tst-gettext2.sh: Likewise.
7590 * intl/tst-gettext4.sh Likewise.
7591 * intl/tst-gettext6.sh: Likewise.
7592 * intl/tst-translit.sh: Likewise.
7593 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7594 with $(test-program-cmd).
7595 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7596 $(run-program-prefix) with $(test-program-prefix).
7597 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7598 (test_program_prefix): This.
7599 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7600 $(run-program-prefix) with $(test-program-prefix).
7601 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7602 (test_program_prefix): This.
7603 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7604 * posix/Makefile ($(objpfx)globtest.out): Replace
7605 $(run-via-rtld-prefix) and $(test-wrapper) with
7606 $(test-program-prefix) and $(test-via-rtld-prefix).
7607 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7608 $(test-program-prefix).
7609 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7610 $(host-test-program-cmd).
7611 (tst-spawn-ARGS): Likewise.
7612 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7613 $(test-program-prefix).
7614 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7615 (test_via_rtld_prefix): This.
7616 (test_wrapper): Renamed to ...
7617 (test_program_prefix): This.
7618 (run_program_prefix): Replaced by test_program_prefix.
7619 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7620 (test_program_prefix): This.
7621 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7622 with $(host-test-program-cmd).
7623 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7624 $(run-program-prefix) with $(test-program-prefix).
7625 ($(objpfx)tst-printf.out): Likewise.
7626 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7627 $(test-program-cmd).
7628 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7629 (test_program_prefix): This.
7630 * stdio-common/tst-unbputc.sh: Likewise.
7631 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
7632 $(run-program-prefix) with $(test-program-prefix).
7633 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
7634 (test_program_prefix): This.
7635 * string/Makefile ($(objpfx)tst-svc.out): Replace
7636 $(built-program-cmd) with $(test-program-cmd).
7637
c6fe55cf
AJ
76382013-01-11 Andreas Jaeger <aj@suse.de>
7639
7640 [BZ #15003]
7641 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
7642 value. Sync with Linux 3.7.
7643
9e6919c8
DM
76442013-01-10 David S. Miller <davem@davemloft.net>
7645
7646 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
7647 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7648 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7649
1c9f1a02
RM
76502013-01-10 Roland McGrath <roland@hack.frob.com>
7651
7652 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
7653 never set.
7654 * configure: Regenerated.
7655
b9de2dde
DM
76562013-01-10 David S. Miller <davem@davemloft.net>
7657
7658 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7659 sparc V9 rather than using V8 code.
7660 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7661 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7662
e7f68ef4
RM
76632013-01-10 Roland McGrath <roland@hack.frob.com>
7664
7665 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
7666 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
7667 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
7668 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
7669 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
7670 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
7671 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
7672 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
7673 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
7674 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
7675 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
7676 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
7677 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
7678 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
7679 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
7680 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
7681 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
7682 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
7683 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
7684 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
7685 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
7686 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
7687 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
7688 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
7689 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
7690 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
7691 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
7692
5a47cc9c
DM
76932013-01-10 David S. Miller <davem@davemloft.net>
7694
7695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7696
4cf8f209
L
76972013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7698
7699 * posix/Makefile (tests-static): New variable.
7700 (tests): Add $(tests-static).
7701 (tst-exec-static-ARGS): New variable.
7702 (tst-spawn-static-ARGS): Likewise.
7703 * posix/tst-exec-static.c: New file.
7704 * posix/tst-spawn-static.c: Likewise.
7705 * posix/tst-exec.c: Support run directly.
7706 * posix/tst-spawn.c: Likewise.
7707
fed0faa1
JM
77082013-01-10 Joseph Myers <joseph@codesourcery.com>
7709
828beb13
JM
7710 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
7711 long.
7712 * math/bits/mathcalls.h (llrint): Likewise.
7713 (llround): Likewise.
7714 * stdlib/stdlib.h (struct drand48_data): Likewise.
7715 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
7716 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
7717 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
7718 Likewise.
7719 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
7720 Likewise.
7721 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
7722 (elf_greg_t): Likewise.
7723 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
7724 (__jmp_buf): Likewise.
7725 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
7726 definitions.
7727 (llrint): Likewise, for all definitions.
7728 (llrintl): Likewise.
7729
fed0faa1
JM
7730 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
7731 Remove [__GNUC__] condition.
7732 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
7733 condition to just [__USE_ISOC99].
7734 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
7735
1a20cb20
L
77362013-01-10 H.J. Lu <hongjiu.lu@intel.com>
7737
7738 [BZ #14200]
7739 * sysdeps/unix/sysv/linux/x86/bits/environments.h
7740 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
7741 defined.
7742 (_POSIX_V6_ILP32_OFF32): Likewise.
7743 (_XBS5_ILP32_OFF32): Likewise.
7744 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
7745 (__ILP32_OFFBIG_LDFLAGS): Likewise.
7746
751b85f7
SP
77472013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7748
7490eb81
SP
7749 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
7750
751b85f7
SP
7751 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
7752 doubles __mpexp_twomm1. Adjust usage.
7753 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
7754 Remove.
7755
988197f0
AS
77562013-01-10 Andreas Schwab <schwab@suse.de>
7757
7758 [BZ #14964]
7759 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
7760 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
7761
e83d7298
DM
77622013-01-09 David S. Miller <davem@davemloft.net>
7763
034ed64b 7764 [BZ #15003]
e83d7298
DM
7765 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
7766 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
7767 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
7768 TCP_FASTOPEN): Define.
7769 (tcp_repair_opt): New structure.
7770 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
7771 enum values.
7772 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
7773 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
7774 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
7775 (tcp_cookie_transactions): New structure.
7776
d5e0b9bd
AB
77772013-01-09 Anton Blanchard <anton@samba.org>
7778
7779 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
7780 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
7781 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
7782 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
7783
0c07e3ea
JM
77842013-01-09 Joseph Myers <joseph@codesourcery.com>
7785
7786 * include/features.h (__USE_ANSI): Remove.
7787
232f7002
RM
77882013-01-09 Roland McGrath <roland@hack.frob.com>
7789
ad98e30c
RM
7790 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
7791
232f7002
RM
7792 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
7793
950c99ca
SP
77942013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7795
b5792741
SP
7796 * sysdeps/s390/fpu/libm-test-ulps: Update.
7797
47cf2278
SP
7798 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7799
950c99ca
SP
7800 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
7801 (__acr): Likewise.
7802 (__cpy): Likewise.
7803 (norm): Likewise.
7804 (denorm): Likewise.
7805 (__mp_dbl): Likewise.
7806 (__dbl_mp): Likewise.
7807 (add_magnitudes): Likewise.
7808 (sub_magnitudes): Likewise.
7809 (__add): Likewise.
7810 (__sub): Likewise.
7811 (__mul): Likewise.
7812 (__inv): Likewise.
7813 (__dvd): Likewise.
7814 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
7815 (__acr): Likewise.
7816 (__cpy): Likewise.
7817 (norm): Likewise.
7818 (denorm): Likewise.
7819 (__mp_dbl): Likewise.
7820 (__dbl_mp): Likewise.
7821 (add_magnitudes): Likewise.
7822 (sub_magnitudes): Likewise.
7823 (__add): Likewise.
7824 (__sub): Likewise.
7825 (__mul): Likewise.
7826 (__inv): Likewise.
7827 (__dvd): Likewise.
7828 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
7829 (__acr): Likewise.
7830 (__cpy): Likewise.
7831 (norm): Likewise.
7832 (denorm): Likewise.
7833 (__mp_dbl): Likewise.
7834 (__dbl_mp): Likewise.
7835 (add_magnitudes): Likewise.
7836 (sub_magnitudes): Likewise.
7837 (__add): Likewise.
7838 (__sub): Likewise.
7839 (__mul): Likewise.
7840 (__inv): Likewise.
7841 (__dvd): Likewise.
7842
eede9df9
JM
78432013-01-08 Joseph Myers <joseph@codesourcery.com>
7844
7845 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
7846 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
7847 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
7848 2 && __USE_EXTERN_INLINES]: Likewise.
7849
c40ea3d9
AJ
78502013-01-08 Andreas Jaeger <aj@suse.de>
7851
7852 [BZ# 14985]
7853 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
7854 Remove.
7855 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7856 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
7857
2ccdea26
AB
78582013-01-07 Anton Blanchard <anton@samba.org>
7859
7860 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
7861 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
7862 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
7863 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
7864 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
7865 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7866 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
7867 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
7868 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7869 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7870 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7871 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7872 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7873 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
7874 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
7875 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7876 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7877 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
7878 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
7879 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
7880 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
7881 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
7882 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
7883 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
7884 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
7885 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
7886 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
7887 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
7888 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
7889 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7890 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
7891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7892 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7893 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
7894 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
7895 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
7896 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
7897 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
7898 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
7899 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7900 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
7901 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7902 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
7903
a9708fed
JM
79042013-01-07 Joseph Myers <joseph@codesourcery.com>
7905
375607b9
JM
7906 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
7907 (__MALLOC_PMT): Likewise.
7908 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
7909 [__GNUC__], only on [_LIBC].
7910 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7911 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
7912 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
7913 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
7914 forward declaration.
7915 (realloc_hook_ini): Likewise.
7916 (memalign_hook_ini): Likewise.
7917 (__libc_memalign): Do not use __MALLOC_PMT in variable
7918 declaration.
7919 (__libc_valloc): Likewise.
7920 (__libc_pvalloc): Likewise.
7921 (__libc_calloc): Likewise.
7922 (__posix_memalign): Likewise.
7923
a9708fed
JM
7924 [BZ #14996]
7925 * math/s_casinh.c: Include <float.h>.
7926 (__casinh): Do not do computation with squaring and square root
7927 for large arguments.
7928 * math/s_casinhf.c: Include <float.h>.
7929 (__casinhf): Do not do computation with squaring and square root
7930 for large arguments.
7931 * math/s_casinhl.c: Include <float.h>.
7932 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
7933 (__casinhl): Do not do computation with squaring and square root
7934 for large arguments.
7935 * math/libm-test.inc (casin_test): Add more tests.
7936 (casinh_test): Likewise.
7937 * sysdeps/i386/fpu/libm-test-ulps: Update.
7938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7939
afec409a
L
79402013-01-04 H.J. Lu <hongjiu.lu@intel.com>
7941
7942 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
7943 (__x86_64_raw_data_cache_size): Likewise.
7944 (__x86_64_data_cache_size_half): Likewise.
7945 (__x86_64_raw_data_cache_size_half): Likewise.
7946 (__x86_64_shared_cache_size): Likewise.
7947 (__x86_64_raw_shared_cache_size): Likewise.
7948 (__x86_64_shared_cache_size_half): Likewise.
7949 (__x86_64_raw_shared_cache_size_half): Likewise.
7950 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
7951 to ...
7952 (__x86_data_cache_size): This.
7953 (__x86_64_raw_data_cache_size): Renamed to ...
7954 (__x86_raw_data_cache_size): This.
7955 (__x86_64_data_cache_size_half): Renamed to ...
7956 (__x86_data_cache_size_half): This.
7957 (__x86_64_raw_data_cache_size_half): Renamed to ...
7958 (__x86_raw_data_cache_size_half): This.
7959 (__x86_64_shared_cache_size): Renamed to ...
7960 (__x86_shared_cache_size): This.
7961 (__x86_64_raw_shared_cache_size): Renamed to ...
7962 (__x86_raw_shared_cache_size): This.
7963 (__x86_64_shared_cache_size_half): Renamed to ...
7964 (__x86_shared_cache_size_half): This.
7965 (__x86_64_raw_shared_cache_size_half): Renamed to ...
7966 (__x86_raw_shared_cache_size_half): This.
7967 * sysdeps/x86_64/memcpy.S: Updated.
7968 * sysdeps/x86_64/memset.S: Likewise.
7969 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7970 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7971 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7972
0b3986d0
DM
79732013-01-04 David S. Miller <davem@davemloft.net>
7974
7975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7976
e47686e9
AS
79772013-01-04 Andreas Schwab <schwab@linux-m68k.org>
7978
d643bac1
AS
7979 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
7980 1 to avoid redefinition warning.
7981 (__USE_GNU): Don't define.
7982 (init_signaling_nan): Protoize.
7983
e47686e9
AS
7984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7985
b18decba
SP
79862013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7987
fffb407f
SP
7988 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
7989 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
7990 (__cpymn): Likewise.
7991 (norm): Remove commented code.
7992 (denorm): Likewise.
7993 (__mp_dbl): Likewise.
7994 (__inv): Likewise.
7995 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
7996 (__cpymn): Likewise.
7997 (norm): Remove commented code.
7998 (denorm): Likewise.
7999 (__mp_dbl): Likewise.
8000 (__inv): Likewise.
8001
b18decba
SP
8002 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8003 mp_no value for 1.0 and 2.0.
8004 (norm): Use RADIXI instead of radixi.d.
8005 (denorm): Likewise.
8006 (__mul): Use 0.0 instead of zero.d.
8007 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8008 mp_no value for 1.0 and 2.0.
8009 (norm): Use RADIXI instead of radixi.d.
8010 (denorm): Likewise.
8011 (__mul): Use 0.0 instead of zero.d.
8012
cdc1c96f
JM
80132013-01-04 Joseph Myers <joseph@codesourcery.com>
8014
8015 [BZ #14994]
8016 * math/s_casinh.c (__casinh): Reduce finite argument to first
8017 quadrant then set signs of results at the end.
8018 * math/s_casinhf.c (__casinhf): Likewise.
8019 * math/s_casinhl.c (__casinhl): Likewise.
8020 * math/libm-test.inc (casin_test): Add more tests.
8021 (casinh_test): Likewise.
8022 * sysdeps/i386/fpu/libm-test-ulps: Update.
8023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8024
302913e1
SP
80252013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8026
6420d207
SP
8027 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8028
a9e48ab4
SP
8029 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8030
b7837264
SP
8031 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8032 declarations.
8033 (denorm): Likewise.
8034 (__mp_dbl): Likewise.
8035 (__inv): Likewise.
8036
f8af25d2
SP
8037 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8038 and adjust the header comment.
8039
302913e1
SP
8040 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8041 variable name from declaration.
8042
5d7dd1ca
L
80432013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8044
8045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8046 Initialize COMMON_CPUID_INDEX_7 element.
8047 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8048 (CPUID_RTM): Likewise.
8049 (HAS_RTM): Likewise.
8050 (COMMON_CPUID_INDEX_7): New enum.
8051
2f5f40f4
AS
80522013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8053
8054 [BZ #14981]
8055 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8056 size is zero, record memory as freed.
8057
4056f4a0
AJ
80582013-01-03 Andreas Jaeger <aj@suse.de>
8059
8060 * po/ia.po: Add new Interlingua translation.
8061
ab15736f 80622012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8063
8064 * locale/programs/localedef.c: Fix description of '--posix' flag.
8065
568035b7
JM
80662013-01-02 Joseph Myers <joseph@codesourcery.com>
8067
e6898b8d
JM
8068 * NEWS: Update dates in second copyright notice.
8069 * README: Update copyright dates in example.
8070 * manual/libc.texinfo: Update copyright dates.
8071 * scripts/test-installation.pl: Update copyright date in --version
8072 output.
8073
0e2f9562
JM
8074 * hurd/ctty-input.c: Fix copyright notice formatting.
8075 * hurd/ctty-output.c: Likewise.
8076 * hurd/dtable.c: Likewise.
8077 * hurd/hurd-raise.c: Likewise.
8078 * hurd/hurdprio.c: Likewise.
8079 * hurd/msgportdemux.c: Likewise.
8080 * misc/sys/file.h: Likewise.
8081 * misc/sys/ioctl.h: Likewise.
8082 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8083 * sysdeps/mach/hurd/chdir.c: Likewise.
8084 * sysdeps/mach/hurd/fchdir.c: Likewise.
8085 * sysdeps/mach/hurd/rename.c: Likewise.
8086 * sysdeps/mach/hurd/rmdir.c: Likewise.
8087 * sysdeps/mach/hurd/seekdir.c: Likewise.
8088 * sysdeps/mach/hurd/setsid.c: Likewise.
8089 * sysdeps/posix/wait3.c: Likewise.
8090
568035b7
JM
8091 * All files with FSF copyright notices: Update copyright dates
8092 using scripts/update-copyrights.
8093 * intl/plural.c: Regenerated.
8094 * locale/programs/charmap-kw.h: Likewise.
8095 * locale/programs/locfile-kw.h: Likewise.
8096
da08f647
SP
80972013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8098
0f5477af
SP
8099 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8100 four values.
8101
44e0d4c2
SP
8102 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8103 calculation loop and add branch prediction.
8104
4d55b4e5
SP
8105 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8106 check access beyond bounds of m1np.
8107
da08f647
SP
8108 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8109 MPTWO.
8110 (__inv): Remove local variable MPTWO to use the global
8111 constant.
8112 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8113 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8114 variable MPTWO.
8115 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8116 MP3HALFS static const.
8117
8e051029
DM
81182013-01-01 David S. Miller <davem@davemloft.net>
8119
8120 * po/ca.po: Update from translation team.
8121
f4cf5f2d
JM
81222013-01-01 Joseph Myers <joseph@codesourcery.com>
8123
8124 * scripts/update-copyrights: New file.
8125 * Makeconfig: Reformat copyright notice.
8126 * ctype/ctype.h: Likewise.
8127 * debug/swprintf_chk.c: Likewise.
8128 * elf/dl-cache.c: Likewise.
8129 * elf/dl-debug.c: Likewise.
8130 * elf/dl-object.c: Likewise.
8131 * grp/initgroups.c: Likewise.
8132 * hurd/Makefile: Likewise.
8133 * hurd/hurd/signal.h: Likewise.
8134 * hurd/hurdfault.c: Likewise.
8135 * hurd/hurdioctl.c: Likewise.
8136 * hurd/hurdlookup.c: Likewise.
8137 * hurd/intr-msg.c: Likewise.
8138 * iconv/gconv_open.c: Likewise.
8139 * libio/swprintf.c: Likewise.
8140 * locale/lc-ctype.c: Likewise.
8141 * locale/nl_langinfo.c: Likewise.
8142 * mach/Machrules: Likewise.
8143 * mach/Makefile: Likewise.
8144 * malloc/obstack.h: Likewise.
8145 * manual/Makefile: Likewise.
8146 * manual/tsort.awk: Likewise.
8147 * misc/bits/stab.def: Likewise.
8148 * nis/nis_print_group_entry.c: Likewise.
8149 * nis/nis_table.c: Likewise.
8150 * nis/nss_compat/compat-pwd.c: Likewise.
8151 * nis/nss_compat/compat-spwd.c: Likewise.
8152 * po/Makefile: Likewise.
8153 * posix/fnmatch.c: Likewise.
8154 * posix/regex.h: Likewise.
8155 * resolv/Makefile: Likewise.
8156 * resolv/nss_dns/dns-network.c: Likewise.
8157 * resolv/res_hconf.c: Likewise.
8158 * scripts/gen-sorted.awk: Likewise.
8159 * soft-fp/soft-fp.h: Likewise.
8160 * stdio-common/printf.h: Likewise.
8161 * stdlib/monetary.h: Likewise.
8162 * stdlib/random.c: Likewise.
8163 * stdlib/random_r.c: Likewise.
8164 * sysdeps/generic/Makefile: Likewise.
8165 * sysdeps/gnu/Makefile: Likewise.
8166 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8167 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8168 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8169 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8170 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8171 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8172 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8173 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8174 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8175 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8176 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8177 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8178 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8179 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8180 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8181 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8182 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8183 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8184 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8185 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8186 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8187 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8188 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8189 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8190 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8191 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8192 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8193 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8194 * sysdeps/mach/hurd/errnos.awk: Likewise.
8195 * sysdeps/mach/hurd/fork.c: Likewise.
8196 * sysdeps/mach/hurd/getcwd.c: Likewise.
8197 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8198 * sysdeps/mach/hurd/mmap.c: Likewise.
8199 * sysdeps/mach/hurd/utimes.c: Likewise.
8200 * sysdeps/mach/hurd/xmknod.c: Likewise.
8201 * sysdeps/posix/profil.c: Likewise.
8202 * sysdeps/posix/readdir_r.c: Likewise.
8203 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8204 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8205 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8206 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8207 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8208 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8209 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8210 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8211 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8212 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8213 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8214 * sysdeps/pthread/lio_listio.c: Likewise.
8215 * sysdeps/sparc/dl-procinfo.h: Likewise.
8216 * sysdeps/unix/i386/sysdep.S: Likewise.
8217 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8218 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8219 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8220 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8222 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8223 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8224 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8225 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8226 * sysdeps/wordsize-32/divdi3.c: Likewise.
8227 * time/sys/time.h: Likewise.
8228 * wcsmbs/Makefile: Likewise.
8229
0549fbba
DM
82302013-01-01 David S. Miller <davem@davemloft.net>
8231
a141f1a7
DM
8232 * po/fr.po: Update from translation team.
8233
0549fbba
DM
8234 * catgets/gencat.c: Update copyright year.
8235 * csu/version.c: Likewise.
8236 * debug/catchsegv.sh: Likewise.
8237 * debug/pcprofiledump.c: Likewise.
8238 * debug/xtrace.sh: Likewise.
8239 * elf/ldconfig.c: Likewise.
8240 * elf/ldd.bash.in: Likewise.
8241 * elf/pldd.c: Likewise.
8242 * elf/sotruss.ksh: Likewise.
8243 * elf/sprof.c: Likewise.
8244 * iconv/iconv_prog.c: Likewise.
8245 * iconv/iconvconfig.c: Likewise.
8246 * locale/programs/locale.c: Likewise.
8247 * locale/programs/localedef.c: Likewise.
8248 * login/programs/pt_chown.c: Likewise.
8249 * malloc/memusage.sh: Likewise.
8250 * malloc/memusagestat.c: Likewise.
8251 * malloc/mtrace.pl: Likewise.
8252 * nscd/nscd.c: Likewise.
8253 * nss/getent.c: Likewise.
8254 * nss/makedb.c: Likewise.
8255 * posix/getconf.c: Likewise.
8256
18ea052c
SP
82572012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8258
8259 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8260 numbers.
8261
9c89fca6
MF
82622012-12-30 Mike Frysinger <vapier@gentoo.org>
8263
8264 * math/bits/mathcalls.h (modf): Use __nonnull.
8265
085ec079
SP
82662012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8267
8268 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8269 (split): Use macro CN instead of the bare value.
8270 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8271 could be used.
8272 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8273 instead of the bare value.
8274 (power1): Likewise.
8275
6d9f97e1
SP
82762012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8277
d63f73be
SP
8278 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8279 __ATAN_TWOM.
8280 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8281
6d9f97e1
SP
8282 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8283 their values.
8284 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8285 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8286 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8287 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8288
4c4febf5
AJ
82892012-12-28 Andreas Jaeger <aj@suse.de>
8290
af5843ef
AJ
8291 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8292 values are from Linux 3.7.
8293
4c4febf5
AJ
8294 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8295 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8296
99136f82
SP
82972012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8298
2f216c3c 8299 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8300 TRUE case.
8301
99136f82
SP
8302 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8303 (norm): Likewise.
8304 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8305 variables with preprocessor constants.
8306 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8307 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8308 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8309
7fffbdff
BH
83102012-12-27 Bruno Haible <bruno@clisp.org>
8311
8312 [BZ #14317]
8313 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8314 only if needed.
8315
b76eb5f0
SP
83162012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8317
31a7fe5c
SP
8318 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8319 and use variable directly.
8320 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8321
b76eb5f0
SP
8322 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8323 MPONE.
8324 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8325 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8326 variable MPONE.
8327 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8328 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8329 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8330 include directive. Remove local variable MPONE.
8331 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8332 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8333 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8334
2c8bfe7d
DM
83352012-12-25 David S. Miller <davem@davemloft.net>
8336
8337 * version.h (RELEASE): Set to "development".
8338 (VERSION): Set to "2.17.90".
8339 * NEWS: Add 2.18 section.
8340
147d03b0
DM
83412012-12-21 David S. Miller <davem@davemloft.net>
8342
8343 * po/hr.po: Update from translation team.
8344
a8ebb2b9
AK
83452012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8346
8347 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8348
95b4f1b6
SE
83492012-12-19 Steve Ellcey <sellcey@mips.com>
8350
b2d94007 8351 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8352
cedb2a90
MS
83532012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8354
8355 * manual/contrib.texi (Contributors): Spelling correction.
8356
bbf527d6
DM
83572012-12-15 David S. Miller <davem@davemloft.net>
8358
8359 * po/ru.po: Update from translation team.
8360
bc38c906
DM
83612012-12-13 David S. Miller <davem@davemloft.net>
8362
85429b1a
DM
8363 * NEWS: Mention IFUNC testsuite enhancements.
8364
d283e353
DM
8365 * po/pl.po: Update from translation team.
8366 * po/bg.po: Likewise.
8367
bc38c906
DM
8368 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8369 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8370
a181b0d7
DM
83712012-12-11 David S. Miller <davem@davemloft.net>
8372
4641d57e
DM
8373 * po/sv.po: Update from translation team.
8374
f7bc6495
DM
8375 * po/vi.po: Update from translation team.
8376
6fc9048f
DM
8377 * po/cs.po: Update from translation team.
8378
a181b0d7
DM
8379 * po/de.po: Update from translation team.
8380 * po/eo.po: Likewise.
8381 * po/nl.po: Likewise.
8382
f70bfe80
SP
83832012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8384
3c8b4190
SP
8385 [BZ #14246]
8386 * manual/argp.texi (Argp Helper Functions): Move node to follow
8387 Argp Parsing State.
8388
f70bfe80
SP
8389 [BZ #14872]
8390 * manual/conf.texi (Limits on File System Capacity): Mention if
8391 terminating null is included in the max size.
8392
188f0adf
AJ
83932012-12-10 Andreas Jaeger <aj@suse.de>
8394
8395 * po/cs.po: Update from translation team.
8396
56e7d3ad
SP
83972012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8398
8399 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8400 void pointer and cast to uintptr_t.
8401 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8402 path.
8403 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8404 * sysdeps/s390/s390-64/memset.S: Likewise.
8405
76f2d2ea 84062012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8407
8408 [BZ #14833]
8409 * menual/message.texi (Message Translation): Fix typos.
8410 (Helper programs for gettext): Likewise.
8411
67cbf9a2
AS
84122012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8413
8414 [BZ #14898]
8415 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8416 Change to -1.
8417
682d0e9a
DM
84182012-12-07 David S. Miller <davem@davemloft.net>
8419
8420 * po/libc.pot: Update.
8421
573cd484
RH
84222012-12-07 Richard Henderson <rth@redhat.com>
8423
7e9da188 8424 [BZ #10114]
573cd484
RH
8425 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8426 normal/normal case to before the switch.
8427 (_FP_DIV): Likewise.
8428
e933a943
MF
84292012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8430 Mike Frysinger <vapier@gentoo.org>
8431
8432 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8433 check for __NR_fadvise64_64.
8434
82123268
CM
84352012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8436
8437 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8438 0, not just to plain "0" as a statement.
8439 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8440 with cw.
8441
d9814526
JM
84422012-12-06 Joseph Myers <joseph@codesourcery.com>
8443
8444 * NEWS: Use sourceware.org in Bugzilla URL.
8445
7728c574
SP
84462012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8447
f16946dd
SP
8448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8449 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8450
5704bbcb
SP
8451 * stdio-common/tst-put-error.c (do_test): Add newline to the
8452 padded test to ensure flush.
8453
17aa0516
JL
84542012-12-05 Jeff Law <law@redhat.com>
8455
8456 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8457
363313b5
JM
84582012-12-05 Joseph Myers <joseph@codesourcery.com>
8459
effbd42a
JM
8460 * README: Don't refer to ports add-on as distributed separately.
8461 Mention AArch64 in list of systems supported in the ports add-on.
8462
87600365
JM
8463 * LICENSES: Add more non-FSF copyright and license notices.
8464
a0d7066a
JM
8465 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8466 ((unused)).
8467
66ca5a5b
JM
8468 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8469
363313b5
JM
8470 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8471 10000 as width of padded output.
8472
b37984ad
JM
84732012-12-04 Joseph Myers <joseph@codesourcery.com>
8474
9003570a
JM
8475 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8476
b37984ad
JM
8477 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8478 variable LX with __attribute__ ((unused)).
8479 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8480 Likewise.
8481 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8482 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8483 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8484 with __attribute__ ((unused)).
8485
c8df52ec
DM
84862012-12-04 David S. Miller <davem@abraco.davemloft.net>
8487
8488 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8489
b3b099af
JM
84902012-12-04 Joseph Myers <joseph@codesourcery.com>
8491
c33aa6e3
JM
8492 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8493 (CFLAGS-nldbl-acos.c): New variable.
8494 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8495 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8496 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8497 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8498 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8499 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8500 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8501 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8502 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8503 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8504 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8505 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8506 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8507 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8508 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8509 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8510 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8511 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8512 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8513 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8514 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8515 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8516 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8517 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8518 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8519 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8520 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8521 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8522 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8523 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8524 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8525 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8526 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8527 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8528 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8529 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8530 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8531 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8532 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8533 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8534 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8535 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8536 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8537 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8538 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8539 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8540 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8541 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8542 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8543 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8544 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8545 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8546 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8547 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8548 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8549 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8550 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8551 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8552 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8553 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8554 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8555 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8556 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8557 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8558 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8559 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8560 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8561 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8562 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8563 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8564 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8565 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8566 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8567 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8568 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8569 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8570 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8571 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8572 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8573 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8574 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8575 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8576 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8577 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8578 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8579 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8580 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8581 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8582 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8583 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8584 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8585 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8586 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8587 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8588 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8589 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8590 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8591
20f0018d
JM
8592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8593 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8594
b3b099af
JM
8595 [BZ #14914]
8596 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8597 whole low double instead of just low 47 bits when splitting values
8598 into two parts.
8599
029264d1
AM
86002012-12-03 Allan McRae <allan@archlinux.org>
8601
8602 * manual/stdio.texi (Predefined Printf Handlers): Remove
8603 @hsep and @vsep usage.
8604
c9d6789e
MF
86052012-12-03 Mike Frysinger <vapier@gentoo.org>
8606
8607 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8608 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8609
4b7634a5
JL
86102012-12-03 Jeff Law <law@redhat.com>
8611
8612 * time/sys/time.h (settimeofday): Do not mark TV argument
8613 as __nonnull.
8614
eb6cbd24
MF
86152012-12-01 Mike Frysinger <vapier@gentoo.org>
8616
8617 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8618 when currently writing and seek to current position when not.
8619 * libio/Makefile (tests): Remove bug-fclose1.
8620 * libio/bug-fclose1.c: Delete.
8621
f638872a
JM
86222012-12-01 Joseph Myers <joseph@codesourcery.com>
8623
8624 * manual/arith.texi (feenableexcept): Fix typo.
8625 (fedisableexcept): Likewise.
8626
48085d14
RM
86272012-11-30 Roland McGrath <roland@hack.frob.com>
8628
8629 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
8630 second, differently-typed declaration, rather than a cast.
8631
1a538b9f
SP
86322012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8633
8634 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
8635 * include/rpc/svc.h: ... here.
8636
d07f2ff1 86372012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
8638
8639 [BZ #13013]
8640 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
8641 depending n and resplen2 to catch cases where answer
8642 equals answerp2.
8643
c93ec1f0
CD
86442012-11-29 Carlos O'Donell <carlos@systemhalted.org>
8645
8646 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
8647 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
8648
37db69de
MF
86492012-11-29 Mike Frysinger <vapier@gentoo.org>
8650
8651 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
8652
e10c4e4f
RM
86532012-11-29 Roland McGrath <roland@hack.frob.com>
8654
8655 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
8656
2af1b328
JL
86572012-11-28 Jeff Law <law@redhat.com>
8658
8659 [BZ #13761]
8660 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
8661 dataset_temporary. Track alloca usage into alloca_used.
8662 If dataset is large allocate and release it via malloc/free.
8663
111db5b1
FW
86642012-06-04 Florian Weimer <fweimer@redhat.com>
8665
f06cc227 8666 [BZ #14197]
111db5b1
FW
8667 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
8668
dd694abd
DM
86692012-11-28 David S. Miller <davem@davemloft.net>
8670
8671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8672
9984dd01
JM
86732012-11-28 Joseph Myers <joseph@codesourcery.com>
8674
8675 [BZ #14803]
8676 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
8677 of pi/2 rounded to nearest to 64 bits.
8678 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
8679 nearest to 64 bits.
8680 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
8681 bits.
8682
14bc93a9
JL
86832012-11-28 Jeff Law <law@redhat.com>
8684 Martin Osvald <mosvald@redhat.com>
8685
8686 [BZ #14889]
8687 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
8688 * sunrpc/svc.c: Include time.h.
8689 (__svc_accept_failed): New function.
8690 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
8691 any reason other than EINTR, call __svc_accept_failed.
8692 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
8693 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
8694
e3c6aa3a
AS
86952012-11-28 Andreas Schwab <schwab@suse.de>
8696
8697 * scripts/abilist.awk: Also handle indirect functions in .opd
8698 section.
8699
1bead169
JM
87002012-11-28 Joseph Myers <joseph@codesourcery.com>
8701
8702 [BZ #13881]
8703 * sysdeps/x86/fpu/powl_helper.c: New file.
8704 * sysdeps/x86/fpu/Makefile: Likewise.
8705 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
8706 (p3): New object.
8707 (__ieee754_powl): Use __powl_helper for finite arguments except
8708 integer exponents below 8.
8709 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
8710 (p3): New object.
8711 (__ieee754_powl): Use __powl_helper for finite arguments except
8712 integer exponents below 8.
8713 * math/libm-test.inc (pow_test): Add more tests and enable some
8714 previously disabled tests.
8715 * sysdeps/i386/fpu/libm-test-ulps: Update.
8716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8717
0817d63d
SP
87182012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8719 Carlos O'Donell <carlos_odonell@mentor.com>
8720
8721 * nss/makedb.c (is_prime): Assert that input is odd and greater
8722 than 4. Note that fact in a comment too.
8723 (next_prime): Add 4 to input.
8724
de2fd463
SP
87252012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8726
8727 [BZ #11741]
8728 * libio/Makefile (tests): Add test case tst-fwrite-error.
8729 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
8730 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
8731 * libio/tst-fwrite-error.c: New test case.
8732
c515fb51
L
87332012-11-26 H.J. Lu <hongjiu.lu@intel.com>
8734
8735 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
8736 before casting to void *.
8737 * include/libc-internal.h (__pointer_type): New macro.
8738 (__integer_if_pointer_type_sub): Likewise.
8739 (__integer_if_pointer_type): Likewise.
8740 (cast_to_integer): Likewise.
8741 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
8742 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
8743 before casting to atomic64_t.
8744 (atomic_exchange_acq): Likewise.
8745 (__arch_exchange_and_add_body): Likewise.
8746 (__arch_add_body): Likewise.
8747 (atomic_add_negative): Likewise.
8748 (atomic_add_zero): Likewise.
8749
4cf77aa9
JM
87502012-11-26 Joseph Myers <joseph@codesourcery.com>
8751
8752 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
8753 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
8754 (add_fdes): Likewise.
8755 (linear_search_fdes): Likewise.
8756 (binary_search_unencoded_fdes): Likewise.
8757
d260b3b4
AS
87582012-11-26 Andreas Schwab <schwab@linux-m68k.org>
8759
8760 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
8761
67060746
AC
87622012-11-24 Adam Conrad <adconrad@0c3.net>
8763
8764 * configure.in: Autodetect C++ header directories.
8765 * configure: Regenerated.
8766
800938a1
MF
87672012-11-23 Mike Frysinger <vapier@gentoo.org>
8768
8769 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
8770
4e6e34e6
AS
87712012-11-23 Andreas Schwab <schwab@linux-m68k.org>
8772
8773 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8774
7c7feb47
JM
87752012-11-22 Joseph Myers <joseph@codesourcery.com>
8776
7184dcdf
JM
8777 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
8778 LDBL_MANT_DIG == 106]: Disable some tests.
8779 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8780 Likewise.
8781 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
8782 Likewise.
8783
0a42601f
JM
8784 [BZ #14871]
8785 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
8786 input for small inputs. Return +/- pi/2 for large inputs.
8787 * math/libm-test.inc (atan_test): Add more tests.
8788
79c9b9fe
JM
8789 * sysdeps/generic/unwind-dw2-fde-glibc.c
8790 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
8791 __attribute__ ((unused)).
8792
c60d3bf2
JM
8793 [BZ #14645]
8794 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
8795 x * y if x and y are nonzero and z is zero.
8796
ef1e0867
JM
8797 [BZ #14811]
8798 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
8799 nonzero exponents with absolute value below 0x1p-117 to +/-
8800 0x1p-117.
8801
1468ded3
JM
8802 [BZ #14869]
8803 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
8804 up arguments below 2**-450, not just those below 2**-500.
8805 * math/libm-test.inc (hypot_test): Add another test.
8806
8e27e3cc
JM
8807 [BZ #14868]
8808 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
8809 Return a+b for ratio over 2**120, not 2**60.
8810 * math/libm-test.inc (hypot_test): Add another test.
8811
c9c0279b
JM
8812 * math/libm-test.inc (clog_test): Use
8813 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
8814 (clog10_test): Likewise.
8815
7c7feb47
JM
8816 [BZ #6778]
8817 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
8818
fff1530e
AS
88192012-11-22 Andreas Schwab <schwab@suse.de>
8820
8821 * sysdeps/i386/fpu/libm-test-ulps: Update.
8822
94558d30
PT
88232012-11-22 Pino Toscano <toscano.pino@tiscali.it>
8824
8825 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
8826 printf output with newline.
8827
7e1be741
L
88282012-11-21 H.J. Lu <hongjiu.lu@intel.com>
8829
6bfea974
L
8830 [BZ #14865]
8831 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
8832 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
8833 -z nodlopen, -z initfirst and -z execstack support.
8834 * configure: Regenerated.
8835
7e1be741
L
8836 * elf/elf.h (DF_1_NODIRECT): New macro.
8837 (DF_1_IGNMULDEF): Likewise.
8838 (DF_1_NOKSYMS): Likewise.
8839 (DF_1_NOHDR): Likewise.
8840 (DF_1_EDITED): Likewise.
8841 (DF_1_NORELOC): Likewise.
8842 (DF_1_SYMINTPOSE): Likewise.
8843 (DF_1_GLOBAUDIT): Likewise.
8844 (DF_1_SINGLETON): Likewise.
8845 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
8846 DT_1_SUPPORTED_MASK bits.
8847 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
8848
105ce2ce
CD
88492012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
8850
8851 * sysdeps/unix/make-syscalls.sh: Document prefixes.
8852
123be9de
TS
88532012-11-20 Thomas Schwinge <thomas@codesourcery.com>
8854
d072f3f7
TS
8855 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
8856 macro.
8857
123be9de
TS
8858 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
8859 (sendmmsg): Move declarations...
8860 * socket/sys/socket.h: ... here.
8861 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
8862 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
8863 include it from...
8864 * socket/recvmmsg.c: ... this new file.
8865 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
8866 (sendmmsg): Rename to __sendmmsg, create weak alias and make
8867 definition of __sendmmsg hidden.
8868 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
8869 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
8870 Move ENOSYS stub into and include it from...
8871 * socket/sendmmsg.c: ... this new file.
8872 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
8873 (sysdep_routines): Move recvmmsg and sendmmsg...
8874 * socket/Makefile (routines): ... here.
8875 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
8876 (GLIBC_PRIVATE): Add __sendmmsg.
8877 * include/sys/socket.h (__sendmmsg): Add declarations.
8878 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
8879 sendmmsg.
8880
cf9a5d18
JM
88812012-11-20 Joseph Myers <joseph@codesourcery.com>
8882
8883 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
8884 variable I1 with __attribute__ ((unused)).
8885 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8886
ecd4caf9
JM
88872012-11-19 Joseph Myers <joseph@codesourcery.com>
8888
be14d48f
JM
8889 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
8890 DUMMY variables with __attribute__ ((unused)).
8891
ecd4caf9
JM
8892 * bits/byteswap.h: Include <bits/types.h>.
8893 (__bswap_64): Use __uint64_t instead of unsigned long long int.
8894
986cab95
PT
88952012-11-19 Pino Toscano <toscano.pino@tiscali.it>
8896
8897 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
8898 string_t. Do not manually set errno.
8899 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
8900 length with __strnlen. Make sure to both set errno and return it on
8901 failure.
8902
6d33cc9d
DM
89032012-11-19 David S. Miller <davem@davemloft.net>
8904
8905 With help from Joseph Myers.
8906 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
8907 very large arguments properly.
8908 * math/libm-test.inc (atan_test): New tests.
8909 (atan2_test): New tests.
8910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8912
ee663277
JM
89132012-11-19 Joseph Myers <joseph@codesourcery.com>
8914
877f2d8e
JM
8915 [BZ #14856]
8916 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
8917 Define to 3.
8918
116fc08a
JM
8919 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
8920 [POSIX] (EADDRNOTAVAIL): Likewise.
8921 [POSIX] (EAFNOSUPPORT): Likewise.
8922 [POSIX] (EALREADY): Likewise.
8923 [POSIX] (ECONNABORTED): Likewise.
8924 [POSIX] (ECONNREFUSED): Likewise.
8925 [POSIX] (ECONNRESET): Likewise.
8926 [POSIX] (EDESTADDRREQ): Likewise.
8927 [POSIX] (EDQUOT): Likewise.
8928 [POSIX] (EHOSTUNREACH): Likewise.
8929 [POSIX] (EIDRM): Likewise.
8930 [POSIX] (EISCONN): Likewise.
8931 [POSIX] (ELOOP): Likewise.
8932 [POSIX] (EMULTIHOP): Likewise.
8933 [POSIX] (ENETDOWN): Likewise.
8934 [POSIX] (ENETUNREACH): Likewise.
8935 [POSIX] (ENOBUFS): Likewise.
8936 [POSIX] (ENODATA): Likewise.
8937 [POSIX] (ENOLINK): Likewise.
8938 [POSIX] (ENOMSG): Likewise.
8939 [POSIX] (ENOPROTOOPT): Likewise.
8940 [POSIX] (ENOSR): Likewise.
8941 [POSIX] (ENOSTR): Likewise.
8942 [POSIX] (ENOTCONN): Likewise.
8943 [POSIX] (ENOTSOCK): Likewise.
8944 [POSIX] (EOPNOTSUPP): Likewise.
8945 [POSIX] (EOVERFLOW): Likewise.
8946 [POSIX] (EPROTO): Likewise.
8947 [POSIX] (EPROTONOSUPPORT): Likewise.
8948 [POSIX] (EPROTOTYPE): Likewise.
8949 [POSIX] (ESTALE): Likewise.
8950 [POSIX] (ETIME): Likewise.
8951 [POSIX] (ETXTBSY): Likewise.
8952 [POSIX] (EWOULDBLOCK): Likewise.
8953 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
8954 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
8955 [POSIX] (SEEK_CUR): Likewise.
8956 [POSIX] (SEEK_END): Likewise.
8957 [POSIX || UNIX98] (mode_t): Do not require.
8958 [POSIX] (off_t): Likewise.
8959 [POSIX] (pid_t): Likewise.
8960 [POSIX] (sys/stat.h): Do not allow header.
8961 [POSIX] (unistd.h): Likewise.
8962 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
8963 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
8964 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
8965 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
8966 require.
8967 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
8968 sigevent): Specify elements.
8969 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
8970 entry.
8971 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
8972 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
8973
a483863f
JM
8974 * conform/data/cpio.h-data [POSIX]: Disable whole file.
8975 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
8976 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
8977 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
8978 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
8979 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
8980 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
8981 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
8982 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
8983 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
8984 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
8985 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
8986 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
8987 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
8988 Likewise.
8989 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
8990 Likewise.
8991 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
8992 Likewise.
8993 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
8994 Likewise.
8995 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
8996 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
8997 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
8998 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
8999 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9000 Specify lower bound on value.
9001 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9002 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9003 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9004 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9005 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9006 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9007 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9008 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9009 value.
9010 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9011 as optional.
9012 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9013 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9014 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9015 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9016 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9017 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9018 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9019 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9020 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9021 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9022 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9023 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9024 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9025 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9026 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9027 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9028 entry.
9029 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9030 optional.
9031 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9032 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9033 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9034 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9035 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9036 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9037 Likewise.
9038 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9039 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9040 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9041 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9042 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9043 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9044 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9045 as optional.
9046 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9047 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9048 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9049 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9050 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9051 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9052 specify as optional.
9053 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9054 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9055 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9056 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9057 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9058 [XPG3] (NL_LANGMAX): Likewise.
9059 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9060 [POSIX || XPG3] (NL_NMAX): Likewise.
9061 [POSIX || XPG3] (NL_SETMAX): Likewise.
9062 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9063 [XPG3] (NZERO): Likewise.
9064 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9065 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9066 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9067 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9068 (REG_ERANGE): Expect.
9069 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9070 optional-constant.
9071 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9072 Use (void) in prototype.
9073 [POSIX] (*_t): Allow.
9074 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9075 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9076 (WRDE_BADVAL): Expect.
9077
5ba924e3
JM
9078 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9079 expect.
9080 [XPG3 || XPG4] (O_RSYNC): Likewise.
9081 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9082 Likewise.
9083 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9084 [XPG3 || XPG4] (sigqueue): Likewise.
9085 [XPG3 || XPG4] (sigtimedwait): Likewise.
9086 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9087 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9088 [XPG3 || XPG4] (vsnprintf): Likewise.
9089 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9090 Likewise.
9091 [XPG3 || XPG4] (blksize_t): Likewise.
9092 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9093 Likewise.
9094 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9095 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9096 [XPG3 || XPG4] (struct itimerspec): Likewise.
9097 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9098 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9099 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9100 [XPG3 || XPG4] (clockid_t): Likewise.
9101 [XPG3 || XPG4] (timer_t): Likewise.
9102 [XPG3 || XPG4] (clock_getres): Likewise.
9103 [XPG3 || XPG4] (clock_gettime): Likewise.
9104 [XPG3 || XPG4] (clock_settime): Likewise.
9105 [XPG3 || XPG4] (nanosleep): Likewise.
9106 [XPG3 || XPG4] (timer_create): Likewise.
9107 [XPG3 || XPG4] (timer_delete): Likewise.
9108 [XPG3 || XPG4] (timer_gettime): Likewise.
9109 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9110 [XPG3 || XPG4] (timer_settime): Likewise.
9111 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9112 [XPG3 || XPG4] (getlogin_r): Likewise.
9113 [XPG3 || XPG4] (pread): Likewise.
9114 [XPG3 || XPG4] (pthread_atfork): Likewise.
9115 [XPG3 || XPG4] (pwrite): Likewise.
9116
ee663277
JM
9117 [BZ #14835]
9118 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9119 <bits/siginfo.h>.
9120
942caa16
PT
91212012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9122
e19af380
PT
9123 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9124 finalizing MALLSTREAM.
9125
942caa16
PT
9126 * sysdeps/mach/hurd/syncfs.c: New file.
9127
cfde9b46
SP
91282012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9129
9130 [BZ #14719]
9131 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9132 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9133 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9134 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9135 (_nss_dns_gethostbyname4_r): Likewise.
9136 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9137 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9138
f6da27e5
PH
91392012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9140
9141 [BZ #13763]
9142 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9143
6665d4a2
SM
91442012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9145
1f51ee92
SM
9146 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9147 * elf/cache.c (print_entry): Print ",AArch64" for
9148 FLAG_AARCH64_LIB64
9149
6665d4a2
SM
9150 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9151 * elf/cache.c (print_entry): Print ",hard-float" for
9152 FLAG_ARM_LIBHF.
9153
05b227bd
DM
91542012-11-18 David S. Miller <davem@davemloft.net>
9155
9156 With help from Joseph Myers.
9157 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9158 cutoff to 2**-13.
9159 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9160 cutoff to 2**-25.
9161 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9162 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9163 small.
9164 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9165 * math/libm-test.inc (y0_test): New tests.
9166 (y1_test): New tests.
9167 * sysdeps/i386/fpu/libm-test-ulps: Update.
9168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9170
786b0b67
AS
91712012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9172
9173 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9174 64-bit targets.
9175 * configure: Regenerated.
9176
8e18b86d
DM
91772012-11-17 David S. Miller <davem@davemloft.net>
9178
9179 [BZ #14811]
9180 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9181 nonzero exponents with absolute value below 0x1p-128 to +/-
9182 0x1p-128.
9183
531f1ae0
JM
91842012-11-17 Joseph Myers <joseph@codesourcery.com>
9185
12df29e2
JM
9186 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9187
150dc1a0
JM
9188 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9189
531f1ae0
JM
9190 * posix/getconf-speclist.c: New file.
9191 * posix/posix-envs.def: Likewise.
9192 * posix/confstr.c (START_ENV_GROUP): New macro.
9193 (END_ENV_GROUP): Likewise.
9194 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9195 (KNOWN_PRESENT_ENV_STRING): Likewise.
9196 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9197 (UNKNOWN_ENVIRONMENT): Likewise.
9198 (confstr): Include posix-envs.def instead of handling
9199 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9200 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9201 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9202 (END_ENV_GROUP): Likewise.
9203 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9204 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9205 (UNKNOWN_ENVIRONMENT): Likewise.
9206 (__sysconf): Include posix-envs.def instead of handling associated
9207 cases directly here.
9208 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9209 preprocessing getconf-speclist.c rather than running getconf or
9210 generating empty file.
9211
a93f9cbc
PT
92122012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9213
9214 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9215
d64d9f87
AL
92162012-11-16 Andrej Lajovic <natrij@gmail.com>
9217
9218 [BZ #14672]
9219 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9220
447885eb
DM
92212012-11-16 David S. Miller <davem@davemloft.net>
9222
9223 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9224 smaller than LDBL_EPSILON/2.0L, just return xm1.
9225
bcbf9830
L
92262012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9227
9228 * elf/tst-array1.c (init): Set constructor priority to 1000.
9229 (fini): Set destructor priority to 1000.
9230 * elf/tst-array2dep.c: Likewise.
9231
2b766585
SP
92322012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9233
9234 [BZ #11741]
9235 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9236 (_IO_new_file_xsputn): Also return EOF if none of the input
9237 data was written when overflow failed.
9238 * libio/iopadn.c (_IO_padn): Likewise.
9239 * libio/iowpadn.c (_IO_wpadn): Likewise.
9240 * stdio-common/tst-put-error.c: Add copyright notice.
9241 (do_test): Add case for printing padded string.
9242 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9243 _IO_padn returned error.
9244 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9245 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9246 return EOF.
9247
b1848fde
SP
92482012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9249
9250 * libio/libioP.h: Add comment note that the references to C++
9251 bits are now obsolete.
9252
2fd89785
MS
92532012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9254
9255 * math/libm-test.inc (check_complex): Use asprintf.
9256
e3ea5409
JM
92572012-11-14 Joseph Myers <joseph@codesourcery.com>
9258
9259 * debug/pcprofiledump.c (print_version): Update copyright year.
9260 * malloc/memusagestat.c (print_version): Likewise.
9261
2e64d265
L
92622012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9263
9264 [BZ #14831]
9265 * elf/Makefile (tests): Add tst-audit8.
9266 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9267 ($(objpfx)tst-audit8.out): New target.
9268 (tst-audit8-ENV): New variable.
9269 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9270 audit if l_reloc_result is NULL.
9271 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9272 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9273 * elf/tst-audit8.c: New file.
9274
c485e4d2
MS
92752012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9276
9277 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9278 * misc/Makefile (CFLAGS-select.c): Define.
9279 * posix/Makefile (CFLAGS-pause.c): Define.
9280
3a0d900a
DM
92812012-11-13 David S. Miller <davem@davemloft.net>
9282
9283 * crypt/Makefile: Move test targets after toplevel Rules
9284 inclusion. Grab any necessary sysdep routines when linking.
9285 * crypt/md5.c (md5_process_block): Remove define, we will always
9286 name it __md5_process_block.
9287 (md5_finish_ctx): Update md5_process_block call.
9288 (md5_stream): Likewise.
9289 (md5_process_bytes): Likewise.
9290 (md5_process_block): Rename to __md5_process_block and move to ...
9291 * crypt/md5-block.c: ... here.
9292 * crypt/sha256.c (sha256_process_block): Move to ...
9293 * crypt/sha256-block.c: ... here.
9294 * crypt/sha512.c (sha512_process_block): Move to ...
9295 * crypt/sha512-block.c: ... here.
9296 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9297 path.
9298 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9299 * sysdeps/sparc/sparc64/multiarch/Makefile
9300 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9301 crypt subdir.
9302 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9303 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9304 multiarch changes.
9305 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9306 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9307 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9308 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9309 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9310 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9311 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9312 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9313 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9314 file.
9315 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9316 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9317 file.
9318 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9319
8ca89318
JM
93202012-11-13 Joseph Myers <joseph@codesourcery.com>
9321
e27d476a
JM
9322 * timezone/tzselect.ksh: Update from tzcode git revision
9323 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9324 * timezone/zdump.c: Likewise.
9325 * timezone/zic.c: Likewise.
9326 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9327 in TZVERSION setting, not $(PKGVERSION).
9328 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9329 REPORT_BUGS_TO settings.
9330
8ca89318
JM
9331 [BZ #14838]
9332 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9333 macro.
9334
47594329
MS
93352012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9336
9337 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9338 detection to immediately after _FP_ROUND().
9339 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9340 bits are 0.
9341
640ac3f1
DM
93422012-11-11 David S. Miller <davem@davemloft.net>
9343
9344 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9345 inttypes.h
9346 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9347 __close rather than their public counterparts.
9348
3d2577bb
JM
93492012-11-10 Joseph Myers <joseph@codesourcery.com>
9350
9351 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9352 file.
9353 [UNIX98] (sem_timedwait): Do not expect.
9354 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9355 [XPG4 || UNIX98] (sockatmark): Do not expect.
9356 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9357 (clock_getcpuclockid): Do not expect.
9358 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9359 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9360 Do not expect.
9361 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9362 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9363 [UNIX98] (vwscanf): Likewise.
9364 [UNIX98] (vswscanf): Likewise.
9365
fb1ae1ee
JM
93662012-11-09 Joseph Myers <joseph@codesourcery.com>
9367
9ec6f8bd
JM
9368 * timezone/version.h: Remove file.
9369 * timezone/README: Do not refer to version.h.
9370 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9371 $(objpfx)version.h.
9372 ($(objpfx)zdump.o): Likewise.
c3f81911 9373 ($(objpfx)version.h): New target.
9ec6f8bd 9374
0aa8f8a1
JM
9375 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9376 2012i.
9377 * timezone/README: Don't mention modification to tzselect.ksh.
9378 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9379 work on unmodified tzselect.ksh. Substitute version numbers in
9380 tzselect.ksh.
9381
4e87147f
JM
9382 * Makefile (format-me): Remove.
9383 (INSTALL): Adjust indentation. Use commands directly instead of
9384 using $(format-me).
9385
8b748aed
JM
9386 * aclocal.m4 (ACX_PKGVERSION): New macro.
9387 (ACX_BUGURL): Likewise.
9388 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9389 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9390 (REPORT_BUGS_TO): Likewise.
9391 * configure: Regenerated.
9392 * config.h.in (PKGVERSION): New macro.
9393 (REPORT_BUGS_TO): Likewise.
9394 * config.make.in (PKGVERSION): New variable.
9395 (PKGVERSION_TEXI): Likewise.
9396 (REPORT_BUGS_TO): Likewise.
9397 (REPORT_BUGS_TEXI): Likewise.
9398 * Makefile (format-me): Use -I$(common-objpfx)manual.
9399 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9400 ($(common-objpfx)manual/%): New target.
9401 (manual/%): Remove target.
9402 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9403 (print_version): Use PKGVERSION.
9404 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9405 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9406 and REPORT_BUGS_TO.
9407 ($(objpfx)xtrace): Likewise.
9408 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9409 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9410 (print_version): Use PKGVERSION.
9411 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9412 (do_version): Use PKGVERSION.
9413 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9414 REPORT_BUGS_TO.
9415 (common-ldd-rewrite): Likewise.
9416 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9417 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9418 (print_version): Use PKGVERSION.
9419 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9420 * elf/pldd.c (argp_program_bug_address): Remove variable.
9421 (more_help): New function.
9422 (argp): Use more_help.
9423 (print_version): Use PKGVERSION.
9424 * elf/sln.c (main): Use PKGVERSION.
9425 (usage): Use REPORT_BUGS_TO.
9426 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9427 (top level): Use PKGVERSION.
9428 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9429 (print_version): Use PKGVERSION.
9430 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9431 (print_version): Use PKGVERSION.
9432 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9433 (print_version): Use PKGVERSION.
9434 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9435 (print_version): Use PKGVERSION.
9436 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9437 (print_version): Use PKGVERSION.
9438 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9439 (print_version): Use PKGVERSION.
9440 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9441 and BUGURL.
9442 ($(objpfx)memusage): Likewise.
9443 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9444 (do_version): Use PKGVERSION.
9445 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9446 (print_version): Use PKGVERSION.
9447 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9448 ($PKGVERSION): New variable.
9449 ($REPORT_BUGS_TO): Likewise.
9450 (usage): Use $REPORT_BUGS_TO.
9451 (top level): Use $PKGVERSION.
9452 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9453 ($(objpfx)pkgvers.texi): New rule.
9454 ($(objpfx)stamp-pkgvers): Likewise.
9455 * manual/install.texi: Include pkgvers.texi.
9456 (--with-pkgversion): Document new configure option.
9457 (--with-bugurl): Likewise.
9458 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9459 than necessarily for this particular distribution. Use
9460 REPORT_BUGS_TO for where to report bugs.
9461 * INSTALL: Regenerated.
9462 * manual/libc.texinfo: Include pkgvers.texi.
9463 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9464 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9465 (print_version): Use PKGVERSION.
9466 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9467 (print_version): Use PKGVERSION.
9468 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9469 (print_version): Use PKGVERSION.
9470 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9471 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9472 macro.
9473 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9474 (print_version): Use PKGVERSION.
9475 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9476 (print_version): Use PKGVERSION.
9477 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9478 and PKGVERSION.
9479
92e4b6a9
JM
9480 * timezone/checktab.awk: Update from tzcode 2012i.
9481 * timezone/ialloc.c: Likewise.
9482 * timezone/private.h: Likewise.
9483 * timezone/scheck.c: Likewise.
9484 * timezone/tzfile.h: Likewise.
9485 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9486 (TZVERSION): Hardcode tzcode version number.
9487 * timezone/zdump.c: Update from tzcode 2012i.
9488 * timezone/zic.c: Likewise.
9489 * timezone/version.h: New file.
9490 * timezone/README: Describe version.h. Update upstream location.
9491
9bde902c
JM
9492 [BZ #14824]
9493 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9494 (mktemp): Enable declaration.
9495 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9496 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9497 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9498 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9499 Likewise.
9500 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9501 Likewise.
9502 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9503 Likewise.
9504 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9505 Likewise.
9506 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9507 Likewise.
9508 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9509 Likewise.
9510
fb1ae1ee
JM
9511 [BZ #14821]
9512 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9513 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9514 for copies of such integer values.
9515 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9516 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9517
2c1adbcb
AJ
95182012-11-09 Andreas Jaeger <aj@suse.de>
9519
9520 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9521 definitions and declarations that are provided by
9522 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9523
d0f8457e
AK
95242012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9525
3a235abb 9526 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9527 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9528 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9529 definition.
9530
57241e26
MS
95312012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9532
9533 * elf/elf.h: Update comment before AArch64 relocations.
9534
60e8270d
DM
95352012-11-07 David S. Miller <davem@davemloft.net>
9536
9537 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9538 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9539 (__start_context): Declare.
9540 (__makecontext_ret): Delete.
9541 (__makecontext): Hook up __start_context instead of
9542 __makecontext_ret.
9543 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9544 (sysdep_routines): Add __start_context when in stdlib.
9545
0fbb0fbc
JM
95462012-11-07 Joseph Myers <joseph@codesourcery.com>
9547
9548 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9549 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9550 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9551 hardcoded "nm".
9552 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9553 (READELF): New variable. Use it instead of hardcoded "readelf".
9554
eb48db7e
L
95552012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9556
9557 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9558 * sysdeps/x86/Makefile: Here.
9559 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9560 * sysdeps/x86/tst-xmmymm.sh: This.
9561
05bcf62a
JM
95622012-11-07 Joseph Myers <joseph@codesourcery.com>
9563
c4b6cf53
JM
9564 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9565 expectations.
9566 [UNIX98] (pthread_barrier_t): Do not expect.
9567 [UNIX98] (pthread_barrierattr_t): Likewise.
9568 [UNIX98] (pthread_spinlock_t): Likewise.
9569 [UNIX98] (pthread_barrier_destroy): Likewise.
9570 [UNIX98] (pthread_barrier_init): Likewise.
9571 [UNIX98] (pthread_barrier_wait): Likewise.
9572 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9573 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9574 [UNIX98] (pthread_barrierattr_init): Likewise.
9575 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9576 [UNIX98] (pthread_getcpuclockid): Likewise.
9577 [UNIX98] (pthread_mutex_timedlock): Likewise.
9578 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9579 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9580 [UNIX98] (pthread_sigmask): Likewise.
9581 [UNIX98] (pthread_spin_destroy): Likewise.
9582 [UNIX98] (pthread_spin_init): Likewise.
9583 [UNIX98] (pthread_spin_lock): Likewise.
9584 [UNIX98] (pthread_spin_trylock): Likewise.
9585 [UNIX98] (pthread_spin_unlock): Likewise.
9586 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9587 Do not expect.
9588 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9589 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9590 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9591 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9592 [XPG3 || XPG4] (pthread_key_t): Likewise.
9593 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9594 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9595 [XPG3 || XPG4] (pthread_once_t): Likewise.
9596 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9597 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9598 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9599 [XPG3 || XPG4] (pthread_t): Likewise.
9600
cbe6e120
JM
9601 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9602 not expect.
9603 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9604
1b126443
JM
9605 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9606 Change function return type to int.
9607
b961a573
JM
9608 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9609 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9610 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9611 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9612 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9613 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9614 [!POSIX] (posix_madvise): Likewise.
9615 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9616 && !UNIX98].
9617 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9618 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9619 (mode_t): Likewise.
9620 (posix_mem_offset): Likewise.
9621 (posix_typed_mem_get_info): Likewise.
9622 (posix_typed_mem_open): Likewise.
9623
9e188909
JM
9624 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9625 Change condition to [XOPEN2K8].
9626
05bcf62a
JM
9627 * conform/conformtest.pl: Preprocess allow-header data with -x c
9628 instead of from stdin.
9629 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
9630 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
9631 [C99-based standards] (cerfc): Likewise.
9632 [C99-based standards] (cexp2): Likewise.
9633 [C99-based standards] (cexpm1): Likewise.
9634 [C99-based standards] (clog10): Likewise.
9635 [C99-based standards] (clog1p): Likewise.
9636 [C99-based standards] (clog2): Likewise.
9637 [C99-based standards] (clgamma): Likewise.
9638 [C99-based standards] (ctgamma): Likewise.
9639 [C99-based standards] (cerff): Likewise.
9640 [C99-based standards] (cerfcf): Likewise.
9641 [C99-based standards] (cexp2f): Likewise.
9642 [C99-based standards] (cexpm1f): Likewise.
9643 [C99-based standards] (clog10f): Likewise.
9644 [C99-based standards] (clog1pf): Likewise.
9645 [C99-based standards] (clog2f): Likewise.
9646 [C99-based standards] (clgammaf): Likewise.
9647 [C99-based standards] (ctgammaf): Likewise.
9648 [C99-based standards] (cerfl): Likewise.
9649 [C99-based standards] (cerfcl): Likewise.
9650 [C99-based standards] (cexp2l): Likewise.
9651 [C99-based standards] (cexpm1l): Likewise.
9652 [C99-based standards] (clog10l): Likewise.
9653 [C99-based standards] (clog1pl): Likewise.
9654 [C99-based standards] (clog2l): Likewise.
9655 [C99-based standards] (clgammal): Likewise.
9656 [C99-based standards] (ctgammal): Likewise.
9657 * conform/data/inttypes.h-data [C99-based standards]: Include
9658 stdint.h-data. Remove all expectations for stdint.h contents.
9659 [C99-based standards] (PRI*): Do not allow.
9660 [C99-based standards] (SCN*): Likewise.
9661 [C99-based standards] (*_t): Likewise.
9662 [C99-based-standards] (PRId8): Expect macro.
9663 [C99-based-standards] (PRIi8): Likewise.
9664 [C99-based-standards] (PRIo8): Likewise.
9665 [C99-based-standards] (PRIu8): Likewise.
9666 [C99-based-standards] (PRIx8): Likewise.
9667 [C99-based-standards] (PRIX8): Likewise.
9668 [C99-based-standards] (SCNd8): Likewise.
9669 [C99-based-standards] (SCNi8): Likewise.
9670 [C99-based-standards] (SCNo8): Likewise.
9671 [C99-based-standards] (SCNu8): Likewise.
9672 [C99-based-standards] (SCNx8): Likewise.
9673 [C99-based-standards] (PRIdLEAST8): Likewise.
9674 [C99-based-standards] (PRIiLEAST8): Likewise.
9675 [C99-based-standards] (PRIoLEAST8): Likewise.
9676 [C99-based-standards] (PRIuLEAST8): Likewise.
9677 [C99-based-standards] (PRIxLEAST8): Likewise.
9678 [C99-based-standards] (PRIXLEAST8): Likewise.
9679 [C99-based-standards] (SCNdLEAST8): Likewise.
9680 [C99-based-standards] (SCNiLEAST8): Likewise.
9681 [C99-based-standards] (SCNoLEAST8): Likewise.
9682 [C99-based-standards] (SCNuLEAST8): Likewise.
9683 [C99-based-standards] (SCNxLEAST8): Likewise.
9684 [C99-based-standards] (PRIdFAST8): Likewise.
9685 [C99-based-standards] (PRIiFAST8): Likewise.
9686 [C99-based-standards] (PRIoFAST8): Likewise.
9687 [C99-based-standards] (PRIuFAST8): Likewise.
9688 [C99-based-standards] (PRIxFAST8): Likewise.
9689 [C99-based-standards] (PRIXFAST8): Likewise.
9690 [C99-based-standards] (SCNdFAST8): Likewise.
9691 [C99-based-standards] (SCNiFAST8): Likewise.
9692 [C99-based-standards] (SCNoFAST8): Likewise.
9693 [C99-based-standards] (SCNuFAST8): Likewise.
9694 [C99-based-standards] (SCNxFAST8): Likewise.
9695 [C99-based-standards] (PRId16): Likewise.
9696 [C99-based-standards] (PRIi16): Likewise.
9697 [C99-based-standards] (PRIo16): Likewise.
9698 [C99-based-standards] (PRIu16): Likewise.
9699 [C99-based-standards] (PRIx16): Likewise.
9700 [C99-based-standards] (PRIX16): Likewise.
9701 [C99-based-standards] (SCNd16): Likewise.
9702 [C99-based-standards] (SCNi16): Likewise.
9703 [C99-based-standards] (SCNo16): Likewise.
9704 [C99-based-standards] (SCNu16): Likewise.
9705 [C99-based-standards] (SCNx16): Likewise.
9706 [C99-based-standards] (PRIdLEAST16): Likewise.
9707 [C99-based-standards] (PRIiLEAST16): Likewise.
9708 [C99-based-standards] (PRIoLEAST16): Likewise.
9709 [C99-based-standards] (PRIuLEAST16): Likewise.
9710 [C99-based-standards] (PRIxLEAST16): Likewise.
9711 [C99-based-standards] (PRIXLEAST16): Likewise.
9712 [C99-based-standards] (SCNdLEAST16): Likewise.
9713 [C99-based-standards] (SCNiLEAST16): Likewise.
9714 [C99-based-standards] (SCNoLEAST16): Likewise.
9715 [C99-based-standards] (SCNuLEAST16): Likewise.
9716 [C99-based-standards] (SCNxLEAST16): Likewise.
9717 [C99-based-standards] (PRIdFAST16): Likewise.
9718 [C99-based-standards] (PRIiFAST16): Likewise.
9719 [C99-based-standards] (PRIoFAST16): Likewise.
9720 [C99-based-standards] (PRIuFAST16): Likewise.
9721 [C99-based-standards] (PRIxFAST16): Likewise.
9722 [C99-based-standards] (PRIXFAST16): Likewise.
9723 [C99-based-standards] (SCNdFAST16): Likewise.
9724 [C99-based-standards] (SCNiFAST16): Likewise.
9725 [C99-based-standards] (SCNoFAST16): Likewise.
9726 [C99-based-standards] (SCNuFAST16): Likewise.
9727 [C99-based-standards] (SCNxFAST16): Likewise.
9728 [C99-based-standards] (PRId32): Likewise.
9729 [C99-based-standards] (PRIi32): Likewise.
9730 [C99-based-standards] (PRIo32): Likewise.
9731 [C99-based-standards] (PRIu32): Likewise.
9732 [C99-based-standards] (PRIx32): Likewise.
9733 [C99-based-standards] (PRIX32): Likewise.
9734 [C99-based-standards] (SCNd32): Likewise.
9735 [C99-based-standards] (SCNi32): Likewise.
9736 [C99-based-standards] (SCNo32): Likewise.
9737 [C99-based-standards] (SCNu32): Likewise.
9738 [C99-based-standards] (SCNx32): Likewise.
9739 [C99-based-standards] (PRIdLEAST32): Likewise.
9740 [C99-based-standards] (PRIiLEAST32): Likewise.
9741 [C99-based-standards] (PRIoLEAST32): Likewise.
9742 [C99-based-standards] (PRIuLEAST32): Likewise.
9743 [C99-based-standards] (PRIxLEAST32): Likewise.
9744 [C99-based-standards] (PRIXLEAST32): Likewise.
9745 [C99-based-standards] (SCNdLEAST32): Likewise.
9746 [C99-based-standards] (SCNiLEAST32): Likewise.
9747 [C99-based-standards] (SCNoLEAST32): Likewise.
9748 [C99-based-standards] (SCNuLEAST32): Likewise.
9749 [C99-based-standards] (SCNxLEAST32): Likewise.
9750 [C99-based-standards] (PRIdFAST32): Likewise.
9751 [C99-based-standards] (PRIiFAST32): Likewise.
9752 [C99-based-standards] (PRIoFAST32): Likewise.
9753 [C99-based-standards] (PRIuFAST32): Likewise.
9754 [C99-based-standards] (PRIxFAST32): Likewise.
9755 [C99-based-standards] (PRIXFAST32): Likewise.
9756 [C99-based-standards] (SCNdFAST32): Likewise.
9757 [C99-based-standards] (SCNiFAST32): Likewise.
9758 [C99-based-standards] (SCNoFAST32): Likewise.
9759 [C99-based-standards] (SCNuFAST32): Likewise.
9760 [C99-based-standards] (SCNxFAST32): Likewise.
9761 [C99-based-standards] (PRId64): Likewise.
9762 [C99-based-standards] (PRIi64): Likewise.
9763 [C99-based-standards] (PRIo64): Likewise.
9764 [C99-based-standards] (PRIu64): Likewise.
9765 [C99-based-standards] (PRIx64): Likewise.
9766 [C99-based-standards] (PRIX64): Likewise.
9767 [C99-based-standards] (SCNd64): Likewise.
9768 [C99-based-standards] (SCNi64): Likewise.
9769 [C99-based-standards] (SCNo64): Likewise.
9770 [C99-based-standards] (SCNu64): Likewise.
9771 [C99-based-standards] (SCNx64): Likewise.
9772 [C99-based-standards] (PRIdLEAST64): Likewise.
9773 [C99-based-standards] (PRIiLEAST64): Likewise.
9774 [C99-based-standards] (PRIoLEAST64): Likewise.
9775 [C99-based-standards] (PRIuLEAST64): Likewise.
9776 [C99-based-standards] (PRIxLEAST64): Likewise.
9777 [C99-based-standards] (PRIXLEAST64): Likewise.
9778 [C99-based-standards] (SCNdLEAST64): Likewise.
9779 [C99-based-standards] (SCNiLEAST64): Likewise.
9780 [C99-based-standards] (SCNoLEAST64): Likewise.
9781 [C99-based-standards] (SCNuLEAST64): Likewise.
9782 [C99-based-standards] (SCNxLEAST64): Likewise.
9783 [C99-based-standards] (PRIdFAST64): Likewise.
9784 [C99-based-standards] (PRIiFAST64): Likewise.
9785 [C99-based-standards] (PRIoFAST64): Likewise.
9786 [C99-based-standards] (PRIuFAST64): Likewise.
9787 [C99-based-standards] (PRIxFAST64): Likewise.
9788 [C99-based-standards] (PRIXFAST64): Likewise.
9789 [C99-based-standards] (SCNdFAST64): Likewise.
9790 [C99-based-standards] (SCNiFAST64): Likewise.
9791 [C99-based-standards] (SCNoFAST64): Likewise.
9792 [C99-based-standards] (SCNuFAST64): Likewise.
9793 [C99-based-standards] (SCNxFAST64): Likewise.
9794 [C99-based-standards] (PRIdMAX): Likewise.
9795 [C99-based-standards] (PRIiMAX): Likewise.
9796 [C99-based-standards] (PRIoMAX): Likewise.
9797 [C99-based-standards] (PRIuMAX): Likewise.
9798 [C99-based-standards] (PRIxMAX): Likewise.
9799 [C99-based-standards] (PRIXMAX): Likewise.
9800 [C99-based-standards] (SCNdMAX): Likewise.
9801 [C99-based-standards] (SCNiMAX): Likewise.
9802 [C99-based-standards] (SCNoMAX): Likewise.
9803 [C99-based-standards] (SCNuMAX): Likewise.
9804 [C99-based-standards] (SCNxMAX): Likewise.
9805 [C99-based-standards] (PRIdPTR): Likewise.
9806 [C99-based-standards] (PRIiPTR): Likewise.
9807 [C99-based-standards] (PRIoPTR): Likewise.
9808 [C99-based-standards] (PRIuPTR): Likewise.
9809 [C99-based-standards] (PRIxPTR): Likewise.
9810 [C99-based-standards] (PRIXPTR): Likewise.
9811 [C99-based-standards] (SCNdPTR): Likewise.
9812 [C99-based-standards] (SCNiPTR): Likewise.
9813 [C99-based-standards] (SCNoPTR): Likewise.
9814 [C99-based-standards] (SCNuPTR): Likewise.
9815 [C99-based-standards] (SCNxPTR): Likewise.
9816 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
9817 allow.
9818 * conform/data/stdint.h-data: Update comments to clarify
9819 requirements.
9820 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
9821 type.
9822 [C99-based standards] (INT8_MAX): Likewise.
9823 [C99-based standards] (INT16_MIN): Likewise.
9824 [C99-based standards] (INT16_MAX): Likewise.
9825 [C99-based standards] (INT32_MIN): Likewise.
9826 [C99-based standards] (INT32_MAX): Likewise.
9827 [C99-based standards] (INT64_MIN): Likewise.
9828 [C99-based standards] (INT64_MAX): Likewise.
9829 [C99-based standards] (UINT8_MAX): Likewise.
9830 [C99-based standards] (UINT16_MAX): Likewise.
9831 [C99-based standards] (UINT32_MAX): Likewise.
9832 [C99-based standards] (UINT64_MAX): Likewise.
9833 [C99-based standards] (INT_LEAST8_MIN): Likewise.
9834 [C99-based standards] (INT_LEAST8_MAX): Likewise.
9835 [C99-based standards] (INT_LEAST16_MIN): Likewise.
9836 [C99-based standards] (INT_LEAST16_MAX): Likewise.
9837 [C99-based standards] (INT_LEAST32_MIN): Likewise.
9838 [C99-based standards] (INT_LEAST32_MAX): Likewise.
9839 [C99-based standards] (INT_LEAST64_MIN): Likewise.
9840 [C99-based standards] (INT_LEAST64_MAX): Likewise.
9841 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
9842 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
9843 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
9844 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
9845 [C99-based standards] (INT_FAST8_MIN): Likewise.
9846 [C99-based standards] (INT_FAST8_MAX): Likewise.
9847 [C99-based standards] (INT_FAST16_MIN): Likewise.
9848 [C99-based standards] (INT_FAST16_MAX): Likewise.
9849 [C99-based standards] (INT_FAST32_MIN): Likewise.
9850 [C99-based standards] (INT_FAST32_MAX): Likewise.
9851 [C99-based standards] (INT_FAST64_MIN): Likewise.
9852 [C99-based standards] (INT_FAST64_MAX): Likewise.
9853 [C99-based standards] (UINT_FAST8_MAX): Likewise.
9854 [C99-based standards] (UINT_FAST16_MAX): Likewise.
9855 [C99-based standards] (UINT_FAST32_MAX): Likewise.
9856 [C99-based standards] (UINT_FAST64_MAX): Likewise.
9857 [C99-based standards] (INTPTR_MIN): Likewise.
9858 [C99-based standards] (INTPTR_MAX): Likewise.
9859 [C99-based standards] (UINTPTR_MAX): Likewise.
9860 [C99-based standards] (INTMAX_MIN): Likewise.
9861 [C99-based standards] (INTMAX_MAX): Likewise.
9862 [C99-based standards] (UINTMAX_MAX): Likewise.
9863 [C99-based standards] (PTRDIFF_MIN): Likewise.
9864 [C99-based standards] (PTRDIFF_MAX): Likewise.
9865 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
9866 [C99-based standards] (SIZE_MAX): Likewise.
9867 [C99-based standards] (WCHAR_MAX): Likewise.
9868 [C99-based standards] (WINT_MAX): Likewise.
9869 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
9870 constraint on value.
9871 [C99-based standards] (WCHAR_MIN): Likewise.
9872 [C99-based standards] (WINT_MIN): Likewise.
9873 [C99-based standards] (*_t): Allow.
9874 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
9875 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
9876 Include math.h-data and complex.h-data. Remove all expectations
9877 of math.h and complex.h contents.
9878 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
9879 at end of line.
9880 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
9881 (struct tm): Expect tag.
9882 [C99-based-standards] (wcstof): Expect function.
9883 [C99-based-standards] (wcstold): Likewise.
9884 [C99-based-standards] (wcstoll): Likewise.
9885 [C99-based-standards] (wcstoull): Likewise.
9886 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
9887 macro-int-constant. Specify type.
9888 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
9889 constraint on value.
9890 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9891 Specify type.
9892 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
9893 Specify value.
9894 [ISO C standards]: Do not allow headers.
9895 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
9896 wcs[abcdefghijklmnopqrstuvwxyz]*.
9897 [ISO C standards] (*_t): Do not allow.
9898 * conform/data/wctype.h-data [C99-based standards] (iswblank):
9899 Expect function.
9900 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
9901 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
9902 Specify type.
9903 [ISO C standards]: Do not allow headers.
9904 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
9905 is[abcdefghijklmnopqrstuvwxyz]*.
9906 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
9907 to[abcdefghijklmnopqrstuvwxyz]*.
9908 [ISO C standards] (*_t): Do not allow.
9909 * conform/data/stdalign.h-data: New file.
9910 * conform/data/stdbool.h-data: Likewise.
9911 * conform/data/stdnoreturn.h-data: Likewise.
9912
7514feb8
RM
99132012-11-07 Roland McGrath <roland@hack.frob.com>
9914
9915 [BZ #14815]
9916 * manual/filesys.texi (Directory Entries): Typo fix.
9917 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
9918
19b2ecfc
MS
99192012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9920
9921 * elf/elf.h (EM_AARCH64): New macro.
9922 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
9923 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
9924 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
9925 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
9926 (R_AARCH64_TLSDESC): Likewise.
9927 (NT_ARM_TLS): Likewise.
9928 (NT_ARM_HW_BREAK): Likewise.
9929 (NT_ARM_HW_WATCH): Likewise.
9930
60e235ee
JM
99312012-11-07 Joseph Myers <joseph@codesourcery.com>
9932
9933 [BZ #14811]
9934 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
9935 (__ieee754_powl): Saturate nonzero exponents with absolute value
9936 below 0x1p-79 to +/- 0x1p-79.
9937 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
9938 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
9939 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
9940 nonzero exponents with absolute value below 0x1p-32 to +/-
9941 0x1p-32.
9942 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
9943 (__ieee754_powl): Saturate nonzero exponents with absolute value
9944 below 0x1p-79 to +/- 0x1p-79.
9945 * math/libm-test.inc (pow_test): Add more tests.
9946
0ab234b7
AK
99472012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9948
9949 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
9950 _dl_s390_cap_flags with kernel. Increase string length.
9951 (_dl_s390_platforms): Add z196 and zEC12.
9952
45832f74
JM
99532012-11-07 Joseph Myers <joseph@codesourcery.com>
9954
9955 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
9956 Change XOPEN21K to XOPEN2K.
9957
19218757
MK
99582012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
9959
9960 * string/memmove.c: Use memcpy when possible.
9961
c5f45721
AJ
99622012-11-06 Andreas Jaeger <aj@suse.de>
9963
9964 * po/eo.po: Update from translation team.
9965
82477c28
JM
99662012-11-06 Joseph Myers <joseph@codesourcery.com>
9967
9968 [BZ #14793]
9969 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
9970 exponent and small x and y exponents, scale x or y up. Increase
9971 by 2 the exponent used in scaling up.
9972 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9973 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9974 * math/libm-test.inc (fma_test): Add more tests.
9975 (fma_test_towardzero): Likewise.
9976 (fma_test_downward): Likewise.
9977 (fma_test_upward): Likewise.
9978
99252c8c
JM
99792012-11-05 Joseph Myers <joseph@codesourcery.com>
9980
acfa885f
JM
9981 [BZ #14805]
9982 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
9983 fenv_t *.
9984
99252c8c
JM
9985 [BZ #14801]
9986 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
9987 namespace for names of struct fields.
9988 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
9989 fenv_t fields.
9990 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
9991 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
9992
d6d98dea
ST
99932012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9994
9995 [BZ #3665]
9996 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
9997
e10bb107
TS
99982012-11-04 Thomas Schwinge <thomas@codesourcery.com>
9999
10000 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10001 PTR_DEMANGLE.
10002
10003 [BZ #5246]
10004 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10005 PTR_DEMANGLE.
10006
a0c2940d
JM
100072012-11-04 Joseph Myers <joseph@codesourcery.com>
10008
10009 [BZ #14797]
10010 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10011 definitely overflow as x * y not x * y + z.
10012 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10013 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10014 * math/libm-test.inc (fma_test): Add more tests.
10015 (fma_test_towardzero): Likewise.
10016 (fma_test_downward): Likewise.
10017 (fma_test_upward): Likewise.
10018
b830319d
TS
100192012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10020
10021 [BZ #157]
10022
10023 * include/stub-tag.h: Remove file.
10024 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10025 '#include' of it.
10026 * manual/maint.texi (Porting): Don't reference it.
10027 * Makerules ($(objpfx)stubs): Likewise.
10028 * dirent/closedir.c: Don't include <stub-tag.h>.
10029 * dirent/dirfd.c: Likewise.
10030 * dirent/fdopendir.c: Likewise.
10031 * dirent/getdents.c: Likewise.
10032 * dirent/getdents64.c: Likewise.
10033 * dirent/opendir.c: Likewise.
10034 * dirent/readdir.c: Likewise.
10035 * dirent/readdir64.c: Likewise.
10036 * dirent/readdir64_r.c: Likewise.
10037 * dirent/readdir_r.c: Likewise.
10038 * dirent/rewinddir.c: Likewise.
10039 * dirent/seekdir.c: Likewise.
10040 * dirent/telldir.c: Likewise.
10041 * gmon/profil.c: Likewise.
10042 * grp/setgroups.c: Likewise.
10043 * inet/if_index.c: Likewise.
10044 * io/access.c: Likewise.
10045 * io/chdir.c: Likewise.
10046 * io/chmod.c: Likewise.
10047 * io/chown.c: Likewise.
10048 * io/close.c: Likewise.
10049 * io/dup.c: Likewise.
10050 * io/dup2.c: Likewise.
10051 * io/dup3.c: Likewise.
10052 * io/euidaccess.c: Likewise.
10053 * io/faccessat.c: Likewise.
10054 * io/fchdir.c: Likewise.
10055 * io/fchmod.c: Likewise.
10056 * io/fchmodat.c: Likewise.
10057 * io/fchown.c: Likewise.
10058 * io/fchownat.c: Likewise.
10059 * io/fcntl.c: Likewise.
10060 * io/flock.c: Likewise.
10061 * io/fstatfs.c: Likewise.
10062 * io/fstatfs64.c: Likewise.
10063 * io/fstatvfs.c: Likewise.
10064 * io/fstatvfs64.c: Likewise.
10065 * io/futimens.c: Likewise.
10066 * io/fxstat.c: Likewise.
10067 * io/fxstat64.c: Likewise.
10068 * io/fxstatat.c: Likewise.
10069 * io/fxstatat64.c: Likewise.
10070 * io/getcwd.c: Likewise.
10071 * io/isatty.c: Likewise.
10072 * io/lchmod.c: Likewise.
10073 * io/lchown.c: Likewise.
10074 * io/link.c: Likewise.
10075 * io/linkat.c: Likewise.
10076 * io/lseek.c: Likewise.
10077 * io/lseek64.c: Likewise.
10078 * io/lxstat64.c: Likewise.
10079 * io/mkdir.c: Likewise.
10080 * io/mkdirat.c: Likewise.
10081 * io/mkfifo.c: Likewise.
10082 * io/mkfifoat.c: Likewise.
10083 * io/open.c: Likewise.
10084 * io/open64.c: Likewise.
10085 * io/openat.c: Likewise.
10086 * io/openat64.c: Likewise.
10087 * io/pipe.c: Likewise.
10088 * io/pipe2.c: Likewise.
10089 * io/poll.c: Likewise.
10090 * io/posix_fadvise.c: Likewise.
10091 * io/posix_fadvise64.c: Likewise.
10092 * io/posix_fallocate.c: Likewise.
10093 * io/posix_fallocate64.c: Likewise.
10094 * io/read.c: Likewise.
10095 * io/readlink.c: Likewise.
10096 * io/readlinkat.c: Likewise.
10097 * io/rmdir.c: Likewise.
10098 * io/sendfile.c: Likewise.
10099 * io/sendfile64.c: Likewise.
10100 * io/statfs.c: Likewise.
10101 * io/statfs64.c: Likewise.
10102 * io/statvfs.c: Likewise.
10103 * io/statvfs64.c: Likewise.
10104 * io/symlink.c: Likewise.
10105 * io/symlinkat.c: Likewise.
10106 * io/ttyname.c: Likewise.
10107 * io/ttyname_r.c: Likewise.
10108 * io/umask.c: Likewise.
10109 * io/unlink.c: Likewise.
10110 * io/unlinkat.c: Likewise.
10111 * io/utime.c: Likewise.
10112 * io/utimensat.c: Likewise.
10113 * io/write.c: Likewise.
10114 * io/xmknod.c: Likewise.
10115 * io/xmknodat.c: Likewise.
10116 * io/xstat.c: Likewise.
10117 * io/xstat64.c: Likewise.
10118 * login/getpt.c: Likewise.
10119 * login/grantpt.c: Likewise.
10120 * login/unlockpt.c: Likewise.
10121 * math/e_acoshl.c: Likewise.
10122 * math/e_acosl.c: Likewise.
10123 * math/e_asinl.c: Likewise.
10124 * math/e_atan2l.c: Likewise.
10125 * math/e_atanhl.c: Likewise.
10126 * math/e_coshl.c: Likewise.
10127 * math/e_expl.c: Likewise.
10128 * math/e_fmodl.c: Likewise.
10129 * math/e_gammal_r.c: Likewise.
10130 * math/e_hypotl.c: Likewise.
10131 * math/e_j0l.c: Likewise.
10132 * math/e_j1l.c: Likewise.
10133 * math/e_jnl.c: Likewise.
10134 * math/e_lgammal_r.c: Likewise.
10135 * math/e_log10l.c: Likewise.
10136 * math/e_log2l.c: Likewise.
10137 * math/e_logl.c: Likewise.
10138 * math/e_powl.c: Likewise.
10139 * math/e_rem_pio2l.c: Likewise.
10140 * math/e_sinhl.c: Likewise.
10141 * math/e_sqrtl.c: Likewise.
10142 * math/fclrexcpt.c: Likewise.
10143 * math/fedisblxcpt.c: Likewise.
10144 * math/feenablxcpt.c: Likewise.
10145 * math/fegetenv.c: Likewise.
10146 * math/fegetexcept.c: Likewise.
10147 * math/fegetround.c: Likewise.
10148 * math/feholdexcpt.c: Likewise.
10149 * math/fesetenv.c: Likewise.
10150 * math/fesetround.c: Likewise.
10151 * math/feupdateenv.c: Likewise.
10152 * math/fgetexcptflg.c: Likewise.
10153 * math/fraiseexcpt.c: Likewise.
10154 * math/fsetexcptflg.c: Likewise.
10155 * math/ftestexcept.c: Likewise.
10156 * math/k_cosl.c: Likewise.
10157 * math/k_rem_pio2l.c: Likewise.
10158 * math/k_sinl.c: Likewise.
10159 * math/k_tanl.c: Likewise.
10160 * math/s_asinhl.c: Likewise.
10161 * math/s_atanl.c: Likewise.
10162 * math/s_cbrtl.c: Likewise.
10163 * math/s_erfl.c: Likewise.
10164 * math/s_expm1l.c: Likewise.
10165 * math/s_log1pl.c: Likewise.
10166 * math/s_tanhl.c: Likewise.
10167 * misc/acct.c: Likewise.
10168 * misc/brk.c: Likewise.
10169 * misc/chflags.c: Likewise.
10170 * misc/chroot.c: Likewise.
10171 * misc/fchflags.c: Likewise.
10172 * misc/fgetxattr.c: Likewise.
10173 * misc/flistxattr.c: Likewise.
10174 * misc/fremovexattr.c: Likewise.
10175 * misc/fsetxattr.c: Likewise.
10176 * misc/fsync.c: Likewise.
10177 * misc/ftruncate.c: Likewise.
10178 * misc/futimes.c: Likewise.
10179 * misc/futimesat.c: Likewise.
10180 * misc/getdomain.c: Likewise.
10181 * misc/getdtsz.c: Likewise.
10182 * misc/gethostid.c: Likewise.
10183 * misc/gethostname.c: Likewise.
10184 * misc/getloadavg.c: Likewise.
10185 * misc/getpagesize.c: Likewise.
10186 * misc/getsysstats.c: Likewise.
10187 * misc/getxattr.c: Likewise.
10188 * misc/gtty.c: Likewise.
10189 * misc/ioctl.c: Likewise.
10190 * misc/lgetxattr.c: Likewise.
10191 * misc/listxattr.c: Likewise.
10192 * misc/llistxattr.c: Likewise.
10193 * misc/lremovexattr.c: Likewise.
10194 * misc/lsetxattr.c: Likewise.
10195 * misc/lutimes.c: Likewise.
10196 * misc/madvise.c: Likewise.
10197 * misc/mincore.c: Likewise.
10198 * misc/mlock.c: Likewise.
10199 * misc/mlockall.c: Likewise.
10200 * misc/mmap.c: Likewise.
10201 * misc/mprotect.c: Likewise.
10202 * misc/msync.c: Likewise.
10203 * misc/munlock.c: Likewise.
10204 * misc/munlockall.c: Likewise.
10205 * misc/munmap.c: Likewise.
10206 * misc/preadv.c: Likewise.
10207 * misc/preadv64.c: Likewise.
10208 * misc/ptrace.c: Likewise.
10209 * misc/pwritev.c: Likewise.
10210 * misc/pwritev64.c: Likewise.
10211 * misc/readv.c: Likewise.
10212 * misc/reboot.c: Likewise.
10213 * misc/remap_file_pages.c: Likewise.
10214 * misc/removexattr.c: Likewise.
10215 * misc/revoke.c: Likewise.
10216 * misc/select.c: Likewise.
10217 * misc/setdomain.c: Likewise.
10218 * misc/setegid.c: Likewise.
10219 * misc/seteuid.c: Likewise.
10220 * misc/sethostid.c: Likewise.
10221 * misc/sethostname.c: Likewise.
10222 * misc/setregid.c: Likewise.
10223 * misc/setreuid.c: Likewise.
10224 * misc/setxattr.c: Likewise.
10225 * misc/sstk.c: Likewise.
10226 * misc/stty.c: Likewise.
10227 * misc/swapoff.c: Likewise.
10228 * misc/swapon.c: Likewise.
10229 * misc/sync.c: Likewise.
10230 * misc/syncfs.c: Likewise.
10231 * misc/syscall.c: Likewise.
10232 * misc/truncate.c: Likewise.
10233 * misc/ualarm.c: Likewise.
10234 * misc/usleep.c: Likewise.
10235 * misc/ustat.c: Likewise.
10236 * misc/utimes.c: Likewise.
10237 * misc/vhangup.c: Likewise.
10238 * misc/writev.c: Likewise.
10239 * posix/_exit.c: Likewise.
10240 * posix/alarm.c: Likewise.
10241 * posix/execve.c: Likewise.
10242 * posix/fexecve.c: Likewise.
10243 * posix/fork.c: Likewise.
10244 * posix/fpathconf.c: Likewise.
10245 * posix/getaddrinfo.c: Likewise.
10246 * posix/getegid.c: Likewise.
10247 * posix/geteuid.c: Likewise.
10248 * posix/getgid.c: Likewise.
10249 * posix/getgroups.c: Likewise.
10250 * posix/getlogin.c: Likewise.
10251 * posix/getlogin_r.c: Likewise.
10252 * posix/getpgid.c: Likewise.
10253 * posix/getpid.c: Likewise.
10254 * posix/getppid.c: Likewise.
10255 * posix/getresgid.c: Likewise.
10256 * posix/getresuid.c: Likewise.
10257 * posix/getsid.c: Likewise.
10258 * posix/getuid.c: Likewise.
10259 * posix/glob64.c: Likewise.
10260 * posix/nanosleep.c: Likewise.
10261 * posix/pathconf.c: Likewise.
10262 * posix/pause.c: Likewise.
10263 * posix/posix_madvise.c: Likewise.
10264 * posix/pread.c: Likewise.
10265 * posix/pread64.c: Likewise.
10266 * posix/pwrite.c: Likewise.
10267 * posix/pwrite64.c: Likewise.
10268 * posix/sched_getaffinity.c: Likewise.
10269 * posix/sched_getp.c: Likewise.
10270 * posix/sched_gets.c: Likewise.
10271 * posix/sched_primax.c: Likewise.
10272 * posix/sched_primin.c: Likewise.
10273 * posix/sched_rr_gi.c: Likewise.
10274 * posix/sched_setaffinity.c: Likewise.
10275 * posix/sched_setp.c: Likewise.
10276 * posix/sched_sets.c: Likewise.
10277 * posix/sched_yield.c: Likewise.
10278 * posix/setgid.c: Likewise.
10279 * posix/setlogin.c: Likewise.
10280 * posix/setpgid.c: Likewise.
10281 * posix/setresgid.c: Likewise.
10282 * posix/setresuid.c: Likewise.
10283 * posix/setsid.c: Likewise.
10284 * posix/setuid.c: Likewise.
10285 * posix/sleep.c: Likewise.
10286 * posix/spawni.c: Likewise.
10287 * posix/sysconf.c: Likewise.
10288 * posix/times.c: Likewise.
10289 * posix/wait.c: Likewise.
10290 * posix/wait3.c: Likewise.
10291 * posix/wait4.c: Likewise.
10292 * posix/waitpid.c: Likewise.
10293 * resolv/gai_sigqueue.c: Likewise.
10294 * resource/getpriority.c: Likewise.
10295 * resource/getrlimit.c: Likewise.
10296 * resource/getrusage.c: Likewise.
10297 * resource/nice.c: Likewise.
10298 * resource/setpriority.c: Likewise.
10299 * resource/setrlimit.c: Likewise.
10300 * resource/ulimit.c: Likewise.
10301 * rt/aio_cancel.c: Likewise.
10302 * rt/aio_fsync.c: Likewise.
10303 * rt/aio_read.c: Likewise.
10304 * rt/aio_sigqueue.c: Likewise.
10305 * rt/aio_suspend.c: Likewise.
10306 * rt/aio_write.c: Likewise.
10307 * rt/clock_getres.c: Likewise.
10308 * rt/clock_gettime.c: Likewise.
10309 * rt/clock_nanosleep.c: Likewise.
10310 * rt/clock_settime.c: Likewise.
10311 * rt/lio_listio.c: Likewise.
10312 * rt/mq_close.c: Likewise.
10313 * rt/mq_getattr.c: Likewise.
10314 * rt/mq_notify.c: Likewise.
10315 * rt/mq_open.c: Likewise.
10316 * rt/mq_receive.c: Likewise.
10317 * rt/mq_send.c: Likewise.
10318 * rt/mq_setattr.c: Likewise.
10319 * rt/mq_timedreceive.c: Likewise.
10320 * rt/mq_timedsend.c: Likewise.
10321 * rt/mq_unlink.c: Likewise.
10322 * rt/shm_open.c: Likewise.
10323 * rt/shm_unlink.c: Likewise.
10324 * rt/timer_create.c: Likewise.
10325 * rt/timer_delete.c: Likewise.
10326 * rt/timer_getoverr.c: Likewise.
10327 * rt/timer_gettime.c: Likewise.
10328 * rt/timer_settime.c: Likewise.
10329 * setjmp/__longjmp.c: Likewise.
10330 * setjmp/setjmp.c: Likewise.
10331 * signal/kill.c: Likewise.
10332 * signal/killpg.c: Likewise.
10333 * signal/raise.c: Likewise.
10334 * signal/sigaction.c: Likewise.
10335 * signal/sigaltstack.c: Likewise.
10336 * signal/sigblock.c: Likewise.
10337 * signal/sigignore.c: Likewise.
10338 * signal/sigintr.c: Likewise.
10339 * signal/signal.c: Likewise.
10340 * signal/sigpause.c: Likewise.
10341 * signal/sigpending.c: Likewise.
10342 * signal/sigqueue.c: Likewise.
10343 * signal/sigreturn.c: Likewise.
10344 * signal/sigset.c: Likewise.
10345 * signal/sigsetmask.c: Likewise.
10346 * signal/sigstack.c: Likewise.
10347 * signal/sigsuspend.c: Likewise.
10348 * signal/sigtimedwait.c: Likewise.
10349 * signal/sigvec.c: Likewise.
10350 * signal/sigwait.c: Likewise.
10351 * signal/sigwaitinfo.c: Likewise.
10352 * signal/sysv_signal.c: Likewise.
10353 * socket/accept.c: Likewise.
10354 * socket/accept4.c: Likewise.
10355 * socket/bind.c: Likewise.
10356 * socket/connect.c: Likewise.
10357 * socket/getpeername.c: Likewise.
10358 * socket/getsockname.c: Likewise.
10359 * socket/getsockopt.c: Likewise.
10360 * socket/isfdtype.c: Likewise.
10361 * socket/listen.c: Likewise.
10362 * socket/recv.c: Likewise.
10363 * socket/recvfrom.c: Likewise.
10364 * socket/recvmsg.c: Likewise.
10365 * socket/send.c: Likewise.
10366 * socket/sendmsg.c: Likewise.
10367 * socket/sendto.c: Likewise.
10368 * socket/setsockopt.c: Likewise.
10369 * socket/shutdown.c: Likewise.
10370 * socket/sockatmark.c: Likewise.
10371 * socket/socket.c: Likewise.
10372 * socket/socketpair.c: Likewise.
10373 * stdio-common/ctermid.c: Likewise.
10374 * stdio-common/cuserid.c: Likewise.
10375 * stdio-common/remove.c: Likewise.
10376 * stdio-common/rename.c: Likewise.
10377 * stdio-common/renameat.c: Likewise.
10378 * stdio-common/tempname.c: Likewise.
10379 * stdlib/getcontext.c: Likewise.
10380 * stdlib/makecontext.c: Likewise.
10381 * stdlib/setcontext.c: Likewise.
10382 * stdlib/swapcontext.c: Likewise.
10383 * stdlib/system.c: Likewise.
10384 * streams/fattach.c: Likewise.
10385 * streams/fdetach.c: Likewise.
10386 * streams/getmsg.c: Likewise.
10387 * streams/getpmsg.c: Likewise.
10388 * streams/putmsg.c: Likewise.
10389 * streams/putpmsg.c: Likewise.
10390 * sysdeps/unix/bsd/getpt.c: Likewise.
10391 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10392 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10393 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10395 Likewise.
10396 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10397 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10398 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10399 * sysvipc/msgctl.c: Likewise.
10400 * sysvipc/msgget.c: Likewise.
10401 * sysvipc/msgrcv.c: Likewise.
10402 * sysvipc/msgsnd.c: Likewise.
10403 * sysvipc/semctl.c: Likewise.
10404 * sysvipc/semget.c: Likewise.
10405 * sysvipc/semop.c: Likewise.
10406 * sysvipc/semtimedop.c: Likewise.
10407 * sysvipc/shmat.c: Likewise.
10408 * sysvipc/shmctl.c: Likewise.
10409 * sysvipc/shmdt.c: Likewise.
10410 * sysvipc/shmget.c: Likewise.
10411 * termios/tcdrain.c: Likewise.
10412 * termios/tcflow.c: Likewise.
10413 * termios/tcflush.c: Likewise.
10414 * termios/tcgetattr.c: Likewise.
10415 * termios/tcgetpgrp.c: Likewise.
10416 * termios/tcsendbrk.c: Likewise.
10417 * termios/tcsetattr.c: Likewise.
10418 * termios/tcsetpgrp.c: Likewise.
10419 * time/adjtime.c: Likewise.
10420 * time/clock.c: Likewise.
10421 * time/getitimer.c: Likewise.
10422 * time/gettimeofday.c: Likewise.
10423 * time/setitimer.c: Likewise.
10424 * time/settimeofday.c: Likewise.
10425 * time/stime.c: Likewise.
10426 * time/time.c: Likewise.
10427
104282012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10429
a20492cf
PT
10430 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10431 /usr/old/bin.
10432
72e182e3
PT
10433 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10434 instead of spaces.
10435 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10436
fbeafede
JM
104372012-11-03 Joseph Myers <joseph@codesourcery.com>
10438
5b5b04d6
JM
10439 [BZ #14796]
10440 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10441 FE_TONEAREST before applying Dekker multiplication and Knuth
10442 addition. Clear inexact exceptions and check for exact zero
10443 results afterwards.
10444 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10445 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10446 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10447 * math/libm-test.inc (fma_test): Add more tests.
10448 (fma_test_towardzero): Likewise.
10449 (fma_test_downward): Likewise.
10450 (fma_test_upward): Likewise.
10451 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10452 function.
10453 (libc_fesetround): New macro.
10454 (libc_fesetroundf): Likewise.
10455 (libc_fesetroundl): Likewise.
10456 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10457 function.
10458 (libc_fesetround_387): Likewise.
10459 (libc_fesetroundf): New macro.
10460 (libc_fesetround): Likewise.
10461 (libc_fesetroundl): Likewise.
10462 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10463 function.
10464 (libc_fesetroundf): New macro.
10465 (libc_fesetround): Likewise.
10466 (libc_fesetroundl): Likewise.
10467 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10468 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10469 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10470 libm_hidden_ver.
10471 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10472 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10473 libm_hidden_def.
10474 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10475 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10476 libm_hidden_ver.
10477 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10478 libm_hidden_def.
10479
fbeafede
JM
10480 [BZ #3439]
10481 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10482 integer constant usable in #if and use that to give value to enum
10483 constant.
10484 (FE_DIVBYZERO): Likewise.
10485 (FE_UNDERFLOW): Likewise.
10486 (FE_OVERFLOW): Likewise.
10487 (FE_INVALID): Likewise.
10488 (FE_INVALID_SNAN): Likewise.
10489 (FE_INVALID_ISI): Likewise.
10490 (FE_INVALID_IDI): Likewise.
10491 (FE_INVALID_ZDZ): Likewise.
10492 (FE_INVALID_IMZ): Likewise.
10493 (FE_INVALID_COMPARE): Likewise.
10494 (FE_INVALID_SOFTWARE): Likewise.
10495 (FE_INVALID_SQRT): Likewise.
10496 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10497 (FE_TONEAREST): Likewise.
10498 (FE_TOWARDZERO): Likewise.
10499 (FE_UPWARD): Likewise.
10500 (FE_DOWNWARD): Likewise.
10501 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10502 (FE_DIVBYZERO): Likewise.
10503 (FE_OVERFLOW): Likewise.
10504 (FE_UNDERFLOW): Likewise.
10505 (FE_INEXACT): Likewise.
10506 (FE_TONEAREST): Likewise.
10507 (FE_DOWNWARD): Likewise.
10508 (FE_UPWARD): Likewise.
10509 (FE_TOWARDZERO): Likewise.
10510 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10511 (FE_UNDERFLOW): Likewise.
10512 (FE_OVERFLOW): Likewise.
10513 (FE_DIVBYZERO): Likewise.
10514 (FE_INVALID): Likewise.
10515 (FE_TONEAREST): Likewise.
10516 (FE_TOWARDZERO): Likewise.
10517 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10518 (FE_OVERFLOW): Likewise.
10519 (FE_UNDERFLOW): Likewise.
10520 (FE_DIVBYZERO): Likewise.
10521 (FE_INEXACT): Likewise.
10522 (FE_TONEAREST): Likewise.
10523 (FE_TOWARDZERO): Likewise.
10524 (FE_UPWARD): Likewise.
10525 (FE_DOWNWARD): Likewise.
10526 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10527 (FE_DIVBYZERO): Likewise.
10528 (FE_OVERFLOW): Likewise.
10529 (FE_UNDERFLOW): Likewise.
10530 (FE_INEXACT): Likewise.
10531 (FE_TONEAREST): Likewise.
10532 (FE_DOWNWARD): Likewise.
10533 (FE_UPWARD): Likewise.
10534 (FE_TOWARDZERO): Likewise.
10535
105ca950
CM
105362012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10537
10538 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10539
a542b389
AS
105402012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10541
10542 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10543 commands. Quote $PWD.
10544 (blacklist_exports): Don't use remove_newlines. Replace "declare
10545 -x" by "export".
10546 (remove_newlines): Remove.
10547
f62c8abc
L
105482012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10549
10550 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10551 * stdlib/stdlib.h (atof): Moved to ...
10552 * include/bits/stdlib-float.h: Here. New file.
10553 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10554 * stdlib/bits/stdlib-float.h: New file.
10555 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10556 -mno-sse -mno-mmx.
10557 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10558 <xmmintrin.h>.
10559
0155d5b2
JM
105602012-11-02 Joseph Myers <joseph@codesourcery.com>
10561
a68d0680
JM
10562 * conform/conformtest.pl (@headers): Add fenv.h.
10563 * conform/data/fenv.h-data: New file.
10564 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10565 include of <math/fenv.h>.
10566
caf7f573
JM
10567 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10568 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10569 && !UNIX98]. Enables tests for XOPEN2K8.
10570 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10571 POSIX2008]: Likewise.
10572
6c073ad6
JM
10573 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10574 (struct rusage): Do not expect type or its members.
10575
0155d5b2
JM
10576 [BZ #3439]
10577 * math/math.h (FP_NAN): Define macro to integer constant usable in
10578 #if and use that to give value to enum constant.
10579 (FP_INFINITE): Likewise.
10580 (FP_ZERO): Likewise.
10581 (FP_SUBNORMAL): Likewise.
10582 (FP_NORMAL): Likewise.
10583
b5dcacb4
AS
105842012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10585
10586 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10587 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10588 arguments.
10589
f7934be8
RM
105902012-11-02 Roland McGrath <roland@hack.frob.com>
10591
10592 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10593 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10594 autoconf-time if not.
10595 * configure.in: Remove AC_PREREQ.
10596
d7d08bde
TMQMF
105972012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10598
10599 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10600 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10601 of the internal implementation.
10602
dcdae19a
JM
106032012-11-02 Joseph Myers <joseph@codesourcery.com>
10604
10605 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10606 except include of <misc/sys/syslog.h>.
10607
d6cffd3e
AS
106082012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10609
10610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10611 function returns with a NULL context exit with zero.
10612
b3563932
TMQMF
106132012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10614
10615 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10616
b288a93d
L
106172012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10618
10619 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10620 (run_program_cmd): This.
10621 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10622 (tst_langinfo): New variable. Use it.
10623
a2421a68
SAS
106242012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10625
10626 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10627 floating point opcodes.
10628
6f796e1b
TS
106292012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10630
7402596b
TS
10631 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
10632 variable.
10633
d0d4f868
TS
10634 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
10635
6f796e1b
TS
10636 * sysdeps/mach/hurd/powerpc: Remove directory.
10637 * sysdeps/mach/powerpc: Likewise.
10638
4da224a2
AS
106392012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10640
10641 * scripts/check-local-headers.sh: Ignore c++ headers.
10642
341dd673
TS
106432012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10644
10645 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
10646 __libc_cleanup_region_start argument.
10647
473611b2
JM
106482012-11-01 Joseph Myers <joseph@codesourcery.com>
10649
10650 [BZ #14784]
10651 [BZ #14785]
10652 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
10653 x * y using scaling, not as x * y + z.
10654 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10655 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10656 * math/libm-test.inc (fma_test): Add more tests.
10657 (fma_test_towardzero): Likewise.
10658 (fma_test_downward): Likewise.
10659 (fma_test_upward): Likewise.
10660
4078da3d
TS
106612012-11-01 Thomas Schwinge <thomas@codesourcery.com>
10662
10663 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
10664
903252aa
JM
106652012-10-31 Joseph Myers <joseph@codesourcery.com>
10666
10667 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
10668 New variable.
10669
cbc818d0
TS
106702012-10-31 Thomas Schwinge <thomas@codesourcery.com>
10671
10672 * rt/tst-shm.c (worker): Correct checking for mmap failure.
10673
5a03cb1e
AS
106742012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10675
10676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10677 Fix sort order.
10678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10679 Likewise.
10680
90aff2ff
TMQMF
106812012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10682
10683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10684 Fix the order of the list for glibc 2.17.
10685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10686 Likewise.
10687
1818fcb7
AS
106882012-10-31 Andreas Schwab <schwab@linux-m68k.org>
10689
10690 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10691
ef82f4da
JM
106922012-10-31 Joseph Myers <joseph@codesourcery.com>
10693
16a0e2ec
JM
10694 [BZ #14610]
10695 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
10696 for low part of x being zero before using __atanl (y).
10697 * math/libm-test.inc (atan2_test): Add another test.
10698
0eb69512
JM
10699 * manual/install.texi (Configuring and compiling): Document
10700 general use of test-wrapper and test-wrapper-env.
10701 * INSTALL: Regenerated.
10702
ef82f4da
JM
10703 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
10704 (__fma): Do not extract and scale down low bits on after-rounding
10705 systems when result rounded to normal precision would have normal
10706 exponent.
10707 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
10708 (__fmal): Do not extract and scale down low bits on after-rounding
10709 systems when result rounded to normal precision would have normal
10710 exponent.
10711 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
10712 (__fmal): Do not extract and scale down low bits on after-rounding
10713 systems when result rounded to normal precision would have normal
10714 exponent.
10715 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
10716 macro.
10717 (fma_test): Add more tests.
10718 (fma_test_towardzero): Likewise.
10719 (fma_test_downward): Likewise.
10720 (fma_test_upward): Likewise.
10721
954ef0d9
L
107222012-10-30 H.J. Lu <hongjiu.lu@intel.com>
10723
10724 * sysdeps/i386/tininess.h: Renamed to ...
10725 * sysdeps/x86/tininess.h: This.
10726 * sysdeps/x86_64/tininess.h: Removed.
10727
df61ffb2
JM
107282012-10-30 Joseph Myers <joseph@codesourcery.com>
10729
10730 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
10731 input. Use $(build-program-cmd).
10732 ($(objpfx)tst-array1-static.out): Likewise.
10733 ($(objpfx)tst-array2.out): Likewise.
10734 ($(objpfx)tst-array3.out): Likewise.
10735 ($(objpfx)tst-array4.out): Likewise.
10736 ($(objpfx)tst-array5.out): Likewise.
10737 ($(objpfx)tst-array5-static.out): Likewise.
10738
01767843
CM
107392012-10-30 Chris Metcalf <cmetcalf@tilera.com>
10740
47cc1490
CM
10741 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
10742 if defined.
10743
01767843
CM
10744 * nss/nsswitch.h (nss_interface_function): Provide new
10745 macro for use with NSS functions.
10746 * grp/initgroups.c: Use new macro.
10747 * nss/getXXbyYY.c: Likewise.
10748 * nss/getXXbyYY_r.c: Likewise.
10749 * nss/getXXent.c: Likewise.
10750 * nss/getXXent_r.c: Likewise.
10751 * sysdeps/posix/getaddrinfo.c: Likewise.
10752
8321aa97
AJ
107532012-10-30 Andreas Jaeger <aj@suse.de>
10754
10755 * po/ru.po: Update Russion translation from translation project.
10756
2a27fd6d
JM
107572012-10-30 Joseph Myers <joseph@codesourcery.com>
10758
8627a232
JM
10759 [BZ #14152]
10760 [BZ #14783]
10761 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
10762 result and shift together with sticky bit instead of replicating
10763 round-to-nearest rounding.
10764 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10765 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10766 * math/libm-test.inc (fma_test): Add more tests. Do not permit
10767 missing underflow exceptions.
10768 (fma_test_towardzero): Add more tests.
10769 (fma_test_downward): Likewise.
10770 (fma_test_upward): Likewise.
10771
2a27fd6d
JM
10772 [BZ #14047]
10773 * sysdeps/generic/tininess.h: New file.
10774 * sysdeps/i386/tininess.h: Likewise.
10775 * sysdeps/sh/tininess.h: Likewise.
10776 * sysdeps/x86_64/tininess.h: Likewise.
10777 * stdlib/tst-strtod-underflow.c: Likewise.
10778 * stdlib/tst-tininess.c: Likewise.
10779 * stdlib/strtod_l.c: Include <tininess.h>.
10780 (round_and_return): Do not set errno for exact underflow cases.
10781 Force an underflow exception when setting errno for underflow.
10782 Determine underflow based on rounding to normal precision if
10783 TININESS_AFTER_ROUNDING.
10784 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
10785 ERANGE for exact underflow cases.
10786 * stdlib/Makefile (tests): Add tst-tininess and
10787 tst-strtod-underflow.
10788 ($(objpfx)tst-tininess): Use $(link-libm).
10789 ($(objpfx)tst-strtod-underflow): Likewise.
10790
e7170363
AJ
107912012-10-30 Andreas Jaeger <aj@suse.de>
10792
e5088dc6
AJ
10793 [BZ#14767]
10794 * elf/Makefile (tests): Remove conditional for have-initfini-array
10795 since this is now always required and the variable does not exist
10796 anymore.
10797 (tests-static): Likewise.
10798 (modules-names): Likewise.
10799
e7170363 10800 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
10801
10802 * elf/tst-array1.c (fini_array): Make writeable so that it can be
10803 merged with constructor/destructor.
10804 (init_array): Likewise.
10805 * elf/tst-array2dep.c (fini_array): Likewise.
10806 (init_array): Likewise.
10807
60457d8a
MF
108082012-10-29 Mike Frysinger <vapier@gentoo.org>
10809
10810 * manual/message.texi: Delete @cartouche tags.
10811
8bece752
PT
108122012-10-29 Pino Toscano <toscano.pino@tiscali.it>
10813
94ce799f
PT
10814 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
10815 EOPNOTSUPP.
10816 * sysdeps/mach/hurd/fsync.c: Likewise.
10817
8bece752
PT
10818 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
10819 [_POSIX_REALTIME_SIGNALS]: Change condition to
10820 [_POSIX_REALTIME_SIGNALS > 0].
10821
86ebe6b1
AJ
108222012-10-27 Andreas Jaeger <aj@suse.de>
10823
10824 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
10825 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
10826 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
10827 [__WORDSIZE != 64]: Likewise.
10828
54399c08
L
108292012-10-26 H.J. Lu <hongjiu.lu@intel.com>
10830
10831 * iconvdata/tst-table.sh: Remove ${SHELL}.
10832 * iconvdata/tst-tables.sh: Likewise.
10833
e2211bed
DM
108342012-10-25 David S. Miller <davem@davemloft.net>
10835
10836 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10837 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
10838 of strtoull.
10839
f303f97c
DM
10840 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
10841 ifunc-impl-list.c
10842 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10843 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
10844 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
10845 file.
10846
1e9d84cd
RM
108472012-10-25 Roland McGrath <roland@hack.frob.com>
10848
10849 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10850 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
10851 __getdirentries.
10852
df381762
JM
108532012-10-25 Joseph Myers <joseph@codesourcery.com>
10854 Jim Blandy <jimb@codesourcery.com>
10855
10856 * scripts/cross-test-ssh.sh: New file.
10857 * manual/install.texi (Configuring and compiling): Document use of
10858 cross-test-ssh.sh.
10859 * INSTALL: Regenerated.
10860
bff64913
PT
108612012-10-25 Pino Toscano <toscano.pino@tiscali.it>
10862
10863 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
10864 EOPNOTSUPP.
10865
25fe8932
JM
108662012-10-25 Joseph Myers <joseph@codesourcery.com>
10867
10868 * Makeconfig (run-program-prefix): Fix comment.
10869
cc1290d0
JM
108702012-10-24 Joseph Myers <joseph@codesourcery.com>
10871 Jim Blandy <jimb@codesourcery.com>
10872
10873 * Makeconfig (test-wrapper): New variable,
10874 (test-wrapper-env): Likewise.
10875 [$(cross-compiling) = yes && $(test-wrapper) != ""]
10876 (run-built-tests): Define to yes.
10877 (run-program-prefix): Use $(test-wrapper).
10878 (built-program-cmd): Likewise.
10879 * Rules (make-test-out): Use $(test-wrapper-env) and
10880 $(host-built-program-cmd).
10881 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
10882 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
10883 tst-pathopt.sh.
10884 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
10885 $(test-wrapper-env) to tst-rtld-load-self.sh.
10886 ($(objpfx)order2.out): Use $(test-wrapper).
10887 ($(objpfx)tst-initorder.out): Likewise.
10888 ($(objpfx)tst-initorder2.out): Likewise.
10889 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
10890 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
10891 (test_wrapper_env): New variable. Use it to run ld.so.
10892 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
10893 Use it to run ld.so.
10894 (test_wrapper_env): Likewise.
10895 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
10896 $(test-wrapper) to run-iconv-test.sh.
10897 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
10898 (ICONV): Use $test_wrapper.
10899 * posix/Makefile ($(objpfx)globtest.out): Pass
10900 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
10901 globtest.sh, not $(run-program-prefix).
10902 * posix/globtest.sh (run_via_rtld_prefix): New variable.
10903 (test_wrapper): Likewise.
10904 (test_wrapper_env): Likewise. Use it to run globtest with HOME
10905 set together with run_via_rtld_prefix.
10906 (run_program_prefix): Define in terms of test_wrapper and
10907 run_via_rtld_prefix.
10908
6e6249d0
RM
109092012-10-24 Roland McGrath <roland@hack.frob.com>
10910
10911 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
10912 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
10913 Targets removed.
10914
10915 [BZ #14743]
10916 * include/time.h: Remove librt_hidden_proto (clock_gettime).
10917 Declare __clock_getres, __clock_gettime, __clock_settime,
10918 __clock_nanosleep, and __clock_getcpuclockid.
10919 * rt/clock_gettime.c: Define __clock_gettime as an alias.
10920 Remove librt_hidden_def (clock_gettime).
10921 * sysdeps/unix/clock_gettime.c: Likewise.
10922 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
10923 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10924 * rt/clock_getres.c: Define __clock_getres as an alias.
10925 * sysdeps/posix/clock_getres.c: Likewise.
10926 * rt/clock_settime.c: Define __clock_settime as an alias.
10927 * sysdeps/unix/clock_settime.c: Likewise.
10928 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
10929 * sysdeps/unix/clock_nanosleep.c: Likewise.
10930 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10931 * rt/clock-compat.c: New file.
10932 * rt/Makefile (librt-routines): Add clock-compat and move
10933 $(clock-routines) to ...
10934 (routines): ... here, new variable.
10935 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
10936 Don't add get_clockfreq here.
10937 * rt/Versions (libc: GLIBC_2.17): New version set.
10938 Add clock_* symbols here.
10939 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
10940 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
10941 (GLIBC_2.17): Add clock_* symbols.
10942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
10943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
10944 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10946 Likewise.
10947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10948 Likewise.
10949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
10951 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
10952 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
10953 * NEWS: Mention the move.
10954
10955 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
10956 Use __open, __read, __close rather than their public counterparts.
10957 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
10958 (__get_clockfreq_via_cpuinfo): Likewise.
10959 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
10960 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
10961
10962 * config.h.in (HAVE_IFUNC): New #undef.
10963 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
10964 was successful.
10965 * configure: Regenerated.
10966
0cae3f4b
MF
109672012-10-24 Mike Frysinger <vapier@gentoo.org>
10968
10969 * configure.in: Move READELF check to start of file.
10970 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
10971 libc_cv_asm_gnu_indirect_function in the process.
10972 * configure: Regenerated.
10973
8175a253
MF
109742012-10-24 Mike Frysinger <vapier@gentoo.org>
10975
10976 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
10977 send the output to /dev/null.
10978 (libc_cv_cc_with_libunwind): Likewise.
10979 (libc_cv_as_noexecstack): Likewise.
10980 * configure: Regenerate.
10981
0708a7d1
JM
109822012-10-24 Joseph Myers <joseph@codesourcery.com>
10983
10b40d85
JM
10984 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
10985
0708a7d1
JM
10986 * posix/globtest.sh (TMPDIR): Do not set.
10987 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
10988 (testout): Likewise.
10989
9fddec1a
AJ
109902012-10-24 Andreas Jaeger <aj@suse.de>
10991
3a8db22f
AJ
10992 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
10993 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
10994 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
10995 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
10996 posix_fadvise64, posix_fallocate64.
10997
9fddec1a
AJ
10998 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
10999 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11000 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11001 Likewise.
11002 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11003 Likewise.
11004 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11005
11006 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11007 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11008 <bits/fcntl-linux.h>.
11009 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11010
11011 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11012 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11013 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11014 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11015 [__WORDSIZE != 64]: Likewise.
11016
ebfd1bbd
JM
110172012-10-23 Joseph Myers <joseph@codesourcery.com>
11018
03ac099f
JM
11019 * Makeconfig (run-built-tests): New variable.
11020 * Rules [$(cross-compiling) = yes]: Change condition to
11021 [$(run-built-tests) = no].
11022 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11023 to [$(run-built-tests) = yes].
11024 * elf/Makefile [$(cross-compiling) = no]: Likewise
11025 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11026 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11027 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11028 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11029 * io/Makefile [$(cross-compiling) = no]: Likewise.
11030 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11031 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11032 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11033 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11034 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11035 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11036 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11037 * string/Makefile [$(cross-compiling) = no]: Likewise.
11038
ebfd1bbd
JM
11039 * posix/Makefile ($(objpfx)globtest.out): Pass
11040 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11041 $(rtld-installed-name).
11042 * posix/globtest.sh (elf_objpfx): Remove variable.
11043 (rtld_installed_name): Likewise.
11044 (library_path): Likewise.
11045 (run_program_prefix): New variable. Use for running globtest
11046 binary.
11047
166bca24
JB
110482012-10-23 Jim Blandy <jimb@codesourcery.com>
11049 Joseph Myers <joseph@codesourcery.com>
11050
11051 * Makeconfig (host-built-program-cmd): New variable.
11052 * elf/Makefile (tst-stackguard1-ARGS): Use
11053 $(host-built-program-cmd).
11054 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11055 (tst-spawn-ARGS): Likewise.
11056 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11057
88866099
JM
110582012-10-23 Joseph Myers <joseph@codesourcery.com>
11059 Jim Blandy <jimb@codesourcery.com>
11060
11061 * Makeconfig (run-via-rtld-prefix): New variable.
11062 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11063 (built-program-cmd): Likewise.
11064
b4b4c296
AJ
110652012-10-22 Andreas Jaeger <aj@suse.de>
11066
11067 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11068 __O_RSYNC if it exists, otherwise to O_SYNC.
11069
6fb54a22
JB
110702012-10-22 Jim Blandy <jimb@codesourcery.com>
11071 Joseph Myers <joseph@codesourcery.com>
11072
11073 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11074 /dev/null.
11075 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11076 from /dev/null
11077 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11078 /dev/null.
11079
481b90b9
AJ
110802012-10-22 Andreas Jaeger <aj@suse.de>
11081
2a0e2669
AJ
11082 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11083 Define always.
11084 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11085
76e38f9a
AJ
11086 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11087 bits/fcntl-linux.h.
11088
7cd37b43
AJ
11089 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11090 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11091
481b90b9
AJ
11092 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11093 to __O_LARGEFILE.
11094 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11095 to __O_LARGEFILE.
11096
aba75984
JB
110972012-10-21 Jim Blandy <jimb@codesourcery.com>
11098 Joseph Myers <joseph@codesourcery.com>
11099
11100 * config.make.in (NM): New variable.
11101
88d4247f
AJ
111022012-10-21 Andreas Jaeger <aj@suse.de>
11103
11104 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11105 definitions and declarations that are provided by
11106 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11107
f2eed205
L
111082012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11109
11110 [BZ #14683]
11111 * elf/Makefile (tests-static): Add tst-leaks1-static.
11112 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11113 ($(objpfx)tst-leaks1-static): New rule.
11114 ($(objpfx)tst-leaks1-static-mem): Likewise.
11115 (tst-leaks1-static-ENV): New macro.
11116 * elf/dl-open.c (dl_open_worker): Check the main application
11117 only if SHARED is defined.
11118 * elf/tst-leaks1-static.c: New file.
11119
335e6931
AJ
111202012-10-20 Andreas Jaeger <aj@suse.de>
11121
11122 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11123 generic values for Linux.
11124 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11125 and declarations that are provided by <bits/fcntl-linux.h> and
11126 include <bits/fcntl-linux.h>.
11127 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11128 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11129
ac5c94d3
RM
111302012-10-20 Roland McGrath <roland@hack.frob.com>
11131
11132 * io/fcntl.h: Move include of <bits/types.h> to the top and
11133 include it unconditionally.
11134
de54b33a
L
111352012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11136
228cfb01
L
11137 * wcsmbs/Makefile (tests-ifunc): New variable.
11138 (tests): Add $(tests-ifunc).
11139 * wcsmbs/test-wcschr-ifunc.c: New file.
11140 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11141 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11142 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11143 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11144 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11145
69f07e5f
L
11146 * string/Makefile (tests-ifunc): New variable.
11147 (tests): Add $(tests-ifunc).
11148 * string/test-memccpy.c (TEST_NAME): New macro.
11149 * string/test-memchr.c (TEST_NAME): Likewise.
11150 * string/test-memcmp.c (TEST_NAME): Likewise.
11151 * string/test-memcpy.c (TEST_NAME): Likewise.
11152 * string/test-memmem.c (TEST_NAME): Likewise.
11153 * string/test-memmove.c (TEST_NAME): Likewise.
11154 * string/test-memset.c (TEST_NAME): Likewise.
11155 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11156 * string/test-stpcpy.c (TEST_NAME): Likewise.
11157 * string/test-stpncpy.c (TEST_NAME): Likewise.
11158 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11159 * string/test-strcasestr.c (TEST_NAME): Likewise.
11160 * string/test-strcat.c (TEST_NAME): Likewise.
11161 * string/test-strchr.c (TEST_NAME): Likewise.
11162 * string/test-strcmp.c(TEST_NAME): Likewise.
11163 * string/test-strcpy.c (TEST_NAME): Likewise.
11164 * string/test-strcspn.c (TEST_NAME): Likewise.
11165 * string/test-strlen.c (TEST_NAME): Likewise.
11166 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11167 * string/test-strncmp.c (TEST_NAME): Likewise.
11168 * string/test-strncpy.c (TEST_NAME): Likewise.
11169 * string/test-strnlen.c (TEST_NAME): Likewise.
11170 * string/test-strpbrk.c (TEST_NAME): Likewise.
11171 * string/test-strrchr.c (TEST_NAME): Likewise.
11172 * string/test-strspn.c (TEST_NAME): Likewise.
11173 * string/test-strstr.c (TEST_NAME): Likewise.
11174 * string/test-bcopy-ifunc.c: New file.
11175 * string/test-bzero-ifunc.c: Likewise.
11176 * string/test-memccpy-ifunc.c: Likewise.
11177 * string/test-memchr-ifunc.c: Likewise.
11178 * string/test-memcmp-ifunc.c: Likewise.
11179 * string/test-memcpy-ifunc.c: Likewise.
11180 * string/test-memmem-ifunc.c: Likewise.
11181 * string/test-memmove-ifunc.c: Likewise.
11182 * string/test-mempcpy-ifunc.c: Likewise.
11183 * string/test-memset-ifunc.c: Likewise.
11184 * string/test-rawmemchr-ifunc.c: Likewise.
11185 * string/test-stpcpy-ifunc.c: Likewise.
11186 * string/test-stpncpy-ifunc.c: Likewise.
11187 * string/test-strcasecmp-ifunc.c: Likewise.
11188 * string/test-strcasestr-ifunc.c: Likewise.
11189 * string/test-strcat-ifunc.c: Likewise.
11190 * string/test-strchr-ifunc.c: Likewise.
11191 * string/test-strchrnul-ifunc.c: Likewise.
11192 * string/test-strcmp-ifunc.c: Likewise.
11193 * string/test-strcpy-ifunc.c: Likewise.
11194 * string/test-strcspn-ifunc.c: Likewise.
11195 * string/test-strlen-ifunc.c: Likewise.
11196 * string/test-strncasecmp-ifunc.c: Likewise.
11197 * string/test-strncat-ifunc.c: Likewise.
11198 * string/test-strncmp-ifunc.c: Likewise.
11199 * string/test-strncpy-ifunc.c: Likewise.
11200 * string/test-strnlen-ifunc.c: Likewise.
11201 * string/test-strpbrk-ifunc.c: Likewise.
11202 * string/test-strrchr-ifunc.c: Likewise.
11203 * string/test-strspn-ifunc.c: Likewise.
11204 * string/test-strstr-ifunc.c: Likewise.
11205
de54b33a
L
11206 * debug/Makefile (tests-ifunc): New variable.
11207 (tests): Add $(tests-ifunc).
11208 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11209 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11210 * debug/test-stpcpy_chk-ifunc.c: New file.
11211 * debug/test-strcpy_chk-ifunc.c: Likewise.
11212
88481c16
SP
112132012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11214
11215 [BZ #13601]
11216 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11217 header is not read in.
11218
135948bd
JM
112192012-10-19 Joseph Myers <joseph@codesourcery.com>
11220
89f1c388
JM
11221 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11222 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11223 directly. Pass built executable to script as
11224 $(built-program-cmd).
11225 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11226 $testprogram without using LD_LIBRARY_PATH and $ldso.
11227
e40a0d21
JM
11228 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11229 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11230 $(rtld-installed-name).
11231 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11232 (rtld_installed_name): Likewise.
11233 (library_path): Likewise.
11234 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11235 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11236 $(run-program-prefix) to tst-tables.sh.
11237 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11238 it to run tst-table-from and tst-table-to.
11239 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11240 Pass it to tst-table.sh.
11241 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11242 $(run-program-prefix) to tst-gettext.sh.
11243 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11244 tst-translit.sh.
11245 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11246 tst-gettext2.sh.
11247 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11248 to run tst-gettext.
11249 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11250 to run tst-gettext2.
11251 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11252 to run tst-translit.
11253 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11254 $(run-program-prefix) to tst-mtrace.sh.
11255 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11256 to run tst-mtrace.
11257 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11258 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11259 $(rtld-installed-name).
11260 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11261 (rtld_installed_name): Likewise.
11262 (run_program_prefix): New variable. Use it to run wordexp-test.
11263
728e272a
JM
11264 * Makeconfig (ARCH): Remove all definitions.
11265 (machine): Likewise.
11266 [ARCH]: Remove conditional code.
11267 [!objdir]: Give error.
11268 [!objdir] (objpfx): Remove.
11269 [!objdir] (common-objpfx): Likewise.
11270 [!objdir] (common-objdir): Likewise.
11271 * configure.in (config_makefile): Remove. Hardcode Makefile in
11272 AC_CONFIG_FILES call.
11273 * configure: Regenerated.
11274
d528cdcf
JM
11275 [BZ #13888]
11276 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11277 or TMPDIR.
11278 (testout): Likewise.
11279
135948bd
JM
11280 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11281 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11282 $(rtld-installed-name).
11283 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11284 (rtld_installed_name): Likwise.
11285 (runit): Remove function.
11286 (run_getconf): New variable, Use it for running getconf binary.
11287
38c78296
L
112882012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11289
11290 [BZ #14716]
11291 * string/test-memmem.c (check_result): New function.
11292 (do_one_test): Use it.
11293 (check1): New function.
11294 (test_main): Use it.
11295
d077f65f
MT
112962012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11297
11298 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11299
ced52c71
JM
113002012-10-18 Joseph Myers <joseph@codesourcery.com>
11301
11302 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11303 (_G_LSEEK64): Likewise.
11304 (_G_MMAP64): Likewise.
11305 (_G_FSTAT64): Likewise.
11306 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11307 (_G_LSEEK64): Likewise.
11308 (_G_MMAP64): Likewise.
11309 (_G_FSTAT64): Likewise.
11310 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11311 unconditional. Call __mmap64 directly.
11312 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11313 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11314 __lseek64 directly.
11315 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11316 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11317 __mmap64 directly.
11318 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11319 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11320 __lseek64 directly.
11321 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11322 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11323 __lseek64 directly.
11324 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11325 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11326 __lseek64 directly.
11327 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11328 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11329 __fxstat64 directly.
11330 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11331 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11332 unconditional.
11333 (freopen64) [!_G_OPEN64]: Remove conditional code.
11334 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11335 unconditional.
11336 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11337 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11338 unconditional.
11339 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11340 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11341 unconditional.
11342 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11343 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11344 unconditional.
11345 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11346 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11347 unconditional.
11348 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11349 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11350 unconditional.
11351 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11352 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11353 unconditional.
11354 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11355
b741de23
SP
113562012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11357
11358 [BZ #12140]
11359 * manual/memory.texi (Malloc Tunable Parameters): Add note
11360 about free list pointers overwriting some perturb bytes.
11361 Wording suggested by Roland McGrath.
11362
f9b9d9c9
JM
113632012-10-17 Joseph Myers <joseph@codesourcery.com>
11364
11365 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11366 (lgamma_test): Likewise.
11367 (tgamma_test): Likewise.
11368
172a631a
FW
113692012-10-16 Florian Weimer <fweimer@redhat.com>
11370
11371 [BZ #14700]
11372 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11373 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11374
e9f37252
MK
113752012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11376
11377 * NEWS: Mention BZ #14716.
11378 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11379 when removing AVAILABLE1_USES_J macro.
11380
d394eb74
L
113812012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11382
11383 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11384 (__bswap_64): __uint64_t for unsigned 64-bit int.
11385
ca38dc17
AS
113862012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11387
11388 * include/string.h (memmem): Declare libc hidden alias.
11389 * string/memmem.c (memmem): Define libc hidden alias.
11390 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11391 __read, __close instead of open, read, close.
11392
9a387d1f
L
113932012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11394
ac49ecaf
L
11395 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11396 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11397 global and hidden.
11398 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11399 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11400 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11401 Likewise.
11402 (__rawmemchr_sse2): Likewise.
11403 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11404 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11405 (__strchr_sse2): Likewise.
11406 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11407 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11408 (__strcasecmp_sse2): Likewise.
11409 (__strncasecmp_sse2): Likewise.
11410 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11411 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11412 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11413 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11414 (__strrchr_sse2): Likewise.
11415 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11416 ifunc-impl-list.c.
11417 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11418 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11419 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11420 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11421 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11422 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11423 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11424 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11425 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11426 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11427 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11428 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11429 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11430 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11431 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11432 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11433 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11434 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11435 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11436 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11437 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11438 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11439 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11440 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11441 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11442 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11443 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11444 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11445 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11446 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11447
b090e8ea
L
11448 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11449 global and hidden.
11450 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11451 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11452 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11453 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11454 Likewise.
11455 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11456 Likewise.
11457 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11458 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11459 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11460 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11461 ifunc-impl-list.c.
11462 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11463 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11464 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11465 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11466 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11467 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11468 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11469 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11470 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11471 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11472 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11473 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11474 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11475 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11476 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11477 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11478 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11479 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11480 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11481 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11482 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11483 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11484 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11485 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11486 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11487 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11488 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11489 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11490 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11491 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11492 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11493 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11494 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11495 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11496 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11497 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11498 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11499 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11500 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11501 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11502 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11503
11dd4af6
L
11504 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11505 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11506 * include/ifunc-impl-list.h: New file.
11507 * misc/ifunc-impl-list.c: Likewise.
11508 * misc/Makefile (routines): Add ifunc-impl-list.
11509 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11510 * string/test-string.h: Include <ifunc-impl-list.h>.
11511 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11512 impl_array): New variables.
11513 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11514 are defined.
11515 (test_init): Call __libc_ifunc_impl_list to initialize
11516 func_list if TEST_IFUNC and TEST_NAME are defined.
11517
9a387d1f
L
11518 * string/Makefile (strop-tests): Add bcopy and bzero.
11519 * string/test-bcopy.c: New file.
11520 * string/test-bzero.c: Likewise.
11521 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11522 defined.
11523 * string/test-memset.c: Support bzero test if TEST_BZERO is
11524 defined.
11525 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11526 __libc_memmove.
11527 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11528 __libc_memset.
11529 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11530 of memset.
11531
472371b9
JM
115322012-10-10 Joseph Myers <joseph@codesourcery.com>
11533
1e4a9536
JM
11534 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11535 * configure: Regenerated.
11536
d173d12e
JM
11537 * Makeconfig (+link-static-before-libc): Don't include
11538 $(link-static-libc).
11539
472371b9
JM
11540 * libio/libio.h (_IO_pos_t): Remove.
11541
89a3ad0b
AO
115422012-10-10 Alexandre Oliva <aoliva@redhat.com>
11543
11544 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11545 McGrath.
11546
e7451425
AO
115472012-10-10 Alexandre Oliva <aoliva@redhat.com>
11548
11549 * crypt/crypt-entry.c: Include fips-private.h.
11550 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11551 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11552 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11553 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11554
4ba74a35
AO
115552012-10-10 Alexandre Oliva <aoliva@redhat.com>
11556
11557 * crypt/crypt-private.h: Include stdbool.h.
11558 (_ufc_setup_salt_r): Return bool.
11559 * crypt/crypt-entry.c: Include errno.h.
11560 (__crypt_r): Return NULL with EINVAL for bad salt.
11561 * crypt/crypt_util.c (bad_for_salt): New.
11562 (_ufc_setup_salt_r): Check that salt is long enough and within
11563 the specified alphabet.
11564 * crypt/badsalttest.c: New file.
11565 * crypt/Makefile (tests): Add it.
11566 ($(objpfx)badsalttest): New.
11567
f96f1242
MK
115682012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11569
11570 * NEWS: Add entry for BZ #14602.
11571
0e8e0c1c
JM
115722012-10-09 Joseph Myers <joseph@codesourcery.com>
11573
11574 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11575 type-generic.
11576 * math/libm-test.inc: Update comment listing what functions and
11577 macros are tested.
11578 (isgreater_test): New function.
11579 (isgreaterequal_test): Likewise.
11580 (isless_test): Likewise.
11581 (islessequal_test): Likewise.
11582 (islessgreater_test): Likewise.
11583 (isunordered_test): Likewise.
11584 (main): Call the new functions.
11585
273edc5e
RM
115862012-10-09 Roland McGrath <roland@hack.frob.com>
11587
b8493de0
RM
11588 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11589 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11590 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11591 * sysdeps/i386/configure: Regenerated.
11592 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11593 * sysdeps/mach/configure: Regenerated.
11594 * sysdeps/mach/hurd/configure: Regenerated.
11595 * sysdeps/powerpc/configure: Regenerated.
11596 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11597 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11598 * sysdeps/s390/s390-32/configure: Regenerated.
11599 * sysdeps/s390/s390-64/configure: Regenerated.
11600 * sysdeps/sh/configure: Regenerated.
11601 * sysdeps/sparc/configure: Regenerated.
11602 * sysdeps/unix/sysv/linux/configure: Regenerated.
11603 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11604 * sysdeps/x86_64/configure: Regenerated.
11605
273edc5e
RM
11606 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11607 defined. Don't check if MAP is NULL.
11608
c8450f70
JM
116092012-10-09 Joseph Myers <joseph@codesourcery.com>
11610
11611 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11612 (_G_stat64): Likewise.
11613 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11614 (_G_stat64): Likewise.
11615 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11616 instead of struct _G_stat64.
11617 * libio/fileops.c (mmap_remap_check): Likewise.
11618 (decide_maybe_mmap): Likewise.
11619 (_IO_new_file_seekoff): Likewise.
11620 (_IO_file_stat): Likewise.
11621 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11622 _G_off64_t.
11623 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11624 instead of struct _G_stat64.
11625 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11626
57e605ba
MK
116272012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11628
11629 [BZ #14602]
11630 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11631 Replace with ...
11632 (CHECK_EOL): New macro.
11633 (two_way_short_needle): Check beginning of haystack for EOL. Use
11634 CHECK_EOL.
11635 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11636 Replace with CHECK_EOL.
11637 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
11638 Replace with CHECK_EOL.
11639
ef1bb361
JM
116402012-10-08 Joseph Myers <joseph@codesourcery.com>
11641
11642 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
11643 type-generic.
11644 * math/libm-test.inc: Update comment listing what functions and
11645 macros are tested.
11646 (finite_test): New function.
11647 (isinf_test): Likewise.
11648 (isnan_test): Likewise.
11649 (fpclassify_test): Test subnormal input.
11650 (isfinite_test): Likewise.
11651 (isnormal_test): Likewise.
11652 (main): Call the new functions.
11653
55f11534
JN
116542012-10-08 Jonathan Nieder <jrnieder@gmail.com>
11655
11656 [BZ #14660]
11657 * Makerules (%.dynsym): Force C locale when running
11658 $(OBJDUMP) --dynamic-syms.
11659
1ab29350
AS
116602012-10-08 Andreas Schwab <schwab@linux-m68k.org>
11661
11662 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
11663 <stdint.h>.
11664
f1ecb7ef
DM
116652012-10-06 David S. Miller <davem@davemloft.net>
11666
11667 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
11668 upper 32-bits of the length value in %o2 since we use branch-on-register
11669 tests which consider the entire 64-bit register.
11670
5d41d91a
L
116712012-10-06 H.J. Lu <hongjiu.lu@intel.com>
11672
11673 * string/test-strstr.c (check2): Add a test for page boundary.
11674
3baddb72
DM
116752012-10-05 David S. Miller <davem@davemloft.net>
11676
11677 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
11678 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
11679 file.
11680 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11681 sysdep_routines.
11682 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11683 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
11684 and bzero when HWCAP_SPARC_CRYPTO is present.
11685
9cee5585
L
116862012-10-05 H.J. Lu <hongjiu.lu@intel.com>
11687
d7e0dab9
L
11688 [BZ #14602]
11689 * string/test-strstr.c (check2): New function.
11690 (test_main): Call check2.
11691
03759f47
L
11692 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
11693 and bug-strchr1.
11694 * string/bug-strcasestr1.c (do_test): Moved to ...
11695 * string/test-strcasestr.c (check1): Here. New function.
11696 (do_one_test): Break out result checking code into ...
11697 (check_result): This. New function.
11698 (do_one_test): Call check_result.
11699 (test_main): Call check1.
11700 * string/bug-strchr1.c (do_test): Moved to ...
11701 * string/test-strchr.c (check1): Here. New function.
11702 (do_one_test): Break out result checking code into ...
11703 (check_result): This. New function.
11704 (do_one_test): Call check_result.
11705 (test_main): Call check1.
11706 * string/bug-strstr1.c (main): Moved to ...
046f153e 11707 * string/test-strstr.c (check1): Here. New function.
03759f47
L
11708 (do_one_test): Break out result checking code into ...
11709 (check_result): This. New function.
11710 (do_one_test): Call check_result.
11711 (test_main): Call check1.
11712 * string/bug-strcasestr1.c: Removed.
11713 * string/bug-strchr1.c: Likewise.
11714 * string/bug-strstr1.c: Likewise.
11715
53cea63e
L
11716 * elf/Makefile (dl-routines): Add hwcaps.
11717 * elf/dl-support.c (_dl_important_hwcaps): Removed.
11718 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
11719 (_dl_important_hwcaps): Moved to ...
11720 * elf/dl-hwcaps.c: Here. New file.
11721 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
11722
9cee5585 11723 [BZ #14557]
bb859b06
L
11724 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
11725 if IS_IN_rtld isn't defined.
11726
9cee5585
L
11727 * elf/dl-support.c (_dl_sysinfo_map): New.
11728 Include "get-dynamic-info.h" and "setup-vdso.h".
11729 (_dl_non_dynamic_init): Call setup_vdso.
11730 * elf/dynamic-link.h: Don't include <assert.h>.
11731 (elf_get_dynamic_info): Moved to ...
11732 * elf/get-dynamic-info.h: Here. New file.
11733 * elf/dynamic-link.h: Include "get-dynamic-info.h".
11734 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
11735 * elf/setup-vdso.h: Here. New file.
11736 * elf/rtld.c: Include "setup-vdso.h".
11737 (dl_main): Call setup_vdso.
11738
23c31b76
JM
117392012-10-05 Joseph Myers <joseph@codesourcery.com>
11740
28234b07
JM
11741 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
11742 creal in comment listing functions tested. List finite, isinf,
11743 isnan, isless, islessequal, isgreater, isgreaterequal,
11744 islessgreater, isunordered, lgamma_r and pow10 as functions and
11745 macros not tested. Mention which functions not tested are aliases
11746 for other functions. Fix typo. Note that signs of NaNs are not
11747 tested.
11748
23c31b76
JM
11749 * scripts/config.guess: Update from config.git.
11750 * scripts/config.sub: Likewise.
11751
9043e228
RM
117522012-10-04 Roland McGrath <roland@hack.frob.com>
11753
11754 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
11755 * misc/madvise.c (madvise): Renamed to __madvise.
11756 Make madvise a weak alias.
11757 * include/sys/mman.h: Declare __madvise.
11758 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
11759 * sysdeps/unix/syscalls.list
11760 (madvise): Make __madvise the strong name, and madvise a weak alias.
11761 * sysdeps/unix/sysv/linux/syscalls.list
11762 (madvise, mmap): Remove redundant entries.
11763 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
11764 * malloc/malloc.c (mtrim): Likewise.
11765 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
11766
f57f8055
RM
117672012-10-03 Roland McGrath <roland@hack.frob.com>
11768
11769 * sysdeps/mach/hurd/dl-cache.c: File removed.
11770 * config.h.in (USE_LDCONFIG): New #undef.
11771 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
11772 * configure: Regenerated.
11773 * elf/Makefile (dl-routines): Add dl-cache only under
11774 [$(use-ldconfig) = yes].
11775 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
11776 cache on [USE_LDCONFIG].
11777 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
11778 [USE_LDCONFIG].
11779 * elf/rtld.c (dl_main): Likewise.
11780
5bb0c10a
PT
117812012-10-03 Pino Toscano <toscano.pino@tiscali.it>
11782
11783 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
11784 _SC_LEVEL4_CACHE_LINESIZE.
11785
010188c6
RM
117862012-10-03 Roland McGrath <roland@hack.frob.com>
11787
11788 * sysdeps/unix/bsd/confstr.h: File removed.
11789
b6c5ec07
AO
117902012-10-02 Alexandre Oliva <aoliva@redhat.com>
11791
11792 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
11793 sys/sdt-config.h.
11794
408223d4
RM
117952012-10-02 Roland McGrath <roland@hack.frob.com>
11796
11797 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
11798 Make 'mapoff' field ElfW(Off) rather than off_t.
11799
bb9510dc
DL
118002012-10-02 Dmitry V. Levin <ldv@altlinux.org>
11801
fc997c6e
DL
11802 * nscd/Makefile: Remove nscd-cflags and all its users.
11803 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
11804 (CFLAGS-nonlib): Add compiler flags for nscd modules.
11805
bb9510dc
DL
11806 [BZ #10631]
11807 * malloc.c (malloc_printerr): Clarify error message.
11808
05699367
L
118092012-10-02 H.J. Lu <hongjiu.lu@intel.com>
11810
11811 [BZ #14648]
11812 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11813 Set bit_FMA_Usable if FMA is supported.
11814 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
11815 macro.
11816 (bit_FMA4_Usable): Updated.
11817 (index_FMA_Usable): New macro.
11818 (CPUID_FMA): Likewise
11819 (HAS_FMA): Defined with bit_FMA_Usable.
11820
51367701
RM
118212012-10-01 Roland McGrath <roland@hack.frob.com>
11822
11823 * bits/types.h (__swblk_t): Type removed.
11824 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
11825 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
11826 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
11827 (__SWBLK_T_TYPE): Likewise.
11828 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
11829 (__SWBLK_T_TYPE): Likewise.
11830 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11831 (__SWBLK_T_TYPE): Likewise.
11832 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
11833 (__SWBLK_T_TYPE): Likewise.
11834
4d57bf63 118352012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 11836 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
11837
11838 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
11839 (xdr_mapname): Use YPMAXMAP as maxsize.
11840 (xdr_peername): Use YPMAXPEER as maxsize.
11841 (xdr_keydat): Use YPAXRECORD as maxsize.
11842 (xdr_valdat): Use YPMAXRECORD as maxsize.
11843
93c65d43
RM
118442012-10-01 Roland McGrath <roland@hack.frob.com>
11845
497a03d6
RM
11846 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
11847
93c65d43
RM
11848 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
11849 * csu/init-first.c: ... here.
11850 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
11851 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
11852 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
11853 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
11854 * sysdeps/i386/init-first.c: File removed.
11855 * sysdeps/sh/init-first.c: File removed.
11856
bec749fd
JM
118572012-10-01 Joseph Myers <joseph@codesourcery.com>
11858
11859 [BZ #14645]
11860 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
11861 if x * y might underflow to zero and z is zero.
11862 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11863 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11864 * math/libm-test.inc (min_subnorm_value): New variable.
11865 (fma_test): Add more tests.
11866 (fma_test_towardzero): Likewise.
11867 (fma_test_downward): Likewise
11868 (fma_test_upward): Likewise.
11869 (initialize): Set min_subnorm_value.
11870
8ec5b013
JM
118712012-09-29 Joseph Myers <joseph@codesourcery.com>
11872
11873 [BZ #14638]
11874 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
11875 0 + 0.
11876 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
11877 mode for addition resulting in exact zero.
11878 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
11879 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
11880 exact 0 + 0.
11881 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11882 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11883 * math/libm-test.inc (fma_test): Add more tests.
11884 (fma_test_towardzero): New function.
11885 (fma_test_downward): Likewise.
11886 (fma_test_upward): Likewise.
11887 (main): Call the new functions.
11888
b1fa802e
DM
118892012-09-28 David S. Miller <davem@davemloft.net>
11890
11891 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
11892
d3b9fd9e
RM
118932012-09-28 Roland McGrath <roland@hack.frob.com>
11894
ea4d37b3
RM
11895 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
11896 instead of SIGALRM.
11897
ac51c949
RM
11898 * sysdeps/gnu/_G_config.h: Moved to ...
11899 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
11900 * sysdeps/mach/hurd/_G_config.h: Moved to ...
11901 * sysdeps/generic/_G_config.h: ... here.
11902
28c195f7
RM
11903 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
11904
848917f9
RM
11905 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
11906
6bacf05b
RM
11907 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
11908 Conditionalize target on [libnss_test1.so-version].
11909
91363dbb
RM
11910 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
11911
cc87f7d8
RM
11912 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
11913 (elfobjdir): Move out of conditionals.
11914
b1c608fe
RM
11915 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
11916 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
11917 (__nss_lookup_function): Conditionalize label remove_from_tree on
11918 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 11919
1d9a6d96
DM
119202012-09-28 David S. Miller <davem@davemloft.net>
11921
11922 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
11923 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
11924 file.
11925 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
11926 sysdep_routines.
11927 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
11928 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
11929 when HWCAP_SPARC_CRYPTO is present.
11930
72581615
PT
119312012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11932
11933 * io/tst-mknodat.c: Create a FIFO instead of a socket.
11934
715a900c
JL
119352012-09-28 Andreas Schwab <schwab@linux-m68k.org>
11936
11937 [BZ #6530]
11938 * stdio-common/vfprintf.c (process_string_arg): Revert
11939 2000-07-22 change.
11940
119412011-09-28 Jonathan Nieder <jrnieder@gmail.com>
11942
11943 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
11944 for testcase.
11945 * stdio-common/tst-sprintf.c: Include <locale.h>
11946 (main): Test sprintf's handling of incomplete multibyte
11947 characters.
11948
9bac1d86
L
119492012-09-28 H.J. Lu <hongjiu.lu@intel.com>
11950
11951 * elf/dl-runtime.c (VERSYMIDX): Removed.
11952 * elf/dl-version.c (VERSYMIDX): Likewise.
11953 * elf/do-rel.h (VERSYMIDX): Likewise.
11954 (VALIDX): Likewise.
11955 * elf/dynamic-link.h (VERSYMIDX): Likewise.
11956 * elf/rtld.c (VALIDX): Likewise.
11957 (ADDRIDX): Likewise.
9bac1d86
L
11958 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
11959 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
11960 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
11961 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
11962 (VALIDX): Likewise.
11963 (ADDRIDX): Likewise.
9bac1d86 11964
b31606c0
PT
119652012-09-28 Pino Toscano <toscano.pino@tiscali.it>
11966
11967 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
11968
11541177
JL
119692012-09-28 Dmitry V. Levin <ldv@altlinux.org>
11970
11971 [BZ #11438]
11972 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
11973 to global scope.
11974 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
11975 addresses are in the same scope as 192.0.2/24.
11976 * posix/gai.conf: Document new scope table defaults.
11977
adb26fae
SP
119782012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11979
11980 [BZ #5298]
11981 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
11982 for ftell. Compute offsets from write pointers instead.
11983 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11984
4573c6b0
SP
119852012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11986
11987 [BZ #14543]
11988 * libio/Makefile (tests): New test case tst-fseek.
11989 * libio/tst-fseek.c: New test case to verify that fseek/ftell
11990 combination works in wide mode.
11991 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
11992 state when the external buffer state changes.
11993
aa9bbfe6
DM
119942012-09-27 David S. Miller <davem@davemloft.net>
11995
11996 [BZ #14376]
11997 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
11998 pass reloc->r_addend in as the 'high' argument to
11999 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12000
784421e7
DM
12001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12002
c39bc8b8
PT
120032012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12004
12005 * rt/tst-aio2.c: Include <pthread.h>.
12006 * rt/tst-aio3.c: Likewise.
12007
1ccc2399
SE
120082012-09-27 Steve Ellcey <sellcey@mips.com>
12009
12010 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12011
31ed4153
L
120122012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12013
25f5f885
L
12014 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12015 contents on [SHARED].
31ed4153 12016
b7bfe116
MP
120172012-09-26 Marek Polacek <polacek@redhat.com>
12018
12019 [BZ #14530]
12020 [BZ #13741]
12021 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12022 for C++ and GCC <4.3 as well as for non GCC compilers.
12023
43c4edba
MT
120242012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12025
12026 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12027
6a1bf82f
RM
120282012-09-25 Roland McGrath <roland@hack.frob.com>
12029
12030 * Makefile.in (all, install): Declare with .PHONY.
12031 Reported by Michael Hope <michael.hope@linaro.org>.
12032
8ad11b9a
TMQMF
120332012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12034
12035 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12036 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12037 system header.
12038 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12039 Likewise.
12040 (sydep_routines): Add the new and the internal functions.
12041 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12042 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12044 (GLIBC_2.17): Add the new function.
12045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12046 (GLIBC_2.17): Likewise.
12047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12048 (GLIBC_2.17): Likewise.
12049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12050 (GLIBC_2.17): Likewise.
12051 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12052
7e2fca8d
AM
120532012-09-25 Alan Modra <amodra@gmail.com>
12054
12055 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12056 Add release barrier before setting once_control to say
12057 initialisation is done. Add hints on lwarx. Use macro in
12058 place of isync.
12059 (clear_once_control): Add release barrier.
12060
b87c4b24
JM
120612012-09-25 Joseph Myers <joseph@codesourcery.com>
12062
d032e0d2
JM
12063 [BZ #13629]
12064 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12065 specially.
12066 * math/s_clog10.c (__clog10): Likewise.
12067 * math/s_clog10f.c (__clog10f): Likewise.
12068 * math/s_clog10l.c (__clog10l): Likewise.
12069 * math/s_clogf.c (__clogf): Likewise.
12070 * math/s_clogl.c (__clogl): Likewise.
12071 * math/Makefile (libm-calls): Add x2y2m1.
12072 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12073 (__x2y2m1): Likewise.
12074 (__x2y2m1l): Likewise.
12075 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12076 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12077 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12078 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12079 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12080 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12081 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12082 * sysdeps/i386/fpu/libm-test-ulps: Update.
12083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12084
b87c4b24
JM
12085 [BZ #14621]
12086 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12087 int as type of variable DEPTH.
12088 (glob): Use size_t instead of int as type of variables NEWCOUNT
12089 and OLD_PATHC.
12090
6d3bf199
LD
120912012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12092
22bf5c17
LD
12093 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12094 Add s_sincosf-sse2.
12095 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12096 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12097 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12098 macros for using routine as __sincosf_ia32.
12099 Use macro for function declaration and weak_alias.
12100 * sysdeps/i386/fpu/libm-test-ulps: Update.
12101
12102 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12103 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12104
12105 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12106 subnormal argument.
12107 * math/s_cexpf.c (__cexpf): Likewise.
12108 * math/s_csinf.c (__csinf): Likewise.
12109 * math/s_csinhf.c (__csinhf): Likewise.
12110 * math/s_ctanf.c (__ctanf): Likewise.
12111 * math/s_ctanhf.c (__ctanhf): Likewise.
12112 * math/s_ccosh.c (__ccoshf): Likewise.
12113 * math/s_cexp.c (__cexpl): Likewise.
12114 * math/s_csin.c (__csin): Likewise.
12115 * math/s_csinh.c (__csinh): Likewise.
12116 * math/s_ctan.c (__ctan): Likewise.
12117 * math/s_ctanh.c (ctanh): Likewise.
12118 * math/s_ccoshl.c (__ccoshl): Likewise.
12119 * math/s_cexpl.c (__cexpl): Likewise.
12120 * math/s_csinl.c (__csinl): Likewise.
12121 * math/s_csinhl.c (__csinhl): Likewise.
12122 * math/s_ctanl.c (__ctanl): Likewise.
12123 * math/s_ctanhl.c (__ctanhl): Likewise.
12124
203e5603
JM
121252012-09-25 Joseph Myers <joseph@codesourcery.com>
12126
12127 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12128 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12129 (_IO_off_t): Define to __off_t, not _G_off_t.
12130 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12131 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12132 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12133 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12134 type of __dummy and __dummy2 fields.
12135 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12136 (_G_ssize_t): Likewise.
12137 (_G_off_t): Likewise.
12138 (_G_pid_t): Likewise.
12139 (_G_uid_t): Likewise.
12140 (_G_wchar_t): Likewise.
12141 (_G_wint_t): Likewise.
12142 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12143 (_G_ssize_t): Likewise.
12144 (_G_off_t): Likewise.
12145 (_G_pid_t): Likewise.
12146 (_G_uid_t): Likewise.
12147 (_G_wchar_t): Likewise.
12148 (_G_wint_t): Likewise.
12149 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12150 (_G_ssize_t): Likewise.
12151 (_G_off_t): Likewise.
12152 (_G_pid_t): Likewise.
12153 (_G_uid_t): Likewise.
12154 (_G_wchar_t): Likewise.
12155 (_G_wint_t): Likewise.
12156
9fab36eb
SP
121572012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12158
12159 * malloc/arena.c: Include malloc-sysdep.h.
12160 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12161 is sufficient to shrink the heap or an unmap is needed.
12162 * sysdeps/generic/malloc-sysdep.h: New file. Define
12163 new function check_may_shrink_heap.
12164 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12165 new function check_may_shrink_heap.
12166
2b4f00d1
SP
121672012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12168
12169 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12170 comments.
12171
9a9028b1
DL
121722012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12173
57c69bef
DL
12174 * catgets/test-gencat.sh: Add "set -e".
12175 * elf/tst-pathopt.sh: Likewise.
12176 * grp/tst_fgetgrent.sh: Likewise.
12177 * iconvdata/run-iconv-test.sh: Likewise.
12178 * intl/tst-gettext.sh: Likewise.
12179 * intl/tst-gettext2.sh: Likewise.
12180 * intl/tst-gettext4.sh: Likewise.
12181 * intl/tst-gettext6.sh: Likewise.
12182 * intl/tst-translit.sh: Likewise.
12183 * io/ftwtest-sh: Likewise.
12184 * libio/test-freopen.sh: Likewise.
12185 * malloc/tst-mtrace.sh: Likewise.
12186 * posix/globtest.sh: Likewise.
12187 * posix/tst-getconf.sh: Likewise.
12188 * posix/wordexp-tst.sh: Likewise.
12189 * stdio-common/tst-printf.sh: Likewise.
12190 * stdio-common/tst-unbputc.sh: Likewise.
12191 * stdlib/tst-fmtmsg.sh: Likewise.
12192 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12193 * catgets/Makefile: Do not specify -e option when running
12194 testsuite shell scripts.
12195 * elf/Makefile: Likewise.
12196 * grp/Makefile: Likewise.
12197 * iconvdata/Makefile: Likewise.
12198 * intl/Makefile: Likewise.
12199 * io/Makefile: Likewise.
12200 * libio/Makefile: Likewise.
12201 * malloc/Makefile: Likewise.
12202 * posix/Makefile: Likewise.
12203 * stdio-common/Makefile: Likewise.
12204 * stdlib/Makefile: Likewise.
12205 * sysdeps/x86_64/Makefile: Likewise.
12206
9a9028b1
DL
12207 * io/ftwtest-sh: Add copyright header.
12208 * posix/globtest.sh: Likewise.
12209 * posix/tst-getconf.sh: Likewise.
12210 * posix/wordexp-tst.sh: Likewise.
12211 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12212
ced6f16e
L
122132012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12214
94b32c39
L
12215 [BZ #13679]
12216 * Makeconfig (+link): Defined as $(+link-static) if
12217 $(build-shared) isn't yes.
12218 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12219 isn't yes.
12220 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12221
189e935b
L
12222 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12223
ced6f16e
L
12224 [BZ #14562]
12225 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12226 new chunk size with MALLOC_ALIGN_MASK.
12227
a9f8e53a
JM
122282012-09-24 Joseph Myers <joseph@codesourcery.com>
12229
12230 [BZ #5044]
12231 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12232 <rounding-mode.h>.
12233 (__printf_fphex): Determine rounding using get_rounding_mode and
12234 round_away.
12235 * stdio-common/tst-printf-round.c (struct hex_test): New
12236 structure.
12237 (hex_tests): New variable.
12238 (test_hex_in_one_mode): New function.
12239 (do_test): Also run tests for hex float output.
12240
43153109
JM
122412012-09-21 Joseph Myers <joseph@codesourcery.com>
12242
12243 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12244 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12245 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12246 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12247 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12248 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12249 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12250 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12251
8a26625d
JM
122522012-09-20 Joseph Myers <joseph@codesourcery.com>
12253
12254 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12255 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12256 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12257 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12258
f3fd569c
DL
122592012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12260
12261 [BZ #14579]
12262 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12263 mode only.
12264 * elf/tst-rtld-load-self.sh: New test.
12265 * elf/Makefile: Run it.
12266
63bbedd4
JM
122672012-09-18 Joseph Myers <joseph@codesourcery.com>
12268
12269 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12270 (tst-writev-ENV): Remove.
12271 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12272
626f8b6a
CM
122732012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12274
12275 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12276
b7aaa4d6
JM
122772012-09-17 Joseph Myers <joseph@codesourcery.com>
12278
12279 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12280 unconditional.
12281 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12282 Likewise.
12283 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12284 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12285 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12286 Likewise.
12287
65513990
L
122882012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12289
12290 [BZ #14587]
12291 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12292 * config.make.in (have-cpp-asm-debuginfo): Removed.
12293 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12294 * configure: Regenerated.
12295
784761be
JM
122962012-09-14 Joseph Myers <joseph@codesourcery.com>
12297
12298 [BZ #5044]
12299 * stdio-common/printf_fp.c: Include <stdbool.h> and
12300 <rounding-mode.h>.
12301 (___printf_fp): Determine rounding using get_rounding_mode and
12302 round_away.
12303 * stdio-common/tst-printf-round.c: New file.
12304 * stdio-common/Makefile (tests): Add tst-printf-round.
12305 (link-libm): New variable.
12306 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12307
9503345f
L
123082012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12309
12310 [BZ #14576]
12311 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12312 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12313 Likewise.
12314 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12315 Likewise.
12316
ad35fc00
JM
123172012-09-13 Joseph Myers <joseph@codesourcery.com>
12318
12319 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12320 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12321 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12322 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12323
6c9b0f68
JM
123242012-09-12 Joseph Myers <joseph@codesourcery.com>
12325
12326 [BZ #14518]
12327 * include/rounding-mode.h: New file.
12328 * sysdeps/generic/get-rounding-mode.h: Likewise.
12329 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12330 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12331 (MAX_VALUE): New macro.
12332 (MIN_VALUE): Likewise.
12333 (overflow_value): New function.
12334 (underflow_value): Likewise.
12335 (round_and_return): Use overflow_value and underflow_value to
12336 determine return values in overflow and underflow cases. Use
12337 round_away to determine rounding depending on rounding mode.
12338 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12339 determine return values in overflow and underflow cases.
12340 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12341 (struct test_results): New structure.
12342 (struct test): Use struct test_results to store expected results
12343 for all rounding modes.
12344 (TEST): Include expected results for all rounding modes.
12345 (test_in_one_mode): New function.
12346 (do_test): Use test_in_one_mode to compute and check results.
12347 Check results for all rounding modes.
12348 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12349 $(link-libm).
12350
19fcedd5
AM
123512012-12-09 Allan McRae <allan@archlinux.org>
12352
1e9d84cd 12353 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12354
8bbfd2f1
JM
123552012-09-11 Joseph Myers <joseph@codesourcery.com>
12356
12357 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12358 (_G_int32_t): Likewise.
12359 (_G_uint16_t): Likewise.
12360 (_G_uint32_t): Likewise.
12361 (_G_HAVE_BOOL): Likewise.
12362 (_G_HAVE_ATEXIT): Likewise.
12363 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12364 (_G_HAVE_IO_FILE_OPEN): Likewise.
12365 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12366 (_G_int32_t): Likewise.
12367 (_G_uint16_t): Likewise.
12368 (_G_uint32_t): Likewise.
12369 (_G_HAVE_BOOL): Likewise.
12370 (_G_HAVE_ATEXIT): Likewise.
12371 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12372 (_G_HAVE_IO_FILE_OPEN): Likewise.
12373 * sysdeps/mach/hurd/_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
b1dc5912
L
123822012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12383
12384 * csu/libc-tls.c: Update copyright years.
12385
0e886ef9
JM
123862012-09-10 Joseph Myers <joseph@codesourcery.com>
12387
28361c5e
JM
12388 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12389 [!_G_USING_THUNKS]: Remove conditional code.
12390 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12391 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12392
0e886ef9
JM
12393 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12394 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12395 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12396 (_G_VTABLE_LABEL_PREFIX): Likewise.
12397 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12398 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12399 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12400 (_G_VTABLE_LABEL_PREFIX): Likewise.
12401 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12402 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12403 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12404 (_G_VTABLE_LABEL_PREFIX): Likewise.
12405 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12406
bcba7aa2
L
124072012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12408
12409 * libio/Makefile: Include ../Makeconfig before tests.
12410 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12411 only if $(build-shared) is yes.
12412
06585ee8
L
12413 * iconv/gconv_db.c: Update copyright years.
12414
80ccd52c
LD
124152012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12416
12417 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12418 unwind info if defined PIC. Fix special cases description.
12419 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12420
12421 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12422 DP_HI_MASK entry.
12423 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12424
691bc9c1
L
124252012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12426
3d9b46b3
L
12427 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12428
de2139a9
L
12429 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12430 is NULL.
12431
5ca78dd0
L
12432 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12433 (LDLIBS-tst-chk4): This.
12434 (LDFLAGS-tst-chk5): Renamed to ...
12435 (LDLIBS-tst-chk5): This.
12436 (LDFLAGS-tst-chk6): Renamed to ...
12437 (LDLIBS-tst-chk6): This.
12438 (LDFLAGS-tst-lfschk4): Renamed to ...
12439 (LDLIBS-tst-lfschk4): This.
12440 (LDFLAGS-tst-lfschk5): Renamed to ...
12441 (LDLIBS-tst-lfschk5): This.
12442 (LDFLAGS-tst-lfschk6): Renamed to ...
12443 (LDLIBS-tst-lfschk6): This.
12444
691bc9c1
L
12445 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12446 on $(common-objpfx)soversions.mk.
12447
65cafb1c
JM
124482012-09-07 Joseph Myers <joseph@codesourcery.com>
12449
12450 [BZ #10014]
12451 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12452 example host name.
12453
c78ab094
SP
124542012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12455
12456 * malloc/arena.c (arena_get_retry): New function that gets
12457 another arena for the caller to try its request on.
12458 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12459 current arena cannot fulfill the request.
12460 (__libc_memalign): Likewise.
12461 (__libc_memalign): Likewise.
12462 (__libc_pvalloc): Likewise.
12463 (__libc_calloc): Likewise.
12464
01f49f59
JT
124652012-09-05 John Tobey <john.tobey@gmail.com>
12466
12467 [BZ #13542]
12468 * manual/arith.texi (Operations on Complex): Fix description
12469 of carg branch cut.
12470
4c23fed5
JM
124712012-09-06 Joseph Myers <joseph@codesourcery.com>
12472
1d3c8572
JM
12473 [BZ #10014]
12474 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12475 host name.
12476
4c23fed5
JM
12477 [BZ #10038]
12478 * manual/memory.texi (Memory): Make order of menu items match
12479 order of sections.
12480
04570aaa
L
124812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12482
12483 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12484 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12485 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12486
b80af2f4
L
124872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12488
12489 * csu/libc-tls.c (static_dtv): Renamed to ...
12490 (_dl_static_dtv): This. Make it global.
12491 (_dl_initial_dtv): Removed.
12492 (__libc_setup_tls): Updated.
12493 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12494 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12495 DL_INITIAL_DTV.
12496
2abe9f15
PM
124972012-09-06 Petr Machata <pmachata@redhat.com>
12498
12499 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12500 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12501 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12502 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12503
0948c3af
L
125042012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12505
12506 [BZ #14545]
12507 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12508 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12509 freeing dtv[-1].
12510
a5055ad1
L
125112012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12512
12513 [BZ #14544]
12514 * Makeconfig (link-static-before-libc): Replace $(+prector)
12515 with $(+prectorT).
12516 (link-static-after-libc): Replace $(+postctor) with
12517 $(+postctorT).
12518 (link-bounded): Replace $(+prector)/$(+postctor) with
12519 $(+prectorT)/$(+postctorT).
12520 (+prectorT): New macro.
12521 (+postctorT): Likewise.
12522
ed8c2ecd
JM
125232012-09-06 Joseph Myers <joseph@codesourcery.com>
12524
12525 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12526 (round_str): Handle values above the maximum for IBM long double
12527 as inexact.
12528 * stdlib/tst-strtod-round.c (tests): Regenerated.
12529
14c996c8
AK
125302012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12531
12532 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12533 assembler flag.
12534 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12535 zarch_nohighgprs around the zarch optimized routines.
12536 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12537 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12538 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12539 for zarch.
12540
430d6ce6
DM
125412012-09-05 David S. Miller <davem@davemloft.net>
12542
12543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12544
ff04dda4
DM
12545 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12546 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12547 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12548 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12549 entries.
12550
24d4e01b
AO
125512012-09-05 Alexandre Oliva <aoliva@redhat.com>
12552
12553 * malloc/arena.c: Fold copyright years.
12554 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12555
61d58174
AO
125562012-09-05 Alexandre Oliva <aoliva@redhat.com>
12557
12558 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12559
20196a5e
AO
125602012-09-05 Alexandre Oliva <aoliva@redhat.com>
12561
12562 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12563
5c447383
AO
125642012-09-05 Alexandre Oliva <aoliva@redhat.com>
12565
12566 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12567 change internal state upon failure.
12568
fad64255
AO
125692012-09-05 Alexandre Oliva <aoliva@redhat.com>
12570
12571 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12572 * malloc/memusage.c (mmap): Likewise.
12573 (mmap64, mremap): Likewise. Adjust name in comment.
12574
1ffb8c90
SP
125752012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12576
12577 * libio/fileops.c: Fix typos in comments.
12578 * libio/oldfileops.c: Likewise.
12579 * libio/wfileops.c: Likewise.
12580
6ef9cc37
SP
125812012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12582
12583 [BZ #1349]
12584 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12585 (tst-malloc-usable-ENV): Set environment for test case.
12586 * malloc/hooks.c (malloc_check_get_size): New function to get
12587 requested size.
12588 * malloc/malloc.c (musable): Use malloc_check_get_size.
12589 * malloc/tst-malloc-usable.c: New test case.
12590
4d038ae3
AS
125912012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12592
12593 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12594
c4e85184
AM
125952012-09-05 Allan McRae <allan@archlinux.org>
12596
b9dafc56 12597 [BZ #13966]
c4e85184
AM
12598 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12599 determine header location.
12600 * configure: Regenerated.
12601
e1343020
AS
126022012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12603
12604 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12605 float format.
12606 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
12607 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12608 format.
e1343020
AS
12609 (test): Regenerate.
12610
0a9f1987
DM
126112012-09-04 David S. Miller <davem@davemloft.net>
12612
12613 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12614 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12615 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12616
29237804
FW
126172012-09-04 Florian Weimer <fweimer@redhat.com>
12618
12619 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12620 failures.
12621
edb3cb88
FW
12622 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12623
60160d83
JM
126242012-09-04 Joseph Myers <joseph@codesourcery.com>
12625
12626 [BZ #9914]
12627 * libio/iogetdelim.c: Include <limits.h>.
12628 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12629 + len + 1 would overflow.
12630
bcd6c8dc
AJ
126312012-09-03 Andreas Jaeger <aj@suse.de>
12632
12633 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12634 * sysdeps/i386/fpu/libm-test-ulps: Update.
12635
4ffffbd2
LD
126362012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12637
12638 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12639 Add s_sinf-sse2, s_conf-sse2.
12640
12641 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
12642 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
12643 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
12644 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
12645
12646 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
12647 for using routine as __sinf_ia32.
12648 Use macro for function declaration and weak_alias.
12649 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
12650 for using routine as __cosf_ia32.
12651 Use macro for function declaration and weak_alias.
12652
12653 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
12654 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
12655
12656 * sysdeps/x86_64/fpu/s_sinf.S: New file.
12657 * sysdeps/x86_64/fpu/s_cosf.S: New file.
12658 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12659
12660 * math/libm-test.inc (cos_test): Add more test cases.
12661 (sin_test): Likewise.
12662 (sincos_test): Likewise.
12663
511fa286
AK
126642012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12665
12666 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
12667 (IFUNC_RESOLVE): Make pointers to the specialized implementations
12668 hidden.
12669 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
12670
5f30cfec
L
126712012-09-02 H.J. Lu <hongjiu.lu@intel.com>
12672
12673 [BZ #14538]
12674 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
12675 first element of the GOT.
12676 (elf_machine_load_address): Return the difference between
12677 the runtime address of _DYNAMIC and elf_machine_dynamic ().
12678
0786794f
AM
126792012-09-01 Allan McRae <allan@archlinux.org>
12680
5f30cfec
L
12681 [BZ #13412]
12682 * configure.in (AWK): Require gawk version 3.0 or later.
12683 * configure: Regenerated.
0786794f 12684
26889eac
JM
126852012-09-01 Joseph Myers <joseph@codesourcery.com>
12686
12687 * sysdeps/unix/sysv/linux/kernel-features.h
12688 (__ASSUME_POSIX_CPU_TIMERS): Remove.
12689 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12690 [__NR_clock_getres]: Make code unconditional.
12691 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
12692 (clock_getcpuclockid): Remove code left unreachable by removal of
12693 conditionals.
12694 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
12695 code unconditional.
12696 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12697 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12698 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
12699 Make code unconditional.
12700 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
12701 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12702 * sysdeps/unix/sysv/linux/clock_settime.c
12703 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
12704 conditional code.
12705 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
12706 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
12707
d22e28b0
L
127082012-08-29 H.J. Lu <hongjiu.lu@intel.com>
12709
12710 [BZ #14476]
12711 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
12712 scripts/test-installation.pl.
12713
12714 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
12715 and $ld_so_version if it is set.
12716
050af9c4
SP
127172012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12718
12719 [BZ #14516]
12720 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
12721 failure if reading from procfs failed.
12722 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
12723
ad845c0b
JM
127242012-08-27 Joseph Myers <joseph@codesourcery.com>
12725
12726 * sysdeps/unix/sysv/linux/kernel-features.h
12727 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
12728 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12729 Remove conditional code.
12730 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12731 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
12732 Remove conditional code.
12733 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12734 * sysdeps/unix/sysv/linux/i386/fxstat.c
12735 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12736 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12737 * sysdeps/unix/sysv/linux/i386/fxstatat.c
12738 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12739 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12740 * sysdeps/unix/sysv/linux/i386/lxstat.c
12741 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
12742 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12743 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
12744 Remove conditional code.
12745 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12746 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
12747 Remove conditional code.
12748 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12749 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
12750 <kernel-features.h>.
12751 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
12752 Remove.
12753 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
12754 Remove conditional code.
12755 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
12756 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
12757 Remove conditional.
12758
5dbf56af
MF
127592012-08-27 Mike Frysinger <vapier@gentoo.org>
12760
12761 [BZ #5400]
12762 * NEWS: Add fixed bug number.
12763
d6e70f43
JM
127642012-08-27 Joseph Myers <joseph@codesourcery.com>
12765
7efb4737
JM
12766 [BZ #14519]
12767 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
12768 underflowing exponent in case of negative sign.
12769 * stdlib/tst-strtod-round-data: Add more tests.
12770 * stdlib/tst-strtod-round.c (tests): Regenerated.
12771
af92131a
JM
12772 [BZ #3479]
12773 * stdlib/strtod_l.c (NDIG): Remove.
12774 (HEXNDIG): Likewise.
12775 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
12776 smallest representable value.
12777 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
12778 lie within an exact representation of 1/2 ulp of the result.
12779 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
12780 unconditionally.
12781 (TENS_P9_IDX): Define unconditionally.
12782 (TENS_P9_SIZE): Likewise.
12783 (TENS_P10_IDX): Likewise.
12784 (TENS_P10_SIZE): Likewise.
12785 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
12786 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
12787 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
12788 entries for 10^2^13 and 10^2^14.
12789 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
12790 (TENS_P13_IDX): Define.
12791 (TENS_P13_SIZE): Likewise.
12792 (TENS_P14_IDX): Likewise.
12793 (TENS_P14_SIZE): Likewise.
12794 (_fpioconst_pow10): Change array size to
12795 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
12796 unconditional.
12797 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
12798 1024]: Add entries for 10^2^13 and 10^2^14.
12799 [LAST_POW10 > _LAST_POW10]: Remove #error.
12800 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
12801 (_fpioconst_pow10): Change array size to
12802 FPIOCONST_POW10_ARRAY_SIZE.
12803 * stdlib/gen-fpioconst.c: New file.
12804 * stdlib/gen-tst-strtod-round.c: Likewise.
12805 * stdlib/tst-strtod-round-data: Likewise.
12806 * stdlib/tst-strtod-round.c: Likewise.
12807 * stdlib/Makefile (tests): Add tst-strtod-round.
12808
d6e70f43
JM
12809 [BZ #14459]
12810 * stdlib/strtod_l.c: Include <stdint.h>.
12811 (NDEBUG): Do not define.
12812 (round_and_return): Change EXPONENT parameter to type intmax_t.
12813 Rearrange calculations to avoid internal overflow possibilities.
12814 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
12815 Rearrange calculations to avoid internal overflow possibilities.
12816 Assert that number fits inside MPNSIZE limbs.
12817 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
12818 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
12819 calculations and add assertions to avoid internal overflow
12820 possibilities. Add casts to avoid signed/unsigned operations.
12821 * stdlib/tst-strtod-overflow.c: New file.
12822 * stdlib/Makefile (tests): Add tst-strtod-overflow.
12823
1f529f7d
MP
128242012-08-25 Marek Polacek <polacek@redhat.com>
12825
12826 * time/time.h: Fix some typos in comments.
12827
59a629f1
RM
128282012-08-23 Roland McGrath <roland@hack.frob.com>
12829
12830 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
12831 * posix/tst-rfc3484-2.c: Likewise.
12832 * posix/tst-rfc3484-3.c: Likewise.
12833
d3bafbc9
SM
128342012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
12835
12836 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
12837 (EF_ARM_ABI_FLOAT_HARD): Likewise.
12838
4efcc022
JM
128392012-08-23 Joseph Myers <joseph@codesourcery.com>
12840
12841 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
12842 #include of fxstatat64.c.
12843
3cc3ef96
RM
128442012-08-22 Roland McGrath <roland@hack.frob.com>
12845
f04e2132
RM
12846 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
12847 * shadow/getspent_r.c: Likewise.
12848 * shadow/getspnam.c: Likewise.
12849 * shadow/getspnam_r.c: Likewise.
12850 * gshadow/getsgent.c: Likewise.
12851 * gshadow/getsgent_r.c: Likewise.
12852 * gshadow/getsgnam.c: Likewise.
12853 * gshadow/getsgnam_r.c: Likewise.
12854 * inet/getnetbyad.c: Likewise.
12855 * inet/getnetbyad_r.c: Likewise.
12856 * inet/getnetbynm.c: Likewise.
12857 * inet/getnetbynm_r.c: Likewise.
12858 * inet/getnetent.c: Likewise.
12859 * inet/getnetent_r.c: Likewise.
12860 * inet/getproto.c: Likewise.
12861 * inet/getproto_r.c: Likewise.
12862 * inet/getprtent.c: Likewise.
12863 * inet/getprtent_r.c: Likewise.
12864 * inet/getprtname.c: Likewise.
12865 * inet/getprtname_r.c: Likewise.
12866 * inet/getrpcbyname.c: Likewise.
12867 * inet/getrpcbyname_r.c: Likewise.
12868 * inet/getrpcbynumber.c: Likewise.
12869 * inet/getrpcbynumber_r.c: Likewise.
12870 * inet/getrpcent.c: Likewise.
12871 * inet/getrpcent_r.c: Likewise.
12872 * inet/getaliasent.c: Likewise.
12873 * inet/getaliasent_r.c: Likewise.
12874 * inet/getaliasname.c: Likewise.
12875 * inet/getaliasname_r.c: Likewise.
12876 * nscd/getgrgid_r.c: Likewise.
12877 * nscd/getgrnam_r.c: Likewise.
12878 * nscd/gethstbyad_r.c: Likewise.
12879 * nscd/gethstbynm3_r.c: Likewise.
12880 * nscd/getpwnam_r.c: Likewise.
12881 * nscd/getpwuid_r.c: Likewise.
12882 * nscd/getsrvbynm_r.c: Likewise.
12883 * nscd/getsrvbypt_r.c: Likewise.
12884 * nscd/gai.c: Likewise.
12885
c53d909c
RM
12886 * configure.in (build_nscd): New substituted variable, set
12887 by --disable-build-nscd and defaults to $use_nscd.
12888 * configure: Regenerated.
12889 * config.make.in (build-nscd): New substituted variable.
12890 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
12891 Change conditional to require [$(build-nscd) = yes] as well.
12892 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
12893
3cc3ef96
RM
12894 [BZ# 13696]
12895 * configure.in (use_nscd): New substituted variable, set by
12896 --disable-nscd. If enabled, define USE_NSCD.
12897 * configure: Regenerated.
12898 * config.h.in: Add USE_NSCD.
12899 * config.make.in (use-nscd): New substituted variable.
12900 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
12901 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
12902 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
12903 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
12904 (CFLAGS-getgrnam_r.c): Likewise.
12905 (CFLAGS-initgroups.c): Likewise.
12906 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
12907 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
12908 Variables removed.
12909 * inet/getnetgrent_r.c
12910 (nscd_setnetgrent): New function, broken out of ...
12911 (setnetgrent): ... here. Call it.
12912 (innetgr): Conditionalize nscd bits on [USE_NSCD].
12913 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
12914 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
12915 * nscd/Makefile (routines, aux): Move definitions after include of
12916 Makeconfig. Conditionalize on [$(use-nscd) != no].
12917 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
12918 Conditionalize on [USE_NSCD].
12919 (is_nscd, nscd_init_cb): Likewise.
12920 (nss_load_library): Conditionalize init callback on [USE_NSCD].
12921 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
12922 * nss/nss_db/db-init.c: Likewise.
12923 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
12924 [USE_NSCD].
12925 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
12926 (make_request): Use it.
12927 (cache_valid_p): New function.
12928 (__check_pf): Use it.
12929 * NEWS: Add item for --disable-nscd.
12930
07e51550
DL
129312012-08-22 Dmitry V. Levin <ldv@altlinux.org>
12932
12933 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
12934 to support sed >= 4.2.1-20-ga9bf076.
12935 * configure: Regenerated.
12936
35a5b08b
RM
129372012-08-22 Roland McGrath <roland@hack.frob.com>
12938
12939 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
12940 Conditionalize whole body on [IREL].
12941
8479f23a
JL
129422012-08-22 Jeff Law <law@redhat.com>
12943
12944 [BZ #14505]
12945 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
12946 if the family is PF_UNSPEC.
12947
48da0b21
MF
129482012-08-22 Mike Frysinger <vapier@gentoo.org>
12949
12950 * Makerules (lib-version): Rename from V.
12951 (install-lib-nosubdir): Change V to lib-version.
12952
15d0da8c
WS
129532012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
12954
12955 [BZ #14252]
12956 * powerpc32/power6/wcschr.c: New file.
12957 * powerpc32/power6/wcscpy.c: New file.
12958 * powerpc32/power6/wcsrchr.c: New file.
12959 * powerpc64/power6/wcschr.c: New file.
12960 * powerpc64/power6/wcscpy.c: New file.
12961 * powerpc64/power6/wcsrchr.c: New file.
12962
bcca0895
MK
129632012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12964
12965 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
12966 (two_way_short_needle): Use it.
5a4aaa33
RM
12967 * string/strstr.c (AVAILABLE1_USES_J): Define.
12968 * string/strcasestr.c: Likewise.
99677e57
MK
12969
12970 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
12971 array references.
12972 * string/strcasestr.c (TOLOWER): Make side-effect safe.
12973
400726de
MK
12974 [BZ #11607]
12975 * NEWS: Add an entry.
12976 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
12977 define their defaults.
12978 (two_way_short_needle): Detect end-of-string on-the-fly.
12979 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
12980 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
12981 * string/bug-strcasestr1.c: New test.
12982 * string/Makefile: Run it.
12983
20a71f2c
MK
129842012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
12985
12986 [BZ #11607]
12987 * string/str-two-way.h (two_way_short_needle): Optimize matching of
12988 the first character.
12989
21ad0558
RM
129902012-08-21 Roland McGrath <roland@hack.frob.com>
12991
12992 * csu/elf-init.c (__libc_csu_irel): Function removed.
12993 * csu/libc-start.c (apply_irel): New function.
12994 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
12995
0e1d9911
JM
129962012-08-21 Joseph Myers <joseph@codesourcery.com>
12997
12998 * sysdeps/unix/sysv/linux/kernel-features.h
12999 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13000 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13001 <kernel-features.h>.
13002 [__NR_fadvise64_64]: Make code unconditional.
13003 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13004 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13005 !__NR_fadvise64_64)]: Likewise.
13006 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13007 !__NR_fadvise64_64))]: Likewise.
13008 [__NR_fadvise64]: Make code unconditional.
13009 [!__NR_fadvise64]: Remove conditional code.
13010 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13011 <kernel-features.h>.
13012 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13013 unconditional.
13014 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13015 conditional code.
13016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13017 not include <kernel-features.h>.
13018 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13019 unconditional.
13020 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13021 conditional code.
13022 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13023 include <kernel-features.h>.
13024 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13025 unconditional.
13026 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13027 conditional code.
13028
14a50c9d
WS
130292012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13030
13031 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13032 slight instruction rearrangements per scrollpipe analysis.
13033 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13034
c0f4faf0
RM
130352012-08-20 Roland McGrath <roland@hack.frob.com>
13036
696da859
RM
13037 * manual/syslog.texi (syslog; vsyslog, closelog):
13038 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13039 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13040
c0f4faf0
RM
13041 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13042 DSOCAPS to match condition on defining it.
13043
348363b2
JM
130442012-08-20 Joseph Myers <joseph@codesourcery.com>
13045
a35cbf28
JM
13046 * sysdeps/unix/sysv/linux/kernel-features.h
13047 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13049 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13050 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13052 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13053 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13055 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13056 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13057
445f7ecd
JM
13058 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13059 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13060
348363b2
JM
13061 * sysdeps/unix/sysv/linux/kernel-features.h
13062 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13063 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13064 unconditional.
13065 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13066 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13067 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13068 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13069 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13070 Make code unconditional.
13071 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13072 (__mmap64) [!__NR_mmap2]: Likewise.
13073 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13074 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13075 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13076 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13077 [__NR_mmap2]: Make code unconditional.
13078 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13079 (__mmap64) [!__NR_mmap2]: Likewise.
13080
bc5bc0e5
AK
130812012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13082
13083 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13084
88d506de
AJ
130852012-08-18 Andreas Jaeger <aj@suse.de>
13086
13087 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13088
493387d2
MF
130892012-08-18 Mike Frysinger <vapier@gentoo.org>
13090
13091 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13092 * include/unistd.h (__have_sock_cloexec): Likewise.
13093 (__have_pipe2): Likewise.
13094 (__have_dup3): Likewise.
13095
a277af22
MF
130962012-08-18 Mike Frysinger <vapier@gentoo.org>
13097
13098 [BZ #9685]
13099 * include/unistd.h (__have_pipe2): Change define into an extern int.
13100 (__have_dup3): Likewise.
13101 * socket/have_sock_cloexec.c: Include fcntl.h.
13102 (__have_pipe2): New variable.
13103 (__have_dup3): Likewise.
13104
fdab8fd3
MF
131052012-08-17 Mike Frysinger <vapier@gentoo.org>
13106
13107 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13108
31035e80
MP
131092012-08-17 Marek Polacek <polacek@redhat.com>
13110
13111 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13112 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13113
3bd9e993
RM
131142012-08-17 Roland McGrath <roland@hack.frob.com>
13115
c91c505f
RM
13116 * configure.in: Add AC_SUBST for sysheaders.
13117 * configure: Regenerated.
13118 * config.make.in (sysheaders): New substituted variable.
13119
7c6f9d53
RM
13120 * sysdeps/unix/mkfifo.c: Moved ...
13121 * sysdeps/posix/mkfifo.c: ... here.
13122 * sysdeps/unix/mkfifoat.c: Moved ...
13123 * sysdeps/posix/mkfifoat.c: ... here.
13124
13125 * sysdeps/unix/utime.c: Moved ...
13126 * sysdeps/posix/utime.c: ... here.
13127
13128 * sysdeps/unix/time.c: Moved ...
13129 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13130 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13131 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13132
13133 * sysdeps/unix/nice.c: Moved ...
13134 * sysdeps/posix/nice.c: ... here.
13135
13136 * sysdeps/unix/alarm.c: Moved ...
13137 * sysdeps/posix/alarm.c: ... here.
13138
3bd9e993
RM
13139 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13140
d1f09384
JL
131412012-08-17 Jeff Law <law@redhat.com>
13142
13143 * intl/Makefile (codeset_mo): New variable.
13144 ($(codeset_mo)): New target.
13145 (tst-codeset.out): Depend on that. Remove explicit rule.
13146 (tst-gettext3.out, tst-gettext5.out): Likewise.
13147 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13148 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13149 * intl/tst-codeset.sh: Remove.
13150 * intl/tst-gettext3.sh: Likewise.
13151 * intl/tst-gettext5.sh: Likewise.
13152
2ae1ae5c
RM
131532012-08-17 Roland McGrath <roland@hack.frob.com>
13154
c31fdb83
RM
13155 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13156 * sysdeps/unix/syscalls.list: ... here.
13157
a0844057
RM
13158 * sysdeps/posix/getaddrinfo.c
13159 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13160 (gaiconf_init, gaiconf_reload): Use them.
13161 [!_STATBUF_ST_NSEC]
13162 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13163 Define using time_t rather than struct timespec.
13164
750c1f2a
RM
13165 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13166 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13167 Macros removed.
13168 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13169 [!NO_THREADS].
13170 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13171 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13172 Likewise.
13173
2ae1ae5c
RM
13174 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13175 __libc_cleanup_push argument.
13176
e66a42f5
RM
13177 * bits/param.h: New file.
13178 * misc/sys/param.h: New file.
13179 * include/sys/param.h: New file.
13180 * misc/Makefile (headers): Add bits/param.h.
13181 * sysdeps/generic/sys/param.h: File removed.
13182 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13183 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13184 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13185 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13186
b7c08a66
RM
13187 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13188 last change.
13189
b2e1c562
RM
13190 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13191 [_IO_MTSAFE_IO].
13192 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13193 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13194 New macros.
13195
c75ccd4c
RM
13196 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13197 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13198 rather than -D_IO_MTSAFE_IO conditionally.
13199 * stdio-common/Makefile (CPPFLAGS): Likewise.
13200 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13201 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13202 Use $(libio-mtsafe).
13203 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13204 of -D_IO_MTSAFE_IO.
13205 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13206 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13207 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13208 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13209 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13210 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13211 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13212 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13213 (CFLAGS-fread_u_chk.c): Likewise.
13214 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13215 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13216 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13217 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13218 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13219 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13220 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13221 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13222 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13223
13224 * libio/Makefile: Test [$(libc-reentrant) = yes]
13225 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13226
13227 * Makeconfig
13228 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13229 * sysdeps/pthread/configure: File removed.
13230 * sysdeps/pthread/Makeconfig: New file.
13231 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13232 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13233
d9195db8
GB
132342012-08-16 Gary Benson <gbenson@redhat.com>
13235
13236 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13237 unmapping the first object in a namespace.
13238
86466cd9
RM
132392012-08-16 Roland McGrath <roland@hack.frob.com>
13240
13241 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13242 (__internal_setnetgrent): ... this. Add internal_function to
13243 definition. Add libc_hidden_def.
13244 (setnetgrent): Update caller.
13245 (internal_endnetgrent): Renamed to ...
13246 (__internal_endnetgrent): ... this. Add internal_function to
13247 definition. Add libc_hidden_def.
13248 (endnetgrent): Update caller.
13249 (internal_getnetgrent_r): Renamed to ...
13250 (__internal_getnetgrent_r): ... this. Add internal_function to
13251 definition. Add libc_hidden_def.
13252 (__getnetgrent_r): Update caller.
13253 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13254
c3c8283c
JM
132552012-08-16 Joseph Myers <joseph@codesourcery.com>
13256
13257 * stdlib/longlong.h: Update from GCC.
13258
db1ee0a8
RM
132592012-08-16 Roland McGrath <roland@hack.frob.com>
13260
13261 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13262 on _QL, which is set by umul_ppmm but never used.
13263 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13264 variables, which are set by GMP macros but never used.
13265 * stdio-common/_itowa.c (_itowa): Likewise.
13266 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13267 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13268
30f69637
CD
132692012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13270
13271 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13272 struct La_sh_regs is not constant.
13273 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13274 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13275 and struct La_sparc64_regs are not constant.
13276
93a78ac4
JM
132772012-08-16 Joseph Myers <joseph@codesourcery.com>
13278
13279 * sysdeps/unix/sysv/linux/kernel-features.h
13280 (__ASSUME_POSIX_TIMERS): Remove.
13281 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13282 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13283 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13284 Make code unconditional.
13285 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13286 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13287 Make code unconditional.
13288 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13289 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13290 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13291 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13292 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13293 Make code unconditional.
13294 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13295 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13296 (__libc_missing_posix_timers): Remove.
13297
dd924cd7
RM
132982012-08-15 Roland McGrath <roland@hack.frob.com>
13299
4b4f2771
RM
13300 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13301 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13302
601c888b
RM
13303 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13304
176790a7
RM
13305 * elf/dl-sym.c: Include <stdlib.h>.
13306
329bc018
RM
13307 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13308 constants, which avoids warnings in 32-bit builds.
13309
e04e272d
RM
13310 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13311 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13312
952bf94a
RM
13313 * misc/lseek.c: File moved to ...
13314 * io/lseek.c: ... here.
13315
7c99b50a
RM
13316 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13317
dd924cd7
RM
13318 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13319 shifting LEN more than 31 bits at once.
13320
b3f479a8
LD
133212012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13322
13323 [BZ #14195]
8c4ae0d4
RM
13324 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13325 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13326 * string/test-strncasecmp.c (check1): Renamed to...
13327 (bz12205): ...this.
13328 (bz14195): Add new testcase for two empty input strings and N > 0.
13329 (test_main): Call new testcase, adapt for renamed function.
13330
9c55864e
AJ
133312012-08-15 Andreas Jaeger <aj@suse.de>
13332
13333 [BZ #14090]
13334 * crypt/md5test2.c: New test, based on test supplied by Serge
13335 Belyshev <belyshev@depni.sinp.msu.ru>.
13336 * crypt/Makefile (xtests): Add md5test-giant..
13337 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13338
02dcb6c5
PE
133392012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13340
13341 [BZ #14090]
13342 * crypt/md5.c (md5_process_block): Don't assume the buffer
13343 length is less than 2**32.
13344 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13345 length is less than 2**64.
13346
a3f95dcc
RM
133472012-08-15 Roland McGrath <roland@hack.frob.com>
13348
be75d758
RM
13349 * string/str-two-way.h: Include <sys/param.h>.
13350 (MAX): Macro removed.
13351
7312ca90
RM
13352 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13353 Move #define and #undef of memmove to just before and after
13354 including <string.h>.
13355
9a0a5486
RM
13356 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13357 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13358 and after including <string.h>. Move declarations of
13359 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13360 to before #include "string/memmove.c".
13361
67cc348d
RM
13362 * include/dirent.h: Declare __getdirentries.
13363
a3f95dcc
RM
13364 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13365 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13366
ca98e171
MF
133672012-08-14 Mike Frysinger <vapier@gentoo.org>
13368
13369 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13370 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13371 * sysdeps/i386/configure: Regenerated.
13372 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13373 STABS_CURRENT_FILE, and STABS_FUN.
13374 (END): Remove call to STABS_FUN_END.
13375 (STABS_CURRENT_FILE1): Delete.
13376 (STABS_CURRENT_FILE): Likewise.
13377 (STABS_FUN): Likewise.
13378 (STABS_FUN_END): Likewise.
13379 (STABS_FUN2): Likewise.
13380 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13381 * sysdeps/x86_64/configure: Regenerated.
13382
5908bf46
RM
133832012-08-14 Roland McGrath <roland@hack.frob.com>
13384
13385 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13386 * elf/dl-lookup.c: Likewise.
5908bf46 13387
f2c05b9e
JM
133882012-08-14 Joseph Myers <joseph@codesourcery.com>
13389
13390 * sysdeps/unix/sysv/linux/kernel-features.h
13391 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13392 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13393 unconditionally.
13394 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13395 unconditionally.
13396 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13397 condition on __ASSUME_CLONE_THREAD_FLAGS.
13398
e11f5155
AJ
133992012-08-14 Andreas Jaeger <aj@suse.de>
13400
13401 * sysdeps/i386/fpu/libm-test-ulps: Update.
13402
51a9ba86
MK
134032012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13404
2fdd4f78
AJ
13405 * include/atomic.h (atomic_exchange_and_add): Split into ...
13406 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13407 New atomic macros.
51a9ba86 13408
ba6cba9e
MT
134092012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13410
13411 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13412
42443a47
JL
134132012-08-13 Jeff Law <law@redhat.com>
13414
13415 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13416 null byte in the output string.
13417
121dce05
JM
134182012-08-10 Joseph Myers <joseph@codesourcery.com>
13419
13420 * sysdeps/unix/sysv/linux/kernel-features.h
13421 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13422 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13423 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13424 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13425 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13426 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13427 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13428
bf51f568
JL
134292012-08-09 Jeff Law <law@redhat.com>
13430
13431 [BZ #13939]
13432 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13433 When avoid_arena is set, don't retry in the that arena. Pick the
13434 next one, whatever it might be.
13435 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13436 (arena_lock): Pass in new parameter to arena_get2.
13437 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13438 arena_get2.
13439 (__libc_malloc): Unify retrying after main arena failure with
13440 __libc_memalign version.
13441 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13442
f85fa270
L
134432012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13444
13445 [BZ #14166]
13446 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13447 to __redirect_strstr.
13448 (__strstr_sse42): Use typeof __redirect_strstr.
13449 (__strstr_ia32): Likewise.
13450 (__libc_strstr): New prototype.
13451 (strstr): Renamed to ...
13452 (__libc_strstr): This.
13453 (strstr): New strong alias of __libc_strstr.
13454 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13455 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13456 __redirect_time.
13457 Include <time.h>.
13458 (__libc_time): New prototype.
13459 (time_ifunc): Replace time with __libc_time.
13460 (time): New strong alias and hidden definition of __libc_time.
13461 (__GI_time): Remove strong alias.
13462 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13463 Include <stddef.h>.
13464 (memmove): Redefined to __redirect_memmove.
13465 (__memmove_sse2): Use typeof __redirect_memmove.
13466 (__memmove_ssse3): Likewise.
13467 (__memmove_ssse3_back): Likewise.
13468 (__libc_memmove): New prototype.
13469 (memmove): Renamed to ...
13470 (__libc_memmove): This.
13471 (memmove): New strong alias of __libc_memmove.
13472
33b4a91e
MS
134732012-08-08 Mark Salter <msalter@redhat.com>
13474
13475 * elf/elf.h
13476 (R_MN10300_TLS_GD): Define.
13477 (R_MN10300_TLS_LD): Likewise.
13478 (R_MN10300_TLS_LDO): Likewise.
13479 (R_MN10300_TLS_GOTIE): Likewise.
13480 (R_MN10300_TLS_IE): Likewise.
13481 (R_MN10300_TLS_LE): Likewise.
13482 (R_MN10300_TLS_DTPMOD): Likewise.
13483 (R_MN10300_TLS_DTPOFF): Likewise.
13484 (R_MN10300_TLS_TPOFF): Likewise.
13485 (R_MN10300_SYM_DIFF): Likewise.
13486 (R_MN10300_ALIGN): Likewise.
13487 (R_MN10300_NUM): Update.
13488
b36137f1
JM
134892012-08-08 Joseph Myers <joseph@codesourcery.com>
13490
13491 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13492 Remove.
13493
cdd915fd
RM
134942012-08-08 Roland McGrath <roland@hack.frob.com>
13495
a2433aac
RM
13496 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13497
cdd915fd
RM
13498 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13499 sysdeps/unix -> sysdeps/posix move.
13500 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13501
bf9b740a
AM
135022012-08-07 Allan McRae <allan@archlinux.org>
13503
13504 [BZ #14303]
13505 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13506 (SUNOS_CPP): Likewise.
13507 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13508 not found.
13509 (open_input): Call CPP using execvp.
13510
93df14ee
JM
135112012-08-07 Joseph Myers <joseph@codesourcery.com>
13512
13513 * sysdeps/unix/sysv/linux/kernel-features.h
13514 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13515 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13516 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13517 (__ASSUME_WAITID_SYSCALL): Likewise.
13518 * sysdeps/unix/sysv/linux/dl-execstack.c
13519 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13520 code unconditional.
13521 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13522 conditional code.
13523 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13524 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13525 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13526 code.
13527 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13528 unconditional.
13529 [__ASSUME_WAITID_SYSCALL]: Likewise.
13530 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13531
d34689de
RM
135322012-08-07 Roland McGrath <roland@hack.frob.com>
13533
a281decc
RM
13534 * sysdeps/unix/closedir.c: Renamed to ...
13535 * sysdeps/posix/closedir.c: ... here.
13536 * sysdeps/unix/dirfd.c: Renamed to ...
13537 * sysdeps/posix/dirfd.c: ... here.
13538 * sysdeps/unix/dirstream.h: Renamed to ...
13539 * sysdeps/posix/dirstream.h: ... here.
13540 * sysdeps/unix/fdopendir.c: Renamed to ...
13541 * sysdeps/posix/fdopendir.c: ... here.
13542 * sysdeps/unix/opendir.c: Renamed to ...
13543 * sysdeps/posix/opendir.c: ... here.
13544 * sysdeps/unix/readdir.c: Renamed to ...
13545 * sysdeps/posix/readdir.c: ... here.
13546 * sysdeps/unix/readdir_r.c: Renamed to ...
13547 * sysdeps/posix/readdir_r.c: ... here.
13548 * sysdeps/unix/rewinddir.c: Renamed to ...
13549 * sysdeps/posix/rewinddir.c: ... here.
13550 * sysdeps/unix/seekdir.c: Renamed to ...
13551 * sysdeps/posix/seekdir.c: ... here.
13552 * sysdeps/unix/telldir.c: Renamed to ...
13553 * sysdeps/posix/telldir.c: ... here.
13554 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13555 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13556 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13557 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13558
22895b47
RM
13559 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13560 * bits/fcntl.h: ... here.
13561
707a53b6
RM
13562 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13563 not 0.
13564 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13565 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13566 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13567 (struct flock): Move l_start, l_len to the beginning.
13568 Use __pid_t for l_pid.
13569 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13570 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13571 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13572 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13573 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13574 [__USE_LARGEFILE64] (struct flock64): New type.
13575 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13576
f0bd3e25
RM
13577 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13578 * bits/dirent.h: ... here.
13579
d34689de
RM
13580 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13581 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13582
6dad2c06
JM
135832012-08-07 Joseph Myers <joseph@codesourcery.com>
13584
13585 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13586 Change from 2.6.0 to 2.6.16.
13587 * sysdeps/unix/sysv/linux/configure: Regenerated.
13588 * sysdeps/unix/sysv/linux/kernel-features.h
13589 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13590 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13591 version.
13592 (__ASSUME_UTIMES): Likewise.
13593 (__ASSUME_CLONE_STOPPED): Remove.
13594 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13595 architectures, not kernel version.
13596 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13597 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13598 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13599 (__ASSUME_WAITID_SYSCALL): Likewise.
13600 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13601 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13602 * README: State 2.6.16 as minimum Linux kernel version. Do not
13603 refer to older versions.
13604
03af9520
RM
136052012-08-06 Roland McGrath <roland@hack.frob.com>
13606
8e49df1d
RM
13607 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13608 Define alphasort64 as an alias.
13609 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13610 Define versionsort64 as an alias.
13611 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13612 Define scandir64 as an alias.
13613 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13614 Define scandirat64 as an alias.
13615 * dirent/alphasort64.c (alphasort64):
13616 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13617 * dirent/versionsort64.c: Likewise.
13618 * dirent/scandir64.c: Likewise.
13619 * dirent/scandirat64.c: Likewise.
13620 * sysdeps/wordsize-64/alphasort.c: File removed.
13621 * sysdeps/wordsize-64/alphasort64.c: File removed.
13622 * sysdeps/wordsize-64/scandir.c: File removed.
13623 * sysdeps/wordsize-64/scandir64.c: File removed.
13624 * sysdeps/wordsize-64/scandirat.c: File removed.
13625 * sysdeps/wordsize-64/scandirat64.c: File removed.
13626 * sysdeps/wordsize-64/versionsort.c: File removed.
13627 * sysdeps/wordsize-64/versionsort64.c: File removed.
13628 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13629 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
13630 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
13631 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
13632 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
13633 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
13634 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
13635 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
13636
13637 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
13638 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13639 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
13640 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13641 [defined __arch64__ || defined __sparcv9]
13642 (__INO_T_MATCHES_INO64_T): New macro.
13643 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13644 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
13645 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
13646 * sysdeps/unix/sysv/linux/bits/dirent.h
13647 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
13648 (_DIRENT_MATCHES_DIRENT64): New macro.
13649
03af9520
RM
13650 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
13651 Define lockf64 as an alias.
13652 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
13653 Define fseeko64 as an alias.
13654 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
13655 Define ftello64 as an alias.
13656 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
13657 Define _IO_fgetpos64 and fgetpos64 as aliases.
13658 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
13659 Define _IO_fsetpos64 and fsetpos64 as aliases.
13660 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
13661 Conditionalize body on this.
13662 * libio/fseeko64.c: Likewise.
13663 * libio/ftello64.c: Likewise.
13664 * libio/iofgetpos64.c: Likewise.
13665 * libio/iofsetpos64.c: Likewise.
13666 * sysdeps/wordsize-64/lockf.c: File removed.
13667 * sysdeps/wordsize-64/lockf64.c: File removed.
13668 * sysdeps/wordsize-64/fseeko.c: File removed.
13669 * sysdeps/wordsize-64/fseeko64.c: File removed.
13670 * sysdeps/wordsize-64/ftello.c: File removed.
13671 * sysdeps/wordsize-64/ftello64.c: File removed.
13672 * sysdeps/wordsize-64/iofgetpos.c: File removed.
13673 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
13674 * sysdeps/wordsize-64/iofsetpos.c: File removed.
13675 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
13676 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
13677 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
13678 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
13679 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
13680 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
13681 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
13682 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
13683 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
13684 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
13685 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
13686
13687 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13688 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
13689 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
13690 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13691 [defined __arch64__ || defined __sparcv9]
13692 (__OFF_T_MATCHES_OFF64_T): New macro.
13693 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
13694 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
13695 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
13696 (__OFF_T_MATCHES_OFF64_T): New macro.
13697
c5757acd
L
136982012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13699
13700 * stdlib/secure-getenv.c (__secure_getenv): Replace
13701 GLIBC_2_16 with GLIBC_2_17.
13702
3a31811e
L
137032012-08-06 H.J. Lu <hongjiu.lu@intel.com>
13704
13705 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
13706 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
13707
faa2bccb
DM
137082012-08-03 David S. Miller <davem@davemloft.net>
13709
13710 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13711
85fe1997
JM
137122012-08-03 Joseph Myers <joseph@codesourcery.com>
13713
13714 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
13715 Remove.
13716 (__ASSUME_CORRECT_SI_PID): Likewise.
13717 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
13718 (__ASSUME_TMPFS_NAME): Likewise.
13719 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
13720 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
13721 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
13722 (HAVE_AUX_SECURE): Make definition unconditional.
13723 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
13724 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
13725
4f75b7a0
RM
137262012-08-03 Roland McGrath <roland@hack.frob.com>
13727
13728 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
13729 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
13730 * sysdeps/mach/hurd/eloop-threshold.h: New file.
13731 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
13732 __eloop_threshold instead of SYMLOOP_MAX.
13733
13734 * sysdeps/generic/eloop-threshold.h: New file.
13735 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
13736 of MAXSYMLINKS.
13737 * elf/chroot_canon.c (chroot_canon): Likewise.
13738
7aab07e4
JM
137392012-08-03 Joseph Myers <joseph@codesourcery.com>
13740
13741 [BZ #13717]
13742 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13743 Change to 2.6.0 everywhere.
13744 * sysdeps/unix/sysv/linux/configure: Regenerated.
13745 * sysdeps/unix/sysv/linux/kernel-features.h
13746 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
13747 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
13748 kernel versions.
13749 (__ASSUME_POSIX_TIMERS): Define unconditionally.
13750 (__ASSUME_FUTEX_REQUEUE): Remove.
13751 (__ASSUME_STATFS64): Define unconditionally.
13752 (__ASSUME_AT_SECURE): Likewise.
13753 (__ASSUME_CORRECT_SI_PID): Likewise.
13754 (__ASSUME_TGKILL): Define without depending on kernel version for
13755 i386.
13756 (__ASSUME_UTIMES): Likewise.
13757 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
13758 kernel version.
13759 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
13760 (__ASSUME_TMPFS_NAME): Likewise.
13761 * README: Update reference to Linux kernel versions.
13762
b67e9372
MP
137632012-08-02 Marek Polacek <polacek@redhat.com>
13764
1f529f7d 13765 [BZ# 14150]
b67e9372
MP
13766 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
13767 libc_cv_asm_type_prefix with %.
13768 * configure: Regenerated.
d2441631
RM
13769 * include/libc-symbols.h: Remove comment about
13770 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
13771 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
13772 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
13773 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
13774 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
13775 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
13776 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
13777 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
13778 * elf/tst-unique2mod1.c: Likewise.
13779 * elf/tst-unique1mod2.c: Likewise.
13780 * elf/tst-unique1mod1.c: Likewise.
13781 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
13782 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
13783 Replace ASM_TYPE_DIRECTIVE with .type.
13784 * sysdeps/s390/s390-64/sysdep.h: Likewise.
13785 * sysdeps/i386/sysdep.h: Likewise.
13786 * sysdeps/x86_64/sysdep.h: Likewise.
13787 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
13788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13789 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 13790 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
13791 * sysdeps/powerpc/powerpc32/sysdep.h:
13792 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
13793 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
13794 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
13795 * sysdeps/i386/fpu/e_powf.S: Likewise.
13796 * sysdeps/i386/fpu/e_expl.S: Likewise.
13797 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
13798 * sysdeps/i386/fpu/e_acosh.S: Likewise.
13799 * sysdeps/i386/fpu/e_pow.S: Likewise.
13800 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
13801 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
13802 * sysdeps/i386/fpu/s_expm1.S: Likewise.
13803 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
13804 * sysdeps/i386/fpu/e_log2.S: Likewise.
13805 * sysdeps/i386/fpu/e_log2l.S: Likewise.
13806 * sysdeps/i386/fpu/e_scalb.S: Likewise.
13807 * sysdeps/i386/fpu/e_powl.S: Likewise.
13808 * sysdeps/i386/fpu/e_log10f.S: Likewise.
13809 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
13810 * sysdeps/i386/fpu/e_logl.S: Likewise.
13811 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
13812 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
13813 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
13814 * sysdeps/i386/fpu/e_log2f.S: Likewise.
13815 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
13816 * sysdeps/i386/fpu/e_log.S: Likewise.
13817 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
13818 * sysdeps/i386/fpu/e_logf.S: Likewise.
13819 * sysdeps/i386/fpu/e_log10l.S: Likewise.
13820 * sysdeps/i386/fpu/e_atanh.S: Likewise.
13821 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
13822 * sysdeps/i386/fpu/e_log10.S: Likewise.
13823 * sysdeps/i386/fpu/s_frexp.S: Likewise.
13824 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
13825 * sysdeps/i386/fpu/s_asinh.S: Likewise.
13826 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
13827 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
13828 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
13829 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
13830 * sysdeps/i386/i686/strtok.S: Likewise.
13831 * sysdeps/i386/i386-mcount.S: Likewise.
13832 * sysdeps/i386/strtok.S: Likewise.
13833 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
13834 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
13835 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
13836 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
13837 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
13838 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
13839 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
13840 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
13841 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
13842 * sysdeps/x86_64/_mcount.S: Likewise.
13843 * sysdeps/x86_64/strtok.S: Likewise.
13844 * sysdeps/sh/_mcount.S: Likewise.
13845
2747bf9a
RM
138462012-08-01 Roland McGrath <roland@hack.frob.com>
13847
13848 * libio/iofopen.c: Include <fcntl.h>.
13849 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
13850 (_IO_fopen64, fopen64): Define as aliases.
13851 * libio/iofopen64.c: Include <fcntl.h>.
13852 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
13853 Conditionalize body on this.
13854 * sysdeps/wordsize-64/iofopen.c: File removed.
13855 * sysdeps/wordsize-64/iofopen64.c: File removed.
13856
3fb791b8
MP
138572012-08-01 Marek Polacek <polacek@redhat.com>
13858
13859 * libc/Makeconfig: Use elf in place of binfmt-subdir.
13860 Use dlfcn directly instead of a variable.
13861 (binfmt-subdir): Do not define.
13862 (dlfcn): Likewise.
13863
a9f1039f
JM
138642012-08-01 Joseph Myers <joseph@codesourcery.com>
13865
23bddc06
JM
13866 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
13867 Remove all definitions.
13868 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
13869 <kernel-features.h>.
13870 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13871 (miss_F_GETOWN_EX): Remove all definitions.
13872 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
13873 macro definition.
13874 [!__ASSUME_FCNTL64]: Remove conditional code.
13875 [__ASSUME_FCNTL64]: Make code unconditional.
13876 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
13877 <kernel-features.h>.
13878 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
13879 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
13880 (lockf64) [__NR_fcntl64]: Make code unconditional.
13881 (lockf64) [__ASSUME_FCNTL64]: Likewise.
13882
a9f1039f
JM
13883 * sysdeps/unix/sysv/linux/kernel-features.h
13884 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
13885 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
13886 Make code unconditional.
13887 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13888 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
13890 [__NR_vfork]: Make code unconditional.
13891 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13892 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
13894 [__NR_vfork]: Make code unconditional.
13895 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
13896 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
13897
09c0ee5f
RM
138982012-08-01 Roland McGrath <roland@hack.frob.com>
13899
48aec5b9
RM
13900 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
13901 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
13902
cd97c966
RM
13903 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13904 Define mkstemp64 as an alias.
3f55550c
RM
13905 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13906 Define mkstemps64 as an alias.
cd97c966
RM
13907 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13908 Define mkostemp64 as an alias.
b8625cfc
RM
13909 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
13910 Define mkostemps64 as an alias.
cd97c966
RM
13911 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
13912 Conditionalize body on this.
13913 * misc/mkostemp64.c: Likewise.
b8625cfc 13914 * misc/mkostemps64.c: Likewise.
3f55550c 13915 * misc/mkstemps64.c: Likewise.
cd97c966
RM
13916 * sysdeps/wordsize-64/mkstemp64.c: File removed.
13917 * sysdeps/wordsize-64/mkostemp64.c: File removed.
13918 * sysdeps/wordsize-64/mkostemp.c: File removed.
13919 * sysdeps/wordsize-64/mkstemp.c: File removed.
13920 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
13921 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
13922 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
13923 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
13924
09c0ee5f
RM
13925 [BZ #14138]
13926 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
13927 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
13928 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
13929 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
13930
13931 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
13932 compat_symbol macros from <shlib-compat.h> rather than the underlying
13933 default_symbol_version and symbol_version macros, so that DEFAULT
13934 lines in shlib-versions are respected.
13935 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
13936
7e66ee51
FW
139372012-08-01 Florian Weimer <fweimer@redhat.com>
13938
13939 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
13940 Declare with warn_unused_result.
13941 (setgid, setregid, setegid, setresgid): Likewise.
13942 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
13943 Likewise.
13944 * WUR-REPORT: Remove set*id functions.
13945
d2a54255
PT
139462012-07-31 Pino Toscano <toscano.pino@tiscali.it>
13947
13948 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
13949
7ecdb005
RM
139502012-07-31 Roland McGrath <roland@hack.frob.com>
13951
b4180a5e 13952 [BZ #10191]
789bd351
RM
13953 * include/sys/socket.h (__libc_accept, __libc_accept4):
13954 Add attribute_hidden.
13955 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
13956
40ce302d
RM
13957 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
13958 use of PTR_MANGLE.
13959 * inet/getnetgrent_r.c (setup): Likewise.
13960
7ecdb005
RM
13961 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
13962
e2eabb2c
DM
139632012-07-31 David S. Miller <davem@davemloft.net>
13964
13965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13966
d0419dbf
JM
139672012-07-31 Joseph Myers <joseph@codesourcery.com>
13968
13969 [BZ #13629]
13970 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
13971 value between 1.0 and 2.0 and smaller part has absolute value less
13972 than 1.0.
13973 * math/s_clog10.c (__clog10): Likewise.
13974 * math/s_clog10f.c (__clog10f): Likewise.
13975 * math/s_clog10l.c (__clog10l): Likewise.
13976 * math/s_clogf.c (__clogf): Likewise.
13977 * math/s_clogl.c (__clogl): Likewise.
13978 * math/libm-test.inc (clog_test): Add more tests.
13979 (clog10_test): Likewise.
13980 * sysdeps/i386/fpu/libm-test-ulps: Update.
13981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13982
2bc13872
FW
139832012-07-31 Florian Weimer <fweimer@redhat.com>
13984
13985 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
13986 Exit with zero in case no suitable GID is found, and write a
13987 message to standard error.
13988
bea9b193
RM
139892012-07-30 Roland McGrath <roland@hack.frob.com>
13990
13991 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
13992 rather than to 1.
13993 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
13994 (MAXPATHLEN): Removed.
13995 (NOGROUP, NODEV): New macros.
13996 (setbit, clrbit, isset, isclr): New macros.
13997 (howmany, roundup, powerof2): New macros.
13998 (DEV_BSIZE): New macro.
13999
14000 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14001 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14002
14003 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14004 definition on [!__NO_LONG_DOUBLE_MATH].
14005
14006 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14007 PTR_MANGLE and PTR_DEMANGLE.
14008
14009 * socket/accept4.c (accept4): Rename to __libc_accept4.
14010 Define accept4 as a weak alias.
14011
14012 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14013 on [_DIRENT_HAVE_D_TYPE].
14014 * io/ftw.c (ftw_dir): Likewise.
14015
14016 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14017
14018 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14019
14020 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14021 Use the BSD numbers rather than the arbitrary ones we had.
14022 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14023 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14024 (SIGXCPU, SIGXFSZ): New macros.
14025 (_NSIG): Now 32.
14026
14027 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14028 initializer on [_LIBC_REENTRANT].
14029
14030 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14031 definitions inside [_POSIX_MAPPED_FILES].
14032
14033 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14034
14035 * dirent/opendir.c: Include <fcntl.h>.
14036
14037 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14038 (__libc_getspecific): Likewise.
14039 (__libc_key_create): Likewise.
14040
14041 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14042 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14043 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14044 (tmpfile64): Define as alias.
14045 * sysdeps/wordsize-64/tmpfile.c: File removed.
14046 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14047 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14048 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14049
14050 * stdio-common/vfscanf.c: Include <stdbool.h>.
14051 * nss/makedb.c: Likewise.
14052 * stdio-common/_i18n_number.h: Likewise.
14053 * argp/argp-help.c: Likewise.
14054 * posix/wordexp.c: Likewise.
14055 * sysdeps/posix/spawni.c: Likewise.
14056 * nss/nss_files/files-initgroups.c: Likewise.
14057 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14058 * nss/nss_files/files-initgroups.c: Likewise.
14059 * nss/nss_db/db-netgrp.c: Likewise.
14060 * nss/nss_db/db-initgroups.c: Likewise.
14061 * io/fchmodat.c: Include <sys/stat.h>.
14062
14063 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14064 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14065
14066 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14067 [HAVE_MMAP].
14068
14069 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14070 Add multiple inclusion protection.
14071
e5abc686
DM
140722012-07-27 David S. Miller <davem@davemloft.net>
14073
14074 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14075
815e6fa3
GB
140762012-07-27 Gary Benson <gbenson@redhat.com>
14077
14078 [BZ #14298]
14079 * elf/rtld.c: Include <stap-probe.h>.
14080 (dl_main): Added static probes "init_start" and "init_complete".
14081 * elf/dl-load.c: Include <stap-probe.h>.
14082 (lose): Take new parameter "nsid".
14083 Added static probe "map_failed".
14084 (_dl_map_object_from_fd): Pass namespace id to lose.
14085 Added static probe "map_start".
14086 (open_verify): Pass namespace id to lose.
14087 * elf/dl-open.c: Include <stap-probe.h>.
14088 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14089 and "reloc_complete".
14090 * elf/dl-close.c: Include <stap-probe.h>.
14091 (_dl_close_worker): Added static probes "unmap_start" and
14092 "unmap_complete".
14093 * elf/rtld-debugger-interface.txt: New file documenting the above.
14094
9f98c16c
RM
140952012-07-26 Roland McGrath <roland@hack.frob.com>
14096
14097 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14098 rather than a string variable.
14099 * sunrpc/rpc_main.c (h_output): Likewise.
14100 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14101
f3c22df3
PT
141022012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14103
14104 * inet/check_native.c: New file.
14105
3129cfc6
JM
141062012-07-26 Joseph Myers <joseph@codesourcery.com>
14107
da865e95
JM
14108 [BZ #13629]
14109 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14110 if larger part has absolute value 1.0.
14111 * math/s_clog10.c (__clog10): Likewise.
14112 * math/s_clog10f.c (__clog10f): Likewise.
14113 * math/s_clog10l.c (__clog10l): Likewise.
14114 * math/s_clogf.c (__clogf): Likewise.
14115 * math/s_clogl.c (__clogl): Likewise.
14116 * math/libm-test.inc (clog_test): Add more tests.
14117 (clog10_test): Likewise.
14118 * sysdeps/i386/fpu/libm-test-ulps: Update.
14119 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14120
3129cfc6
JM
14121 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14122 (pltexit): Likewise.
14123 (La_regs): Likewise.
14124 (La_retval): Likewise.
14125 (int_retval): Likewise.
14126 Update #error for removed macros to refer only to definitions in
14127 tst-audit.h.
14128 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14129 macro.
14130 (pltexit): Likewise.
14131 (La_regs): Likewise.
14132 (La_retval): Likewise.
14133 (int_retval): Likewise.
14134 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14135 macro.
14136 (pltexit): Likewise.
14137 (La_regs): Likewise.
14138 (La_retval): Likewise.
14139 (int_retval): Likewise.
14140 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14141 macro.
14142 (pltexit): Likewise.
14143 (La_regs): Likewise.
14144 (La_retval): Likewise.
14145 (int_retval): Likewise.
14146 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14147 macro.
14148 (pltexit): Likewise.
14149 (La_regs): Likewise.
14150 (La_retval): Likewise.
14151 (int_retval): Likewise.
14152 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14153 macro.
14154 (pltexit): Likewise.
14155 (La_regs): Likewise.
14156 (La_retval): Likewise.
14157 (int_retval): Likewise.
14158 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14159 macro.
14160 (pltexit): Likewise.
14161 (La_regs): Likewise.
14162 (La_retval): Likewise.
14163 (int_retval): Likewise.
14164 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14165 macro definitions in tst-audit.h.
14166 * sysdeps/i386/tst-audit.h: New file.
14167 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14168 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14169 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14170 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14171 * sysdeps/sh/tst-audit.h: Likewise.
14172 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14173 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14174 * sysdeps/x86_64/tst-audit.h: Likewise.
14175
bfc07087
AJ
141762012-07-26 Andreas Jaeger <aj@suse.de>
14177
b1b2aaf8
AJ
14178 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14179 ptrace.
14180
14181 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14182 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14183 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14184 PTRACE_O_MASK.
14185 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14186 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14187 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14188
bfc07087
AJ
14189 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14190 value.
14191
14192 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14193 _sigsys.
14194 (si_call_addr, si_syscall, si_arch): Define new macro.
14195 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14196 _sigsys.
14197 (si_call_addr, si_syscall, si_arch): Define new marcro.
14198 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14199 _sigsys.
14200 (si_call_addr, si_syscall, si_arch): Define new macro.
14201 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14202 _sigsys.
14203 (si_call_addr, si_syscall, si_arch): Define new macro.
14204
89b4b02f
JM
142052012-07-25 Joseph Myers <joseph@codesourcery.com>
14206
14207 [BZ #13717]
14208 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14209 Change to 2.4.21 where previously 2.4.1.
14210 * sysdeps/unix/sysv/linux/configure: Regenerated.
14211 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14212 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14213 Linux kernel version.
14214 (__ASSUME_STD_AUXV): Remove.
14215 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14216 kernel version.
14217 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14218 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14219 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14220 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14221 (__ASSUME_NETLINK_SUPPORT): Likewise.
14222 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14223 (__no_netlink_support): Remove conditional definition.
14224 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14225 Remove.
14226 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14227 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14228 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14229 (if_nameindex_ioctl): Remove.
14230 (if_nameindex_netlink): Do not handle __no_netlink_support.
14231 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14232 code.
14233 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14234 Remove conditional code.
14235 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14236 code.
14237 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14238 unconditional.
14239 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14240 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14241 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14242 Remove.
14243 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14244 [!__ASSUME_STD_AUXV]: Remove conditional code.
14245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14246 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14247 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14249 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14250 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14251 code.
14252 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14254 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14255 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14256 conditional code.
14257 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14259 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14260 code.
14261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14262 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14263 conditional code.
14264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14265 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14266 code unconditional.
14267 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14268 conditional code.
14269 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14270 unconditional.
14271 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14272 conditional code.
14273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14274 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14275 unconditional.
14276 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14277 conditional code.
14278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14279 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14280 code unconditional.
14281 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14282 conditional code.
14283 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14284 unconditional.
14285 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14286 conditional code.
14287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14288 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14289 code unconditional.
14290 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14291 conditional code.
14292 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14293 unconditional.
14294 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14295 conditional code.
14296
842a39cd
AS
142972012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14298
14299 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14300 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14301 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14302 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14303 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14304 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14305 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14306 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14307 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14308 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14309 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14310 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14311 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14312 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14313 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14314 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14315 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14316 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14317 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14318 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14319 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14320 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14321 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14322
84b3fd84
FW
143232012-07-25 Florian Weimer <fweimer@redhat.com>
14324
14325 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14326 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14327 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14328 Introduce __libc_secure_getenv.
0c7936d5
FW
14329 * stdlib/Versions (2.17): Add secure_getenv
14330 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14331 * stdlib/secure-getenv.c: Rename __secure_getenv to
14332 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14333 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14334 * stdlib/tst-secure-getenv.c: New.
14335 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14336 * manual/startup.texi (Environment Access): Document
14337 secure_getenv.
84b3fd84
FW
14338 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14339 __libc_secure_getenv.
14340 * inet/ruserpass.c (ruserpass): Likewise.
14341 * malloc/mtrace.c (mtrace): Likewise.
14342 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14343 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14344 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14345 * sysdeps/posix/tempname.c: Likewise. Evaluate
14346 HAVE_SECURE_GETENV.
14347 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14348 __secure_getenv to __libc_secure_getenv.
84b3fd84 14349 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14351 Likewise.
14352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14353 Likewise.
14354 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14355 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14356 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14357 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14359 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14361
56e49b71
JM
143622012-07-25 Joseph Myers <joseph@codesourcery.com>
14363
14364 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14365 (struct La_i86_retval): Likewise.
14366 (struct La_x86_64_regs): Likewise.
14367 (struct La_x86_64_retval): Likewise.
14368 (struct La_x32_regs): Likewise.
14369 (struct La_x32_retval): Likewise.
14370 (struct La_ppc32_regs): Likewise.
14371 (struct La_ppc32_retval): Likewise.
14372 (struct La_ppc64_regs): Likewise.
14373 (struct La_ppc64_retval): Likewise.
14374 (struct La_sh_regs): Likewise.
14375 (struct La_sh_retval): Likewise.
14376 (struct La_s390_32_regs): Likewise.
14377 (struct La_s390_32_retval): Likewise.
14378 (struct La_s390_64_regs): Likewise.
14379 (struct La_s390_64_retval): Likewise.
14380 (struct La_sparc32_regs): Likewise.
14381 (struct La_sparc32_retval): Likewise.
14382 (struct La_sparc64_regs): Likewise.
14383 (struct La_sparc64_retval): Likewise.
14384 (struct audit_ifaces): Remove architecture-specific pltenter and
14385 pltexit members.
14386 * sysdeps/i386/ldsodefs.h: New file.
14387 * sysdeps/powerpc/ldsodefs.h: Likewise.
14388 * sysdeps/s390/ldsodefs.h: Likewise.
14389 * sysdeps/sh/ldsodefs.h: Likewise.
14390 * sysdeps/sparc/ldsodefs.h: Likewise.
14391 * sysdeps/x86_64/ldsodefs.h: Likewise.
14392
354691b7
MP
143932012-07-25 Marek Polacek <polacek@redhat.com>
14394
14395 [BZ #6808]
14396 * math/libm-test.inc (yn_test): Add another test.
14397 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14398 to ERANGE when the result is +-Inf.
14399 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14400 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14401 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14402 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14403
bf9e2071
JM
144042012-07-24 Joseph Myers <joseph@codesourcery.com>
14405
14406 * conform/data/time.h-data (NULL): Use macro-constant. Require
14407 equal to 0.
14408 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14409 clock_t.
14410 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14411
57633811
TS
144122012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14413
14414 * configure.in <sysdeps resolving>: Correct printing
14415 Implies_before.
14416 * configure: Regenerate.
14417
c23c33b0
TS
144182012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14419
14420 * math/w_ilogb.c: Include <limits.h>.
14421 * math/w_ilogbl.c: Likewise.
14422
b5982523
JM
144232012-07-20 Joseph Myers <joseph@codesourcery.com>
14424
14425 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14426 va_copy. Document allowing for unavailable va_copy only as
14427 pre-C99 compatibility.
14428 * manual/string.texi (Copying and Concatenation): Use va_copy
14429 instead of __va_copy in concat example.
14430
ac4ea442
PT
144312012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14432
14433 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14434 (__sendto): Use create_address_port. Initialize APORT and deallocate
14435 it if not null.
14436
f98eafbd
PT
14437 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14438 with O_NOLINK passed to __file_name_lookup.
14439
898c7aab
PT
14440 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14441 with O_NOLINK passed to __file_name_lookup.
14442
0ced335a
PT
14443 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14444 negative N or less than NGIDS.
14445
b3404dbd
PT
14446 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14447 type to string_t. Set ERANGE as errno and return it if NAME is not big
14448 enough. Use memcpy instead of strncpy.
14449
0f48659e
JM
144502012-07-20 Joseph Myers <joseph@codesourcery.com>
14451
14452 * elf/Makefile (check-data): Remove.
14453 (localplt.data): New vpath directive.
14454 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14455 instead of $(check-data).
14456 * scripts/data/localplt-generic.data: Move to ...
14457 * sysdeps/generic/localplt.data: ... here.
14458 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14459 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14460 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14462 ... here.
14463 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14465 ... here.
14466 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14468 ... here.
14469 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14470 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14471 ... here.
14472 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14473 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14474 ... here.
14475 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14477 ... here.
14478
d37cbdaa
AZ
144792012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14480
14481 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14482 PPC32 and PPC64 files.
14483 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14484 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14485
46f85fc2
AK
144862012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14487
14488 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14489 __makecontext_ret to ...
14490 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14491 ... here and call exit if uc_link is NULL. New file.
14492 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14493 __makecontext_ret.S.
14494 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14495 __makecontext_ret to ...
14496 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14497 ... here and call exit if uc_link is NULL. New file.
14498 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14499 __makecontext_ret.S.
14500
08f43f9b
AK
145012012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14502
14503 * elf/elf.h (R_390_IRELATIVE): New definition.
14504 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14505 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14506 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14507 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14508 (elf_machine_lazy_rel): Likewise.
14509 * sysdeps/s390/dl-irel.h: New file.
14510 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14511 * sysdeps/s390/s390-64/memset.S: New asm code.
14512 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14513 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14514 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14515 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14516 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14517 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14518 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14519 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14520 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14521 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14522 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14523 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14524 * sysdeps/s390/s390-32/memset.S: New asm code.
14525 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14526
3b05db33
MP
145272012-07-17 Marek Polacek <polacek@redhat.com>
14528
14529 [BZ #14349]
14530 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14531 * sysdeps/s390/s390-64/configure.in: Likewise.
14532 * sysdeps/sparc/configure.in: Likewise.
14533 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14534 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14535 * sysdeps/i386/configure.in: Likewise.
14536 * sysdeps/x86_64/configure.in: Likewise.
14537 * sysdeps/sh/configure.in: Likewise.
14538 * sysdeps/s390/s390-32/configure: Regenerated.
14539 * sysdeps/s390/s390-64/configure: Likewise.
14540 * sysdeps/x86_64/configure: Likewise.
14541 * sysdeps/sh/configure: Likewise.
14542 * sysdeps/powerpc/powerpc64/configure: Likewise.
14543 * sysdeps/powerpc/powerpc32/configure: Likewise.
14544 * sysdeps/sparc/configure: Likwise.
14545 * sysdeps/i386/configure: Likewise.
14546
a66877c6
MP
14547 * elf/dl-open.c: Comment fixes.
14548
cfc82fd8
JM
145492012-07-17 Joseph Myers <joseph@codesourcery.com>
14550
bd29910a
JM
14551 * Makefile [CXX] (check-data): Remove.
14552 [CXX] (c++-types.data): New vpath directive.
14553 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14554 vpath. Do not allow for C++ type data being missing.
14555 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14556 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14557 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14558 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14559 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14560 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14561 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14563 ... here.
14564 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14566 ... here.
14567 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14568 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14569 ... here.
14570 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14571 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14572 ... here.
14573 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14574 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14575 ... here.
14576 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14577 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14578 ... here.
14579 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14580 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14581 ... here.
14582 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14583 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14584
cfc82fd8
JM
14585 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14586 definitions to architecture-specific files.
14587 (TLS_IE): Likewise.
14588 (TLS_LD): Likewise.
14589 (TLS_GD): Likewise.
14590 * sysdeps/i386/tls-macros.h: New file.
14591 * sysdeps/powerpc/tls-macros.h: Likewise.
14592 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14593 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14594 * sysdeps/sh/tls-macros.h: Likewise.
14595 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14596 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14597 * sysdeps/x86_64/tls-macros.h: Likewise.
14598
f7db3170
TS
145992012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14600
07cbfc23
TS
14601 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14602 zero value for regular exit case.
14603
f7db3170
TS
14604 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14605 (__start_context): Preserve zero value for regular exit case.
14606
dc97c227
TS
146072012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14608 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14609
14610 * manual/setjmp.texi (setcontext): Clarify normal process
14611 termination when uc_link is the null pointer.
14612 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14613 exit call.
14614
d0cd7d02
AS
146152012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14616
14617 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14618 preprocessor. Test for each exception mask separately.
14619
dd318934
AJ
146202012-07-16 Andreas Jaeger <aj@suse.de>
14621
14622 * po/ru.po: Update from translation team.
14623
8048311a
JM
146242012-07-15 Joseph Myers <joseph@codesourcery.com>
14625
14626 * conform/data/string.h-data (NULL): Use macro-constant. Require
14627 equal to 0.
14628 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14629 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
14630 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
14631 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
14632 [ISO || ISO99 || ISO11] (*_t): Do not allow.
14633
b637d46e
AJ
146342012-07-13 Andreas Jaeger <aj@suse.de>
14635
14636 * po/fr.po: Update from translation team.
14637
541428fe
MP
146382012-07-12 Marek Polacek <polacek@redhat.com>
14639
14640 [BZ #14173]
14641 * math/libm-test.inc (yn_test): Add test for BZ #14173.
14642 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
14643 loop condition.
14644
ec332e94
JM
146452012-07-12 Joseph Myers <joseph@codesourcery.com>
14646
14647 [BZ #13717]
14648 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14649 Change to 2.4.1 where previously 2.4.0.
14650 * sysdeps/unix/sysv/linux/configure: Regenerated.
14651 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
14652 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
14653 version.
14654 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
14655 (__ASSUME_AT_CLKTCK): Remove.
14656 (__ASSUME_AT_PAGESIZE): Likewise.
14657 (__ASSUME_AT_XID): Likewise.
14658 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
14659 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
14660 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
14661 unconditionally.
14662 (HAVE_AUX_PAGESIZE): Likewise.
14663 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
14664 [__ASSUME_AT_CLKTCK]: Make code unconditional.
14665 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
14666
7b6e99be
JB
146672012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
14668
14669 [BZ #14307]
14670 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
14671 the temporary buffer used to invoke __gethostbyname2_r,
14672 __gethostbyaddr_r and gethostbyname4_r to make room for struct
14673 host_data / struct gaih_addrtuple.
14674 * resolv/nss_dns/dns-host.c (global scope): Move definition of
14675 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
14676 header file nss/nsswitch.h.
14677 * nss/nsswitch.h (global scope): Add definition of implementation
14678 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
14679 resolv/nss_dns/dns-host.c).
14680
608404eb
AJ
146812012-07-11 Andreas Jaeger <aj@suse.de>
14682
14683 * po/fr.po: Update from translation team.
14684
71220aca
AJ
14685 * po/sv.po: Update from translation team
14686 * po/fr.po: Another update from translation team.
14687
28cfe843
AZ
146882012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14689
14690 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
14691 for subnormals or multiply small sinh result by itself.
14692 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
14693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14694
6b90f981
DM
146952012-07-11 David S. Miller <davem@davemloft.net>
14696
14697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14698
c6825772
AS
146992012-07-10 Andreas Schwab <schwab@linux-m68k.org>
14700
14701 [BZ #14347]
14702 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
14703 (INTERNAL_MARK): Shift it here.
14704
7b8e0d49
MP
147052012-07-10 Marek Polacek <polacek@redhat.com>
14706
14707 [BZ #14151]
14708 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
14709 libc_cv_asm_global_directive with .globl.
14710 * configure: Regenerated.
14711 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
14712 with .globl.
14713 * sysdeps/i386/configure: Regenerated.
14714 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
14715 with .globl.
14716 * sysdeps/x86_64/configure: Regenerated.
14717 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
14718 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
14719 * elf/tst-unique2mod2.c: Likewise.
14720 * elf/tst-unique2mod1.c: Likewise.
14721 * elf/tst-unique1mod2.c: Likewise.
14722 * elf/tst-unique1mod1.c: Likewise.
14723 * sysdeps/s390/s390-32/sysdep.h: Likewise.
14724 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14725 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14726 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14727 * sysdeps/mach/sysdep.h: Likewise.
14728 * sysdeps/i386/sysdep.h: Likewise.
14729 * sysdeps/i386/i386-mcount.S: Likewise.
14730 * sysdeps/x86_64/_mcount.S: Likewise.
14731 * sysdeps/x86_64/sysdep.h: Likewise.
14732 * sysdeps/sh/_mcount.S: Likewise.
14733 * sysdeps/sh/sysdep.h: Likewise.
14734 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
14735 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
14736 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
14737 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
14738 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
14739 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
14740 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
14741 * locale/localeinfo.h: Likewise.
14742 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
14743 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
14744
6c55cda3
RM
147452012-07-09 Roland McGrath <roland@hack.frob.com>
14746
14747 [BZ #14336]
14748 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
14749 system".
14750 * manual/message.texi (The Uniforum approach): Likewise.
14751 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
14752 (glibc iconv Implementation): Likewise.
14753
638a572e
JM
147542012-07-09 Joseph Myers <joseph@codesourcery.com>
14755
14756 [BZ #14337]
14757 * math/s_clog.c (__clog): Avoid scaling a value down where that
14758 could result in underflow.
14759 * math/s_clog10.c (__clog10): Likewise.
14760 * math/s_clog10f.c (__clog10f): Likewise.
14761 * math/s_clog10l.c (__clog10l): Likewise.
14762 * math/s_clogf.c (__clogf): Likewise.
14763 * math/s_clogl.c (__clogl): Likewise.
14764 * math/libm-test.inc (clog_test): Add more tests.
14765 (clog10_test): Likewise.
14766 * sysdeps/i386/fpu/libm-test-ulps: Update.
14767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14768
261f4859
AS
147692012-07-06 Andreas Schwab <schwab@linux-m68k.org>
14770
0abaf3e4
AS
14771 [BZ #14283]
14772 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
14773 by 7 not 8 to examine high bit of fractional part.
14774
261f4859
AS
14775 [BZ #14042]
14776 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
14777 for call to __mcount_internal.
14778 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
14779 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
14780 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
14781
f17ac40d
JM
147822012-07-06 Joseph Myers <joseph@codesourcery.com>
14783
9ad63c23
JM
14784 [BZ #14154]
14785 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
14786 approximation for values within 0x1p-13f of an odd multiple of
14787 pi/4.
14788 * math/libm-test.inc (tan_test): Do not allow spurious underflow
14789 exception. Add more tests.
14790 * sysdeps/i386/fpu/libm-test-ulps: Update.
14791
f17ac40d
JM
14792 [BZ #6778]
14793 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
14794 inputs and return -1 for them. Do not check for +Inf in case not
14795 reachable for +Inf.
14796 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
14797 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
14798 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14799 and return -1 for them. Do not check for +Inf in case not
14800 reachable for +Inf.
14801 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
14802 define.
14803 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
14804 and return -1 for them. Do not check for +Inf in case not
14805 reachable for +Inf.
14806 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
14807 spurious underflow.
14808 * sysdeps/i386/fpu/libm-test-ulps: Update.
14809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14810
fb21f89b
MF
148112012-07-06 Mike Frysinger <vapier@gentoo.org>
14812
14813 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
14814
cdfe2c5e
JM
148152012-07-05 Joseph Myers <joseph@codesourcery.com>
14816
14817 [BZ #14157]
14818 [BZ #14331]
14819 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
14820 could result in spurious underflow. Scale down values above
14821 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
14822 * math/s_csqrtf.c (__csqrtf): Likewise.
14823 * math/s_csqrtl.c (__csqrtl): Likewise.
14824 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
14825 spurious underflow.
14826 * sysdeps/i386/fpu/libm-test-ulps: Update.
14827 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14828
70d35b67
AS
148292012-07-04 Andreas Schwab <schwab@linux-m68k.org>
14830
704bc459
AS
14831 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
14832 xopen-msg.sed.
14833 * catgets/xopen-msg.awk: New file.
14834 * catgets/xopen-msg.sed: Removed.
14835
70d35b67
AS
14836 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
14837 po2text.sed.
14838 * intl/po2test.awk: New file.
14839 * intl/po2test.sed: Removed.
14840
ca61cf32
JM
148412012-07-04 Joseph Myers <joseph@codesourcery.com>
14842
14843 [BZ #14328]
14844 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
14845 or multiply small sinh result by itself.
14846 * math/s_ctanf.c (__ctanf): Likewise.
14847 * math/s_ctanh.c (__ctanh): Likewise.
14848 * math/s_ctanhf.c (__ctanhf): Likewise.
14849 * math/s_ctanhl.c (__ctanhl): Likewise.
14850 * math/s_ctanl.c (__ctanl): Likewise.
14851 * math/libm-test.inc (ctan_test_tonearest): New function.
14852 (ctan_test_towardzero): Likewise.
14853 (ctan_test_downward): Likewise.
14854 (ctan_test_upward): Likewise.
14855 (ctanh_test_tonearest): Likewise.
14856 (ctanh_test_towardzero): Likewise.
14857 (ctanh_test_downward): Likewise.
14858 (ctanh_test_upward): Likewise.
14859 (main): Call these new functions.
14860 * sysdeps/i386/fpu/libm-test-ulps: Update.
14861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14862
ca48a46a
MF
148632012-07-03 Mike Frysinger <vapier@gentoo.org>
14864
14865 * .gitignore: Delete /ports entry.
14866
9d63d37d
AJ
148672012-07-03 Andreas Jaeger <aj@suse.de>
14868
14869 * po/bg.po: Update from translation team.
14870 * po/cs.po: Likewise.
14871 * po/de.po: Likewise.
14872 * po/hr.po: Likewise.
14873 * po/nl.pl: Likewise.
14874 * po/pl.po: Likewise.
14875 * po/vi.po: Likewise.
14876
370ca3d2
JM
148772012-07-03 Joseph Myers <joseph@codesourcery.com>
14878
95f5a9a8
JM
14879 * Makeconfig [!+link] (+link-before-libc): New variable.
14880 [!+link] (+link-after-libc): Likewise.
14881 [!+link] (+link-tests): Likewise.
14882 [!+link] (+link): Define in terms of $(+link-before-libc) and
14883 $(+link-after-libc).
14884 [!+link-static] (+link-static-before-libc): New variable.
14885 [!+link-static] (+link-static-after-libc): Likewise.
14886 [!+link-static] (+link-static-tests): Likewise.
14887 [!+link-static] (+link-static): Define in terms of
14888 $(+link-static-before-libc) and $(+link-static-after-libc).
14889 [build-shared] (link-libc-before-gnulib): New variable.
14890 [build-shared] (link-libc-tests): Likewise.
14891 [build-shared] (link-libc): Define in terms of
14892 $(link-libc-before-gnulib).
14893 [!build-shared] (link-libc-tests): New variable.
14894 (link-libc-static-tests): New variable.
14895 [!gnulib] (gnulib-arch): New variable.
14896 [!gnulib] (gnulib-tests): Likewise.
14897 [!gnulib] (static-gnulib-arch): Likewise.
14898 [!gnulib] (static-gnulib-tests): Likewise.
14899 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
14900 Define with "=" instead of ":=".
14901 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
14902 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
14903 * Rules (binaries-all-notests): New variable.
14904 (binaries-all-tests): Likewise.
14905 (binaries-static-notests): Likewise.
14906 (binaries-static-tests): Likewise.
14907 (binaries-all): Define using $(binaries-all-notests) and
14908 $(binaries-all-tests).
14909 (binaries-static): Define using $(binaries-static-notests) and
14910 $(binaries-static-tests).
14911 (binaries-shared-tests): New variable.
14912 (binaries-shared-notests): Likewise.
14913 (binaries-shared): Remove variable.
14914 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
14915 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
14916 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
14917 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
14918 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
14919 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
14920 * elf/Makefile (sln-modules): New variable.
14921 (extra-objs): Add $(sln-modules:=.o).
14922 (ldconfig-modules): Add static-stubs.
14923 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
14924 * elf/static-stubs.c: New file.
14925
7a845b2c
JM
14926 [BZ #14283]
14927 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
14928 by 7 not 8 to examine high bit of fractional part. Use volatile
14929 variables when splitting into final array of floats if
14930 __FLT_EVAL_METHOD__ != 0.
14931 * math/libm-test.inc (cos_test): Add another test.
14932 (sin_test): Likewise.
14933 * sysdeps/i386/fpu/libm-test-ulps: Update.
14934
e2283f38
JM
14935 [BZ #14273]
14936 * math/libm-test.inc (cosh_test): Add more tests.
14937
370ca3d2
JM
14938 * version.h (RELEASE): Set to "development".
14939 (VERSION): Set to "2.16.90".
14940
ee9247c3
CD
149412012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
14942
14943 * NEWS: Update copyright. Remove last-updated date.
14944 Mention math library bug fixes and timezone data changes.
14945 * README: Mention GNU/Hurd, x32, and HPPA support status.
14946
4648c381
TS
149472012-06-28 Thomas Schwinge <thomas@codesourcery.com>
14948
14949 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
14950
aac78a43
AJ
149512012-06-27 Andreas Jaeger <aj@suse.de>
14952
14953 * manual/contrib.texi (Contributors): Add Samuel Thibault.
14954
ed3dbfad
AJ
149552012-06-25 Andreas Jaeger <aj@suse.de>
14956
14957 * sysdeps/s390/fpu/libm-test-ulps: Update.
14958
4d0ee855
AS
149592012-06-23 Andreas Schwab <schwab@linux-m68k.org>
14960 Thomas Schwinge <thomas@codesourcery.com>
14961
14962 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
14963 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
14964 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
14965 fanotify_mark.
14966
af1bce34
TS
149672012-06-23 Thomas Schwinge <thomas@codesourcery.com>
14968
a9fa33ba
TS
14969 * sysdeps/mach/start.c: Remove file.
14970 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
14971 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
14972 * sysdeps/sh/init-first.c: Likewise.
14973
58f902b8
TS
14974 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
14975 registers for frame unwinding purposes, add CFI directives.
14976 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14977 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
14978 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
14979 Likewise.
14980
1518f58b
TS
14981 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
14982 __fortify_fail returning.
14983 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
14984
db9b5059
TS
14985 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
14986 sysdeps/sh/____longjmp_chk.S.
14987 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
14988 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
14989 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
14990 (gen-as-const-headers): Append sigaltstack-offsets.sym.
14991
967705fe
TS
14992 * sysdeps/sh/abort-instr.h: New file.
14993 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
14994 process in case exit returns.
14995
a9def8c4
TS
14996 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
14997 initialize the GOT register before use.
14998
2a649725
TS
14999 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15000 calculation of ARGC > 4.
15001
af1bce34
TS
15002 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15003 meaningful names to some local labels.
15004
d230f50a
KK
150052012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15006 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15007
15008 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15009 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15010 (__arch_compare_and_exchange_val_16_acq): Likewise.
15011 (__arch_compare_and_exchange_val_32_acq): Likewise.
15012 (atomic_exchange_and_add): Fix gUSA sequence.
15013 (atomic_add): Likewise.
15014 (atomic_add_negative): Likewise.
15015 (atomic_add_zero): Likewise.
15016 (atomic_bit_test_set): Likewise.
15017
0479b305
AS
150182012-06-22 Andreas Schwab <schwab@redhat.com>
15019
15020 [BZ #13579]
15021 * include/link.h (struct link_map): Add l_free_initfini.
15022 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15023 l_initfini.
15024 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15025 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15026 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15027 set.
15028
0e3933b9
CD
150292012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15030
15031 * configure.in: Use AC_LANG_SOURCE.
15032 * configure: Regenerate.
15033
4248b1b1
RM
150342012-06-22 Roland McGrath <roland@hack.frob.com>
15035
15036 * configure.in (libc_cv_localstatedir): New substituted variable.
15037 * configure: Regenerated.
15038 * config.make.in (localstatedir): New variable, substituted from
15039 libc_cv_localstatedir.
15040 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15041 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15042 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15043 * sysdeps/gnu/configure: Regenerated.
15044
006dd861
JL
150452012-06-21 Jeff Law <law@redhat.com>
15046
15047 [BZ #14277]
15048 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15049 free. Simplify list management for _LIBC case.
15050
79662d42
JM
150512012-06-21 Joseph Myers <joseph@codesourcery.com>
15052
b7abb4bf
JM
15053 [BZ #14273]
15054 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15055 Clear sign bit of 64-bit integer value before comparing against
15056 overflow value.
15057
79662d42
JM
15058 * sysdeps/mach/configure: Regenerated.
15059
1f150908
L
150602012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15061
15062 [BZ #14278]
15063 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15064
28363bbf
JL
150652012-06-21 Jeff Law <law@redhat.com>
15066
15067 [BZ #13882]
15068 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15069 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15070 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15071 * elf/dl-open.c (dl_open_worker): Likewise.
15072
09615db4
CD
150732012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15074
15075 * scripts/list-sources.sh: Scan PORTS for translations.
15076 * po/libc.pot: Regenerated.
15077
2174c6dd
AJ
150782012-06-21 Andreas Jaeger <aj@suse.de>
15079
15080 [BZ #12194]
15081 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15082 warning.
15083 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15084 * bits/byteswap-16.h (__bswap_16): Likewise.
15085 * bits/byteswap.h (__bswap_constant_16): Likewise.
15086
3ee947b1
L
150872012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15088
15089 [BZ #14117]
a2f34833
L
15090 * sysdeps/i386/fpu_control.h: Removed.
15091 * sysdeps/x86_64/fpu_control.h: Moved to ...
15092 * sysdeps/x86/fpu_control.h: Here.
15093
3ee947b1
L
15094 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15095 (_FPU_SETCW): Likewise.
15096
ed1825f8
L
150972012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15098
25f1282a
L
15099 [BZ #14117]
15100 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15101 * sysdeps/x86/fpu/bits/mathinline.h: This.
15102 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15103
ed1825f8
L
15104 [BZ #14050]
15105 [BZ #14117]
15106 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15107 functions if __x86_64__ is defined.
15108
36d54b74
CLT
151092012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15110
15111 * string/endian.h: Add !__ASSEMBLER__ condition for including
15112 conversion interfaces.
15113
10285c21
JM
151142012-06-15 Joseph Myers <joseph@codesourcery.com>
15115
15116 [BZ #14241]
15117 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15118 of ABS(x) in calculating zero to negative powers other than odd
15119 integers.
15120 * math/libm-test.inc (pow_test): Add more tests.
15121
06c5abbd
AJ
151222012-06-15 Andreas Jaeger <aj@suse.de>
15123
15124 * manual/contrib.texi (Contributors): Update entry of Liubov
15125 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15126 Machado Filho.
15127
a3aeac40
CH
151282012-06-15 Cyril Hrubis <metan@ucw.cz>
15129
15130 * string/string.h: Add __wur to GNU version of strerror_r.
15131
49bdf4c1
L
151322012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15133
15134 [BZ #14229]
15135 * string/Makefile (tests): Add tst-strtok_r.
15136 * string/tst-strtok_r.c: New file.
15137 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15138 RAX_LP/RDX_LP on SAVE_PTR.
15139
834f9b8d
RM
151402012-06-14 Roland McGrath <roland@hack.frob.com>
15141
15142 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15143
75fa1921
JM
151442012-06-14 Joseph Myers <joseph@codesourcery.com>
15145
15146 * libm_test.inc (csqrt_test): Allow more spurious underflow
15147 exceptions.
15148 (j0_test): Likewise.
15149 (j1_test): Likewise.
15150 (y0_test): Likewise.
15151 (y1_test): Likewise.
15152
771766df
CD
151532012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15154
15155 * po/Makefile (libc.pot): Use UTF-8 charset.
15156
ceb9e56b
PP
151572012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15158
15159 [BZ #14210]
15160 Suppress sign-conversion warning from FD_SET.
15161 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15162 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15163 not unsigned long int.
15164 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15165
ddb28975
L
151662012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15167
15168 [BZ #14050]
15169 [BZ #14117]
15170 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15171 __extern_always_inline instead of __extern_inline.
15172 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15173 (__signbit): Likewise.
15174 (__signbitl): Support C++ namespace.
15175 (lrintf): New inline function.
15176 (lrint): Likewise.
15177 (llrintf): Likewise.
15178 (llrint): Likewise.
15179 (fmaxf): Likewise.
15180 (fmax): Likewise.
15181 (fminf): Likewise.
15182 (fmin): Likewise.
15183 (rint): Likewise.
15184 (rintf): Likewise.
15185 (ceil): Likewise.
15186 (ceilf): Likewise.
15187 (floor): Likewise.
15188 (floorf): Likewise.
15189 (nearbyint): Likewise.
15190 (nearbyintf): Likewise.
15191
d7b4fb26
TS
151922012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15193
15194 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15195 non-default versions.
15196
eb55f5c2
RM
151972012-06-11 Roland McGrath <roland@hack.frob.com>
15198
15199 [BZ #14218]
15200 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15201
366af02c
TS
152022012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15203
99ff6e5c
TS
15204 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15205 (FE_UPWARD, FE_DOWNWARD): Don't define.
15206 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15207 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15208
366af02c
TS
15209 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15210 reading it.
15211 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15212 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15213
793ea851
KK
152142012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15215
15216 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15217 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15218 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15219 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15220
a728a38f
L
152212012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15222
15223 [BZ #14117]
c08010c7
L
15224 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15225 * sysdeps/i386/fpu/Implies: New file.
15226 * sysdeps/x86_64/fpu/Implies: Likewise.
15227 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15228 * sysdeps/x86/fpu/bits/fenv.h: This.
15229
a728a38f
L
15230 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15231 __SSE_MATH__.
15232
6e230d11
SP
152332012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15234
15235 [BZ #14134]
15236 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15237 character 0xffff that matches the last element of the
15238 conversion table.
15239
1b671feb
AZ
152402012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15241
15242 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15243 fmodl commit.
15244
6043738b
AZ
152452012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15246
15247 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15248 values higher than 25.6283.
15249
34ae0b32
AZ
152502012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15251
15252 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15253 subnormal exponent extraction and add some __builtin_expect.
15254 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15255 Fix for subnormal mantissa calculation.
15256
1214ec8f
MF
152572012-06-04 Mike Frysinger <vapier@gentoo.org>
15258
15259 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15260 cpu2 is -1 and errno is not ENOSYS.
15261
f3d1f93c
L
152622012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15263
15264 [BZ #14117]
0e4a3cd7
L
15265 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15266 * sysdeps/x86/bits/string.h: This.
15267 * sysdeps/x86_64/bits/string.h: Removed.
15268
6704c645
L
15269 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15270 if not compiling for x86-64, but compiling for >= i486.
15271
48495318
L
15272 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15273 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15274
14adcbfc
L
15275 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15276 New macro from Linux kernel 3.4.0.
15277 (FP_XSTATE_MAGIC2): Likewise.
15278 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15279 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15280 (struct _fpx_sw_bytes): New struct.
15281 (struct _xsave_hdr): Likewise.
15282 (struct _ymmh_state): Likewise.
15283 (struct _xstate): Likewise.
15284
68e408ab
L
15285 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15286 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15287 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15288 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15289 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15290 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15291
f3d1f93c
L
15292 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15293 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15294 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15295 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15296 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15297 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15298
d9dc34cd
TMQMF
152992012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15300
15301 [BZ #13743]
15302 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15303 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15304 (sysdep_headers): Include sys/platform/ppc.h.
15305 * sysdeps/powerpc/test-gettimebase.c: Test for
15306 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15307 * manual/Makefile (appendices): Include platform.texi.
15308 * manual/contrib.texi (Contributors): Update @node pointers.
15309 * manual/maint.texi (Maintenance): Likewise.
15310 (Platform): New node.
15311 * manual/platform.texi: New file. Document the new features.
15312
4af3879c
SP
153132012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15314 Jakub Jelinek <jakub@redhat.com>
15315
15316 [BZ #14188]
15317 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15318 where __builtin_expect is unavailable.
15319
2fd6ff13
DM
153202012-06-03 David S. Miller <davem@davemloft.net>
15321
15322 * stdlib/longlong.h: Updated from GCC.
15323
173f7220
AS
153242012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15325
15326 [BZ #14042]
15327 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15328 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15329 __mcount_internal.
15330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15331 (GLIBC_2.16): Likewise.
15332
f34a1c6f
L
153332012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15334
15335 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15336
88a4576f
JM
153372012-06-01 Joseph Myers <joseph@codesourcery.com>
15338
ea32bcdd
JM
15339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15340 (default-abi): New variable.
15341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15342 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15343 variable.
15344 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15345 Likewise.
15346 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15347 Likewise.
15348 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15349 Likewise.
15350
88a4576f
JM
15351 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15352 definition. Document in comment.
15353
402fe938
DM
153542012-06-01 David S. Miller <davem@davemloft.net>
15355
15356 * stdlib/longlong.h: Updated from GCC.
15357
3553723f
L
153582012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15359
15360 [BZ #14117]
3bd872c4
L
15361 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15362 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15363 sys/debugreg.h sys/io.h here.
15364 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15365 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15366 sys/io.h.
15367 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15368 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15369 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15370 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15371 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15372 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15373
3553723f
L
15374 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15375 Define only if __x86_64__ is defined.
15376
4842e4fe
JM
153772012-06-01 Joseph Myers <joseph@codesourcery.com>
15378
c5bfe3d5
JM
15379 [BZ #14048]
15380 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15381 Use int64_t for variable i.
15382 * math/libm-test.inc (fmod_test): Add more tests.
15383
4842e4fe
JM
15384 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15385 z computation is not scheduled after fetestexcept.
15386 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15387 Use math_force_eval instead of asm to ensure calculation scheduled
15388 before exception test.
15389 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15390 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15391
efb73488
AJ
153922012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15393
15394 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15395 computation is not scheduled after fetestexcept.
15396
29bcce7c
L
153972012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15398
15399 [BZ #14117]
15400 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15401 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15402
73a68f94
AZ
154032012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15404
15405 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15406 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15407
67b6df78
L
154082012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15409
edf2933a 15410 [BZ #14117]
ebc64a18
L
15411 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15412 <bits/wordsize.h>.
15413 (__WCHAR_MIN): Support __WORDSIZE == 64.
15414 (__WCHAR_MAX): Likewise.
15415
edf2933a
L
15416 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15417 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15418
57c6cf40
L
15419 [BZ #14183]
15420 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15421 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15422
67b6df78 15423 [BZ #14117]
8eb6281e
L
15424 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15425 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15426
aac639f4
L
15427 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15428 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15429
67b6df78
L
15430 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15431 Defined to 1 if __x86_64__ isn't defined.
15432 (_STAT_VER_LINUX_OLD): New.
15433 (st_atime): Remove duplicate.
15434 (st_mtime): Likewise.
15435 (st_ctime): Likewise.
15436
1c2cfe81
DM
154372012-05-31 David S. Miller <davem@davemloft.net>
15438
15439 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15440 entries.
15441
5be8418c
AS
154422012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15443
e7725326
AS
15444 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15445 gen-libm-test.pl.
15446
5be8418c
AS
15447 [BZ #14132]
15448 * elf/dl-reloc.c: Include <_itoa.h>.
15449 (_dl_reloc_bad_type): Remove use of INTUSE.
15450 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15451 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15452 * stdio-common/psiginfo.c (psiginfo): Likewise.
15453 * stdio-common/psignal.c (psignal): Likewise.
15454 * string/strsignal.c (strsignal): Likewise.
15455 * include/signal.h (_sys_siglist): Declare hidden proto.
15456 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15457 INTVARDEF with libc_hidden_data_def.
15458 * stdio-common/itoa-udigits.c: Likewise.
15459 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15460 (_itoa_lower_digits_internal): Remove declaration.
15461 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15462 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15463 (_sys_sigabbrev_internal): Remove aliases.
15464 (_sys_siglist): Define hidden alias.
15465
507352f1
MT
154662012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15467
15468 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15469 bits/sysctl.h.
15470
42bbb1c3
L
154712012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15472
15473 [BZ #14117]
6bd784b6
L
15474 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15475 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15476
8bca20f0
L
15477 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15478 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15479 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15480 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15481 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15482 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15483
f9e890a9
L
15484 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15485 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15486 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15487
471101a1
L
15488 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15489 with __addr.
15490 (insw): Likewise.
15491 (insl): Likewise.
15492 (outsb): Likewise.
15493 (outsw): Likewise.
15494 (outsl): Likewise.
15495
6451c862
L
15496 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15497 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15498 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15499
a254b8c9
L
15500 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15501 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15502 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15503 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15504 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15505 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15506
b8dfdd92
L
15507 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15508 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15509
578cd270
L
15510 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15511 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15512
de662f5f
L
15513 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15514 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15515 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15516
25653439
L
15517 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15518 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15519 to ...
15520 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15521
6bad24a0
L
15522 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15523 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15524 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15525
42bbb1c3
L
15526 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15527 for x86-64.
15528 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15529
2d10d547
JM
155302012-05-31 Joseph Myers <joseph@codesourcery.com>
15531
15532 * math/math.h (M_El): Use two more decimal places.
15533 (M_LOG2El): Likewise.
15534 (M_LOG10El): Likewise.
15535 (M_LN2l): Likewise.
15536 (M_LN10l): Likewise.
15537 (M_PIl): Likewise.
15538 (M_PI_2l): Likewise.
15539 (M_PI_4l): Likewise.
15540 (M_1_PIl): Likewise.
15541 (M_2_PIl): Likewise.
15542 (M_2_SQRTPIl): Likewise.
15543 (M_SQRT2l): Likewise.
15544 (M_SQRT1_2l): Likewise.
15545
f230c29b
DM
155462012-05-31 David S. Miller <davem@davemloft.net>
15547
15548 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15549 values between float registers.
15550 * sysdeps/sparc/sparc64/memset.S: Likewise.
15551 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15552
fed806c3
MF
155532012-05-31 Mike Frysinger <vapier@gentoo.org>
15554
15555 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15556 -D_FORTIFY_SOURCE=1.
15557 (CPPFLAGS-tst-longjmp_chk.c): Define.
15558 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15559 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15560 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15561 CFLAGS-tst-wchar-h.c.
15562
30917259
MP
155632012-05-31 Marek Polacek <polacek@redhat.com>
15564
15565 [BZ #14132]
15566 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15567 __endmntent_internal): Remove declaration.
15568 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15569 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15570 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15571
1c58d5dc
DM
155722012-05-30 David S. Miller <davem@davemloft.net>
15573
15574 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15575 (___Q_simulate_exceptions): Use real FP ops rather than writing
15576 into the %fsr.
15577 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15578 Likewise.
15579
7dc00e0d
L
155802012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15581
15582 [BZ #14117]
0bd53985
L
15583 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15584 * sysdeps/x86/bits/xtitypes.h: This.
15585
3a257e66
L
15586 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15587 * sysdeps/x86/bits/wordsize.h: This.
15588
62f62904
L
15589 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15590 * sysdeps/x86/bits/huge_vall.h: This.
15591
404fe9d9
L
15592 * sysdeps/i386/bits/select.h: Removed.
15593 * sysdeps/x86_64/bits/select.h: Renamed to ...
15594 * sysdeps/x86/bits/select.h: This.
15595
d48d0446
L
15596 * sysdeps/i386/bits/setjmp.h: Removed.
15597 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15598 * sysdeps/x86/bits/setjmp.h: This.
15599
7dc00e0d
L
15600 * sysdeps/i386/bits/mathdef.h: Removed.
15601 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15602 * sysdeps/x86/bits/mathdef.h: This.
15603
03277f8f
AS
156042012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15605
15606 [BZ #14132]
15607 * include/sys/socket.h (__connect_internal)
15608 (__libc_sa_len_internal): Remove declaration.
15609 (__connect, __libc_sa_len): Declare hidden_proto.
15610 (SA_LEN): Remove use of INTUSE.
15611 * socket/connect.c: Add libc_hidden_def.
15612 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15613 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15614 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15615 alias.
15616 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15617 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15618 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15619 of adding _internal alias.
15620
13764867
L
156212012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15622
15623 [BZ #14117]
6bd97696
L
15624 * sysdeps/i386/bits/link.h: Removed.
15625 * sysdeps/i386/bits/linkmap.h: Likewise.
15626 * sysdeps/x86_64/bits/link.h: Renamed to ...
15627 * sysdeps/x86/bits/link.h: This.
15628 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15629 * sysdeps/x86/bits/linkmap.h: This.
15630
f726f0bb
L
15631 * sysdeps/i386/bits/endian.h: Removed.
15632 * sysdeps/x86_64/bits/endian.h: Renamed to ...
15633 * sysdeps/x86/bits/endian.h: This.
15634
13764867
L
15635 * sysdeps/i386/bits/byteswap.h: Removed.
15636 * sysdeps/i386/bits/byteswap-16.h: Likewise.
15637 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
15638 * sysdeps/x86/bits/byteswap.h: This.
15639 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
15640 * sysdeps/x86/bits/byteswap-16.h: This.
15641 * sysdeps/i386/Implies: Add x86.
15642 * sysdeps/x86_64/Implies: Likewise.
15643
ae251b0b
DM
156442012-05-30 David S. Miller <davem@davemloft.net>
15645
15646 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
15647 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
15648 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15649 (FP_TRAPPING_EXCEPTIONS): Define.
15650 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15651 (FP_TRAPPING_EXCEPTIONS): Define.
15652 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
15653 subnormals only when inexact has been signalled or underflow
15654 exceptions are enabled.
15655 (_FP_PACK_CANONICAL): Likewise.
15656
d5c90867
L
156572012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15658
15659 [BZ #14183]
15660 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
15661 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
15662
63f1549e
RH
156632012-05-30 Richard Henderson <rth@twiddle.net>
15664
8d8f2279
RH
15665 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
15666 with #ifndef NOT_IN_libc.
15667
63f1549e
RH
15668 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
15669 marked to avoid plt entry.
15670
0ab0291b
L
156712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15672
15673 [BZ #14112]
15674 * Makeconfig (default-abi): New macro.
15675 (abi-includes): Likewise.
15676 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
15677 $(abi-$(default-abi)-lib-soname) for soname if defined.
15678 ($(common-objpfx)gnu/lib-names.stmp): Generate from
15679 abi-variants.
15680 * Makefile (installed-stubs): Likewise.
15681 * include/stubs-biarch.h: Removed.
15682 * scripts/lib-names.awk: Only handle one library at a time.
15683 * scripts/soversions.awk: Remove WORDSIZE support.
15684 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
15685 entries.
15686 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
15687 Removed.
15688 (syscall-list-default-condition): Likewise.
15689 (syscall-list-default-condition): Likewise.
15690 (syscall-list-includes): Likewise.
15691 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
15692 syscall-list-* with abi-*. Handle undefined abi-variants.
15693 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
15694 * sysdeps/unix/sysv/linux/i386/Implies: New file.
15695 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
15696 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
15697 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
15698 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
15699 Removed.
15700 (syscall-list-32-options): Likewise.
15701 (syscall-list-32-condition): Likewise.
15702 (syscall-list-64-options): Likewise.
15703 (syscall-list-64-condition): Likewise.
15704 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
15705 macro.
15706 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
15707 Renamed to ...
15708 (abi-*): This.
15709 (abi-64-ld-soname): New macro.
15710 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
15711 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
15712 Renamed to ...
15713 (abi-*): This.
15714 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
15715 * sysdeps/x86_64/x32/shlib-versions: Likewise.
15716
4da0431d
JM
157172012-05-30 Joseph Myers <joseph@codesourcery.com>
15718
3a85279c
JM
15719 * sysdeps/unix/sysv/linux/kernel-features.h
15720 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
15721 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
15722 include <kernel-features.h>.
15723 [!__NR_ftruncate64]: Remove conditional code.
15724 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15725 [__NR_ftruncate64]: Make code unconditional.
15726 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15727 * sysdeps/unix/sysv/linux/truncate64.c: Do not
15728 include <kernel-features.h>.
15729 [!__NR_ftruncate64]: Remove conditional code.
15730 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15731 [__NR_ftruncate64]: Make code unconditional.
15732 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
15734 include <kernel-features.h>.
15735 [!__NR_ftruncate64]: Remove conditional code.
15736 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15737 [__NR_ftruncate64]: Make code unconditional.
15738 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
15740 include <kernel-features.h>.
15741 [!__NR_ftruncate64]: Remove conditional code.
15742 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15743 [__NR_ftruncate64]: Make code unconditional.
15744 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
15745
4da0431d
JM
15746 * configure.in (libc_cv_fpie): Weaken to a compile test using
15747 LIBC_TRY_CC_OPTION.
15748 * configure: Regenerated.
15749
11ef492c
AK
157502012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15751
15752 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
15753 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
15754 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
15755 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15756 Refreshed.
15757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
15758 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
15759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
15760 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
15761 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
15762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15763 Refreshed.
15764
d66ef399
DM
157652012-05-27 David S. Miller <davem@davemloft.net>
15766
15767 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
15768 (___Q_zero): New.
15769 (__Q_simulate_exceptions): Return void. Change to simulate
15770 exceptions by writing into the %fsr.
15771 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
15772 (__Qp_handle_exceptions): Likewise.
15773 (numbers): Delete.
15774 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
15775 __Qp_handle_exceptions.
15776 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
15777 __Qp_handle_exceptions.
15778 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15779 as unused and give dummy FP_RND_NEAREST initializer.
15780 (FP_INHIBIT_RESULTS): Define.
15781 (___Q_simulate_exceptions): Update declaration.
15782 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
15783 formatting.
15784 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
15785 as unused and give dummy FP_RND_NEAREST initializer.
15786 (__Qp_handle_exceptions): Update declaration.
15787 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
15788 formatting.
15789
04fb54b5
TS
157902012-05-27 Thomas Schwinge <thomas@codesourcery.com>
15791
15792 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
15793 the temporary FPU control word.
15794 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15795 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
15796 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
15797 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15798 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
15799 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
15800 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
15801 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15802 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
15803 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15804 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15805
3f99608f
KK
158062012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15807
15808 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
15809 fields.
15810
65a4de4e
CLT
158112012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
15812
15813 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
15814 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
15815 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
15816 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
15817 Likewise.
15818 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
15819 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
15820 Likewise.
15821
15749d40
UD
158222012-05-27 Ulrich Drepper <drepper@gmail.com>
15823
15824 * po/h.po: Update from translation team.
15825
25dbcb27
AS
158262012-05-26 Andreas Schwab <schwab@linux-m68k.org>
15827
3d3f8e55
AS
15828 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
15829
25dbcb27
AS
15830 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
15831 handling of denormals.
15832 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15833 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15834 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
15835 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
15836 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15837 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
15838 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
15839 Likewise.
15840
7ad47a80 158412012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
15842
15843 [BZ #14152]
15844 * math/libm-test.inc (fma_test): Don't always expect underflow
15845 exception.
15846
9c6ea9fa
SP
158472012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15848
15849 [BZ #12416]
15850 * elf/tst-execstack.c: Include stackinfo.h.
15851 (do_test): Adjust test case to ensure that pthread_getattr_np
15852 behaviour remains the same after marking stack executable.
15853
a8239222
JM
158542012-05-25 Joseph Myers <joseph@codesourcery.com>
15855
15856 * sysdeps/unix/sysv/linux/kernel-features.h
15857 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
15858 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
15859 kernel-features.h.
15860 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15861 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15862 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
15863 kernel-features.h.
15864 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
15865 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
15866
918b5606
L
158672012-05-25 H.J. Lu <hongjiu.lu@intel.com>
15868
15869 * configure.in: Define the default includes to being none.
15870 * configure: Regenerated.
15871
3a097cc7
RM
158722012-05-25 Roland McGrath <roland@hack.frob.com>
15873
8422c9a5
RM
15874 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
15875 * sysdeps/x86_64/setjmp.S: Likewise.
15876 * sysdeps/i386/bsd-setjmp.S: Likewise.
15877 * sysdeps/i386/bsd-_setjmp.S: Likewise.
15878 * sysdeps/i386/setjmp.S: Likewise.
15879 * sysdeps/i386/__longjmp.S: Likewise.
15880 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
15881 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
15882
3a097cc7
RM
15883 * include/stap-probe.h: New file.
15884 * configure.in: Handle --enable-systemtap.
15885 * configure: Regenerated.
15886 * config.h.in (USE_STAP_PROBE): New #undef.
15887 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
15888 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
15889 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
15890
21708942
JM
158912012-05-25 Joseph Myers <joseph@codesourcery.com>
15892
15893 [BZ #13717]
15894 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
15895 to 2.4.0 where earlier.
15896 * sysdeps/unix/sysv/linux/configure: Regenerated.
15897 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
15898 <kernel-features.h>.
15899 [__ASSUME_32BITUIDS]: Make code unconditional.
15900 [!__ASSUME_32BITUIDS]: Remove conditional code.
15901 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
15902 <kernel-features.h>.
15903 [__ASSUME_32BITUIDS]: Make code unconditional.
15904 [!__ASSUME_32BITUIDS]: Remove conditional code.
15905 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
15906 [__ASSUME_32BITUIDS]: Make code unconditional.
15907 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
15908 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
15909 <kernel-features.h>.
15910 [__ASSUME_32BITUIDS]: Make code unconditional.
15911 [!__ASSUME_32BITUIDS]: Remove conditional code.
15912 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
15913 <kernel-features.h>.
15914 [__ASSUME_32BITUIDS]: Make code unconditional.
15915 [!__ASSUME_32BITUIDS]: Remove conditional code.
15916 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
15917 <kernel-features.h>.
15918 [__ASSUME_32BITUIDS]: Make code unconditional.
15919 [!__ASSUME_32BITUIDS]: Remove conditional code.
15920 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
15921 <kernel-features.h>.
15922 [__ASSUME_32BITUIDS]: Make code unconditional.
15923 [!__ASSUME_32BITUIDS]: Remove conditional code.
15924 * sysdeps/unix/sysv/linux/i386/getresgid.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/getresuid.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/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
15949 <kernel-features.h>.
15950 [__NR_setresgid] (__setresgid): Do not declare.
15951 [__ASSUME_32BITUIDS]: Make code unconditional.
15952 [!__ASSUME_32BITUIDS]: Remove conditional code.
15953 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
15954 <kernel-features.h>.
15955 [__NR_setresuid] (__setresuid): Do not declare.
15956 [__ASSUME_32BITUIDS]: Make code unconditional.
15957 [!__ASSUME_32BITUIDS]: Remove conditional code.
15958 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
15959 <kernel-features.h>.
15960 [__ASSUME_32BITUIDS]: Make code unconditional.
15961 [!__ASSUME_32BITUIDS]: Remove conditional code.
15962 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
15963 <kernel-features.h>.
15964 [__ASSUME_32BITUIDS]: Make code unconditional.
15965 [!__ASSUME_32BITUIDS]: Remove conditional code.
15966 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
15967 <kernel-features.h>.
15968 [__ASSUME_32BITUIDS]: Make code unconditional.
15969 [!__ASSUME_32BITUIDS]: Remove conditional code.
15970 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
15971 <kernel-features.h>.
15972 [__ASSUME_32BITUIDS]: Make code unconditional.
15973 [!__ASSUME_32BITUIDS]: Remove conditional code.
15974 * sysdeps/unix/sysv/linux/i386/setregid.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/setresgid.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/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
15999 (__ASSUME_SETRESUID_SYSCALL): Remove.
16000 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16001 (__ASSUME_32BITUIDS): Likewise.
16002 (__ASSUME_LDT_WORKS): Likewise.
16003 (__ASSUME_O_DIRECTORY): Likewise.
16004 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16005 architecture but not kernel version.
16006 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16007 (__ASSUME_MMAP2_SYSCALL): Likewise.
16008 (__ASSUME_STAT64_SYSCALL): Likewise.
16009 (__ASSUME_IPC64): Likewise.
16010 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16011 <kernel-features.h>.
16012 [__ASSUME_32BITUIDS]: Make code unconditional.
16013 [!__ASSUME_32BITUIDS]: Remove conditional code.
16014 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16015 <kernel-features.h>.
16016 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16017 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16018 132096]: Remove conditional code.
16019 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16020 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16021 <kernel-features.h>.
16022 [__ASSUME_32BITUIDS]: Make code unconditional.
16023 [!__ASSUME_32BITUIDS]: Remove conditional code.
16024 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16025 <kernel-features.h>.
16026 [__ASSUME_32BITUIDS]: Make code unconditional.
16027 [!__ASSUME_32BITUIDS]: Remove conditional code.
16028 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16029 <kernel-features.h>.
16030 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16031 unconditional.
16032 (__setresgid): Do not declare.
16033 [__ASSUME_32BITUIDS]: Make code unconditional.
16034 [!__ASSUME_32BITUIDS]: Remove conditional code.
16035 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16036 <kernel-features.h>.
16037 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16038 unconditional.
16039 (__setresuid): Do not declare.
16040 [__ASSUME_32BITUIDS]: Make code unconditional.
16041 [!__ASSUME_32BITUIDS]: Remove conditional code.
16042 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16043 <kernel-features.h>.
16044 [__ASSUME_32BITUIDS]: Make code unconditional.
16045 [!__ASSUME_32BITUIDS]: Remove conditional code.
16046 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16047 <kernel-features.h>.
16048 [__ASSUME_32BITUIDS]: Make code unconditional.
16049 [!__ASSUME_32BITUIDS]: Remove conditional code.
16050
a386f1cc
RH
160512012-05-25 Richard Henderson <rth@twiddle.net>
16052
16053 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16054 dl_hwcap to ifunc resolver.
16055 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16056 elf_ifunc_invoke.
16057 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16058 dl_hwcap to ifunc resolver.
16059 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16060
b6550497
JM
160612012-05-24 Joseph Myers <joseph@codesourcery.com>
16062
16063 [BZ #14153]
16064 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16065 for |x| <= 2**-26, not 2**-57.
16066 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16067 exception.
16068
b0bc23a1
JL
160692012-05-24 Jeff Law <law@redhat.com>
16070
16071 * stdio-common/Makefile (tests): Add bug25.
16072 * stdio-common/bug25.c: New test.
16073
347c92e9
L
160742012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16075
16076 [BZ #13576]
16077 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16078 multiple of MALLOC_ALIGNMENT in size.
16079 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16080
6bcc8b3f
JM
160812012-05-24 Joseph Myers <joseph@codesourcery.com>
16082
16083 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16084 Require >= 256.
16085 (FILENAME_MAX): Use macro-int-constant.
16086 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16087 (_IOFBF): Use macro-int-constant.
16088 (_IOLBF): Likewise.
16089 (_IONBF): Likewise.
16090 (SEEK_CUR): Likewise.
16091 (SEEK_END): Likewise.
16092 (SEEK_SET): Likewise.
16093 (TMP_MAX): Likewise.
16094 (EOF): Use macro-int-constant. Require < 0.
16095 (NULL): Use macro-constant. Require == 0.
16096 (stdin): Require type to be FILE *.
16097 (stdout): Likewise.
16098 (stderr): Likewise.
16099 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16100 macro-int-constant.
16101 (EXIT_SUCCESS): Likewise.
16102 (NULL): Use macro-constant. Require == 0.
16103 (RAND_MAX): Use macro-int-constant.
16104 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16105 [C99-based standards] (strtof): Require function.
16106 [C99-based standards] (strtold): Likewise.
16107 [C99-based standards] (strtoll): Likewise.
16108 [C99-based standards] (strtoull): Likewise.
16109 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16110 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16111 [ISO || ISO99 || ISO11] (math.h): Likewise.
16112 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16113 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16114 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16115
d18ea0c5
AS
161162012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16117
16118 [BZ #14132]
56d25bb8
AS
16119 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16120 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16121 * intl/dgettext.c (DCGETTEXT): Likewise.
16122 * intl/gettext.c (DCGETTEXT): Likewise.
16123 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16124 * posix/regex_internal.h (gettext): Likewise.
16125 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16126 Remove declaration.
16127 * include/argz.h (__argz_count_internal)
16128 (__argz_stringify_internal): Remove declaration.
16129 (__argz_count, __argz_stringify): Declare hidden proto.
16130 * intl/dcgettext.c: Remove use of INTDEF.
16131 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16132 * string/argz-stringify.c: Likewise.
16133 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16134 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16135 Declare hidden proto.
d18ea0c5
AS
16136 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16137 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16138 Declare hidden proto.
16139 * include/stdio.h (__asprintf_internal): Don't declare.
16140 (__asprintf): Don't define as macro. Declare hidden proto.
16141 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16142 (__fsetlocking): Declare hidden proto.
16143 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16144 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16145 hidden proto.
16146 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16147 (_IO_setlinebuf): Remove use of INTUSE.
16148 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16149 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16150 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16151 Remove declaration.
16152 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16153 (_IO_do_flush): Remove use of INTUSE.
16154 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16155 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16156 (_IO_adjust_column, _IO_least_wmarker)
16157 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16158 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16159 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16160 (_IO_default_doallocate, _IO_wdefault_doallocate)
16161 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16162 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16163 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16164 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16165 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16166 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16167 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16168 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16169 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16170 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16171 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16172 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16173 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16174 proto.
16175 (_IO_flush_all_internal, _IO_adjust_column_internal)
16176 (_IO_default_uflow_internal, _IO_default_finish_internal)
16177 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16178 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16179 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16180 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16181 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16182 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16183 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16184 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16185 (_IO_file_close_internal, _IO_file_close_it_internal)
16186 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16187 (_IO_file_init_internal, _IO_file_attach_internal)
16188 (_IO_file_fopen_internal, _IO_file_read_internal)
16189 (_IO_file_sync_internal, _IO_file_seek_internal)
16190 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16191 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16192 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16193 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16194 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16195 (_IO_list_all_internal, _IO_link_in_internal)
16196 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16197 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16198 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16199 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16200 (_IO_do_write_internal, _IO_padn_internal)
16201 (_IO_getline_info_internal, _IO_getline_internal)
16202 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16203 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16204 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16205 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16206 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16207 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16208 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16209 with libc_hidden_ver, remove use of INTUSE.
16210 * libio/genops.c: Likewise.
16211 * libio/freopen.c: Likewise.
16212 * libio/freopen64.c: Likewise.
16213 * libio/iofclose.c: Likewise.
16214 * libio/iofdopen.c: Likewise.
16215 * libio/iofflush.c: Likewise.
16216 * libio/iofflush_u.c: Likewise.
16217 * libio/iofgets.c: Likewise.
16218 * libio/iofgets_u.c: Likewise.
16219 * libio/iofopen.c: Likewise.
16220 * libio/iofopncook.c: Likewise.
16221 * libio/iofread.c: Likewise.
16222 * libio/iofread_u.c: Likewise.
16223 * libio/ioftell.c: Likewise.
16224 * libio/iofwrite.c: Likewise.
16225 * libio/iogetline.c: Likewise.
16226 * libio/iogets.c: Likewise.
16227 * libio/iogetwline.c: Likewise.
16228 * libio/iopadn.c: Likewise.
16229 * libio/iopopen.c: Likewise.
16230 * libio/ioseekoff.c: Likewise.
16231 * libio/ioseekpos.c: Likewise.
16232 * libio/iosetbuffer.c: Likewise.
16233 * libio/iosetvbuf.c: Likewise.
16234 * libio/ioungetc.c: Likewise.
16235 * libio/ioungetwc.c: Likewise.
16236 * libio/iovdprintf.c: Likewise.
16237 * libio/iovsprintf.c: Likewise.
16238 * libio/iovsscanf.c: Likewise.
16239 * libio/memstream.c: Likewise.
16240 * libio/obprintf.c: Likewise.
16241 * libio/oldfileops.c: Likewise.
16242 * libio/oldiofclose.c: Likewise.
16243 * libio/oldiofdopen.c: Likewise.
16244 * libio/oldiofopen.c: Likewise.
16245 * libio/oldiopopen.c: Likewise.
16246 * libio/oldstdfiles.c: Likewise.
16247 * libio/putc.c: Likewise.
16248 * libio/setbuf.c: Likewise.
16249 * libio/setlinebuf.c: Likewise.
16250 * libio/stdfiles.c: Likewise.
16251 * libio/strops.c: Likewise.
16252 * libio/vasprintf.c: Likewise.
16253 * libio/vscanf.c: Likewise.
16254 * libio/vsnprintf.c: Likewise.
16255 * libio/vswprintf.c: Likewise.
16256 * libio/wfiledoalloc.c: Likewise.
16257 * libio/wfileops.c: Likewise.
16258 * libio/wgenops.c: Likewise.
16259 * libio/wmemstream.c: Likewise.
16260 * libio/wstrops.c: Likewise.
16261 * libio/__fpurge.c: Likewise.
16262 * libio/__fsetlocking.c: Likewise.
16263 * assert/assert.c: Likewise.
16264 * debug/fgets_chk.c: Likewise.
16265 * debug/fgets_u_chk.c: Likewise.
16266 * debug/fread_chk.c: Likewise.
16267 * debug/fread_u_chk.c: Likewise.
16268 * debug/gets_chk.c: Likewise.
16269 * debug/obprintf_chk.c: Likewise.
16270 * debug/vasprintf_chk.c: Likewise.
16271 * debug/vdprintf_chk.c: Likewise.
16272 * debug/vsnprintf_chk.c: Likewise.
16273 * debug/vsprintf_chk.c: Likewise.
16274 * malloc/mtrace.c: Likewise.
16275 * misc/error.c: Likewise.
16276 * misc/syslog.c: Likewise.
16277 * stdio-common/asprintf.c: Likewise.
16278 * stdio-common/fxprintf.c: Likewise.
16279 * stdio-common/getw.c: Likewise.
16280 * stdio-common/isoc99_fscanf.c: Likewise.
16281 * stdio-common/isoc99_scanf.c: Likewise.
16282 * stdio-common/isoc99_vfscanf.c: Likewise.
16283 * stdio-common/isoc99_vscanf.c: Likewise.
16284 * stdio-common/isoc99_vsscanf.c: Likewise.
16285 * stdio-common/printf-prs.c: Likewise.
16286 * stdio-common/printf_fp.c: Likewise.
16287 * stdio-common/printf_fphex.c: Likewise.
16288 * stdio-common/printf_size.c: Likewise.
16289 * stdio-common/putw.c: Likewise.
16290 * stdio-common/scanf.c: Likewise.
16291 * stdio-common/sprintf.c: Likewise.
16292 * stdio-common/tmpfile.c: Likewise.
16293 * stdio-common/vfprintf.c: Likewise.
16294 * stdio-common/vfscanf.c: Likewise.
16295 * stdlib/strfmon_l.c: Likewise.
16296 * sunrpc/openchild.c: Likewise.
16297 * sunrpc/xdr_stdio.c: Likewise.
16298 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16299 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16300
d6c33fda
RM
163012012-05-24 Roland McGrath <roland@hack.frob.com>
16302
c1487492
RM
16303 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16304
16305 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16306 in the third column, to generate for the shared library an IFUNC
16307 that uses _dl_vdso_vsym.
16308 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16309 * Makeconfig (object-suffixes-noshared): New variable.
16310
16311 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16312 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16313 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16314 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16315
d6c33fda
RM
16316 [BZ #14132]
16317 * include/sys/time.h (__gettimeofday): Remove macro.
16318 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16319 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16320 Remove INTDEF.
16321 (__gettimeofday): Add libc_hidden_def.
16322 (gettimeofday): Add libc_hidden_weak.
16323 * sysdeps/mach/gettimeofday.c: Likewise.
16324 * sysdeps/posix/gettimeofday.c: Likewise.
16325 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16326 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16327 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16328 (__gettimeofday_internal): Remove strong_alias.
16329 (__gettimeofday): Add libc_hidden_def.
16330 (gettimeofday): Add libc_hidden_weak.
16331 * sysdeps/unix/syscalls.list (gettimeofday):
16332 Remove __gettimeofday_internal alias.
16333
b5a2bbe6
L
163342012-05-24 Daniel Jacobowitz <drow@false.org>
16335 H.J. Lu <hongjiu.lu@intel.com>
16336
16337 [BZ #12495]
16338 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16339 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16340 (largebin_index_32_big): New.
16341 (largebin_index): Use it for 16-byte alignment.
16342 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16343 correction with front_misalign.
16344
cfba4fda
L
163452012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16346
7f907421
L
16347 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16349 Likewise.
16350 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16351 Likewise.
16352 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16353 Likewise.
16354 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16355 Likewise.
16356 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16357 Likewise.
16358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16359 Likewise.
16360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16361 Likewise.
16362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16363 Likewise.
16364 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16365 Likewise.
16366 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16367 Likewise.
16368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16369 Likewise.
16370 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16371 Likewise.
16372
cfba4fda
L
16373 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16374 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16375
80bad0cc
JM
163762012-05-24 Joseph Myers <joseph@codesourcery.com>
16377
7a25eb06
JM
16378 [BZ #10846]
16379 [BZ #14036]
16380 * math/libm-test.inc (exp_test): Add test from bug 14036.
16381 (pow_test): Add test from bug 10846.
16382
795405f9
JM
16383 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16384 and other flags.
16385 (special_function): Do not include flags in test name.
16386 (parse_args): Likewise.
16387 * sysdeps/i386/fpu/libm-test-ulps: Update.
16388 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16389 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16390 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16392
80bad0cc
JM
16393 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16394 exceptions.
16395 * math/libm-test.inc ("Philosophy"): Update comment about
16396 exception testing.
16397 (UNDERFLOW_EXCEPTION): New macro.
16398 (UNDERFLOW_EXCEPTION_OK): Likewise.
16399 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16400 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16401 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16402 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16403 (INVALID_EXCEPTION_OK): Update value.
16404 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16405 (OVERFLOW_EXCEPTION_OK): Likewise.
16406 (IGNORE_ZERO_INF_SIGN): Likewise.
16407 (test_exceptions): Handle underflow exceptions.
16408 (acos_test): Update for underflow exception expectations.
16409 (cexp_test): Likewise.
16410 (clog_test): Likewise.
16411 (clog10_test): Likewise.
16412 (csqrt_test): Likewise.
16413 (ctan_test): Likewise.
16414 (ctanh_test): Likewise.
16415 (exp_test): Likewise.
16416 (exp10_test): Likewise.
16417 (exp2_test): Likewise.
16418 (expm1_test): Likewise.
16419 (fma_test): Likewise.
16420 (j0_test): Likewise.
16421 (jn_test): Likewise.
16422 (nexttoward_test): Likewise.
16423 (pow_test): Likewise.
16424 (scalbn_test): Likewise.
16425 (scalbln_test): Likewise.
16426 (tan_test): Likewise.
16427 (y1_test): Likewise.
16428 * sysdeps/i386/fpu/libm-test-ulps: Update.
16429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16430
9e0e3d0b
DM
164312012-05-23 David S. Miller <davem@davemloft.net>
16432
16433 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16434 (__libc_sigaction): Remove unused local variables.
16435
ccd0a08f
L
164362012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16437
16438 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16439
62bdf9a6
PE
164402012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16441
f8591f80
PE
16442 mktime: avoid signed integer overflow
16443 * time/mktime.c (__mktime_internal): Do not mishandle the case
16444 where diff == INT_MIN.
16445
94c7d826
PE
16446 mktime: simplify computation of average
16447 * time/mktime.c (ranged_convert): Use new time_t_avg function
16448 instead of rolling our own (probably-slower) code.
16449
ce73d683
PE
16450 mktime: do not assume signed right shift propagates sign bit
16451 * time/mktime.c (isdst_differ): New static function.
16452 (__mktime_internal): No need to normalize tm_isdst now.
16453 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16454 tm_isdst values.
16455
72a22e59
PE
16456 mktime: merge another wrapv change from gnulib
16457 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16458 from some compilers.
16459
68605433
PE
16460 mktime: remove incorrect attempt at unusual arithmetics
16461 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16462 The code didn't really work on such machines anyway.
16463 (TYPE_MINIMUM): Assume two's complement.
16464 (twos_complement_arithmetic): Verify that long_int and time_t
16465 are two's complement (or unsigned, in the latter case).
16466
03cf7fe3
PE
16467 mktime: check signed shifts on long_int and time_t, too
16468 * time/mktime.c (SHR): Check that shifts work as desired
16469 on the types long_int and time_t too, as SHR is used on
16470 such types.
16471
f04dfbc2
PE
16472 mktime: do not assume 'long' is wide enough
16473 * time/mktime.c (verify): Move decl up.
16474 (long_int): New type.
16475 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16476 to remove assumption in the code that 'long' is wide enough to
16477 store year values. This assumption is not true on x32 and on
16478 some non-glibc platforms.
16479
62bdf9a6
PE
16480 mktime: merge wrapv change from gnulib
16481 * time/mktime.c (WRAPV): New macro.
16482 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16483 (guess_time_tm, __mktime_internal): Do not assume that signed
16484 integer overflow wraps around; modern compilers generate code
16485 where this assumption is no longer valid.
16486
5e292e4f
L
164872012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16488
16489 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16490 Replace "jmp L(pseudo_end)" with "ret".
16491 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16492 Likewise.
16493
8caf8c87
AJ
164942012-05-23 Andreas Jaeger <aj@suse.de>
16495
16496 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16497 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16498
1a09dc56
AJ
164992012-05-23 Andreas Jaeger <aj@suse.de>
16500 Maximilian Attems <max@stro.at>
16501
16502 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16503 New macros.
16504
1c87aba0
L
165052012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16506
16507 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16508 code so that pseudo_end is just ret and the stack pointer is
16509 correct also for static library in error case.
16510
40e45bd5
JM
165112012-05-23 Joseph Myers <joseph@codesourcery.com>
16512
c2670533
JM
16513 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16514 move to syscalls.list.
16515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16519
40e45bd5
JM
16520 * manual/install.texi (Running make install): Do not mention Linux
16521 kernel version for which pt_chown is not needed.
16522 (Linux): Do not mention problems with nscd with 2.0 kernels.
16523 * INSTALL: Regenerated.
16524
be08eda5
AJ
165252012-05-23 Andreas Jaeger <aj@suse.de>
16526
16527 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16528 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16529 macro.
16530 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16531 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16532 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16533 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16534 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16535 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16536 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16537 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16538 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16539 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16540 * sysdeps/unix/sysv/linux/bits/in.h
16541 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16542
a6a056bb
RM
165432012-05-22 Roland McGrath <roland@hack.frob.com>
16544
16545 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16546 (PREPARE_VERSION): Just use assert instead, it will be elided
16547 under [NDEBUG] anyway.
16548
c9009328
L
165492012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16550
16551 * sysdeps/unix/sysv/linux/Makefile: Include
16552 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 16553 (sysdep_routines): Remove sysctl.
c9009328
L
16554 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16555 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16556 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16557 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16558 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16559
73338355
AJ
165602012-05-22 Andreas Jaeger <aj@suse.de>
16561
16562 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16563 that pseudo_end is just ret and the stack pointer is correct also
16564 for static library in error case.
16565
d44638b0
PP
165662012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16567
16568 [BZ #14122]
16569 * nss/nsswitch.c (defconfig_entries): New variable.
16570 (__nss_database_lookup): Don't leak defconfig entries.
16571 (nss_parse_service_list): Don't leak on error paths.
16572 (free_database_entries): New function.
16573 (free_defconfig): New function.
16574 (free_mem): Move common code to free_database_entries.
16575
31a39bd8
L
165762012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16577
da0331a8
L
16578 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16579 Add arch_prctl.
16580 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16581
31a39bd8
L
16582 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16583 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16584 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16585 New macro.
16586 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16587 (INTERNAL_SYSCALL_TYPES): Likewise.
16588 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16589 (LOAD_REGS_TYPES_[1-6]): Likewise.
16590 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16591 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16592
45470df3
AZ
165932012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16594
16595 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16596 copysignl for GLIBC_2_0.
16597 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16598 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16599 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16600 logbl for GLIBC_2_0.
16601 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16602 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16603
98a61bcb
L
166042012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16605
a4f6e481
L
16606 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16607 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16608
f63d5db6
L
16609 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16610 Use "neg %eax".
16611
98a61bcb
L
16612 * time/mktime.c: Update copyright years.
16613
95770f14
PE
166142012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16615
6226efbd
PE
16616 mktime: merge comment-quoting-style change from gnulib
16617 * time/mktime.c: Quote 'like this' in comments.
16618 The GNU coding standards suggest that we no longer quote `like this',
16619 as "`" and "'" are typically rendered asymmetrically nowadays.
16620 The typical gnulib style is to quote 'like this' when quoting
16621 code, and "like this" when quoting English.
16622
b99e4f78
PE
16623 * time/mktime.c (compile-command): Add "-I.".
16624
643e01e6
PE
16625 mktime: merge mktime-internal.h change from gnulib
16626 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16627
2554247d
PE
16628 mktime: merge time_r change from gnulib
16629 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
16630
826dd0ab
PE
16631 mktime: merge DEBUG change from gnulib
16632 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
16633 case system <time.h> has a #define.
16634
bd83aabe
PE
16635 mktime: merge <sys/types.h> change from gnulib
16636 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
16637 since <time.t> is now guaranteed to define time_t.
16638
95770f14
PE
16639 mktime: merge HAVE_CONFIG_H change from gnulib
16640 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
16641
5e1a27a9
L
166422012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16643
0e44a77e
L
16644 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16645 Use "neg %eax".
16646
5e1a27a9
L
16647 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
16648 __rlim_t cast.
16649 (struct rusage): Use anonymous union to pad each field to
16650 __syscall_slong_t.
16651
46259bec
DM
166522012-05-21 David S. Miller <davem@davemloft.net>
16653
16654 * Makefules (o-iterator): Remove .s cases.
16655 (compile-command.s): Delete.
16656 (COMPILE.s): Delete.
16657 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
16658
59f0c22e
JM
166592012-05-21 Joseph Myers <joseph@codesourcery.com>
16660
16661 * configure.in (libc_cv_predef_stack_protector): Only consider
16662 "foobar" and "__stack_chk_fail" lines in libc_undefs.
16663 * configure: Regenerated.
16664
20c07380
L
166652012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16666
bbb3154b
L
16667 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
16668 New macro. Use R*LP on int and pointer.
16669 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
16670 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
16671 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
16672 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
16673
20c07380
L
16674 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
16675 [__WORDSIZE_TIME64_COMPAT32] instead of
16676 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
16677 (struct utmp): Likewise.
16678 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
16679 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
16680 Renamed to ...
16681 (__WORDSIZE_TIME64_COMPAT32): This.
16682 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
16683 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
16684 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
16685 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
16686 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
16687 (__WORDSIZE_TIME64_COMPAT32): New macro.
16688
d8d1017e
AJ
166892012-05-21 Andreas Jaeger <aj@suse.de>
16690
16691 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
16692 only if [SHARED]. Add prototype for __wcschr_ia32.
16693
6c7fb145
RM
166942012-05-21 Roland McGrath <roland@hack.frob.com>
16695
16696 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
16697 of %rbp unmolested in the jmp_buf while mangling the low bits.
16698 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
16699 unmolested high bits of %rbp while demangling the low bits.
16700 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16701
66274218
AJ
167022012-05-21 Andreas Jaeger <aj@suse.de>
16703
07c58f8f
AJ
16704 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
16705 * sunrpc/svc_simple.c: Use it for registerrpc.
16706 * sunrpc/xcrypt.c: Use it for passwd2des.
16707
66274218
AJ
16708 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
16709
61f65140
L
167102012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16711
16712 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
16713 Don't define if [__SYSCALL_WORDSIZE != 32].
16714 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
16715 New macro.
16716
5fefb436
AJ
167172012-05-21 Bruno Haible <bruno@clisp.org>
16718 Andreas Jaeger <aj@suse.de>
16719
16720 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
16721 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
16722 inptr and inend for must_buffer_ch.
16723 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
16724 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
16725 * stdio-common/Makefile (tests): Remove bug15.
16726 (bug15-ENV): Remove macro.
16727 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
16728 anymore.
16729
d8e272ab
AJ
167302012-05-19 Andreas Jaeger <aj@suse.de>
16731 Roland McGrath <roland@hack.frob.com>
16732
16733 * manual/contrib.texi: Completely rewritten. It contains now an
16734 alphabetical list of contributors and their contributions.
16735
4a56a162
RH
167362012-05-21 Richard Henderson <rth@twiddle.net>
16737
16738 * misc/getauxval.c (__getauxval): Use unsigned long int.
16739 * misc/sys/auxv.h: Include <sys/cdefs.h>.
16740 (getauxval): Use unsigned long int.
16741
d024d23c
L
167422012-05-21 H.J. Lu <hongjiu.lu@intel.com>
16743
16744 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16745
cbc00a03
RM
167462012-05-21 Roland McGrath <roland@hack.frob.com>
16747
16748 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
16749 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
16750 __alignof__ (long double).
16751
478143fa
AZ
167522012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16753
16754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16755
c7683a6d
RH
167562012-05-20 Richard Henderson <rth@twiddle.net>
16757
16758 * misc/getauxval.c: New file.
16759 * misc/sys/auxv.h: New file.
16760 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
16761 (routines): Add getauxval.
16762 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
16763 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
16764 * elf/dl-sysdep.c (_dl_auxv): Remove.
16765 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
16766 * elf/dl-support.c (_dl_auxv): New variable.
16767 (_dl_aux_init): Initialize it.
16768 * manual/startup.texi (Auxiliary Vector): New node.
16769 * sysdeps/generic/bits/hwcap.h: New file.
16770 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
16771 * sysdeps/powerpc/sysdep.h: ... here. Include it.
16772 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
16773 * sysdeps/sparc/sysdep.h: ... here. Include it.
16774 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
16775 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
16776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16777 Update.
c7683a6d
RH
16778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
16779 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
16780 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
16781 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
16782 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16783 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
16784 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
16785 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
16786
a6f1845d
AZ
167872012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16788
16789 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16790
cbcbe830
DM
167912012-05-19 David S. Miller <davem@davemloft.net>
16792
16793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16794
e0b16cc2
JM
167952012-05-19 Joseph Myers <joseph@codesourcery.com>
16796
16797 [BZ #14123]
16798 * math/s_ccosh.c: Include <float.h>
16799 (__ccosh): Avoid internal overflow calculating sinh and cosh
16800 values before multiplying by sin and cos values.
16801 * math/s_ccoshf.c: Likewise.
16802 * math/s_ccoshl.c: Likewise.
16803 * math/s_csin.c: Likewise.
16804 * math/s_csinf.c: Likewise.
16805 * math/s_csinl.c: Likewise.
16806 * math/s_csinh.c: Likewise.
16807 * math/s_csinhf.c: Likewise.
16808 * math/s_csinhl.c: Likewise.
16809 * math/libm-test.inc (ccos_test): Add more tests.
16810 (ccosh_test): Likewise.
16811 (csin_test): Likewise.
16812 (csinh_test): Likewise.
16813 * sysdeps/i386/fpu/libm-test-ulps: Update.
16814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16815
6ad13e08
L
168162012-05-19 H.J. Lu <hongjiu.lu@intel.com>
16817
f66f0ce8
L
16818 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
16819 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
16820
6ad13e08
L
16821 * sysdeps/x86_64/x32/_itoa.h: Add comment.
16822
b1d072a7
JM
168232012-05-19 Joseph Myers <joseph@codesourcery.com>
16824
16825 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
16826 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
16827 * sysdeps/powerpc/soft-fp/Versions: Likewise.
16828 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
16829 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
16830 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
16831 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
16832 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
16833 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
16834 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
16835 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
16836 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
16837 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
16838 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
16839 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
16840 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
16841 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
16842 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
16843 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
16844 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
16845 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
16846 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
16847 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
16848 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
16849 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
16850 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
16851 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
16852 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
16853 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
16854 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
16855 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
16856
9eae47cb
AJ
168572012-05-18 Andreas Jaeger <aj@suse.de>
16858
16859 * csu/.gitignore: Delete.
16860
bb07f69f
L
168612012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16862
16863 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
16864 (timex): Use __syscall_slong_t.
16865
e6bdb741
AJ
168662012-05-18 Andreas Jaeger <aj@suse.de>
16867 Carlos O'Donell <carlos_odonell@mentor.com>
16868
16869 * manual/install.texi (Configuring and compiling): Update
16870 description about files modified in the source directory.
d6c33fda 16871 * INSTALL: Regenerated.
e6bdb741 16872
1b74487e
L
168732012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16874
16875 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
16876 value. Use "or" to set return value to -1.
16877 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
16878 negate return value.
16879
a88b64b9
TMQMF
168802012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16881
16882 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
16883 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
16884 failure if the compiler has Graphite support disabled.
16885 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
16886 Likewise.
16887 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
16888 CFLAGS-memmove.c): Likewise.
16889 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
16890 Likewise.
16891
3707636e
L
168922012-05-18 H.J. Lu <hongjiu.lu@intel.com>
16893
610b8622
L
16894 * sysdeps/x86_64/x32/_itoa.h: New file.
16895
7cd195df
L
16896 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
16897 getdents system call only if kernel and user dirents have the
16898 same d_ino and d_off.
16899
94b07d20
L
16900 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
16901 LLONG_MAX != LONG_MAX.
16902 (_itoa_word): Use _ITOA_WORD_TYPE on value.
16903 (_fitoa_word): Likewise.
16904
18298070
L
16905 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
16906 years.
16907 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
16908 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
16909 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
16910
553c7ea4
L
16911 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
16912 include <bits/wordsize.h>. Check __x86_64__ instead of
16913 __WORDSIZE.
16914 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
16915 if __x86_64__ is defined. Use anonymous union on fpstate.
16916
3707636e
L
16917 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
16918 anonymous union.
16919
b53ef01a
AS
169202012-05-18 Andreas Schwab <schwab@linux-m68k.org>
16921
37fb1dc0
AS
16922 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
16923 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
16924 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
16925 Refer to _rtld_local_ro instead of _rtld_global_ro.
16926 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
16927 Likewise.
16928 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
16929 Likewise.
16930 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
16931 Likewise.
16932 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
16933 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
16934 of _rtld_global, and rtld_progname instead of _dl_argv[0].
16935
b53ef01a
AS
16936 * sysdeps/powerpc/powerpc32/dl-machine.c
16937 (__elf_machine_runtime_setup) [PROF]: Don't reference
16938 _dl_prof_resolve.
16939
7a185db2
AJ
169402012-05-18 Andreas Jaeger <aj@suse.de>
16941
16942 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
16943 function only available for GCCs before 3.4 since GCC 3.4
16944 introduced a builtin.
16945 (lrint): Likewise.
16946 (llrintf): Likewise.
16947 (llrint): Likewise.
16948 (fmaxf): Likewise.
16949 (fmax): Likewise.
16950 (fminf): Likewise.
16951 (fmin): Likewise.
16952 (rint): Likewise.
16953 (rintf): Likewise.
16954 (nearbyint): Likewise.
16955 (nearbyintf): Likewise.
16956 (ceil): Likewise.
16957 (ceilf): Likewise.
16958 (floor): Likewise.
16959 (floorf): Likewise.
16960
3e5aef87
L
169612012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16962
428bd707
L
16963 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
16964 on both fields and cast pointer to __syscall_ulong_t.
16965
3e5aef87
L
16966 * bits/types.h (__fsword_t): New type.
16967 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
16968 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
16969 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16970 (__FSWORD_T_TYPE): Likewise.
16971 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16972 (__FSWORD_T_TYPE): Likewise.
16973 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16974 (__FSWORD_T_TYPE): Likewise.
16975 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
16976 (__FSWORD_T_TYPE): Likewise.
16977 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
16978 __SWORD_TYPE with __fsword_t.
16979 (statfs64): Likewise.
16980
1ba7c3dc
DM
169812012-05-17 David S. Miller <davem@davemloft.net>
16982
16983 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
16984
59910343
AJ
169852012-05-17 Andreas Jaeger <aj@suse.de>
16986
16987 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
16988 warning.
16989
2e4c1e9e
L
169902012-05-17 H.J. Lu <hongjiu.lu@intel.com>
16991
16992 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
16993
de7f5ce7
AJ
169942012-05-17 Andreas Jaeger <aj@suse.de>
16995
16996 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
16997 when it is used.
16998
286abc3d
CM
169992012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17000
17001 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17002
477cc68e
L
170032012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17004
17005 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17006 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17007
1a0994f5
CD
170082012-05-17 Andreas Jaeger <aj@suse.de>
17009 Carlos O'Donell <carlos_odonell@mentor.com>
17010
17011 [BZ #14059]
17012 * sysdeps/x86_64/multiarch/init-arch.h
17013 (bit_YMM_Usable): Rename to...
17014 (bit_AVX_Usable): ... this.
17015 (bit_FMA4_Usable): New macro.
17016 (bit_XMM_state): New macro.
17017 (bit_YMM_state): New macro.
17018 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17019 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17020 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17021 (CPUID_OSXSAVE): New macro.
17022 (CPUID_AVX): New macro.
17023 (CPUID_FMA4): New macro.
17024 (index_YMM_Usable): Rename to...
17025 (index_AVX_Usable): ... this.
17026 (HAS_AVX): Use HAS_ARCH_FEATURE.
17027 (HAS_FMA4): Likewise.
17028 (HAS_YMM_USABLE): Remove.
17029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17030 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17031 are present.
17032 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17033 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17034 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17035 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17036 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17037
0af797de
CM
170382012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17039
17040 * math/libm-test.c: Support platforms without multiple rounding modes.
17041 * math/bug-nextafter.c: Support platforms without FP exceptions.
17042 * math/bug-nexttoward.c: Likewise.
17043 * math/test-fenv.c: Likewise.
17044 * math/test-misc.c: Likewise.
17045 * stdlib/bug-getcontext.c: Likewise.
17046
e39745ff
AJ
170472012-05-17 Andreas Jaeger <aj@suse.de>
17048
17049 * manual/examples/search.c (critter_cmp): Change signature to
17050 avoid warnings.
17051 * manual/string.texi (Collation Functions): Likewise.
17052
48970aba
L
170532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17054
17055 * bits/types.h: Fold copyright years.
17056 * bits/typesizes.h: Likewise.
17057 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17058 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17059 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17060 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17061 * time/time.h: Likewise.
17062
bedee953
PP
170632012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17064
17065 [BZ #208]
17066 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17067 in instead of returning them. Return void.
17068 (__libc_mallinfo): Accumulate over all arenas.
17069 (__malloc_stats): Adjust for change in int_mallinfo interface.
17070
61653dfb
RM
170712012-05-16 Roland McGrath <roland@hack.frob.com>
17072
30b99d79
RM
17073 [BZ #10375]
17074 * configure.in (NM): Add AC_CHECK_TOOL for it.
17075 (libc_extra_cflags): New substituted variable.
17076 Check for -fstack-protector being used implicitly.
17077 * configure: Regenerated.
17078 * config.make.in (config-extra-cflags): New variable,
17079 gets @libc_extra_cflags@.
17080 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17081
61653dfb
RM
17082 [BZ #10375]
17083 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17084 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17085 * configure: Regenerated.
17086 * config.make.in (CPPUNDEFS): New substituted variable.
17087 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17088 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17089 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17090
661768bb
L
170912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17092
17093 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17094 (mq_attr): Use __syscall_slong_t.
17095
d4261567
L
170962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17097
17098 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17099 Check __x86_64__ instead of __WORDSIZE.
17100 (_STAT_VER_LINUX): Likewise.
17101 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17102 __syscall_ulong_t and __syscall_slong_t.
17103 (stat64): Likewise.
17104
cf3ff365
L
171052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17106
17107 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17108
76cf3e4d
L
171092012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17110
17111 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17112
a637753a
L
171132012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17114
17115 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17116 __syscall_ulong_t.
17117
d5e05119
L
17118 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17119 include <bits/wordsize.h>. Check __x86_64__ instead of
17120 __WORDSIZE.
17121 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17122 defined.
17123 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17124
f62ee380
L
17125 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17126 include <bits/wordsize.h>. Check __x86_64__ instead of
17127 __WORDSIZE.
17128 (user_regs_struct): Use "__extension__ unsigned long long"
17129 instead of "unsigned long" if __x86_64__ is defined.
17130 (user): Likewise. Pad after pointer field if __ILP32__ is
17131 defined.
17132
4e124ced
JM
171332012-05-16 Joseph Myers <joseph@codesourcery.com>
17134
6a3951a0
JM
17135 * configure.in (makeinfo): Require version 4.5 or later. Allow
17136 versions 5 to 9.
17137 * configure: Regenerated.
17138 * manual/install.texi (texinfo): Increase version requirement to
17139 4.5 or later.
17140 * INSTALL: Regenerated.
17141
4e124ced
JM
17142 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17143
953ca31a
L
171442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17145
17146 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17147
617aca05
L
17148 * sysdeps/x86_64/x32/ffs.c: New file.
17149
5762f7ae
L
17150 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17151 __syscall_ulong_t.
17152 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17153 defined. Use __syscall_ulong_t.
17154 (shminfo): Use __syscall_ulong_t.
17155 (shm_info): Likewise.
17156
a26b6856
L
17157 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17158 __syscall_ulong_t.
17159
cb2b9ef7
L
17160 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17161 <bits/wordsize.h>.
17162 (msgqnum_t): Use __syscall_ulong_t.
17163 (msglen_t): Likewise.
17164 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17165 __syscall_ulong_t.
17166
34683bb0
L
17167 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17168 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17169
84a68786
L
17170 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17171
48baa5f1
L
17172 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17173 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17174
180be88b
L
17175 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17176 __syscall_slong_t.
17177
5e90c8ad
L
17178 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17179 include <bits/wordsize.h>. Check __x86_64__ instead of
17180 __WORDSIZE.
17181
23dfb58b
L
17182 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17183 "unsigned long long int" if __x86_64__ is defined.
17184 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17185
ce5d54b0
L
17186 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17187 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17188 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17189
13dc9eac
L
17190 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17191 <stdint.h>.
17192 (GET_PC): Cast to uintptr_t first.
17193 (GET_FRAME): Likewise.
17194 (GET_STACK): Likewise.
17195
a7895d15
L
17196 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17197 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17198 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17199 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17200 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17201 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17202 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17203 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17204 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17205 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17206 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17207 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17208 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17209 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17210 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17211 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17212 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17213 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17214 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17215 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17216 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17217 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17218 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17219 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17220 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17221 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17222 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17223 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17224 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17225
656416c9
AS
172262012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17227
5bd66283
AS
17228 * Makerules (+depfiles): Also collect depfiles from .oS in
17229 $(extra-objs).
17230 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17231 .oS, $(libnldbl-routines)).
17232
656416c9
AS
17233 * Makerules (native-compile-mkdep-flags): Define.
17234 * sunrpc/Makefile (extra-objs): Add $(addprefix
17235 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17236 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17237 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17238 calling $(make-target-directory).
17239
a46f2169
L
172402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17241
17242 * bits/types.h (__snseconds_t): Removed.
17243 * time/time.h (struct timespec): Replace __snseconds_t with
17244 __syscall_slong_t.
17245 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17246 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17247 Likewise.
17248 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17249 (__SNSECONDS_T_TYPE): Likewise.
17250 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17251 (__SNSECONDS_T_TYPE): Likewise.
17252 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17253 (__SNSECONDS_T_TYPE): Likewise.
17254
6af6528b
L
172552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17256
17257 * sysdeps/mach/hurd/bits/typesizes.h
17258 (__SYSCALL_SLONG_TYPE): New macro.
17259 (__SYSCALL_ULONG_TYPE): Likewise.
17260
de986b56
L
172612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17262
17263 * bits/types.h (__syscall_slong_t): New type.
17264 (__syscall_ulong_t): Likewise.
17265
17266 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17267 (__SYSCALL_ULONG_TYPE): Likewise.
17268 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17269 (__SYSCALL_SLONG_TYPE): Likewise.
17270 (__SYSCALL_ULONG_TYPE): Likewise.
17271 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17272 (__SYSCALL_SLONG_TYPE): Likewise.
17273 (__SYSCALL_ULONG_TYPE): Likewise.
17274 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17275 (__SYSCALL_SLONG_TYPE): Likewise.
17276 (__SYSCALL_ULONG_TYPE): Likewise.
17277
85736dc7
L
172782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17279
17280 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17281 Add sigaltstack-offsets.sym.
17282 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17283 <sigaltstack-offsets.h>.
17284 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17285 longjmp_msg pointer.
17286 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17287 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17288 signal stack.
17289 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17290
cc03b296
JM
172912012-05-15 Joseph Myers <joseph@codesourcery.com>
17292
a9538892
JM
17293 * elf/stackguard-macros.h: Remove file.
17294 * sysdeps/generic/stackguard-macros.h: New file.
17295 * sysdeps/i386/stackguard-macros.h: Likewise.
17296 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17297 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17298 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17299 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17300 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17301 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17302 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17303 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17304 <elf/stackguard-macros.h>.
17305
cc03b296
JM
17306 [BZ #14109]
17307 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17308 __aligned__ in attribute.
17309 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17310 (gregset_t): Likewise.
17311
93171016
L
173122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17313
17314 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17315 * sysdeps/x86_64/64/Implies-after: Here. New file.
17316 * sysdeps/x86_64/x32/Implies-after: New file.
17317
d86813a0
L
173182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17319
17320 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17321 and access return value for _dl_profile_fixup. Use R10_LP to
17322 load frame size.
17323
2953ec75
L
173242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17325
17326 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17327
3b550e9e
L
173282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17329
17330 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17331 * sysdeps/x86_64/x32/sysdep.h: New file.
17332
eda41706
L
173332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17334
17335 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17336 * sysdeps/x86_64/setjmp.S: Likewise.
17337
9ea01d93
AZ
173382012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17339
17340 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17341 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17342 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17343 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17344 remove unused global constant.
17345
02a91938
CM
173462012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17347
17348 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17349 include of <not-cancel.h>.
17350
6540185f
RM
173512012-05-15 Roland McGrath <roland@hack.frob.com>
17352
17353 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17354
509072a0
AJ
173552012-05-15 Jeff Law <law@redhat.com>
17356 Andreas Jaeger <aj@suse.de>
17357
17358 [BZ #13594]
17359 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17360 out from...
17361 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17362 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17363 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17364 code changing __hst_map_handle.map.
17365
ba75122d
RM
173662012-05-15 Roland McGrath <roland@hack.frob.com>
17367
17368 * configure.in (sysnames): Look for Implies-before and Implies-after
17369 files.
17370 * configure: Regenerated.
17371
890d8bd8
L
173722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17373
17374 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17375 8-byte data alignment with LP_SIZE alignment.
17376
f6ee6623
L
173772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17378
17379 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17380 into R10_LP.
17381
ea2626f6
L
173822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17383
17384 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17385
085f715e
L
173862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17387
17388 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17389 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17390 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17391 Likewise.
17392 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17393
be8498fc
L
173942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17395
17396 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17397 (stackinfo_sub_sp): Likewise.
17398
70bc83b9
L
173992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17400
17401 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17402 RAX_LP.
17403
9bc0b730
L
174042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17405
17406 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17407 into R*_LP.
17408
6d2850e7
L
174092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17410
17411 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17412 sizes into R*_LP.
17413
3cb84561
L
174142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17415
17416 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17417
54e2ed81
L
174182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17419
17420 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17421 into R11_LP and load __x86_64_shared_cache_size_half into
17422 R8_LP.
17423
8a17f349
L
174242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17425
17426 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17427 R8_LP.
17428
777b1eea
AZ
174292012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17430
17431 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17432 logb for POWER7.
17433 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17434 logbf for POWER7.
17435 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17436 logbl for POWER7.
17437 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17438 powerpc32/power7/fpu/s_logb.c via #include.
17439 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17440 powerpc32/power7/fpu/s_logbf.c via #include.
17441 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17442 powerpc32/power7/fpu/s_logbl.c via #include.
17443
d20d4ac2
JM
174442012-05-15 Joseph Myers <joseph@codesourcery.com>
17445
17446 * README.libm: Remove file.
17447
6cdef1ab
L
174482012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17449
17450 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17451 count for x32. Use R*_LP and omit operand-size suffix.
17452
0b254d8f
L
174532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17454
17455 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17456 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17457 * sysdeps/x86_64/x32/shlib-versions: New file.
17458
ceb809dc
RM
174592012-05-14 Roland McGrath <roland@hack.frob.com>
17460
17461 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17462 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17463 Use _dl_fatal_printf instead.
17464
37f1abd4
JM
174652012-05-14 Joseph Myers <joseph@codesourcery.com>
17466
17467 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17468 set if not set by the user. Do not allow for being unset.
17469 * sysdeps/unix/sysv/linux/configure: Regenerated.
17470
11de3a33
L
174712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17472
17473 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17474 the `q' suffix from lea and replace .quad with ASM_ADDR.
17475
e02f153a
L
174762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17477
17478 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17479 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17480 instead of $17.
17481 (PTR_DEMANGLE): Likewise.
17482
520ae0fd
L
174832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17484
17485 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17486 (LP_OP): Likewise.
17487 (ASM_ADDR): Likewise.
17488 (RAX_LP): Likewise.
17489 (RBP_LP): Likewise.
17490 (RBX_LP): Likewise.
17491 (RCX_LP): Likewise.
17492 (RDI_LP): Likewise.
17493 (RSI_LP): Likewise.
17494 (RSP_LP): Likewise.
17495 (R8_LP): Likewise.
17496 (R9_LP): Likewise.
17497 (R10_LP): Likewise.
17498 (R10_LP): Likewise.
17499 (R11_LP): Likewise.
17500 (R12_LP): Likewise.
17501 (R13_LP): Likewise.
17502 (R14_LP): Likewise.
17503 (R15_LP): Likewise.
17504
b985be81
L
175052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17506
17507 * sysdeps/x86_64/x32/dl-machine.h: New file.
17508
6a4888ff
AJ
175092012-05-14 Andreas Jaeger <aj@suse.de>
17510
17511 * manual/Makefile (subdir): Remove export of subdir.
17512 (all): Remove target.
17513 (.PHONY): Remove all from list.
17514 (mkinstalldirs): Remove.
17515 (.PHONY): Remove installdirs from list.
17516 ($(inst_infodir)/libc.info): Use make-target-directory.
17517 (installdirs): Remove.
17518 (subdir_%): Remove.
17519 (glibc-targets): Remove.
17520 (lib): Remove.
17521 (stubs): Remove.
17522 ($(objpfx)stubs ../po/manual.pot): Remove.
17523 ($(objpfx)stamp%): Remove.
17524 (make-target-directory): Remove.
17525 (subdir_install): Remove.
17526 (routines): Remove.
17527 (aux): Remove.
17528 (sources): Remove.
17529 (objects): Remove.
17530 (headers): Remove.
17531
17532 [BZ #13750]
17533 * manual/.gitignore: Remove, it's not needed anymore.
17534 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17535 all files in it.
17536 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17537 directory.
17538 (texis): Renamed to $(objpfx)texis.
17539 (texis-path): New, contains path to generated files.
17540 (chapters.%): Use texis-path for complete path, add extra argument
17541 libc-texinfo.sh.
17542 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17543 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17544 (summary,texi, stamp-summary): Use complete path of
17545 files. Generate files in build dir.
17546 (dir-add.texi): Build in build dir.
17547 (libm-err.texi,stamp-libm-err): Likewise.
17548 (version.texi, stamp-version): Likewise.
17549 (.%c.texi): Likewise.
17550 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17551 (mostlyclean): Remove target.
17552 (realclean): Remove target.
17553 (generated): Add new variable with contents from mostlyclean and
17554 realclean, remove entries duplicated in common-mostlyclean, add
17555 stamp-libm-err and stamp-version.
17556 (generated-dirs): Add libc directory.
17557 ($(inst_infodir)/libc.info): Install files from build dir.
17558
17559 * manual/install.texi (Configuring and compiling): Adjust since
17560 the info files are not part of the tar ball anymore.
17561
7ac77294
AJ
175622012-05-14 Andreas Jaeger <aj@suse.de>
17563
17564 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17565 variable.
17566
ffb7875d
JM
175672012-05-14 Joseph Myers <joseph@codesourcery.com>
17568
17569 [BZ #13717]
17570 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17571 to 2.2.0 where earlier.
17572 * sysdeps/unix/sysv/linux/configure: Regenerated.
17573 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17574 Remove conditional code.
17575 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17576 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17577 Remove conditional code.
17578 [!__NR_lchown]: Likewise.
17579 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17580 [__NR_lchown]: Likewise.
17581 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17582 comment referencing __ASSUME_LCHOWN_SYSCALL.
17583 * sysdeps/unix/sysv/linux/i386/sigaction.c
17584 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17585 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17586 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17587 Remove conditional code.
17588 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17589 (__protocol_available): Remove #if 0 code.
17590 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17591 conditional code.
17592 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17593 * sysdeps/unix/sysv/linux/kernel-features.h
17594 (__ASSUME_GETCWD_SYSCALL): Don't define.
17595 (__ASSUME_REALTIME_SIGNALS): Likewise.
17596 (__ASSUME_PREAD_SYSCALL): Likewise.
17597 (__ASSUME_PWRITE_SYSCALL): Likewise.
17598 (__ASSUME_POLL_SYSCALL): Likewise.
17599 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17600 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17601 non-SPARC.
17602 (__ASSUME_SIOCGIFNAME): Don't define.
17603 (__ASSUME_MSG_NOSIGNAL): Likewise.
17604 (__ASSUME_SENDFILE): Define unconditionally.
17605 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17606 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17607 conditional code.
17608 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17609 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17610 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17611 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17612 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17613 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17614 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17616 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17617 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17619 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17620 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17622 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17623 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17625 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17626 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17628 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17629 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
17631 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17632 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
17634 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17635 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
17637 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17638 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17639 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
17640 Remove conditional code.
17641 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17642 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17643 Remove conditional code.
17644 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17645 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
17646 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
17647 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17648 Remove conditional code.
17649 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17650 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
17651 Remove conditional code.
17652 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17653 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
17654 Remove conditional code.
17655 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17656 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
17657 Remove conditional code.
17658 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17659 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
17660 Remove conditional code.
17661 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17662 * sysdeps/unix/sysv/linux/sh/pwrite64.c
17663 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17664 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17665 * sysdeps/unix/sysv/linux/sigaction.c
17666 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17667 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17668 * sysdeps/unix/sysv/linux/sigpending.c
17669 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17670 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17671 * sysdeps/unix/sysv/linux/sigprocmask.c
17672 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17673 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17674 * sysdeps/unix/sysv/linux/sigsuspend.c
17675 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17676 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17677 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
17678 (__libc_missing_rt_sigs): Remove.
17679 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
17680 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
17681 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
17682 Remove conditional code.
17683 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
17684 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
17685 return 1.
17686 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
17687 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
17688 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
17689 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
17690
1bfb7291
AJ
176912012-05-14 Andreas Jaeger <aj@suse.de>
17692
caae5a81
AJ
17693 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
17694 it's not used in glibc.
17695 (__coshm1): Likewise.
17696 (__acosh1p): Likewise.
17697 (__sgn): Likewise.
17698
1bfb7291
AJ
17699 * manual/string.texi (Copying and Concatenation): Add missing
17700 variable in concat example.
17701 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17702
c044d724
L
177032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17704
144c5467 17705 [BZ #14103]
c044d724
L
17706 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
17707 __builtin_clzl with __builtin_clzll.
17708
2523c62b
L
177092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17710
17711 [BZ #14104]
17712 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
17713 libc_freeres_ptr.
17714
d7bb4c42
LD
177152012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17716
17717 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
17718 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
17719 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
17720 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
17721
9dc4e1fb
MF
177222012-05-14 Mike Frysinger <vapier@gentoo.org>
17723
17724 * NEWS: Update ia64 info.
17725
c7df0112
AS
177262012-05-12 Andreas Schwab <schwab@linux-m68k.org>
17727
17728 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
17729 used as bcopy.
17730
dc70356c
TS
177312012-05-12 Thomas Schwinge <thomas@codesourcery.com>
17732
17733 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
17734 * sysdeps/unix/syscalls.list (dup3): Likewise.
17735 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
17736 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
17737
9fb1a21f
L
177382012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17739
17740 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
17741 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
17742
4822a2a5
L
177432012-05-11 H.J. Lu <hongjiu.lu@intel.com>
17744
17745 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
17746 thread pointer.
17747 (TLS_IE): Use mov/add instead of movq/addq to load thread
17748 pointer.
17749 (TLS_GD_PREFIX): New.
17750 (TLS_GD): Use it.
17751
842b81d6
DM
177522012-05-11 David S. Miller <davem@davemloft.net>
17753
17754 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
17755 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
17756 (_FPU_SETCW): Likewise.
17757
1cf463cd
L
177582012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17759
17760 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
17761 is 32-byte aligned.
17762
60cc4a18
AS
177632012-05-11 Andreas Schwab <schwab@linux-m68k.org>
17764
17765 [BZ #11837]
17766 * iconvdata/gb18030.c: Update tables.
17767 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
17768 characters specially.
17769 (BODY for TO_LOOP): Add encoding of missing ranges.
17770
febb44a4
TS
177712012-05-11 Thomas Schwinge <thomas@codesourcery.com>
17772
17773 [BZ #13673]
17774 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
17775 * sysdeps/mach/hurd/dup3.c: Likewise.
17776 * sysdeps/mach/hurd/readlinkat.c: Likewise.
17777 * sysdeps/powerpc/memmove.c:: Likewise.
17778
0a10fb9e
L
177792012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17780
17781 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
17782 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
17783
df8a552f
L
177842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
17785
17786 * elf/elf.h (R_X86_64_RELATIVE64): New.
17787 (R_X86_64_NUM): Updated.
17788 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17789 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
17790 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
17791 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
17792 tst-quad1pie tst-quad2pie
17793 (modules-names): Add tst-quadmod1 tst-quadmod2.
17794 ($(objpfx)tst-quad1): New dependency.
17795 ($(objpfx)tst-quad2): Likewise.
17796 ($(objpfx)tst-quad1pie): Likewise.
17797 ($(objpfx)tst-quad2pie): Likewise.
17798 * sysdeps/x86_64/tst-quad1.c: New file.
17799 * sysdeps/x86_64/tst-quad1pie.c: New file.
17800 * sysdeps/x86_64/tst-quad2.c: Likewise.
17801 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
17802 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
17803 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
17804 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
17805 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
17806
f34d6f84
ST
178072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17808
f42d41d1
ST
17809 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
17810 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
17811 * streams/stropts.h (t_scalar_t): Define type.
17812
3c3571fc
ST
17813 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
17814 (_PATH_PRESERVE): Set to "/var/lib".
17815 (_PATH_RWHODIR): Set to "/var/spool/rwho".
17816
61f06bd3
ST
17817 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
17818 instead of int.
17819
918d4d71
ST
17820 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
17821 if __dir_mkfile succeeded.
17822
f34d6f84
ST
17823 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
17824 checking for _hurd_dtablesize. Unlock it right after having
17825 finished _hurd_dtable allocation.
17826
10589b4a
TS
178272012-05-10 Thomas Schwinge <thomas@schwinge.name>
17828
674cdbc7
TS
17829 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
17830 * sysdeps/mach/hurd/configure: Regenerated.
17831 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
17832 special-casing to...
17833 * sysdeps/gnu/configure.in: ... this new file.
17834 * sysdeps/unix/sysv/linux/configure: Regenerated.
17835 * sysdeps/gnu/configure: New generated file.
17836
8e41b99f
TS
17837 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
17838 for Linux: use nsec instead of usec, as well as:
17839 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
17840 members of type struct timespec.
17841 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
17842 New macros.
17843 (struct stat64): Likewise.
17844 (_STATBUF_ST_NSEC): New macro.
17845 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
17846
10589b4a
TS
17847 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17848 __strtoul_internal rather than strtoul.
17849
63643c85
PT
178502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17851
17852 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
17853 and reject them.
17854
3faebe6a
ST
178552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17856
17857 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
17858 which preserves existing values.
17859 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
17860
c6474b07
PT
178612012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17862
17863 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
17864 TIMEOUT values. Return EINVAL for NFDS values either negative or
17865 greater than FD_SETSIZE.
17866
1043890b
ST
178672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17868
17869 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
17870 allocated, call __vm_protect to finish enabling the existing space, and
17871 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
17872 allocate the remainder.
17873
37ed8b9b
PT
178742012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17875
17876 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
17877 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
17878
db653660
ST
178792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17880
37ed8b9b
PT
17881 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
17882 sysdeps/mach/hurd/readlink.c.
b29d4053 17883
db653660
ST
17884 * posix/tst-sysconf.c (posix_options): Only use
17885 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
17886 _POSIX_SYNCHRONIZED_IO when they are defined
17887 * sysdeps/mach/hurd/bits/posix_opt.h:
17888 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
17889 (_XOPEN_REALTIME): Undefine macro.
17890 (_XOPEN_REALTIME_THREADS): Undefine macro.
17891 (_XOPEN_SHM): Undefine macro.
17892 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
17893 macro to -1.
17894 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
17895 macro to -1.
17896 (_POSIX_ASYNC_IO): Undefine macro.
17897 (_POSIX_PRIORITIZED_IO): Undefine macro.
17898 (_POSIX_SPIN_LOCKS): Define macro to -1.
17899
ee16e894
ST
17900 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
17901 SA_NODEFER, SA_RESETHAND.
17902 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
17903 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
17904 F_DUPFD_CLOEXEC.
17905
6103ae3b
TS
179062012-05-10 Thomas Schwinge <thomas@schwinge.name>
17907
17908 * elf/Makefile (pldd-modules): Define unconditionally.
17909
80b4e5f3
TS
179102012-05-10 Thomas Schwinge <thomas@schwinge.name>
17911
17912 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
17913
edadcbd6
ST
179142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17915
17916 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
17917 Return ENOENT when name is empty.
17918 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
17919
80694780
TS
179202012-05-10 Thomas Schwinge <thomas@schwinge.name>
17921
1792c087
TS
17922 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
17923
80694780
TS
17924 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
17925
6b645f0d
ST
179262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17927
80694780
TS
17928 Fix mlock in all cases except non-readable pages.
17929 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
17930 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 17931
6b645f0d
ST
17932 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
17933 (__mkdir): When path is `/', just fail with EEXIST.
17934 * sysdeps/mach/hurd/mkdirat.c: Likewise.
17935
e468f8a3
TS
179362012-05-10 Thomas Schwinge <thomas@schwinge.name>
17937
17938 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
17939 <sys/uio.h> (for writev).
17940 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
17941 and <sys/param.h> (for MIN).
17942
a4186cff
PT
179432012-05-10 Pino Toscano <toscano.pino@tiscali.it>
17944
17945 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
17946 REQUESTED_TIME. Properly set the remaining time and return EINTR
17947 if interrupted.
17948
510bbf14
TS
179492012-05-10 Thomas Schwinge <thomas@schwinge.name>
17950
17951 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
17952 Depend on against $(link-rpcuserlibs).
17953
5d5722e8
ST
179542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17955
a4186cff
PT
17956 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
17957 (__libc_stack_end): Do not use attribute_relro.
17958 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
17959 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 17960 to libthread-provided value.
a4186cff
PT
17961 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
17962 attribute_relro.
5d5722e8 17963
37233df9
TS
179642012-05-10 Thomas Schwinge <thomas@schwinge.name>
17965
be971a2b
TS
17966 [BZ #3748]
17967 * bits/libc-lock.h (__libc_once_get): New macro.
17968 * sysdeps/mach/bits/libc-lock.h: Likewise.
17969 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
17970 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
17971 instead of using implementation details.
17972
37233df9
TS
17973 * libio/fileops.c: Unconditionally include <kernel-features.h>.
17974 * libio/freopen.c: Likewise.
17975 * libio/freopen64.c: Likewise.
17976 * misc/syslog.c: Likewise.
17977 * nscd/connections.c: Likewise.
17978 * nscd/netgroupcache.c: Likewise.
17979 * sysdeps/posix/getcwd.c: Likewise.
17980
38de94a5
RM
179812012-05-10 Roland McGrath <roland@hack.frob.com>
17982
17983 * math/w_ilogbf.c: Add #include <limits.h>.
17984
67530489
ST
179852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
17986
a4186cff 17987 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
17988 path instead of returning without unlocking.
17989
67530489
ST
17990 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
17991 immediate-write ioctls.
17992 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
17993
5aa3a74a
TS
179942012-05-10 Thomas Schwinge <thomas@schwinge.name>
17995
18bad2ae
TS
17996 * sysdeps/mach/hurd/i386/init-first.c (init): Use
17997 __builtin_frame_address instead of making assumptions about the
17998 location of the return address relative to DATA. Force early load of
17999 the return address.
18000 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18001 __builtin_frame_address.
18002
5aa3a74a
TS
18003 dup3 for GNU Hurd.
18004 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18005 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18006 implement dup3 and do some further code clean-ups.
18007 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18008 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18009
ecd0de9a
ST
180102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18011
cd9fa985
ST
18012 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18013
a4186cff
PT
18014 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18015 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18016 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18017 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18018 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18019 d->port.lock.
802ca5a5 18020
a4186cff
PT
18021 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18022 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18023 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18024
bcf55240
TS
180252012-05-10 Thomas Schwinge <thomas@schwinge.name>
18026
6960eb42
TS
18027 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18028 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18029 definitions.
18030
eb43375f
TS
18031 accept4 for GNU Hurd.
18032 * include/sys/socket.h (__libc_accept4): New prototype.
18033 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18034 to implement __libc_accept4.
18035 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18036 __libc_accept4.
18037 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18038
bcf55240
TS
18039 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18040 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18041 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18042 signal-defines.sym.
18043
6178c55b
ST
180442012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18045
a4186cff 18046 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18047
6f080c2f
TS
180482012-05-10 Thomas Schwinge <thomas@schwinge.name>
18049
18050 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18051 assertion on O_CLOEXEC flag.
18052 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18053 * hurd/intern-fd.c: Likewise.
18054 * hurd/port2fd.c: Likewise.
18055
bcfe3a54
ST
180562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18057
18058 [BZ #3906]
18059 * bits/in.h (IPV6_PKTINFO): Define new macro.
18060 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18061
89c9aa49
AZ
180622012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18063
18064 [BZ #13954]
18065 [BZ #13955]
18066 [BZ #13956]
18067 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18068 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18069 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18070 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18071 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18072 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18073 * math/libm-test.inc (logb_test) : Additional logb tests.
18074
021db4be
AJ
180752012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18076 Andreas Jaeger <aj@suse.de>
18077
18078 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18079 * configure: Regenerated.
18080 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18081 * config.make.in (link-obsolete-rpc): New substituted variable.
18082 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18083 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18084 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18085 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18086 so that libc.a contains the symbols.
18087 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18088 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18089 * sunrpc/auth_none.c: Likewise.
18090 * sunrpc/auth_unix.c: Likewise.
18091 * sunrpc/authdes_prot.c: Likewise.
18092 * sunrpc/authuxprot.c: Likewise.
18093 * sunrpc/clnt_gen.c: Likewise.
18094 * sunrpc/clnt_perr.c: Likewise.
18095 * sunrpc/clnt_raw.c: Likewise.
18096 * sunrpc/clnt_simp.c: Likewise.
18097 * sunrpc/clnt_tcp.c: Likewise.
18098 * sunrpc/clnt_udp.c: Likewise.
18099 * sunrpc/clnt_unix.c: Likewise.
18100 * sunrpc/des_crypt.c: Likewise.
18101 * sunrpc/des_soft.c: Likewise.
18102 * sunrpc/get_myaddr.c: Likewise.
18103 * sunrpc/key_call.c: Likewise.
18104 * sunrpc/key_prot.c: Likewise.
18105 * sunrpc/netname.c: Likewise.
18106 * sunrpc/pm_getmaps.c: Likewise.
18107 * sunrpc/pm_getport.c: Likewise.
18108 * sunrpc/pmap_clnt.c: Likewise.
18109 * sunrpc/pmap_prot.c: Likewise.
18110 * sunrpc/pmap_prot2.c: Likewise.
18111 * sunrpc/pmap_rmt.c: Likewise.
18112 * sunrpc/publickey.c: Likewise.
18113 * sunrpc/rpc_cmsg.c: Likewise.
18114 * sunrpc/rpc_common.c: Likewise.
18115 * sunrpc/rpc_dtable.c: Likewise.
18116 * sunrpc/rpc_prot.c: Likewise.
18117 * sunrpc/rpc_thread.c: Likewise.
18118 * sunrpc/rtime.c: Likewise.
18119 * sunrpc/svc.c: Likewise.
18120 * sunrpc/svc_auth.c: Likewise.
18121 * sunrpc/svc_raw.c: Likewise.
18122 * sunrpc/svc_run.c: Likewise.
18123 * sunrpc/svc_tcp.c: Likewise.
18124 * sunrpc/svc_udp.c: Likewise.
18125 * sunrpc/svc_unix.c: Likewise.
18126 * sunrpc/svcauth_des.c: Likewise.
18127 * sunrpc/xcrypt.c: Likewise.
18128 * sunrpc/xdr.c: Likewise.
18129 * sunrpc/xdr_array.c: Likewise.
18130 * sunrpc/xdr_float.c: Likewise.
18131 * sunrpc/xdr_intXX_t.c: Likewise.
18132 * sunrpc/xdr_mem.c: Likewise.
18133 * sunrpc/xdr_rec.c: Likewise.
18134 * sunrpc/xdr_ref.c: Likewise.
18135 * sunrpc/xdr_sizeof.c: Likewise.
18136 * sunrpc/xdr_stdio.c: Likewise.
18137
b5c086a2
RM
181382012-05-10 Roland McGrath <roland@hack.frob.com>
18139
18140 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18141 change. Update copyright years.
18142
6d74dd09
JM
181432012-05-10 Joseph Myers <joseph@codesourcery.com>
18144
18145 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18146
28e72501
MK
181472012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18148 Joseph Myers <joseph@codesourcery.com>
18149 Paul Pluzhnikov <ppluzhnikov@google.com>
18150
18151 [BZ #14012]
18152 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18153 requiring rpcgen.
18154 [cross-compiling] (extra-libs): Likewise.
18155 [cross-compiling] (extra-libs-others): Likewise.
18156 [cross-compiling] (librpcsvc-routines): Likewise.
18157 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18158 [cross-compiling] (omit-deps): Likewise.
18159 (sunrpc-CPPFLAGS): New variable.
18160 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18161 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18162 (cross-rpcgen-objs): New variable.
18163 (extra-objs): Append $(cross-rpcgen-objs).
18164 ($(cross-rpcgen-objs)): New rule.
18165 ($(objpfx)cross-rpcgen): Likewise.
18166 (rpcgen-cmd): Define to use $(built-program-file). Expand
18167 comment.
18168 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18169 ($(objpfx)x%.stmp): Likewise.
18170 * sunrpc/proto.h [IS_IN_build] (_): Define.
18171 [IS_IN_build] (_libc_intl_domainname): Likewise.
18172
c8c59454
L
181732012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18174
18175 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18176 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18177 and R_X86_64_TPOFF64.
18178
6f27cd16
JM
181792012-05-10 Joseph Myers <joseph@codesourcery.com>
18180
18181 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18182 sysdeps/unix/sysv/syscalls.list.
18183 (stime): Likewise.
18184 (utime): Likewise.
18185 * sysdeps/unix/sysv/syscalls.list: Remove file.
18186
02467e1c
PE
181872012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18188
18189 [BZ #3440]
18190 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18191 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18192 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18193 (__LC_IDENTIFICATION): Make these macros useful in #if
18194 expressions, as required by C99.
18195
da392631
AS
181962012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18197
18198 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18199 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18200 after this.
18201
8115f29b
L
182022012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18203
18204 * stdlib/longlong.h: Updated from GCC.
18205
bdd74070
AJ
182062012-05-09 Andreas Jaeger <aj@suse.de>
18207
edfe0dbe
AJ
18208 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18209 default is first entry.
18210 (run_mode): Set type.
18211 (main): Remove informal message about syslog.
18212 (options): Fix typo.
18213
bcfe3a54
ST
18214 [BZ #14053]
18215 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18216 to asm.
bcfe3a54
ST
18217 (lrint): Likewise.
18218 (llrintf): Likewise.
18219 (llrint): Likewise.
18220 (rint): Likewise.
18221 (rintf): Likewise.
18222 (nearbyint): Likewise.
18223 (nearbyintf): Likewise.
bdd74070 18224
91d8d69e
AJ
182252012-05-09 Andreas Jaeger <aj@suse.de>
18226 Pedro Alves <palves@redhat.com>
18227
18228 * nscd/nscd.c (run_mode): Use enum.
18229 (main): Cleanup coding style issue.
18230
bb90b80b
AJ
182312012-05-09 Alexandre Oliva <aoliva@redhat.com>
18232 Andreas Jaeger <aj@suse.de>
18233
bcfe3a54
ST
18234 * nscd/nscd.c (go_background): Replaced with...
18235 (run_mode): ... this.
bb90b80b 18236 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18237 (options): Add -F --foreground.
18238 (main): Implement it.
18239 (parse_opt): Parse it.
bb90b80b 18240
1a4b75a1
AJ
182412012-05-09 Andreas Jaeger <aj@suse.de>
18242
18243 [BZ #14083]
18244 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18245 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18246 -Wconversion warning.
18247 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18248 Likewise.
18249
b1cc2472
JM
182502012-05-09 Joseph Myers <joseph@codesourcery.com>
18251
18252 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18253 == 0.
18254 (LC_ALL): Use macro-int-constant.
18255 (LC_COLLATE): Likewise.
18256 (LC_CTYPE): Likewise.
18257 (LC_MESSAGES): Likewise.
18258 (LC_MONETARY): Likewise.
18259 (LC_NUMERIC): Likewise.
18260 (LC_TIME): Likewise.
18261 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18262 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18263 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18264 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18265 Specify type.
18266 [C99-based standards] (float_t): Expect type.
18267 [C99-based standards] (double_t): Expect type.
18268 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18269 type.
18270 [C99-based standards] (HUGE_VALL): Likewise.
18271 [C99-based standards] (INFINITY): Likewise.
18272 [C99-based standards] (NAN): Likewise.
18273 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18274 [C99-based standards] (FP_NAN): Likewise.
18275 [C99-based standards] (FP_NORMAL): Likewise.
18276 [C99-based standards] (FP_SUBNORMAL): Likewise.
18277 [C99-based standards] (FP_ZERO): Likewise.
18278 [C99-based standards] (FP_FAST_FMA): Use
18279 optional-macro-int-constant. Specify type. Require == 1.
18280 [C99-based standards] (FP_FAST_FMAF): Likewise.
18281 [C99-based standards] (FP_FAST_FMAL): Likewise.
18282 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18283 [C99-based standards] (FP_ILOGBNAN): Likewise.
18284 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18285 Specify type.
18286 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18287 [C99-based standards] (math_errhandling): Specify type.
18288 [ISO99 || ISO11] (signgam): Do not allow.
18289 [non-C99-based standards] (copysignf): Do not allow.
18290 [non-C99-based standards] (exp2f): Likewise.
18291 [non-C99-based standards] (log2f): Likewise.
18292 [non-C99-based standards] (modff): Allow.
18293 [non-C99-based standards] (erff): Do not allow.
18294 [non-C99-based standards] (erfcf): Likewise.
18295 [non-C99-based standards] (gammaf): Likewise.
18296 [non-C99-based standards] (hypotf): Likewise.
18297 [non-C99-based standards] (j0f): Likewise.
18298 [non-C99-based standards] (j1f): Likewise.
18299 [non-C99-based standards] (jnf): Likewise.
18300 [non-C99-based standards] (lgammaf): Likewise.
18301 [non-C99-based standards] (tgammaf): Likewise.
18302 [non-C99-based standards] (y0f): Likewise.
18303 [non-C99-based standards] (y1f): Likewise.
18304 [non-C99-based standards] (ynf): Likewise.
18305 [non-C99-based standards] (isnanf): Likewise.
18306 [non-C99-based standards] (acoshf): Likewise.
18307 [non-C99-based standards] (asinhf): Likewise.
18308 [non-C99-based standards] (atanhf): Likewise.
18309 [non-C99-based standards] (cbrtf): Likewise.
18310 [non-C99-based standards] (expm1f): Likewise.
18311 [non-C99-based standards] (ilogbf): Likewise.
18312 [non-C99-based standards] (log1pf): Likewise.
18313 [non-C99-based standards] (logbf): Likewise.
18314 [non-C99-based standards] (nextafterf): Likewise.
18315 [non-C99-based standards] (remainderf): Likewise.
18316 [non-C99-based standards] (rintf): Likewise.
18317 [non-C99-based standards] (scalbf): Likewise.
18318 [non-C99-based standards] (copysignl): Likewise.
18319 [non-C99-based standards] (exp2l): Likewise.
18320 [non-C99-based standards] (log2l): Likewise.
18321 [non-C99-based standards] (modfl): Allow.
18322 [non-C99-based standards] (erfl): Do not allow.
18323 [non-C99-based standards] (erfcl): Likewise.
18324 [non-C99-based standards] (gammal): Likewise.
18325 [non-C99-based standards] (hypotl): Likewise.
18326 [non-C99-based standards] (j0l): Likewise.
18327 [non-C99-based standards] (j1l): Likewise.
18328 [non-C99-based standards] (jnl): Likewise.
18329 [non-C99-based standards] (lgammal): Likewise.
18330 [non-C99-based standards] (tgammal): Likewise.
18331 [non-C99-based standards] (y0l): Likewise.
18332 [non-C99-based standards] (y1l): Likewise.
18333 [non-C99-based standards] (ynl): Likewise.
18334 [non-C99-based standards] (isnanl): Likewise.
18335 [non-C99-based standards] (acoshl): Likewise.
18336 [non-C99-based standards] (asinhl): Likewise.
18337 [non-C99-based standards] (atanhl): Likewise.
18338 [non-C99-based standards] (cbrtl): Likewise.
18339 [non-C99-based standards] (expm1l): Likewise.
18340 [non-C99-based standards] (ilogbl): Likewise.
18341 [non-C99-based standards] (log1pl): Likewise.
18342 [non-C99-based standards] (logbl): Likewise.
18343 [non-C99-based standards] (nextafterl): Likewise.
18344 [non-C99-based standards] (remainderl): Likewise.
18345 [non-C99-based standards] (rintl): Likewise.
18346 [non-C99-based standards] (scalbl): Likewise.
18347 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18348 [non-C99-based standards] (FP_*): Do not allow.
18349 [C99-based standards] (FP_*): Change to
18350 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18351 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18352 allow.
18353 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18354 (SIG_ERR): Likewise.
18355 [X/Open-based standards] (SIG_HOLD): Likewise.
18356 (SIG_IGN): Likewise.
18357 (SIGABRT): Use macro-int-constant. Specify type. Require
18358 positive value.
18359 (SIGFPE): Likewise.
18360 (SIGILL): Likewise.
18361 (SIGINT): Likewise.
18362 (SIGSEGV): Likewise.
18363 (SIGTER): Likewise.
18364 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18365 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18366 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18367 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18368 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18369 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18370 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18371 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18372 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18373 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18374 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18375 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18376 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18377 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18378 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18379 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18380 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18381 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18382 [X/Open-based standards] (SIGTRAP): Likewise.
18383 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18384 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18385 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18386 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18387 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18388 allow.
18389
b9f1922d
IW
183902012-05-08 Ian Wienand <ianw@vmware.com>
18391
18392 [BZ #14080]
18393 * time/tzset.c (__tzset_parse_tz): Update default rules for
18394 daylight time changes in the Energy Policy Act of 2005.
18395
1db86e88
AJ
183962012-05-09 Andreas Jaeger <aj@suse.de>
18397
18398 [BZ #13983]
18399 * elf/ldconfig.c (parse_conf): Change string to make clear that
18400 ldconfig only issued a warning if ld.so.conf does not exist.
18401
dee4a4e3
DM
184022012-05-08 David S. Miller <davem@davemloft.net>
18403
ee0db190
DM
18404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18405 movxtod instead of popping the value on the stack.
18406
dee4a4e3
DM
18407 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18408
6a43ec98
CD
184092012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18410
18411 * config.h.in: Add HAVE_ARM_PCS_VFP.
18412
05c2c961
RMG
184132012-05-08 Roland Mc Grath <roland@hack.frob.com>
18414
bcfe3a54
ST
18415 [BZ #13979]
18416 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18417 checking but the checks are disabled for any reason.
05c2c961 18418
4b30f61a
L
184192012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18420
18421 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18422 and ELF64_R_TYPE with ELFW(R_TYPE).
18423
eee2bc67
JM
184242012-05-08 Joseph Myers <joseph@codesourcery.com>
18425
7ea5391a
JM
18426 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18427 (ulimit): Likewise.
18428
eee2bc67
JM
18429 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18430 (settimeofday): Likewise.
18431
abb66a67
MF
184322012-05-08 Mike Frysinger <vapier@gentoo.org>
18433
18434 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18435 a struct th_u2 inside the union, and move tu_block/tu_code into
18436 a new th_u3 union of tu_block/tu_code inside of that. Move
18437 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18438 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18439 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18440 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18441 (th_stuff): Change to th_u1.tu_stuff.
18442 (th_data): Define.
18443 (th_msg): Change to th_u1.th_u2.tu_data.
18444
7f18b530
DM
184452012-05-07 David S. Miller <davem@davemloft.net>
18446
05760585
DM
18447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18448
7f18b530
DM
18449 [BZ #14074]
18450 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18451 (SETUP_PIC_REG): Use it.
18452 (SETUP_PIC_REG_LEAF): Use it.
18453
495fd99f
JM
184542012-05-07 Joseph Myers <joseph@codesourcery.com>
18455
18456 [BZ #13885]
18457 [BZ #13923]
18458 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18459 USE_AS_EXPM1L.
18460 (EXPL_FINITE): Likewise.
18461 (FLDLOG): Likewise.
18462 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18463 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18464 e_expl.S.
18465 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18466 USE_AS_EXPM1L.
18467 (EXPL_FINITE): Likewise.
18468 (FLDLOG): Likewise.
18469 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18470 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18471 e_expl.S.
18472 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18473 test of -max_value argument for long double.
18474 * sysdeps/i386/fpu/libm-test-ulps: Update.
18475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18476
6693d694
DM
184772012-05-06 David S. Miller <davem@davemloft.net>
18478
18479 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18480 quad soft-float symbols whose references which are compiler
18481 generated.
18482 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18483
6c23e11c
JM
184842012-05-06 Joseph Myers <joseph@codesourcery.com>
18485
d8b82cad
JM
18486 [BZ #13884]
18487 [BZ #13914]
18488 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18489 USE_AS_EXP10L.
18490 (EXPL_FINITE): Likewise.
18491 (FLDLOG): Likewise.
18492 (c0): Likewise.
18493 (c1): Likewise.
18494 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18495 Adjust comments for base varying.
18496 (__expl_finite): Change alias to EXPL_FINITE.
18497 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18498 e_expl.S.
18499 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18500 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18501 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18502 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18503 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18504 USE_AS_EXP10L.
18505 (EXPL_FINITE): Likewise.
18506 (FLDLOG): Likewise.
18507 (c0): Likewise.
18508 (c1): Likewise.
18509 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18510 Adjust comments for base varying.
18511 (__expl_finite): Change alias to EXPL_FINITE.
18512 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18513 tests for bugs.
18514 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18515
6c23e11c
JM
18516 [BZ #14064]
18517 * math/libm-test.inc (check_float_internal): Correct ulp
18518 calculation for subnormal expected results.
18519
29ba805c
AJ
185202012-05-06 Andreas Jaeger <aj@suse.de>
18521
18522 * Makeconfig (+math-flags): New, set to -frounding-math.
18523 (+cflags): Add +math-flags so that all of glibc gets compiled with
18524 it.
18525
18526 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18527
7b17aeda
JM
185282012-05-05 Joseph Myers <joseph@codesourcery.com>
18529
5779f134
JM
18530 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18531 Disable one test.
18532
41498f4d
JM
18533 [BZ #13787]
18534 [BZ #13922]
18535 [BZ #14036]
18536 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18537 (__ieee754_expl): Allow for and saturate large arguments.
18538 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18539 (u_threshold): Likewise.
18540 (__exp): Call __ieee754_exp before checking for overflow and
18541 underflow.
18542 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18543 (u_threshold): Likewise.
18544 (__expf): Call __ieee754_expf before checking for overflow and
18545 underflow.
18546 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18547 (u_threshold): Likewise.
18548 (__expl): Call __ieee754_expl before checking for overflow and
18549 underflow.
18550 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18551 (__ieee754_expl): Allow for and saturate large arguments.
18552 * math/libm-test.inc (exp_test): Add another test. Do not allow
18553 missing overflow exception on overflow.
18554 (expm1_test): Do not allow missing overflow exception on overflow.
18555
6698b8bf
JM
18556 * sysdeps/i386/fpu/e_expl.c: Move to ...
18557 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18558 rather than using inline asm.
18559 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18560 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18561 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18562
7b17aeda
JM
18563 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18564 (nice): Likewise.
18565 (poll): Likewise.
18566 (signal): Likewise.
18567 (time): Likewise.
18568 (times): Likewise.
18569
f7c85819
JM
185702012-05-04 Joseph Myers <joseph@codesourcery.com>
18571
18572 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18573 sysdeps/unix/common/syscalls.list.
18574 (fchmod): Likewise.
18575 (fchown): Likewise.
18576 (ftruncate): Likewise.
18577 (getrusage): Likewise.
18578 (gettimeofday): Likewise.
18579 (setpgid): Likewise.
18580 (setregid): Likewise.
18581 (setreuid): Likewise.
18582 (sigaction): Likewise.
18583 (truncate): Likewise.
18584 (vhangup): Likewise.
18585 * sysdeps/unix/common/syscalls.list: Remove file.
18586 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18587 * sysdeps/unix/sysv/linux/Implies: Likewise.
18588
336270d0
L
185892012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18590
18591 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18593 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18594 Moved to ...
18595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18596 Here.
18597 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18598 to ...
18599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18600 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18601 to ...
18602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18603 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18604 to ...
18605 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18606 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18607 to ...
18608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18609 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18610 to ...
18611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18612 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18613 to ...
18614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18615 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18616 to ...
18617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18618 Here.
18619 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18620 to ...
18621 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18622 Here.
18623 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18624 to ...
18625 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18626 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18627 Moved to ...
18628 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18629 Here.
18630 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
18631 to ...
18632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
18633
d128e450
JM
186342012-05-04 Joseph Myers <joseph@codesourcery.com>
18635
fa8ee516
JM
18636 * sysdeps/unix/common/bits/dirent.h: Remove file.
18637 * sysdeps/unix/common/bits/fcntl.h: Likewise.
18638
d128e450
JM
18639 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
18640 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
18641 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
18642 * sysdeps/unix/bsd/isatty.c: Likewise.
18643 * sysdeps/unix/bsd/tcdrain.c: Likewise.
18644 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
18645 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
18646
ff8faaf0 186472012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 18648
62881be4 18649 [BZ #13563]
31dc8730
AZ
18650 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
18651 long double comparison inaccuracies.
18652 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
18653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18654
6fef930c
AS
186552012-05-04 Andreas Schwab <schwab@linux-m68k.org>
18656
18657 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
18658 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
18659
8f203e6c
JM
186602012-05-04 Joseph Myers <joseph@codesourcery.com>
18661
18662 [BZ #14049]
18663 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
18664 nonzero digits before rounding a hex value.
18665 * stdlib/tst-strtod.c (tests): Add another test.
18666
5197d9c2
AK
186672012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18668
18669 * sysdeps/s390/fpu/libm-test-ulps: Update.
18670
f0c1dedf
AJ
186712012-05-03 Andreas Jaeger <aj@suse.de>
18672
18673 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
18674 does not get optimized out.
18675 (malloc_opt_barrier): New.
18676
a65ef2ae 186772012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 18678 Roland McGrath <roland@hack.frob.com>
a65ef2ae 18679
2b942cb7 18680 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 18681 intermediate file deletion.
2b942cb7 18682 (generated): Add .symlist files.
a65ef2ae 18683
54b71e02
JM
186842012-05-03 Joseph Myers <joseph@codesourcery.com>
18685
18686 [BZ #13775]
18687 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
18688 Redirect under this condition.
18689 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18690 [__USE_GNU] (__dprintf_chk): Not under this condition.
18691 [__USE_GNU] (__vdprintf_chk): Likewise.
18692 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
18693 under this condition.
18694 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
18695 [__USE_XOPEN2K8] (dprintf): Define under this condition.
18696 [__USE_XOPEN2K8] (vdprintf): Likewise.
18697 [__USE_GNU] (__dprintf_chk): Not under this condition.
18698 [__USE_GNU] (__vdprintf_chk): Likewise.
18699 [__USE_GNU] (dprintf): Likewise.
18700 [__USE_GNU] (vdprintf): Likewise.
18701
d3dfcc41
RM
187022012-05-03 Roland McGrath <roland@hack.frob.com>
18703
18704 * elf/Makefile (common-generated): Set this instead of generated for
18705 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
18706 $(all-built-dso)-derived lists.
18707
7ac30cc5
AJ
187082012-05-03 Andreas Jaeger <aj@suse.de>
18709
0c51e550
AJ
18710 * sysdeps/i386/fpu/libm-test-ulps: Update.
18711
7ac30cc5
AJ
18712 * FAQ: Removed.
18713 * FAQ.in: Likewise.
18714 * scripts/gen-FAQ.pl: Likewise.
18715 * manual/install.texi (Installation): Point to online location of
18716 FAQ.
18717 * Makefile (files-for-dist): Remove FAQ.
18718 (FAQ): Remove.
18719
d4c2917f
AM
187202012-05-02 Allan McRae <allan@archlinux.org>
18721
18722 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
18723 (LDFLAGS-reldepmod5.so): Likewise.
18724 (LDFLAGS-reldep6mod1.so): Likewise.
18725 (LDFLAGS-reldep6mod4.so): Likewise.
18726 (LDFLAGS-reldep8mod3.so): Likewise.
18727 (LDFLAGS-unload4mod1.so): Likewise.
18728 (LDFLAGS-unload4mod2.so): Likewise.
18729 (LDFLAGS-tst-initorder): Likewise.
18730 (LDFLAGS-tst-initordera2.so): Likewise.
18731 (LDFLAGS-tst-initordera3.so): Likewise.
18732 (LDFLAGS-tst-initordera4.so): Likewise.
18733 (LDFLAGS-tst-initorderb2.so): Likewise.
18734 (LDFLAGS-noload): Likewise.
18735 (LDFLAGS-next): Likewise.
18736 (LDFLAGS-order2mod1.so): Likewise.
18737 (LDFLAGS-order2mod2.so): Likewise.
18738 (LDFLAGS-tst-initorder2): Likewise.
18739 (LDFLAGS-tst-initorder2a.so): Likewise.
18740 (LDFLAGS-tst-initorder2b.so): Likewise.
18741 (LDFLAGS-tst-initorder2c.so): Likewise.
18742 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
18743
d77f993f
DM
187442012-05-02 David S. Miller <davem@davemloft.net>
18745
18746 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18747
171a70b4
PP
187482012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
18749
18750 [BZ #14055]
18751 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
18752
0be196ad
AJ
187532012-05-02 Andreas Jaeger <aj@suse.de>
18754
18755 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
18756 since we manipulate rounding mode.
18757 (CPPFLAGS-test-idouble.c): Likewise.
18758 (CPPFLAGS-test-ifloat.c): Likewise.
18759 (CFLAGS-test-ldouble.c): Likewise.
18760 (CFLAGS-test-double.c): Likewise.
18761 (CFLAGS-test-float.c): Likewise.
18762 (CFLAGS-test-misc.c): Likewise.
18763 (CFLAGS-test-test-fenv.c): Likewise.
18764
4f9d04aa
AZ
187652012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18766
2b942cb7
RM
18767 [BZ #2550]
18768 [BZ #2570]
18769 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
18770 comparisons to determine direction to adjust input.
4f9d04aa 18771
82a79e7d
RM
187722012-05-01 Roland McGrath <roland@hack.frob.com>
18773
f5a01ca9
RM
18774 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
18775 output to the target.
18776
90fe4186
RM
18777 * scripts/localplt.awk: New file.
18778 * elf/Makefile ($(objpfx)check-localplt): Target removed.
18779 (check-localplt-CFLAGS): Variable removed.
18780 ($(all-built-dso:=.jmprel)): New static pattern rule.
18781 (generated): Add those targets.
18782 (localplt-built-dso): New variable.
18783 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
18784
18785 * elf/check-localplt.c: File removed.
18786
82397ed6
RM
18787 * scripts/check-execstack.awk: New file.
18788 * elf/Makefile ($(objpfx)check-execstack): Target removed.
18789 (check-execstack-CFLAGS): Variable removed.
18790 ($(objpfx)check-execstack.h): Target removed.
18791 ($(objpfx)execstack-default): New target.
18792 (generated): Add that instead of check-execstack.h.
18793 ($(all-built-dso:=.phdr)): New static pattern rule.
18794 (generated): Add those targets.
18795 * elf/check-execstack.c: File removed.
18796
82a79e7d
RM
18797 * scripts/check-textrel.awk: New file.
18798 * elf/Makefile ($(objpfx)check-textrel): Target removed.
18799 (check-textrel-CFLAGS): Variable removed.
18800 (all-built-dso): Use := to define.o
18801 ($(all-built-dso:=.dyn)): New static pattern rule.
18802 (generated): Add those targets.
18803 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
18804 * config.make.in (READELF): New substituted variable.
18805 * elf/check-textrel.c: File removed.
18806
62fde54f 188072012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 18808
615605c9
JM
18809 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18810 allow.
18811 * conform/data/ctype.h-data [C99-based standards] (isblank):
18812 Expect function.
18813 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
18814 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
18815 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18816 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
18817 Specify type. Require positive value.
18818 (EILSEQ): Likewise.
18819 (ERANGE): Likewise.
18820 [ISO || POSIX] (EILSEQ): Do not expect.
18821 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
18822 Specify type. Require positive value.
18823 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
18824 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
18825 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
18826 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
18827 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
18828 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
18829 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
18830 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
18831 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
18832 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
18833 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
18834 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
18835 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
18836 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
18837 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
18838 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
18839 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
18840 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
18841 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
18842 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
18843 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
18844 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
18845 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
18846 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
18847 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
18848 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
18849 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
18850 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
18851 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
18852 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
18853 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
18854 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
18855 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
18856 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
18857 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
18858 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
18859 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
18860 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
18861 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
18862 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
18863 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
18864 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
18865 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
18866 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
18867 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
18868 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
18869 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
18870 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
18871 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
18872 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
18873 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
18874 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
18875 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
18876 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
18877 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
18878 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
18879 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
18880 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
18881 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
18882 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
18883 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
18884 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
18885 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
18886 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
18887 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
18888 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
18889 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
18890 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
18891 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
18892 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
18893 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
18894 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
18895 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
18896 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
18897 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
18898 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
18899 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
18900 Require >= 2.
18901 (FLT_ROUNDS): Expect as macro, not constant.
18902 (FLT_MANT_DIG): Use macro-int-constant.
18903 (DBL_MANT_DIG): Likewise.
18904 (LDBL_MANT_DIG): Likewise.
18905 (FLT_DIG): Likewise.
18906 (DBL_DIG): Likewise.
18907 (LDBL_DIG): Likewise.
18908 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
18909 (DBL_MIN_EXP): Likewise.
18910 (LDBL_MIN_EXP): Likewise.
18911 (FLT_MAX_EXP): Use macro-int-constant.
18912 (DBL_MAX_EXP): Likewise.
18913 (LDBL_MAX_EXP): Likewise.
18914 (FLT_MAX_10_EXP): Likewise.
18915 (DBL_MAX_10_EXP): Likewise.
18916 (LDBL_MAX_10_EXP): Likewise.
18917 (FLT_MAX): Use macro-constant.
18918 (DBL_MAX): Likewise.
18919 (LDBL_MAX): Likewise.
18920 (FLT_EPSILON): Use macro-constant. Give upper bound.
18921 (DBL_EPSILON): Likewise.
18922 (LDBL_EPSILON): Likewise.
18923 (FLT_MIN): Likewise.
18924 (DBL_MIN): Likewise.
18925 (LDBL_MIN): Likewise.
18926 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
18927 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
18928 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
18929 [ISO11] (FLT_HAS_SUBNORM): Likewise.
18930 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
18931 [ISO11] (DBL_DECIMAL_DIG): Likewise.
18932 [ISO11] (FLT_DECIMAL_DIG): Likewise.
18933 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
18934 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
18935 [ISO11] (FLT_TRUE_MIN): Likewise.
18936 [ISO11] (LDBL_TRUE_MIN): Likewise.
18937 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18938 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
18939 (SCHAR_MIN): Use macro-int-constant. Specify type.
18940 (SCHAR_MAX): Likewise.
18941 (UCHAR_MAX): Likewise.
18942 (CHAR_MIN): Likewise.
18943 (CHAR_MAX): Likewise.
18944 (MB_LEN_MAX): Use macro-int-constant.
18945 (SHRT_MIN): Use macro-int-constant. Specify type.
18946 (SHRT_MAX): Likewise.
18947 (USHRT_MAX): Likewise.
18948 (INT_MAX): Likewise.
18949 (INT_MIN): Use macro-int-constant. Specify type. Make upper
18950 bound negative.
18951 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
18952 bound with "U".
18953 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18954 bound with "L".
18955 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
18956 bound negative. Suffix upper bound with "L".
18957 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
18958 bound with "UL".
18959 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
18960 Specify type.
18961 [C99-based standards] (LLONG_MAX): Likewise.
18962 [C99-based standards] (ULLONG_MAX): Likewise.
18963 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
18964 == 0.
18965 [ISO11] (max_align_t): Require type.
18966 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18967
c9140a62
JM
18968 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
18969 from $CFLAGS, without defining away __attribute__ calls.
18970 (checknamespace): Use $CFLAGS_namespace.
18971
9af0bf29
JM
18972 * conform/conformtest.pl (@keywords): Only include C99 keywords
18973 for standards based on C99 or C11.
18974
343222a2
JM
18975 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
18976 Disable tests.
18977 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
18978 UNIX98]: Likewise.
18979
661f8cf0
JM
18980 * conform/conformtest.pl: Handle "macro-int-constant" and test for
18981 usability of symbols in #if.
18982
ee74b9cb
JM
18983 * conform/conformtest.pl: If macro or constant types start
18984 "promoted:", expect the symbol to be of the following type
18985 promoted by the integer promotions.
62fde54f 18986
aafc49b3
JM
18987 * conform/conformtest.pl: Parse all "constant" and "macro" lines
18988 in one place. Also handle "macro-constant".
18989
fefdf574
JM
18990 * conform/conformtest.pl: Only accept expected macro values with
18991 "==". Parse all "macro" lines in one place.
18992 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
18993
f2d922fe
JM
18994 * conform/conformtest.pl: Handle braced types on "constant" lines
18995 instead of handling "typed-constant".
18996 * conform/data/signal.h-data: Use "constant" instead of
18997 "typed-constant".
18998
d22956c9
JM
18999 * conform/conformtest.pl: Handle "optional-" at start of lines in
19000 one place rather than duplicating several cases. Handle each
19001 format of "macro" line with initial "optional-".
19002
028e2e38
JM
19003 * conform/conformtest.pl: Only accept expected constant or
19004 optional-constant values with "==". Parse all "constant" lines in
19005 one place. Parse all "optional-constant" lines in one place.
19006 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19007 * conform/data/fmtmsg.h-data: Likewise.
19008 * conform/data/netinet/in.h-data: Likewise.
19009 * conform/data/tar.h-data: Likewise.
19010 * conform/data/limits.h-data: Use "==" form on "constant" and
19011 "optional-constant" lines.
19012
1b8f2850
JM
19013 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19014 Use -std=c99 for XOPEN2K.
19015 (@knownproblems): Remove.
19016 (newtoken): Don't check %isknown.
19017
a05a144b
JM
19018 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19019 Do not expect macro.
19020 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19021 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19022 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19023 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19024 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19025 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19026 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19027 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19028 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19029 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19030 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19031 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19032 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19033 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19034 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19035 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19036 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19037 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19038 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19039 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19040 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19041 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19042 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19043 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19044 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19045 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19046 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19047 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19048 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19049 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19050 [XPG3] (acosh): Likewise.
19051 [XPG3] (asinh): Likewise.
19052 [XPG3] (atanh): Likewise.
19053 [XPG3] (cbrt): Likewise.
19054 [XPG3] (expm1): Likewise.
19055 [XPG3] (ilogb): Likewise.
19056 [XPG3] (log1p): Likewise.
19057 [XPG3] (logb): Likewise.
19058 [XPG3] (nextafter): Likewise.
19059 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19060 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19061 [XPG3] (remainder): Likewise.
19062 [XPG3] (rint): Likewise.
19063 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19064 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19065 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19066 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19067 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19068 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19069 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19070 [UNIX98 || XOPEN2K] (scalb): Expect.
19071 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19072 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19073 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19074 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19075 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19076 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19077 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19078 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19079 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19080 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19081 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19082 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19083 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19084 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19085 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19086 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19087 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19088 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19089 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19090 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19091 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19092 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19093 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19094 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19095 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19096 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19097 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19098 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19099 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19100 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19101 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19102 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19103 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19104 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19105 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19106 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19107 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19108 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19109 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19110 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19111 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19112 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19113 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19114 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19115 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19116 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19117 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19118 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19119 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19120 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19121 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19122 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19123 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19124 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19125 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19126 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19127 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19128 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19129 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19130 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19131 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19132 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19133 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19134 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19135 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19136 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19137 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19138 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19139 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19140 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19141 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19142 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19143 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19144 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19145 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19146 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19147 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19148 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19149 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19150 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19151 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19152 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19153 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19154 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19155 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19156 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19157 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19158 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19159 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19160 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19161 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19162 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19163 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19164 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19165 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19166 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19167 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19168 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19169 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19170 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19171 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19172 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19173 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19174 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19175 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19176 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19177 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19178 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19179 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19180 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19181 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19182 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19183 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19184 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19185 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19186 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19187 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19188 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19189 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19190 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19191 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19192 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19193 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19194 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19195 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19196 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19197 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19198 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19199 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19200 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19201 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19202 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19203 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19204 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19205 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19206 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19207 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19208
73c5ebe3
JM
19209 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19210 _XOPEN_SOURCE_EXTENDED for XPG4.
19211
39c33b6c
JM
19212 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19213
62fde54f
JM
19214 * Makeconfig (localtime): Remove variable.
19215 (inst_localtime-file): Likewise.
19216
0741d64c
AS
192172012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19218
19219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19220 Update.
19221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19222 Update.
19223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19224 Update.
19225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19226 Update.
19227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19228 Update.
19229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19230 Update.
19231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19232 Update.
19233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19234 Update.
19235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19236 Update.
19237
7cb029ee
JM
192382012-05-01 Joseph Myers <joseph@codesourcery.com>
19239
19240 [BZ #2550]
19241 [BZ #2570]
19242 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19243 comparisons to determine direction to adjust input.
19244 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19245 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19246 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19247 Likewise.
19248 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19249 Likewise.
19250 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19251 Likewise.
19252 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19253 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19254 Likewise.
19255 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19256 Likewise.
19257 * math/libm-test.inc (nexttoward_test): Add more tests.
19258
412bd966
AS
192592012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19260
19261 [BZ #14040]
19262 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19263 in version GLIBC_2.1, not GLIBC_2.0.
19264 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19265 Likewise.
19266
9568c0c2
JM
192672012-04-30 Joseph Myers <joseph@codesourcery.com>
19268
adfbc8ac
JM
19269 [BZ #13942]
19270 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19271 (1 - x) * (1 + x).
19272 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19273 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19274 * math/libm-test.inc (acos_test): Add more tests.
19275 (asin_test): Likewise.
19276 * sysdeps/i386/fpu/libm-test-ulps: Update.
19277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19278
5ba3cc69
JM
19279 [BZ #14034]
19280 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19281 of square root.
19282 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19283 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19284 * math/libm-test.inc (acos_test_tonearest): New function.
19285 (acos_test_towardzero): Likewise.
19286 (acos_test_downward): Likewise.
19287 (acos_test_upward): Likewise.
19288 (asin_test_tonearest): Likewise.
19289 (asin_test_towardzero): Likewise.
19290 (asin_test_downward): Likewise.
19291 (asin_test_upward): Likewise.
19292 (main): Call the new functions.
19293 * sysdeps/i386/fpu/libm-test-ulps: Update.
19294 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19295
9568c0c2
JM
19296 [BZ #13884]
19297 [BZ #13924]
19298 * math/e_exp10.c: Include <float.h>.
19299 (__ieee754_exp10): Handle underflow here rather than multiplying
19300 large negative argument by M_LN10.
19301 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19302 of __ieee754_expf.
19303 * math/e_exp10l.c: Include <float.h>.
19304 (__ieee754_exp10l): Handle underflow here rather than multiplying
19305 large negative argument by M_LN10l.
19306 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19307 spurious overflow exception on underflow.
19308
5ac3ea17
MP
193092012-04-29 Marek Polacek <polacek@redhat.com>
19310
19311 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19312 (__fortify_function): New macro.
19313 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19314 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19315 __extern_always_inline.
19316 * libio/bits/stdio2.h: Likewise.
19317 * libio/bits/stdio.h: Likewise.
19318 * string/string.h: Likewise.
19319 * string/bits/string3.h: Likewise.
19320 * include/stdio.h: Likewise.
19321 * stdlib/bits/stdlib.h: Likewise.
19322 * stdlib/stdlib.h: Likewise.
19323 * rt/bits/mqueue2.h: Likewise.
19324 * rt/mqueue.h: Likewise.
19325 * posix/bits/unistd.h: Likewise.
19326 * posix/unistd.h: Likewise.
19327 * io/bits/poll2.h: Likewise.
19328 * io/bits/fcntl2.h: Likewise.
19329 * io/fcntl.h: Likewise.
19330 * io/sys/poll.h: Likewise.
19331 * misc/bits/syslog.h: Likewise.
19332 * misc/bits/syslog-ldbl.h: Likewise.
19333 * misc/sys/syslog.h: Likewise.
19334 * socket/bits/socket2.h: Likewise.
19335 * socket/sys/socket.h: Likewise.
19336 * debug/tst-chk1.c: Likewise.
19337 * wcsmbs/bits/wchar2.h: Likewise.
19338 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19339 * wcsmbs/wchar.h: Likewise.
19340
ecf0ebfb
AJ
193412012-04-29 Andreas Jaeger <aj@suse.de>
19342
19343 * Makerules (tests): Remove enable-check-abi protection.
19344 (check-abi-warn): Remove.
19345 (check-abi-%): Remove check-abi-warn usage.
19346
19347 * configure.in: Remove check-abi configure option.
19348 * configure: Regenerated.
19349 * config.make.in (enable-check-abi): Remove.
19350
6d5c57fa
AS
193512012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19352
24c5d07e 19353 [BZ #14033]
ded5180a
AS
19354 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19355 double functions to double *_finite functions.
19356
7e0d315d
AS
19357 [BZ #13941]
19358 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19359 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19360 LDBL_MIN_EXP.
19361 * stdio-common/Makefile (tests): Add tst-sprintf3.
19362 * stdio-common/tst-sprintf3.c: New file.
19363
6d5c57fa
AS
19364 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19365 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19366
0749ff8b
JM
193672012-04-28 Joseph Myers <joseph@codesourcery.com>
19368
19369 * conform/conformtest.pl: Remove duplicate typed-constant
19370 handling.
19371
8dbd5d7b
DM
193722012-04-28 David S. Miller <davem@davemloft.net>
19373
19374 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19375 (check-abi-%): Remove AWK script prerequisite and explicit
19376 abilist directory.
19377 (check-abi): Rewrite to just diff the symlist with the abilist.
19378 (config-tls, config-abi-config): Delete, no longer used.
19379 (update-abi-%): Remove AWK script and explicit abilist directory.
19380 (update-abi): Rewrite to simply compare and conditionally copy the
19381 symlist and the sysdep abilist file. Remove update-abi-config
19382 checks.
19383 * abilist/ld.abilist: Remove.
19384 * abilist/libBrokenLocale.abilist: Remove.
19385 * abilist/libanl.abilist: Remove.
19386 * abilist/libcrypt.abilist: Remove.
19387 * abilist/libdl.abilist: Remove.
19388 * abilist/librt.abilist: Remove.
19389 * abilist/libthread_db.abilist: Remove.
19390 * abilist/libutil.abilist: Remove.
19391 * scripts/extract-abilist.awk: Remove.
19392 * scripts/merge-abilist.awk: Remove.
19393 * sysdeps/generic/libcidn.abilist: New file.
19394 * sysdeps/generic/libnss_compat.abilist: New file.
19395 * sysdeps/generic/libnss_db.abilist: New file.
19396 * sysdeps/generic/libnss_dns.abilist: New file.
19397 * sysdeps/generic/libnss_files.abilist: New file.
19398 * sysdeps/generic/libnss_hesiod.abilist: New file.
19399 * sysdeps/generic/libnss_nis.abilist: New file.
19400 * sysdeps/generic/libnss_nisplus.abilist: New file.
19401 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19402 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19403 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19404 file.
19405 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19406 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19407 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19408 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19409 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19410 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19411 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19412 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19413 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19414 file.
19415 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19416 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19417 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19418 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19419 file.
19420 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19421 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19422 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19423 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19424 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19425 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19426 file.
19427 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19428 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19429 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19430 file.
19431 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19433 New file.
19434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19435 New file.
19436 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19437 New file.
19438 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19439 New file.
19440 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19441 New file.
19442 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19443 New file.
19444 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19445 New file.
19446 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19447 New file.
19448 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19449 New file.
19450 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19451 New file.
19452 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19453 New file.
19454 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19455 New file.
19456 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19457 New file.
19458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19459 file.
19460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19461 New file.
19462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19463 New file.
19464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19465 file.
19466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19467 New file.
19468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19469 New file.
19470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19471 file.
19472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19473 New file.
19474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19475 New file.
19476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19477 New file.
19478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19479 New file.
19480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19481 New file.
19482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19483 New file.
19484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19486 file.
19487 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19488 New file.
19489 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19490 file.
19491 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19492 file.
19493 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19494 file.
19495 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19496 file.
19497 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19498 file.
19499 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19500 New file.
19501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19502 file.
19503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19504 file.
19505 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19506 New file.
19507 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19508 file.
19509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19511 file.
19512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19513 New file.
19514 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19515 file.
19516 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19517 file.
19518 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19519 file.
19520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19521 file.
19522 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19523 file.
19524 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19525 New file.
19526 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19527 file.
19528 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19529 file.
19530 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19531 New file.
19532 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19533 file.
19534 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19535 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19536 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19537 file.
19538 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19539 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19540 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19541 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19542 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19543 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19544 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19545 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19546 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19547 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19548 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19550 file.
19551 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19552 New file.
19553 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19554 file.
19555 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19556 file.
19557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19558 file.
19559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19560 file.
19561 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19562 file.
19563 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19564 New file.
19565 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19566 New file.
19567 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19568 file.
19569 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19570 New file.
19571 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19572 file.
19573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19575 file.
19576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19577 New file.
19578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19579 file.
19580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19581 file.
19582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19583 file.
19584 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19585 file.
19586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19587 file.
19588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19589 New file.
19590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19591 New file.
19592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19593 file.
19594 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19595 New file.
19596 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19597 file.
19598
41d73a1b
JM
195992012-04-28 Joseph Myers <joseph@codesourcery.com>
19600
19601 * conform/conformtest.pl: Fix typo in handling typed-constant from
19602 allow-header.
19603
28aeeda4
JM
196042012-04-27 Joseph Myers <joseph@codesourcery.com>
19605
adae8f5e
JM
19606 * README: Cut down references to pre-2.6 Linux kernels and
19607 Linuxthreads. Update lists of configurations in libc and ports
19608 and sort alphabetically. Say "or newer" with Linux kernel version
19609 requirements.
19610
28aeeda4
JM
19611 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19612
a462cb63
RA
196132012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19614
19615 [BZ #887]
19616 * math/libm-test.inc (logb_test_downward): New test to expose
19617 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19618 rounding mode.
19619
6ad3493e
JM
196202012-04-27 Joseph Myers <joseph@codesourcery.com>
19621
19622 [BZ #14027]
19623 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19624 to be done.
19625 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19626 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19627
2ce4f015
JM
196282012-04-26 Joseph Myers <joseph@codesourcery.com>
19629
5aeb141a
JM
19630 * sysdeps/unix/i386/brk.S: Remove file.
19631 * sysdeps/unix/i386/dl-brk.S: Likewise.
19632 * sysdeps/unix/i386/pipe.S: Likewise.
19633 * sysdeps/unix/i386/sigreturn.S: Likewise.
19634 * sysdeps/unix/i386/syscall.S: Likewise.
19635 * sysdeps/unix/i386/vfork.S: Likewise.
19636 * sysdeps/unix/i386/wait.S: Likewise.
19637
7143acae
JM
19638 * sysdeps/unix/common/tcsendbrk.c: Move to ...
19639 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
19640
2ce4f015
JM
19641 * configure.in (arm*-none*): Do not allow without
19642 --enable-hacker-mode.
19643 (netbsd*): Remove case setting base_os.
19644 (386bsd*): Likewise.
19645 (freebsd*): Likewise.
19646 (bsdi*): Likewise.
19647 (osf*): Likewise.
19648 (sunos*): Likewise.
19649 (ultrix*): Likewise.
19650 (newsos*): Likewise.
19651 (dynix*): Likewise.
19652 (*bsd*): Likewise.
19653 (sysv*): Likewise.
19654 (isc*): Likewise.
19655 (esix*): Likewise.
19656 (sco*): Likewise.
19657 (minix*): Likewise.
19658 (irix4*): Likewise.
19659 (irix6*): Likewise.
19660 (solaris[2-9]*): Likewise.
19661 (none): Likewise.
19662 * configure: Regenerated.
19663
0ac229c8
AZ
196642012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19665
19666 [BZ #11521]
19667 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
19668 overflow or cancellation in calculating denominator.
19669 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
19670 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
19671 down expression to avoid unexpected rounding in newer GCCs.
19672 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
19673
33f244f4
DM
196742012-04-26 David S. Miller <davem@davemloft.net>
19675
19676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
19677 long-double compat symbols.
19678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
19680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
19681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
19682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
19683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
19686 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
19687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
19688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
19689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
19690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
19691
cfa1f3e8
DM
196922012-04-25 David S. Miller <davem@davemloft.net>
19693
19694 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
19695 HWCAP_* values only after the memory barriers have been defined.
19696 (atomic_full_barrier): Define.
19697 (atomic_read_barrier): Define.
19698 (atomic_write_barrier): Define.
19699
6e236b92
SP
197002012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19701
19702 * shlib-versions: Add libgcc_s version information.
19703 * sysdeps/generic/libgcc_s.h: Remove.
19704 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
19705 libgcc_s.h.
19706 * sysdeps/gnu/unwind-resume.c: Likewise.
19707 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
19708
aab39a09
DM
197092012-04-25 David S. Miller <davem@davemloft.net>
19710
19711 * sysdeps/unix/sparc/brk.S: Delete.
19712 * sysdeps/unix/sparc/dl-brk.S: Delete.
19713 * sysdeps/unix/sparc/pipe.S: Delete.
19714 * sysdeps/unix/sparc/sysdep.S: Delete.
19715 * sysdeps/unix/sparc/sysdep.h: Delete.
19716 * sysdeps/unix/sparc/vfork.S: Delete.
19717 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
19718 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
19719 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
19720 ret_ERRVAL, r0, r1, MOVE): Define.
19721 (JUMPTARGET): Remove.
19722 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
19723 sysdeps/unix/sparc/sysdep.h
19724 (ENTRY, END): Remove.
19725 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
19726
a3cc4f48
JM
197272012-04-25 Joseph Myers <joseph@codesourcery.com>
19728
2ed8cda2
JM
19729 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
19730 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
19731 -DIS_IN_build.
19732
35d76d59
JM
19733 * timezone/README: Update upstream location and email address for
19734 tzcode and tzdata.
19735 * timezone/zdump.c: Update from tzcode 2012b.
19736 * timezone/zic.c: Likewise.
19737
a3cc4f48
JM
19738 * configure.in (libc_cv_as_needed): Remove test.
19739 * configure: Regenerated.
19740 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
19741 conditional definition.
19742 [$(have-as-needed) != yes] (no-as-needed): Likewise.
19743 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
19744 * config.make.in (have-as-needed): Remove variable.
19745
ceab42c3
SP
197462012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19747 Paul Pluzhnikov <ppluzhnikov@google.com>
19748
19749 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
19750 strings correctly.
19751
3ce2865f
CLT
197522012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
19753
19754 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
19755 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
19756 * sysdeps/sh/strlen.S: Likewise.
19757
f37e0d68
JM
197582012-04-24 Joseph Myers <joseph@codesourcery.com>
19759
ae186e9a
JM
19760 * sysdeps/unix/fork.S: Remove file.
19761 * sysdeps/unix/i386/fork.S: Likewise.
19762 * sysdeps/unix/sparc/fork.S: Likewise.
19763
b96914af
JM
19764 * sysdeps/unix/system.c: Remove file.
19765 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
19766
f37e0d68
JM
19767 * sysdeps/unix/getegid.S: Remove file.
19768 * sysdeps/unix/geteuid.S: Likewise.
19769
87ef29ca
RM
197702012-04-24 Roland McGrath <roland@hack.frob.com>
19771
83bcd236
RM
19772 * scripts/check-localplt.awk: New file.
19773 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
19774 of diff.
19775 * scripts/data/localplt-generic.data: Add a comment.
19776
87ef29ca
RM
19777 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
19778 NODE when __dir_mkfile failed.
19779 * sysdeps/mach/hurd/symlinkat.c: Likewise.
19780 Reported by Ludovic Courtès <ludo@gnu.org>.
19781
e5a6e567
AJ
197822012-04-24 Andreas Jaeger <aj@suse.de>
19783
19784 * Makerules (common-clean): Also remove gen-as-const-headers
19785 files.
19786
c1820385
JM
197872012-04-24 Joseph Myers <joseph@codesourcery.com>
19788
19789 * Makerules (native-compile): Do not change working directory for
19790 build. Use $(OUTPUT_OPTION) in command.
19791 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
19792
94e02fc4
AZ
197932012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19794
19795 [BZ #13886]
19796 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
19797 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
19798 * math/libm-test.inc (floor_test): Add more tests.
19799 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
19800
3a533ca3
JM
198012012-04-24 Joseph Myers <joseph@codesourcery.com>
19802
940ab4b3
JM
19803 * sysdeps/unix/getdents.c: Remove file.
19804 * sysdeps/unix/sysv/getdents.c: Likewise.
19805 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
19806
90e037bd
JM
19807 * sysdeps/unix/syscalls.list (madvise): Add syscall from
19808 sysdeps/unix/mman/syscalls.list.
19809 (mmap): Likewise.
19810 (mprotect): Likewise.
19811 (msync): Likewise.
19812 (munmap): Likewise.
19813 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
19814 * sysdeps/unix/mman/syscalls.list: Remove.
19815 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
19816
3a533ca3
JM
19817 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
19818 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
19819 * configure: Regenerated.
19820 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
19821 $(libgcc_s_suffix).
19822 * config.make.in (libgcc_s_suffix): Remove variable.
19823
1ad743de
JM
198242012-04-23 Joseph Myers <joseph@codesourcery.com>
19825
4ad451e2
JM
19826 * sysdeps/unix/sysv/gethostname.c: Move to ...
19827 * sysdeps/posix/gethostname.c: ... here.
19828
5e37ce39
JM
19829 * sysdeps/unix/execve.S: Remove file.
19830
1ad743de
JM
19831 * sysdeps/unix/_exit.S: Remove file.
19832
4e681b5b
AJ
198332012-04-23 Andreas Jaeger <aj@suse.de>
19834
19835 [BZ #13739]
19836 * manual/Makefile: Remove make dist support, there's no
19837 need for a stand-alone documentation tar ball.
19838 (TEXI2DVI): Define always, it's not in Makeconfig.
19839 (dist): Removed.
19840 (tar-it): Removed.
19841 (edition): Removed.
19842 (glibc-doc-$(edition).tar): Removed
19843 (%.Z): Removed.
19844 (%.gz): Removed.
19845 (%.uu): Removed.
19846 (ETAGS): Remove, it's in Makeconfig.
19847 (move-if-change): Remove, it's in Makeconfig.
19848
38686a03 198492012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
19850
19851 [BZ #13970]
19852 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
19853 (strtod, strtof, strtold, strtol, strtoul, strtoq)
19854 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
19855 (strtod_l, strtof_l, strtold_l): Remove __wur.
19856 It is not necessarily an error to ignore strtol's return value.
19857 One can reliably look at the stored endptr to decide whether
19858 the number had valid syntax.
19859
7c0616fa
AJ
198602012-04-21 Andreas Jaeger <aj@suse.de>
19861
803cb6b7 19862 [BZ #13739]
7c0616fa
AJ
19863 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
19864
b0fe253f
JM
198652012-04-21 Joseph Myers <joseph@codesourcery.com>
19866
19867 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
19868 * sysdeps/unix/sysv/Versions: Remove file.
19869
8280f22d
MT
198702012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
19871
19872 [BZ #13927]
19873 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19874
75ce411f 198752012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
19876
19877 [BZ #7064]
19878 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
19879 version from __vm86.
19880
097d59fa
JM
198812012-04-20 Joseph Myers <joseph@codesourcery.com>
19882
a90f3bcb
JM
19883 * sysdeps/unix/common/lxstat.c: Remove file.
19884 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
19885
edc7ea78
JM
19886 * sysdeps/unix/sysv/Makefile: Remove file.
19887
cb78c221
JM
19888 * sysdeps/unix/sysv/direct.h: Remove file.
19889
efa6a45f
JM
19890 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
19891 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
19892 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
19893 * sysdeps/unix/sysv/bits/signum.h: Likewise.
19894 * sysdeps/unix/sysv/bits/stat.h: Likewise.
19895 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
19896 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
19897
9c9f2d0c
JM
19898 * sysdeps/unix/sysv/setrlimit.c: Remove file.
19899
4541c83b
JM
19900 * sysdeps/unix/xmknod.c: Remove file.
19901 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
19902
f5d153a0
JM
19903 * sysdeps/unix/sysv/settimeofday.c: Remove file.
19904
aa746595
JM
19905 * sysdeps/unix/sysv/i386/time.S: Remove file.
19906
cce5905e
JM
19907 * sysdeps/unix/fxstat.c: Remove file.
19908 * sysdeps/unix/xstat.c: Likewise.
19909 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
19910
37fa3841
JM
19911 * sysdeps/unix/sysv/sigaction.c: Remove file.
19912
ff1962a3
JM
19913 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
19914 (sysdep_headers): Remove variable.
19915 [termio.h not in sysdep_headers] (generated): Likewise.
19916 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
19917 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
19918 * sysdeps/unix/sysv/tcdrain.c: Likewise.
19919 * sysdeps/unix/sysv/tcflow.c: Likewise.
19920 * sysdeps/unix/sysv/tcflush.c: Likewise.
19921 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
19922 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
19923 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
19924 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
19925 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
19926
e7740d31
JM
19927 * sysdeps/unix/siglist.c: Remove file.
19928
ee06f18b
JM
19929 * sysdeps/unix/getppid.S: Remove file.
19930
097d59fa
JM
19931 * sysdeps/unix/mkdir.c: Remove file.
19932 * sysdeps/unix/rmdir.c: Likewise.
19933
ff3d51ec
AS
199342012-04-19 Andreas Schwab <schwab@linux-m68k.org>
19935
19936 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
19937 ERR_MAX value.
19938 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
19939 errlist-compat value.
19940
50f81fd7
DM
199412012-04-18 David S. Miller <davem@davemloft.net>
19942
19943 * sysdeps/generic/memcopy.h (reg_char): Delete.
19944 * debug/strcat_chk.c: Use char, not reg_char.
19945 * debug/strcpy_chk.c: Likewise.
19946 * debug/strncat_chk.c: Likewise.
19947 * debug/strncpy_chk.c: Likewise.
19948 * string/memchr.c: Likewise.
19949 * string/memrchr.c: Likewise.
19950 * string/rawmemchr.c: Likewise.
19951 * string/strcat.c: Likewise.
19952 * string/strchr.c: Likewise.
19953 * string/strchrnul.c: Likewise.
19954 * string/strcmp.c: Likewise.
19955 * string/strcpy.c: Likewise.
19956 * string/strncat.c: Likewise.
19957 * string/strncmp.c: Likewise.
19958 * string/strncpy.c: Likewise.
19959
8ff41c46
WS
199602012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19961
19962 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
19963 __builtin_memcopy is called when src and dest ranges are known to not
19964 overlap.
19965
6b652f46
WS
199662012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19967
19968 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
19969 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
19970 fwd_align_merge macro call.
19971 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
19972 bwd_align_merge macro call.
19973 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19974
b282631e
WS
199752012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
19976
19977 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
19978 bwd_align_merge macros.
19979 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
19980 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
19981 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
19982
95aa737c
DM
199832012-04-18 David S. Miller <davem@davemloft.net>
19984
19985 * sysdeps/sparc/sparc64/memcopy.h: Delete.
19986
7a99a614
AJ
199872012-04-18 Andreas Jaeger <aj@suse.de>
19988
19989 [BZ# 6794]
19990 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
19991 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
19992 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19993
19994 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
19995 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
19996 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
19997
19998 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
19999 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20000 Adjust for changed ldbl-128 files.
20001
20002 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20003 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20004 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20005
e5270c23
DM
200062012-04-17 David S. Miller <davem@davemloft.net>
20007
20008 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20009
fb5e92c9
AS
200102012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20011
20012 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20013 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20014 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20015 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20016 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20017 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20018
76da7265
AZ
200192012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20020
20021 [BZ #6794]
20022 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20023 * math/libm-test.inc: Add ilogb errno and exception tests.
20024 * math/w_ilogb.c: New file: ilogb wrapper.
20025 * math/w_ilogbf.c: New file: ilogbf wrapper.
20026 * math/w_ilogbl.c: New file: ilogbl wrapper.
20027 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20028 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20029 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20030 exception being thrown with 0.0 as argument.
20031 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20032 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20033 exception being thrown with 0.0 as argument.
20034 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20035 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20036 exception being thrown with 0.0 as argument.
20037 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20038 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20039 exception being thrown with 0.0 as argument.
20040 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20041 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20042 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20043 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20044 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20045 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20046 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20047 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20048 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20049
0396e69d
PB
200502012-04-17 Petr Baudis <pasky@ucw.cz>
20051
20052 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20053 with altivec.
20054
750b5926
MP
200552012-04-16 Marek Polacek <polacek@redhat.com>
20056
20057 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20058
751728a1
MP
200592012-04-16 Marek Polacek <polacek@redhat.com>
20060
20061 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20062 operands of fdivp instruction.
20063
34a27407
L
200642012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20065
20066 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20067 * elf/tst-auditmod3b.c: Likewise.
20068 * elf/tst-auditmod4b.c: Likewise.
20069 * elf/tst-auditmod5b.c: Likewise.
20070 * elf/tst-auditmod6b.c: Likewise.
20071 * elf/tst-auditmod6c.c: Likewise.
20072 * elf/tst-auditmod7b.c: Likewise.
20073 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20074 * sysdeps/x86_64/preconfigure.in: Likewise.
20075 * sysdeps/x86_64/preconfigure: Regenerated.
20076
7e73e17d
L
200772012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20078
20079 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20080 __ILP32__.
20081
c7a6ab72
AB
200822012-04-13 Antoine Balestrat <merkil33@gmail.com>
20083
20084 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20085 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20086
a9e8e0e0
CL
200872012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20088
20089 [BZ #13973]
20090 * locale/iso-639.def: Fix gl language name. Spotted by
20091 Yaron Shahrabani.
20092
ec98af7d
RM
200932012-04-12 Roland McGrath <roland@hack.frob.com>
20094
20095 [BZ #2074]
20096 * libio/libio.h (__io_write_fn): Update comment.
20097
247c3ede
PB
200982012-04-12 Petr Baudis <pasky@ucw.cz>
20099
20100 [BZ #2074]
20101 * stdio.texi (Hook Functions): The user provided writer function
20102 is not allowed to return -1.
20103
55939d6d
DM
201042012-04-11 David S. Miller <davem@davemloft.net>
20105
20106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20107
90020f5a
MF
201082012-04-11 Mike Frysinger <vapier@gentoo.org>
20109
20110 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20111 Add a leading slash to rtkaio.
20112
288f9098
JM
201132012-04-11 Jim Meyering <meyering@redhat.com>
20114
90020f5a
MF
20115 [BZ #11959]
20116 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20117 It is not necessarily an error to ignore fwrite's return
20118 value. One can reliably use ferror to test for errors after
20119 the fact.
288f9098 20120
4be2b570
L
201212012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20122
20123 * bits/types.h (__snseconds_t): New type.
20124 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20125
20126 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20127 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20128 (__SNSECONDS_T_TYPE): Likewise.
20129 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20130 (__SNSECONDS_T_TYPE): Likewise.
20131 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20132 (__SNSECONDS_T_TYPE): Likewise.
20133
288f9098 201342012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20135
20136 [BZ #2636]
20137 * manual/time.texi (Processor Time): Return type of times is
20138 elapsed real time since an arbitrary point in the past.
20139 (CPU Time): Move CLK_TCK from here...
20140 (Processor Time): ...to here. Correct description.
20141 * manual/conf.texi (Constants for Sysconf): Correct description of
20142 _SC_CLK_TCK.
20143
d7dd4413
DM
201442012-04-10 David S. Miller <davem@davemloft.net>
20145
20146 [BZ #13967]
20147 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20148 where the is a gap between DT_REL(A) and DT_JMPREL.
20149
b46068fc
L
201502012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20151
20152 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20153 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20154 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20155
73d65cc3
SP
201562012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20157
20158 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20159 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20160 (dl_main): Handle --inhibit-cache.
20161 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20162 _dl_inhibit_cache.
20163 * elf/dl-load.c (_dl_map_object): Use it.
20164 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20165
bcc8d661
JM
201662012-04-09 Joseph Myers <joseph@codesourcery.com>
20167
8f9a2fae
JM
20168 [BZ #13872]
20169 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20170 (__ieee754_powl): Saturate large exponents rather than testing for
20171 overflow of y*log2(x).
20172 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20173 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20174 exceptions.
20175
bcc8d661
JM
20176 [BZ #11521]
20177 * math/s_ctan.c: Include <float.h>.
20178 (__ctan): Avoid internal overflow or cancellation in calculating
20179 denominator.
20180 * math/s_ctanf.c: Likewise.
20181 * math/s_ctanl.c: Likewise.
20182 * math/s_ctanh.c: Likewise.
20183 * math/s_ctanhf.c: Likewise.
20184 * math/s_ctanhl.c: Likewise.
20185 * math/libm-test.inc (ctan_test): Add more tests.
20186 (ctanh_test): Likewise.
20187 * sysdeps/i386/fpu/libm-test-ulps: Update.
20188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20189
823fbbb4
AJ
201902012-04-09 Andreas Jaeger <aj@suse.de>
20191
03879793
AJ
20192 [BZ #6894]
20193 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20194 is an optional BSD extension.
20195
823fbbb4
AJ
20196 [BZ #10254]
20197 * manual/stdio.texi (Opening Streams): Document additional fopen
20198 parameters.
20199
8de131cb
RM
202002012-04-09 Roland McGrath <roland@hack.frob.com>
20201
20202 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20203 %eax without telling the compiler.
20204
c0ed9d7d
CD
202052012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20206
20207 [BZ # 13963]
20208 * manual/install.texi: Use sourceware.org.
20209
c483f6b4
JM
202102012-04-09 Joseph Myers <joseph@codesourcery.com>
20211
d7dd9453
JM
20212 [BZ #13873]
20213 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20214 (__ieee754_pow): Generate overflow and underflow using huge*huge
20215 and tiny*tiny rather than just returning constant infinity or zero
20216 for large exponents.
20217 * math/libm-test.inc (pow_test): Require overflow exceptions for
20218 applicable cases of large exponents.
20219
c483f6b4
JM
20220 [BZ #706]
20221 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20222 (__ieee754_pow): Use iterative multiplication algorithm only for
20223 integer exponents with absolute value below 1024. Check for odd
20224 integer exponents when using algorithm for real exponents.
20225 * math/libm-test.inc (pow_test): Add more tests.
20226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20227
d2de7579
JM
202282012-04-08 Joseph Myers <joseph@codesourcery.com>
20229
20230 [BZ #13705]
20231 * math/libm-test.inc (exp_test): Do not allow overflow exception
20232 on underflow test.
20233
f77f1232
AJ
202342012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20235
20236 [BZ #13705]
20237 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20238 instead of __kernel_standard_f.
20239
3884932b
MF
202402012-04-08 Mike Frysinger <vapier@gentoo.org>
20241
20242 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20243 * sysdeps/x86_64/memset_chk.S: Likewise.
20244
54472e9c
AJ
202452012-04-08 Andreas Jaeger <aj@suse.de>
20246
6ab0fbfc
AJ
20247 [BZ #10153]
20248 * manual/startup.texi (Environment Access): Describe return value
20249 for putenv and setenv.
20250
61efba8c
AJ
20251 [BZ #6895]
20252 * manual/filesys.texi (Directory Entries): Add description for
20253 DT_LNK.
20254
95c3f29a
AJ
20255 [BZ #6890]
20256 * manual/filesys.texi (Directory Entries): Clarify that it's file
20257 system not operating system in the description of DT_UNKNOWN.
20258
54472e9c
AJ
20259 [BZ #6578]
20260 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20261
624254b1
SC
202622012-04-08 Stephen Compall <s11@member.fsf.org>
20263
20264 [BZ #6649]
20265 * manual/llio.texi (Opening and Closing Files): Add cross
20266 reference to explain mode argument.
20267
1e4920e0
MF
202682012-04-07 Mike Frysinger <vapier@gentoo.org>
20269
20270 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20271 * sysdeps/x86_64/memset_chk.S: Likewise.
20272
5ed848f3
DM
202732012-04-07 David S. Miller <davem@davemloft.net>
20274
20275 * elf/elf.h (R_SPARC_WDISP10): Define.
20276 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20277 R_SPARC_SIZE32.
20278 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20279 R_SPARC_SIZE64 and R_SPARC_H34.
20280
96154cd8
CD
202812012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20282
20283 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20284 conditions and remove no longer applicable assertion.
20285
9904dc47
L
202862012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20287
20288 * bits/byteswap.h: Include <features.h>.
20289 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20290 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20291
f8887d0a
L
202922012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20293
20294 * bits/byteswap.h (__bswap_16): Removed.
20295 Include <bits/byteswap-16.h> to get __bswap_16.
20296 * sysdeps/i386/bits/byteswap.h: Likewise.
20297 * sysdeps/s390/bits/byteswap.h: Likewise.
20298 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20299 * bits/byteswap-16.h: New file.
20300 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20301 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20302 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20303 * string/Makefile (headers): Add bits/byteswap-16.h.
20304
62470f60
PP
203052012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20306
20307 [BZ #13895]
20308 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20309 extra indirection.
20310 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20311 * nss/tst-nss-static.c: New.
20312
4dad7bab
RM
203132012-04-06 Robert Millan <rmh@gnu.org>
20314
20315 [BZ #6486]
20316 * manual/llio.texi (File Position Primitive): lseek
20317 refers to WHENCE when it really means OFFSET.
20318
e9142a17
AJ
203192012-04-06 Andreas Jaeger <aj@suse.de>
20320
2c040eff
AJ
20321 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20322 strncmp declarations.
20323
e9142a17
AJ
20324 * abilist/libc.abilist: Add __poll and __ppoll.
20325
ff9f1c5f
DM
203262012-04-05 David S. Miller <davem@davemloft.net>
20327
dcd2ae90
DM
20328 * scripts/check-local-headers.sh: Accept a host triplet in the
20329 path matched by the exclude regexp.
20330
993eb054
DM
20331 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20332 definition.
20333 * sysdeps/powerpc/powerpc32/dl-machine.h
20334 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20335 * sysdeps/s390/s390-32/dl-machine.h
20336 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20337 * sysdeps/sparc/sparc32/dl-machine.h
20338 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20339 * sysdeps/sparc/sparc64/dl-machine.h
20340 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20341
ff9f1c5f
DM
20342 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20343 lazy binding.
48e2e132 20344 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20345 undefined symbol errors.
20346
48e2e132 20347 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20348 DT_NEEDED entries.
20349
e80d6f94
MM
203502012-04-05 Michael Matz <matz@suse.de>
20351
20352 [BZ #13592]
20353 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20354
349fa79f
AJ
203552012-04-05 Andreas Jaeger <aj@suse.de>
20356
20357 [BZ #13908]
20358 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20359 comment.
20360
f402708f
KK
203612012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20362
20363 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20364 which ROUND is no valid rounding mode.
20365
2ecccfc9
KK
203662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20367
20368 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20369 read again.
20370 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20371
8a53f50f
KK
203722012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20373
20374 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20375 an exception using FPU order intentionally.
20376
203772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20378
20379 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20380 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20381 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20382 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20383
d653abb7
SJ
203842012-04-05 Simon Josefsson <simon@josefsson.org>
20385
20386 [BZ #12340]
20387 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20388 EINVAL when BUFLEN is too smal.
20389
c3b1bf7d
TS
203902012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20391
20392 [BZ #13553]
20393 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20394 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20395
b1aa60f3
AJ
203962012-04-03 Andreas Jaeger <aj@suse.de>
20397
c3b1bf7d 20398 [BZ #13938]
67f60a26
AJ
20399 * manual/setjmp.texi (System V contexts): Fix sentence.
20400
b1aa60f3
AJ
20401 [BZ #13926]
20402 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20403 New macro for this case.
20404 [!__GNUC__] (__bswap_64): New inline function for this case.
20405 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20406 * bits/byteswap.h: Likewise.
20407 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20408 ull, guard with __GLIBC_HAVE_LONG_LONG.
20409
20410 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20411 __GLIBC_HAVE_LONG_LONG.
20412
20413 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20414 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20415
39c59c35
TMQMF
204162012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20417
20418 [BZ #13691]
20419 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20420 inptr and inend, rather than using last_ch.
20421
135ffda8
DM
204222012-04-02 David S. Miller <davem@davemloft.net>
20423
20424 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20425 * stdio-common/printf-parse.h (read_int): Change return type to
20426 'int', return -1 on INT_MAX overflow.
20427 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20428 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20429 overflows INT_MAX. Check for overflow of in-format-string precision
20430 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20431 SIZE_MAX not INT_MAX for integer overflow test.
20432 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20433 skip the construct in the format string but do not record anything.
20434 * stdio-common/bug22.c: Adjust to test both width/prevision
20435 INT_MAX overflow as well as total length INT_MAX overflow. Check
20436 explicitly for proper errno values.
20437
228c019e
TS
204382012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20439
302cadd3
TS
20440 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20441 CHAR_MAX.
20442 * string/test-strcmp.c [! WIDE]: Likewise.
20443 * time/tst-mktime2.c: Likewise for INT_MAX.
20444 * string/test-string.h: #include <sys/param.h> for MIN.
20445
228c019e
TS
20446 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20447 * sysdeps/i386/init-first.c (init): Likewise.
20448 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20449 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20450 * sysdeps/sh/init-first.c (init): Likewise.
20451
cfa633f5
UD
204522012-04-01 Ulrich Drepper <drepper@gmail.com>
20453
20454 * po/ru.po: Update from translation team.
d1635ef8 20455 * po/vi.po: Likewise.
cfa633f5 20456
6cd0a5ea
SP
204572012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20458
20459 * resolv/nss_dns/dns-host.c: Merge copyright years.
20460
4b43400f
LD
204612012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20462
20463 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20464 Optimize memcpy with prefetch if
20465 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20466 src, dst pointers have unequal 16 byte alignments.
20467
48c41d04
SP
204682012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20469
20470 [BZ #13928]
20471 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20472 from a CNAME entry and return the minimum ttl for the query.
20473 (gaih_getanswer_slice): Likewise.
20474
b8dc394d
JL
204752012-03-30 Jeff Law <law@redhat.com>
20476
20477 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20478 due to long keys.
20479 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20480 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20481
2f5a5ed0
JL
20482 * resolv/nss_dns/dns-host.c: Update copyright year.
20483
1d39e359
UD
204842012-03-30 Ulrich Drepper <drepper@gmail.com>
20485
c030f70c 20486 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20487 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20488
1d39e359
UD
20489 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20490 comments for sendmmsg.
20491
204922012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20493
20494 [BZ #13691]
20495 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20496 with only 1 character between 0x0041 and 0x01b0.
20497 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20498 * wcsmbs/tst-mbsnrtowcs.c: New file.
20499
20fde227
DM
205002012-03-29 David S. Miller <davem@davemloft.net>
20501
20502 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20503 small copies by hand.
20504
984a4237
JL
205052012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20506
20507 [BZ #13761]
20508 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20509 _nss_compat_initgroups_dyn): Fall back to malloc/free
20510 for large group memberships.
20511
18c9d62b
DM
205122012-03-28 David S. Miller <davem@davemloft.net>
20513
88d85d4f
DM
20514 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20515 that branches into memcpy.
20516 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20517 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20518 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20519 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20520 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20521 bits.
20522 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20523 implementation too.
20524 * sysdeps/sparc/mempcpy.S: New file.
20525
e5aa83e1
DM
20526 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20527 the IFUNC routine in the libc case.
20528 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20529
88570753
DM
20530 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20531 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20532 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20533 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20534 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20535 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20536 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20537 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20538
249d7567
DM
20539 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20540 loop to 256 bytes instead of 64 bytes and fix test signedness.
20541
18c9d62b
DM
20542 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20543 * sysdeps/sparc/sparc32/Makefile: rather than here...
20544 * sysdeps/sparc/sparc64/Makefile: and here.
20545
05f3d1f6
UD
205462012-03-28 Ulrich Drepper <drepper@gmail.com>
20547
20548 * malloc/mallocbug.c: Avoid warnings about unused variables.
20549
86ae07a8
JL
205502012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20551
20552 [BZ #13760]
20553 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20554 in the right place. Discard and retry query if response is
20555 larger than input buffer size.
20556
41bf21a1
JM
205572012-03-28 Joseph Myers <joseph@codesourcery.com>
20558
d6270972
JM
20559 [BZ #369]
20560 [BZ #2678]
20561 [BZ #3866]
20562 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20563 x for large integer exponent.
20564 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20565 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20566 sign of result as needed afterwards.
20567 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20568 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20569 result for underflowing pow the same as for overflow.
20570 (__kernel_standard_l): Handle powl overflow and underflow here
20571 rather than calling __kernel_standard.
20572 * math/libm-test.inc (pow_test): Add more tests.
20573
414fca03 20574 [BZ #3868]
41bf21a1
JM
20575 [BZ #13879]
20576 [BZ #13910]
20577 [BZ #13911]
20578 [BZ #13912]
20579 [BZ #13913]
20580 [BZ #13915]
20581 [BZ #13916]
20582 [BZ #13917]
20583 [BZ #13918]
20584 [BZ #13919]
20585 [BZ #13920]
20586 [BZ #13921]
20587 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20588 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20589 (__kernel_standard_l): New function.
20590 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20591 __kernel_standard.
20592 * math/w_acosl.c (__acosl): Likewise.
20593 * math/w_asinl.c (__asinl): Likewise.
20594 * math/w_atan2l.c (__atan2l): Likewise.
20595 * math/w_atanhl.c (__atanhl): Likewise.
20596 * math/w_coshl.c (__coshl): Likewise.
20597 * math/w_exp10l.c (__exp10l): Likewise.
20598 * math/w_exp2l.c (__exp2l): Likewise.
20599 * math/w_fmodl.c (__fmodl): Likewise.
20600 * math/w_hypotl.c (__hypotl): Likewise.
20601 * math/w_j0l.c (__j0l, __y0l): Likewise.
20602 * math/w_j1l.c (__j1l, __y1l): Likewise.
20603 * math/w_jnl.c (__jnl, __ynl): Likewise.
20604 * math/w_lgammal.c (__lgammal): Likewise.
20605 * math/w_log10l.c (__log10l): Likewise.
20606 * math/w_log2l.c (__log2l): Likewise.
20607 * math/w_logl.c (__logl): Likewise.
20608 * math/w_powl.c (__powl): Likewise.
20609 * math/w_remainderl.c (__remainderl): Likewise.
20610 * math/w_scalbl.c (sysv_scalbl): Likewise.
20611 * math/w_sinhl.c (__sinhl): Likewise.
20612 * math/w_sqrtl.c (__sqrtl): Likewise.
20613 * math/w_tgammal.c (__tgammal): Likewise.
20614 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20615 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20616 * math/libm-test.inc (acos_test): Add more tests.
20617 (acosh_test): Likewise.
20618 (asin_test): Likewise.
20619 (atanh_test): Likewise.
20620 (exp_test): Likewise.
20621 (exp10_test): Likewise.
20622 (exp2_test): Likewise.
20623 (expm1_test): Likewise.
20624 (lgamma_test): Likewise.
20625 (log_test): Likewise.
20626 (log10_test): Likewise.
20627 (log1p_test): Likewise.
20628 (log2_test): Likewise.
20629 (pow_test): Do not allow some spurious overflow exceptions.
20630 (sqrt_test): Add more tests.
20631 (tgamma_test): Likewise.
20632 (y0_test): Likewise.
20633 (y1_test): Likewise.
20634 (yn_test): Likewise.
20635
dd62fda6
AB
206362012-03-27 Anton Blanchard <anton@samba.org>
20637
20638 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
20639 MAP_HUGETLB.
20640 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20641 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
20642 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20643
1e3cdfda
AJ
206442012-03-27 David S. Miller <davem@davemloft.net>
20645
b855ab85
DM
20646 * conform/Makefile: Run run-conformtest.sh using $(BASH).
20647
1e3cdfda
AJ
20648 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
20649 have-as-vis3 check.
20650
206512012-03-27 Andreas Jaeger <aj@suse.de>
20652
20653 * sysdeps/x86_64/elf/configure.in: Moved to ...
20654 * sysdeps/x86_64/configure.in: ... here.
20655 * sysdeps/x86_64/elf/start.S: Moved to ...
20656 * sysdeps/x86_64/start.S: ... here.
20657 * sysdeps/x86_64/elf/configure: Delete.
20658
20659 * sysdeps/x86_64/configure.in: Merge contents from
20660 sysdeps/i386/configure.in (without i686 check).
20661
20662 * sysdeps/i386/elf/Versions: Merge into ...
20663 * sysdeps/i386/Versions: ... this.
20664 * sysdeps/i386/elf/Versions: Delete file.
20665 * sysdeps/i386/elf/start.S: Moved to ...
20666 * sysdeps/i386/start.S: ...here.
20667 * sysdeps/i386/elf/configure.in: Merge into...
20668 * sysdeps/i386/configure.in: ...here.
20669 * sysdeps/i386/elf/configure.in: Delete file.
20670 * sysdeps/i386/elf/configure: Delete file.
20671
20672 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
20673 * debug/backtracesyms.c: ... here.
20674 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
20675 * debug/backtracesymsfd.c: ... here.
20676 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
20677 * sysdeps/generic/ifunc-sel.h: ... here.
20678
20679 * sysdeps/unix/i386/start.c: Delete file.
20680 * sysdeps/unix/sparc/start.c: Delete file.
20681 * sysdeps/unix/start.c: Delete file.
20682
20683 * sysdeps/sh/elf/configure.in: Moved to ...
20684 * sysdeps/sh/configure.in: ... here.
20685 * sysdeps/sh/elf/start.S: Moved to ...
20686 * sysdeps/sh/start.S: ... here.
20687 * sysdeps/sh/elf/configure: Delete file.
20688
20689 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
20690 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
20691 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
20692 * sysdeps/powerpc/powerpc64/entry.h: ... here.
20693 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
20694 * sysdeps/powerpc/powerpc64/start.S: here.
20695 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
20696 * sysdeps/powerpc/powerpc64/Makefile: ... this.
20697 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
20698 * sysdeps/powerpc/powerpc64/configure.in: ... this.
20699 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
20700
20701 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
20702 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
20703 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
20704 * sysdeps/powerpc/powerpc32/start.S: ... here.
20705 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
20706 * sysdeps/powerpc/powerpc32/configure.in: ... this.
20707 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
20708
20709 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
20710 * sysdeps/powerpc/ifunc-sel.h: ... here.
20711 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
20712 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
20713
20714 * sysdeps/sparc/elf/configure.in: Moved to ...
20715 * sysdeps/sparc/configure.in: ... here.
20716 * sysdeps/sparc/elf/configure: Delete file.
20717 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
20718 * sysdeps/sparc/sparc32/start.S: ... here.
20719 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
20720 * sysdeps/sparc/sparc64/start.S: ... here.
20721 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
20722 * sysdeps/sparc/sparc32/Makefile: ... this.
20723 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
20724 * sysdeps/sparc/sparc64/Makefile: ... this.
20725
20726 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
20727 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
20728 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
20729 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
20730 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
20731 * sysdeps/s390/s390-32/setjmp.S: ... here.
20732 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
20733 * sysdeps/s390/s390-32/configure.in: ... here.
20734 * sysdeps/s390/s390-32/elf/configure: Delete file.
20735 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
20736 * sysdeps/s390/s390-32/start.S: ... here.
20737
20738 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
20739 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
20740 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
20741 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
20742 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
20743 * sysdeps/s390/s390-64/setjmp.S: ... here.
20744 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
20745 * sysdeps/s390/s390-64/configure.in: ... here
20746 * sysdeps/s390/s390-64/elf/configure: Delete file.
20747 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
20748 * sysdeps/s390/s390-64/start.S: ... here.
20749 * sysdeps/s390/s390-64/elf/configure: Delete.
20750
20751 * configure.in: Remove support for elf directories in sysdeps.
20752
20753 * configure: Regenerated.
20754 * sysdeps/i386/configure: Regenerated.
20755 * sysdeps/powerpc/powerpc32/configure: Regenerated.
20756 * sysdeps/powerpc/powerpc64/configure: Regenerated.
20757 * sysdeps/s390/s390-32/configure: Regenerated.
20758 * sysdeps/s390/s390-64/configure: Regenerated.
20759 * sysdeps/sh/configure: Regenerated.
20760 * sysdeps/sparc/configure: Regenerated.
20761 * sysdeps/x86_64/configure: Regenerated.
20762
a3f61311
AS
207632012-03-26 Andreas Schwab <schwab@linux-m68k.org>
20764
c876e002
AS
20765 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20766
a3f61311
AS
20767 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
20768 denormal result into account.
20769
ac4c54f0
RM
207702012-03-25 Roland McGrath <roland@hack.frob.com>
20771
20772 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
20773 Reported by Allan McRae <allan@archlinux.org>.
20774
6a9b9c02
JL
207752012-03-23 Jeff Law <law@redhat.com>
20776
20777 * nss/getnssent.c (__nss_getent): Fix typo.
20778
4c42a0c1
DM
207792012-03-23 David S. Miller <davem@davemloft.net>
20780
20781 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20782
1532c7ac
L
207832012-03-23 H.J. Lu <hongjiu.lu@intel.com>
20784
20785 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
20786 to pad to uint64_t for each field.
20787 (dl_tls_index): Replace unsigned long with uint64_t.
20788
3ff42526
PP
207892012-03-23 Daniel Jacobowitz <dmj@google.com>
20790 Paul Pluzhnikov <ppluzhnikov@google.com>
20791
20792 [BZ #6528]
20793 * grp/Makefile (otherlibs): Don't set it.
20794 * inet/Makefile (otherlibs): Likewise.
20795 * login/Makefile (otherlibs): Likewise.
20796 * nscd/Makefile (otherlibs): Likewise.
20797 * posix/Makefile (otherlibs): Likewise.
20798 * pwd/Makefile (otherlibs): Likewise.
20799 * rt/Makefile (otherlibs): Likewise.
20800 * sunrpc/Makefile (otherlibs): Likewise.
20801 * nss/Makefile (otherlibs): Likewise.
20802 Add libnss_files to routines and static-only-routines.
20803 ($(objpfx)getent): Remove rule.
20804 * resolv/Makefile: Add libnss_dns and libresolv to routines and
20805 static-only-routines.
20806
7c69cd14
JM
208072012-03-22 Joseph Myers <joseph@codesourcery.com>
20808
20809 [BZ #13892]
20810 * math/s_cexp.c: Include <float.h>.
20811 (__cexp): Handle exp result overflowing not necessarily
20812 overflowing both real and imaginary parts of result.
20813 * math/s_cexpf.c: Likewise.
20814 * math/s_cexpl.c: Likewise.
20815 * math/libm-test.inc (cexp_test): Add more tests.
20816 * sysdeps/i386/fpu/libm-test-ulps: Update.
20817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20818
81b035fe
L
208192012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20820
20821 * include/link.h (ELFW): New macro.
20822 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
20823 Replace ELF64_R_TYPE with ELFW(R_TYPE).
20824
1da7940c
L
208252012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20826
20827 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
20828 with uint64_t.
20829
b749dbb9
L
208302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20831
20832 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
20833 declaration.
20834 (struct La_x32_retval): Likewise.
20835
2ff87f3f
L
208362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
20837
20838 * sysdeps/x86_64/preconfigure.in: New file.
20839 * sysdeps/x86_64/preconfigure: New generated file.
20840
c0df8e69
JM
208412012-03-22 Joseph Myers <joseph@codesourcery.com>
20842
48e44791
JM
20843 [BZ #13824]
20844 * math/e_exp2l.c: Include <float.h>.
20845 (__ieee754_exp2l): Handle overflow and underflow cases
20846 separately. Only pass fractional part of argument to
20847 __ieee754_expl.
20848 * math/libm-test.inc (exp2_test): Add more tests.
20849
c0df8e69
JM
20850 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
20851 negating x to take absolute value.
20852 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20853 Likewise.
20854 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
20855 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20856 Likewise.
20857 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
20858 computing low part if x was negated.
20859 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20860
c8e43ba7
L
208612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20862
20863 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
20864 la_x32_gnu_pltexit.
20865 (pltexit): Cast int_retval to ptrdiff_t.
20866 * elf/tst-auditmod3b.c: Likewise.
20867 * elf/tst-auditmod4b.c: Likewise.
20868 * elf/tst-auditmod5b.c: Likewise.
20869 * elf/tst-auditmod6b.c: Likewise.
20870 * elf/tst-auditmod6c.c: Likewise.
20871 * elf/tst-auditmod7b.c: Likewise.
20872
20873 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
20874 and x32_gnu_pltexit.
20875
20876 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
20877 __ELF_NATIVE_CLASS.
20878 (La_x32_regs): New macro.
20879 (La_x32_retval): Likewise.
20880 (la_x32_gnu_pltenter): New function prototype.
20881 (la_x32_gnu_pltexit): Likewise.
20882
7998fa78
AS
208832012-03-21 Andreas Schwab <schwab@linux-m68k.org>
20884
dcb33988
AS
20885 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
20886 exponent.
20887
233fc563
AS
20888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20889
7998fa78
AS
20890 * configure.in (libc_cv_cc_nofma): Check for option to disable
20891 generation of FMA instructions.
20892 * configure: Regenerate.
20893 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
20894 * sysdeps/ieee754/dbl-64/Makefile: New file.
20895 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20896 Remove brandred-fma4.
20897 (CFLAGS-brandred-fma4.c): Remove.
20898 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
20899 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
20900 define.
20901 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
20902 define.
20903
8e95c99a
L
209042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20905
20906 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20907 LLONG_MAX != LONG_MAX.
20908 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20909 (_fitoa_word): Likewise.
20910 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
20911 LLONG_MAX != LONG_MAX.
20912 * stdio-common/_itowa.h: Include <_itoa.h>.
20913 (_itowa_word): Use _ITOA_WORD_TYPE on value.
20914 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
20915 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
20916 only if not defined.
20917 (_ITOA_WORD_TYPE): Likewise.
20918 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20919 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
20920
6f4db457
DM
209212012-03-21 David S. Miller <davem@davemloft.net>
20922
20923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20924
7785fe5a
L
209252012-03-21 H.J. Lu <hongjiu.lu@intel.com>
20926
20927 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
20928 of x86_64 when setting libc_cv_slibdir, libdir and
20929 libc_cv_localedir.
20930 * sysdeps/unix/sysv/linux/configure: Regenerated.
20931
4535cd55
JM
209322012-03-21 Joseph Myers <joseph@codesourcery.com>
20933
20934 * manual/lang.texi (Old Varargs): Remove section.
20935 (How Variadic): Update menu.
20936 (va_start): Do not mention varargs.h.
20937
17228132
TS
209382012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20939 Joseph Myers <joseph@codesourcery.com>
20940
20941 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
20942 link test.
20943 * configure: Regenerated.
20944
8149f976
TS
209452012-03-21 Thomas Schwinge <thomas@codesourcery.com>
20946
05f3d1f6
UD
20947 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
20948 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
20949 conformtest.pl
8149f976 20950
1a4ac776
JM
209512012-03-21 Joseph Myers <joseph@codesourcery.com>
20952
be22ce65
JM
20953 * NOTES: Remove.
20954 * Makefile (files-for-dist): Remove NOTES.
20955 (NOTES): Remove rule.
20956 * README: Don't refer to NOTES.
20957 * manual/creature.texi: Don't include macros.texi.
20958 * manual/intro.texi (creature.texi): Remove comment referring to
20959 NOTES.
20960
40b601fb
JM
20961 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
20962 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
20963 * configure: Regenerated.
20964 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
20965 LIBC_TRY_CC_OPTION.
20966 (libc_cv_as_i686): Likewise.
20967 (libc_cv_cc_avx): Likewise.
20968 (libc_cv_cc_sse2avx): Likewise.
20969 (libc_cv_cc_fma4): Likewise.
20970 (libc_cv_cc_novzeroupper): Likewise.
20971 * sysdeps/i386/configure: Regenerated.
20972
1a4ac776
JM
20973 [BZ #13883]
20974 * sysdeps/i386/fpu/s_cexp.S: Remove.
20975 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
20976 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
20977 * math/libm-test.inc (cexp_test): Add more tests.
20978 * sysdeps/i386/fpu/libm-test-ulps: Update.
20979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20980
a458e7fe
AM
209812012-03-21 Allan McRae <allan@archlinux.org>
20982
20983 * timezone/Makefile: Do not install iso3166.tab and zone.tab
20984
0cb7efc5
JM
209852012-03-21 Joseph Myers <joseph@codesourcery.com>
20986
20987 [BZ #13871]
20988 * math/w_exp2.c: Do not include <float.h>.
20989 (o_threshold, u_threshold): Remove.
20990 (__exp2): Calculate result before checking finiteness and calling
20991 __kernel_standard.
20992 * math/w_exp2f.c: Likewise.
20993 * math/w_exp2l.c: Likewise.
20994 * math/libm-test.inc (exp2_test): Require overflow exception for
20995 1e6 input.
2460d3aa
JM
20996
20997 [BZ #3866]
20998 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
20999 range of signed 64-bit integers before using fistpll. Remove
21000 checks for whether integers fit in mantissa bits.
21001 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21002 the range of signed 32-bit integers before using fistpl. Remove
21003 checks for whether integers fit in mantissa bits.
21004 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21005 (__ieee754_powl): Test for y outside the range of signed 64-bit
21006 integers before using fistpll. Reduce 64-bit values to 63-bit
21007 ones as needed.
21008 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21009 divide-by-zero is raised for zero to large negative powers.
21010 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21011 (__ieee754_powl): Test for y outside the range of signed 64-bit
21012 integers before using fistpll. Reduce 64-bit values to 63-bit
21013 ones as needed.
21014 * math/libm-test.inc (pow_test): Add more tests.
21015
eb96ffb0
L
210162012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21017
21018 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21019 <stdio-common/_itoa.h>.
21020 * debug/segfault.c: Likewise.
21021 * elf/dl-cache.c: Likewise.
21022 * elf/dl-minimal.c: Likewise.
21023 * elf/dl-misc.c: Likewise.
21024 * elf/dl-sysdep.c: Likewise.
21025 * elf/dl-version.c: Likewise.
21026 * elf/rtld.c: Likewise.
21027 * hurd/hurdsock.c: Likewise.
21028 * hurd/lookup-retry.c: Likewise.
21029 * malloc/malloc.c: Likewise.
21030 * malloc/mtrace.c: Likewise.
21031 * nscd/nscd_getgr_r.c: Likewise.
21032 * nscd/nscd_getpw_r.c: Likewise.
21033 * nscd/nscd_getserv_r.c: Likewise.
21034 * posix/getopt_init.c: Likewise.
21035 * posix/wordexp.c: Likewise.
21036 * stdio-common/_itoa.c: Likewise.
21037 * stdio-common/printf_fphex.c: Likewise.
21038 * stdio-common/vfprintf.c: Likewise.
21039 * string/_strerror.c: Likewise.
21040 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21041 * sysdeps/i386/i686/hp-timing.h: Likewise.
21042 * sysdeps/mach/_strerror.c: Likewise.
21043 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21044 * sysdeps/mach/hurd/sethostid.c: Likewise.
21045 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21046 * sysdeps/mach/xpg-strerror.c: Likewise.
21047 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21048 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21049 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21050 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21051 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21052 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21053 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21054 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21055 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21056 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21057 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21058 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21059 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21060 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21061 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21062 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21063 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21064 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21065 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21066 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21067 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21068
21069 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21070
21071 * stdio-common/_itoa.h: Moved to ...
21072 * sysdeps/generic/_itoa.h: Here.
21073
21074 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21075
21076 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21077 instead of "_itoa.h" and "_itowa.h".
21078 * stdio-common/vfprintf.: Likewise.
21079
d1af992d
L
210802012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21081
21082 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21083 <bits/wordsize.h>.
21084 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21085 (__signbit): Likwise.
21086 (llrintf): Likwise.
21087 (llrint): Likwise.
21088
114883e0
L
210892012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21090
21091 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21092 __WORDSIZE != 64.
21093
c135cc1b
JM
210942012-03-20 Joseph Myers <joseph@codesourcery.com>
21095
21096 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21097 OVERFLOW_EXCEPTION_OK.
21098 * math/libm-test.inc ("Philosophy"): Update comment about
21099 exception testing.
21100 (OVERFLOW_EXCEPTION): Define.
21101 (OVERFLOW_EXCEPTION_OK): Likewise.
21102 (INVALID_EXCEPTION_OK): Renumber.
21103 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21104 (IGNORE_ZERO_INF_SIGN): Likewise.
21105 (test_exceptions): Handle FE_OVERFLOW.
21106 (exp10_test): Expect overflow exceptions.
21107 (exp2_test): Likewise.
21108 (expm1_test): Likewise.
21109 (nextafter_test): Likewise.
21110 (pow_test): Likewise.
21111 (scalbn_test): Likewise.
21112 (scalbln_test): Likewise.
21113
95443d88
L
211142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21115
21116 * sysdeps/x86_64/bits/atomic.h
21117 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21118 64bit integer.
21119 (atomic_exchange_acq): Likewise.
21120 (__arch_exchange_and_add_body): Likewise.
21121 (__arch_add_body): Likewise.
21122 (atomic_add_negative): Likewise.
21123 (atomic_add_zero): Likewise.
21124
490df6c4
L
211252012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21126
c2722551 21127 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21128 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21129
5e52b189
L
211302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21131
21132 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21133 Check __x86_64__ instead of __WORDSIZE.
21134
a9879d4c
L
211352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21136
21137 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21138
5df98260
DM
211392012-03-19 David S. Miller <davem@davemloft.net>
21140
e1497744
DM
21141 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21142
5df98260
DM
21143 * sysdeps/sparc/fpu/fenv_private.h: New file.
21144 * sysdeps/sparc/fpu/math_private.h: Use it.
21145 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21146 Remove.
21147 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21148 (libc_feholdexcept_setroundl): Remove.
21149 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21150 Remove.
21151 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21152 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21153
b4c35121
L
211542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21155
21156 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21157 int64_t instead of long int.
21158 (INSERT_WORDS64): Likwise.
21159
56965fd7
L
211602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21161
21162 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21163 _Unwind_GetCFA return to _Unwind_Ptr first.
21164
83d1aec8
JM
211652012-03-19 Joseph Myers <joseph@codesourcery.com>
21166
1897ad44
JM
21167 [BZ #13629]
21168 * math/s_clog.c: Include <float.h>.
21169 (__clog): Scale large or subnormal inputs.
21170 * math/s_clogf.c: Likewise.
21171 * math/s_clogl.c: Likewise.
21172 * math/s_clog10.c: Include <float.h>.
21173 (M_LOG10_2): Define.
21174 (__clog10): Scale large or subnormal inputs.
21175 * math/s_clog10f.c: Likewise.
21176 * math/s_clog10l.c: Likewise.
21177 * math/libm-test.inc (clog_test): Add more tests.
21178 (clog10_test): Likewise.
21179 * sysdeps/i386/fpu/libm-test-ulps: Update.
21180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21181
7726d6a9
JM
21182 [BZ #11451]
21183 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21184 x and y.
21185 * math/libm-test.inc (atan2_test): Add another test.
21186
83d1aec8
JM
21187 * Makerules (common-objdir-compile): Remove.
21188 * sysdeps/unix/Makefile (config-generated): Do not add
21189 $(unix-generated) to variable.
21190 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21191 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21192 Remove rule.
21193 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21194 Likewise.
21195 [generic bits/local_lim.h] (before-compile): Do not append to
21196 variable.
21197 [generic bits/local_lim.h] (common-generated): Likewise.
21198 [generic sys/param.h] (before-compile): Do not append to variable.
21199 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21200 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21201 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21202 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21203 include.
21204 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21205 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21206 [generic sys/param.h] ($(addprefix
21207 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21208 [generic sys/param.h] (common-generated): Do not append to
21209 variable.
21210 [generic sys/param.h] (sysdep_headers): Likewise.
21211 [generic bits/errno.h] (before-compile): Do not append to
21212 variable.
21213 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21214 rule.
21215 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21216 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21217 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21218 [generic bits/errno.h] (common-generated): Do not append to
21219 variable.
21220 [generic bits/ioctls.h] (before-compile): Do not append to
21221 variable.
21222 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21223 rule.
21224 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21225 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21226 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21227 rule.
21228 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21229 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21230 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21231 [generic bits/ioctls.h] (common-generated): Do not append to
21232 variable.
21233 [generic sys/syscall.h] (syscall.h): Remove variable.
21234 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21235 rule.
21236 [generic sys/syscall.h] (before-compile): Do not append to
21237 variable.
21238 [generic sys/syscall.h] (common-generated): Likewise.
21239 * sysdeps/unix/errnos-tmpl.c: Remove file.
21240 * sysdeps/unix/errnos.awk: Likewise.
21241 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21242 * sysdeps/unix/ioctls.awk: Likewise.
21243 * sysdeps/unix/mk-local_lim.c: Likewise.
21244 * sysdeps/unix/snarf-ioctls: Likewise.
21245
4851a949
RH
212462012-03-19 Richard Henderson <rth@twiddle.net>
21247
bd37f2ee
RH
21248 * sysdeps/i386/fpu/fenv_private.h: New file.
21249 * sysdeps/i386/fpu/math_private.h: Use it.
21250 (math_opt_barrier, math_force_eval): Remove.
21251 (libc_feholdexcept_setround_53bit): Remove.
21252 (libc_feupdateenv_53bit): Remove.
21253 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21254 (math_opt_barrier, math_force_eval): Remove.
21255 (libc_feholdexcept): Remove.
21256 (libc_feholdexcept_setround): Remove.
21257 (libc_fetestexcept, libc_fesetenv): Remove.
21258 (libc_feupdateenv_test): Remove.
21259 (libc_feupdateenv, libc_feholdsetround): Remove.
21260 (libc_feresetround): Remove.
21261
d0adc922
RH
21262 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21263 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21264
0fe0f1f8
RH
21265 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21266 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21267 (libc_feupdateenv_testl): New.
21268 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21269 (libc_feupdateenv_testf): New.
21270 (libc_feupdateenv): Use libc_feupdateenv_test.
21271 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21272 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21273
eb92c487
RH
21274 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21275 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21276 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21277 (libc_feresetround_noex): New.
21278 (libc_feresetround_noexf): New.
21279 (libc_feresetround_noexl): New.
21280 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21281 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21282 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21283 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21284 SET_RESTORE_ROUND.
21285 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21286 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21287 (__cos): Likewise.
21288 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21289 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21290 SET_RESTORE_ROUND_NOEX.
21291 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21292 SET_RESTORE_ROUND_NOEXF.
21293 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21294 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21295 (libc_feholdsetroundf): New.
21296 (libc_feresetround, libc_feresetroundf): New.
21297
7d2e8012
RH
21298 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21299 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21300 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21301
b4dabbb4
RH
21302 * sysdeps/generic/math_private.h: Include <fenv.h>.
21303 (default_libc_feholdexcept): New.
21304 (default_libc_feholdexcept_setround): New.
21305 (default_libc_fesetenv, default_libc_feupdateenv): New.
21306 (libc_feholdexcept): Only define if undefined.
21307 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21308 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21309 (libc_feholdexcept_setroundl): Likewise.
21310 (libc_feholdexcept_setround_53bit): Likewise.
21311 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21312 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21313 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21314 (libc_feupdateenv_53bit): Likewise.
21315 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21316 (libc_feholdexcept): Convert from macro to inline function.
21317 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21318 (libc_fesetenv, libc_feupdateenv): Likewise.
21319
4851a949
RH
21320 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21321 not previously defined.
21322 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21323 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21324 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21325 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21326 * sysdeps/ieee754/flt-32/math_private.h: New file.
21327 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21328 math_private.h below SET_FLOAT_WORD.
21329 (__isnan, __isinf_ns, __finite): Remove.
21330 (__isnanf, __isinf_nsf, __finitef): Remove.
21331
e79d442e
AS
213322012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21333
21334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21335
90b80344
DM
213362012-03-17 David S. Miller <davem@davemloft.net>
21337
21338 [BZ #6471]
21339 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21340 for 2.16.
21341
edc21804
DM
213422012-03-16 David S. Miller <davem@davemloft.net>
21343
77e927af
DM
21344 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21345 warnings.
21346
374976dd
DM
21347 [BZ #6471]
21348 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21349 properly.
21350 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21351 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21352 sysdep_routines when subdir is sysvipc.
21353 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21354 __getshmlba helper.
21355
edc21804
DM
21356 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21357
473c3ef3
L
213582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21359
21360 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21361 [__LP64__].
21362
eb0f39b6
L
213632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21364
21365 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21366 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21367 (__lround): Renamed to ...
21368 (__llround): This. Replace long int with long long int.
21369 Define lround functions as aliases of llround functions.
21370 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21371
6b6cd74b
L
213722012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21373
21374 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21375 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21376 adresses to uintptr_t. Replace "long int" and "unsigned long
21377 int" with "greg_t" on va_arg.
21378
f1a77b01
L
213792012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21380
21381 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21382 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21383
21384 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21385 Move e_machine check before EI_CLASS check. Handle x32
21386 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21387 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21388 SKIP_EM_IA_64 and include
21389 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21390
21391 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21392 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21393 (add_system_dir): New macro.
21394
21395 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21396 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21397
11b90b9f
JM
213982012-03-16 Joseph Myers <joseph@codesourcery.com>
21399
c36e1d23
JM
21400 [BZ #2551]
21401 [BZ #2552]
21402 [BZ #2553]
21403 [BZ #2554]
21404 [BZ #2562]
21405 [BZ #2563]
21406 [BZ #2565]
21407 [BZ #2566]
21408 [BZ #2576]
21409 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21410 (y0): Likewise.
21411 * math/w_j0f.c (j0f): Likewise.
21412 (y0f): Likewise.
21413 * math/w_j0l.c (__j0l): Likewise.
21414 (__y0l): Likewise.
21415 * math/w_j1.c (j1): Likewise.
21416 (y1): Likewise.
21417 * math/w_j1f.c (j1f): Likewise.
21418 (y1f): Likewise.
21419 * math/w_j1l.c (__j1l): Likewise.
21420 (__y1l): Likewise.
21421 * math/w_jn.c (jn): Likewise.
21422 (yn): Likewise.
21423 * math/w_jnf.c (jnf): Likewise.
21424 (ynf): Likewise.
21425 * math/w_jnl.c (__jnl): Likewise.
21426 (__ynl): Likewise.
21427 * math/libm-test.inc (j0_test): Add more tests.
21428 (j1_test): Likewise.
21429 (jn_test): Likewise. Add trailing semicolon to existing test.
21430 (y0_test): Likewise.
21431 (y1_test): Likewise.
21432 * sysdeps/i386/fpu/libm-test-ulps: Update.
21433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21434
11b90b9f
JM
21435 [BZ #13851]
21436 [BZ #13854]
21437 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21438 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21439 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21440 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21441 (__tanl): Set errno for infinite argument.
21442 * sysdeps/i386/fpu/mptan.c: Remove.
21443 * sysdeps/i386/fpu/s_tan.S: Likewise.
21444 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21445 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21446 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21447 * math/libm-test.inc (tan_test): Add more tests and enable more
21448 tests for double and long double.
21449 * sysdeps/i386/fpu/libm-test-ulps: Update.
21450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21451
6a1bd2a1
JK
214522012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21453
21454 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21455 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21456
10a803e0
RM
214572012-03-16 Roland McGrath <roland@hack.frob.com>
21458
21459 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21460 * configure.in: Use it for both main tree and add-ons.
21461 * configure: Regenerated.
21462
f196c7f7
L
214632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21464
21465 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21466
8848d99d
JM
214672012-03-16 Joseph Myers <joseph@codesourcery.com>
21468
96cbe7f4
JM
21469 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21470 in comment.
21471
8848d99d
JM
21472 [BZ #13851]
21473 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21474 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21475 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21476 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21477 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21478 infinite argument.
21479 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21480 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21481 != 0 for prec == 2.
21482 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21483 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21484 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21485 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21486 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21487 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21488 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21489 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21490 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21491 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21492 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21493 * math/libm-test.inc (cos_test): Add more tests and enable more
21494 tests for long double.
21495 (sin_test): Likewise.
21496 (sincos_test): Likewise.
21497 * sysdeps/i386/fpu/libm-test-ulps: Update.
21498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21499
dd7f4703
DM
215002012-03-16 David S. Miller <davem@davemloft.net>
21501
21502 * sysdeps/sparc/fpu/math_private.h: New file.
21503
006f1daa
DM
215042012-03-15 David S. Miller <davem@davemloft.net>
21505
c0c83bc8
DM
21506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21507 file.
e6a62e18 21508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21510 file.
e6a62e18
DM
21511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21512 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21513 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21514 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21515 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21516 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21517 sysdep routines.
21518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21519
88cb87d9
DM
21520 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21521 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21522
006f1daa 21523 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21525 sparc-ifunc.h
006f1daa 21526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21528 Likewise.
21529 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21530 Likewise.
006f1daa
DM
21531 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21532 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21534 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21535 Likewise.
006f1daa
DM
21536 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21538 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21541 Likewise.
21542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21543 Likewise.
006f1daa
DM
21544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21548 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21549 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21550 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21551 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21552 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21553 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21554 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21555 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21556 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21557 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21558 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21559 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21560 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21561 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21562 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21563 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21564 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21565 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21566 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21567 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21568
11e0098e
AS
215692012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21570
21571 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21572 scaling.
21573 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21574
e85b09d0
AJ
215752012-03-15 Andreas Jaeger <aj@suse.de>
21576
21577 [BZ #13852]
21578 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21579 ieee754/flt-32 implementation for sin, cos and sincos.
21580 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21581 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21582 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21583 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21584 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21585 ieee754/flt-32 implementation for tan.
21586
21587 * math/libm-test.inc (cos_test): Enable some large input tests for
21588 float as well
21589 (sin_test): Likewise.
21590 (sincos_test): Likewise.
21591 (tan_test): Add tests for large input.
21592
21593 * sysdeps/i386/fpu/libm-test-ulps: Update.
21594
81c64153
AJ
215952012-03-15 Andreas Jaeger <aj@suse.de>
21596
21597 [BZ #13658]
21598 * math/libm-test.inc (cos_test): Add more test cases.
21599 (sin_test): Likewise.
21600 (sincos_test): Likewise.
21601
7bbfa5c6
AJ
216022012-03-15 Andreas Jaeger <aj@suse.de>
21603
21604 [BZ #13837]
21605 * math/libm-test.inc (cos_test): Add a test case for large input
21606 value.
21607 (sin_test): Likewise.
21608 (sincos_test): Likewise.
21609
216102012-03-15 Andreas Jaeger <aj@suse.de>,
21611 Joseph Myers <joseph@codesourcery.com>
21612
21613 [BZ #13658]
0671f479 21614 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
21615 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21616 * sysdeps/i386/fpu/branred.c: Likewise.
21617 * sysdeps/i386/fpu/dosincos.c: Likewise.
21618 * sysdeps/i386/fpu/mpa.c: Likewise.
21619 * sysdeps/i386/fpu/s_cos.S: Likewise.
21620 * sysdeps/i386/fpu/s_sin.S: Likewise.
21621 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21622 * sysdeps/i386/fpu/sincos32.c: Likewise.
21623
21624 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21625 Define.
21626 (libc_feupdateenv_53bit): Define.
21627 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21628 Define.
21629 (libc_feupdateenv_53bit): Define.
21630
21631 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
21632 53 bit (without extend i386 double precision).
21633
21634 * math/libm-test.inc (sincos_test): Add tests for large input.
21635 (sin): Likewise.
21636 (cos): Likewise.
21637
21638 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
21639
9cad04ea
AS
216402012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21641
21642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21643
f7062b9a
DM
216442012-03-15 David S. Miller <davem@davemloft.net>
21645
21646 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
21647 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
21648 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
21649 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
21650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
21651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
21652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
21653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
21654 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
21655 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
21656 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
21657 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
21658 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
21659 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
21660 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
21661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
21662 file.
f7062b9a 21663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
21664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
21665 file.
f7062b9a 21666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
21667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
21668 file.
f7062b9a 21669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
21670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
21671 file.
f7062b9a
DM
21672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
21673 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
21674 fmin/fmax sysdep routines.
21675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21676
7bd951ff
DM
216772012-03-14 David S. Miller <davem@davemloft.net>
21678
559398ab
DM
21679 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
21680 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
21681 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
21682 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
21683 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
21684 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
21685 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
21686 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
21687 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
21688 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
21689 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
21690 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
21691 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
21692 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
21693 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
21694 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
21695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
21696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
21697 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
21698 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
21699 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
21700 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
21701 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
21702 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
21703 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
21704 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
21705 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
21706 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21707 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
21708 routines.
21709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
21710 file.
559398ab 21711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
21712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
21713 file.
559398ab 21714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
21715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
21716 file.
559398ab 21717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
21718 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
21719 file.
559398ab 21720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
21721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
21722 file.
559398ab 21723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
21724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
21725 file.
21726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
21727 file.
21728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
21729 file.
21730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
21731 file.
21732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
21733 New file.
21734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
21735 file.
21736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
21737 file.
559398ab 21738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
21739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
21740 file.
559398ab 21741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
21742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
21743 file.
559398ab 21744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
21745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
21746 file.
559398ab 21747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
21748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
21749 VIS3 routines.
559398ab
DM
21750
21751 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
21752 New file.
21753
5a1c1e32
DM
21754 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21755
eae47a36
DM
21756 * sysdeps/sparc/configure.in: New file.
21757 * sysdeps/sparc/configure: Generate.
21758 * configure.in (libc_cv_sparc_as_vis3): Substitute.
21759 * configure: Regenerate.
21760 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
21761 * config.make.in (have-as-vis3): New.
21762 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
21763 available use -Av9d instead of -Av9a.
21764 * sysdeps/sparc/sparc64/Makefile: Likewise.
21765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
21766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
21767 New file.
21768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
21769 file.
21770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
21771 New file.
21772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
21773 file.
eae47a36
DM
21774 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
21775 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
21776 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
21777 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
21778 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
21779
c0c83bc8
DM
21780 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
21781 fzeros/fnegs to load 0x80000000 into a float register instead of
21782 using the stack.
7bd951ff
DM
21783 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
21784
bd951ccb
JM
217852012-03-14 Joseph Myers <joseph@codesourcery.com>
21786
21787 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21788 bits/syscall.h.
21789 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
21790 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
21791 ($(inst_includedir)/bits/syscall.h): Remove rule.
21792 ($(objpfx)bits/syscall.d): Include instead of
21793 $(objpfx)syscall-list.d.
21794 (generated): Change syscall-list.h and syscall-list.d to
21795 bits/syscall.h and bits/syscall.d.
21796
bb4e6db2
RM
217972012-03-14 Roland McGrath <roland@hack.frob.com>
21798
21799 [BZ #13846]
21800 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
21801
aa4a2ae1
JM
218022012-03-14 Joseph Myers <joseph@codesourcery.com>
21803
e456826d
JM
21804 [BZ #13841]
21805 * math/s_csqrt.c: Include <float.h>.
21806 (__csqrt): Scale large or subnormal inputs.
21807 * math/s_csqrtf.c: Likewise.
21808 * math/s_csqrtl.c: Likewise.
21809 * math/libm-test.inc (csqrt_test): Add more tests.
21810 * sysdeps/i386/fpu/libm-test-ulps: Update.
21811 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21812
aa4a2ae1
JM
21813 [BZ #13840]
21814 * math/libm-test.inc (hypot_test): Add more tests.
21815
7c10fd35
DM
218162012-03-13 David S. Miller <davem@davemloft.net>
21817
21818 [BZ #13840]
21819 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
21820 double-precision for the calculation instead of scaling.
21821
f453b98b
JM
218222012-03-13 Joseph Myers <joseph@codesourcery.com>
21823
21824 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
21825 manipulate bits before adding and subtracting TWO52[sx].
21826 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
21827 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
21828 Likewise.
21829 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
21830
09a3453f
DM
218312012-03-13 David S. Miller <davem@davemloft.net>
21832
8e59da90
DM
21833 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
21834 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
21835 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
21836 rtld-global-offsets.h
21837 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21838
2a8ab7f2
DM
21839 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
21840 large parameters.
21841
10f62770
DM
21842 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
21843
5f0bdb18
DM
21844 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
21845 'err' in the ifdef scope in which it is actually used.
21846
09a3453f
DM
21847 * nss/nss_db/db-init.c: Include string.h
21848
b4b2eb5e
DM
218492012-03-12 David S. Miller <davem@davemloft.net>
21850
98bb2f1c
DM
21851 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
21852 masking out of the most significant byte of random value used.
21853 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21854 Fix coding style in previous change.
21855
b4b2eb5e
DM
21856 * sysdeps/unix/sysv/linux/kernel-features.h
21857 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
21858 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
21859 expression.
21860 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
21861 later.
21862
6e226b09
DM
218632012-03-11 David S. Miller <davem@davemloft.net>
21864
a1bcbd40
DM
21865 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21866 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
21867 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
21868 for 'resultvar' otherwise things get truncated on 64-bit.
21869
cb9d6174
DM
21870 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
21871 Fix masking out of the most significant byte of random value used.
21872
6e226b09
DM
21873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21874
058c132d
AS
218752012-03-10 Andreas Schwab <schwab@linux-m68k.org>
21876
21877 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21878
2d2cd515
DM
218792012-03-09 David S. Miller <davem@davemloft.net>
21880
21881 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
21882 variables with appropriate CPP guards.
21883 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
21884 frame pointer, not the stack pointer. Correct layout comments. Fix test
21885 on resulting framesize and the management of the outregs buffer for pltexit.
21886 Preserve floating point return values across _dl_call_pltexit call.
21887 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
21888 framesize and the management of the outregs buffer for pltexit.
21889 Preserve floating point return values across _dl_call_pltexit
21890 call.
21891 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
21892 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
21893 (print_exit): Fix format string for return register value.
21894
9a07f9d0
JM
218952012-03-10 Joseph Myers <joseph@codesourcery.com>
21896
21897 * sunrpc/Makefile (others): Add rpcgen.
21898 ($(objpfx)rpcgen): Remove special build rule and dependency on
21899 libc.
21900 * sunrpc/rpcgen.c: New file.
21901
547b5e30
PE
219022012-03-09 Paul Eggert <eggert@cs.ucla.edu>
21903
c524201a
PE
21904 [BZ #13673]
21905 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
21906 * stdio-common/bug-vfprintf-nargs.c: Likewise.
21907 * sysdeps/i386/crti.S: Likewise.
21908 * sysdeps/i386/crtn.S: Likewise.
21909 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
21910 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
21911 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
21912 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
21913 * sysdeps/sh/crti.S: Likewise.
21914 * sysdeps/sh/crtn.S: Likewise.
21915 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
21916
7b6235f2
PE
21917 [BZ #13673]
21918 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
21919 with URL.
21920 * locale/programs/locfile-kw.gperf: Likewise.
21921 * locale/programs/charmap-kw.h: Regenerated.
21922 * locale/programs/locfile-kw.h: Likewise.
21923
547b5e30
PE
21924 [BZ #13673]
21925 * intl/plural.y: Replace FSF snail mail address with URL.
21926 * intl/plural.c: Regenerated.
21927
5f0a5dae
RH
219282012-03-09 Richard Henderson <rth@twiddle.net>
21929
21930 * include/math_private.h: Remove file.
21931 * math/math_private.h: Move file ...
21932 * sysdeps/generic/math_private.h: ... here.
21933
b8c03620
RH
21934 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
21935 * sysdeps/powerpc/fpu/math_private.h: Likewise.
21936 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21937
4e234f5d 21938 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
21939 and <math_private.h>.
21940 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
21941 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
21942 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
21943 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
21944 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
21945 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
21946 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21947 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21948 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21949 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21950 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21951 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
21952 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21953 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21954 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21955 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21956 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21957 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21958 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21959 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
21960 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21961 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21962 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21963 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21964 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21965 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21966 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21967 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21968 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21969 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21970 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21971 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21972 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21973 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21974 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21975 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21976 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21977 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21978 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21979 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21980 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
21981 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21982 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
21983 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21984 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21985 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21986 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
21987 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21988 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21989 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21990 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21991 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
21992 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21993 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21994 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21995 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21996 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
21997 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21998 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21999 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22000 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22001 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22002 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22003 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22004 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22005 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22006 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22007 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22008 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22009 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22010 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22011 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22012 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22013 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22014 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22015 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22016 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22017 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22018 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22019 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22020 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22021 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22022 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22023 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22024 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22025 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22026 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22027 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22028 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22029 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22030 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22031 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22032 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22033 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22034 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22035 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22036 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22037 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22038 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22039 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22040 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22041 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22042 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22043 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22044 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22045 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22046 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22047 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22048 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22049 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22050 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22051 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22052 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22053 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22054 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22055 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22056 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22057 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22058 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22059 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22060 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22061 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22062 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22063 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22064 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22065 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22066 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22067 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22068 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22069 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22070 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22071 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22072 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22073 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22074 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22075 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22076 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22077 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22078 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22079 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22080 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22081 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22082 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22083 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22084 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22085 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22086 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22087 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22088 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22089 * sysdeps/ieee754/k_standard.c: Likewise.
22090 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22091 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22092 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22093 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22094 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22095 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22096 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22097 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22098 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22099 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22100 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22101 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22102 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22103 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22104 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22105 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22106 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22107 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22108 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22109 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22110 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22111 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22112 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22113 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22114 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22115 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22116 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22117 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22118 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22119 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22120 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22121 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22122 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22123 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22124 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22125 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22126 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22127 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22128 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22129 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22130 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22131 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22132 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22133 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22134 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22135 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22136 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22137 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22138 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22139 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22140 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22141 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22142 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22143 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22144 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22145 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22146 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22147 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22148 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22149 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22150 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22151 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22152 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22153 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22154 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22155 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22156 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22157 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22158 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22159 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22160 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22161 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22162 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22163 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22164 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22165 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22166 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22167 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22168 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22169 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22170 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22171 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22172 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22173 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22174 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22175 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22176 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22177 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22178 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22179 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22180 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22181 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22182 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22183 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22184 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22185 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22186 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22187 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22188 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22189 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22190 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22191 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22192 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22193 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22194 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22195 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22196 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22197 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22198 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22199 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22200 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22201 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22202 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22203 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22204 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22205 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22206 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22207 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22208 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22209 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22210 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22211 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22212 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22213 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22214 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22215 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22216 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22217 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22218 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22219 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22220 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22221 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22222 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22223 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22224 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22225 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22226 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22227 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22228 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22229 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22230 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22231 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22232 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22233 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22234 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22235 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22236 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22237 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22238 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22239 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22240 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22241 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22242 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22243 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22244 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22245 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22246 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22247 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22248 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22249 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22250 * sysdeps/ieee754/s_lib_version.c: Likewise.
22251 * sysdeps/ieee754/s_matherr.c: Likewise.
22252 * sysdeps/ieee754/s_signgam.c: Likewise.
22253 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22254 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22255 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22256 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22257 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22258 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22259 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22260 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22261 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22262 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22263 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22264 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22265 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22266 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22267 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22268 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22269 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22270 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22271 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22272 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22273 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22274
1991fa03
JM
222752012-03-09 Joseph Myers <joseph@codesourcery.com>
22276
22277 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22278 * sunrpc/rpc_main.c: Likewise.
22279 * sunrpc/rpc_svcout.c: Likewise.
22280
60d6f5a6
DM
222812012-03-09 David S. Miller <davem@davemloft.net>
22282
22283 * include/math_private.h: New file.
22284
4962050e
JM
222852012-03-09 Joseph Myers <joseph@codesourcery.com>
22286
02a6f887
JM
22287 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22288 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22289 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22290 from <bits/socket_type.h>.
22291 (enum __socket_type): Don't define here.
22292 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22293 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22294 bits/socket_type.h.
22295
c6e013c1
JM
22296 [BZ #13566]
22297 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22298 checking __USE_GNU.
22299
4962050e
JM
22300 * Makerules ($(inst_includedir)/%.h): New rule.
22301 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22302 (install-others): Remove variable setting.
22303 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22304
38842f45
RH
223052012-03-08 Richard Henderson <rth@twiddle.net>
22306
67bb6da6
RH
22307 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22308 from macro to inline function; merge with the
22309 !__LIBC_INTERNAL_MATH_INLINES version.
22310 (__ieee754_sqrtf): Likewise.
22311
15194b4b
RH
22312 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22313 to inline function.
22314 (__rintf, __floor, __floorf): Likewise.
22315
64e21ede
RH
22316 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22317 macro to inline function.
22318 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22319
38842f45
RH
22320 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22321 not <math/math_private.h>.
22322
c64bf5fe
DM
223232012-03-08 David S. Miller <davem@davemloft.net>
22324
22325 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22326 copyright year.
22327 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22328
82d86f28
TS
223292012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22330
22331 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22332 normalization.
22333 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22334 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22335
aea5d727
UD
223362012-03-08 Ulrich Drepper <drepper@gmail.com>
22337
22338 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22339 be defined individually, they must be defined as a block. Define
22340 S for printing a string instead of hidint the different by using a
22341 macro for adding the 'l'.
22342 * stdio-common/tst-fphex-wide.c: Adjust.
22343
70bca0a3
MP
223442012-03-07 Marek Polacek <polacek@redhat.com>
22345
22346 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22347
65b81130
MP
223482012-03-08 Marek Polacek <polacek@redhat.com>
22349
22350 [BZ #13806]
22351 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22352 * stdio-common/tst-fphex.c: Define a few macros to make the
22353 test reusable. Use them.
22354 * stdio-common/tst-fphex-wide.c: New file.
22355
07037eeb
JM
223562012-03-08 Joseph Myers <joseph@codesourcery.com>
22357
a7a93d50
JM
22358 [BZ #6911]
22359 * manual/macros.texi (gnusystems): New macro.
22360 (nongnusystems): Likewise.
22361 (gnulinuxhurdsystems): Likewise.
22362 (gnuhurdsystems): Likewise..
22363 (gnulinuxsystems): Likewise.
22364 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22365 variants of the GNU system, not "GNU system".
22366 * manual/conf.texi: Likewise.
22367 * manual/errno.texi: Likewise. Update example of errno macro
22368 expansion.
22369 * manual/filesys.texi: Likewise.
22370 (getumask): Document as specific to GNU/Hurd.
22371 * manual/install.texi: Likewise. Reword some references to
22372 GNU/Linux.
22373 * manual/intro.texi: Likewise.
22374 * manual/io.texi: Likewise.
22375 (File Name Portability): Detail which constraints are inapplicable
22376 to all GNU systems and which are only inapplicable to GNU/Hurd.
22377 * manual/job.texi: Likewise.
22378 * manual/llio.texi: Likewise.
22379 (O_NOCTTY): Document as present on GNU/Linux.
22380 * manual/maint.texi: Likewise.
22381 * manual/memory.texi: Likewise.
22382 * manual/pattern.texi: Likewise.
22383 * manual/pipe.texi: Likewise.
22384 * manual/process.texi: Likewise.
22385 * manual/resource.texi: Likewise.
22386 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22387 child on GNU/Hurd.
22388 * manual/setjmp.texi: Likewise.
22389 * manual/signal.texi: Likewise.
22390 * manual/startup.texi: Likewise.
22391 * manual/stdio.texi: Likewise.
22392 * manual/terminal.texi: Likewise.
22393 (ONLCR): Document as POSIX.
22394 (OXTABS): Document availability on GNU/Linux as XTABS.
22395 (ONOEOT): Document availability separately from other bits.
22396 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22397 * manual/time.texi: Likewise.
22398 * manual/users.texi: Likewise.
22399 * INSTALL: Regenerated.
22400 * sysdeps/gnu/errlist.c: Regenerated.
22401
07037eeb
JM
22402 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22403 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22404 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22405 puts.
22406 * configure: Regenerated.
22407
d1d3431a
JM
224082012-03-07 Joseph Myers <joseph@codesourcery.com>
22409
af6a1e37
JM
22410 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22411 default includes instead of AC_HEADER_CHECK.
22412 * sysdeps/i386/configure: Regenerated.
22413
d1d3431a
JM
22414 [BZ #10716]
22415 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22416 * math/s_cacoshf.c (__cacoshf): Likewise.
22417 * math/s_cacoshl.c (__cacoshl): Likewise.
22418 * math/s_casinh.c (__casinh): Set signs of result from argument.
22419 * math/s_casinhf.c (__casinhf): Likewise.
22420 * math/s_casinhl.c (__casinhl): Likewise.
22421 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22422 (casinh_test): Add more tests.
22423 * sysdeps/i386/fpu/libm-test-ulps: Update.
22424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22425
482ff4da
UD
224262012-03-07 Ulrich Drepper <drepper@gmail.com>
22427
872fda05
UD
22428 * po/zh_TW.po: Update from translation team.
22429
a4300c7a
UD
22430 * login/Makefile (distribute): Remove variable.
22431 * catgets/Makefile: Likewise.
22432 * mach/Makefile: Likewise.
22433 * malloc/Makefile: Likewise.
22434 * misc/Makefile: Likewise.
22435 * iconv/Makefile: Likewise.
22436 * nscd/Makefile: Likewise.
22437 * hurd/Makefile: Likewise.
22438 * manual/Makefile: Likewise.
22439 * locale/Makefile: Likewise.
22440 * intl/Makefile: Likewise.
22441 * conform/Makefile: Likewise.
22442 * nss/Makefile: Likewise.
22443 * time/Makefile: Likewise.
22444 * soft-fp/Makefile: Likewise.
22445 * dirent/Makefile: Likewise.
22446 * gmon/Makefile: Likewise.
22447 * po/Makefile: Likewise.
22448 * rt/Makefile: Likewise.
22449 * socket/Makefile: Likewise.
22450 * math/Makefile: Likewise.
22451 * signal/Makefile: Likewise.
22452 * debug/Makefile: Likewise.
22453 * elf/Makefile: Likewise.
22454 * timezone/Makefile: Likewise.
22455 * stdlib/Makefile: Likewise.
22456 * iconvdata/Makefile: Likewise.
22457 * sunrpc/Makefile: Likewise.
22458 * io/Makefile: Likewise.
22459 * argp/Makefile: Likewise.
22460 * inet/Makefile: Likewise.
22461 * hesiod/Makefile: Likewise.
22462 * grp/Makefile: Likewise.
22463 * csu/Makefile: Likewise.
22464 * wctype/Makefile: Likewise.
22465 * crypt/Makefile: Likewise.
22466 * libio/Makefile: Likewise.
22467 * string/Makefile: Likewise.
22468 * nis/Makefile: Likewise.
22469 * resolv/Makefile: Likewise.
22470 * stdio-common/Makefile: Likewise.
22471 * wcsmbs/Makefile: Likewise.
22472 * dlfcn/Makefile: Likewise.
22473 * posix/Makefile: Likewise.
22474
3b7c4e74 22475 [BZ #6959]
482ff4da
UD
22476 * timezone/Makefile: Don't install timezone files, just the programs
22477 and scripts.
22478
f72ed77d
UD
224792012-03-06 Ulrich Drepper <drepper@gmail.com>
22480
a000466f
UD
22481 * nss/databases.def: Add missing gshadow entry.
22482
f72ed77d
UD
22483 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22484
a53b7a4e
MP
224852012-03-06 Marek Polacek <polacek@redhat.com>
22486
22487 [BZ #13726]
22488 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22489 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22490 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22491 * stdio-common/tst-long-dbl-fphex.c: New file.
22492
e9258400
DM
224932012-03-06 David S. Miller <davem@davemloft.net>
22494
22495 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22496 (set_obp_int): New function.
22497 (get_obp_int): New function.
22498 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22499 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22500 Avoid unused variable warnings on 'val' and use builtin_expect.
22501 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22502 __builtin_expect.
e9258400
DM
22503 (INLINE_CLONE_SYSCALL): Likewise.
22504
3bd2c723
DM
225052012-03-05 David S. Miller <davem@davemloft.net>
22506
22507 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22508
bbb78d03
AS
225092012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22510
884c5db4
AS
22511 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22512
bbb78d03
AS
22513 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22514 only for |x| >= 40.
22515 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22516
1c9f702a 225172012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22518
22519 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22520 Replace gettimeofday with __vdso_gettimeofday.
22521
7be16f82
RM
22522 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22523 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22524 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22525
22526 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22527 time with __vdso_time.
22528
ed58a00f
JM
225292012-03-05 Joseph Myers <joseph@codesourcery.com>
22530
22531 * manual/lang.texi (size_t): Note types to which size_t may be
22532 equivalent with the GNU C Library, but do not describe when
22533 differences between them are significant.
22534
30ee4ced
AJ
225352012-03-05 Andreas Jaeger <aj@suse.de>
22536
22537 * sysdeps/i386/fpu/libm-test-ulps: Update.
22538
b7cd39e8
JM
225392012-03-05 Joseph Myers <joseph@codesourcery.com>
22540
22541 [BZ #3976]
22542 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22543 (__ieee754_pow): Save and restore rounding mode and use
22544 round-to-nearest for main computations.
22545 * math/libm-test.inc (pow_test_tonearest): New function.
22546 (pow_test_towardzero): Likewise.
22547 (pow_test_downward): Likewise.
22548 (pow_test_upward): Likewise.
22549 (main): Call the new functions.
22550 * sysdeps/i386/fpu/libm-test-ulps: Update.
22551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
22552
22553 [BZ #3976]
22554 * math/libm-test.inc (cosh_test_tonearest): New function.
22555 (cosh_test_towardzero): Likewise.
22556 (cosh_test_downward): Likewise.
22557 (cosh_test_upward): Likewise.
22558 (sinh_test_tonearest): Likewise.
22559 (sinh_test_towardzero): Likewise.
22560 (sinh_test_downward): Likewise.
22561 (sinh_test_upward): Likewise.
22562 (main): Call the new functions.
22563 * sysdeps/i386/fpu/libm-test-ulps: Update.
22564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22565
6c6a98c9
TV
225662012-03-05 Tom de Vries <tom@codesourcery.com>
22567
22568 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22569 default stack guard is set in last bytes.
22570 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22571
21bb2d2e 225722012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 22573
21bb2d2e 22574 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 22575
21bb2d2e
AJ
22576 [BZ #13656]
22577 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22578 possibly allocate from heap instead of stack.
22579 * stdio-common/bug-vfprintf-nargs.c: New file.
22580 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 22581
c6922934
AS
225822012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22583
22584 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22585
bc957d53
MP
225862012-03-03 Marek Polacek <polacek@redhat.com>
22587
22588 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22589 * math/math_private.h: Likewise.
22590 * stdlib/tst-strtod.c: Likewise.
22591 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22592 * sysdeps/x86_64/bits/atomic.h: Likewise.
22593
6358490d
DM
225942012-03-02 David S. Miller <davem@davemloft.net>
22595
22596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22600 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22601 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22602 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22603 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22604
01ae168d
RM
226052012-03-02 Roland McGrath <roland@hack.frob.com>
22606
d9a17c07
RM
22607 [BZ #13792]
22608 * manual/examples/README: New file, says the example source files
22609 can be used under GPL>=2.
22610 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22611 line containing just "*/".
22612 * manual/examples/add.c: Add copyright header (GPL>=2).
22613 * manual/examples/argp-ex1.c: Likewise.
22614 * manual/examples/argp-ex2.c: Likewise.
22615 * manual/examples/argp-ex3.c: Likewise.
22616 * manual/examples/argp-ex4.c: Likewise.
22617 * manual/examples/atexit.c: Likewise.
22618 * manual/examples/db.c: Likewise.
22619 * manual/examples/dir.c: Likewise.
22620 * manual/examples/dir2.c: Likewise.
22621 * manual/examples/execinfo.c: Likewise.
22622 * manual/examples/filecli.c: Likewise.
22623 * manual/examples/filesrv.c: Likewise.
22624 * manual/examples/fmtmsgexpl.c: Likewise.
22625 * manual/examples/genpass.c: Likewise.
22626 * manual/examples/inetcli.c: Likewise.
22627 * manual/examples/inetsrv.c: Likewise.
22628 * manual/examples/isockad.c: Likewise.
22629 * manual/examples/longopt.c: Likewise.
22630 * manual/examples/memopen.c: Likewise.
22631 * manual/examples/memstrm.c: Likewise.
22632 * manual/examples/mkfsock.c: Likewise.
22633 * manual/examples/mkisock.c: Likewise.
22634 * manual/examples/mygetpass.c: Likewise.
22635 * manual/examples/pipe.c: Likewise.
22636 * manual/examples/popen.c: Likewise.
22637 * manual/examples/rprintf.c: Likewise.
22638 * manual/examples/search.c: Likewise.
22639 * manual/examples/select.c: Likewise.
22640 * manual/examples/setjmp.c: Likewise.
22641 * manual/examples/sigh1.c: Likewise.
22642 * manual/examples/sigusr.c: Likewise.
22643 * manual/examples/stpcpy.c: Likewise.
22644 * manual/examples/strdupa.c: Likewise.
22645 * manual/examples/strftim.c: Likewise.
22646 * manual/examples/strncat.c: Likewise.
22647 * manual/examples/subopt.c: Likewise.
22648 * manual/examples/swapcontext.c: Likewise.
22649 * manual/examples/termios.c: Likewise.
22650 * manual/examples/testopt.c: Likewise.
22651 * manual/examples/testpass.c: Likewise.
22652 * manual/examples/timeval_subtract.c: Likewise.
22653
01ae168d
RM
22654 [BZ #13792]
22655 * manual/time.texi (Elapsed Time): Move timeval_subtract example
22656 function to ...
22657 * manual/timeval_subtract.c.texi: ... here, new file.
22658
49efa33d
DM
226592012-03-02 David S. Miller <davem@davemloft.net>
22660
22661 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
22662
28afd92d
JM
226632012-03-02 Joseph Myers <joseph@codesourcery.com>
22664
804360ed
JM
22665 [BZ #3976]
22666 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
22667 (__sin): Save and restore rounding mode and use round-to-nearest
22668 for all computations.
22669 (__cos): Save and restore rounding mode and use round-to-nearest
22670 for all computations.
22671 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
22672 <fenv.h>.
22673 (tan): Save and restore rounding mode and use round-to-nearest for
22674 all computations.
22675 * math/libm-test.inc (cos_test_tonearest): New function.
22676 (cos_test_towardzero): Likewise.
22677 (cos_test_downward): Likewise.
22678 (cos_test_upward): Likewise.
22679 (sin_test_tonearest): Likewise.
22680 (sin_test_towardzero): Likewise.
22681 (sin_test_downward): Likewise.
22682 (sin_test_upward): Likewise.
22683 (tan_test_tonearest): Likewise.
22684 (tan_test_towardzero): Likewise.
22685 (tan_test_downward): Likewise.
22686 (tan_test_upward): Likewise.
22687 (main): Call the new functions.
22688 * sysdeps/i386/fpu/libm-test-ulps: Update.
22689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22690
a6d06d7b
JM
22691 [BZ #10135]
22692 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
22693 small n, then large n, before computing and testing k+n.
22694 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22695 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
22696 Likewise.
22697 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
22698 Likewise.
22699 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
22700 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
22701 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
22702 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
22703 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22704 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22705 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
22706 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
22707 * math/libm-test.inc (scalbn_test): Add more tests.
22708 (scalbln_test): Likewise.
22709
07e12bb3
JM
22710 * manual/filesys.texi (mode_t): Describe constraints on size and
22711 signedness, not exact equivalence to a particular type.
22712 (ino_t): Likewise.
22713 (ino64_t): Likewise.
22714 (dev_t): Likewise.
22715 (nlink_t): Likewise.
22716 (blkcnt_t): Likewise.
22717 (blkcnt64_t): Likewise.
22718 * manual/llio.texi (off_t): Likewise.
22719
28afd92d
JM
22720 [BZ #3976]
22721 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
22722 (__ieee754_exp): Save and restore rounding mode and use
22723 round-to-nearest for all computations.
22724 * math/libm-test.inc (exp_test_tonearest): New function.
22725 (exp_test_towardzero): Likewise.
22726 (exp_test_downward): Likewise.
22727 (exp_test_upward): Likewise.
22728 (main): Call the new functions.
22729 * sysdeps/i386/fpu/libm-test-ulps: Update.
22730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22731
b1eeb65d
CD
227322012-03-01 Chris Demetriou <cgd@google.com>
22733
22734 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
22735 have predictable order.
22736
53362a4b
DM
227372012-03-01 David S. Miller <davem@davemloft.net>
22738
3c969083
DM
22739 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
22740
759707de
DM
22741 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
22742 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
22743 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
22744 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
22745
dfdb8ff2
DM
22746 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
22747 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
22748 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
22749 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
22750 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
22751 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
22752 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
22753 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
22754 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
22755
ead89f96
DM
22756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22757
7f66bd07
DM
22758 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
22759 * sysdeps/sparc/fpu/libm-test-ulps: to here.
22760 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
22761
53362a4b
DM
22762 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
22763 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
22764 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
22765 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
22766 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
22767 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
22768 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
22769 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
22770 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
22771 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
22772 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
22773 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
22774 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
22775 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
22776 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22777 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22778 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
22779 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
22780 * sysdeps/sparc/elf/configure: Regenerated.
22781
7b1902cb
JM
227822012-03-01 Joseph Myers <joseph@codesourcery.com>
22783
bec039bc
JM
22784 * configure.in (AS, LD): Require binutils 2.20 or later.
22785 * configure: Regenerated.
22786 * manual/install.texi (Tools for Compilation): Give binutils 2.20
22787 as required minimum version.
22788 * INSTALL: Regenerated.
22789
7b1902cb
JM
22790 [BZ #2541]
22791 [BZ #4108]
22792 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
22793 before squaring exponent.
22794 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
22795 bottom long double and 27 bits of top long double before squaring
22796 exponent.
22797 * math/libm-test.inc (erfc_test): Add more tests.
22798 * sysdeps/i386/fpu/libm-test-ulps: Update.
22799 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
22800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22801
f775c276
KT
228022012-03-01 Kai Tietz <ktietz@redhat.com>
22803
22804 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
22805 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
22806 containing bit-fields.
22807 * soft-fp/extended.h (_FP_UNION_E): Likewise.
22808 * soft-fp/single.h (_FP_UNION_S): Likewise.
22809 * soft-fp/double.h (_FP_UNION_D): Likewise.
22810
5b8a4d4a
JM
228112012-02-29 Joseph Myers <joseph@codesourcery.com>
22812
0bab47b6
JM
22813 [BZ #13786]
22814 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
22815 not include ../strcmp.S.
22816 [USE_AS_STRNCASECMP_L]: Likewise.
22817 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
22818 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
22819 * sysdeps/i386/i686/multiarch/strncase_l-c.c
22820 (__strncasecmp_l_ia32): Define as alias to
22821 __strncasecmp_l_nonascii.
22822
0fcad3e2
JM
22823 [BZ #5794]
22824 * math/libm-test.inc (expm1_test): Add test for bug 5794.
22825 * sysdeps/i386/fpu/libm-test-ulps: Update.
22826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22827
5b8a4d4a
JM
22828 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
22829 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22830
8fdceb2e
JL
228312012-02-29 Jeff Law <law@redhat.com>
22832
22833 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
22834 out of bounds read.
22835
1f393a11
MP
228362012-02-29 Marek Polacek <polacek@redhat.com>
22837
22838 [BZ #13706]
22839 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
22840 * elf/Makefile: Add rules to run tst-unused-dep.out.
22841
8847f037
DM
228422012-02-28 David S. Miller <davem@davemloft.net>
22843
22844 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
22845 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
22846 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
22847 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
22848 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
22849 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
22850
169d7f11
JM
228512012-02-29 Joseph Myers <joseph@codesourcery.com>
22852
22853 * math/libm-test.inc (llround_test): Move one test from
22854 lround_test. Use TEST_f_L in moved test.
22855 (lround_test): Move misplaced test to llround_test. Add testcase
22856 from bug 2561.
22857
39adf059
UD
228582012-02-28 Ulrich Drepper <drepper@gmail.com>
22859
22860 * sysdeps/x86_64/fpu/e_expf.S: New file.
22861 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
22862
71b5d1c5
SB
228632012-02-28 Stanislav Brabec <sbrabec@suse.cz>
22864
22865 [BZ #13637]
22866 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
22867 of remain_len that may cause incomplete multi-byte character and
22868 false match.
22869 * posix/bug-regex33.c: New file.
22870 * posix/Makefile (tests): Add bug-regex33.
22871
1f77f049
JM
228722012-02-28 Joseph Myers <joseph@codesourcery.com>
22873
22874 * manual/macros.texi: New file.
22875 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
22876 * manual/libc.texinfo: Include macros.texi.
22877 * manual/creatute.texi: Likewise.
22878 * manual/install.texi: Likewise.
22879 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
22880 @glibcadj{} in references to the GNU C Library.
22881 * manual/charset.texi: Likewise.
22882 * manual/conf.texi: Likewise.
22883 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
22884 when not using those macros.
22885 * manual/creature.texi: Likewise.
22886 * manual/crypt.texi: Likewise.
22887 * manual/errno.texi: Likewise.
22888 * manual/filesys.texi: Likewise.
22889 * manual/header.texi: Likewise.
22890 * manual/install.texi: Likewise.
22891 * manual/intro.texi: Likewise.
22892 * manual/io.texi: Likewise.
22893 * manual/job.texi: Likewise.
22894 * manual/lang.texi: Likewise.
22895 * manual/libc.texiinfo: Likewise.
22896 * manual/llio.texi: Likewise.
22897 * manual/locale.texi: Likewise.
22898 * manual/maint.texi: Likewise.
22899 * manual/math.texi: Likewise.
22900 * manual/memory.texi: Likewise.
22901 * manual/message.texi: Likewise.
22902 * manual/nss.texi: Likewise.
22903 * manual/pattern.texi: Likewise.
22904 * manual/process.texi: Likewise.
22905 * manual/resource.texi: Likewise.
22906 * manual/search.texi: Likewise.
22907 * manual/setjmp.texi: Likewise.
22908 * manual/signal.texi: Likewise.
22909 * manual/socket.texi: Likewise.
22910 * manual/startup.texi: Likewise.
22911 * manual/stdio.texi: Likewise.
22912 * manual/string.texi: Likewise.
22913 * manual/sysinfo.texi: Likewise.
22914 * manual/syslog.texi: Likewise.
22915 * manual/terminal.texi: Likewise.
22916 * manual/time.texi: Likewise.
22917 * manual/users.texi: Likewise.
22918 * INSTALL: Regenerated.
22919 * NOTES: Regenerated.
d40c5d54 22920 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 22921
450bf206
AS
229222012-02-28 Andreas Schwab <schwab@linux-m68k.org>
22923
22924 * include/dirent.h: Include <dirstream.h> before
22925 <dirent/dirent.h>.
22926
741a235b
DM
229272012-02-28 David S. Miller <davem@davemloft.net>
22928
22929 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
22930 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
22931 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
22932 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
22933
d6b5aa58
DM
229342012-02-27 David S. Miller <davem@davemloft.net>
22935
1aff59a3
DM
22936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
22937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
22938 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
22939 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
22940
d6b5aa58
DM
22941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
22942 frame pointer instead of stack pointer relative arg slot.
22943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22944 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22945 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22946
433f48bf
CD
229472012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
22948
22949 [BZ #3992]
22950 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
22951
d674b76d
DM
229522012-02-27 David S. Miller <davem@davemloft.net>
22953
22954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
22955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
22956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
22958 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
22959 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
22960 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
22961 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
22962
0e7727f7
JM
229632012-02-27 Joseph Myers <joseph@codesourcery.com>
22964
22965 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
22966 later. Allow versions 5-9.
43be4ca2 22967 * configure: Regenerated.
0e7727f7
JM
22968 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
22969 required minimum version and 4.6 as recommended version. Do not
22970 mention bugs in GCC 2.7 and 2.8.
43be4ca2 22971 * INSTALL: Regenerated.
0e7727f7 22972
a78bc654
DM
229732012-02-27 David S. Miller <davem@davemloft.net>
22974
428d5830
DM
22975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
22976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
22977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
22978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
22979 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
22980 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
22981 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
22982 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
22983
a78bc654
DM
22984 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
22985 manipulate bits before adding and subtracting TWO112[sx].
22986 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22987
4579f81c
RM
229882012-02-27 Roland McGrath <roland@hack.frob.com>
22989
36c8acb4
RM
22990 [BZ #13775]
22991 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
22992 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
22993 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
22994 being in POSIX, because they are in 1003.1-2008.
22995
84ad622b
RM
22996 * rt/tst-aio.c: Include <fcntl.h>.
22997 * rt/tst-aio7.c: Likewise.
22998 * rt/tst-aio64.c: Likewise.
22999
4579f81c
RM
23000 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23001
abd923db
JM
230022012-02-27 Joseph Myers <joseph@codesourcery.com>
23003
23004 * manual/install.texi (--with-headers): Describe headers as
23005 interface headers, not private headers.
23006 (Specific advice for GNU/Linux systems): Describe use of headers
23007 from "make headers_install", not private headers from older
23008 kernels.
43be4ca2 23009 * INSTALL: Regenerated.
abd923db
JM
23010 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23011 Change to 2.6.19.
23012 * sysdeps/unix/sysv/linux/configure: Regenerated.
23013
6664049b
JM
23014 * manual/llio.texi (fclean): Remove documentation.
23015
bb8b6697
JM
23016 * manual/Makefile (libc-texi-generated): New variable. Include
23017 version.texi.
23018 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23019 $(libc-texi-generated), not duplicated list of files.
23020 (version.texi, stamp-version): New rules.
23021 (realclean): Remove $(libc-texi-generated), not individual files
23022 from that list. Do not remove dir-add.texinfo.
23023 * manual/libc.texinfo: Comment out uses of edition numbers and
23024 references to printed manual. Remove last-updated dates.
23025 (EDITION): Comment out.
23026 (ISBN): Likewise.
23027 (VERSION, UPDATED): Remove.
23028 (version.texi): Include.
23029
12e5c3b9
AS
230302012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23031
23032 * sysdeps/posix/spawni.c: Include <signal.h>.
23033 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23034 * sysdeps/pthread/aio_fsync.c: Likewise.
23035
4efeffc1 230362012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23037
ba63ba08
UD
23038 * conform/Makefile (tests): Run only when not cross-compiling and
23039 when fast-check is not defined.
23040
d94a4670
UD
23041 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23042 * conform/data/limits.h-data: Fixes for POSIX2008.
23043 * conform/run-conformtest.sh: Run all tests.
23044 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23045 headers.
23046 * include/bits/dlfcn.h: Likewise.
23047 * include/langinfo.h: Likewise.
23048 * include/monetary.h: Likewise.
23049 * include/sys/poll.h: Likewise.
23050
23051 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23052 for __USE_GNU.
23053 * posix/spawn.h: Define __need_sigset_t.
23054 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23055 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23056 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23057 to get sigevent_t only.
23058 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23059 only for __USE_GNU.
23060 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23061 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23062 process_vm_writev only for __USE_GNU.
23063 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23064
23065 * conform/Makefile: For now ignore errors from run-conformtest.
23066 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23067 POSIX to avoid namespace pollution. Don't prepend headers.
23068 * conform/data/aio.h-data: Fixes for POSIX testing.
23069 * conform/data/fcntl.h-data: Likewise.
23070 * conform/data/glob.h-data: Likewise.
23071 * conform/data/grp.h-data: Likewise.
23072 * conform/data/pthread.h-data: Likewise.
23073 * conform/data/pwd.h-data: Likewise.
23074 * conform/data/signal.h-data: Likewise.
23075 * conform/data/spawn.h-data: Likewise.
23076 * conform/data/stdio.h-data: Likewise.
23077 * conform/data/stdlib.h-data: Likewise.
23078 * conform/data/stropts.h-data: Likewise.
23079 * conform/data/sys/mman.h-data: Likewise.
23080 * conform/data/sys/stat.h-data: Likewise.
23081 * conform/data/sys/types.h-data: Likewise.
23082 * conform/data/sys/wait.h-data: Likewise.
23083 * conform/data/time.h-data: Likewise.
23084 * conform/data/unistd.h-data: Likewise.
23085 * conform/data/utime.h-data: Likewise.
23086
23087 * io/sys/stat.h: fchmod was always in POSIX.
23088 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23089 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23090 * rt/aio.h: Define __need_timespec before including <time.h>.
23091 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23092 struct. Add forward declaration of pthread_attr_t and use it in
23093 sigevent.
23094 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23095 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23096 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23097 always remove CLK_TCK definition.
23098
c20105c3
AS
230992012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23100
23101 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23102
7a270350
UD
231032012-02-25 Ulrich Drepper <drepper@gmail.com>
23104
31341567
UD
23105 * conform/run-conformtest.sh: New file.
23106 * conform/Makefile: Run run-conformtest for tests.
23107 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23108 support.
23109
23110 * conform/data/uchar.h-data: New file.
23111 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23112 * conform/data/arpa/inet.h-data: Likewise.
23113 * conform/data/assert.h-data: Likewise.
23114 * conform/data/complex.h-data: Likewise.
23115 * conform/data/cpio.h-data: Likewise.
23116 * conform/data/ctype.h-data: Likewise.
23117 * conform/data/dirent.h-data: Likewise.
23118 * conform/data/dlfcn.h-data: Likewise.
23119 * conform/data/errno.h-data: Likewise.
23120 * conform/data/fcntl.h-data: Likewise.
23121 * conform/data/float.h-data: Likewise.
23122 * conform/data/fmtmsg.h-data: Likewise.
23123 * conform/data/fnmatch.h-data: Likewise.
23124 * conform/data/ftw.h-data: Likewise.
23125 * conform/data/glob.h-data: Likewise.
23126 * conform/data/grp.h-data: Likewise.
23127 * conform/data/iconv.h-data: Likewise.
23128 * conform/data/inttypes.h-data: Likewise.
23129 * conform/data/langinfo.h-data: Likewise.
23130 * conform/data/libgen.h-data: Likewise.
23131 * conform/data/limits.h-data: Likewise.
23132 * conform/data/locale.h-data: Likewise.
23133 * conform/data/math.h-data: Likewise.
23134 * conform/data/monetary.h-data: Likewise.
23135 * conform/data/mqueue.h-data: Likewise.
23136 * conform/data/ndbm.h-data: Likewise.
23137 * conform/data/net/if.h-data: Likewise.
23138 * conform/data/netdb.h-data: Likewise.
23139 * conform/data/netinet/in.h-data: Likewise.
23140 * conform/data/nl_types.h-data: Likewise.
23141 * conform/data/poll.h-data: Likewise.
23142 * conform/data/pthread.h-data: Likewise.
23143 * conform/data/pwd.h-data: Likewise.
23144 * conform/data/regex.h-data: Likewise.
23145 * conform/data/sched.h-data: Likewise.
23146 * conform/data/search.h-data: Likewise.
23147 * conform/data/semaphore.h-data: Likewise.
23148 * conform/data/setjmp.h-data: Likewise.
23149 * conform/data/signal.h-data: Likewise.
23150 * conform/data/spawn.h-data: Likewise.
23151 * conform/data/stdarg.h-data: Likewise.
23152 * conform/data/stdio.h-data: Likewise.
23153 * conform/data/stdlib.h-data: Likewise.
23154 * conform/data/string.h-data: Likewise.
23155 * conform/data/strings.h-data: Likewise.
23156 * conform/data/stropts.h-data: Likewise.
23157 * conform/data/sys/ipc.h-data: Likewise.
23158 * conform/data/sys/mman.h-data: Likewise.
23159 * conform/data/sys/msg.h-data: Likewise.
23160 * conform/data/sys/resource.h-data: Likewise.
23161 * conform/data/sys/select.h-data: Likewise.
23162 * conform/data/sys/sem.h-data: Likewise.
23163 * conform/data/sys/shm.h-data: Likewise.
23164 * conform/data/sys/socket.h-data: Likewise.
23165 * conform/data/sys/stat.h-data: Likewise.
23166 * conform/data/sys/statvfs.h-data: Likewise.
23167 * conform/data/sys/time.h-data: Likewise.
23168 * conform/data/sys/timeb.h-data: Likewise.
23169 * conform/data/sys/times.h-data: Likewise.
23170 * conform/data/sys/types.h-data: Likewise.
23171 * conform/data/sys/uio.h-data: Likewise.
23172 * conform/data/sys/un.h-data: Likewise.
23173 * conform/data/sys/utsname.h-data: Likewise.
23174 * conform/data/sys/wait.h-data: Likewise.
23175 * conform/data/syslog.h-data: Likewise.
23176 * conform/data/tar.h-data: Likewise.
23177 * conform/data/termios.h-data: Likewise.
23178 * conform/data/utime.h-data: Likewise.
23179 * conform/data/utmpx.h-data: Likewise.
23180 * conform/data/varargs.h-data: Likewise.
23181 * conform/data/wchar.h-data: Likewise.
23182 * conform/data/wctype.h-data: Likewise.
23183 * conform/data/wordexp.h-data: Likewise.
23184
23185 * include/stropts.h: New file.
23186 * include/uchar.h: New file.
23187 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23188 * include/assert.h: Likewise.
23189 * include/ctype.h: Likewise.
23190 * include/dirent.h: Likewise.
23191 * include/dlfcn.h: Likewise.
23192 * include/fcntl.h: Likewise.
23193 * include/fnmatch.h: Likewise.
23194 * include/glob.h: Likewise.
23195 * include/grp.h: Likewise.
23196 * include/libio.h: Likewise.
23197 * include/locale.h: Likewise.
23198 * include/math.h: Likewise.
23199 * include/net/if.h: Likewise.
23200 * include/netdb.h: Likewise.
23201 * include/netinet/in.h: Likewise.
23202 * include/pthread.h: Likewise.
23203 * include/pwd.h: Likewise.
23204 * include/regex.h: Likewise.
23205 * include/sched.h: Likewise.
23206 * include/search.h: Likewise.
23207 * include/setjmp.h: Likewise.
23208 * include/signal.h: Likewise.
23209 * include/stdio.h: Likewise.
23210 * include/stdlib.h: Likewise.
23211 * include/string.h: Likewise.
23212 * include/sys/cdefs.h: Likewise.
23213 * include/sys/mman.h: Likewise.
23214 * include/sys/msg.h: Likewise.
23215 * include/sys/resource.h: Likewise.
23216 * include/sys/select.h: Likewise.
23217 * include/sys/socket.h: Likewise.
23218 * include/sys/stat.h: Likewise.
23219 * include/sys/statvfs.h: Likewise.
23220 * include/sys/time.h: Likewise.
23221 * include/sys/times.h: Likewise.
23222 * include/sys/uio.h: Likewise.
23223 * include/sys/utsname.h: Likewise.
23224 * include/sys/wait.h: Likewise.
23225 * include/termios.h: Likewise.
23226 * include/time.h: Likewise.
23227 * include/ulimit.h: Likewise.
23228 * include/unistd.h: Likewise.
23229 * include/utime.h: Likewise.
23230 * include/wchar.h: Likewise.
23231 * include/wctype.h: Likewise.
23232 * include/wordexp.h: Likewise.
23233
23234 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23235
7a270350
UD
23236 * time/time.h: TIME_UTC must be a macro.
23237 Make timespec_get available for ISO C11 only as well.
23238
7724defc
UD
232392012-02-24 Ulrich Drepper <drepper@gmail.com>
23240
23241 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23242 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23243
6b1d1d46
JM
232442012-02-24 Joseph Myers <joseph@codesourcery.com>
23245
23246 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23247
0f8bbd69
JM
232482012-02-24 Joseph Myers <joseph@codesourcery.com>
23249
23250 * manual/texinfo.tex: Update to version 2012-01-19.16.
23251
66ab80bc
JM
232522012-02-24 Joseph Myers <joseph@codesourcery.com>
23253
23254 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23255
74981cc5
RM
232562012-02-24 Roland McGrath <roland@hack.frob.com>
23257
ee968201
RM
23258 [BZ #13738]
23259 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23260 * manual/fdl-1.3.texi: New file.
23261 * manual/fdl-1.1.texi: File removed.
23262
74981cc5
RM
23263 [BZ #13738]
23264 * manual/libc.texinfo (FDL_VERSION): New @set.
23265 Use it for mention of FDL in cover text.
23266 (Documentation License): Use it in @include file name.
23267
7bb764bc
JM
232682012-02-22 Joseph Myers <joseph@codesourcery.com>
23269 Roland McGrath <roland@hack.frob.com>
23270
23271 [BZ #5461]
23272 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23273 not LONG_LONG_MAX and LONG_LONG_MIN.
23274 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23275 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23276 name.
23277 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23278
6cbeae47
JM
232792012-02-22 Joseph Myers <joseph@codesourcery.com>
23280
23281 [BZ #2547]
23282 [BZ #11365]
23283 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23284 manipulate bits before adding and subtracting TWO23[sx].
23285 * math/libm-test.inc (nearbyint_test): Add more tests.
23286
fe45ce09
JM
232872012-02-22 Joseph Myers <joseph@codesourcery.com>
23288
23289 [BZ #2548]
23290 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23291 bits before adding and subtracting TWO23[sx].
23292 * math/libm-test.inc (rint_test): Add more tests.
23293 (rint_test_tonearest): Likewise.
23294 (rint_test_towardzero): Likewise.
23295 (rint_test_downward): Likewise.
23296 (rint_test_upward: Likewise.
23297
ff3b3d82
JM
232982012-02-22 Joseph Myers <joseph@codesourcery.com>
23299
23300 [BZ #10110]
23301 * include/stdc-predef.h: New file. Extracted from features.h.
23302 * include/features.h: Include stdc-predef.h.
23303 * Makefile (headers): Add stdc-predef.h.
23304 * CONFORMANCE (Compiler limitations): Update.
23305
ef0aab35
JM
233062012-02-22 Joseph Myers <joseph@codesourcery.com>
23307
23308 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23309
58639409
DM
233102012-02-21 David S. Miller <davem@davemloft.net>
23311
23312 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23313 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23314
c0e70b25
DM
233152012-02-20 David S. Miller <davem@davemloft.net>
23316
23317 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23318 using a normal save/restore sequence, rather than allocating a
23319 dummy stack frame just to store a frame pointer and restore.
23320 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23321
fb06851d
JM
233222012-02-21 Joseph Myers <joseph@codesourcery.com>
23323
23324 * manual/install.texi: Fix stray word in line-wrapped comment.
23325
7a8b71c3
DM
233262012-02-20 David S. Miller <davem@davemloft.net>
23327
d510c123
DM
23328 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23329 both binutils and gcc support GOTDATA.
23330
0722d7c2
DM
23331 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23332 "rd %pc" in the PIC register setup sequences.
23333
3d2b3019
DM
23334 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23335 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23336 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23337 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23338 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23339 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23340 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23341 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23342 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23343 (SYSCALL_ERROR_HANDLER): Likewise.
23344 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23345 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23346 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23347 (SYSCALL_ERROR_HANDLER): Likewise.
23348
c80098a9
DM
23349 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23350 (HAVE_GCC_GOTDATA): New.
23351 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23352 relocation support in both binutils and gcc.
23353 * sysdeps/sparc/elf/configure: Regenerate.
23354
3a2545a0
DM
23355 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23356 * sysdeps/sparc/sparc32/elf/configure: Delete.
23357 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23358 * sysdeps/sparc/sparc64/elf/configure: Delete.
23359 * sysdeps/sparc/elf/configure.in: New file.
23360 * sysdeps/sparc/elf/configure: Generate.
23361
7a8b71c3
DM
23362 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23363 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23364 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23365 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23366 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23367
f1e86fca
JM
233682012-02-21 Joseph Myers <joseph@codesourcery.com>
23369
23370 * manual/install.texi: Do not mention specific glibc version
23371 numbers.
23372 * manual/libc.texinfo (VERSION, UPDATED): Update.
23373 (@copying): Use @copyright{} and range of years.
23374
0e7dfaef
JM
233752012-02-21 Joseph Myers <joseph@codesourcery.com>
23376
23377 [BZ #13695]
23378 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23379 [crti.S not in sysdirs] (generated): Do not append.
23380 [crti.S not in sysdirs] (omit-deps): Likewise.
23381 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23382 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23383 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23384 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23385 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23386 Likewise.
23387 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23388 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23389 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23390 * csu/defs.awk: Remove file.
23391 * sysdeps/generic/initfini.c: Likewise.
23392 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23393 variable.
23394 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23395 Likewise.
23396
599af3ca
JM
233972012-02-20 Joseph Myers <joseph@codesourcery.com>
23398
23399 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23400 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23401 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23402 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23403 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23404 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23405 <bits/epoll.h>.
23406 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23407 (__EPOLL_PACKED): Define to empty if not defined by
23408 <bits/epoll.h>.
23409 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23411 bits/epoll.h.
23412
0e499750
JM
234132012-02-20 Joseph Myers <joseph@codesourcery.com>
23414
23415 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23416 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23417 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23418 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23419 <bits/timerfd.h>.
23420 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23421 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23422 bits/timerfd.h.
23423
5ad91f6e
JM
234242012-02-20 Joseph Myers <joseph@codesourcery.com>
23425
23426 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23427 in C locale.
23428 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23429 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23430 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23432
06b99b02
AJ
234332012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23434
23435 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23436 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23437
7638c0fd
AS
234382012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23439
23440 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23441 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23442 defined.
23443 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23444 Likewise.
23445 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23446 entry for 2.16.
23447
92221550
AJ
234482012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23449
23450 * math/w_acos.c: Use non-signaling floating-point comparisons.
23451 * math/w_acosf.c: Likewise.
23452 * math/w_acosh.c: Likewise.
23453 * math/w_acoshf.c: Likewise.
23454 * math/w_acoshl.c: Likewise.
23455 * math/w_acosl.c: Likewise.
23456 * math/w_asin.c: Likewise.
23457 * math/w_asinf.c: Likewise.
23458 * math/w_asinl.c: Likewise.
23459 * math/w_atanh.c: Likewise.
23460 * math/w_atanhf.c: Likewise.
23461 * math/w_atanhl.c: Likewise.
23462 * math/w_exp2.c: Likewise.
23463 * math/w_exp2f.c: Likewise.
23464 * math/w_exp2l.c: Likewise.
23465 * math/w_j0.c: Likewise.
23466 * math/w_j0f.c: Likewise.
23467 * math/w_j0l.c: Likewise.
23468 * math/w_j1.c: Likewise.
23469 * math/w_j1f.c: Likewise.
23470 * math/w_j1l.c: Likewise.
23471 * math/w_jn.c: Likewise.
23472 * math/w_jnf.c: Likewise.
23473 * math/w_log.c: Likewise.
23474 * math/w_log10.c: Likewise.
23475 * math/w_log10f.c: Likewise.
23476 * math/w_log10l.c: Likewise.
23477 * math/w_log2.c: Likewise.
23478 * math/w_log2f.c: Likewise.
23479 * math/w_log2l.c: Likewise.
23480 * math/w_logf.c: Likewise.
23481 * math/w_logl.c: Likewise.
23482 * math/w_sqrt.c: Likewise.
23483 * math/w_sqrtf.c: Likewise.
23484 * math/w_sqrtl.c: Likewise.
23485 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23486 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23487 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23488 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23489 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23490
ebaf36eb
JM
234912012-02-19 Joseph Myers <joseph@codesourcery.com>
23492
23493 [BZ #9739]
23494 * manual/string.texi (strnlen): Use correct parameter name in
23495 equivalent expression.
23496
71c254a6
JM
234972012-02-19 Joseph Myers <joseph@codesourcery.com>
23498
23499 [BZ #11174]
23500 * manual/users.texi (seteuid): Consistently use neweuid for
23501 argument name.
23502
16d2c631
JM
235032012-02-19 Joseph Myers <joseph@codesourcery.com>
23504
23505 [BZ #13704]
23506 * manual/nss.texi (Services in the NSS configuration): Correct
23507 list of services in example configuration file.
23508
cd837b09
NB
235092012-02-19 Nick Bowler <nbowler@draconx.ca>
23510
23511 [BZ #11322]
23512 * manual/arith.texi: Remove statements about negative zero
23513 behaving identically to zero.
23514
02c4bbad
JM
235152012-02-18 Joseph Myers <joseph@codesourcery.com>
23516
23517 [BZ #5993]
23518 * manual/install.texi: Do not document upgrading from libc5.
23519
366842e7
JM
235202012-02-18 Joseph Myers <joseph@codesourcery.com>
23521
23522 [BZ #4596]
23523 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23524
dd54084d
DM
235252012-02-18 David S. Miller <davem@davemloft.net>
23526
23527 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23528 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23529 %o7 across the call.
23530 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23531 instead.
23532 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23533 SETUP_PIC_REG_LEAF.
23534 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23535 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23536 * sysdeps/sparc/crtn.S: Likewise.
23537
2bcc53a3
UD
235382012-02-17 Ulrich Drepper <drepper@gmail.com>
23539
23540 * aout/Makefile: Remove.
23541
09c093b5
RK
235422012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23543
23544 [BZ #13058]
23545 * manual/examples/argp-ex1.c (main): Format definition in GNU
23546 style.
23547 * manual/examples/argp-ex2.c (main): Likewise.
23548 * manual/examples/argp-ex3.c (main): Likewise.
23549 * manual/examples/argp-ex4.c (main): Likewise.
23550 * manual/examples/longopt.c (main): Use new-style prototype
23551 definition.
23552 * manual/examples/strncat.c (main): Specify return type and use
23553 (void) for arguments.
23554 * manual/examples/subopt.c (main): Use char **argv argument.
23555
2ee633a2
JM
235562012-02-17 Joseph Myers <joseph@codesourcery.com>
23557
23558 [BZ #5077]
23559 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23560 rounding modes.
23561
0520adde
FB
235622012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23563
23564 [BZ #6907]
23565 * manual/string.texi (strchr): Change when strchrnul is
23566 recommended.
23567
3f4081cd
DGM
235682012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23569
23570 [BZ #174]
23571 * manual/locale.texi (setlocale): Document LOCPATH.
23572
d1b10e78
JM
235732012-02-17 Joseph Myers <joseph@codesourcery.com>
23574
23575 [BZ #10210]
23576 * manual/process.texi (execle): Move @dots{} before last argument.
23577
79c6869c
PB
235782012-02-17 Paul Bolle <pebolle@tiscali.nl>
23579
23580 [BZ #12047]
23581 * manual/charset.texi (Generic Charset Conversion): Fix typo
23582 (LC_TYPE -> LC_CTYPE).
23583
cc6e48bc
NB
235842012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23585
23586 [BZ #5805]
23587 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23588 (scalbnf): Likewise.
23589 (scalbnl): Likewise.
23590 (scalbln): Likewise.
23591 (scalblnf): Likewise.
23592 (scalblnl): Likewise.
23593 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23594 (vwarnx): Likewise.
23595 (verr): Likewise.
23596 (verrx): Likewise.
23597 * manual/filesys.texi (telldir): Use braces around return type.
23598 * manual/llio.texi (mmap): Add space after comma.
23599 (mmap64): Likewise.
23600 * manual/math.texi (jn): Use @var{} on parameter names.
23601 (jnf): Likewise.
23602 (jnl): Likewise.
23603 (yn): Likewise.
23604 (ynf): Likewise.
23605 (ynl): Likewise.
23606 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23607 line.
23608 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23609 "...".
23610 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23611 (sched_get_priority_max): Likewise.
23612 * manual/signal.texi (sigvec): Add space after comma.
23613 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23614 names.
23615 (if_indextoname): Likewise.
23616 (if_freenameindex): Likewise.
23617 (sendto): Use ',' instead of '.' in prototype.
23618 * manual/startup.texi (syscall): Use @dots{} instead of literal
23619 "...".
23620 * manual/stdio.texi (__fpending): Separate initial words of
23621 paragraph from @deftypefun line.
23622 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23623 "...".
23624 (vsyslog): Use @var{} on parameter names.
23625 * manual/terminal.texi (stty): Use @var{} on parameter names.
23626 * manual/users.texi (getutmp): Use @var{} on parameter names.
23627 (getutmpx): Likewise.
23628
5b23062f
JM
236292012-02-17 Joseph Myers <joseph@codesourcery.com>
23630
23631 [BZ #6884]
23632 * manual/stdio.texi (fopen): Fix typos in description of
23633 ",ccs=STRING".
23634
8dee4833
AJ
236352012-02-17 Aurelien Jarno <aurelien@aurel32.net>
23636
23637 [BZ #4026]
23638 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
23639 get clock_id definition.
23640
9078ce93
TS
236412012-02-17 Thomas Schwinge <thomas@schwinge.name>
23642
23643 [BZ #4822]
23644 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
23645 (madvise): Cast every argument to void on its own.
23646
3835c55f
JM
236472012-02-17 Joseph Myers <joseph@codesourcery.com>
23648
23649 [BZ #9902]
23650 * manual/startup.texi (Exit Status): Fix typo.
23651
35c47e37
JM
236522012-02-17 Joseph Myers <joseph@codesourcery.com>
23653
23654 [BZ #10140]
23655 * manual/examples/argp-ex1.c: Include <stdlib.h>.
23656 * manual/examples/argp-ex2.c: Likewise.
23657 * manual/examples/argp-ex3.c: Likewise.
23658
e3b69ca7
RH
236592012-02-16 Richard Henderson <rth@redhat.com>
23660
23661 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
23662 * sysdeps/s390/s390-32/initfini.c: Remove.
23663 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
23664 * sysdeps/s390/s390-64/initfini.c: Remove.
23665
df83af67
KK
236662012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23667
23668 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
23669 compiler output for sysdeps/generic/initfini.c.
23670 * sysdeps/sh/elf/initfini.c: Remove file.
23671
f63f3380
DM
236722012-02-16 David S. Miller <davem@davemloft.net>
23673
fb59b3a4
DM
23674 [BZ #11494]
23675 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
23676
f63f3380
DM
23677 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
23678 * sysdeps/sparc/crti.S: New file.
23679 * sysdeps/sparc/crtn.S: New file.
23680 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
23681 * sysdeps/sparc/sparc64/Makefile: Likewise.
23682
df6a4a4a
MF
236832012-02-15 Mike Frysinger <vapier@gentoo.org>
23684
6dd8f3dc 23685 [BZ #3335]
df6a4a4a
MF
23686 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
23687
1cac7236
RM
236882012-02-15 Roland McGrath <roland@hack.frob.com>
23689
d2c736f8
RM
23690 [BZ #4822]
23691 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
23692
1cac7236
RM
23693 * mach/devstream.c (cookie_io_functions_t): Macro removed.
23694 (write, read, close): Likewise.
23695 Patch by Aurelien Jarno <aurelien@aurel32.net>.
23696
8e475601
JM
236972012-02-15 Joseph Myers <joseph@codesourcery.com>
23698
23699 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
23700 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
23701 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
23702 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
23703 <bits/signalfd.h>.
23704 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
23705 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23706 bits/signalfd.h.
23707
ed656b40
MP
237082012-02-14 Marek Polacek <polacek@redhat.com>
23709
23710 * sysdeps/x86_64/crti.S: New file.
23711 * sysdeps/x86_64/crtn.S: New file.
23712 * sysdeps/x86_64/elf/initfini.c: Remove file.
23713
2a979d3a
JM
237142012-02-13 Joseph Myers <joseph@codesourcery.com>
23715
23716 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
23717 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
23718 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
23719 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
23720 <bits/inotify.h>.
23721 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
23722 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23723 bits/inotify.h.
23724
2a418ac3
JM
237252012-02-13 Joseph Myers <joseph@codesourcery.com>
23726
23727 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
23728 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
23729 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
23730 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
23731 <bits/eventfd.h>.
23732 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
23733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23734 bits/eventfd.h.
23735
fb779be7
TS
237362012-02-10 Thomas Schwinge <thomas@codesourcery.com>
23737
e19e83c5
RM
23738 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
23739 __feraiseexcept instead of feraiseexcept.
7c35ffed 23740
fb779be7
TS
23741 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
23742 nanosleep invocations.
23743 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
23744 strings, and add error checking for a nanosleep invocations.
23745
59ba27a6
PE
237462012-02-09 Paul Eggert <eggert@cs.ucla.edu>
23747
23748 Replace FSF snail mail address with URLs, as per GNU coding standards.
23749 Most of the snail mail addresses were wrong anyway, and omitting
23750 them makes the source code easier to maintain. Almost all of the
23751 changes are to license notices and to locale LC_IDENTIFICATION
23752 addresses, except for this one:
23753 * manual/libc.texinfo: In "Published by", give the FSF's URL,
23754 not its snail mail address.
23755
57b957eb
RH
237562012-02-09 Richard Henderson <rth@twiddle.net>
23757
af850b1c
RH
23758 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
23759 of kernel-features.h.
23760
57b957eb
RH
23761 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
23762
6b73181a
MP
237632012-02-08 Marek Polacek <polacek@redhat.com>
23764
23765 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
23766 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
23767 * sysdeps/gnu/_G_config.h: Likewise.
23768 * sysdeps/generic/_G_config.h: Likewise.
23769
26ecc33a
AS
237702012-02-08 Andreas Schwab <schwab@linux-m68k.org>
23771
6c6dbc63
AS
23772 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
23773 tests.
23774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23775
e216c012
AS
23776 * sysdeps/powerpc/powerpc32/crti.S: New file.
23777 * sysdeps/powerpc/powerpc32/crtn.S: New file.
23778 * sysdeps/powerpc/powerpc64/crti.S: New file.
23779 * sysdeps/powerpc/powerpc64/crtn.S: New file.
23780
26ecc33a
AS
23781 * Makeconfig (have-initfini): Don't set.
23782 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
23783 * configure.in (nopic_initfini): Don't substitute.
23784 * config.h.in (HAVE_INITFINI): Don't #undef.
23785 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
23786 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
23787
3add8e13
JM
237882012-02-08 Joseph Myers <joseph@codesourcery.com>
23789
23790 Support crti.S and crtn.S provided directly by architectures.
23791 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
23792 [crti.S in sysdirs] (omit-deps): Likewise.
23793 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
23794 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
23795 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
23796 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
23797 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
23798 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
23799 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
23800 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
23801 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
23802 compiler output for sysdeps/generic/initfini.c.
23803 * sysdeps/i386/elf/Makefile: Remove file.
23804 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
23805
a22f12b4
MP
238062012-02-07 Marek Polacek <polacek@redhat.com>
23807
23808 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
23809 * sysdeps/gnu/_G_config.h: Likewise.
23810 * sysdeps/mach/hurd/_G_config.h: Likewise.
23811
148cf100
MP
238122012-02-07 Marek Polacek <polacek@redhat.com>
23813
23814 * math/Makefile (tests): Add tst-CMPLX2.
23815 * math/tst-CMPLX2.c: New file.
23816
cfdc0dd7
AS
238172012-02-07 Andreas Schwab <schwab@linux-m68k.org>
23818
84ba42c4
AS
23819 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23820
cfdc0dd7
AS
23821 * math/libm-test.inc (jn_test): Add missing L suffix.
23822
622c86f4
MP
238232012-02-06 Marek Polacek <polacek@redhat.com>
23824
23825 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
23826 * sysdeps/i386/fpu/e_powf.S: Likewise.
23827 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
23828 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
23829 * sysdeps/i386/fpu/e_acosh.S: Likewise.
23830 * sysdeps/i386/fpu/e_pow.S: Likewise.
23831 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
23832 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
23833 * sysdeps/i386/fpu/s_expm1.S: Likewise.
23834 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
23835 * sysdeps/i386/fpu/e_log2.S: Likewise.
23836 * sysdeps/i386/fpu/e_log2l.S: Likewise.
23837 * sysdeps/i386/fpu/e_scalb.S: Likewise.
23838 * sysdeps/i386/fpu/e_powl.S: Likewise.
23839 * sysdeps/i386/fpu/s_log1p.S: Likewise.
23840 * sysdeps/i386/fpu/e_log10f.S: Likewise.
23841 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
23842 * sysdeps/i386/fpu/e_logl.S: Likewise.
23843 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
23844 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
23845 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
23846 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
23847 * sysdeps/i386/fpu/e_log2f.S: Likewise.
23848 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
23849 * sysdeps/i386/fpu/e_log.S: Likewise.
23850 * sysdeps/i386/fpu/s_cexp.S: Likewise.
23851 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
23852 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
23853 * sysdeps/i386/fpu/e_logf.S: Likewise.
23854 * sysdeps/i386/fpu/e_log10l.S: Likewise.
23855 * sysdeps/i386/fpu/e_atanh.S: Likewise.
23856 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
23857 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
23858 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
23859 * sysdeps/i386/fpu/e_log10.S: Likewise.
23860 * sysdeps/i386/fpu/s_frexp.S: Likewise.
23861 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
23862 * sysdeps/i386/fpu/s_asinh.S: Likewise.
23863 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
23864 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
23865 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
23866 * sysdeps/i386/asm-syntax.h: Likewise.
23867 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
23868 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23869 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
23870 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
23871 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
23872 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
23873 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
23874 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
23875 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
23876 * sysdeps/powerpc/sysdep.h: Likewise.
23877 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
23878 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23879
d4a54ac6
JM
238802012-02-06 Joseph Myers <joseph@codesourcery.com>
23881
23882 [BZ #411]
23883 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
23884
314054ea
JM
238852012-02-06 Joseph Myers <joseph@codesourcery.com>
23886
23887 * sysdeps/i386/sysdep.h: Include <features.h>.
23888 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
23889 version.
23890
d8e0ca50
JM
238912012-02-05 Joseph Myers <joseph@codesourcery.com>
23892
23893 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
23894 Define.
23895 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
23896 LOAD_PIC_REG_STR.
23897
b1da7dd9
JM
238982012-02-03 Joseph Myers <joseph@codesourcery.com>
23899
23900 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
23901 (SETUP_PIC_REG): Use GET_PC_THUNK.
23902 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
23903 macro.
23904
9a1d9254
JM
239052012-02-03 Joseph Myers <joseph@codesourcery.com>
23906
23907 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
23908 for non-PIC compilation.
23909 (SETUP_PIC_REG): Add .p2align directive.
23910 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
23911 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
23912 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23913 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23914 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
23915 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23916 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
23917 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
23918 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23919 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23920 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23921 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23922 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23923 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23924 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23925 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
23926 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
23927 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23928 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23929 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23930 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23931 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
23932 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23933 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23934 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
23935 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
23936 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23937 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
23938 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23939 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23940 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23941 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23942 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23943 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23944 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23945 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23946 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23947 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23948 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23949 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23950 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23951
65dc3b75
JM
239522012-02-03 Joseph Myers <joseph@codesourcery.com>
23953
23954 * math/tst-CMPLX.c: Include <stdio.h>.
23955
d55bf177
JM
239562012-01-31 Joseph Myers <joseph@codesourcery.com>
23957
23958 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
23959 float.
23960 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
23961 * sysdeps/sparc/bits/mathdef.h: Likewise.
23962
69db4f8f
MP
239632012-01-31 Marek Polacek <polacek@redhat.com>
23964
23965 * libio/libio.h: Don't define _PARAMS.
23966 * locale/programs/config.h: Don't define PARAMS.
23967 * stdlib/strtol_l.c: Likewise.
23968 (__strtol_l): Remove PARAMS from the prototype.
23969
41b81892
UD
239702012-01-31 Ulrich Drepper <drepper@gmail.com>
23971
3b49edc0
UD
23972 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
23973 names. Just use the correct names. Remove unnecessary wrapper
23974 functions.
23975 * malloc/arena.c: Likewise.
23976 * malloc/hooks.c: Likewise.
23977
41b81892
UD
23978 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
23979 ARENA_TEST says not to. Simplify test for creation of a new arena.
23980 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
23981
27a25b6e
UD
239822012-01-30 Ulrich Drepper <drepper@gmail.com>
23983
23984 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
23985 into tail calls.
23986 (update_get_addr): New function.
23987 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
23988 GET_ADDR_MODULE parameter.
23989
c8a89e7d
JM
239902012-01-30 Joseph Myers <joseph@codesourcery.com>
23991
23992 * crypt/cert.c: Remove __STDC__ conditionals.
23993 * crypt/crypt-entry.c: Likewise.
23994 * crypt/crypt_util.c: Likewise.
23995 * libio/filedoalloc.c: Likewise.
23996 * libio/fileops.c: Likewise.
23997 * libio/genops.c: Likewise.
23998 * libio/iofclose.c: Likewise.
23999 * libio/iofdopen.c: Likewise.
24000 * libio/iofopen.c: Likewise.
24001 * libio/iofopen64.c: Likewise.
24002 * libio/iogetdelim.c: Likewise.
24003 * libio/iopopen.c: Likewise.
24004 * libio/obprintf.c: Likewise.
24005 * libio/oldfileops.c: Likewise.
24006 * libio/oldiofclose.c: Likewise.
24007 * libio/oldiofdopen.c: Likewise.
24008 * libio/oldiofopen.c: Likewise.
24009 * libio/oldiopopen.c: Likewise.
24010 * libio/wfiledoalloc.c: Likewise.
24011 * libio/wgenops.c: Likewise.
24012 * locale/programs/xmalloc.c: Likewise.
24013 * misc/syslog.c: Likewise.
24014 * stdio-common/xbug.c: Likewise.
24015 * string/memchr.c: Likewise.
24016 * string/memcmp.c: Likewise.
24017 * string/memrchr.c: Likewise.
24018 * string/rawmemchr.c: Likewise.
24019 * sysdeps/posix/getcwd.c: Likewise.
24020 * time/strftime_l.c: Likewise.
24021
3b100462
JM
240222012-01-30 Joseph Myers <joseph@codesourcery.com>
24023
24024 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24025 * config.make.in (config-cflags-sse2avx): Define.
24026 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24027 Fix typo.
24028
607998af
CM
240292012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24030
24031 * scripts/config.guess: Update from upstream config git repository.
24032 * scripts/config.sub: Likewise.
24033
3601428f
CM
240342012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24035
3ac8b282
CM
24036 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24037 (EM_NUM): Update.
24038 (R_TILEPRO_*, R_TILEGX_*): New macros.
24039
e034841e
CM
24040 * scripts/firstversions.awk: Fix bug in version range handling.
24041
540d7568
CM
24042 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24043
3601428f
CM
24044 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24045
463de862
CM
24046 * include/sys/epoll.h: New file.
24047 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24048 libc_hidden_def.
24049
73139a76
UD
240502012-01-28 Ulrich Drepper <drepper@gmail.com>
24051
96bc5b45
UD
24052 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24053 Avoid unnecessary __WORDSIZE == 64 test.
24054 (fmaxf): Use VEX format if possible.
24055 (fmax): Likewise.
24056 (fminf): Likewise.
24057 (fmin): Likewise.
24058
56f6f6a2
UD
24059 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24060 * math/math_private.h: Remove libc_fegetround* and
24061 libc_fesetround*.
24062 * sysdeps/i386/configure.in: Check for -msse2avx.
24063 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24064 also if SSE2AVX is defined.
24065 Remove libc_fegetround* and libc_fesetround*.
24066 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24067 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24068 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24069 of HAS_YMM_USABLE.
24070 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24071 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24072 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24073 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24074 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24075
73139a76
UD
24076 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24077
d73f93a4
AZ
240782012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24079
24080 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24081 size is not set.
24082 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24083
6ee65ed6
UD
240842012-01-27 Ulrich Drepper <drepper@gmail.com>
24085
24086 [BZ #13618]
24087 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24088 relocation.
24089 * Makeconfig (libm): Define.
24090 * elf/Makefile: Add rules to build and run tst-relsort1.
24091 * elf/tst-relsort1.c: New file.
24092 * elf/tst-relsort1mod1.c: New file.
24093 * elf/tst-relsort1mod2.c: New file.
24094
8db21882
JM
240952012-01-27 Joseph Myers <joseph@codesourcery.com>
24096
24097 * math/s_ldexp.c: Remove __STDC__ conditionals.
24098 * math/s_ldexpf.c: Likewise.
24099 * math/s_ldexpl.c: Likewise.
24100 * math/s_nextafter.c: Likewise.
24101 * math/s_nexttowardf.c: Likewise.
24102 * math/s_significand.c: Likewise.
24103 * math/s_significandf.c: Likewise.
24104 * math/s_significandl.c: Likewise.
24105 * math/w_jnl.c: Likewise.
24106 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24107 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24108 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24109 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24110 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24111 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24112 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24113 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24114 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24115 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24116 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24117 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24118 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24119 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24120 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24121 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24122 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24123 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24124 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24125 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24126 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24127 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24128 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24129 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24130 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24131 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24132 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24133 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24134 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24135 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24136 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24137 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24138 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24139 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24140 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24141 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24142 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24143 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24144 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24145 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24146 * sysdeps/ieee754/k_standard.c: Likewise.
24147 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24148 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24149 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24150 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24151 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24152 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24153 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24154 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24155 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24156 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24157 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24158 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24159 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24160 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24161 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24162 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24163 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24164 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24165 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24166 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24167 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24168 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24169 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24170 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24171 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24172 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24173 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24174 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24175 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24176 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24177 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24178 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24179 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24180 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24181 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24182 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24183 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24184 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24185 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24186 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24187 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24188 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24189 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24190 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24191 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24192 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24193 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24194 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24195 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24196 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24197 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24198 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24199 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24200 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24201 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24202 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24203 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24204 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24205 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24206 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24207 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24208 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24209 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24210 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24211 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24212 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24213 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24214 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24215 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24216 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24217 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24218 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24219 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24220 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24221 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24222 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24223 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24224 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24225 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24226 * sysdeps/ieee754/s_matherr.c: Likewise.
24227 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24228 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24229 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24230 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24231
965a54a4
JM
242322012-01-26 Joseph Myers <joseph@codesourcery.com>
24233
24234 * crypt/md5.h: Remove __STDC__ conditionals.
24235 * libio/libioP.h: Likewise.
24236 * locale/programs/config.h: Likewise.
24237 * sysdeps/generic/sysdep.h: Likewise.
24238 * sysdeps/i386/asm-syntax.h: Likewise.
24239 * sysdeps/s390/asm-syntax.h: Likewise.
24240 * sysdeps/unix/sysdep.h: Likewise.
24241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24243
7071ad79
JM
242442012-01-26 Joseph Myers <joseph@codesourcery.com>
24245
24246 * libio/libio.h: Remove __STDC__ conditionals.
24247 * malloc/obstack.h: Likewise.
24248 * math/complex.h: Likewise.
24249 * math/math.h: Likewise.
24250 * sysdeps/generic/_G_config.h: Likewise.
24251 * sysdeps/gnu/_G_config.h: Likewise.
24252 * sysdeps/mach/hurd/_G_config.h: Likewise.
24253 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24254 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24255 * sysdeps/sparc/bits/mathdef.h: Likewise.
24256
afc5ed09
UD
242572012-01-26 Ulrich Drepper <drepper@gmail.com>
24258
24259 [BZ #13583]
24260 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24261 Clean up HAS_* macros.
afc5ed09 24262 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24263 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24264 possible.
24265 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24266 HAS_AVX.
24267 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24268 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24269 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24270 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24271 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24272
bdb6de1d
JM
242732012-01-25 Joseph Myers <joseph@codesourcery.com>
24274
24275 * elf/tst-unique3.cc (gets): Remove declaration.
24276 * elf/tst-unique3lib.cc (gets): Likewise.
24277 * elf/tst-unique3lib2.cc (gets): Likewise.
24278 * elf/tst-unique4.cc (gets): Likewise.
24279
b15549e6
UD
242802012-01-24 Ulrich Drepper <drepper@gmail.com>
24281
24282 * include/stdio.h: Add C++ protection. Add gets declarations and
24283 definitions.
24284 * debug/tst-chk1.c: Don't declare gets here.
24285 * stdio-common/tst-gets.c: Likewise.
24286
a037381f
JM
242872012-01-24 Joseph Myers <joseph@codesourcery.com>
24288
24289 * posix/glob: Remove directory.
24290
f1d4aa75
JM
242912012-01-24 Joseph Myers <joseph@codesourcery.com>
24292
24293 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24294
81c0c964
PT
242952012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24296
24297 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24298 of the non-standard EPFNOSUPPORT.
24299
0ea698ae
ST
243002011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24301
24302 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24303 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24304 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24305
d220b117
UD
243062012-01-21 Ulrich Drepper <drepper@gmail.com>
24307
24308 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24309
3e1aa84e
UD
243102012-01-20 Ulrich Drepper <drepper@gmail.com>
24311
24312 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24313 transient errors.
24314 * nscd/grpcache.c (cache_addgr): Likewise.
24315 * nscd/hstcache.c (cache_addhst): Likewise.
24316 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24317 * nscd/pwdcache.c (cache_addpw): Likewise.
24318 * nscd/servicescache.c (cache_addserv): Likewise.
24319
400aa020
UD
243202012-01-16 Ulrich Drepper <drepper@gmail.com>
24321
d77e7869
UD
24322 * malloc/malloc.c: Various cleanups.
24323 * malloc/hooks.c: Likewise.
24324
400aa020
UD
24325 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24326 * stdlib/bug-fmtmsg1.c: New file.
24327
24328 * stdlib/fmtmsg.c (init): Add missing unlock.
24329 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24330
e0a309cf
MP
243312012-01-12 Marek Polacek <polacek@redhat.com>
24332
24333 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24334 and _GNU_SOURCE.
24335
929d11c7
WS
243362012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24337
24338 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24339 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24340 macro to ensure uniqueness of label name.
24341 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24342 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24343
41d0e869
UD
243442012-01-11 Ulrich Drepper <drepper@gmail.com>
24345
0cc5ed3b
UD
24346 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24347
41d0e869
UD
24348 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24349 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24350 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24351 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24352
a47a831a
UD
243532012-01-10 Ulrich Drepper <drepper@gmail.com>
24354
daa891c0
UD
24355 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24356
24357 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24358 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24359 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24360
e58ef0f2
UD
24361 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24362
a47a831a 24363 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24364 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24365 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24366 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24367
24368 * math/bits/math-finite.h: Add ldexp support.
24369
a0bfc9c7
MP
243702012-01-10 Marek Polacek <polacek@redhat.com>
24371
24372 * locale/programs/localedef.h (show_archive_content): Add noreturn
24373 attribute.
24374
d6e97a1d
UD
243752012-01-09 Ulrich Drepper <drepper@gmail.com>
24376
24377 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24378
d5835c26
UD
243792012-01-08 Ulrich Drepper <drepper@gmail.com>
24380
e5f484c6
UD
24381 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24382
d5835c26
UD
24383 * io/Makefile (headers): Add bits/poll2.h.
24384
d1f741e9
WS
243852011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24386
24387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24388 typo #include statement.
24389
ec09c1c4
UD
243902012-01-08 Ulrich Drepper <drepper@gmail.com>
24391
24392 * include/sys/cdefs.h: Define __attribute_alloc_size.
24393 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24394 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24395 * elf/pldd.c: Likewise.
24396 * iconv/iconv_charmap.c: Likewise.
24397 * iconv/iconvconfig.c: Likewise.
24398 * iconv/strtab.c: Likewise.
24399 * locale/programs/locale.c: Likewise.
24400 * locale/programs/localedef.h: Likewise.
24401 * locale/programs/simple-hash.c: Likewise.
24402 * nscd/nscd.h: Likewise.
24403 * nss/makedb.c: Likewise.
24404 * sysdeps/generic/ldconfig.h: Likewise.
24405 * locale/programs/localedef.c: Remove xmalloc prototype.
24406 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24407
20b38e03
PP
244082012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24409
24410 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24411 appropriate.
24412
a0da5fe1
UD
244132012-01-08 Ulrich Drepper <drepper@gmail.com>
24414
1d5a644a 24415 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24416 * math/tst-CMPLX.c: New file.
1d5a644a 24417
8784a6db
UD
24418 * math/complex.h (CMPLXL): Fix typo.
24419
d9a216c0
UD
24420 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24421 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24422 GLIBC_2.16.
24423 * debug/tst-chk1.c: Add poll and ppoll tests.
24424 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24425 * include/sys/poll.h: Add hidden proto for ppoll.
24426 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24427 * sysdeps/mach/hurd/ppoll.c: Likewise.
24428 * io/ppoll.c: Likewise.
24429 * debug/poll_chk.c: New file.
24430 * debug/ppoll_chk.c: New file.
24431 * include/bits/poll2.h: New file.
24432 * io/bits/poll2.h: New file.
24433
ac097f5c
UD
24434 [BZ #1350]
24435 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24436
2119dcfa
UD
24437 * configure.in: static is always set to yes. Remove.
24438 * config.make.in: Don't set build-static.
24439 * Makeconfig: Remove use of build-static.
24440 * dlfcn/Makefile: Likewise.
24441 * elf/Makefile: Likewise.
24442 * math/Makefile: Likewise.
24443 * misc/Makefile: Likewise.
24444 * nptl/Makefile: Likewise.
24445 * sysdeps/mach/hurd/Makefile: Likewise.
24446
121766a9
UD
24447 * configure.in: PWD_P is not used anymore.
24448 * config.make.in: Remove PWD_P entry.
24449
51a1d39c 24450 * configure.in: Remove last remnants of RANLIB.
8720d066 24451 No need to check for signed size_t anymore.
215f4bdc
UD
24452 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24453 and IA-64.
3857022a 24454 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24455 * aclocal.m4: Likewise.
24456
d3ed7225
UD
24457 * wcsmbs/mbrtoc16.c: Implement using towc function.
24458 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24459 * wcsmbs/wcsmbsload.c: Likewise.
24460 * iconv/gconv_simple.c: Likewise.
24461 * iconv/gconv_int.h: Likewise.
24462 * iconv/gconv_builtin.h: Likewise.
24463 * iconv/iconv_prog.c: Remove CHAR16 handling.
24464
24465 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24466
24467 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24468
a0da5fe1
UD
24469 * configure.in: Remove --with-elf and --enable-bounded options.
24470 Dont set base_machine for ia64. More non-ELF conditions removed.
24471 Remove testing and setting of leading underscore information.
24472 * config.make.in (build-bounded): Set to no.
24473 * config.h.in: Remove NO_UNDERSCORES entry.
24474 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24475 them.
24476 * csu/start.c: Remove !NO_UNDERSCORE code.
24477 * locale/localeinfo.h: Likewise.
24478 * sysdeps/generic/machine-gmon.h: Likewise.
24479 * sysdeps/generic/sysdep.h: Likewise.
24480 * sysdeps/i386/sysdep.h: Likewise.
24481 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24482 * sysdeps/mach/sysdep.h: Likewise.
24483 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24484 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24485 * sysdeps/sh/sysdep.h: Likewise.
24486 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24487 * sysdeps/unix/i386/sysdep.S: Likewise.
24488 * sysdeps/unix/sparc/start.c: Likewise.
24489 * sysdeps/unix/sparc/sysdep.S: Likewise.
24490 * sysdeps/unix/sparc/sysdep.h: Likewise.
24491 * sysdeps/unix/start.c: Likewise.
24492 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24493 * sysdeps/x86_64/sysdep.h: Likewise.
24494
df78418a
UD
244952012-01-07 Ulrich Drepper <drepper@gmail.com>
24496
a784e502
UD
24497 [BZ #13553]
24498 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24499 for non-gcc.
24500 * argp/argp-fmtstream.h: Use const instead __const.
24501 * argp/argp.h: Likewise.
24502 * assert/assert.h: Likewise.
24503 * bits/fenv.h: Likewise.
24504 * bits/sched.h: Likewise.
24505 * bits/sigset.h: Likewise.
24506 * bits/sigthread.h: Likewise.
24507 * catgets/nl_types.h: Likewise.
24508 * conform/data/pthread.h-data: Likewise.
24509 * crypt/crypt-private.h: Likewise.
24510 * crypt/crypt.h: Likewise.
24511 * crypt/crypt_util.c: Likewise.
24512 * ctype/ctype.h: Likewise.
24513 * debug/execinfo.h: Likewise.
24514 * debug/mbsnrtowcs_chk.c: Likewise.
24515 * debug/mbsrtowcs_chk.c: Likewise.
24516 * debug/wcsnrtombs_chk.c: Likewise.
24517 * debug/wcsrtombs_chk.c: Likewise.
24518 * debug/wcstombs_chk.c: Likewise.
24519 * dirent/dirent.h: Likewise.
24520 * dlfcn/dlfcn.h: Likewise.
24521 * elf/neededtest4.c: Likewise.
24522 * grp/grp.h: Likewise.
24523 * gshadow/gshadow.h: Likewise.
24524 * iconv/gconv.h: Likewise.
24525 * iconv/gconv_int.h: Likewise.
24526 * iconv/gconv_simple.c: Likewise.
24527 * iconv/iconv.h: Likewise.
24528 * iconv/loop.c: Likewise.
24529 * iconv/skeleton.c: Likewise.
24530 * include/aio.h: Likewise.
24531 * include/aliases.h: Likewise.
24532 * include/argz.h: Likewise.
24533 * include/arpa/inet.h: Likewise.
24534 * include/assert.h: Likewise.
24535 * include/dirent.h: Likewise.
24536 * include/dlfcn.h: Likewise.
24537 * include/execinfo.h: Likewise.
24538 * include/fcntl.h: Likewise.
24539 * include/fenv.h: Likewise.
24540 * include/glob.h: Likewise.
24541 * include/grp.h: Likewise.
24542 * include/libintl.h: Likewise.
24543 * include/mntent.h: Likewise.
24544 * include/netdb.h: Likewise.
24545 * include/pwd.h: Likewise.
24546 * include/rpc/netdb.h: Likewise.
24547 * include/sched.h: Likewise.
24548 * include/search.h: Likewise.
24549 * include/shadow.h: Likewise.
24550 * include/signal.h: Likewise.
24551 * include/stdio.h: Likewise.
24552 * include/stdlib.h: Likewise.
24553 * include/string.h: Likewise.
24554 * include/sys/socket.h: Likewise.
24555 * include/sys/stat.h: Likewise.
24556 * include/sys/statfs.h: Likewise.
24557 * include/sys/statvfs.h: Likewise.
24558 * include/sys/syslog.h: Likewise.
24559 * include/sys/time.h: Likewise.
24560 * include/sys/uio.h: Likewise.
24561 * include/time.h: Likewise.
24562 * include/unistd.h: Likewise.
24563 * include/utmp.h: Likewise.
24564 * include/wchar.h: Likewise.
24565 * include/wctype.h: Likewise.
24566 * inet/aliases.h: Likewise.
24567 * inet/arpa/inet.h: Likewise.
24568 * inet/netinet/ether.h: Likewise.
24569 * inet/netinet/in.h: Likewise.
24570 * intl/libintl.h: Likewise.
24571 * io/bits/fcntl2.h: Likewise.
24572 * io/fcntl.h: Likewise.
24573 * io/ftw.h: Likewise.
24574 * io/sys/poll.h: Likewise.
24575 * io/sys/stat.h: Likewise.
24576 * io/sys/statfs.h: Likewise.
24577 * io/sys/statvfs.h: Likewise.
24578 * io/utime.h: Likewise.
24579 * libio/bits/stdio.h: Likewise.
24580 * libio/bits/stdio2.h: Likewise.
24581 * libio/libio.h: Likewise.
24582 * libio/libioP.h: Likewise.
24583 * libio/stdio.h: Likewise.
24584 * locale/lc-ctype.c: Likewise.
24585 * locale/locale.h: Likewise.
24586 * login/utmp.h: Likewise.
24587 * malloc/arena.c: Likewise.
24588 * malloc/malloc.c: Likewise.
24589 * malloc/malloc.h: Likewise.
24590 * malloc/mcheck.c: Likewise.
24591 * malloc/mtrace.c: Likewise.
24592 * math/bits/mathcalls.h: Likewise.
24593 * math/fenv.h: Likewise.
24594 * math/math_private.h: Likewise.
24595 * misc/bits/error.h: Likewise.
24596 * misc/bits/syslog.h: Likewise.
24597 * misc/err.h: Likewise.
24598 * misc/error.h: Likewise.
24599 * misc/fstab.h: Likewise.
24600 * misc/mntent.h: Likewise.
24601 * misc/regexp.h: Likewise.
24602 * misc/search.h: Likewise.
24603 * misc/sgtty.h: Likewise.
24604 * misc/sys/mman.h: Likewise.
24605 * misc/sys/syslog.h: Likewise.
24606 * misc/sys/uio.h: Likewise.
24607 * misc/sys/xattr.h: Likewise.
24608 * misc/ttyent.h: Likewise.
24609 * nis/rpcsvc/ypclnt.h: Likewise.
24610 * nss/nss.h: Likewise.
24611 * posix/bits/unistd.h: Likewise.
24612 * posix/fnmatch.h: Likewise.
24613 * posix/glob.h: Likewise.
24614 * posix/sched.h: Likewise.
24615 * posix/spawn.h: Likewise.
24616 * posix/sys/wait.h: Likewise.
24617 * posix/unistd.h: Likewise.
24618 * posix/wordexp.h: Likewise.
24619 * pwd/pwd.h: Likewise.
24620 * resolv/netdb.h: Likewise.
24621 * resource/sys/resource.h: Likewise.
24622 * rt/aio.h: Likewise.
24623 * rt/bits/mqueue2.h: Likewise.
24624 * rt/mqueue.h: Likewise.
24625 * shadow/shadow.h: Likewise.
24626 * signal/signal.h: Likewise.
24627 * socket/send.c: Likewise.
24628 * socket/sendto.c: Likewise.
24629 * socket/sys/socket.h: Likewise.
24630 * stdio-common/printf.h: Likewise.
24631 * stdlib/bits/stdlib.h: Likewise.
24632 * stdlib/fmtmsg.h: Likewise.
24633 * stdlib/monetary.h: Likewise.
24634 * stdlib/stdlib.h: Likewise.
24635 * stdlib/ucontext.h: Likewise.
24636 * streams/stropts.h: Likewise.
24637 * string/argz.h: Likewise.
24638 * string/bits/string2.h: Likewise.
24639 * string/string.h: Likewise.
24640 * string/strings.h: Likewise.
24641 * sunrpc/rpc/auth.h: Likewise.
24642 * sunrpc/rpc/auth_des.h: Likewise.
24643 * sunrpc/rpc/clnt.h: Likewise.
24644 * sunrpc/rpc/netdb.h: Likewise.
24645 * sunrpc/rpc/pmap_clnt.h: Likewise.
24646 * sunrpc/rpc/xdr.h: Likewise.
24647 * sysdeps/generic/inttypes.h: Likewise.
24648 * sysdeps/generic/net/if.h: Likewise.
24649 * sysdeps/generic/sys/swap.h: Likewise.
24650 * sysdeps/gnu/net/if.h: Likewise.
24651 * sysdeps/gnu/utmpx.h: Likewise.
24652 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
24653 * sysdeps/i386/i486/bits/string.h: Likewise.
24654 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
24655 * sysdeps/s390/bits/string.h: Likewise.
24656 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
24657 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
24658 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
24659 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
24660 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
24661 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
24662 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
24663 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
24664 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
24665 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
24666 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
24667 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24668 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
24669 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24670 * sysdeps/unix/sysv/linux/readv.c: Likewise.
24671 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
24672 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
24673 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
24674 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
24675 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
24676 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
24677 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
24678 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
24679 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
24680 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
24681 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
24682 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
24683 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
24684 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
24685 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
24686 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
24687 * sysvipc/sys/ipc.h: Likewise.
24688 * sysvipc/sys/msg.h: Likewise.
24689 * sysvipc/sys/sem.h: Likewise.
24690 * sysvipc/sys/shm.h: Likewise.
24691 * termios/termios.h: Likewise.
24692 * time/sys/time.h: Likewise.
24693 * time/time.h: Likewise.
24694 * wcsmbs/bits/wchar2.h: Likewise.
24695 * wcsmbs/uchar.h: Likewise.
24696 * wcsmbs/wchar.h: Likewise.
24697 * wctype/wctype.h: Likewise.
24698
0269750c
UD
24699 [BZ #13551]
24700 * Makeconfig: Remove all but ELF support including AIX support.
24701 * Makerules: Likewise.
24702 * config.h.in: Likewise.
24703 * config.make.in: Likewise.
24704 * configure: Likewise.
24705 * configure.in: Likewise.
24706 * csu/Makefile: Likewise.
24707 * csu/version.c: Likewise.
24708 * debug/Makefile: Likewise.
24709 * dlfcn/Makefile: Likewise.
24710 * elf/Makefile: Likewise.
24711 * extra-lib.mk: Likewise.
24712 * iconv/Makefile: Likewise.
24713 * include/libc-symbols.h: Likewise.
24714 * include/shlib-compat.h: Likewise.
24715 * resolv/Makefile: Likewise.
24716 * resolv/res_libc.c: Likewise.
24717 * rt/Makefile: Likewise.
24718 * sysdeps/i386/asm-syntax.h: Likewise.
24719 * sysdeps/i386/sysdep.h: Likewise.
24720 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24721 * sysdeps/mach/sysdep.h: Likewise.
24722 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
24723 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
24724 * sysdeps/s390/asm-syntax.h: Likewise.
24725 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24726 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24727 * sysdeps/sh/sysdep.h: Likewise.
24728 * sysdeps/unix/sparc/sysdep.h: Likewise.
24729 * sysdeps/wordsize-32/divdi3.c: Likewise.
24730 * sysdeps/x86_64/sysdep.h: Likewise.
24731
00bbd29b
UD
24732 * argp/Versions: Remove _argp_unlock_xxx.
24733
24734 [BZ #13559]
24735 * abilist/ld.abilist: Update. Adjust for removal of tls option.
24736 * abilist/libBrokenLocale.abilist: Likewise.
24737 * abilist/libanl.abilist: Likewise.
24738 * abilist/libc.abilist: Likewise.
24739 * abilist/libcrypt.abilist: Likewise.
24740 * abilist/libdl.abilist: Likewise.
24741 * abilist/libm.abilist: Likewise.
24742 * abilist/libnsl.abilist: Likewise.
24743 * abilist/libpthread.abilist: Likewise.
24744 * abilist/libresolv.abilist: Likewise.
24745 * abilist/librt.abilist: Likewise.
24746 * abilist/libthread_db.abilist: Likewise.
24747 * abilist/libutil.abilist: Likewise.
24748 * abilist/libnss_db.abilist: New file.
24749
24750 * scripts/abilist.awk: Add support for indirect functions.
24751
a2693a0e
UD
24752 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
24753
3f05895f
UD
24754 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
24755
ecb6fb48
UD
24756 * shlib-versions: Remove entries for ports architectures.
24757
664f8cb9
UD
24758 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
24759 files in ports.
24760 * elf/stackguard-macros.h: Remove support for IA-64.
24761 * elf/tst-auditmod1.c: Likewise.
24762 * sysdeps/generic/ldsodefs.h: Likewise.
24763
7ae81d88
UD
24764 * sysdeps/unix/sysv/linux/configure.in: Ports should define
24765 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
24766 configure files.
24767
bdeba135
UD
24768 [BZ #13552]
24769 * configure.in: Remove --enable-omitfp support.
24770 * FAQ.in: Adjust.
24771 * config.make.in: Likewise.
24772 * Makeconfig: Likewise.
24773 * manual/install.texi: Likewise.
24774
d75a0a62
UD
24775 In case anyone cares, the IA-64 architecture could move to ports.
24776 * sysdeps/ia64/*: Removed.
24777 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 24778 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 24779
dcc9756b
UD
24780 [BZ #13555]
24781 * configure.in: Remove entries for unsupported architectures.
24782
d3761ebc 24783 [BZ #13533]
9954432e
UD
24784 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
24785 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
24786 routines.
24787 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
24788 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
24789 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
24790 fall back to using wcrtomb.
24791 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
24792 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
24793 renaming.
24794 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
24795 * wcsmbs/tst-c16c32-1.c: New file.
24796
24797 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
24798 local variable.
24799
c3a87236
UD
24800 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
24801
28926a1b
UD
24802 * elf/tst-unique3.cc: Add explicit declaration of gets.
24803 * elf/tst-unique3lib.cc: Likewise.
24804 * elf/tst-unique3lib2.cc: Likewise.
24805 * elf/tst-unique4.cc: Likewise.
24806
df78418a
UD
24807 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
24808
8ecd6b2a
JM
248092012-01-06 Joseph Myers <joseph@codesourcery.com>
24810
24811 [BZ #13566]
24812 * assert/assert.h (static_assert): Don't define for C++.
24813 * libio/stdio.h (gets): Do declare for C++ <= C++11.
24814 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
24815
9f115170
UD
248162012-01-03 Ulrich Drepper <drepper@gmail.com>
24817
5e0d0300
UD
24818 * iconv/loop.c (single loop): Fix assertion in storing of
24819 remaining bytes.
24820
9f115170
UD
24821 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
24822
81fb02b0
UD
248232012-01-01 Ulrich Drepper <drepper@gmail.com>
24824
24825 * posix/getconf.c: Update copyright year.
24826 * nss/getent.c: Likewise.
a316c1f6 24827 * nss/makedb.c: Likewise.
81fb02b0
UD
24828 * iconv/iconvconfig.c: Likewise.
24829 * iconv/iconv_prog.c: Likewise.
24830 * elf/ldconfig.c: Likewise.
a316c1f6
UD
24831 * elf/pldd.c: Likewise.
24832 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
24833 * catgets/gencat.c: Likewise.
24834 * csu/version.c: Likewise.
24835 * elf/ldd.bash.in: Likewise.
24836 * elf/sprof.c (print_version): Likewise.
24837 * locale/programs/locale.c: Likewise.
24838 * locale/programs/localedef.c: Likewise.
a316c1f6 24839 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
24840 * nscd/nscd.c (print_version): Likewise.
24841 * debug/xtrace.sh: Likewise.
24842 * malloc/memusage.sh: Likewise.
24843 * malloc/mtrace.pl: Likewise.
24844 * debug/catchsegv.sh: Likewise.
24845
2ba92745
JJ
248462011-12-30 Jakub Jelinek <jakub@redhat.com>
24847
24848 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
24849 pure attribute.
24850
dadebdae
UD
248512011-12-24 Ulrich Drepper <drepper@gmail.com>
24852
d3761ebc 24853 [BZ #13533]
db6af3eb
UD
24854 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
24855 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
24856 transformations.
24857 * iconv/gconv_int.h: Likewise.
24858 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
24859 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
24860 from libc for GLIBC_2.16.
24861 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
24862 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
24863 * wcsmbs/uchar.h: Really define mbstate_t.
24864 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
24865 * wcsmbs/c16rtomb.c: New file.
24866 * wcsmbs/mbrtoc16.c: New file.
24867 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
24868 for C/POSIX locale.
24869 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
24870 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
24871
dadebdae
UD
24872 * wcsmbs/wchar.h: Add missing __restrict.
24873
67371b56
UD
248742011-12-23 Ulrich Drepper <drepper@gmail.com>
24875
74033a25
UD
24876 [BZ #13532]
24877 * time/Makefile (routines): Add timespec_get.
24878 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
24879 * time/time.h: Define TIME_UTC and declare timespec_get. Define
24880 timespec for ISO C11.
24881 * time/timespec_get.c: New file.
24882 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
24883 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
24884
380d7e87
UD
24885 [BZ #13531]
24886 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
24887 * stdlib/stdlib.h: Declare aligned_alloc.
24888 * Versions.def: Add GLIBC_2.16 for libc.
24889 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
24890
4e9e7a35
UD
24891 [BZ 13527]
24892 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
24893 ISO C11.
24894
380d7e87 24895 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
24896 code.
24897
03a71829
UD
24898 [BZ #13528]
24899 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
24900
839e283e
UD
24901 [BZ #13529]
24902 * assert/assert.h (static_assert): Define.
24903
ce5294e2 24904 * version.h: Update for 2.16 development version.
90fa7312 24905
8d44e150 24906 [BZ #13526]
d7809905
UD
24907 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
24908 _ISOC11_SOURCE.
24909
c0da14cd
UD
24910 * version.h (RELEASE): Bump for 2.15 release.
24911 * include/features.h (__GLIBC_MINOR__): Bump to 15.
24912
530a3249
MP
24913 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
24914 Patch by Marek Polacek <mpolacek@redhat.com>.
24915
67371b56
UD
24916 * bits/byteswap.h: Protect long long constants with __extension__.
24917 * sysdeps/i386/bits/byteswap.h: Likewise.
24918 * sysdeps/ia64/bits/byteswap.h: Likewise.
24919 * sysdeps/s390/bits/byteswap.h: Likewise.
24920 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24921
15db4de1
LD
249222011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24923
24924 [BZ #13540]
bbe315ea
LD
24925 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
24926 destination buffer.
15db4de1
LD
24927 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
24928
2b2596b1
MP
249292011-12-23 Marek Polacek <polacek@redhat.com>
24930
24931 * elf/dl-addr.c (determine_info): Add inline keyword.
24932 * elf/tst-auditmod4b.c (check_avx): Likewise.
24933 * elf/tst-auditmod6b.c (check_avx): Likewise.
24934 * elf/tst-auditmod6c.c (check_avx): Likewise.
24935 * elf/tst-auditmod7b.c (check_avx): Likewise.
24936
70c6c246
UD
249372011-12-23 Ulrich Drepper <drepper@gmail.com>
24938
24939 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
24940 !__SSE_MATH__.
24941
c044cf14
LD
249422011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24943
15db4de1 24944 [BZ #13540]
c044cf14
LD
24945 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
24946 processing for last bytes.
24947
6b13d9d9
BH
249482011-08-06 Bruno Haible <bruno@clisp.org>
24949
d455f537
BH
24950 [BZ #13061]
24951 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
24952 U+0385, not to U+1FEE.
24953
6b13d9d9
BH
24954 [BZ #13062]
24955 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
24956 entry for U+00A5 U+0301.
24957
db910efd
UD
249582011-12-22 Ulrich Drepper <drepper@gmail.com>
24959
27deeafc
UD
24960 [BZ #13166]
24961 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
24962 buffer for the output is too small.
24963
aed9d171
UD
24964 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
24965 optimization.
24966
db910efd
UD
24967 [BZ #13185]
24968 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
24969 SSE flags if possible.
24970
2bd779ae
LD
249712011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24972
e7f9dac3 24973 [BZ #13540]
2bd779ae
LD
24974 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
24975 processing for last bytes.
24976
154bfc16
JM
249772011-12-22 Joseph Myers <joseph@codesourcery.com>
24978
24979 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
24980 (syscall-list-default-options, syscall-list-default-condition)
24981 (syscall-list-includes): Define.
24982 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
24983 list of ABIs and options and #if conditions for each ABI. Do not
24984 handle common syscalls between ABIs specially.
24985 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
24986 Remove.
24987 (syscall-list-variants, syscall-list-32bit-options)
24988 (syscall-list-32bit-condition, syscall-list-64bit-options)
24989 (syscall-list-64bit-condition): Define.
24990 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
24991 (syscall-list-variants, syscall-list-32bit-options)
24992 (syscall-list-32bit-condition, syscall-list-64bit-options)
24993 (syscall-list-64bit-condition): Define.
24994 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
24995 Remove.
24996 (syscall-list-variants, syscall-list-32bit-options)
24997 (syscall-list-32bit-condition, syscall-list-64bit-options)
24998 (syscall-list-64bit-condition): Define.
24999 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25000 Remove.
25001 (syscall-list-variants, syscall-list-32bit-options)
25002 (syscall-list-32bit-condition, syscall-list-64bit-options)
25003 (syscall-list-64bit-condition): Define.
25004
21eaf3a5
UD
250052011-12-22 Ulrich Drepper <drepper@gmail.com>
25006
16c6f992
UD
25007 * locale/iso-639.def: Add brx entry.
25008
41043168
UD
25009 [BZ #13328]
25010 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25011 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25012
21eaf3a5
UD
25013 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25014 __feraiseexcept_renamed.
25015
e3a851a2
UD
250162011-12-21 Ulrich Drepper <drepper@gmail.com>
25017
4920765e
UD
25018 [BZ #13538]
25019 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25020 EPOLLET with unsigned values.
25021 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25022 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25023
e3a851a2
UD
25024 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25025 to large cancellation.
25026 * math/s_cacoshf.c: Likewise.
25027 * math/s_cacoshl.c: Likewise.
25028
b27e24b8
RK
250292011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25030
25031 [BZ #13305]
aebefeee 25032 [BZ #12786]
b27e24b8
RK
25033 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25034 * math/s_cacoshf.c: Likewise.
25035 * math/s_cacoshl.c: Likewise.
25036
ee190f67
UD
250372011-12-21 Ulrich Drepper <drepper@gmail.com>
25038
25039 [BZ #13439]
25040 * iconv/gconv.h: Define __GCONV_SWAP.
25041 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25042 * iconvdata/utf-16.c: Likewise.
25043 * iconvdata/utf-32.c: Likewise.
25044
707f25df
AS
250452011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25046
25047 [BZ #13524]
25048 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25049 numerator after shifting it by one limb.
25050
d2daaa1e
RÁE
250512011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25052
25053 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25054 under [__USE_EXTERN_INLINES].
25055
a4647e72
UD
250562011-12-17 Ulrich Drepper <drepper@gmail.com>
25057
25058 [BZ #13446]
25059 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25060
f0b264f1
AZ
250612011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25062
25063 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25064 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25065 optimized code.
25066 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25067 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25068 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25069 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25070 for strncasecmp/strncasecmp_l compilation.
25071 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25072 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25073
8ef4f244
MP
250742011-12-08 Marek Polacek <mpolacek@redhat.com>
25075
25076 [BZ #13484]
25077 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25078 of __asm__.
25079
97ac2654
UD
250802011-12-17 Ulrich Drepper <drepper@gmail.com>
25081
25082 [BZ #13506]
25083 * time/tzfile.c (__tzfile_read): Check values from file header.
25084
91d2a845
WS
250852011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25086
25087 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25088 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25089 * powerpc/powerpc32/dl-start.S: Likewise.
25090 * powerpc/powerpc32/elf/start.S: Likewise.
25091 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25092 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25093 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25094 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25095 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25096 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25097 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25098 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25099 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25100 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25101 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25102 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25103 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25104 * powerpc/powerpc32/memset.S: Likewise.
25105 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25106 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25107 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25108 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25109 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25110 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25111 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25112 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25113 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25114 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25115 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25116 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25117 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25118
a1267ba1
AZ
251192011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25120
25121 * math/libm-test.inc: Added more nearbyint tests.
25122 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25123 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25124 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25125 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25126
ad8ac1bd
RL
251272011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25128
25129 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25130 FD_CLOEXEC.
25131
1d3e4b61
UD
251322011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25133
25134 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25135 Add wcscpy-ssse3 wcscpy-c.
25136 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25137 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25138 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25139 * sysdeps/x86_64/wcschr.S: New file.
25140 * sysdeps/x86_64/wcsrchr.S: New file.
25141 * string/test-strcmp.c: Remove checking of wcscmp function for
25142 wrong alignments.
25143 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25144 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25145 wcsrchr-sse2 wcsrchr-c.
25146 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25147 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25148 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25149 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25150 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25151 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25152 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25153 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25154 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25155 * wcsmbc/wcschr.c (WCSCHR): New macro.
25156
5b330a2d
UD
251572011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25158
25159 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25160 * wcsmbs/test-wcsrchr.c: New file.
25161 * string/test-strrchr.c: Add wcsrchr support.
25162 (WIDE): New macro.
25163 * wcsmbs/test-wcscpy.c: New file.
25164 * string/test-strcpy.c: Add wcscpy support.
25165 (WIDE): New macro.
26428b7c 25166
f039c043
UD
251672011-12-10 Ulrich Drepper <drepper@gmail.com>
25168
25169 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25170 the inner loop.
25171
850fb039
AS
251722011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25173
25174 [BZ #13472]
25175 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25176
4efbd5cb
UD
251772011-12-04 Ulrich Drepper <drepper@gmail.com>
25178
52ff5dd0 25179 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25180 Minor optimizations.
52ff5dd0 25181
4efbd5cb
UD
25182 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25183 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25184 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25185
8a426e12
UD
251862011-12-03 Ulrich Drepper <drepper@gmail.com>
25187
aff2453d
UD
25188 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25189 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25190 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25191 for gcc to avoid warnings.
25192 * inet/Makefile (tests): Add tst-checks.
25193 * inet/tst-checks.c: New file.
25194
25195 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25196 warning.
25197
25198 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25199 __wmemcmp_sse2.
25200
25201 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25202 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25203
8a426e12
UD
25204 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25205
9bea3473
UD
252062011-12-02 Ulrich Drepper <drepper@gmail.com>
25207
3a965496
UD
25208 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25209 problem.
25210
9bea3473
UD
25211 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25212
f101631b
UD
252132011-11-29 Joseph Myers <joseph@codesourcery.com>
25214
25215 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25216 conditional on GCC version.
25217 (__arch_compare_and_exchange_val_8_acq)
25218 (__arch_compare_and_exchange_val_16_acq)
25219 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25220 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25221 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25222
a98275aa
UD
252232011-12-02 Joseph Myers <joseph@codesourcery.com>
25224
25225 * sysdeps/sh/backtrace.c: New file.
25226
d4cc29a2
AS
252272011-12-02 Andreas Schwab <schwab@redhat.com>
25228
25229 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25230 parenthesis.
25231
6257af2d
AS
252322011-12-01 Andreas Schwab <schwab@redhat.com>
25233
25234 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25235 falling back to utime.
25236
b5f44c1a
AS
252372011-11-30 Andreas Schwab <schwab@redhat.com>
25238
25239 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25240 expectations for float.
25241
f3a6cc0a
AS
252422011-11-29 Andreas Schwab <schwab@redhat.com>
25243
25244 * locale/weight.h (findidx): Add parameter len.
25245 * locale/weightwc.h (findidx): Likewise.
25246 * posix/fnmatch_loop.c (FCT): Adjust caller.
25247 * posix/regcomp.c (build_equiv_class): Likewise.
25248 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25249 * posix/regexec.c (check_node_accept_bytes): Likewise.
25250 * string/strcoll_l.c (STRCOLL): Likewise.
25251 * string/strxfrm_l.c (STRXFRM): Likewise.
25252
9d65ea3a
UD
252532011-11-17 Ulrich Drepper <drepper@gmail.com>
25254
25255 * Makefile.in: Remove CVSOPT handling.
25256 * configure.in: Remove use of AC_REVISION.
25257 * iconvdata/Makefile (distribute): No need to filter out CVS.
25258 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25259 handling.
25260
5583a086
AS
252612011-11-16 Andreas Schwab <schwab@redhat.com>
25262
25263 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25264 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25265 [USE_AS_STRNCASECMP_L]: Likewise.
25266 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25267 NO_TLS_DIRECT_SEG_REFS.
25268 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25269 Fix argument offsets for non-PIC.
25270 [USE_AS_STRNCASECMP_L]: Likewise.
25271 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25272 NO_TLS_DIRECT_SEG_REFS.
25273
d62a8200
UD
252742011-11-15 Ulrich Drepper <drepper@gmail.com>
25275
9d65ea3a 25276 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25277 O_CLOEXEC.
25278 * locale/loadlocale.c (_nl_load_locale): Likewise.
25279
09f93bd3
AS
252802011-11-15 Andreas Schwab <schwab@redhat.com>
25281
446514f9
AS
25282 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25283 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25284 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25285 (SYSCALL_GETTIME): Set errno on error.
25286
09f93bd3
AS
25287 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25288 count references to noai6ai_cached.
25289
312be3f9
UD
252902011-11-15 Ulrich Drepper <drepper@gmail.com>
25291
25292 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25293
25294 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25295 FD_CLOEXEC for /proc/self/maps.
25296
25297 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25298 FD_CLOEXEC for /proc/meminfo.
25299
25300 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25301 gai.conf.
25302
25303 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25304 FD_CLOEXEC for given file.
25305
25306 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25307
25308 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25309 FD_CLOEXEC for /etc/hosts.
25310 (_gethtent): Likewise.
25311
25312 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25313
25314 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25315 cancellation and set FD_CLOEXEC for /etc/netgroup.
25316
25317 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25318 reading /etc/publickey.
25319
25320 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25321 allow cancellation when reading /etc/group.
25322
25323 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25324 cancellation.
25325 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25326
25327 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25328 when using data file.
25329
25330 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25331
25332 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25333 (write_nis_obj): Use "c" and "e" in fopen.
25334
25335 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25336
25337 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25338
25339 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25340
25341 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25342
25343 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25344 locale.alias.
25345
25346 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25347
25348 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25349
25350 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25351
25352 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25353 file parsing and set FD_CLOEXEC.
25354
82af0fa8
UD
253552011-11-14 Ulrich Drepper <drepper@gmail.com>
25356
25357 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25358
a5fb313c
AS
253592011-11-14 Andreas Schwab <schwab@redhat.com>
25360
25361 * malloc/arena.c (arena_get2): Don't call reused_arena when
25362 _int_new_arena failed.
25363
6abf3465
UD
253642011-11-14 Ulrich Drepper <drepper@gmail.com>
25365
25366 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25367 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25368 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25369 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25370 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25371 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25372 to compile strcasecmp and strncasecmp.
25373 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25374 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25375
25376 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25377
76e3966e
UD
253782011-11-13 Ulrich Drepper <drepper@gmail.com>
25379
25380 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25381 locale-defines.sym to gen-as-const-headers.
25382 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25383 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25384 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25385 to compile strcasecmp and strncasecmp.
25386 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25387 strcasecmp_l and strncasecmp_l.
25388 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25389 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25390 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25391 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25392 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25393 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25394 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25395 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25396 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25397 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25398 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25399
ab26144e
UD
254002011-11-12 Ulrich Drepper <drepper@gmail.com>
25401
7edb22ef
UD
25402 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25403 result of SYSDEP_GETTIME_CPU to retval.
25404 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25405 parameter list to macro. Remove trailing semicolon. Adjust users.
25406
9694fc44
UD
25407 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25408 variable.
25409
8ad89ef8
UD
25410 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25411 mantissa words.
25412 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25413
0c822ef9
UD
25414 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25415 from unused variable.
25416
874e0564
UD
25417 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25418 DWARF definitions.
25419 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25420 for assembling.
25421
3a2edc79
UD
25422 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25423 over namespaces.
25424
f3c2577f
UD
25425 * sunrpc/rpc_prot.c (rejected): Fix case value.
25426
294ce126
UD
25427 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25428 unsigned long long int to avoid warnings in shift.
25429
5e2b63c6
UD
25430 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25431 of use of trans.
25432 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25433 variable tmp.
25434
e7f4b08e
UD
25435 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25436 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25437 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25438
ab26144e
UD
25439 * nis/nis_table.c (nis_list): Use variable of correct type for
25440 result of __follow_path call.
25441
8a6d5255
AZ
254422011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25443
25444 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25445 of math functions ceil, trunc, floor, round, and sqrt, when
25446 avaliable on the platform.
25447 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25448 name clash.
25449 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25450 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25451 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25452
aaddc98c
MP
254532011-10-30 Marek Polacek <mpolacek@redhat.com>
25454
25455 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25456 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25457
95b7042b
RM
254582011-11-11 Roland McGrath <roland@hack.frob.com>
25459
25460 * include/unistd.h: Fix __readlink return type.
25461 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25462
57769839
UD
254632011-11-11 Ulrich Drepper <drepper@gmail.com>
25464
25465 * stdlib/ucontext.h: Undo last change for makecontext.
25466
edc5984d
AS
254672011-11-11 Andreas Schwab <schwab@redhat.com>
25468
98591e58
AS
25469 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25470
edc5984d
AS
25471 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25472 * setjmp/setjmp.h: Mark functions as non-leaf.
25473 * setjmp/bits/setjmp2.h: Likewise.
25474 * stdlib/ucontext.h: Likewise.
25475
77cdc054
AS
254762011-11-10 Andreas Schwab <schwab@redhat.com>
25477
25478 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25479 (reused_arena): Don't check arena limit.
25480 (arena_get2): Atomically check arena limit.
25481
fe72eebd
UD
254822011-11-08 Ulrich Drepper <drepper@gmail.com>
25483
5f078c32
UD
25484 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25485 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25486
fe72eebd
UD
25487 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25488 instructions.
25489
ae1bc2fa
AS
254902011-11-07 Andreas Schwab <schwab@redhat.com>
25491
7583a88d
AS
25492 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25493 handler when locking.
25494
ae1bc2fa
AS
25495 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25496 Fix size of allocated buffer.
25497
10fb0bfa
AS
254982011-11-04 Andreas Schwab <schwab@redhat.com>
25499
998832a4
AS
25500 [BZ #10103]
25501 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25502 declarations for long double functions.
25503 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25504
10fb0bfa
AS
25505 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25506
3d7ba52b
AS
255072011-11-03 Andreas Schwab <schwab@redhat.com>
25508
a9ae54a1
AS
25509 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25510 installed.
25511
3d7ba52b
AS
25512 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25513 is disabled.
25514
bc8db248
ST
255152011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25516
25517 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25518
45b96dd6
AS
255192011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25520
647776f6
AS
25521 * include/alloca.h (stackinfo_alloca_round): Define.
25522 (extend_alloca): Use it.
25523 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25524 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25525 here.
25526
d91a8b93
AS
25527 * scripts/check-local-headers.sh: Ignore libaudit.h.
25528
45b96dd6
AS
25529 * nscd/Makefile (extra-objs): Make recursively expanded.
25530
432d41ce
UD
255312011-11-01 Ulrich Drepper <drepper@gmail.com>
25532
34372fc6
UD
25533 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25534 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25535
fadb59f8
UD
25536 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25537 * posix/tst-rfc3484-2.c: Likewise.
25538 * posix/tst-rfc3484-3.c: Likewise.
25539
78239589
UD
25540 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25541 process_vm_writev.
25542 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25543 process_vm_writev.
25544 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25545 process_vm_writev from libc using GLIBC_2.15 version.
25546
432d41ce
UD
25547 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25548
02f9c6cf
PP
255492011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25550
25551 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25552 stack usage.
25553
3a2c0242
UD
255542011-10-31 Ulrich Drepper <drepper@gmail.com>
25555
f4ec4833
UD
25556 [BZ #13367]
25557 * nss/getent.c (initgroups_keys): Show error message in case no group
25558 names are given.
25559
3a2c0242
UD
25560 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25561 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25562 __bump_nl_timestamp.
25563 * nscd/connections (nscd_init): When host database is served open
25564 netlink socket and request notification about configuration changes.
25565 (main_loop_poll): Track netlink file descriptor and bump timestamp
25566 in case data becomes available.
25567 (main_loop_epoll): Likewise.
25568 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25569 (database_pers_head): Add extra_data fileds.
25570 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25571 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25572 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25573 Adjust caller.
25574 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25575 in6ai data, call __free_in6ai.
25576 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25577 Add -DHAVE_NETLINK.
25578 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25579 interface information. Reuse previous data if netlink timestamp
25580 is not changed.
25581 (__bump_nl_timestamp): New function.
25582 (__free_in6ai): New function.
25583
636064eb
UD
255842011-10-30 Ulrich Drepper <drepper@gmail.com>
25585
25586 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25587 close_not_cancel_no_status here.
25588 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25589
9beb2334
UD
255902011-10-29 Ulrich Drepper <drepper@gmail.com>
25591
6ef76f3b
UD
25592 [BZ #13276]
25593 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25594 return value.
25595
0ffc4f3e 25596 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
25597 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25598 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25599
cb95113e
UD
256002011-07-03 Andreas Jaeger <aj@suse.de>
25601
25602 [BZ #10709]
25603 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25604 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25605 * math/libm-test.inc (sin_test): Add test case.
25606
a1b560ff
UD
256072011-10-29 Ulrich Drepper <drepper@gmail.com>
25608
c9aaface
UD
25609 [BZ #13337]
25610 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25611 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25612
d272e7f1
UD
25613 * elf/chroot_canon.c (chroot_canon): Cleanups.
25614
1bc33071
UD
25615 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25616
1760874d
TJ
25617 [BZ #13335]
25618 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25619 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25620
51d91b18
UD
25621 * string/test-strchr.c: Make usable for strchrnul testing.
25622 * string/test-strchrnul.c: New file.
25623 * string/Makefile (strop-tests): Add strchrnul.
25624
a1b560ff 25625 * po/it.po: Update from translation team.
b611fb81 25626 * po/es.po: Likewise.
a1b560ff 25627
a5b81e1f
UD
256282011-10-28 Ulrich Drepper <drepper@gmail.com>
25629
fd52bc6d
UD
25630 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
25631 the three constants needed as parameters. Drop the others.
25632 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
25633 __m128i_strloadu_tolower.
52e4b9eb
UD
25634 Create and initialize variable zero and use it in all the places
25635 where _mm_setzero_si128 was used.
fd52bc6d 25636
a5b81e1f
UD
25637 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
25638 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
25639 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
25640 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
25641 anymore.
25642 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
25643 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
25644 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
25645 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
25646 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
25647 __mpranred, __mptan.
25648 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
25649 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
25650 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
25651 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
25652 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
25653 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
25654 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
25655 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
25656 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
25657
b4343346
AS
256582011-10-28 Andreas Schwab <schwab@redhat.com>
25659
0c92d8a8
AS
25660 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
25661 redefine if SHARED.
25662 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
25663
b4343346
AS
25664 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
25665 wide char related routines to wcsmbs subdir.
25666
3871f58f
AS
256672011-10-27 Andreas Schwab <schwab@redhat.com>
25668
25669 [BZ #13344]
25670 * misc/sys/cdefs.h (__THROWNL): Define.
25671 * posix/unistd.h: Use __THREADNL instead of __THREAD
25672 for memory synchronization functions.
25673
94d44d9f
RM
256742011-10-26 Roland McGrath <roland@hack.frob.com>
25675
21b64b15 25676 [BZ #13349]
94d44d9f
RM
25677 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
25678 doesn't exist.
25679 * manual/stdio.texi (Obstack Streams): Node removed.
25680
f6ce9294
AS
256812011-10-26 Andreas Schwab <schwab@redhat.com>
25682
80479147
AS
25683 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
25684 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25685 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25686
f6ce9294
AS
25687 * math/math_private.h (math_force_eval): Allow non-addressable
25688 arguments.
25689 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
25690
618280a1
UD
256912011-10-25 Ulrich Drepper <drepper@gmail.com>
25692
e0016b11
UD
25693 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
25694 file is not needed.
25695
25696 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
25697 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
25698 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
25699 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
25700 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
25701 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
25702 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
25703 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
25704 Add AVX variants.
25705 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
25706 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
25707 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
25708 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
25709 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
25710 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
25711 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
25712 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
25713 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
25714 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
25715 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
25716 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
25717 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
25718 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
25719 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
25720 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
25721 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
25722 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
25723 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
25724
25725 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
25726 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
25727
618280a1
UD
25728 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
25729 place. Use VEX encoding when compiling for AVX.
25730
37822576
AS
257312011-10-25 Andreas Schwab <schwab@redhat.com>
25732
1f1e1947
AS
25733 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
25734 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25735
37822576
AS
25736 * string/test-strchr.c (do_test): Don't generate NUL bytes.
25737
31ea014d
UD
257382011-10-25 Ulrich Drepper <drepper@gmail.com>
25739
d7826aa1 25740 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 25741 useless if() expression.
d7826aa1
UD
25742 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25743 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25744 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25745 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25746 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25747 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25748 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25749 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25750 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25751 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25752 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25753 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25754 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25755 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25756 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25757 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25758 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25759 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25760 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25761
31ea014d
UD
25762 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
25763
16437fec
AS
257642011-10-25 Andreas Schwab <schwab@redhat.com>
25765
25766 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
25767 condition.
25768 * elf/dl-fini.c (_dl_sort_fini): Likewise.
25769
31d3cc00
UD
257702011-10-25 Ulrich Drepper <drepper@gmail.com>
25771
25772 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
25773 .text section. Avoid duplicate constants.
25774 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25775 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25776 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25777 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25778 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25779 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25780 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25781 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25782 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
25783 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
25784 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
25785 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
25786 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
25787 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
25788 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
25789 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
25790 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
25791 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
25792 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25793 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25794 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25795 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25796 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25797 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
25798 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
25799 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
25800 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
25801 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
25802 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
25803 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
25804 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
25805 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
25806 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
25807 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
25808 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
25809 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
25810 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
25811 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
25812 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
25813 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
25814 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
25815 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
25816 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
25817 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
25818 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
25819
58985aa9
UD
258202011-10-24 Ulrich Drepper <drepper@gmail.com>
25821
202c9deb
UD
25822 * sysdeps/x86_64/dla.h: Move to ...
25823 * sysdeps/x86_64/fpu/dla.h: ...here.
25824 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
25825 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 25826
af968f62
UD
25827 * config.make.in: Add have-mfma4 entry.
25828 * configure.in: Substitute libc_cv_cc_fma4.
25829 * math/Makefile (dbl-only-routines): Add sincostab.
25830 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
25831 Use __sincostab not sincos.
25832 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
25833 name is a macro.
25834 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25835 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25836 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25837 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
25838 using __copysign.
25839 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
25840 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
25841 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
25842 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
25843 and __inv.
25844 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
25845 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
25846 __copysign.
25847 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
25848 define aliases when function name is a macro.
25849 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
25850 sysdeps/ieee754/dbl-64/sincos.tbl.
25851 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
25852 fma4-enabled routines.
25853 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
25854 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
25855 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
25856 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
25857 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
25858 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
25859 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
25860 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
25861 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
25862 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
25863 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
25864 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
25865 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
25866 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
25867 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
25868 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
25869 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
25870 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
25871 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
25872 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
25873 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
25874 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
25875 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
25876 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
25877 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
25878 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
25879 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
25880 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
25881 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
25882 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
25883
58985aa9
UD
25884 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
25885 rename.
25886 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25887 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25888 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25889 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25890 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25891 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25892 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25893 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25894
a201fbcf
AS
258952011-10-24 Andreas Schwab <schwab@redhat.com>
25896
25897 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
25898
fc2ee42a
LD
258992011-10-23 Ulrich Drepper <drepper@gmail.com>
25900
bb3129bd
UD
25901 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
25902
0275fff8
UD
25903 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
25904 prediction.
25905 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
25906
2fa2ae85
UD
25907 * string/strnlen.c: Don't define STRNLEN, reverse logic.
25908 Remove unused variable magic_bits.
25909 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
25910
fc2ee42a
LD
25911 * string/strnlen.c: Define and use STRNLEN macro.
25912 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
25913 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
25914 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
25915 * wcsmbs/wcslen.c: Define and use WCSLEN.
25916 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
25917 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
25918 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
25919 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
25920 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
25921 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
25922 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
25923
ce7dd29f
LD
259242011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25925
25926 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
25927 strnlen-sse2-no-bsf.
25928 Rename strlen-no-bsf to strlen-sse2-no-bsf.
25929 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
25930 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
25931 Add strnlen support.
25932 (USE_AS_STRNLEN): New macro.
25933 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
25934 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
25935 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
25936 * sysdeps/x86_64/wcslen.S: New file.
25937
979c70a3
MZ
259382011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
25939
25940 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25941 XMM-moves are used for copying on small sizes.
25942
2d09f82f
LD
259432011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25944
25945 * wcsmbs/Makefile (strop-tests): Add wcschr.
25946 * wcsmbs/test-wcschr.c: New file.
25947 * string/test-strchr.c: Update.
25948 Add wcschr support.
25949 (WIDE): New macro.
25950
619fccca
LD
259512011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25952
2d09f82f 25953 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
25954 * wcsmbs/test-wcslen.c: New file.
25955 * string/test-strlen.c: Update.
25956 Add wcslen support.
25957 (WIDE): New macro.
25958
09f699ea
UD
259592011-10-23 Ulrich Drepper <drepper@gmail.com>
25960
25961 * po/it.po: Update from translation team.
25962
95584d3b
LD
259632011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25964
25965 * sysdeps/x86_64/wcscmp.S: Update.
25966 Fix wrong comparison semantics.
25967 wcscmp shall use signed comparison not unsigned.
25968 Don't use substraction to avoid overflow bug.
25969 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25970 * wcsmbc/wcscmp.c: Likewise.
25971 * string/test-strcmp.c: Likewise.
25972 Add new tests to check cases with negative values.
25973
c8b3296b
UD
259742011-10-23 Ulrich Drepper <drepper@gmail.com>
25975
25976 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
25977 * sysdeps/x86_64/dla.h: ...here. New file.
25978 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
25979 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25980 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25981 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25982 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25983 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25984 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25985 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25986 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25987
246ad57a
AS
259882011-10-23 Andreas Schwab <schwab@linux-m68k.org>
25989
25990 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
25991 __ynl_finite aliases.
25992
a1a87169
UD
259932011-10-22 Ulrich Drepper <drepper@gmail.com>
25994
0d355eb7
UD
25995 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25996
a1a87169
UD
25997 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
25998 define DLA_FMA.
25999 [DLA_FMA] (EMULV): Use DLA_FMA.
26000 [DLA_FMA] (MUL12): Use EMULV.
26001 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26002 that are not needed.
26003 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26004 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26005 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26006 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26007 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26008 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26009 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26010
ee2aafe0
AS
260112011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26012
26013 * math/s_nan.c: Undef __nan.
26014 * math/s_nanf.c: Undef __nanf.
26015 * math/s_nanl.c: Undef __nanl.
26016 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26017 "math_private.h".
26018
bc62c2fb
UD
260192011-10-22 Ulrich Drepper <drepper@gmail.com>
26020
77425c63
UD
26021 * math/s_catan.c: Add branch predictions.
26022 * math/s_catanf.c: Likewise.
26023 * math/s_catanh.c: Likewise.
26024 * math/s_catanhf.c: Likewise.
26025 * math/s_catanhl.c: Likewise.
26026 * math/s_catanl.c: Likewise.
26027 * math/s_cexp.c: Likewise.
26028 * math/s_cexpf.c: Likewise.
26029 * math/s_cexpl.c: Likewise.
26030 * math/s_clog.c: Likewise.
26031 * math/s_clog10.c: Likewise.
26032 * math/s_clog10f.c: Likewise.
26033 * math/s_clog10l.c: Likewise.
26034 * math/s_clogf.c: Likewise.
26035 * math/s_clogl.c: Likewise.
26036 * math/s_csqrt.c: Likewise.
26037 * math/s_csqrtf.c: Likewise.
26038 * math/s_csqrtl.c: Likewise.
26039 * math/s_ctanf.c: Likewise.
26040 * math/s_ctanh.c: Likewise.
26041 * math/s_ctanhf.c: Likewise.
26042 * math/s_ctanhl.c: Likewise.
26043 * math/s_ctanl.c: Likewise.
26044
bc62c2fb
UD
26045 * math/math_private.h: Define __nan, __nanf, __nanl.
26046 * math/s_cacosh.c: Include <math_private.h>.
26047 * math/s_cacoshl.c: Likewise.
26048 * math/s_casinh.c: Likewise.
26049 * math/s_casinhf.c: Likewise.
26050 * math/s_casinhl.c: Likewise.
26051 * math/s_ccos.c: Rely entire on ccosh.
26052 * math/s_ccosf.c: Rely entire on ccoshf.
26053 * math/s_ccosl.c: Rely entirely on ccoshl.
26054 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26055 Remove tests for FE_INVALID.
26056 * math/s_ccoshf.c: Likewise.
26057 * math/s_ccoshl.c: Likewise.
26058 * math/s_csin.c: Likewise.
26059 * math/s_csinf.c: Likewise.
26060 * math/s_csinh.c Likewise.
26061 * math/s_csinhf.c: Likewise.
26062 * math/s_csinhl.c: Likewise.
26063 * math/s_csinl.c: Likewise.
26064 * math/s_ctan.c: Likewise.
26065 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26066 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26067 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26068
8ec250a4
UD
260692011-10-21 Ulrich Drepper <drepper@gmail.com>
26070
c196fed8
UD
26071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26072 compilation problems.
26073
8ec250a4
UD
26074 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26075 __builtin_expect.
26076
8d4f46c6
UD
260772011-10-20 Ulrich Drepper <drepper@gmail.com>
26078
ed72b654
UD
26079 * sysdeps/i386/configure.in: Test for -mfma4 option.
26080 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26081 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26082 COMMON_CPUID_INDEX_80000001.
26083 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26084 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26085 use it if FMA3 is not supported.
26086 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26087
8d4f46c6
UD
26088 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26089 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26090
d45c60c2
AS
260912011-10-20 Andreas Schwab <schwab@redhat.com>
26092
26093 [BZ #12892]
26094 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26095 it would create a cycle with a link time dependency.
26096
d9a4d2ab
UD
260972011-10-19 Ulrich Drepper <drepper@gmail.com>
26098
855d1560
UD
26099 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26100 instruction.
26101 * string/Makefile (strop-tests): Add rawmemchr.
26102 * string/test-rawmemchr.c: New file.
26103
d9a4d2ab
UD
26104 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26105 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26106 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26107 when compiling str{,n}casecmp and when AVX is available. Hook up
26108 new optimized code in initializers.
26109
8f3b1ffe
AS
261102011-10-19 Andreas Schwab <schwab@redhat.com>
26111
26112 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26113 __feraiseexcept instead of feraiseexcept.
26114
d38f1dba
UD
261152011-10-18 Ulrich Drepper <drepper@gmail.com>
26116
d9a8d0ab
UD
26117 * math/math_private.h: Define defaults for libc_fetestexcept and
26118 libc_feupdateenv.
26119 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26120 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26121 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26122 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26123 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26124 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26125 libc_fetestexcept and libc_feupdateenv.
26126
4855e3dd
UD
26127 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26128 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26129 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26130 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26131 libc_feholdexcept_setround.
26132
581d30e3
UD
26133 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26134 Add s_nearbyint-c and s_nearbyintf-c.
26135 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26136 nearbyintf inlines.
26137 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26138 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26139 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26140 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26141
d38f1dba
UD
26142 * math/math_private.h: Define defaults for libc_fegetround,
26143 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26144 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26145 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26146 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26147 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26148 standard functions.
26149 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26150 Remove comments and hacks for old compiler versions.
26151 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26152 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26153 libc_feholdexceptl.
26154
caa6c9d8
AS
261552011-10-18 Andreas Schwab <schwab@redhat.com>
26156
26157 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26158 (__feraiseexcept_renamed): Add __NTH.
26159 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26160 namespace violations.
26161
97c066e6
UD
261622011-10-17 Ulrich Drepper <drepper@gmail.com>
26163
99ce7b04
UD
26164 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26165
1004d182
UD
26166 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26167
228a984d
UD
26168 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26169 recently added interfaces.
26170 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26171
c8553a6a
UD
26172 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26173 about macro parameter expansion.
26174
ed22dcf6
UD
26175 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26176 __NO_MATH_INLINES is defined. Cleanups.
26177
26178 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26179 and __floorf is target has SSE4.1.
26180 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26181 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26182 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26183 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26184
b171c137
UD
26185 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26186 name.
26187 (floorf): Likewise.
26188
97c066e6
UD
26189 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26190
629f62ef
AS
261912011-10-17 Andreas Schwab <schwab@redhat.com>
26192
49a43d80
AS
26193 * misc/sys/cdefs.h: Fix last change.
26194
629f62ef
AS
26195 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26196 database lookup.
26197
e453f6cd
UD
261982011-10-16 Ulrich Drepper <drepper@gmail.com>
26199
aa78043a
UD
26200 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26201
ad0f5cad
UD
26202 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26203 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26204 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26205 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26206 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26207 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26208 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26209 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26210 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26211 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26212 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26213 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26214 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26215 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26216 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26217 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26218 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26219 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26220 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26221 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26222 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26223 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26224
26225 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26226 ceil, ceilf, floor, floorf.
26227
26228 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26229 Perform IRELATIVE relocations last.
26230
e453f6cd
UD
26231 * elf/do-rel.h: Add another parameter nrelative, replacing the
26232 local variable with the same name. Change name of the function
26233 to end in Rel or Rela (uppercase).
26234 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26235 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26236 elf_dynamic_do_##reloc function.
26237
fd5bdc09
UD
262382011-10-15 Ulrich Drepper <drepper@gmail.com>
26239
79b195b5
UD
26240 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26241 is sufficient, at least on modern CPUs.
26242
d4a28569
UD
26243 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26244
b61099b5
UD
26245 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26246 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26247
bcf01e6d
UD
26248 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26249 __expl_finite.
26250 * math/bits/math-finite.h: Add entries for exp.
26251 * math/e_expl.c: Add __*_finite alias.
26252 * sysdeps/i386/fpu/e_exp.S: Likewise.
26253 * sysdeps/i386/fpu/e_expf.S: Likewise.
26254 * sysdeps/i386/fpu/e_expl.c: Likewise.
26255 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26256 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26257 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26258 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26259 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26260 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26261 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26262
ba1a0d59
UD
26263 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26264 is sufficient, at least on modern CPUs.
26265
fd5bdc09
UD
26266 * ctype/ctype-info.c (__ctype_init): Define.
26267 * include/ctype.h (__ctype_init): Declare.
26268 (__ctype_b_loc): The variable is always initialized.
26269 (__ctype_toupper_loc): Likewise.
26270 (__ctype_tolower_loc): Likewise.
26271 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26272 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26273
7872cfb0
AS
262742011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26275
b468825a
AS
26276 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26277
7872cfb0
AS
26278 * configure.in: Also look in $cxxmachine/include for C++ system
26279 headers.
26280
be13f7bf
LD
262812011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26282
26283 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26284 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26285 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26286 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26287 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26288 (USE_AS_WMEMCMP): New macro.
26289 Fixing indents.
26290 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26291 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26292 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26293 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26294 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26295 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26296 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26297 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26298 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26299 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26300 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26301 (USE_AS_WMEMCMP): New macro.
26302 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26303 * sysdeps/string/test-memcmp.c: Update.
26304 Fix simple_wmemcmp.
26305 Add new tests.
26306 * wcsmbs/wmemcmp.c: Update.
26307 (WMEMCMP): New macro.
26308 Fix overflow bug.
26309
556a2007
AJ
263102011-10-12 Andreas Jaeger <aj@suse.de>
26311
26312 [BZ #13268]
26313 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26314
538faaa7
UD
263152011-10-15 Ulrich Drepper <drepper@gmail.com>
26316
ab6737ff
UD
26317 * libio/iofwide.c (do_length): Avoid warning.
26318
538faaa7
UD
26319 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26320
396a21b1
UD
263212011-10-14 Ulrich Drepper <drepper@gmail.com>
26322
cdf2901f
UD
26323 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26324
38ad40ce
UD
26325 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26326 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26327 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26328 * sysdeps/i386/i686/fpu/e_log.S: New file.
26329 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26330 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26331
396a21b1
UD
26332 * ctype/ctype.h: Add support for inlined isXXX functions when
26333 compiling C++ code.
26334
6b1f68c9
AS
263352011-10-14 Andreas Schwab <schwab@redhat.com>
26336
349290c0
AS
26337 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26338
6b1f68c9
AS
26339 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26340
f2282d42
RM
263412011-10-13 Roland McGrath <roland@hack.frob.com>
26342
26343 [BZ #13291]
26344 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26345
5298ffa8
AS
263462011-10-13 Andreas Schwab <schwab@redhat.com>
26347
714fad23
AS
26348 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26349 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26350 feraiseexcept.
26351
81dcc7fb
AS
26352 * sysdeps/x86_64/memrchr.S: Check for zero size.
26353
5298ffa8
AS
26354 * string/stratcliff.c: Add memrchr tests.
26355
951fbcec
LD
263562011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26357
26358 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26359 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26360 rawmemchr-sse2 rawmemchr-sse2-bsf.
26361 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26362 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26363 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26364 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26365 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26366 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26367 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26368 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26369 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26370 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26371 * string/memrchr.c (MEMRCHR): New macro.
26372
0ac5ae23
UD
263732011-10-12 Ulrich Drepper <drepper@gmail.com>
26374
26375 Add integration with gcc's -ffinite-math-only and optimize wrapper
26376 functions in libm.
26377 * Versions.def: Define GLIBC_2.15 version for libm.
26378 * math/Makefile (headers): Add bits/math-finite.h.
26379 * math/bits/math-finite.h: New file.
26380 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26381 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26382 * math/e_acoshl.c: Add __*_finite alias.
26383 * math/e_acosl.c: Likewise.
26384 * math/e_asinl.c: Likewise.
26385 * math/e_atan2l.c: Likewise.
26386 * math/e_atanhl.c: Likewise.
26387 * math/e_coshl.c: Likewise.
26388 * math/e_exp10.c: Likewise.
26389 * math/e_exp10f.c: Likewise.
26390 * math/e_exp10l.c: Likewise.
26391 * math/e_exp2l.c: Likewise.
26392 * math/e_fmodl.c: Likewise.
26393 * math/e_gammal_r.c: Likewise.
26394 * math/e_hypotl.c: Likewise.
26395 * math/e_j0l.c: Likewise.
26396 * math/e_j1l.c: Likewise.
26397 * math/e_jnl.c: Likewise.
26398 * math/e_lgammal_r.c: Likewise.
26399 * math/e_log10l.c: Likewise.
26400 * math/e_log2l.c: Likewise.
26401 * math/e_logl.c: Likewise.
26402 * math/e_powl.c: Likewise.
26403 * math/e_sinhl.c: Likewise.
26404 * math/e_sqrtl.c: Likewise.
26405 * math/e_scalb.c: Completely rewritten and optimized.
26406 * math/e_scalbf.c: Likewise.
26407 * math/e_scalbl.c: Likewise.
26408 * math/w_acos.c: Likewise.
26409 * math/w_acosf.c: Likewise.
26410 * math/w_acosl.c: Likewise.
26411 * math/w_acosh.c: Likewise.
26412 * math/w_acoshf.c: Likewise.
26413 * math/w_acoshl.c: Likewise.
26414 * math/w_asin.c: Likewise.
26415 * math/w_asinf.c: Likewise.
26416 * math/w_asinl.c: Likewise.
26417 * math/w_atan2.c: Likewise.
26418 * math/w_atan2f.c: Likewise.
26419 * math/w_atan2l.c: Likewise.
26420 * math/w_atanh.c: Likewise.
26421 * math/w_atanhf.c: Likewise.
26422 * math/w_atanhl.c: Likewise.
26423 * math/w_exp10.c: Likewise.
26424 * math/w_exp10f.c: Likewise.
26425 * math/w_exp10l.c: Likewise.
26426 * math/w_fmod.c: Likewise.
26427 * math/w_fmodf.c: Likewise.
26428 * math/w_fmodl.c: Likewise.
26429 * math/w_j0.c: Likewise.
26430 * math/w_j0f.c: Likewise.
26431 * math/w_j0l.c: Likewise.
26432 * math/w_j1.c: Likewise.
26433 * math/w_j1f.c: Likewise.
26434 * math/w_j1l.c: Likewise.
26435 * math/w_jn.c: Likewise.
26436 * math/w_jnf.c: Likewise.
26437 * math/w_log.c: Likewise.
26438 * math/w_logf.c: Likewise.
26439 * math/w_logl.c: Likewise.
26440 * math/w_log10.c: Likewise.
26441 * math/w_log10f.c: Likewise.
26442 * math/w_log10l.c: Likewise.
26443 * math/w_log2.c: Likewise.
26444 * math/w_log2f.c: Likewise.
26445 * math/w_log2l.c: Likewise.
26446 * math/w_pow.c: Likewise.
26447 * math/w_powf.c: Likewise.
26448 * math/w_powl.c: Likewise.
26449 * math/w_remainder.c: Likewise.
26450 * math/w_remainderf.c: Likewise.
26451 * math/w_remainderl.c: Likewise.
26452 * math/w_scalb.c: Likewise.
26453 * math/w_scalbf.c: Likewise.
26454 * math/w_scalbl.c: Likewise.
26455 * math/w_sqrt.c: Likewise.
26456 * math/w_sqrtf.c: Likewise.
26457 * math/w_sqrtl.c: Likewise.
26458 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26459 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26460 used.
26461 * math/math_private.h: Declare __kernel_standard_f.
26462 * math/w_cosh.c: Remove cruft and optimize a bit.
26463 * math/w_coshf.c: Likewise.
26464 * math/w_coshl.c: Likewise.
26465 * math/w_exp2.c: Likewise.
26466 * math/w_exp2f.c: Likewise.
26467 * math/w_exp2l.c: Likewise.
26468 * math/w_hypot.c: Likewise.
26469 * math/w_hypotf.c: Likewise.
26470 * math/w_hypotl.c: Likewise.
26471 * math/w_lgamma.c: Likewise.
26472 * math/w_lgamma_r.c: Likewise.
26473 * math/w_lgammaf.c: Likewise.
26474 * math/w_lgammaf_r.c: Likewise.
26475 * math/w_lgammal.c: Likewise.
26476 * math/w_lgammal_r.c: Likewise.
26477 * math/w_sinh.c: Likewise.
26478 * math/w_sinhf.c: Likewise.
26479 * math/w_sinhl.c: Likewise.
26480 * math/w_tgamma.c: Likewise.
26481 * math/w_tgammaf.c: Likewise.
26482 * math/w_tgammal.c: Likewise.
26483 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26484 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26485 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26486 Minor optimizations. Pretty printing. Remove cruft.
26487 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26488 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26489 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26490 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26491 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26492 * sysdeps/i386/fpu/e_asin.S: Likewise.
26493 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26494 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26495 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26496 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26497 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26498 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26499 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26500 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26501 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26502 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26503 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26504 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26505 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26506 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26507 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26508 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26509 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26510 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26511 * sysdeps/i386/fpu/e_log.S: Likewise.
26512 * sysdeps/i386/fpu/e_log10.S: Likewise.
26513 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26514 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26515 * sysdeps/i386/fpu/e_log2.S: Likewise.
26516 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26517 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26518 * sysdeps/i386/fpu/e_logf.S: Likewise.
26519 * sysdeps/i386/fpu/e_logl.S: Likewise.
26520 * sysdeps/i386/fpu/e_pow.S: Likewise.
26521 * sysdeps/i386/fpu/e_powf.S: Likewise.
26522 * sysdeps/i386/fpu/e_powl.S: Likewise.
26523 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26524 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26525 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26526 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26527 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26528 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26529 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26530 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26531 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26532 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26533 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26534 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26535 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26536 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26537 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26538 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26539 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26540 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26541 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26542 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26543 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26544 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26545 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26546 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26547 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26548 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26549 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26550 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26551 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26552 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26553 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26554 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26555 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26556 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26557 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26558 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26559 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26560 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26561 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26562 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26563 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26564 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26565 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26566 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26567 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26568 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26569 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26570 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26571 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26572 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26573 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26574 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26575 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26576 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26577 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26578 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26579 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26580 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26581 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26582 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26583 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26584 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26585 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26586 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26587 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26588 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26589 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26590 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26591 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26592 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26593 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26594 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26595 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26596 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26597 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26598 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26599 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26600 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26601 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26602 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26603 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26604 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26605 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26606 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26607 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26608 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26609 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26610 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26611 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26612 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26613 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26614 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26615 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26616 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26617 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26618 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26619 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26620 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26621 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26622 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26623 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26624 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26625 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26626 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26627 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26628 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26629 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26630 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26631 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26632 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
26633 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
26634 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
26635 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
26636 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26637 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26638 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26639 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26640 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
26641 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26642 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
26643 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
26644 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
26645 (__isnanf): Likewise.
26646 (__isinf_ns): Likewise.
26647 (__isinf_nsf): Likewise.
26648 (__finite): Likewise.
26649 (__finitef): Likewise.
26650 (__ieee754_sqrt): Define as macro.
26651 (__ieee754_sqrtf): Define as macro.
26652 (__ieee754_sqrtl): Define as macro.
26653 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
26654 inlined copy.
26655 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
26656 __FINITE_MATH_ONLY__ consistent.
26657 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
26658
12cc2fcd
AS
266592011-10-10 Andreas Schwab <schwab@linux-m68k.org>
26660
a843a204
AS
26661 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
26662 of rawmemchr.
26663
12cc2fcd
AS
26664 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
26665
c853acd5
UD
266662011-10-09 Ulrich Drepper <drepper@gmail.com>
26667
26668 * po/ja.po: Update from translation team.
26669
c658d255
RM
266702011-10-08 Roland McGrath <roland@hack.frob.com>
26671
110946e4
RM
26672 * locale/programs/locarchive.c (prepare_address_space): New function.
26673 (create_archive, enlarge_archive, open_archive): Use it.
26674
50604220
RM
26675 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
26676 inside [SHARED], where it is used.
26677
c658d255
RM
26678 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
26679
26680 * nss/getent.c (netgroup_keys): Remove unused variable.
26681 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26682
6a621eb7
UD
266832011-10-08 Ulrich Drepper <drepper@gmail.com>
26684
7edb55ce
UD
26685 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
26686 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
26687 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
26688 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
26689 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
26690 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
26691 * math/Makefile (libm-calls): Add s_isinf_ns.
26692 * math/divtc3.c: Use __isinf_nsl instead of isinf.
26693 * math/multc3.c: Likewise.
26694 * math/s_casin.c: Likewise.
26695 * math/s_casinf.c: Likewise.
26696 * math/s_casinl.c: Likewise.
26697 * math/s_ccos.c: Likewise.
26698 * math/s_ccosf.c: Likewise.
26699 * math/s_ccosl.c: Likewise.
26700 * math/s_ctan.c: Likewise.
26701 * math/s_ctanf.c: Likewise.
26702 * math/s_ctanh.c: Likewise.
26703 * math/s_ctanhf.c: Likewise.
26704 * math/s_ctanhl.c: Likewise.
26705 * math/s_ctanl.c: Likewise.
26706 * math/w_fmod.c: Likewise.
26707 * math/w_fmodf.c: Likewise.
26708 * math/w_fmodl.c: Likewise.
26709 * math/w_remainder.c: Likewise.
26710 * math/w_remainderf.c: Likewise.
26711 * math/w_remainderl.c: Likewise.
26712 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
26713 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
26714 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
26715 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
26716 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
26717 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
26718 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
26719 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
26720
187da0ae
UD
26721 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
26722 of the number.
26723 * stdio-common/printf_fphex.c: Likewise.
26724 * stdio-common/printf_size.c: Likewise.
26725
9277c064
UD
26726 * math/e_exp10.c: Include math_private.h using <...> not "...".
26727 * math/e_exp10f.c: Likewise.
26728 * math/e_exp10l.c: Likewise.
26729 * math/e_exp2l.c: Likewise.
26730 * math/e_j0l.c: Likewise.
26731 * math/e_j1l.c: Likewise.
26732 * math/e_jnl.c: Likewise.
26733 * math/e_lgammal_r.c: Likewise.
26734 * math/e_rem_pio2l.c: Likewise.
26735 * math/e_scalb.c: Likewise.
26736 * math/e_scalbf.c: Likewise.
26737 * math/e_scalbl.c: Likewise.
26738 * math/k_cosl.c: Likewise.
26739 * math/k_sinl.c: Likewise.
26740 * math/k_tanl.c: Likewise.
26741 * math/s_cacoshf.c: Likewise.
26742 * math/s_catan.c: Likewise.
26743 * math/s_catanf.c: Likewise.
26744 * math/s_catanh.c: Likewise.
26745 * math/s_catanhf.c: Likewise.
26746 * math/s_catanhl.c: Likewise.
26747 * math/s_catanl.c: Likewise.
26748 * math/s_ccosh.c: Likewise.
26749 * math/s_ccoshf.c: Likewise.
26750 * math/s_ccoshl.c: Likewise.
26751 * math/s_cexp.c: Likewise.
26752 * math/s_cexpf.c: Likewise.
26753 * math/s_cexpl.c: Likewise.
26754 * math/s_clog.c: Likewise.
26755 * math/s_clog10.c: Likewise.
26756 * math/s_clog10f.c: Likewise.
26757 * math/s_clog10l.c: Likewise.
26758 * math/s_clogf.c: Likewise.
26759 * math/s_clogl.c: Likewise.
26760 * math/s_csin.c: Likewise.
26761 * math/s_csinf.c: Likewise.
26762 * math/s_csinh.c: Likewise.
26763 * math/s_csinhf.c: Likewise.
26764 * math/s_csinhl.c: Likewise.
26765 * math/s_csinl.c: Likewise.
26766 * math/s_csqrt.c: Likewise.
26767 * math/s_csqrtf.c: Likewise.
26768 * math/s_csqrtl.c: Likewise.
26769 * math/s_ctan.c: Likewise.
26770 * math/s_ctanf.c: Likewise.
26771 * math/s_ctanh.c: Likewise.
26772 * math/s_ctanhf.c: Likewise.
26773 * math/s_ctanhl.c: Likewise.
26774 * math/s_ctanl.c: Likewise.
26775 * math/s_ldexp.c: Likewise.
26776 * math/s_ldexpf.c: Likewise.
26777 * math/s_ldexpl.c: Likewise.
26778 * math/s_significand.c: Likewise.
26779 * math/s_significandf.c: Likewise.
26780 * math/s_significandl.c: Likewise.
26781 * math/w_acos.c: Likewise.
26782 * math/w_acosf.c: Likewise.
26783 * math/w_acosh.c: Likewise.
26784 * math/w_acoshf.c: Likewise.
26785 * math/w_acoshl.c: Likewise.
26786 * math/w_acosl.c: Likewise.
26787 * math/w_asin.c: Likewise.
26788 * math/w_asinf.c: Likewise.
26789 * math/w_asinl.c: Likewise.
26790 * math/w_atan2.c: Likewise.
26791 * math/w_atan2f.c: Likewise.
26792 * math/w_atan2l.c: Likewise.
26793 * math/w_atanh.c: Likewise.
26794 * math/w_atanhf.c: Likewise.
26795 * math/w_atanhl.c: Likewise.
26796 * math/w_cosh.c: Likewise.
26797 * math/w_coshf.c: Likewise.
26798 * math/w_coshl.c: Likewise.
26799 * math/w_dremf.c: Likewise.
26800 * math/w_exp10.c: Likewise.
26801 * math/w_exp10f.c: Likewise.
26802 * math/w_exp10l.c: Likewise.
26803 * math/w_exp2.c: Likewise.
26804 * math/w_exp2f.c: Likewise.
26805 * math/w_fmod.c: Likewise.
26806 * math/w_fmodf.c: Likewise.
26807 * math/w_fmodl.c: Likewise.
26808 * math/w_hypot.c: Likewise.
26809 * math/w_hypotf.c: Likewise.
26810 * math/w_hypotl.c: Likewise.
26811 * math/w_j0.c: Likewise.
26812 * math/w_j0f.c: Likewise.
26813 * math/w_j0l.c: Likewise.
26814 * math/w_j1.c: Likewise.
26815 * math/w_j1f.c: Likewise.
26816 * math/w_j1l.c: Likewise.
26817 * math/w_jn.c: Likewise.
26818 * math/w_jnf.c: Likewise.
26819 * math/w_jnl.c: Likewise.
26820 * math/w_lgamma.c: Likewise.
26821 * math/w_lgamma_r.c: Likewise.
26822 * math/w_lgammaf.c: Likewise.
26823 * math/w_lgammaf_r.c: Likewise.
26824 * math/w_lgammal.c: Likewise.
26825 * math/w_lgammal_r.c: Likewise.
26826 * math/w_log.c: Likewise.
26827 * math/w_log10.c: Likewise.
26828 * math/w_log10f.c: Likewise.
26829 * math/w_log10l.c: Likewise.
26830 * math/w_log2.c: Likewise.
26831 * math/w_log2f.c: Likewise.
26832 * math/w_log2l.c: Likewise.
26833 * math/w_logf.c: Likewise.
26834 * math/w_logl.c: Likewise.
26835 * math/w_pow.c: Likewise.
26836 * math/w_powf.c: Likewise.
26837 * math/w_powl.c: Likewise.
26838 * math/w_remainder.c: Likewise.
26839 * math/w_remainderf.c: Likewise.
26840 * math/w_remainderl.c: Likewise.
26841 * math/w_scalb.c: Likewise.
26842 * math/w_scalbf.c: Likewise.
26843 * math/w_scalbl.c: Likewise.
26844 * math/w_sinh.c: Likewise.
26845 * math/w_sinhf.c: Likewise.
26846 * math/w_sinhl.c: Likewise.
26847 * math/w_sqrt.c: Likewise.
26848 * math/w_sqrtf.c: Likewise.
26849 * math/w_sqrtl.c: Likewise.
26850 * math/w_tgamma.c: Likewise.
26851 * math/w_tgammaf.c: Likewise.
26852 * math/w_tgammal.c: Likewise.
26853
6a621eb7
UD
26854 * po/ja.po: Update from translation team.
26855
bf582445
AJ
268562011-09-29 Andreas Jaeger <aj@suse.de>
26857
f9efbf3a
AJ
26858 [BZ #13179]
26859 * sunrpc/netname.c (netname2host): Fix logic.
26860
bf582445
AJ
26861 [BZ #6779]
26862 [BZ #6783]
26863 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
26864 correctly.
26865 * math/w_remainder.c (__remainder): Likewise.
26866 * math/w_remainderf.c (__remainderf): Likewise.
26867 * math/libm-test.inc (remainder_test): Add test cases.
26868
48693bea
AK
268692011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26870
26871 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
26872 sdiv_qrnnd.
26873
42622229
LD
268742011-10-07 Ulrich Drepper <drepper@gmail.com>
26875
26876 * string/test-memcmp.c: Avoid unncessary #defines.
26877 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26878
093ecf92
LD
268792011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26880
26881 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
26882 Use new sse2 version for core i3 - i7 as it's faster
26883 than sse42 version.
26884 (bit_Prefer_PMINUB_for_stringop): New.
26885 * sysdeps/x86_64/rawmemchr.S: Update.
26886 Replace with faster SSE2 version.
26887 * sysdeps/x86_64/memrchr.S: New file.
26888 * sysdeps/x86_64/memchr.S: Update.
26889 Replace with faster SSE2 version.
26890
fde56e5c
MP
268912011-09-12 Marek Polacek <mpolacek@redhat.com>
26892
26893 * elf/dl-load.c (lose): Add cast to avoid warning.
26894
21fd49a9
UD
268952011-10-07 Ulrich Drepper <drepper@gmail.com>
26896
5a06e643
UD
26897 * po/ca.po: Update from translation team.
26898
684ae515
UD
26899 * inet/getnetgrent_r.c: Hook up nscd.
26900 * nscd/Makefile (routines): Add nscd_netgroup.
26901 (nscd-modules): Add netgroupcache.
26902 (CFLAGS-netgroupcache.c): Define.
26903 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
26904 (cache_search): Add const to second parameter.
26905 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
26906 INNETGR.
26907 (dbs): Add netgrdb entry.
26908 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
26909 (verify_persistent_db): Handle netgrdb.
26910 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
26911 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
26912 GETFDNETGR.
26913 (netgroup_response_header): Define.
26914 (innetgroup_response_header): Define.
26915 (datahead): Add netgroup_response_header and innetgroup_response_header
26916 elements.
26917 * nscd/nscd.conf: Add entries for netgroup cache.
26918 * nscd/nscd.h (dbtype): Add netgrdb.
26919 (_PATH_NSCD_NETGROUP_DB): Define.
26920 (netgroup_iov_disabled): Declare.
26921 (xmalloc, xcalloc, xrealloc): Move declarations here.
26922 (cache_search): Adjust prototype.
26923 Add netgroup-related prototypes.
26924 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
26925 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
26926 (__nscd_innetgr): Declare.
26927 * nscd/selinux.c (perms): Use access_vector_t as element type and
26928 add netgroup-related initializers.
26929 * nscd/netgroupcache.c: New file.
26930 * nscd/nscd_netgroup.c: New file.
26931 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
26932 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
26933 For four parameters use innetgr.
26934 * nss/nss_files/files-init.c: Add definition and callback for netgr.
26935 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
26936 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
26937 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
26938
21fd49a9
UD
26939 * nscd/connections.c (register_traced_file): Don't register file
26940 for disabled databases.
26941
054c0457
UD
269422011-10-06 Ulrich Drepper <drepper@gmail.com>
26943
32b63198
UD
26944 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
26945
054c0457
UD
26946 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
26947 from tree and freeing node.
26948
64031225
JO
269492011-09-25 Jiri Olsa <jolsa@redhat.com>
26950
26951 * nss/nsswitch.c (__nss_database_lookup): Handle
26952 nss_parse_service_list out of memory case.
26953
0490345c
JO
269542011-09-15 Jiri Olsa <jolsa@redhat.com>
26955
26956 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
26957 out of memory case.
26958
3a62d00d
AS
269592011-10-04 Andreas Schwab <schwab@redhat.com>
26960
26961 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
26962 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
26963 pass it down.
26964 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
26965 elf_machine_rela, elf_machine_lazy_rel.
26966 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
26967 (ELF_DYNAMIC_DO_REL): Likewise.
26968 (ELF_DYNAMIC_DO_RELA): Likewise.
26969 (ELF_DYNAMIC_RELOCATE): Likewise.
26970 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
26971 to ELF_DYNAMIC_DO_REL.
26972 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
26973 (dl_main): In trace mode always set __RTLD_NOIFUNC.
26974 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
26975 elf_machine_rela.
26976 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
26977 skip_ifunc, don't call ifunc function if non-zero.
26978 (elf_machine_rela): Likewise.
26979 (elf_machine_lazy_rel): Likewise.
26980 (elf_machine_lazy_rela): Likewise.
26981 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
26982 (elf_machine_lazy_rel): Likewise.
26983 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
26984 Likewise.
26985 (elf_machine_lazy_rel): Likewise.
26986 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26987 Likewise.
26988 (elf_machine_lazy_rel): Likewise.
26989 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
26990 (elf_machine_lazy_rel): Likewise.
26991 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
26992 (elf_machine_lazy_rel): Likewise.
26993 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26994 (elf_machine_lazy_rel): Likewise.
26995 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
26996 (elf_machine_lazy_rel): Likewise.
26997 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
26998 (elf_machine_lazy_rel): Likewise.
26999 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27000 (elf_machine_lazy_rel): Likewise.
27001
68577918
UD
270022011-09-28 Ulrich Drepper <drepper@gmail.com>
27003
27004 * nss/nss_files/files-init.c (_nss_files_init): Use static
27005 initialization for all the *_traced_file variables.
27006
68822d74
AS
270072011-09-28 Andreas Schwab <schwab@redhat.com>
27008
27009 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27010
2056100b
RM
270112011-09-27 Roland McGrath <roland@hack.frob.com>
27012
27013 [BZ #13226]
27014 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27015
32c76b63
AS
270162011-09-27 Andreas Schwab <schwab@redhat.com>
27017
27018 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27019 Reread the line before reparsing it.
27020
bf972c9d
AS
270212011-09-26 Andreas Schwab <schwab@redhat.com>
27022
27023 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27024
e057a1b5
JM
270252011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27026 Maxim Kuvyrkov <maxim@codesourcery.com>
27027 Joseph Myers <joseph@codesourcery.com>
27028
27029 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27030 if needed for __stack_chk_guard.
27031
bc7e1c36
RM
270322011-09-19 Roland McGrath <roland@hack.frob.com>
27033
ecb1482f
RM
27034 * sysdeps/posix/spawni.c (script_execute): Always define it.
27035 It will be optimized away if unused.
27036 (maybe_script_execute): New function.
27037 (__spawni): Call it.
27038
bc7e1c36
RM
27039 * Makerules: Don't include tls.make.
27040 (config-tls): Always set to thread.
27041 * tls.make.c: File removed.
27042
1c3b002b
MF
270432011-09-19 Mike Frysinger <vapier@gentoo.org>
27044
27045 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27046 * config.make.in (CPPFLAGS-config): New substituted variable.
27047
2840865d
UD
270482011-09-15 Ulrich Drepper <drepper@gmail.com>
27049
88738eb6
UD
27050 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27051
cbf645a6 27052 [BZ #13192]
2840865d
UD
27053 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27054 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27055
b402e91a
RM
270562011-09-15 Roland McGrath <roland@hack.frob.com>
27057
27058 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27059 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27060 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27061 (CALL_FAIL): Likewise.
27062 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27063 (CALL_FAIL): Macro removed.
27064 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27065
4c1a1f71
UD
270662011-09-15 Ulrich Drepper <drepper@gmail.com>
27067
27068 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27069 for __FINITE_MATH_ONLY__ == 1.
27070
edc121be
AS
270712011-09-15 Andreas Schwab <schwab@redhat.com>
27072
27073 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27074 __ieee754_sqrt instead of sqrt.
27075 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27076 __ieee754_sqrtf instead of sqrtf.
27077 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27078 __floorf instead of floorf.
27079 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27080 __floorf, __truncf instead of floorf, truncf.
27081
cd205654
UD
270822011-09-14 Ulrich Drepper <drepper@gmail.com>
27083
ee4d0315
UD
27084 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27085
cd205654
UD
27086 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27087 __extern_always_inline.
27088 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27089 32-bit.
27090
48b67d71
AS
270912011-09-14 Andreas Schwab <schwab@redhat.com>
27092
27093 * elf/rtld.c (dl_main): Also relocate in dependency order when
27094 doing symbol dependency testing.
27095
1ae12c75
AS
270962011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27097
27098 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27099 Always define `refsym'.
27100
995a80df
AS
271012011-09-13 Andreas Schwab <schwab@redhat.com>
27102
e529793b
AS
27103 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27104 (__FD_ELT): Renamed from __FDELT.
27105 * misc/bits/select2.h (__FD_ELT): Likewise.
27106 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27107 __FD_MASK instead of __FDELT, __FDMASK.
27108 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27109 Likewise.
27110 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27111 Likewise.
27112
52d4fef8
AS
27113 * elf/Makefile (gen-ldd): Fix pattern.
27114
995a80df
AS
27115 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27116 (init_tls): Likewise.
27117
8682f8b0
UD
271182011-09-12 Ulrich Drepper <drepper@gmail.com>
27119
27120 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27121
de82006d
AS
271222011-09-12 Andreas Schwab <schwab@redhat.com>
27123
a7c8e6a1
AS
27124 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27125 `struct cmsghdr *' instead of `void *'.
27126 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27127 Likewise.
27128
0f31fe77
AS
271292011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27130
27131 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27132 if non-absolute.
27133 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27134 ldd_rewrite_script.
0f31fe77 27135
32b4c839
UD
271362011-09-11 Ulrich Drepper <drepper@gmail.com>
27137
83cd1420
UD
27138 * configure.in: Remove --with-tls option.
27139 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27140 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27141 out in case it is missing.
27142 * sysdeps/ia64/elf/configure.in: Likewise.
27143 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27144 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27145 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27146 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27147 * sysdeps/sh/elf/configure.in: Likewise.
27148 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27149 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27150 * sysdeps/x86_64/elf/configure.in: Likewise.
27151 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27152 * sysdeps/mach/hurd/tls.h: Likewise.
27153
633f745d
UD
27154 [BZ #13067]
27155 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27156
f318beb8
UD
27157 [BZ #13090]
27158 * configure.in: Fix use of AC_INIT.
27159
32b4c839
UD
27160 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27161
3ce1f295
UD
271622011-09-10 Ulrich Drepper <drepper@gmail.com>
27163
bb016596
UD
27164 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27165 __set_errno.
8e58439c
UD
27166 * malloc/hooks.c: Likewise.
27167
aebae053 27168 [BZ #11929]
02d46fc4
UD
27169 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27170 variables statically.
27171 (narenas): Initialize.
27172 (list_lock): Initialize.
bb016596
UD
27173 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27174 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27175 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27176 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27177 Add initializers to main_arena and mp_.
27178 (malloc_state): Remove pagesize member. Change all users to use
27179 GLRO(dl_pagesize).
27180
27181 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27182 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27183 is always initialized.
27184
22a89187
UD
27185 * malloc/malloc.c: Removed unused configurations and dead code.
27186 * malloc/arena.c: Likewise.
27187 * malloc/hooks.c: Likewise.
02d46fc4 27188 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27189
d063d164
UD
27190 * include/tls.h: Removed. USE___THREAD must always be defined.
27191 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27192 * elf/dl-libc.c: Likewise.
27193 * elf/dl-tsd.c: Likewise.
27194 * include/errno.h: Likewise.
27195 * include/netdb.h: Likewise.
27196 * include/resolv.h: Likewise.
27197 * inet/herrno-loc.c: Likewise.
27198 * inet/herrno.c: Likewise.
27199 * malloc/arena.c: Likewise.
27200 * malloc/hooks.c: Likewise.
27201 * malloc/malloc.c: Likewise.
27202 * resolv/res-state.c: Likewise.
27203 * resolv/res_libc.c: Likewise.
27204 * sysdeps/i386/dl-machine.h: Likewise.
27205 * sysdeps/ia64/dl-machine.h: Likewise.
27206 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27207 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27208 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27209 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27210 * sysdeps/sh/dl-machine.h: Likewise.
27211 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27212 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27213 * sysdeps/unix/i386/sysdep.S: Likewise.
27214 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27215 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27216 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27217 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27218 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27219 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27220 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27221 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27222 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27223 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27224 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27225 * sysdeps/x86_64/dl-machine.h: Likewise.
27226 * tls.make.c: Likewise.
27227
3ce1f295
UD
27228 * configure.in: Remove --with-__thread option. Make tests for
27229 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27230 tls_model attribute fail if no support is available. Remove
27231 USE_IN_LIBIO.
27232 * Makeconfig: Adjust for dropped configure option. All features are
27233 now mandatory.
27234 * Makerules: Likewise.
27235 * Versions.def: Likewise.
27236 * argp/argp-fmtstream.c: Likewise.
27237 * argp/argp-fmtstream.h: Likewise.
27238 * argp/argp-help.c: Likewise.
27239 * assert/assert.c: Likewise.
27240 * config.h.in: Likewise.
27241 * config.make.in: Likewise.
27242 * configure: Likewise.
27243 * configure.in: Likewise.
27244 * csu/Versions: Likewise.
27245 * csu/init.c: Likewise.
27246 * elf/tst-audit2.c: Likewise.
27247 * elf/tst-tls10.c: Likewise.
27248 * elf/tst-tls10.h: Likewise.
27249 * elf/tst-tls11.c: Likewise.
27250 * elf/tst-tls12.c: Likewise.
27251 * elf/tst-tls14.c: Likewise.
27252 * elf/tst-tlsmod11.c: Likewise.
27253 * elf/tst-tlsmod12.c: Likewise.
27254 * elf/tst-tlsmod13.c: Likewise.
27255 * elf/tst-tlsmod13a.c: Likewise.
27256 * elf/tst-tlsmod14a.c: Likewise.
27257 * elf/tst-tlsmod15b.c: Likewise.
27258 * elf/tst-tlsmod16a.c: Likewise.
27259 * elf/tst-tlsmod16b.c: Likewise.
27260 * elf/tst-tlsmod7.c: Likewise.
27261 * elf/tst-tlsmod8.c: Likewise.
27262 * elf/tst-tlsmod9.c: Likewise.
27263 * gmon/gmon.c: Likewise.
27264 * grp/fgetgrent_r.c: Likewise.
27265 * grp/putgrent.c: Likewise.
27266 * hurd/fopenport.c: Likewise.
27267 * include/libc-symbols.h: Likewise.
27268 * include/tls.h: Likewise.
27269 * intl/gettextP.h: Likewise.
27270 * intl/loadinfo.h: Likewise.
27271 * locale/global-locale.c: Likewise.
27272 * locale/localeinfo.h: Likewise.
27273 * mach/devstream.c: Likewise.
27274 * malloc/arena.c: Likewise.
27275 * malloc/set-freeres.c: Likewise.
27276 * misc/err.c: Likewise.
27277 * misc/getttyent.c: Likewise.
27278 * misc/mntent_r.c: Likewise.
27279 * posix/getopt.c: Likewise.
27280 * posix/wordexp.c: Likewise.
27281 * pwd/fgetpwent_r.c: Likewise.
27282 * resolv/Versions: Likewise.
27283 * resolv/res_hconf.c: Likewise.
27284 * shadow/fgetspent_r.c: Likewise.
27285 * shadow/putspent.c: Likewise.
27286 * stdio-common/printf_fphex.c: Likewise.
27287 * stdio-common/tmpfile.c: Likewise.
27288 * stdlib/abort.c: Likewise.
27289 * stdlib/fmtmsg.c: Likewise.
27290 * sunrpc/auth_unix.c: Likewise.
27291 * sunrpc/clnt_perr.c: Likewise.
27292 * sunrpc/clnt_tcp.c: Likewise.
27293 * sunrpc/clnt_udp.c: Likewise.
27294 * sunrpc/clnt_unix.c: Likewise.
27295 * sunrpc/openchild.c: Likewise.
27296 * sunrpc/svc_simple.c: Likewise.
27297 * sunrpc/svc_tcp.c: Likewise.
27298 * sunrpc/svc_udp.c: Likewise.
27299 * sunrpc/svc_unix.c: Likewise.
27300 * sunrpc/xdr.c: Likewise.
27301 * sunrpc/xdr_array.c: Likewise.
27302 * sunrpc/xdr_rec.c: Likewise.
27303 * sunrpc/xdr_ref.c: Likewise.
27304 * sunrpc/xdr_stdio.c: Likewise.
27305
1248c1c4
PB
273062011-09-09 Ulrich Drepper <drepper@gmail.com>
27307
27308 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27309
273102011-07-03 Andreas Jaeger <aj@suse.de>
27311
27312 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27313 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27314 regenerate with gen-libm-tests.pl.
27315
273162010-05-12 Petr Baudis <pasky@suse.cz>
27317
27318 [BZ #11589]
27319 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27320 around j0() zero points by switching to j1().
27321 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27322 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27323 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27324 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27325
f22e1074
UD
273262011-09-09 Ulrich Drepper <drepper@gmail.com>
27327
f19009c1
UD
27328 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27329 instead of 0.
27330 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27331 instead of 0.
f19009c1
UD
27332 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27333 Patch in part by Pavel Roskin <proski@gnu.org>.
27334
3f8cc204
UD
27335 [BZ #13138]
27336 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27337 realloc.
27338 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27339 Free memory block if necessary.
27340
f22e1074
UD
27341 [BZ #12847]
27342 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27343 be NULL. Don't lock in this case.
27344
0a2349f9
RM
273452011-09-09 Roland McGrath <roland@hack.frob.com>
27346
27347 * elf/elf.h (ELFOSABI_GNU): New macro.
27348 (ELFOSABI_LINUX): Define to that.
27349
f3cdd467
DZ
273502011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27351
27352 * string/strncat.c (strncat): Undef the symbol in case it has been
27353 defined in bits/string.h.
27354
74718d13
UD
273552011-09-09 Ulrich Drepper <drepper@gmail.com>
27356
633e9e0f
UD
27357 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27358
0a2349f9 27359 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27360 link map.
27361
f9924780
AJ
273622011-08-17 Andreas Jaeger <aj@suse.de>
27363
27364 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27365
7f5517aa
PP
273662011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27367 Ian Lance Taylor <iant@google.com>
27368
27369 * math/libm-test.inc (lround_test): New testcase.
27370 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27371
762011fe
UD
273722011-09-08 Ulrich Drepper <drepper@gmail.com>
27373
92963737
UD
27374 * Makefile: Remove support for automatic cvs check-ins.
27375 * Makerules: Likewise.
27376 * config.make.in: Likewise.
27377 * configure.in: Likewise.
27378 * intl/Makefile: Likewise.
27379 * locale/Makefile: Likewise.
27380 * po/Makefile: Likewise.
27381 * posix/Makefile: Likewise.
27382 * sysdeps/gnu/Makefile: Likewise.
27383 * sysdeps/mach/hurd/Makefile: Likewise.
27384 * sysdeps/sparc/sparc32/Makefile: Likewise.
27385
b0727fd8
JS
27386 [BZ #13118]
27387 * posix/Makefile (bug-regex32-ENV): Define.
27388 Patch by John Stanley <jpsinthemix@verizon.net>.
27389
a0f33f99
UD
27390 * misc/Makefile (headers): Add bits/select2.h.
27391 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27392 * misc/bits/select2.h: New file.
27393 * include/bits/select2.h: New file.
27394 * debug/Makefile (routines): Add fdelt_chk.
27395 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27396 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27397 FD_ISSET.
27398 * debug/fdelt_chk.c: New file.
27399
762011fe
UD
27400 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27401 * wcsmbs/test-wmemcmp.c: Likewise.
27402 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27403 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27404
274052011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27406
27407 * string/Makefile (strop-tests): Add memcmp.
27408 * string/test-wmemcmp.c: New file.
27409 * string/test-memcmp.c: Add wmemcmp support.
27410
7f513ec8
RM
274112011-09-08 Roland McGrath <roland@hack.frob.com>
27412
0442afb4
RM
27413 [BZ #13153]
27414 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27415 2011-07-19 change.
27416
7f513ec8
RM
27417 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27418 garbage value in a __mach_port_mod_refs call in the cases of the
27419 task-self and thread-self ports.
27420
a12b2239
ST
274212011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27422
27423 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27424
610f9ab4
AS
274252011-09-08 Andreas Schwab <schwab@redhat.com>
27426
7f513ec8 27427 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27428
48882a1a
LD
274292011-09-07 Ulrich Drepper <drepper@gmail.com>
27430
b49865be
UD
27431 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27432
fdc86bc9
UD
27433 * elf/dl-libc.c (dlerror_run): Pass back error code from
27434 dl_catch_error.
27435
c966526a
UD
27436 [BZ #13123]
27437 * elf/dl-load.c (lose): Free l_origin if it is valid.
27438
48882a1a
LD
27439 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27440 names.
27441 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27442 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27443 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27444 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27445 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27446 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27447
77a2a8b4
AZ
274482011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27449
27450 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27451 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27452 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27453 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27454 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27455 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27456 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27457 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27458 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27459 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27460
24f579d8
AM
274612011-08-15 Alan Modra <amodra@gmail.com>
27462
27463 [BZ #13092]
27464 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27465 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27466 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27467 ppc_mcount to static-only-routines.
27468 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27469 __mcount_internal.
27470 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27471 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27472
3d4837df
UD
274732011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27474
27475 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27476 for finite and infinity parameters.
27477
22700377
WS
274782011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27479
27480 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27481 and add nop instructions for throughput optimization.
27482 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27483
5025581e
WS
274842011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27485
27486 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27487 aligned copy for power7 with vector-scalar instructions.
27488 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27489
08a300c9
L
274902011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27491
27492 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27493 AVX check.
27494
59178ef9
AS
274952011-09-07 Andreas Schwab <schwab@redhat.com>
27496
27497 [BZ #13144]
27498 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27499 last change.
27500
e38ba7ab
UD
275012011-09-07 Ulrich Drepper <drepper@gmail.com>
27502
27503 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27504 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27505 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27506 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27507 clock_gettime.
27508
d53a73ac
UD
275092011-09-06 Ulrich Drepper <drepper@gmail.com>
27510
fc8bffcc
UD
27511 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27512 Forgot to demangle the pointer.
27513
ceaa0c5d
UD
27514 * sysdeps/i386/sysdep.h: Define atom_text_section.
27515 * sysdeps/x86_64/sysdep.h: Likewise.
27516 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27517 section with atom_text_section.
27518 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27519 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27520 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27521 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27522 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27523
a77d3c17
UD
27524 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27525 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27526 already be defined. Change to take two parameters and don't assign
27527 result to variable. Adjust all users.
27528 Define INTERNAL_GETTIME if not already defined.
27529 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27530 call.
27531 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27532 HAVE_CLOCK_GETTIME_VSYSCALL.
27533 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27534
d53a73ac
UD
27535 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27536 gettimeofday vsyscall, just use time.
27537
a8f84144
AS
275382011-09-06 Andreas Schwab <schwab@redhat.com>
27539
27540 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27541 <errno.h>.
27542
ef606249
UD
275432011-09-06 Ulrich Drepper <drepper@gmail.com>
27544
27545 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27546 syscall on x86-64.
27547 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27548 syscall.
27549 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27550 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27551 syscall if possible.
27552
6585cb60
UD
275532011-09-05 Ulrich Drepper <drepper@gmail.com>
27554
27555 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27556 e_ident. Don't pass to find_mapsXX.
27557 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27558
a5f524e4
LD
275592011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27560
27561 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27562 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27563 * sysdeps/x86_64/multiarch/strchr.S: Update.
27564 Check bit_slow_BSF bit.
27565 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27566 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27567 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27568
554881ef
UD
275692011-09-05 Ulrich Drepper <drepper@gmail.com>
27570
d96de963
UD
27571 [BZ #13134]
27572 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27573 before glibc 2.15.
27574 (tryshell): Define.
27575 (__spawni): Change last parameter to be flag. Test
27576 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27577 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27578 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27579 * posix/spawni.c: Likewise.
27580 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27581 * posix/spawnp.c: Likewise. Change normal version to use
27582 SPAWN_XFLAGS_USE_PATH.
27583 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27584 SPAWN_XFLAGS_TRY_SHELL.
27585
d48e5868
UD
27586 [BZ #13150]
27587 * posix/glob.h: Remove gcc 1.x support.
27588
554881ef
UD
27589 [BZ #13068]
27590 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27591
693fb948
LD
275922011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27593
27594 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27595 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27596 strrchr-sse2-bsf
27597 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27598 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27599 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27600 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27601 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27602 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27603
1b48c537
UD
276042011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27605
49d42c37
UD
27606 * sysdeps/x86_64/wcscmp.S: New file.
27607
1b48c537
UD
27608 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27609 wcscmp-c wcscmp-sse2
27610 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27611 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27612 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27613 * wcsmbs/wcscmp.c: Allow renaming.
27614
15c95c5d
DM
276152011-09-05 David S. Miller <davem@davemloft.net>
27616
27617 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27618 stack slot, rather than the struct return pointer slot.
27619 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27620 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27622 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27623
2f0ad8f3
UD
276242011-09-05 Ulrich Drepper <drepper@gmail.com>
27625
d88ae418
UD
27626 * po/ja.po: Update from translation team.
27627
2f0ad8f3
UD
27628 [BZ #13144]
27629 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
27630 kernel in 64-bit binaries.
27631
5f4318d1
DM
276322011-09-01 David S. Miller <davem@davemloft.net>
27633
27634 * elf/elf.h (HWCAP_SPARC_*): Move to..
27635 * sysdeps/sparc/sysdep.h: this new file and add new values.
27636 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
27637 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
27638 _DL_HWCAP_COUNT to 24.
27639 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27640 entries.
27641 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
27642 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
27643 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
27644 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
27645 instead of magic constants.
27646 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27647
3ba57516
DM
276482011-08-31 David S. Miller <davem@davemloft.net>
27649
27650 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
27651 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
27652 Reimplement to do errno handling inline.
27653 (SYSCALL_ERROR_HANDLER): New macro.
27654 (__SYSCALL_STRING): Do not do errno handling in asm.
27655 (__CLONE_SYSCALL_STRING): Delete.
27656 (__INTERNAL_SYSCALL_STRING): Delete.
27657 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
27658 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
27659 (PSEUDO): Reimplement to do errno handling inline.
27660 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
27661 (SYSCALL_ERROR_HANDLER): New macro.
27662 (__SYSCALL_STRING): Do not do errno handling in asm.
27663 (__CLONE_SYSCALL_STRING): Delete.
27664 (__INTERNAL_SYSCALL_STRING): Delete.
27665 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
27666 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
27667 i386.
27668 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
27669 (inline_syscall*): Add 'err' argument.
27670 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
27671 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
27672 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
27673 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
27674
27675 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
27676 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
27677
2bc17433
AS
276782011-08-30 Andreas Schwab <schwab@redhat.com>
27679
27680 * elf/rtld.c (dl_main): Relocate objects in dependency order.
27681
fbeb5f4d
JO
276822011-08-29 Jiri Olsa <jolsa@redhat.com>
27683
27684 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
27685 directive.
27686
ad69cc26
DM
276872011-08-24 David S. Miller <davem@davemloft.net>
27688
27689 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
27690
39dd69df
AS
276912011-08-24 Andreas Schwab <schwab@redhat.com>
27692
27693 * elf/Makefile: Add rules to build and run unload8 test.
27694 * elf/unload8.c: New file.
27695 * elf/unload8mod1.c: New file.
27696 * elf/unload8mod1x.c: New file.
27697 * elf/unload8mod2.c: New file.
27698 * elf/unload8mod3.c: New file.
27699
27700 * elf/dl-close.c (_dl_close_worker): Reset private search list if
27701 it wasn't used.
27702
2c0b250a
DM
277032011-08-23 David S. Miller <davem@davemloft.net>
27704
27705 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
27706 subtract stack bias.
27707 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
27708 %sp not %fp in calculations.
27709 (_JMPBUF_UNWINDS_ADJ): Likewise.
27710
22044b48
DM
27711 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
27712 (aio_suspend): Call it to force an exception region around the
27713 AIO_MISC_WAIT() invocation.
27714
2cae4995
AS
277152011-08-23 Andreas Schwab <schwab@redhat.com>
27716
27717 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
27718 backslash.
27719
873a772e
AJ
277202011-07-04 Aurelien Jarno <aurelien@aurel32.net>
27721
27722 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
27723 protection macro.
27724 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
27725 and <dl-machine.h>.
27726 (Elf64_FuncDesc): Remove.
27727
25ad0df1
DM
277282011-08-22 David S. Miller <davem@davemloft.net>
27729
27730 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
27731 sigaltstack check, add missing cfi directives.
27732 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
27733 missing cfi directives, and sigaltstack handling.
27734
e888bcbe
AS
277352011-08-16 Andreas Schwab <schwab@redhat.com>
27736
27737 [BZ #11724]
27738 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
27739 object is seen twice.
27740 * elf/dl-fini.c (_dl_sort_fini): Likewise.
27741
27742 * elf/Makefile (distribute): Add tst-initorder2.c.
27743 (tests): Add tst-initorder2.
27744 (modules-names): Add tst-initorder2a tst-initorder2b
27745 tst-initorder2c tst-initorder2d. Add rules to build them.
27746 ($(objpfx)tst-initorder2.out): New rule.
27747 * elf/tst-initorder2.c: New file.
27748 * elf/tst-initorder2.exp: New file.
27749
87162f46
AS
277502011-08-22 Andreas Schwab <schwab@redhat.com>
27751
70538b7f
AS
27752 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
27753
f55ffe58
AS
27754 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
27755 dependencies back to end of function.
27756
87162f46
AS
27757 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
27758 $(elfobjdir)/ld.so.
27759
91b392a4
UD
277602011-08-21 Ulrich Drepper <drepper@gmail.com>
27761
27762 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
27763 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
27764 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
27765 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
27766 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
27767 of __vdso_gettimeofday.
27768 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
27769 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
27770 attribute_hidden.
27771 (_libc_vdso_platform_setup): Remove initialization of
27772 __vdso_gettimeofday and __vdso_time.
27773
5c43483f
UD
277742011-08-20 Ulrich Drepper <drepper@gmail.com>
27775
775a77e7
UD
27776 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
27777 and fgetc_unlocked.
27778 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
27779 getc_unlocked.
89f447ed 27780
49c74ba9
UD
27781 * elf/dl-open.c (add_to_global): Report additions to the global scope
27782 for LD_DEBUG=scopes.
27783 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 27784 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 27785
5c43483f
UD
27786 [BZ #13114]
27787 * stdio-common/Makefile (tests): Add bug24.
27788 * stdio-common/bug24.c: New file.
27789
a101b025
AJ
277902011-08-19 Andreas Jaeger <aj@suse.de>
27791
27792 [BZ #13114]
27793 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
27794 non-existant file when using close-on-exec mode.
27795
c88f1766
UD
277962011-08-20 Ulrich Drepper <drepper@gmail.com>
27797
0276a718
UD
27798 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
27799 the very first instruction.
27800
c88f1766
UD
27801 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
27802 the CFI state in the end.
27803 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
27804 inclusion of dl-trampoline.h.
27805 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
27806
51ccffa0
AS
278072011-08-19 Andreas Schwab <schwab@redhat.com>
27808
94d7165f
AS
27809 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
27810 expectations for long double.
27811
51ccffa0
AS
27812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
27813 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
27814
fd708658 278152011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
27816
27817 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
27818 artificual limit depends upon the system page size.
27819
44f0a71e
UD
278202011-08-17 Ulrich Drepper <drepper@gmail.com>
27821
27822 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
27823 * resolv/Makefile: Define CFLAGS-libresolv.
27824
8de79a24
AS
278252011-08-17 Andreas Schwab <schwab@redhat.com>
27826
27827 * nss/makedb.c (compute_tables): Make variables used in nested
27828 function static.
27829
27724598
UD
278302011-08-17 Ulrich Drepper <drepper@gmail.com>
27831
c5305d88
UD
27832 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
27833 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
27834 if buffer was too small.
27835
27724598
UD
27836 * elf/pldd.c (main): Attach to all threads in the process.
27837 Rewrite /proc handling to use *at functions.
27838
076fe015
UD
278392011-08-16 Ulrich Drepper <drepper@gmail.com>
27840
174baab3
UD
27841 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
27842 specifies first scope to show.
27843 (dl_open_worker): Update callers. Move printing scope of new
27844 object to before the relocation.
44f0a71e 27845 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
27846 * sysdeps/generic/ldsodefs.h: Update declaration.
27847
076fe015
UD
27848 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
27849 string for the scope number.
27850
a60df2c3
UD
278512011-08-14 Ulrich Drepper <drepper@gmail.com>
27852
27853 * nscd/servicescache.c (cache_addserv): Make sure written is always
27854 initialized.
27855
5e4287d1
RM
278562011-08-14 Roland McGrath <roland@hack.frob.com>
27857
85ae0589
RM
27858 * sysdeps/i386/i486/bits/atomic.h
27859 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
27860 statement expression, so as to suppress "set but not used" warning.
27861 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
27862
69f63097
RM
27863 * string/strncat.c (STRNCAT): Use prototype definition.
27864
675456ef
RM
27865 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
27866 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
27867 -Iprograms here.
27868 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
27869 (localedef-modules): Add localedef.
27870 (locale-modules): Add locale.
27871
5e4287d1
RM
27872 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
27873 * elf/rtld.c (dl_main): Invert order of assignment in last change,
27874 to avoid a warning.
27875
9c96ff23
DM
278762011-08-14 David S. Miller <davem@davemloft.net>
27877
27878 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
27879 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
27880
f9ddf089
UD
278812011-08-13 Ulrich Drepper <drepper@gmail.com>
27882
44f0a71e 27883 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
27884 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
27885 * elf/rtld.c (dl_main): Set l_name of vDSO.
27886 Call _dl_show_scope when DL_DEBUG_SCOPES.
27887 (process_dl_debug): Recognize scopes flag and also set it for all.
27888 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
27889 Declare _dl_show_scope.
27890
1dc27704
UD
27891 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
27892 (do_dlopen): Pass caller_dlopen to dl_open.
27893 (__libc_dlopen_mode): Initialize caller_dlopen.
27894
f9ddf089
UD
27895 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
27896 of libc. Make tolower call locale-independent. Optimize a bit by
27897 using isdigit instead of isalnum.
27898 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
27899
9ac533d3
UD
279002011-08-12 Ulrich Drepper <drepper@gmail.com>
27901
27902 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
27903 was a dependency or dynamically loaded.
27904
89edf2e9
UD
279052011-08-11 Ulrich Drepper <drepper@gmail.com>
27906
8e999d29
UD
27907 * intl/l10nflist.c: Allow architecture-specific pop function.
27908 * sysdeps/x86_64/l10nflist.c: New file.
27909
89edf2e9
UD
27910 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
27911 classification.
27912
14d96785
AS
279132011-08-10 Andreas Schwab <schwab@redhat.com>
27914
27915 * include/dirent.h: Add libc_hidden_proto for scandirat and
27916 scandirat64. Don't declare __scandirat64.
27917 * dirent/scandirat.c: Add libc_hidden_def.
27918 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
27919 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
27920
6761ac04
DM
279212011-08-10 David S. Miller <davem@davemloft.net>
27922
27923 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
27924 enum.
27925 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
27926 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
27927 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
27928
c55fbd1e
UD
279292011-08-09 Ulrich Drepper <drepper@gmail.com>
27930
27931 * Versions.def [libc]: Add GLIBC_2.15.
27932 * dirent/Makefile (routines): Add scandirat and scandirat64.
27933 * dirent/Versions [libc]: Export scandirat and scandirat64 for
27934 GLIBC_2.15.
27935 * dirent/dirent.h: Declare scandirat and scandirat64.
27936 * dirent/scandirat.c: New file.
27937 * dirent/scandirat64.c: New file.
27938 * sysdeps/wordsize-64/scandirat.c: New file.
27939 * sysdeps/wordsize-64/scandirat64.c: New file.
27940 * dirent/opendir.c: Define opendirat.
27941 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
27942 using scandirat.
27943 * dirent/scandir64.c: Adjust for scandir.c change.
27944 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
27945 __scandirat64, and __scandir_cancel_handler.
27946 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
27947 additional parameter and use openat instead of open (outside of ld.so).
27948 Add new __opendir as wrapper around __opendirat.
27949 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
27950 here without requiring old scandirat implementation.
27951
879165f2
UD
279522011-08-08 Ulrich Drepper <drepper@gmail.com>
27953
27954 * dirent/scandir.c (cancel_handler): Renamed to
27955 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
27956 defined. Adjust users.
27957 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
27958 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
27959
cb7e923b
UD
279602011-08-04 Ulrich Drepper <drepper@gmail.com>
27961
16292edd
UD
27962 * string/test-string.h (IMPL): Use __STRING to expand name and then
27963 stringify it.
27964
cb7e923b
UD
27965 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
27966 of cleanups.
27967
cff82933
LD
279682011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27969
27970 * string/Makefile: Update.
27971 (strop-tests): Append strncat.
27972 * string/test-wcscmp.c: New file.
27973 New comprehensive test for wcscmp.
27974 * string/test-strcmp.c: Update.
27975 (WIDE): New define.
27976
9be9bfcc
AS
279772011-07-22 Andreas Schwab <schwab@redhat.com>
27978
27979 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
27980 line.
27981
2e96f1c7
AS
279822011-07-26 Andreas Schwab <schwab@redhat.com>
27983
27984 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
27985 encoding to ACE if AI_IDN.
27986
85188888
JJ
279872011-08-01 Jakub Jelinek <jakub@redhat.com>
27988
27989 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
27990 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
27991
5fa16e9b
LD
279922011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27993
27994 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
27995 Fix overflow bug in strncat.
27996 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
27997
27998 * string/test-strncat.c: Update.
27999 Add new tests for checking overflow bugs.
28000
280012011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28002
28003 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28004 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28005 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28006 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28007 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28008 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28009 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28010 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28011 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28012
28013 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28014 (USE_AS_STRCAT): Define.
28015 Add strcat and strncat support.
28016 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28017
8c1a459f
AS
280182011-07-25 Andreas Schwab <schwab@redhat.com>
28019
28020 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28021 __n bigger than INT_MAX+1.
28022 (__strncmp_g): Likewise.
28023
bba33c28
UD
280242011-07-23 Ulrich Drepper <drepper@gmail.com>
28025
798be72d
UD
28026 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28027 * libio/stido.h: Likewise.
28028
8accd4dc
UD
28029 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28030 (AF_NFC): Define.
28031 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28032 (AF_NFC): Define.
28033
cbff0d96
UD
28034 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28035 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28036 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28037 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28038 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28039
9191c04a
UD
28040 [BZ #13021]
28041 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28042 installed.
28043
bba33c28
UD
28044 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28045 typo.
28046 (_dl_x86_64_save_sse): Likewise.
28047
90f139dd
UD
280482011-07-22 Ulrich Drepper <drepper@gmail.com>
28049
1aae088a
UD
28050 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28051 OSXSAVE.
28052 (_dl_x86_64_save_sse): Likewise.
28053
8e2045f5
UD
28054 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28055
90f139dd
UD
28056 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28057
1d002f25
AS
280582011-07-21 Andreas Schwab <schwab@redhat.com>
28059
28060 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28061 change.
28062 (_dl_x86_64_save_sse): Use correct AVX check.
28063
21137f89
UD
280642011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28065
28066 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28067 bug in strncpy/strncat.
28068 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28069
a65c0b7a
UD
280702011-07-21 Ulrich Drepper <drepper@gmail.com>
28071
28072 * string/tester.c (test_strcat): Add tests for different alignments
28073 of source and destination.
28074 (test_strncat): Likewise.
28075
6986b98a
UD
280762011-07-20 Ulrich Drepper <drepper@gmail.com>
28077
90bb2039
UD
28078 [BZ #12852]
28079 * posix/glob.c (glob): Check passed in values before using them in
28080 expressions to avoid some overflows.
28081 (glob_in_dir): Likewise.
28082
5644ef54
UD
28083 [BZ #13007]
28084 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28085 check for AVX enablement so that we don't crash with old kernels and
28086 new hardware.
28087 * elf/tst-audit4.c: Add same checks here.
28088 * elf/tst-audit6.c: Likewise.
28089
28090 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28091
bfc9dc9b
AS
280922011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28093
28094 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28095
702e64bb
UD
280962011-07-20 Ulrich Drepper <drepper@gmail.com>
28097
28098 * po/cs.po: Update from translation team.
28099 * po/bg.po: Likewise.
28100
295e904f
MP
281012011-07-12 Marek Polacek <mpolacek@redhat.com>
28102
28103 * misc/sys/cdefs.h: Add support for const attribute.
28104 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28105 to gnu_dev_{major,minor,makedev} functions.
28106
3ff94596
MP
281072011-07-20 Marek Polacek <mpolacek@redhat.com>
28108
28109 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28110
28b59fca
AS
281112011-07-20 Andreas Schwab <schwab@redhat.com>
28112
28113 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28114 strlen results.
28115
19df733e
AK
281162011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28117
28118 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28119 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28120 register in order to avoid conflicts with the soft frame pointer
28121 being held in r11 when necessary.
28122 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28123 (INTERNAL_VSYSCALL_NCS): Likewise.
28124
c8835729
MP
281252011-07-14 Marek Polacek <mpolacek@redhat.com>
28126
28127 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28128 * elf/dl-fini.c (_dl_fini): Adjust caller.
28129 * elf/dl-close.c (_dl_close_worker): Likewise.
28130 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28131
b902330c
MP
281322011-07-15 Marek Polacek <mpolacek@redhat.com>
28133
8991e135
MP
28134 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28135 "aux_cache->nlibs < 0".
28136
b902330c
MP
28137 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28138 in the reload-count case.
28139
99710781
LD
281402011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28141
28142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28143 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28144 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28145 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28146 * sysdeps/x86_64/multiarch/strcat.S: New file.
28147 * sysdeps/x86_64/multiarch/strncat.S: New file.
28148 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28149 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28150 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28151 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28152 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28153 (USE_AS_STRCAT): Define.
28154 Add strcat and strncat support.
28155 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28156 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28157 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28158 * string/strncat.c: Update.
28159 (USE_AS_STRNCAT): Define.
28160 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28161 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28162 and i7.
28163 * sysdeps/x86_64/multiarch/init-arch.h
28164 (bit_Prefer_PMINUB_for_stringop): New.
28165 (index_Prefer_PMINUB_for_stringop): Likewise.
28166 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28167 bit_Prefer_PMINUB_for_stringop.
28168
7dc6bd90
UD
281692011-07-19 Ulrich Drepper <drepper@gmail.com>
28170
28171 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28172 buffer64.
28173 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28174 of casting of buffer.
28175 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28176 buffer32 and buffer64.
28177 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28178 writes instead of casting of buffer.
28179 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28180 buffer32.
28181 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28182 casting of buffer.
28183
e0e72284
AS
281842011-07-19 Andreas Schwab <schwab@redhat.com>
28185
28186 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28187
feb1eb0b
UD
281882011-07-19 Ulrich Drepper <drepper@gmail.com>
28189
28190 * nscd/nscd.c (termination_handler): Don't do anything for a database
28191 if it has not yet been initialized.
28192
298711ff
UD
281932011-07-18 Ulrich Drepper <drepper@gmail.com>
28194
28195 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28196
281972011-07-15 Marek Polacek <mpolacek@redhat.com>
28198
28199 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28200
f9d68389
UD
282012011-07-18 Ulrich Drepper <drepper@gmail.com>
28202
28203 * po/nl.po: Update from translation team.
28204 * po/sv.po: Likewise.
28205
db290cf5
RM
282062011-07-16 Roland McGrath <roland@hack.frob.com>
28207
28208 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28209 now disallowed by GCC.
5c550700 28210
fd5e21c7
RM
28211 * configure.in (use-default-link): Default to yes if a test -shared
28212 link meets our qualifications.
28213 * configure: Regenerated.
28214
5c550700
RM
28215 * config.make.in (output-format): New variable.
28216 * configure.in: Check for ld --print-output-format support.
28217 * configure: Regenerated.
28218 * Makerules ($(common-objpfx)format.lds)
28219 [$(output-format) != unknown]: Just use $(output-format),
28220 instead of the linker-script munging.
28221
9fa2c032
RM
282222011-07-14 Roland McGrath <roland@hack.frob.com>
28223
a6928d51
RM
28224 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28225 of $(common-objpfx)shlib.lds.
28226 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28227
661607b3
RM
28228 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28229 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28230
9fa2c032
RM
28231 * configure.in (-z relro check): Adjust test code to add a large
28232 writable data section after it.
28233 * configure: Regenerated.
28234
defe9061
RM
282352011-07-11 Roland McGrath <roland@hack.frob.com>
28236
28237 * configure.in (-z relro check): Fix test code to make the variable
28238 truly const.
28239 * configure: Regenerated.
28240
319b9ad4
UD
282412011-07-11 Ulrich Drepper <drepper@gmail.com>
28242
28243 * nscd/nscd.h (struct traced_file): Define.
28244 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28245 elements. Add traced_files.
28246 (inotify_fd): Declare.
28247 (register_traced_file): Declare.
28248 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28249 (inotify_fd): Export.
28250 (resolv_conf_descr): Remove.
28251 (nscd_init): Move inotify descriptor creation to main.
28252 Don't register files for notification here.
28253 (register_traced_file): New function.
28254 (invalidate_cache): Don't use reset_res to determine whether to call
28255 res_init, go through the list of registered files.
28256 (main_loop_poll): The inotify descriptors are now stored in the
28257 structures for the traced files.
28258 (main_loop_epoll): Likewise
28259 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28260 to __nss_disable_nscd.
28261 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28262 for a database anymore. Check the records for all the registered
28263 files instead.
28264 * nss/Makefile (libnss_files-routines): Add files-init.
28265 (libnss_db-routines): Add db-init.
28266 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28267 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28268 * nss/nss_db/db-init.c: New file.
28269 * nss/nss_files/files-init.c: New file.
28270 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28271 __nss_lookup_function.
28272 (__nss_lookup_function): Call nss_load_library.
28273 (nss_load_all_libraries): New function.
28274 (__nss_disable_nscd): Take parameter with callback function for files
28275 to register. Set is_nscd. Load all the DSOs for the NSS modules
28276 used for the cached services.
28277 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28278 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28279 options for features to all the files in nscd.
28280
28281 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28282
23bee3e8
RM
282832011-07-10 Roland McGrath <roland@hack.frob.com>
28284
28285 * csu/elf-init.c (__libc_csu_init): Comment typo.
28286
46a5b7f0
UD
282872011-07-09 Ulrich Drepper <drepper@gmail.com>
28288
28289 * po/pl.po: Update from translation team.
28290 * po/ja.po: Likewise.
28291 * po/ru.po: Likewise.
28292 * po/ko.po: Likewise.
28293 * po/fr.po: Likewise.
28294
d30cf5bb
RM
282952011-07-09 Roland McGrath <roland@hack.frob.com>
28296
113ddea4
RM
28297 * configure.in (.ctors/.dtors header and trailer check):
28298 Use an empirical test on a built program.
28299 * configure: Regenerated.
28300
574920b4
RM
28301 * configure.in (-z relro check): Use an empirical test on a built DSO.
28302 Detect, but do not require, on ia64.
28303 * configure: Regenerated.
28304
d30cf5bb
RM
28305 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28306 Update tests that use readelf to use $READELF instead.
28307 * configure: Regenerated.
28308
8538fdb3
UD
283092011-07-08 Ulrich Drepper <drepper@gmail.com>
28310
28311 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28312 if the result is not used.
28313
04d08991
AJ
283142011-07-05 Andreas Jaeger <aj@suse.de>
28315
28316 [BZ#9696]
28317 * stdlib/tst-strtod.c: Add testcase.
28318
de283087
AD
283192011-07-07 Ulrich Drepper <drepper@gmail.com>
28320
4e5f31c8 28321 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28322 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28323 The latter has a higher limit. Take additional parameter to pass to
28324 the new function.
28325 (__pathconf): Pass file to __statfs_link_max.
28326 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28327 __statfs_link_max.
28328 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28329 __statfs_link_max.
28330
de283087
AD
28331 [BZ #12868]
28332 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28333 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28334 Handle Lustre.
28335 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28336 (__statfs_filesize_max): Likewise.
28337 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28338
c75fa153
AJ
283392011-07-05 Andreas Jaeger <aj@suse.de>
28340
28341 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28342
1a544854
UD
283432011-07-06 Marek Polacek <mpolacek@redhat.com>
28344
28345 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28346 `status' variable.
28347 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28348 Likewise.
28349
6f0eec67
UD
283502011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28351
28352 * Makefile (strop-tests): Add strncat.
28353 * string/test-strncat.c: New file.
28354
aae30307
UD
283552011-06-30 Marek Polacek <mpolacek@redhat.com>
28356
28357 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28358
c0cfb5eb
UD
283592011-06-21 Andreas Jaeger <aj@suse.de>
28360
28361 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28362 Copy rule from iconvdata/Makefile.
28363
01636b21
UD
283642011-07-06 Ulrich Drepper <drepper@gmail.com>
28365
28366 [BZ #12922]
28367 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28368 but no long options are defined, just return 'W'.
28369
9895c8bc
UD
283702011-06-22 Marek Polacek <mpolacek@redhat.com>
28371
28372 [BZ #9696]
28373 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28374
5d4cf042
UD
283752011-07-06 Ulrich Drepper <drepper@gmail.com>
28376
28377 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28378 netgroups to read.
960e5535 28379 (innetgr): Likewise.
5d4cf042 28380
751eb97e
RM
283812011-07-05 Roland McGrath <roland@hack.frob.com>
28382
28383 * config.make.in (install_root): Default to $(DESTDIR).
28384
f15f1e45
UD
283852011-07-05 Ulrich Drepper <drepper@gmail.com>
28386
28387 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28388
4e34ac6a
RM
283892011-07-02 Roland McGrath <roland@hack.frob.com>
28390
5e9b6af4
RM
28391 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28392
84f9ea0f
RM
28393 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28394 containing directory rather than embedding absolute directory names.
28395
ea5ee9f7
RM
28396 * scripts/check-local-headers.sh: Rewritten using awk.
28397 Match by word, not by line. Print error messages for matches.
28398 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28399
1b74661a
RM
28400 * Makerules [shlib-lds-flags empty]:
28401 ($(common-objpfx)libc_pic.opts): New target.
28402 ($(common-objpfx)libc_pic.os.clean): New target.
28403 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28404
28405 * config.make.in (OBJCOPY): New variable.
28406 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28407 * configure: Regenerated.
28408
f781ef40
RM
28409 * config.make.in (use-default-link): New variable.
28410 * configure.in (use_default_link): Grok --with-default-link to set it.
28411 * configure: Regenerated.
28412 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28413 (shlib-lds, shlib-lds-flags): Define to empty.
28414
2d4fa81e
RM
28415 * Makerules (shlib-lds): New variable.
28416 (shlib-lds-flags): New variable.
28417 (build-shlib, build-moduile, build-module-asneeded): Use it.
28418 ($(common-objpfx)libc.so): Use $(shlib-lds).
28419 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28420 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28421
31fffa6b
RM
28422 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28423 DT_FLAGS/DT_FLAGS_1 with zero flags.
28424
4e34ac6a
RM
28425 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28426 linker script munging.
28427
fcfc776b
UD
284282011-07-02 Ulrich Drepper <drepper@gmail.com>
28429
28430 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28431 as 128-bit value.
28432 * crypt/sha512.c (sha512_process_block): Perform total addition using
28433 128-bit if possible.
28434 (__sha512_finish_ctx): Likewise.
28435 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28436 as 64-bit value.
28437 * crypt/sha256.c (SWAP64): Define.
28438 (sha256_process_block): Perform total addition using 64-bit if
28439 possible.
28440 (__sha256_finish_ctx): Likewise.
28441
99231d9a
UD
284422011-07-01 Ulrich Drepper <drepper@gmail.com>
28443
28444 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28445 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28446 * nscd/hstcache.c (cache_addhst): Likewise.
28447 * nscd/grpcache.c (cache_addgr): Likewise.
28448 * nscd/aicache.c (addhstaiX): Likewise
28449 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28450
445b4a53
TK
284512011-07-01 Thorsten Kukuk <kukuk@suse.de>
28452
28453 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28454 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28455 * nscd/hstcache.c (cache_addhst): Likewise.
28456 * nscd/grpcache.c (cache_addgr): Likewise.
28457 * nscd/aicache.c (addhstaiX): Likewise
28458
6d4d8e8e
AS
284592011-07-01 Andreas Schwab <schwab@redhat.com>
28460
28461 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28462 domain only when needed.
28463
89f654c5
AS
284642011-06-30 Andreas Schwab <schwab@redhat.com>
28465
28466 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28467 is always restored.
28468
cf3b23ff
UD
284692011-06-29 Ulrich Drepper <drepper@gmail.com>
28470
28471 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28472 are re-adding the entry.
28473 * nscd/servicescache.c (cache_addserv): Likewise.
28474
751626f9
AJ
284752011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28476
28477 * sysdeps/generic/dl-irel.h: fix protection against multiple
28478 inclusions.
28479 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28480
9113ea1f
UD
284812011-06-28 Ulrich Drepper <drepper@gmail.com>
28482
5c0b8d90
UD
28483 [BZ #12935]
28484 * malloc/memusage.sh: Fix quoting in message.
28485 * debug/xtrace.sh: Likewise.
28486
9113ea1f
UD
28487 * configure.in: Remove support for --experimental-malloc option, make
28488 it the default.
28489 * config.make.in: Likewise.
28490 * malloc/Makefile: Likewise.
28491
a4172181
AS
284922011-06-27 Andreas Schwab <schwab@redhat.com>
28493
28494 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28495 two-byte characters.
28496
78a7eee7
RM
284972011-06-27 Roland McGrath <roland@hack.frob.com>
28498
62bede13
RM
28499 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28500 AC_CACHE_CHECK invocation.
28501 * configure: Regenerated.
28502
78a7eee7
RM
28503 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28504
5ce33a62
UD
285052011-06-27 Ulrich Drepper <drepper@gmail.com>
28506
034807a9
UD
28507 [BZ #12350]
28508 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28509 bit from old_res_options.
28510
4902da17
UD
28511 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28512
5ce33a62
UD
28513 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28514 value type for setfct.
28515
c2344f56
L
285162011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28517
28518 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28519 __gettimeofday instead of gettimeofday.
28520
68468076
UD
285212011-06-26 Ulrich Drepper <drepper@gmail.com>
28522
28523 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28524
acb0d739
L
285252011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28526
28527 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28528
28529 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28530 info.
28531
8912479f
L
285322011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28533
28534 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28535 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28536 strcpy-sse2-unaligned strncpy-sse2-unaligned
28537 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28538 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28539 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28540 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28541 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28542 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28543 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28544 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28545 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28546 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28547 (STRCPY): Support SSE2 and SSSE3 versions.
28548
d5495a11
UD
285492011-06-24 Ulrich Drepper <drepper@gmail.com>
28550
28551 [BZ #12874]
28552 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28553 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28554 kernels which artificially limit size of requests.
28555
0b1cbaae
L
285562011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28557
28558 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28559 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28560 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28561 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28562 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28563 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28564 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28565 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28566 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28567 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28568 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28569 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28570 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28571 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28572 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28573 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28574 Enable unaligned load optimization for Intel Core i3, i5 and i7
28575 processors.
28576 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28577 Define.
28578 (index_Fast_Unaligned_Load): Define.
28579 (HAS_FAST_UNALIGNED_LOAD): Define.
28580
07f494a0
MP
285812011-06-23 Marek Polacek <mpolacek@redhat.com>
28582
28583 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28584
fa3fc0fe
UD
285852011-06-22 Ulrich Drepper <drepper@gmail.com>
28586
28587 [BZ #12907]
28588 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28589 until it is clear that the information is realy needed.
28590 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28591
e12df166
AS
285922011-06-22 Andreas Schwab <schwab@redhat.com>
28593
28594 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28595
852eb34d
UD
285962011-06-22 Ulrich Drepper <drepper@gmail.com>
28597
84e2a551
UD
28598 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28599 /sys/devices/system/cpu/online if it is usable.
28600
852eb34d
UD
28601 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28602 reading the information from the /proc filesystem to once a second.
28603
6e502e19
UD
286042011-06-21 Andreas Jaeger <aj@suse.de>
28605
28606 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28607 NULL after inclusion of kernel headers.
28608
75d39ff2
UD
286092011-06-21 Ulrich Drepper <drepper@gmail.com>
28610
51f9aa6a
UD
28611 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28612 calls to internal_setent.
28613
c0244a9d
UD
28614 [BZ #12885]
28615 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28616 addresses using gethostbyname4_r ignore IPv4 addresses.
28617
c5e3c2ae
UD
28618 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28619 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28620
75d39ff2
UD
28621 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28622
42675c6f
DM
286232011-06-20 David S. Miller <davem@davemloft.net>
28624
28625 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28626 inclusions.
28627 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28628
28629 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
28630 (elf_irel): Use it.
28631 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
28632 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
28633 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
28634 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
28635 * sysdeps/x86_64/dl-irel.h: Likewise.
28636
28637 * elf/dl-runtime.c: Use elf_ifunc_invoke.
28638 * elf/dl-sym.c: Likewise.
28639
57912a71
UD
286402011-06-15 Ulrich Drepper <drepper@gmail.com>
28641
28642 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
28643 need to dereference resplen2.
28644
ee22793d
AS
286452011-06-14 Andreas Schwab <schwab@redhat.com>
28646
28647 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
28648
a9e836b0
UD
286492011-06-15 Ulrich Drepper <drepper@gmail.com>
28650
77fb9117
UD
28651 * Makeconfig: Define vardbdir and inst_vardbdir.
28652 * nss/Makefile: Add rules to install db-Makefile.
28653
40c1b22c
UD
28654 * nss/nss_db/db-XXX.c: Cleanup.
28655
9f2da732
UD
28656 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
28657 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
28658 GLIBC_PRIVATE.
28659 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
28660 * nss/makedb.c: Implement -g option to specify that value strings
28661 are generated and should not be added to table iterated over for
28662 get*ent calls.
28663 * nss/nss_db/db-initgroups.c: New file.
28664
82e9a1f7
UD
28665 * nss/getent.c: Add support for initgroups lookups through getgrouplist
28666 interface.
28667
c41af17e
UD
28668 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
28669 (internal_getgrouplist): Adjust to name change.
28670 Update use_initgroups_entry if this is not the first call.
28671 * nss/databases.def: Add initgroups entry.
28672
a9e836b0
UD
28673 * nss/makedb.c (compute_tables): Check result of multiple hash table
28674 sizes to minimize maximum chain length.
28675
2666d441
UD
286762011-06-14 Ulrich Drepper <drepper@gmail.com>
28677
28678 * Versions.def: Add entry for libnss_db.
28679 * shlib-versions: Likewise.
28680 * nss/Makefile: Add rules to build libnss_db.
28681 * nss/Versions: Add libnss_db information. Organize libnss_files
28682 entries better.
28683 * nss/db-Makefile: Add gshadow support. Change rules for the new
28684 makedb progra. Some minor improvements to generate smaller files.
28685 * nss/nss_db/nss_db.h: Move NSS database header data structures to
28686 here from...
28687 * nss/makedb.c: ...here.
28688 Improve database format to be smaller and require less memory at
28689 runtime.
28690 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
28691 db anymore.
28692 * nss/nss_db/db-netgrp.c: Likewise.
28693 * nss/nss_db/db-open.c: Likewise.
28694 * nss/nss_files/flies-XXX.x: Adjust comments.
28695 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
28696 * nss/nss_files/files-grp.c: Likewise.
28697 * nss/nss_files/files-hosts.c: Likewise.
28698 * nss/nss_files/files-network.c: Likewise.
28699 * nss/nss_files/files-proto.c: Likewise.
28700 * nss/nss_files/files-pwd.c: Likewise.
28701 * nss/nss_files/files-rpc.c: Likewise.
28702 * nss/nss_files/files-service.c: Likewise.
28703 * nss/nss_files/files-sgrp.c: Likewise.
28704 * nss/nss_files/files-spwd.c: Likewise.
28705 * nss/nss_db/db-alias.c: Removed.
28706 * nss/nss_db/dummy-db.h: Removed.
28707
9ee76b5a
UD
287082011-06-02 Ulrich Drepper <drepper@gmail.com>
28709
28710 * nss/makedb.c: Rewritten to not use database library.
28711 * nss/Makefile: Update to build new makedb program.
28712
c71ca1f8
AJ
287132011-06-14 Andreas Jaeger <aj@suse.de>
28714
28715 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
28716 memset declaration.
28717
3154bfb8
UD
287182011-06-10 Andreas Schwab <schwab@redhat.com>
28719
28720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
28721 tmpbuf.
28722
b350afab
RM
287232011-06-10 Roland McGrath <roland@hack.frob.com>
28724
decd4e50
RM
28725 * Makerules (shlib.lds): Fail if the linker script comes out empty.
28726 * elf/Makefile ($(objpfx)ld.so): Likewise.
28727
5615eaf2
RM
28728 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
28729 Don't list ld.so twice in dependencies.
28730
28731 * posix/bug-regex31.c: Include <stdlib.h>.
28732
28733 * nscd/hstcache.c (cache_addhst): Remove unused variable.
28734
28735 * nis/nss_compat/compat-spwd.c
28736 (getspent_next_nss_netgr): Remove unused variable.
28737 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
28738
28739 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
28740 nonmembers" output to use the right array.
28741
28742 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
28743
28744 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
28745
28746 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
28747 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
28748 * catgets/gencat.c (read_input_file): Likewise.
28749 * locale/programs/locarchive.c (enlarge_archive): Likewise.
28750
28751 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
28752 variable definition inside #if's controlling its use.
28753
28754 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
28755
28756 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
28757
28758 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
28759
28760 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
28761 unreachable code.
28762
28763 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
28764
b68e08db
RM
28765 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
28766 * configure: Regenerated.
28767
b350afab
RM
28768 * Makerules: Revert last change.
28769 * elf/Makefile: Likewise.
28770
28368601
RM
287712011-06-09 Roland McGrath <roland@hack.frob.com>
28772
28773 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
28774 * elf/Makefile ($(objpfx)librtld.os): Likewise.
28775 (reloc-link): Likewise.
28776
11988f8f
UD
287772011-06-09 Ulrich Drepper <drepper@gmail.com>
28778
28779 * elf/Makefile: Add rules to build pldd.
28780 * elf/pldd.c: New file.
28781 * elf/pldd-xx.c: New file.
28782
e80fab37
UD
287832011-06-07 Ulrich Drepper <drepper@gmail.com>
28784
28785 * version.h: Update for 2.15 development version.
28786
9b849836
DM
287872011-06-07 David S. Miller <davem@davemloft.net>
28788
28789 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
28790 ifuncs.
28791 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
28792 elf_machine_lazy_rel): Likewise.
28793 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28794 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
28795 elf_machine_lazy_rel): Likewise.
28796 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
28797 dl_hwcap via passed in argument.
28798 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
28799 Likewise.
28800
5a31b283
AK
288012011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28802
28803 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
28804
069e52f8
RM
288052011-06-06 Roland McGrath <roland@hack.frob.com>
28806
28807 [BZ #12849]
28808 * manual/fdl-1.1.texi: New file, verbatim from:
28809 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
28810 * manual/lgpl-2.1.texi: New file, verbatim from:
28811 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
28812 * manual/Makefile (licenses): New variable, list those new file names.
28813 (texis): Use it.
28814 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
28815
28816 * manual/fdl.texi: File removed.
28817 * manual/lesser.texi: File removed.
28818 * manual/libc.texinfo (Copying, Documentation License):
28819 Use new @include file names, put @appendix directive before @include.
28820
f16846a5
JJ
288212011-06-04 Jakub Jelinek <jakub@redhat.com>
28822
28823 [BZ #12841]
28824 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
28825 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
28826 (mq_open): Add __NTH.
28827
3d29045b
L
288282011-06-02 H.J. Lu <hongjiu.lu@intel.com>
28829
28830 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28831 Assume Intel Core i3/i5/i7 processor if AVX is available.
28832
8c297311
UD
288332011-05-31 Ulrich Drepper <drepper@gmail.com>
28834
28835 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
28836 typo.
28837
c8fc0c91
UD
288382011-05-31 Andreas Schwab <schwab@redhat.com>
28839
28840 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
28841 memory. Use alloca_account. Fix memory leak when retrying.
28842
5b27a807
UD
288432011-05-31 Ulrich Drepper <drepper@gmail.com>
28844
356f8bc6
UD
28845 * version.h (RELEASE): Bump for 2.14 release.
28846 * include/features.h (__GLIBC_MINOR__): Bump to 14.
28847
5b27a807
UD
28848 * config.make.in (RANLIB): Remove entry.
28849
01f16ab0
UD
288502011-05-30 Ulrich Drepper <drepper@gmail.com>
28851
41fce8bd
UD
28852 * po/Makefile (po-sed-cmd): Add ksh to extensions.
28853 (libc.pot): Work around missing support for .ksh extension in xgettext.
28854
4769ae77
UD
28855 [BZ #12684]
28856 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
28857 if both request failed.
28858 (send_dg): In case of server errors clear resplen or *resplen2.
28859
6b1e7d19
UD
28860 [BZ #12454]
28861 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
28862 when there are multiple maps.
28863 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
28864 (_dl_fini): Remove test here.
28865
01f16ab0
UD
28866 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
28867
b1ebd700
UD
288682011-05-29 Ulrich Drepper <drepper@gmail.com>
28869
7ae22829
UD
28870 [BZ #12350]
28871 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
28872 bit from old_res_options.
28873 (gaih_inet): Likewise.
28874
553149f6 28875 [BZ #11099]
18a84741 28876 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
28877 as signed.
28878
652ffab1
UD
28879 * resolv/res_init.c (res_setoptions): Make the code more compact.
28880
16985fd0
UD
28881 [BZ #11558]
28882 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
28883 set RES_USEVC.
28884
0464f746
UD
28885 [BZ #11634]
28886 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
28887
7d17596c
UD
28888 * malloc/malloc.h: Mark malloc hook variables as deprecated.
28889
cf6bbbd7
UD
28890 [BZ #11781]
28891 * malloc/malloc.h: Declare malloc hook variables as volatile.
28892
13f1ab36
UD
28893 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
28894 in last patch.
28895
b1ebd700
UD
28896 [BZ #11799]
28897 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 28898 raise in the comment.
80e2212d
UD
28899 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28900 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28901 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 28902
ce67228d
UD
289032011-05-28 Ulrich Drepper <drepper@gmail.com>
28904
8887a920
UD
28905 [BZ #12811]
28906 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
28907 grow the buffers more if it already has to be sufficient.
28908 (build_wcs_upper_buffer): Likewise.
28909 * posix/regexec.c (check_matching): Likewise.
28910 (clean_state_log_if_needed): Likewise.
28911 (extend_buffers): Don't enlarge buffers beyond size of the input
28912 buffer.
28913 Patches mostly by Emil Wojak <emil@wojak.eu>.
28914 * posix/bug-regex32.c: New file.
28915 * posix/Makefile (tests): Add bug-regex32.
28916
4f031072
UD
28917 * locale/findlocale.c (_nl_find_locale): Return right away if
28918 _nl_explode_name failed.
28919 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
28920
d0478f0c
UD
28921 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
28922
de81b246
UD
28923 * debug/xtrace.sh: Unify messages.
28924 * malloc/memusage.sh: Likewise.
28925
c738465a
UD
28926 [BZ #12813]
28927 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
28928 time symbol from vDSO. Substitute with vsyscall if not available.
28929 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
28930 __vdso_time.
28931
f1f929d7
UD
28932 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
28933 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
28934 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
28935 Add sendmmsg and internal_sendmmsg.
28936 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
28937 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
28938 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
28939
ce67228d
UD
28940 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
28941 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
28942 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
28943
e57420c6
UD
289442011-05-27 Ulrich Drepper <drepper@gmail.com>
28945
a8509ca5
UD
28946 [BZ #12813]
28947 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
28948 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
28949 available.
28950 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
28951 __vdso_getcpu.
28952
e57420c6
UD
28953 [BZ #12814]
28954 * iconvdata/Makefile (tests): Add bug-iconv9.
28955 * iconvdata/bug-iconv9.c: New file.
28956
4d07db15
AS
289572011-05-27 Andreas Schwab <schwab@redhat.com>
28958
28959 [BZ #12814]
28960 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
28961
ea486f69
JJ
289622011-05-25 Jakub Jelinek <jakub@redhat.com>
28963
28964 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
28965 (struct user_regs_struct): Change intcs field back to cs.
28966
6f038433
UD
289672011-05-25 Ulrich Drepper <drepper@gmail.com>
28968
28969 * po/ja.po: Update from translation team.
28970
67f86a25
UD
289712011-05-23 Ulrich Drepper <drepper@gmail.com>
28972
28973 [BZ #12795]
28974 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
28975 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
28976
def7fbd6
AS
289772011-05-20 Andreas Schwab <schwab@redhat.com>
28978
28979 * stdlib/longlong.h: Update from GCC.
28980
f50ef8f1
AS
289812011-05-23 Andreas Schwab <schwab@redhat.com>
28982
28983 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
28984 parameter name.
28985 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
28986 Add parameter name.
28987 (__sysconf): Pass it down.
28988
de7ce8f1
UD
289892011-05-22 Ulrich Drepper <drepper@gmail.com>
28990
f2962a71
UD
28991 [BZ #12671]
28992 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
28993 some situations.
28994 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28995 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
28996 add in in __libc_use_alloca calls. Adjust callers.
28997 (glob): Use malloc in some situations.
28998
de7ce8f1
UD
28999 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29000 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29001 pltexit.
29002
aec84f53
UD
290032011-05-21 Ulrich Drepper <drepper@gmail.com>
29004
05bb4a68
UD
29005 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29006 and CLOCK_BOOTTIME_ALARM.
29007
7ea72f99
UD
29008 [BZ #12782]
29009 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29010 is returned.
29011
7e4afad5
UD
29012 * string/_strerror.c (__strerror_r): Print negative errors as signed
29013 numbers.
29014
8e211fec
UD
29015 [BZ #12777]
29016 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29017 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29018 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29019
f7d82dc9
UD
29020 * configure.in: Fix typo in redirection and correct removal of test
29021 files in two cases.
29022
cc9e536d
UD
29023 [BZ #12788]
29024 * locale/setlocale.c (new_composite_name): Fix test to check for
29025 identical name of all categories.
29026
aec84f53
UD
29027 [BZ #12792]
29028 * libio/filedoalloc.c (local_isatty): New function.
29029 (_IO_file_doallocate): Use local_isatty.
29030 * stdio-common/perror.c (perror): In case a new stream is used
29031 forward the stream error.
29032 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29033 error flag.
29034
78e64fdc
RT
290352011-05-20 Ulrich Drepper <drepper@gmail.com>
29036
34a9094f
UD
29037 [BZ #11869]
29038 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29039 alloca.
29040 * include/alloca.h (extend_alloca_account): Define.
29041
78e64fdc
RT
29042 [BZ #11857]
29043 * posix/regex.h: Fix comments with documentation of user-accessible
29044 fields after compilation and describe correct free'ing of pattern
29045 after re_compile_pattern.
29046 Patch by Reuben Thomas <rrt@sc3d.org>.
29047
457bddfc
RA
290482011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29049
29050 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29051 and -mno-altivec to prevent the compiler from using Altivec and/or
29052 VSX instructions when the corresponding registers are not available.
29053
a4527b51
AS
290542011-05-19 Andreas Schwab <schwab@redhat.com>
29055
29056 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29057
ed690b2f
UD
290582011-05-19 Ulrich Drepper <drepper@gmail.com>
29059
29060 * libio/freopen.c (freopen): Use __dup2, not dup2.
29061 * libio/freopen64.c (freopen64): Likewise.
29062
8db73634
L
290632011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29064
29065 [BZ #12775]
29066 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29067 * math/Makefile (tests): Add test-powl.
29068 (CFLAGS-test-powl.c): Define.
29069 * math/test-powl.c: New file.
29070
0a197a9d
L
290712011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29072
29073 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29074
ee30c380
UD
290752011-05-17 Ulrich Drepper <drepper@gmail.com>
29076
29077 [BZ #11837]
29078 * iconvdata/gb18030.c: Update to GB18020-2005.
29079
6ce75379
UD
290802011-05-16 Ulrich Drepper <drepper@gmail.com>
29081
a4b89fd8
AR
29082 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29083 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29084 Patch by Aharon Robbins <arnold@skeeve.com>.
29085
ea389b12
UD
29086 [BZ #11892]
29087 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29088 on the stack.
29089
68a3f91f
UD
29090 [BZ #11895]
29091 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29092 through underflows.
29093
15cc7dd1
UD
29094 [BZ #12766]
29095 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29096 point to strings before performing equality test for error_one_per_line
29097 mode.
29098
f3799213
UD
29099 [BZ #11697]
29100 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29101
d79a9c94
UD
29102 [BZ #11820]
29103 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29104 (struct user_fpregs_struct): Avoid __uint*_t types.
29105
56e5eb46
UD
29106 [BZ #6420]
29107 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29108 symbol info. Use it instead of calling _dl_addr locally.
29109 (lock_and_info): New function.
29110 (tr_freehook): Call lock_and_info and pass symbol info as additional
29111 parameter to tr_where.
29112 (tr_mallochook): Likewise.
29113 (tr_reallochook): Likewise.
29114 (tr_memalignhook): Likewise.
29115
6ce75379
UD
29116 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29117 used and couldn't be at all thread-safe.
29118
f8a3b5bf
UD
291192011-05-15 Ulrich Drepper <drepper@gmail.com>
29120
94b7cc37
UD
29121 * libio/freopen.c (freopen): Don't close old file descriptor
29122 before the new one is opened. Instead dup the new file descriptor
29123 to the old one after the new stream is created.
29124 * libio/freopen64.c (freopen64): Likewise.
29125 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29126 * libio/fileops.c (_IO_new_file_close_it): Handle new
29127 _IO_FLAGS2_NOCLOSE flag.
29128 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29129 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29130 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29131 _IO_FLAGS2_NOCLOSE flag.
29132 * include/unistd.h: Add hidden_proto for dup3.
29133 Define __have_dup3.
29134 * io/dup3.c: Define hidden symbol.
29135 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29136
bd25564e
UD
29137 [BZ #7101]
29138 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29139 when an incomplete long option is used.
29140 * posix/tst-getopt_long1.c: New file.
29141 * posix/Makefile (tests): Add tst-getopt_long1.
29142
c84cfef4
UD
29143 [BZ #10138]
29144 * scripts/config.guess: Update from autoconf-2.68.
29145 * scripts/config.sub: Likewise.
29146
3b85df27
UD
29147 [BZ #10157]
29148 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29149 tests into ...
29150 (has_cpuclock): ...this. New function.
29151 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29152 macro here based on has_cpuclock code.
29153
15a856b1
UD
29154 [BZ #10149]
29155 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29156 First byte (not low byte) is now always NUL.
29157 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29158
05f399e6
UD
29159 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29160 Use non-cancelable interfaces.
29161
10a52685 29162 [BZ #9809]
94ecc67d
UD
29163 * locale/iso-639.def: Add entry for Sorani.
29164
f8a3b5bf
UD
29165 [BZ #11901]
29166 * include/stdlib.h: Move include protection to the right place.
29167 Define abort_msg_s. Declare __abort_msg with it.
29168 * stdlib/abort.c (__abort_msg): Adjust type.
29169 * assert/assert.c (__assert_fail_base): New function. Majority
29170 of code from __assert_fail. Allocate memory for __abort_msg with
29171 mmap.
29172 (__assert_fail): Now call __assert_fail_base.
29173 * assert/assert-perr.c: Remove bulk of implementation. Use
29174 __assert_fail_base.
29175 * include/assert.hL Declare __assert_fail_base.
29176 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29177 mmap.
29178 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29179
1af4e298
UD
291802011-05-14 Ulrich Drepper <drepper@gmail.com>
29181
f8a3b5bf 29182 [BZ #11952]
d26dfc60
MG
29183 [BZ #12453]
29184 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29185 until all modules are registered in the DTV.
29186 * elf/Makefile: Add rules to build and run tst-tls19.
29187 * elf/tst-tls19.c: New file.
29188 * elf/tst-tls19mod1.c: New file.
29189 * elf/tst-tls19mod2.c: New file.
29190 * elf/tst-tls19mod3.c: New file.
29191 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29192
2fc54d6f
UD
29193 [BZ #12083]
29194 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29195 correctly.
29196
98d76b46
UD
29197 [BZ #12601]
29198 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29199 two-byte sequence errors.
29200 * iconvdata/Makefile (tests): Add bug-iconv8.
29201 * iconvdata/bug-iconv8.c: New file.
29202
da3c19ef
UD
29203 [BZ #12626]
29204 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29205 buf2 definition.
29206
ca408c15
UD
29207 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29208
d6f67f7d
UD
29209 [BZ #12432]
29210 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29211 (dummy_getcfa): New function.
29212 (init): Get _Unwind_GetCFA address, use dummy if not found.
29213 (backtrace_helper): In recursion check, also check whether CFA changes.
29214 (__backtrace): Completely initialize arg.
29215
1af4e298 29216 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29217 storing incomplete byte sequence in state object. Avoid testing for
29218 guaranteed too small input if we know there is enough data available.
1af4e298 29219
da62f81b
AS
292202011-05-11 Andreas Schwab <schwab@redhat.com>
29221
29222 * Makeconfig (+link-pie): Indent.
29223 * Rules (binaries-pie): Define if $(have-fpie) and
29224 $(build-shared).
29225 (binaries-shared): Also filter out $(binaries-pie).
29226 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29227 * nscd/Makefile (others-pie): Add nscd.
29228 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29229 ($(objpfx)nscd): Remove command override.
29230 * login/Makefile (others-pie): Add pt_chown.
29231 ($(objpfx)pt_chown): Remove command override.
29232 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29233 remove command overrides.
29234
fcabc0f8
UD
292352011-05-13 Ulrich Drepper <drepper@gmail.com>
29236
20030ae6
UD
29237 * libio/tst_putwc.c: Fix error messages.
29238
fcabc0f8
UD
29239 [BZ #12724]
29240 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29241 currently writing and seek to current position when not.
29242 * libio/Makefile (tests): Add bug-fclose1.
29243 * libio/bug-fclose1.c: New file.
29244
320a5dc0
PB
292452011-05-12 Ulrich Drepper <drepper@gmail.com>
29246
29247 [BZ #12511]
29248 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29249 don't set DF_1_NODELETE here.
29250 (do_lookup_x): When entering new entry test for copy relocation
29251 and if necessary set DF_1_NODELETE flag.
29252 * elf/tst-unique4.cc: New file.
29253 * elf/tst-unique4.h: New file.
29254 * elf/tst-unique4lib.cc: New file.
29255 * elf/Makefile: Add rules to build and run tst-unique4.
29256 Patch by Piotr Bury <pbury@goahead.com>.
29257
22836f52
UD
292582011-05-11 Ulrich Drepper <drepper@gmail.com>
29259
f574184a
UD
29260 [BZ #12052]
29261 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29262
e1fb097f
UD
29263 [BZ #12625]
29264 * misc/mntent_r.c (addmntent): Flush the stream after the output
29265
22836f52
UD
29266 [BZ #12393]
29267 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29268 (is_trusted_path_normalize): Skip initial colon. Append slash
29269 to empty buffer. Duplicate is_trusted_path code but allow
29270 constructed patch to be prefix.
29271 (is_dst): Allow $ORIGIN followed by /.
29272 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29273 Correct testing of result of is_trusted_path_normalize
29274 (decompose_rpath): Fix warning.
29275
7b3b0b2a
UD
292762011-05-10 Ulrich Drepper <drepper@gmail.com>
29277
29278 [BZ #11257]
29279 * grp/initgroups.c (internal_getgrouplist): When we found the service
29280 list through the initgroups entry in nsswitch.conf do not always
29281 continue on a successful lookup. Don't always use the
eac80ce2 29282 __nss_group_database value if it is set.
7b3b0b2a
UD
29283 * nss/nsswitch.conf (initgroups): Change action for successful db
29284 lookup to continue for compatibility.
29285
2a81eaa5
UD
292862011-05-09 Ulrich Drepper <drepper@gmail.com>
29287
be97a69e
UD
29288 [BZ #11532]
29289 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29290 and CP774 modules.
29291 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29292 and CP774 modules.
29293 * iconvdata/tst-tables.sh: Likewise.
29294 * iconvdata/cp770.c: New file.
29295 * iconvdata/cp771.c: New file.
29296 * iconvdata/cp772.c: New file.
29297 * iconvdata/cp773.c: New file.
29298 * iconvdata/cp774.c: New file.
29299 * iconvdata/testdata/CP770: New file.
29300 * iconvdata/testdata/CP770..UTF8: New file.
29301 * iconvdata/testdata/CP771: New file.
29302 * iconvdata/testdata/CP771..UTF8: New file.
29303 * iconvdata/testdata/CP772: New file.
29304 * iconvdata/testdata/CP772..UTF8: New file.
29305 * iconvdata/testdata/CP773: New file.
29306 * iconvdata/testdata/CP773..UTF8: New file.
29307 * iconvdata/testdata/CP774: New file.
29308 * iconvdata/testdata/CP774..UTF8: New file.
29309
29310 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29311 END CHARMAP line.
29312 * iconvdata/gen-8bit-gap.sh: Likewise.
29313 * iconvdata/gen-8bit.sh: Likewise.
29314
c1e9e399
UD
29315 * locale/iso-639.def: Add ary entry.
29316
24c55fb3 29317 [BZ #11258]
96b4b1b0
UD
29318 * locale/C-translit.h.in: Add U20A1 transliteration.
29319
bdc2f971
KB
29320 [BZ #12178]
29321 * locale/iso-639.def: Add wae entry.
29322 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29323
2952b117
UD
29324 [BZ #12545]
29325 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29326 for n.
29327
2a81eaa5
UD
29328 [BZ #12711]
29329 * locale/C-translit.h.in: Add entry for U20B9.
29330 Patch by pravin.d.s@gmail.com.
29331
28377d1b
UD
293322011-05-08 Ulrich Drepper <drepper@gmail.com>
29333
7fb90fb8
UD
29334 [BZ #12713]
29335 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29336 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29337 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29338 in rtld. Use *stat64.
7fb90fb8 29339 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29340 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29341 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29342 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29343 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29344 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29345 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29346 __fstatat64 macros.
7fb90fb8
UD
29347 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29348 * dirent/rewinddir.c: Add libc_hidden_def.
29349 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29350 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29351
28377d1b
UD
29352 * include/dirent.h (__alloc_dir): Add flags parameter.
29353 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29354 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29355 __alloc_dir.
29356 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29357 from fdopendir if O_CLOEXEC is already set.
29358
66bdbaa4
AM
293592011-03-15 Alan Modra <amodra@gmail.com>
29360
29361 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29362 l_tls_firstbyte_offset non-zero. Save padding offset in
29363 l_tls_firstbyte_offset for later use.
29364 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29365 freeing static tls block.
29366
95721191
JN
293672011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29368
29369 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29370 where #ifdef was intended. The intent is to prevent ARG_MAX from
29371 being defined by the kernel headers.
29372
f87dfb1f
UD
293732011-05-07 Ulrich Drepper <drepper@gmail.com>
29374
29375 [BZ #12734]
29376 * resolv/resolv.h: Define RES_NOTLDQUERY.
29377 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29378 no-tld-query and set RES_NOTLDQUERY.
29379 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29380 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29381 modern BIND to search name as TLD unless forbidden.
29382
47c3cd7a
UD
293832011-05-07 Petr Baudis <pasky@suse.cz>
29384 Ulrich Drepper <drepper@gmail.com>
29385
29386 [BZ #12393]
29387 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29388 (is_trusted_path): ...to here.
c1e9ea35 29389 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29390 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29391 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29392
8a35c912
PP
293932011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29394
29395 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29396 __BEGIN/__END_DECLS.
29397
acd41f47
UD
293982011-05-06 Ulrich Drepper <drepper@gmail.com>
29399
29400 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29401 NSS_STATUS_NOTFOUND if no record was found.
29402
597df647
AS
294032011-05-05 Andreas Schwab <schwab@redhat.com>
29404
29405 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29406 (headers-not-in-tirpc): Remove rpc/netdb.h
29407 * resolv/netdb.h: Revert last change.
29408
b9af1301
PP
294092011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29410
29411 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29412 circular dependency between libgcc.a and libc.a.
29413
4e34d5f5
AS
294142011-05-05 Andreas Schwab <schwab@redhat.com>
29415
29416 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29417 * nis/Makefile: Don't install rpcsvc/*.
29418 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29419 instead of <rpc/types.h>.
29420 (MAXHOSTNAMELEN): Define.
29421
00ee369c
AS
294222011-05-03 Andreas Schwab <schwab@redhat.com>
29423
29424 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29425
0b592a30
MB
294262011-04-28 Maciej Babinski <mbabinski@google.com>
29427
29428 [BZ #12714]
29429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29430 gethostbyname4_r when IPv6 results are possible.
29431
6e04cbbe
UD
294322011-05-02 Ulrich Drepper <drepper@gmail.com>
29433
29434 [BZ #12723]
29435 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29436 _PC_PIPE_BUF handling.
29437
e4ecafe0
BH
294382011-04-30 Bruno Haible <bruno@clisp.org>
29439
29440 [BZ #12717]
29441 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29442 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29443 to 'int'.
29444 * inet/getnameinfo.c (getnameinfo): Likewise.
29445
125ee683
UD
294462011-04-29 Ulrich Drepper <drepper@gmail.com>
29447
29448 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29449 to groups setting in database lookup.
29450 * nss/nsswitch.conf: Add initgroups entry.
29451
b722481a
EB
294522011-04-22 Ulrich Drepper <drepper@gmail.com>
29453
29454 [BZ #12685]
29455 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29456 mode string.
29457 Patch by Eric Blake <eblake@redhat.com>.
29458
4df46dbd
L
294592011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29460
29461 * sunrpc/Makefile (need-export-routines): Add svc_run.
29462 (routines): Remove svc_run.
29463 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29464 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29465 * sunrpc/svc_run.c (svc_run): Likewise.
29466 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29467
e84142d2
UD
294682011-04-21 Ulrich Drepper <drepper@gmail.com>
29469
29470 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29471 problem in reallocation in last patch.
29472
877175d8
UD
294732011-04-20 Ulrich Drepper <drepper@gmail.com>
29474
29475 * sunrpc/Makefile: Move inclusion of Rules.
29476
ab8eed78
UD
294772011-04-19 Ulrich Drepper <drepper@gmail.com>
29478
29479 * nss/nss_files/files-initgroups.c: New file.
29480 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29481 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29482 _nss_files_initgroups_dyn.
29483
e3d8f584
RS
294842011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29485
29486 * elf/elf.h (R_ARM_IRELATIVE): Define.
29487
af190f45
UD
294882011-04-19 Ulrich Drepper <drepper@gmail.com>
29489
29490 * po/ru.po: Update from translation team.
29491
53cf59ef
UD
294922011-04-17 Ulrich Drepper <drepper@gmail.com>
29493
29494 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29495 dependencies.
29496
4c559bcd
MF
294972011-02-06 Mike Frysinger <vapier@gentoo.org>
29498
29499 [BZ #12653]
29500 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29501 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29502 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29503 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29504 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29505
4420675c
AS
295062011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29507
29508 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29509 differing bytes.
29510 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29511 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29512 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29513
75ea32ab
UD
295142011-04-17 Ulrich Drepper <drepper@gmail.com>
29515
29516 [BZ #12420]
29517 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29518 storing it.
29519 * stdlib/bug-getcontext.c: New file.
29520 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29521
27390476
AK
295222011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29523
29524 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29525 instructions into .machine "z9-109".
29526 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29527 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29528
10442705
AK
295292011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29530
29531 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29532 between environment variables and auxiliary vector.
29533
7b57bfe5
UD
295342011-04-16 Ulrich Drepper <drepper@gmail.com>
29535
29536 * Makefile: Add rules to build linkobj/libc.so.
29537 * include/libc-symbols.h: Define libc_hidden_nolink.
29538 * include/rpc/auth.h: Mark functions which are to be hidden.
29539 * include/rpc/auth_des.h: Likewise.
29540 * include/rpc/auth_unix.h: Likewise.
29541 * include/rpc/clnt.h: Likewise.
29542 * include/rpc/des_crypt.h: Likewise.
29543 * include/rpc/key_prot.h: Likewise.
29544 * include/rpc/pmap_clnt.h: Likewise.
29545 * include/rpc/pmap_prot.h: Likewise.
29546 * include/rpc/pmap_rmt.h: Likewise.
29547 * include/rpc/rpc_msg.h: Likewise.
29548 * include/rpc/svc.h: Likewise.
29549 * include/rpc/svc_auth.h: Likewise.
29550 * include/rpc/xdr.h: Likewise.
29551 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29552 * nss/Makefile: Likewise.
29553 * sunrpc/Makefile: Don't install headers. Build library with normal
29554 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29555 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29556 for the compat linking library. Remove use of INTDEF/INTUSE.
29557 * sunrpc/auth_none.c: Likewise.
29558 * sunrpc/auth_unix.c: Likewise.
29559 * sunrpc/authdes_prot.c: Likewise.
29560 * sunrpc/authuxprot.c: Likewise.
29561 * sunrpc/clnt_gen.c: Likewise.
29562 * sunrpc/clnt_perr.c: Likewise.
29563 * sunrpc/clnt_raw.c: Likewise.
29564 * sunrpc/clnt_simp.c: Likewise.
29565 * sunrpc/clnt_tcp.c: Likewise.
29566 * sunrpc/clnt_udp.c: Likewise.
29567 * sunrpc/clnt_unix.c: Likewise.
29568 * sunrpc/des_crypt.c: Likewise.
29569 * sunrpc/des_soft.c: Likewise.
29570 * sunrpc/get_myaddr.c: Likewise.
29571 * sunrpc/key_call.c: Likewise.
29572 * sunrpc/key_prot.c: Likewise.
29573 * sunrpc/netname.c: Likewise.
29574 * sunrpc/pm_getmaps.c: Likewise.
29575 * sunrpc/pm_getport.c: Likewise.
29576 * sunrpc/pmap_clnt.c: Likewise.
29577 * sunrpc/pmap_prot.c: Likewise.
29578 * sunrpc/pmap_prot2.c: Likewise.
29579 * sunrpc/pmap_rmt.c: Likewise.
29580 * sunrpc/publickey.c: Likewise.
29581 * sunrpc/rpc_cmsg.c: Likewise.
29582 * sunrpc/rpc_common.c: Likewise.
29583 * sunrpc/rpc_dtable.c: Likewise.
29584 * sunrpc/rpc_prot.c: Likewise.
29585 * sunrpc/rpc_thread.c: Likewise.
29586 * sunrpc/rtime.c: Likewise.
29587 * sunrpc/svc.c: Likewise.
29588 * sunrpc/svc_auth.c: Likewise.
29589 * sunrpc/svc_authux.c: Likewise.
29590 * sunrpc/svc_raw.c: Likewise.
29591 * sunrpc/svc_run.c: Likewise.
29592 * sunrpc/svc_simple.c: Likewise.
29593 * sunrpc/svc_tcp.c: Likewise.
29594 * sunrpc/svc_udp.c: Likewise.
29595 * sunrpc/svc_unix.c: Likewise.
29596 * sunrpc/svcauth_des.c: Likewise.
29597 * sunrpc/xcrypt.c: Likewise.
29598 * sunrpc/xdr.c: Likewise.
29599 * sunrpc/xdr_array.c: Likewise.
29600 * sunrpc/xdr_float.c: Likewise.
29601 * sunrpc/xdr_intXX_t.c: Likewise.
29602 * sunrpc/xdr_mem.c: Likewise.
29603 * sunrpc/xdr_rec.c: Likewise.
29604 * sunrpc/xdr_ref.c: Likewise.
29605 * sunrpc/xdr_sizeof.c: Likewise.
29606 * sunrpc/xdr_stdio.c: Likewise.
29607
e6c61494
UD
296082011-04-10 Ulrich Drepper <drepper@gmail.com>
29609
29610 [BZ #12650]
29611 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29612 * sysdeps/ia64/dl-tls.h: Likewise.
29613 * sysdeps/powerpc/dl-tls.h: Likewise.
29614 * sysdeps/s390/dl-tls.h: Likewise.
29615 * sysdeps/sh/dl-tls.h: Likewise.
29616 * sysdeps/sparc/dl-tls.h: Likewise.
29617 * sysdeps/x86_64/dl-tls.h: Likewise.
29618 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29619
34fe483e
AS
296202011-03-14 Andreas Schwab <schwab@redhat.com>
29621
29622 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29623 rpath element also skip the following colon.
29624 (expand_dynamic_string_token): Add is_path parameter and pass
29625 down to DL_DST_REQUIRED and _dl_dst_substitute.
29626 (decompose_rpath): Call expand_dynamic_string_token with
29627 non-zero is_path. Ignore empty rpaths.
29628 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29629 with zero is_path.
29630
f12a32e6
AS
296312011-04-08 Andreas Schwab <schwab@linux-m68k.org>
29632
29633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
29634 Make cancelable.
29635
38a7d692
UD
296362011-04-09 Ulrich Drepper <drepper@gmail.com>
29637
29638 [BZ #12655]
29639 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
29640 Patch by Filipe David Manana <fdmanana@apache.org>.
29641
e451d22b
AS
296422011-04-07 Andreas Schwab <schwab@redhat.com>
29643
29644 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
29645 Maintain aligned stack.
29646 (CHECK_RSP): Remove unused macro.
29647
dedc7c7b
UD
296482011-04-03 Ulrich Drepper <drepper@gmail.com>
29649
29650 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
29651 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
29652
94521213
UD
296532011-04-02 Ulrich Drepper <drepper@gmail.com>
29654
29655 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
29656
8cb700c0 29657 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 29658
0354e355
L
296592011-03-26 H.J. Lu <hongjiu.lu@intel.com>
29660
29661 [BZ #12518]
29662 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
29663 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
29664 * sysdeps/x86_64/memmove.c: New file.
29665 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
29666 (memcpy): Renamed to ...
29667 (__new_memcpy): This.
29668 (memcpy): Provide GLIBC_2_14 memcpy.
29669 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
29670 (memcpy): Provide GLIBC_2_2_5 memcpy.
29671
8593482f
UD
296722011-04-01 Ulrich Drepper <drepper@gmail.com>
29673
29674 [BZ #12631]
29675 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
29676
81a5726b
AS
296772011-03-30 Andreas Schwab <schwab@redhat.com>
29678
29679 * misc/syncfs.c: New file.
29680 * misc/Makefile (routines): Add syncfs.
29681 * posix/unistd.h: Declare syncfs.
29682 * sysdeps/unix/syscalls.list: Add syncfs.
29683
00e5419f
AS
296842011-04-01 Andreas Schwab <schwab@redhat.com>
29685
29686 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
29687 open_by_handle_at.
29688 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
29689 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29690 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29691 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29692 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29693 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
29694 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29695
748876bf
UD
296962011-04-01 Ulrich Drepper <drepper@gmail.com>
29697
658e451d
UD
29698 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
29699 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29700 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
29701 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29702 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29703 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29704 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29705
748876bf
UD
29706 * io/Makefile: Compile fallocate.c, fallocate64.c, and
29707 sync_file_range.c with -fexceptions.
29708 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
29709 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
29710 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
29711 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
29712 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
29713 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
29714 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
29715 sync_file_range as cancellation point
29716 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
29717 now a wrapper around __call_sync_file_range with cancellation handling.
29718 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
29719 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
29720 function name to __call_sync_file_range.
29721 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
29722 Add call_sync_file_range.
748876bf 29723
6e63d5e1
AS
297242011-04-01 Andreas Schwab <schwab@redhat.com>
29725
29726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 29727 bits/timex.h.
6e63d5e1 29728
46998f74
UD
297292011-04-01 Ulrich Drepper <drepper@gmail.com>
29730
4c1423ed
UD
29731 * iconv/iconv.h: Fix typo in comment.
29732 * io/fcntl.h: Likewise.
29733 * libio/stdio.h: Likewise.
29734 * posix/spawn.h: Likewise.
29735 * posix/unistd.h: Likewise.
29736 * stdlib/stdlib.h: Likewise.
29737 * time/time.h: Likewise.
29738 * wcsmbs/wchar.h: Likewise.
29739
158648c0
UD
29740 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
29741 open_by_handle): Add.
29742 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
29743 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
29744 Augment a few comments.
29745 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
29746 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
29747 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
29748 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
29749 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
29750 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
29751 open_by_handle.
29752
46998f74
UD
29753 * io/fcntl.h (AT_EMPTY_PATH): Define.
29754
83fe108b
UD
297552011-03-30 Ulrich Drepper <drepper@gmail.com>
29756
29757 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
29758 * sysdeps/unix/sysv/linux/bits/time.h: New file.
29759 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
29760 to...
29761 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
29762 * Versions.def: Add GLIBC_2.14.
29763 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
29764 Export.
83fe108b 29765
bb242059
UD
297662011-03-22 Ulrich Drepper <drepper@gmail.com>
29767
29768 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
29769 round counter.
29770 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29771
c97a1282
L
297722011-03-20 H.J. Lu <hongjiu.lu@intel.com>
29773
29774 [BZ #12597]
29775 * string/test-strncmp.c (do_page_test): New function.
29776 (check2): Likewise.
29777 (test_main): Call check2.
29778 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
29779
2a115601
UD
297802011-03-20 Ulrich Drepper <drepper@gmail.com>
29781
29782 [BZ #12587]
29783 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
29784 Handle cache information in CPU leaf 4.
29785 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
29786
8126d904
UD
297872011-03-18 Ulrich Drepper <drepper@gmail.com>
29788
042c49c6 29789 [BZ #12583]
8126d904
UD
29790 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
29791 character representation.
29792 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
29793
ccfe366e
RA
297942011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
29795
29796 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
29797 END(__isnan) to END(__isnanf) to match function entry point/label
29798 EALIGN(__isnanf,...).
29799
c6e13027
JJ
298002011-03-10 Jakub Jelinek <jakub@redhat.com>
29801
29802 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
29803
33f85a3f
UD
298042011-03-10 Ulrich Drepper <drepper@gmail.com>
29805
028478fa
UD
29806 [BZ #12510]
29807 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
29808 copy from the symbol referenced in the relocation to initialize the
29809 used variable.
29810 Patch by Piotr Bury <pbury@goahead.com>.
29811 * elf/Makefile: Add rules to build and tst-unique3.
29812 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
29813 * elf/tst-unique3.cc: New file.
29814 * elf/tst-unique3.h: New file.
29815 * elf/tst-unique3lib.cc: New file.
29816 * elf/tst-unique3lib2.cc: New file.
29817
33f85a3f
UD
29818 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
29819
03592fc7
MF
298202011-03-10 Mike Frysinger <vapier@gentoo.org>
29821
29822 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
29823 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
29824 to _start.
03592fc7 29825
6a5ee102
UD
298262011-03-06 Ulrich Drepper <drepper@gmail.com>
29827
29828 * elf/dl-load.c (_dl_map_object): If we are looking for the first
29829 to-be-loaded object along a path to loader is ld.so.
29830
7e4ba49c
HJ
298312011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29832 Ulrich Drepper <drepper@gmail.com>
29833
29834 * sysdeps/x86_64/memset.S: After aligning destination, code
29835 branches to different locations depending on the value of
29836 misalignment, when multiarch is enabled. Fix this.
29837
298382011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
29839
29840 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
29841 Set _x86_64_preferred_memory_instruction for AMD processsors.
29842 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29843 Set bit_Prefer_SSE_for_memop for AMD processors.
29844
13a804de
UD
298452011-03-04 Ulrich Drepper <drepper@gmail.com>
29846
29847 * libio/fmemopen.c (fmemopen): Optimize a bit.
29848
9d25c392
AS
298492011-03-03 Andreas Schwab <schwab@redhat.com>
29850
29851 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
29852
a5543c6a
RM
298532011-03-03 Roland McGrath <roland@redhat.com>
29854
29855 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
29856
012d35f7
DM
298572011-02-28 Aurelien Jarno <aurelien@aurel32.net>
29858
7e4ba49c 29859 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
29860 __bzero_ultra1 instead of __memset_ultra1.
29861
4bff6e01
AS
298622011-02-23 Andreas Schwab <schwab@redhat.com>
29863 Ulrich Drepper <drepper@gmail.com>
29864
29865 [BZ #12509]
29866 * include/link.h (struct link_map): Add l_orig_initfini.
29867 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
29868 returning unsuccessfully.
29869 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
29870 close of a file loaded at startup, restore the original l_initfini
29871 list.
29872 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
29873 list, store the pointer.
29874 * elf/Makefile ($(objpfx)noload-mem): New rule.
29875 (noload-ENV): Define.
29876 (tests): Add $(objpfx)noload-mem.
29877 * elf/noload.c: Include <memcheck.h>.
29878 (main): Call mtrace. Close all opened handles.
29879
f2092faf
AS
298802011-02-17 Andreas Schwab <schwab@redhat.com>
29881
29882 [BZ #12454]
29883 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
29884 dependencies are missing.
29885
6c8a2e88
ST
298862011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
29887
f2092faf 29888 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
29889 Hurd needs munmap.
29890 * sysdeps/mach/hurd/ifreq.h: New file.
29891
84a42118
PB
298922011-01-27 Petr Baudis <pasky@suse.cz>
29893 Ulrich Drepper <drepper@gmail.com>
29894
071f805e 29895 [BZ 12445]#
84a42118
PB
29896 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
29897 to extend_alloca().
29898 * stdio-common/bug23.c: New file.
29899 * stdio-common/Makefile (tests): Add bug23.
29900
e23fe25b
AS
299012010-09-28 Andreas Schwab <schwab@redhat.com>
29902 Ulrich Drepper <drepper@gmail.com>
29903
29904 [BZ #12489]
29905 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
29906 before performing relro protection. At old place add assertion
29907 to make sure nothing changed.
29908
d3f02e10
NS
299092011-02-17 Nathan Sidwell <nathan@codesourcery.com>
29910 Glauber de Oliveira Costa <glommer@gmail.com>
29911
29912 * elf/elf.h: Add new ARM TLS relocs.
29913
d55fd7a5
RA
299142011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
29915
29916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
29917 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
29918 cast from r3.
29919 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
29920 'tests' variable.
29921 * sysdeps/wordsize-64/tst-writev.c: New file.
29922
2206397e
RA
299232011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
29924
29925 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
29926 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
29927 insns in _dl_start to prevent a TOC reference before relocs are
29928 resolved.
29929
e9433893
UD
299302011-02-15 Ulrich Drepper <drepper@gmail.com>
29931
29932 [BZ #12469]
29933 * Makeconfig: Remove RANLIB definition.
29934 * Makerules: Don't use RANLIB.
29935 * aclocal.m4: Remove ranlib test.
29936 * configure.in: No need to check for ranlib.
29937 * elf/rtld-Rules: Don't use RANLIB.
29938
f75286c6
ST
299392011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
29940
8e31c82d
ST
29941 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
29942 protection macro.
29943 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
29944 inclusion protection macro.
29945
f75286c6
ST
29946 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
29947 SIGRTMIN and SIGRTMAX and print information in that case only when
29948 SIGRTMIN is defined.
29949
c1d0e639
JJ
299502011-02-11 Jakub Jelinek <jakub@redhat.com>
29951
29952 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
29953 arginfo fn returning -1.
29954
29955 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
29956 and thousands string is zero terminated.
29957
edf9294e
AS
299582011-02-03 Andreas Schwab <schwab@redhat.com>
29959
29960 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
29961 sysdeps/unix/sysv/linux/bits/socket.h.
29962
2b7e92df
ST
299632011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
29964
edf9294e
AS
29965 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
29966 (__CPU_COUNT): Remove old macros.
29967 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
29968 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
29969 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
29970 (__sched_cpualloc, __sched_cpufree): Add declarations.
29971
a4c7ea7b
UD
299722011-02-05 Ulrich Drepper <drepper@gmail.com>
29973
29974 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
29975 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
29976 * nscd/aicache.c (addhstaiX): Return timeout of added value.
29977 (readdhstai): Return value of addhstaiX call.
29978 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
29979 (addgrbyX): Return value returned by cache_addgr.
29980 (readdgrbyname): Return value returned by addgrbyX.
29981 (readdgrbygid): Likewise.
29982 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
29983 (addpwbyX): Return value returned by cache_addpw.
29984 (readdpwbyname): Return value returned by addhstbyX.
29985 (readdpwbyuid): Likewise.
29986 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
29987 (addservbyX): Return value returned by cache_addserv.
29988 (readdservbyname): Return value returned by addservbyX:
29989 (readdservbyport): Likewise.
29990 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
29991 (addhstbyX): Return value returned by cache_addhst.
29992 (readdhstbyname): Return value returned by addhstbyX.
29993 (readdhstbyaddr): Likewise.
29994 (readdhstbynamev6): Likewise.
29995 (readdhstbyaddrv6): Likewise.
29996 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
29997 (readdinitgroups): Return value returned by addinitgroupsX.
29998 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
29999 (prune_cache): Keep track of timeout value of re-added entries.
30000 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30001 * nscd/nscd.h: Adjust prototypes of readd* functions.
30002
a0bf67cc
RM
300032011-02-04 Roland McGrath <roland@redhat.com>
30004
30005 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30006 (nis_stats): Likewise.
30007 * nis/nis_modify.c (nis_modify): Likewise.
30008 * nis/nis_remove.c (nis_remove): Likewise.
30009 * nis/nis_add.c (nis_add): Likewise.
30010
30011 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30012
30013 * posix/fnmatch_loop.c: Add some consts.
30014
30015 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30016
435b95eb
L
300172011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30018
30019 [BZ #12460]
30020 * config.make.in (config-cflags-novzeroupper): Define.
30021 * configure.in: Substitute libc_cv_cc_novzeroupper.
30022 * elf/Makefile (AVX-CFLAGS): Define.
30023 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30024 (CFLAGS-tst-auditmod4a.c): Likewise.
30025 (CFLAGS-tst-auditmod4b.c): Likewise.
30026 (CFLAGS-tst-auditmod6b.c): Likewise.
30027 (CFLAGS-tst-auditmod6c.c): Likewise.
30028 (CFLAGS-tst-auditmod7b.c): Likewise.
30029 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30030
8517b15e
UD
300312011-02-02 Ulrich Drepper <drepper@gmail.com>
30032
30033 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30034 function to the callback.
30035 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30036
10a656fe
AS
300372011-02-02 Andreas Schwab <schwab@redhat.com>
30038
30039 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30040 of errno.
30041
968dad0a
UD
300422011-01-19 Ulrich Drepper <drepper@gmail.com>
30043
9f94d2ea 30044 [BZ #11724]
968dad0a
UD
30045 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30046 of constructors.
30047 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30048 of destructors.
30049 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30050
30051 [BZ #11724]
30052 * elf/Makefile: Add rules to build and run new test.
30053 * elf/tst-initorder.c: New file.
30054 * elf/tst-initorder.exp: New file.
30055 * elf/tst-initordera1.c: New file.
30056 * elf/tst-initordera2.c: New file.
30057 * elf/tst-initordera3.c: New file.
30058 * elf/tst-initordera4.c: New file.
30059 * elf/tst-initorderb1.c: New file.
30060 * elf/tst-initorderb2.c: New file.
30061 * elf/tst-order-a1.c: New file.
30062 * elf/tst-order-a2.c: New file.
30063 * elf/tst-order-a3.c: New file.
30064 * elf/tst-order-a4.c: New file.
30065 * elf/tst-order-b1.c: New file.
30066 * elf/tst-order-b2.c: New file.
30067 * elf/tst-order-main.c: New file.
30068 New test case by George Gensure <werkt0@gmail.com>.
30069
86e92359
UD
300702010-10-01 Andreas Schwab <schwab@redhat.com>
30071
30072 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30073 decoding ACE if AI_CANONIDN.
30074
5d5732b0
UD
300752011-01-18 Ulrich Drepper <drepper@gmail.com>
30076
30077 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30078
a77e8cbc
UD
300792011-01-17 Ulrich Drepper <drepper@gmail.com>
30080
6392473f
UD
30081 * version.h (RELEASE): Bump for 2.13 release.
30082 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30083
620a0529
UD
30084 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30085
18ba70a5
UD
30086 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30087 MADV_NOHUGEPAGE.
32465c3e
UD
30088 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30089 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30090 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30091 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30092 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30093 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30094
c0dafcf1
UD
30095 * posix/getconf.c: Update copyright year.
30096 * catgets/gencat.c: Likewise.
30097 * csu/version.c: Likewise.
30098 * debug/catchsegv.sh: Likewise.
30099 * debug/xtrace.sh: Likewise.
30100 * elf/ldconfig.c: Likewise.
30101 * elf/ldd.bash.in: Likewise.
30102 * elf/sprof.c (print_version): Likewise.
30103 * iconv/iconv_prog.c: Likewise.
30104 * iconv/iconvconfig.c: Likewise.
30105 * locale/programs/locale.c: Likewise.
30106 * locale/programs/localedef.c: Likewise.
30107 * malloc/memusage.sh: Likewise.
30108 * malloc/mtrace.pl: Likewise.
30109 * nscd/nscd.c (print_version): Likewise.
30110 * nss/getent.c: Likewise.
30111
a77e8cbc
UD
30112 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30113 PF_CAIF, and PF_ALG.
30114 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30115
77e8bddf
AS
301162011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30117
1f20b93a
AS
30118 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30119 (modules-names): Use them.
30120 (ifunc-test-modules, ifunc-pie-tests): Define.
30121 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30122 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30123 (test-extras): Likewise.
30124 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30125 $(compile-command.c).
30126 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30127 (all-built-dso): Define.
30128 (check-textrel.out, check-execstack.out): Depend on it.
30129
77e8bddf
AS
30130 * configure.in: Don't override --enable-multi-arch.
30131
bc425b33
UD
301322011-01-15 Ulrich Drepper <drepper@gmail.com>
30133
30134 [BZ #6812]
30135 * nscd/hstcache.c (tryagain): Define.
30136 (cache_addhst): Return tryagain not notfound for temporary errors.
30137 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30138 failed.
30139
794c3ad3
UD
301402011-01-14 Ulrich Drepper <drepper@gmail.com>
30141
70181fdd
UD
30142 [BZ #10563]
30143 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30144 to make the syscall.
30145 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30146
794c3ad3
UD
30147 [BZ #12378]
30148 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30149 and fall back to matching as normal character if the string ends before
30150 the matching ']' is found. This is what POSIX requires.
30151 * posix/testfnm.c: Adjust test result.
30152 * posix/globtest.sh: Adjust test result. Add new test.
30153 * posix/tst-fnmatch.input: Likewise.
30154 * posix/tst-fnmatch2.c: Add new test.
30155
68dc9497
AS
301562010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30157
30158 * elf/Makefile (check-execstack): Revert last change. Depend on
30159 check-execstack.h.
30160 (check-execstack.h): New target.
30161 (generated): Add check-execstack.h.
30162 * elf/check-execstack.c: Include "check-execstack.h".
30163 (main): Revert last change.
30164 (handle_file): Return zero if GNU_STACK is absent and
30165 DEFAULT_STACK_PERMS doesn't include PF_X.
30166
451f001b
UD
301672011-01-13 Ulrich Drepper <drepper@gmail.com>
30168
cfa28e56
UD
30169 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30170 in child fails because the descriptor is already closed.
8cf8ce17
UD
30171 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30172 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30173 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30174
1086d70d
UD
30175 [BZ #12397]
30176 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30177 syscall.
30178
451f001b
UD
30179 [BZ #10484]
30180 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30181 temporary buffer used to handle multi lookups locally.
a85b5cb4 30182 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30183
08769175
UD
301842011-01-12 Ulrich Drepper <drepper@gmail.com>
30185
30186 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30187 loader is ld.so.
30188
5e49c52e
UD
301892011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30190
30191 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30192 alignment for SSE2.
30193
60522a5f
UD
301942011-01-12 Ulrich Drepper <drepper@gmail.com>
30195
30196 [BZ #12394]
30197 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30198 characters. When rounding increased number of integer digits recompute
30199 number of groups.
30200 * stdio-common/tst-grouping.c: New file.
30201 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30202
f257bbd7
UD
302032011-01-09 Ulrich Drepper <drepper@gmail.com>
30204
30205 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30206 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30207
30208 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30209 void.
30210 * bits/select.h: Likewise.
30211
fa9c15cb
UD
302122011-01-08 Ulrich Drepper <drepper@gmail.com>
30213
30214 * po/ja.po: Update from translation team.
30215
16c2895f
DM
302162011-01-04 David S. Miller <davem@sunset.davemloft.net>
30217
30218 [BZ #11155]
30219 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30220 implementation just like for lxstat, fxstatat, et al.
30221
2543fef2
JM
302222010-12-27 Jim Meyering <meyering@redhat.com>
30223
30224 [BZ #12348]
30225 * posix/regexec.c (build_trtable): Return failure indication upon
30226 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30227
98727dbe
UD
302282010-12-25 Ulrich Drepper <drepper@gmail.com>
30229
5bd6dc5c
UD
30230 [BZ #12201]
30231 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30232 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30233 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30234 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30235
97983464
UD
30236 [BZ #12207]
30237 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30238
98727dbe
UD
30239 [BZ #12204]
30240 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30241 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30242
4a531bb0
L
302432010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30244
30245 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30246 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30247 script has SORT_BY_INIT_PRIORITY.
30248 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30249 NO_CTORS_DTORS_SECTIONS is defined.
30250 * elf/soinit.c: Likewise.
30251 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30252 NO_CTORS_DTORS_SECTIONS is defined.
30253 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30254 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30255 * sysdeps/sh/init-first.c: Likewise.
30256 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30257
07eb4b71
UD
302582010-12-24 Ulrich Drepper <drepper@gmail.com>
30259
30260 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30261 always use the slow path.
30262
30950a5f
RA
302632010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30264
30265 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30266 similar rule which adds the sysdep directories to the header search in
30267 order to pick up the correct platform stackinfo.h.
30268 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30269 perform test if it is, otherwise return successfully without testing.
30270 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30271 DEFAULT_STACK_PERMS define in stackinfo.h.
30272 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30273 defined in stackinfo.h.
30274 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30275 DEFAULT_STACK_PERMS defined in stackinfo.h.
30276 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30277 * sysdeps/ia64/stackinfo.h: Likewise.
30278 * sysdeps/s390/stackinfo.h: Likewise.
30279 * sysdeps/sh/stackinfo.h: Likewise.
30280 * sysdeps/sparc/stackinfo.h: Likewise.
30281 * sysdeps/x86_64/stackinfo.h: Likewise.
30282 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30283 PF_X for powerpc64. Retain PF_X for powerpc32.
30284
db753e2c
UD
302852010-12-19 Ulrich Drepper <drepper@gmail.com>
30286
14b697f7
UD
30287 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30288 accurately.
db753e2c
UD
30289 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30290 GETDENTS_64BIT_ALIGNED.
30291
28300719
UD
302922010-12-14 Ulrich Drepper <dreper@gmail.com>
30293
14b697f7 30294 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30295
4f197237
AS
302962010-12-10 Andreas Schwab <schwab@redhat.com>
30297
dbb0472f
AS
30298 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30299 _GNU_SOURCE.
30300
4f197237
AS
30301 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30302 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30303 Remove __restrict.
30304 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30305 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30306
fb88ac72
UD
303072010-12-09 Ulrich Drepper <drepper@gmail.com>
30308
30309 [BZ #11655]
30310 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30311 are initialized.
30312
42acbb92
JJ
303132010-12-09 Jakub Jelinek <jakub@redhat.com>
30314
30315 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30316
c038d98d
UD
303172010-12-03 Ulrich Drepper <drepper@gmail.com>
30318
30319 * po/it.po: Update from translation team.
30320
3a4a2499
L
303212010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30322
30323 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30324 unused codes.
30325
1e24cf6e
UD
303262010-11-30 Ulrich Drepper <drepper@gmail.com>
30327
30328 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30329
a7690819
AS
303302010-11-24 Andreas Schwab <schwab@redhat.com>
30331
30332 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30333 specially.
30334 (gaih_getanswer_slice): Likewise.
30335
3bf8d1b1
JJ
303362010-10-20 Jakub Jelinek <jakub@redhat.com>
30337
30338 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30339
6db52fbb
PB
303402010-05-31 Petr Baudis <pasky@suse.cz>
30341
30342 [BZ #11149]
30343 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30344 silently even in the chroot mode.
30345
eaca7569
UD
303462010-11-22 Ulrich Drepper <drepper@gmail.com>
30347
30348 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30349 last patch a bit. Pretty printing
30350
3056dcdb
UD
303512010-05-31 Petr Baudis <pasky@suse.cz>
30352
30353 [BZ #10085]
30354 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30355 initialization of skip_initgroups_dyn.
30356
cf7c9078
UD
303572010-11-19 Ulrich Drepper <drepper@gmail.com>
30358
30359 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30360 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30361
a1fb5e3e
UD
303622010-11-16 Ulrich Drepper <drepper@gmail.com>
30363
30364 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30365
3540d66b
AS
303662010-11-11 Andreas Schwab <schwab@redhat.com>
30367
30368 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30369 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30370 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30371 ($(objpfx)tst-fnmatch-mem): New rule.
30372 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30373 * posix/tst-fnmatch.c (main): Call mtrace.
30374
13b69574
L
303752010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30376
30377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30378 Support Intel processor model 6 and model 0x2c.
30379
da93d214
LM
303802010-11-10 Luis Machado <luisgpm@br.ibm.com>
30381
30382 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30383 signed comparison.
30384
8ca52c6e
L
303852010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30386
30387 [BZ #12205]
30388 * string/test-strncasecmp.c (check_result): New function.
30389 (do_one_test): Use it.
30390 (check1): New function.
30391 (test_main): Use it.
30392 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30393 Support strcasecmp and strncasecmp.
30394
69da074d
UD
303952010-11-08 Ulrich Drepper <drepper@gmail.com>
30396
30397 [BZ #12194]
30398 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30399 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30400
ff02d528
L
304012010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30402
30403 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30404 IFUNC support.
30405 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30406 memset-x86-64.
30407 * sysdeps/x86_64/multiarch/bzero.S: New file.
30408 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30409 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30410 * sysdeps/x86_64/multiarch/memset.S: New file.
30411 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30413 Set bit_Prefer_SSE_for_memop for Intel processors.
30414 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30415 Define.
30416 (index_Prefer_SSE_for_memop): Define.
30417 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30418
344d0b54
LM
304192010-11-04 Luis Machado <luisgpm@br.ibm.com>
30420
30421 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30422 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30423
c0dde15b
UD
304242010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30425
30426 [BZ #12191]
30427 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30428 (__x86_64_raw_data_cache_size_half): Likewise.
30429 (__x86_64_raw_shared_cache_size): Likewise.
30430 (__x86_64_raw_shared_cache_size_half): Likewise.
30431
30432 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30433 (__x86_64_raw_data_cache_size_half): Likewise.
30434 (__x86_64_raw_shared_cache_size): Likewise.
30435 (__x86_64_raw_shared_cache_size_half): Likewise.
30436 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30437 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30438 and __x86_64_raw_shared_cache_size_half. Round
30439 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30440 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30441 to multiple of 256 bytes.
30442
0e516e0e
MS
304432010-11-03 Ulrich Drepper <drepper@gmail.com>
30444
30445 [BZ #12167]
30446 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30447 of inacessible symlinks. Verify result of symlink before returning it.
30448 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30449 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30450
0e012e87
ER
304512010-10-28 Erich Ritz <erichritz@gmail.com>
30452
30453 * math/math.h (isinf): Fix typo in comment.
30454
de0ff7bc
UD
304552010-11-01 Ulrich Drepper <drepper@gmail.com>
30456
30457 * po/da.po: Update from translation team.
30458
fa41c84d
UD
304592010-10-26 Ulrich Drepper <drepper@gmail.com>
30460
30461 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30462 is added to the list.
30463
f0967738
AK
304642010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30465 Ulrich Drepper <drepper@gmail.com>
30466
30467 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30468 the global list here. Move code to...
30469 (_dl_add_to_namespace_list): ...here. New function.
30470 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30471 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30472 * elf/dl-load.c (lose): Don't remove the element from the list.
30473 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30474 (_dl_map_object): Likewise.
30475
304762010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30477
30478 [BZ #12159]
30479 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30480 into all bytes of SSE register.
30481 Patch by Richard Li <richardpku@gmail.com>.
30482
f0967738 304832010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30484
30485 [BZ #12140]
30486 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30487 perturbing.
30488
d0b9e94f
MB
304892010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30490
30491 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30492 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30493 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30494 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30496 submachine.
30497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30498
8e9f92e9
AS
304992010-10-22 Andreas Schwab <schwab@redhat.com>
30500
30501 * include/dlfcn.h (__RTLD_SECURE): Define.
30502 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30503 mode & __RTLD_SECURE instead.
30504 (open_path): Rename preloaded parameter to secure.
30505 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30506 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30507 * elf/dl-deps.c (openaux): Likewise.
30508 * elf/rtld.c (struct map_args): Remove is_preloaded.
30509 (map_doit): Don't use it.
30510 (dl_main): Likewise.
30511 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30512 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30513
bc96fbda
AS
305142010-09-09 Andreas Schwab <schwab@redhat.com>
30515
30516 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30517 (sysd-rules-targets): Remove duplicates.
30518 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30519 rtld-%.$o dependency.
30520
22cd1c9b
AS
305212010-10-18 Andreas Schwab <schwab@redhat.com>
30522
30523 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30524 _dl_map_object do it.
30525
18edac48
UD
305262010-10-19 Ulrich Drepper <drepper@gmail.com>
30527
30528 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30529 fast fma builtins, define the macros in the C99 standard.
30530 (FP_FAST_FMAF): Likewise.
30531 (FP_FAST_FMAL): Likewise.
30532 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30533
30534 * bits/mathdef.h: Update copyright year.
30535 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30536
d2050124
MM
305372010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30538
30539 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30540 builtins, define the macros in the C99 standard.
30541 (FP_FAST_FMAF): Likewise.
30542 (FP_FAST_FMAL): Likewise.
30543 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30544 multiply/add.
30545 (FP_FAST_FMAF): Likewise.
30546
475facd1
JJ
305472010-10-15 Jakub Jelinek <jakub@redhat.com>
30548
30549 [BZ #3268]
30550 * math/libm-test.inc (fma_test): Some new testcases.
30551 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30552 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30553 y and infinite z. Do multiplication by C already in long double.
30554 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30555 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30556 y and infinite z. Do bitwise or of inexact bit into u.d.
30557 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30558 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30559 * sysdeps/i386/fpu/s_fma.S: Removed.
30560 * sysdeps/i386/fpu/s_fmal.S: Removed.
30561
7c08a05c
JJ
305622010-10-16 Jakub Jelinek <jakub@redhat.com>
30563
30564 [BZ #3268]
30565 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30566 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30567 computation is not scheduled after fetestexcept. Fix value
30568 of minimum denormal long double.
30569
f3f7372d
JJ
305702010-10-14 Jakub Jelinek <jakub@redhat.com>
30571
30572 [BZ #3268]
30573 * math/libm-test.inc (fma_test): Add some more tests.
30574 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30575 correctly.
30576
14d43591
AS
305772010-10-15 Andreas Schwab <schwab@redhat.com>
30578
30579 * scripts/data/localplt-s390-linux-gnu.data: New file.
30580 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30581
5e908464
JJ
305822010-10-13 Jakub Jelinek <jakub@redhat.com>
30583
30584 [BZ #3268]
30585 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30586 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30587 instead of dbl-64.
30588 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30589 inlines.
30590 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30591 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30592 if one of x and y is very large and the other is subnormal.
30593 * sysdeps/s390/fpu/s_fmaf.c: New file.
30594 * sysdeps/s390/fpu/s_fma.c: New file.
30595 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30596 * sysdeps/powerpc/fpu/s_fma.S: New file.
30597 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30598 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30599 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30600
306012010-10-12 Jakub Jelinek <jakub@redhat.com>
30602
30603 [BZ #3268]
30604 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30605 fma tests.
30606 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30607 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30608 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30609 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30610 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30611 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30612 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30613
b833d51f
UD
306142010-10-12 Ulrich Drepper <drepper@redhat.com>
30615
30616 [BZ #12078]
30617 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30618 * posix/bug-regex31.input: Add test case.
30619
1751705d
UD
306202010-10-11 Ulrich Drepper <drepper@gmail.com>
30621
e9b9cbf5
UD
30622 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30623 * posix/bug-regex31.input: New file.
30624
30625 [BZ #12078]
30626 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30627 (parse_sub_exp): Fix last change, use postorder.
30628
ef06edbe
UD
30629 * posix/bug-regex31.c: New file.
30630 * posix/Makefile: Add rules to build and run bug-regex31.
30631
a129c80d
UD
30632 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
30633
30634 [BZ #12078]
30635 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
30636
b76b818e
UD
30637 [BZ #12108]
30638 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
30639 to have entries in sys_siglist.
30640
1751705d
UD
30641 [BZ #12093]
30642 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
30643 be NULL.
30644
9ff8d36f
JJ
306452010-10-07 Jakub Jelinek <jakub@redhat.com>
30646
30647 [BZ #3268]
30648 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
30649 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
30650 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
30651 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
30652 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30653 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
30654 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
30655 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
30656 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
30657 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
30658 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
30659 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
30660 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30661 * math/ftestexcept.c (fetestexcept): Likewise.
30662 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
30663 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
30664 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
30665 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
30666 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
30667 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
30668 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30669
af325969
UD
306702010-10-11 Ulrich Drepper <drepper@gmail.com>
30671
c579b202 30672 [BZ #12107]
af325969
UD
30673 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
30674 newline.
30675
67a67b95
UD
306762010-10-06 Ulrich Drepper <drepper@gmail.com>
30677
30678 * string/bug-strstr1.c: New file.
30679 * string/Makefile: Add rules to build and run bug-strstr1.
30680
5fb308bc
EB
306812010-10-05 Eric Blake <eblake@redhat.com>
30682
30683 [BZ #12092]
30684 * string/str-two-way.h (two_way_long_needle): Always clear memory
30685 when skipping input due to the shift table.
30686
45db99c7
UD
306872010-10-03 Ulrich Drepper <drepper@gmail.com>
30688
3b111893
UD
30689 [BZ #12005]
30690 * malloc/mcheck.c: Handle large requests.
30691
45db99c7
UD
30692 [BZ #12077]
30693 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
30694 for strncmp and strncasecmp.
30695 * string/stratcliff.c: Add tests for strcmp and strncmp.
30696 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
30697
cf7a1eb8
NI
306982010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
30699
30700 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
30701 __set_fpscr.
30702
6484ba5e
AJ
307032010-09-30 Andreas Jaeger <aj@suse.de>
30704
30705 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
30706 (CGROUP_SUPER_MAGIC): Define.
30707 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30708 Handle btrfs and cgroup file systems.
30709 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30710 Likewise.
30711
91c42559
LM
307122010-09-27 Luis Machado <luisgpm@br.ibm.com>
30713
30714 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
30715 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
30716
87a97932
AK
307172010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30718
30719 [BZ #12067]
30720 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
30721 trying to locate the ELF header.
30722
c21cc9bc
AS
307232010-09-27 Andreas Schwab <schwab@redhat.com>
30724
30725 [BZ #11611]
30726 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
30727 Mask out sign-bit copies when constructing f_fsid.
30728
315970f6
PB
307292010-09-24 Petr Baudis <pasky@suse.cz>
30730
30731 * debug/stack_chk_fail_local.c: Add missing licence exception.
30732 * debug/warning-nop.c: Likewise.
30733
1ac7a2c7
JM
307342010-09-15 Joseph Myers <joseph@codesourcery.com>
30735
30736 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
30737 implementing getdents64 using getdents syscall, set d_type if
30738 __ASSUME_GETDENTS32_D_TYPE.
30739
56801c50
AS
307402010-09-16 Andreas Schwab <schwab@redhat.com>
30741
30742 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
30743 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
30744
dda51327
UD
307452010-09-21 Ulrich Drepper <drepper@redhat.com>
30746
30747 [BZ #12037]
30748 * posix/unistd.h: Undo change of feature selection for ftruncate from
30749 2010-01-11.
30750
8ffcee4a
UD
307512010-09-20 Ulrich Drepper <drepper@redhat.com>
30752
a545ecd9 30753 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
30754 detection.
30755
e24f0a8b
AS
307562010-09-20 Andreas Schwab <schwab@redhat.com>
30757
30758 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
30759 fanotify_mark.
30760 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
30761
7291c56f
AS
307622010-09-14 Andreas Schwab <schwab@redhat.com>
30763
30764 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
30765 variables after CHECK_SP call.
30766 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
30767
bc5fb037
AS
307682010-09-13 Andreas Schwab <schwab@redhat.com>
30769 Ulrich Drepper <drepper@redhat.com>
30770
30771 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
30772 re-relocationg ld.so.
30773 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
30774 _dl_init_paths call.
30775 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
30776 here anymore.
30777
e66e7419
UD
307782010-09-14 Ulrich Drepper <drepper@redhat.com>
30779
30780 * resolv/res_init.c (__res_vinit): Count the default server we added.
30781
c044aa75
CLT
307822010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
30783 Ulrich Drepper <drepper@redhat.com>
30784
30785 [BZ #11968]
30786 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30787 (____longjmp_chk): Use %ebx for saving value across system call.
30788 Add unwind info.
30789
32cf4069
AS
307902010-09-06 Andreas Schwab <schwab@redhat.com>
30791
30792 * manual/Makefile: Don't mix pattern rules with normal rules.
30793
817328ee
AS
307942010-09-05 Andreas Schwab <schwab@linux-m68k.org>
30795
30796 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
30797 operation.
30798 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
30799 * libio/iofopncook.c (_IO_cookie_init): Likewise.
30800 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
30801 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
30802 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30803 Likewise.
30804
29fddf61
UD
308052010-09-04 Ulrich Drepper <drepper@redhat.com>
30806
30807 [BZ #11979]
30808 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
30809 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
30810
0959ffc9
UD
308112010-09-02 Ulrich Drepper <drepper@redhat.com>
30812
30813 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
30814 * sysdeps/x86_64/addmul_1.S: Likewise.
30815 * sysdeps/x86_64/lshift.S: Likewise.
30816 * sysdeps/x86_64/mul_1.S: Likewise.
30817 * sysdeps/x86_64/rshift.S: Likewise.
30818 * sysdeps/x86_64/sub_n.S: Likewise.
30819 * sysdeps/x86_64/submul_1.S: Likewise.
30820
ece29840
ST
308212010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
30822
0959ffc9
UD
30823 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
30824 Define __sched_param instead of SCHED_* and sched_param when
ece29840 30825 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 30826 * bits/sched.h [__need_schedparam]
ece29840 30827 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
30828 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
30829 (__defined_schedparam): Define to 1.
ece29840
ST
30830 (__sched_param): New structure, identical to sched_param.
30831 (__need_schedparam): Undefine.
30832
e53a31fe
MF
308332010-08-31 Mike Frysinger <vapier@gentoo.org>
30834
fdc0c10d
MF
30835 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
30836 (epoll_create1): Declare.
30837
e53a31fe
MF
30838 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
30839
a726d796
AS
308402010-08-31 Andreas Schwab <schwab@redhat.com>
30841
30842 [BZ #7066]
30843 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
30844 shifting retval into place.
30845
2f3e3dc7
UD
308462010-09-01 Ulrich Drepper <drepper@redhat.com>
30847
f2933da9
UD
30848 * nis/rpcsvc/nis.h: Update copyright notice.
30849 * nis/rpcsvc/nis.x: Likewise.
30850 * nis/rpcsvc/nis_callback.h: Likewise.
30851 * nis/rpcsvc/nis_callback.x: Likewise.
30852 * nis/rpcsvc/nis_object.x: Likewise.
30853 * nis/rpcsvc/nis_tags.h: Likewise.
30854 * nis/rpcsvc/yp.h: Likewise.
30855 * nis/rpcsvc/yp.x: Likewise.
30856 * nis/rpcsvc/ypupd.h: Likewise.
30857 * nis/yp_xdr.c: Likewise.
30858 * nis/ypupdate_xdr.c: Likewise.
30859
2f3e3dc7
UD
30860 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
30861 mainly the body of pmap_getport. Add parameters to specify timeouts.
30862 (pmap_getport): Use __libc_rpc_getport.
30863 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
30864 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
30865 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
30866
f3dcc2f9
AS
308672010-08-31 Andreas Schwab <schwab@linux-m68k.org>
30868
30869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
30870 fanotify_mark.
30871
6d34eb5b
RM
308722010-08-27 Roland McGrath <roland@redhat.com>
30873
30874 * sysdeps/i386/i686/multiarch/Makefile
30875 (CFLAGS-varshift.c): New variable.
30876
9ea3de11
UD
308772010-08-27 Ulrich Drepper <drepper@redhat.com>
30878
c96d23fc
UD
30879 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
30880 * sysdeps/i386/i686/multiarch/varshift.c: New file.
30881
9ea3de11
UD
30882 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
30883
30884 * sysdeps/x86_64/strlen.S: Minimal code improvement.
30885
623aac7f
L
308862010-08-26 H.J. Lu <hongjiu.lu@intel.com>
30887
30888 * sysdeps/x86_64/strlen.S: Unroll the loop.
30889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30890 strlen-sse2 strlen-sse2-bsf.
30891 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
30892 __strlen_no_bsf if bit_Slow_BSF is set.
30893 (__strlen_sse42): Removed.
30894 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
30895 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
30896
8b2b7715
RM
308972010-08-25 Roland McGrath <roland@redhat.com>
30898
30899 * sysdeps/x86_64/multiarch/varshift.S: File removed.
30900 * sysdeps/x86_64/multiarch/varshift.c: New file.
30901 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
30902 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
30903 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
30904 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30905
e73015f2
L
309062010-08-25 H.J. Lu <hongjiu.lu@intel.com>
30907
30908 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30909 strlen-sse2 strlen-sse2-bsf.
30910 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
30911 __strlen_sse2_bsf if bit_Slow_BSF is unset.
30912 (__strlen_sse2): Removed.
30913 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
30914 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
30915 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
30916 bit_Slow_BSF for Atom.
30917 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
30918 (index_Slow_BSF): Define.
30919 (HAS_SLOW_BSF): Define.
30920
df24a73e
UD
309212010-08-25 Ulrich Drepper <drepper@redhat.com>
30922
30923 [BZ #10851]
30924 * resolv/res_init.c (__res_vinit): When no server address at all
30925 is given default to loopback.
30926
f2ac4868
RM
309272010-08-24 Roland McGrath <roland@redhat.com>
30928
09055553
RM
30929 * configure.in: Remove config-name.h generation.
30930 * configure: Regenerated.
30931 * config-name.in: File removed.
30932 * scripts/config-uname.sh: New file.
30933 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
30934 ($(objdir)config-name.h): New target.
30935
f2ac4868
RM
30936 * sunrpc/rpc_parse.h: Avoid nested comment.
30937
73f27d5e
RH
309382010-08-24 Richard Henderson <rth@redhat.com>
30939 Ulrich Drepper <drepper@redhat.com>
30940 H.J. Lu <hongjiu.lu@intel.com>
30941
30942 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
30943 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
30944 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
30945 Replace _mm_srli_si128 with __m128i_shift_right. Replace
30946 _mm_alignr_epi8 with _mm_loadu_si128.
30947 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
30948 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
30949 (__m128i_shift_right): Removed.
30950 * sysdeps/i386/i686/multiarch/varshift.h: New file.
30951 * sysdeps/i386/i686/multiarch/varshift.S: New file.
30952 * sysdeps/x86_64/multiarch/varshift.h: New file.
30953 * sysdeps/x86_64/multiarch/varshift.S: New file.
30954
84b9230c
MF
309552010-08-21 Mike Frysinger <vapier@gentoo.org>
30956
30957 * configure.in: Move assembler checks to before sysdep dir checking.
30958
9bbd0ddc
PB
309592010-08-20 Petr Baudis <pasky@suse.cz>
30960
30961 * LICENSES: Sync the sunrpc license.
30962
9da4bb31
UD
309632010-08-19 Ulrich Drepper <drepper@redhat.com>
30964
a7ab6ec8
UD
30965 * sunrpc/auth_des.c: Update copyright notice once again.
30966 * sunrpc/auth_none.c: Likewise.
30967 * sunrpc/auth_unix.c: Likewise.
30968 * sunrpc/authdes_prot.c: Likewise.
30969 * sunrpc/authuxprot.c: Likewise.
30970 * sunrpc/bindrsvprt.c: Likewise.
30971 * sunrpc/clnt_gen.c: Likewise.
30972 * sunrpc/clnt_perr.c: Likewise.
30973 * sunrpc/clnt_raw.c: Likewise.
30974 * sunrpc/clnt_simp.c: Likewise.
30975 * sunrpc/clnt_tcp.c: Likewise.
30976 * sunrpc/clnt_udp.c: Likewise.
30977 * sunrpc/clnt_unix.c: Likewise.
30978 * sunrpc/des_crypt.c: Likewise.
30979 * sunrpc/des_soft.c: Likewise.
30980 * sunrpc/get_myaddr.c: Likewise.
30981 * sunrpc/getrpcport.c: Likewise.
30982 * sunrpc/key_call.c: Likewise.
30983 * sunrpc/key_prot.c: Likewise.
30984 * sunrpc/openchild.c: Likewise.
30985 * sunrpc/pm_getmaps.c: Likewise.
30986 * sunrpc/pm_getport.c: Likewise.
30987 * sunrpc/pmap_clnt.c: Likewise.
30988 * sunrpc/pmap_prot.c: Likewise.
30989 * sunrpc/pmap_prot2.c: Likewise.
30990 * sunrpc/pmap_rmt.c: Likewise.
30991 * sunrpc/rpc/auth.h: Likewise.
30992 * sunrpc/rpc/auth_unix.h: Likewise.
30993 * sunrpc/rpc/clnt.h: Likewise.
30994 * sunrpc/rpc/des_crypt.h: Likewise.
30995 * sunrpc/rpc/key_prot.h: Likewise.
30996 * sunrpc/rpc/netdb.h: Likewise.
30997 * sunrpc/rpc/pmap_clnt.h: Likewise.
30998 * sunrpc/rpc/pmap_prot.h: Likewise.
30999 * sunrpc/rpc/pmap_rmt.h: Likewise.
31000 * sunrpc/rpc/rpc.h: Likewise.
31001 * sunrpc/rpc/rpc_des.h: Likewise.
31002 * sunrpc/rpc/rpc_msg.h: Likewise.
31003 * sunrpc/rpc/svc.h: Likewise.
31004 * sunrpc/rpc/svc_auth.h: Likewise.
31005 * sunrpc/rpc/types.h: Likewise.
31006 * sunrpc/rpc/xdr.h: Likewise.
31007 * sunrpc/rpc_clntout.c: Likewise.
31008 * sunrpc/rpc_cmsg.c: Likewise.
31009 * sunrpc/rpc_common.c: Likewise.
31010 * sunrpc/rpc_cout.c: Likewise.
31011 * sunrpc/rpc_dtable.c: Likewise.
31012 * sunrpc/rpc_hout.c: Likewise.
31013 * sunrpc/rpc_main.c: Likewise.
31014 * sunrpc/rpc_parse.c: Likewise.
31015 * sunrpc/rpc_parse.h: Likewise.
31016 * sunrpc/rpc_prot.c: Likewise.
31017 * sunrpc/rpc_sample.c: Likewise.
31018 * sunrpc/rpc_scan.c: Likewise.
31019 * sunrpc/rpc_scan.h: Likewise.
31020 * sunrpc/rpc_svcout.c: Likewise.
31021 * sunrpc/rpc_tblout.c: Likewise.
31022 * sunrpc/rpc_util.c: Likewise.
31023 * sunrpc/rpc_util.h: Likewise.
31024 * sunrpc/rpcinfo.c: Likewise.
31025 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31026 * sunrpc/rpcsvc/key_prot.x: Likewise.
31027 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31028 * sunrpc/rpcsvc/mount.x: Likewise.
31029 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31030 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31031 * sunrpc/rpcsvc/rex.x: Likewise.
31032 * sunrpc/rpcsvc/rstat.x: Likewise.
31033 * sunrpc/rpcsvc/rusers.x: Likewise.
31034 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31035 * sunrpc/rpcsvc/spray.x: Likewise.
31036 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31037 * sunrpc/rtime.c: Likewise.
31038 * sunrpc/svc.c: Likewise.
31039 * sunrpc/svc_auth.c: Likewise.
31040 * sunrpc/svc_authux.c: Likewise.
31041 * sunrpc/svc_raw.c: Likewise.
31042 * sunrpc/svc_run.c: Likewise.
31043 * sunrpc/svc_simple.c: Likewise.
31044 * sunrpc/svc_tcp.c: Likewise.
31045 * sunrpc/svc_udp.c: Likewise.
31046 * sunrpc/svc_unix.c: Likewise.
31047 * sunrpc/svcauth_des.c: Likewise.
31048 * sunrpc/xcrypt.c: Likewise.
31049 * sunrpc/xdr.c: Likewise.
31050 * sunrpc/xdr_array.c: Likewise.
31051 * sunrpc/xdr_float.c: Likewise.
31052 * sunrpc/xdr_mem.c: Likewise.
31053 * sunrpc/xdr_rec.c: Likewise.
31054 * sunrpc/xdr_ref.c: Likewise.
31055 * sunrpc/xdr_sizeof.c: Likewise.
31056 * sunrpc/xdr_stdio.c: Likewise.
31057
9da4bb31
UD
31058 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31059 handling.
31060
bdaa77bc
AS
310612010-08-19 Andreas Schwab <schwab@redhat.com>
31062
31063 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31064
fe2f79db
LM
310652010-08-19 Luis Machado <luisgpm@br.ibm.com>
31066
31067 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31068 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31069 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31070 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31071 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31072 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31073 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31074 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31075 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31076 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31077 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31078 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31079 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31080 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31081
b9b42ee0
AB
310822010-07-26 Anton Blanchard <anton@samba.org>
31083
31084 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31085 * malloc/arena.c (heap_trim): Likewise.
31086
1c06ba31
UD
310872010-08-16 Ulrich Drepper <drepper@redhat.com>
31088
31089 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31090 here. Not...
31091 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31092 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31093
f8392f40
L
310942010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31095
31096 * sysdeps/i386/elf/Makefile: New file.
31097
3162f12e
AS
310982010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31099
31100 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31101 from fanotify_init.
31102 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31103 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31104
28c90b2c
UD
311052010-08-15 Ulrich Drepper <drepper@redhat.com>
31106
31107 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31108 of strncasecmp_l.
1feccb6c 31109 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31110
ca6bb004
UD
311112010-08-14 Ulrich Drepper <drepper@redhat.com>
31112
e9f82e0d
UD
31113 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31114 strncase_l-nonascii.
31115 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31116 Add strncase_l-ssse3.
31117 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31118 * sysdeps/x86_64/strcmp.S: Likewise.
31119 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31120 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31121 * sysdeps/x86_64/strncase.S: New file.
31122 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31123 * sysdeps/x86_64/strncase_l.S: New file.
31124 * string/Makefile (strop-tests): Add strncasecmp.
31125 * string/test-strncasecmp.c: New file.
31126
31127 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31128 warning.
31129
ca6bb004
UD
31130 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31131 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31132
052fa7b3
AS
311332010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31134
31135 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31136
962dba78
UD
311372010-08-12 Ulrich Drepper <drepper@redhat.com>
31138
31139 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31140 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31141 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31142
bebff237
AM
311432010-05-01 Alan Modra <amodra@gmail.com>
31144
31145 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31146 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31147 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31148 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31149 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31150 tidying. Don't tail-call __sigjmp_save for static lib.
31151 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31152 save location.
31153 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31154 (CALL_MCOUNT): Add eh info, and nop after bl.
31155 (TAIL_CALL_SYSCALL_ERROR): New macro.
31156 (PSEUDO_RET): Use it.
31157 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31158 Correct save location of integer regs and cr.
31159 (_dl_profile_resolve): Correct cr save location. Delete nops
31160 after bl when SHARED. Reduce cfi size a little by better
31161 placement of cfi directives.
31162 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31163 make a stack frame. Instead use parm save area as a temp.
31164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31165 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31167 Don't make a stack frame for parent, use parm save area.
31168 Increase child stack frame to 112 bytes. Don't save unused reg,
31169 and adjust reg usage. Set up cfi on error recovery and
31170 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31172 (__makecontext): Add dummy nop after jump to exit.
31173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31174 Use correct parm save area and cr save, reduce stack frame.
31175 Correct cfi for possible PSEUDO_RET frame setup.
31176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31177 Branch to local label emitted by PSEUDO_RET rather than
31178 __syscall_error.
31179
02637374
AS
311802010-08-12 Andreas Schwab <schwab@redhat.com>
31181
31182 [BZ #11904]
31183 * locale/programs/locale.c (print_assignment): New function.
31184 (show_locale_vars): Use it.
31185
c3e2f19b
UD
311862010-08-11 Ulrich Drepper <drepper@redhat.com>
31187
3cdaa6ad
UD
31188 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31189 field.
31190 (struct statfs64): Likewise.
31191 (_STATFS_F_FLAGS): Define.
31192 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31193 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31194 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31195 (ST_VALID): Define locally.
31196 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31197 __statvfs_getflags, use the provided value.
31198 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31199 __ASSUME_STATFS_F_FLAGS.
31200
754f7da3
UD
31201 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31202
10b3bedc
UD
31203 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31204 Add sys/fanotify.h.
31205 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31206 fanotify_mask for GLIBC_2.13.
31207 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31208 fanotify_init and fanotify_mark.
31209 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31210 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31211
c08fb0d7
UD
31212 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31213 Add prlimit.
31214 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31215 prlimit64 for GLIBC_2.13.
31216 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31217 prlimit64.
31218 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31219 syscall.
31220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31221 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31222 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31223 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31224 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31225 add prlimit alias.
31226 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31227
15bac72b
UD
31228 [BZ #11903]
31229 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31230 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31231
c3e2f19b
UD
31232 * nss/Makefile: Add rules to build and run tst-nss-test1.
31233 * shlib-versions: Add entry for libnss_test1.
31234 * nss/nss_test1.c: New file.
31235 * nss/tst-nss-test1.c: New file.
31236
31237 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31238 (__nss_configure_lookup): Set appropriate entry in
31239 __nss_configure_lookup to true.
31240 * nss/nsswitch.h: Define enum with indeces of databases in
31241 databases and __nss_database_custom arrays. Declare
31242 __nss_database_custom.
31243 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31244 to avoid using nscd when custom rules are installed.
31245 * nss/getXXbyYY_r.c: Likewise.
31246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31247
31248 * nss/nss_files/files-parse.c: Whitespace fixes.
31249
f15ce4d8
UD
312502010-08-09 Ulrich Drepper <drepper@redhat.com>
31251
31252 [BZ #11883]
31253 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31254 * posix/fnmatch_loop.c: Likewise.
31255
d22e4cc9
AK
312562010-07-17 Andi Kleen <ak@linux.intel.com>
31257
31258 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31259 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31260 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31261 * Versions.def [GLIBC_2.13]: Add.
31262
805bc17d
UD
312632010-08-06 Ulrich Drepper <drepper@redhat.com>
31264
31265 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31266 Also fail if tpwd after pwuid call is NULL.
31267
5a42321d
ST
312682010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31269
31270 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31271 when converting to ms.
31272
fd3ebeda
ST
312732010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31274
31275 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31276 EOPNOTSUPP errors with ENOTTY.
31277 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31278 EOPNOTSUPP errors with ENOTTY.
31279
73507d3a
UD
312802010-07-31 Ulrich Drepper <drepper@redhat.com>
31281
31282 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31283 Add strcasecmp_l-ssse3.
31284 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31285 strcasecmp.
31286 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31287 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31288 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31289
fe36dd02
UD
312902010-07-30 Ulrich Drepper <drepper@redhat.com>
31291
66f6765a
UD
31292 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31293
42e08a54
UD
31294 * string/Makefile (strop-tests): Add strcasecmp.
31295 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31296 strcasecmp_l-nonascii.
31297 (gen-as-const-headers): Add locale-defines.sym.
31298 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31299 * sysdeps/x86_64/strcasecmp.S: New file.
31300 * sysdeps/x86_64/strcasecmp_l.S: New file.
31301 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31302 * sysdeps/x86_64/locale-defines.sym: New file.
31303 * string/test-strcasecmp.c: New file.
31304
fe36dd02
UD
31305 * string/test-strcasestr.c: Test both ends of the range of characters.
31306 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31307
48cbc0d6
RM
313082010-07-29 Roland McGrath <roland@redhat.com>
31309
76e6d6bc 31310 [BZ #11856]
48cbc0d6
RM
31311 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31312
880113d9
UD
313132010-07-27 Ulrich Drepper <drepper@redhat.com>
31314
31315 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31316 for ld.so.
31317
deb9cabb
AS
313182010-07-27 Andreas Schwab <schwab@redhat.com>
31319
31320 * manual/memory.texi (Malloc Tunable Parameters): Document
31321 M_PERTURB.
31322
1c7570ff
RM
313232010-07-26 Roland McGrath <roland@redhat.com>
31324
31325 [BZ #11840]
31326 * configure.in (-fgnu89-inline check): Set and substitute
31327 gnu89_inline, not libc_cv_gnu89_inline.
31328 * configure: Regenerated.
31329 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31330
24fb0f88
UD
313312010-07-26 Ulrich Drepper <drepper@redhat.com>
31332
31333 * string/test-strnlen.c: New file.
31334 * string/Makefile (strop-tests): Add strnlen.
31335 * string/tester.c (test_strnlen): Add a few more test cases.
31336 * string/tst-strlen.c: Better error reporting.
31337
31338 * sysdeps/x86_64/strnlen.S: New file.
31339
8e96b93a
UD
313402010-07-24 Ulrich Drepper <drepper@redhat.com>
31341
31342 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31343 lower-latency instructions.
31344
dbc676d4
UD
313452010-07-23 Ulrich Drepper <drepper@redhat.com>
31346
31347 * string/test-strcasestr.c: New file.
31348 * string/test-strstr.c: New file.
31349 * string/Makefile (strop-tests): Add strstr and strcasestr.
31350 * string/str-two-way.h: Don't undefine MAX.
31351 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31352
f6a31e0e
AS
313532010-07-21 Andreas Schwab <schwab@redhat.com>
31354
31355 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31356 strcasestr-nonascii.
31357 (CFLAGS-strcasestr-nonascii.c): Define.
31358 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31359 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31360 Remove unused attribute.
31361
5dbc3b6c
RM
313622010-07-20 Roland McGrath <roland@redhat.com>
31363
31364 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31365 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31366 ld.so.cache was broken. With it, there is no way to disable dsocaps
31367 like LD_HWCAP_MASK can disable hwcaps.
31368
23d101d8
EPM
313692010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31370
31371 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31372
cc9f2e47
UD
313732010-07-16 Ulrich Drepper <drepper@redhat.com>
31374
31375 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31376 call in strcasestr.
31377 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31378 __strcasestr_sse42_nonascii.
31379 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31380 strcasestr-nonascii.c.
31381 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31382
77c1b069
LM
313832010-06-15 Luis Machado <luisgpm@br.ibm.com>
31384
31385 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31386 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31387 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31388 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31389
440566c3
UD
313902010-07-09 Ulrich Drepper <drepper@redhat.com>
31391
31392 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31393 fcntl.
31394
5be9d05d
AS
313952010-07-06 Andreas Schwab <schwab@redhat.com>
31396
c30b7ee2 31397 [BZ #11577]
5be9d05d
AS
31398 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31399 dl_signal_cerror.
31400
8a492a67
UD
314012010-07-06 Ulrich Drepper <drepper@redhat.com>
31402
31403 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31404 _PC_PIPE_BUF using F_GETPIPE_SZ.
31405
713df3d5
RM
314062010-07-05 Roland McGrath <roland@redhat.com>
31407
31408 * manual/arith.texi (Rounding Functions): Fix rint description
31409 implicit in round description.
31410
702e8f14
UD
314112010-07-02 Ulrich Drepper <drepper@redhat.com>
31412
31413 * elf/Makefile: Fix linking for a few tests to make recent linker
31414 happy.
31415
52ed8be9
AS
314162010-06-30 Andreas Schwab <schwab@redhat.com>
31417
31418 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31419 $(common-objpfx)libc_nonshared.a.
31420
f47c9a11
LM
314212010-06-21 Luis Machado <luisgpm@br.ibm.com>
31422
31423 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31424 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31425 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31426 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31427 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31428 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31429 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31430 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31445 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31446 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31447 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31448 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31449 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31450 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31451 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31452 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31453 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31454 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31455 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31456 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31471
6fb8cbcb
L
314722010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31473
31474 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31475 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31476 * string/memmove.c (memmove): Renamed to ...
31477 (MEMMOVE): ...this. Default to memmove.
31478 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31479 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31480 (END_CHK): Define.
31481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31482 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31483 mempcpy-ssse3-back memmove-ssse3-back.
31484 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31485 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31486 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31487 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31488 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31489 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31490 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31491 * sysdeps/x86_64/multiarch/memmove.c: New file.
31492 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31493 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31494 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31495 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31496 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31497 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31498 Define.
31499 (index_Fast_Copy_Backward): Define.
31500 (HAS_ARCH_FEATURE): Define.
31501 (HAS_FAST_REP_STRING): Define.
31502 (HAS_FAST_COPY_BACKWARD): Define.
31503
4e733bac 315042010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31505
31506 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31507 Restore proper fallback handling.
31508
63c4ed22
UD
315092010-06-19 Ulrich Drepper <drepper@redhat.com>
31510
ac2b484c
UD
31511 [BZ #11701]
31512 * posix/group_member.c (__group_member): Correct checking loop.
31513
63c4ed22
UD
31514 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31515 OOM in getpwuid_r correctly. Return error number when the caller
31516 should return, otherwise -1.
31517 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31518 call returning > 0 value.
31519 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31520
765ade4b
AS
315212010-06-07 Andreas Schwab <schwab@redhat.com>
31522
31523 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31524 libc_nonshared.a from targets in modules-names.
31525
80da2e09
KS
315262010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31527
31528 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31529 requires it.
31530
158db122
LM
315312010-06-10 Luis Machado <luisgpm@br.ibm.com>
31532
31533 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31534 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31535 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31536 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31537
caa78cf8
AS
315382010-06-02 Andreas Schwab <schwab@redhat.com>
31539
31540 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31541
b2ef2c01
UD
315422010-06-14 Ulrich Drepper <drepper@redhat.com>
31543
31544 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31545 and F_GETPIPE_SZ.
31546 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31547 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31548 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31549 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31550 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31551 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31552
fbd643b6
RM
315532010-06-14 Roland McGrath <roland@redhat.com>
31554
31555 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31556
f32f2869
JJ
315572010-06-07 Jakub Jelinek <jakub@redhat.com>
31558
31559 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31560 __REDIRECT followed by __THROW.
31561 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31562 * posix/getopt.h (getopt): Likewise.
31563
2a50c078
EPM
315642010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31565
31566 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31567 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31568 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31569 in AT_FLAGS.
31570 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31571 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31572
eb5ad2eb
LM
315732010-05-28 Luis Machado <luisgpm@br.ibm.com>
31574
31575 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31576
3c88fe1e
L
315772010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31578
31579 [BZ #11640]
31580 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31581 Properly check family and model.
31582
d2f73151
TY
315832010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31584
31585 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31586
ebd2e13d
LM
315872010-05-24 Luis Machado <luisgpm@br.ibm.com>
31588
31589 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31590
b32b8b45
UD
315912010-05-21 Ulrich Drepper <drepper@redhat.com>
31592
31593 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31594 symbol reference.
31595
9acbe24d
AS
315962010-05-19 Andreas Schwab <schwab@redhat.com>
31597
31598 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31599 symbol reference.
31600
f0ccf6ea
AS
316012010-05-21 Andreas Schwab <schwab@redhat.com>
31602
3d04ff3a
AS
31603 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31604 and internal_recvmmsg.
31605 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31606 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31607 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31608 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31609
f0ccf6ea
AS
31610 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31611 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31612 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31613
5b08ac57
AS
316142010-05-20 Andreas Schwab <schwab@redhat.com>
31615
31616 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31617
4828935d
LM
316182010-05-17 Luis Machado <luisgpm@br.ibm.com>
31619
31620 POWER7 optimizations.
31621 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31622 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31623
373d545e
UD
316242010-05-19 Ulrich Drepper <drepper@redhat.com>
31625
31626 * version.h: Update for 2.13 development version.
31627
21a2b1ae
AS
316282010-05-12 Andrew Stubbs <ams@codesourcery.com>
31629
31630 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
31631 exceptions. Return 0.
31632
3f7dcb2b
RM
316332010-05-07 Roland McGrath <roland@redhat.com>
31634
31635 * elf/ldconfig.c (main): Add a const.
31636
5f24d53a 316372010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 31638
a160f8d8
UD
31639 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
31640 (args_options): Add no-idn option.
31641 (ahosts_keys_int): Add idn_flags to ai_flags.
31642 (parse_option): Handle 'i' option to clear idn_flags.
31643
5f24d53a
UD
31644 * malloc/malloc.c (_int_free): Possible race in the most recently
31645 added check. Only act on the data if no current modification
31646 happened.
265bb1ce
UD
31647
31648See ChangeLog.17 for earlier changes.